Skip to main content

vrops_can_be_enableds

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

Overview​

Namevrops_can_be_enableds
TypeResource
Idovh.dedicated_cloud.vrops_can_be_enableds

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
new_commercial_versionstringThe new/future commercial version (wire: newCommercialVersion)
old_commercial_versionstringThe old/current commercial version (wire: oldCommercialVersion)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectservice_nameCheck if Aria Operations can be enabled. Returns the current and future commercial versions of the service if the option is enabled.

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)

SELECT examples​

Check if Aria Operations can be enabled. Returns the current and future commercial versions of the service if the option is enabled.

SELECT
new_commercial_version,
old_commercial_version
FROM ovh.dedicated_cloud.vrops_can_be_enableds
WHERE service_name = '{{ service_name }}' -- required
;