Skip to main content

netapp_product_update_options

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

Overview​

Namenetapp_product_update_options
TypeResource
Idovh.storage.netapp_product_update_options

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
downgrade_optionsarrayProduct downgrade option (wire: downgradeOptions)
upgrade_optionsarrayProduct upgrade option (wire: upgradeOptions)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectservice_nameReturns the product offers this service can change to (upgrade or downgrade), including plan code, quota, performance level, and the constraints that apply to the change. (Beta version)

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_namestring (uuid)Service name (wire: serviceName)

SELECT examples​

Returns the product offers this service can change to (upgrade or downgrade), including plan code, quota, performance level, and the constraints that apply to the change. (Beta version)

SELECT
downgrade_options,
upgrade_options
FROM ovh.storage.netapp_product_update_options
WHERE service_name = '{{ service_name }}' -- required
;