Skip to main content

service_pack_statuses

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

Overview​

Nameservice_pack_statuses
TypeResource
Idovh.dedicated_cloud.service_pack_statuses

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
namestringName of the service pack (default, default-nsxt, hds, hds-nsxt, hipaa, legacy, nsx, nsx-and-vrops, nsxt, pcidss, pcidss-nsxt, vrops, vrops-nsxt)
statestringState of the service pack (activating, active, error, waitingForCustomer)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectservice_nameGet the service pack

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​

Get the service pack

SELECT
name,
state
FROM ovh.dedicated_cloud.service_pack_statuses
WHERE service_name = '{{ service_name }}' -- required
;