Skip to navigation

Get a cost estimate for a VPC

Returns the estimated cost for a VPC with the given configuration without creating it. Accepts the same body as create.

Authentication

X-API-Client-IDstring
API Client ID
X-API-Client-Secretstring
API Client Secret

Request

This endpoint expects an object.
namestringRequired

Human-readable name for the VPC.

regionstringRequired

Region the VPC will be created in. References a region label from /v1/compute/regions.

cidrstringRequired
IPv4 CIDR block the VPC will use.
descriptionstringOptional

Free-form description of the VPC.

Response

Cost estimate for the VPC
estimatesobject
Cost estimates for the resource
discount_appliedobjectOptional

Discount applied to the estimate (if any)

billing_notestringOptional
Additional billing information or notes about pricing structure
meteredobjectOptional

The usage rate, for a resource that is billed by usage (object storage only).

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error