Skip to main content

can_deploy_nsxt_edges_on_global_datastores

Creates, updates, deletes, gets or lists a can_deploy_nsxt_edges_on_global_datastores resource.

Overview​

Namecan_deploy_nsxt_edges_on_global_datastores
TypeResource
Idovh.dedicated_cloud.can_deploy_nsxt_edges_on_global_datastores

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
valueboolean

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectservice_namecount, sizeCheck 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.

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"}})
service_namestringDomain of the service (wire: serviceName)
countintegerNumber of edges wanted
sizestringSize of NSX-T edge (default to MEDIUM)

SELECT examples​

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 }}'
;