netapp_product_update_options
Creates, updates, deletes, gets or lists a netapp_product_update_options resource.
Overview​
| Name | netapp_product_update_options |
| Type | Resource |
| Id | ovh.storage.netapp_product_update_options |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
downgrade_options | array | Product downgrade option (wire: downgradeOptions) |
upgrade_options | array | Product upgrade option (wire: upgradeOptions) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | service_name | 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) |
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 (uuid) | Service name (wire: serviceName) |
SELECT examples​
- get
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
;