can_deploy_nsxt_edges_on_global_datastores
Creates, updates, deletes, gets or lists a can_deploy_nsxt_edges_on_global_datastores resource.
Overview​
| Name | can_deploy_nsxt_edges_on_global_datastores |
| Type | Resource |
| Id | ovh.dedicated_cloud.can_deploy_nsxt_edges_on_global_datastores |
Fields​
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
value | boolean |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | service_name | count, size | Check edge capacity on global datastores. Returns true when the global datastores have enough free space for the edge nodes. Set their number and size with count and size, MEDIUM by default. |
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"}}) |
service_name | string | Domain of the service (wire: serviceName) |
count | integer | Number of edges wanted |
size | string | Size of NSX-T edge (default to MEDIUM) |
SELECT examples​
- get
Check edge capacity on global datastores. Returns true when the global datastores have enough free space for the edge nodes. Set their number and size with count and size, MEDIUM by default.
SELECT
value
FROM ovh.dedicated_cloud.can_deploy_nsxt_edges_on_global_datastores
WHERE service_name = '{{ service_name }}' -- required
AND count = '{{ count }}'
AND size = '{{ size }}'
;