organization_virtual_data_center_orderable_resources
Creates, updates, deletes, gets or lists an organization_virtual_data_center_orderable_resources resource.
Overview​
| Name | organization_virtual_data_center_orderable_resources |
| Type | Resource |
| Id | ovh.vmware_cloud_director.organization_virtual_data_center_orderable_resources |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
compute | array | Available orderable compute resources to your organization Virtual DataCenter |
storage | array | Available orderable storage resources to your organization Virtual DataCenter |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | organization_id, virtual_data_center_id | Returns 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.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The 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_id | string | Organization ID (wire: organizationId) |
virtual_data_center_id | string | Virtual data center ID (wire: virtualDataCenterId) |
SELECT examples​
- get
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
;