Skip to main content

organization_virtual_data_center_orderable_resources

Creates, updates, deletes, gets or lists an organization_virtual_data_center_orderable_resources resource.

Overview​

Nameorganization_virtual_data_center_orderable_resources
TypeResource
Idovh.vmware_cloud_director.organization_virtual_data_center_orderable_resources

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
computearrayAvailable orderable compute resources to your organization Virtual DataCenter
storagearrayAvailable orderable storage resources to your organization Virtual DataCenter

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectorganization_id, virtual_data_center_idReturns the compute and storage profiles that can be ordered for the virtual datacenter, with their quotas, vCPU speed and IOPS per TB.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
api_hoststringThe OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}})
organization_idstringOrganization ID (wire: organizationId)
virtual_data_center_idstringVirtual data center ID (wire: virtualDataCenterId)

SELECT examples​

Returns the compute and storage profiles that can be ordered for the virtual datacenter, with their quotas, vCPU speed and IOPS per TB.

SELECT
compute,
storage
FROM ovh.vmware_cloud_director.organization_virtual_data_center_orderable_resources
WHERE organization_id = '{{ organization_id }}' -- required
AND virtual_data_center_id = '{{ virtual_data_center_id }}' -- required
;