Skip to main content

dedicated_clouds

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

Overview​

Namededicated_clouds
TypeResource
Idovh.dedicated_cloud.dedicated_clouds

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
service_namestringService name of your VMware on OVHcloud (wire: serviceName)
service_pack_namestringName of the current service pack (wire: servicePackName)
advanced_securitybooleanAdvanced security state (wire: advancedSecurity)
bandwidthstringThe current bandwidth of your VMware on OVHcloud
billing_typestringBilling type of your VMware on OVHcloud (demo, monthly) (wire: billingType)
can_migrate_to_vcdbooleanCan the PCC be migrated to VCD (wire: canMigrateToVCD)
certified_interface_urlstringUrl to the VMware on OVHcloud certified interface (wire: certifiedInterfaceUrl)
commercial_rangestringThe current version of your VMware on OVHcloud (wire: commercialRange)
descriptionstringDescription of your VMware on OVHcloud
generationstringGeneration of your VMware on OVHcloud (1.0, 2.0)
iamobjectIAM resource metadata
locationstringDatacenter where your VMware on OVHcloud is physically located
management_interfacestringThe management interface name (azure, openstack, systemcenter, vcloud, vcsa, vsphere) (wire: managementInterface)
product_referencestringThe reference universe information for your VMware on OVHcloud (EPCC, MBM) (wire: productReference)
splabooleanSPLA licensing state
ssl_v3booleanEnable SSL v3 support. Warning : this option is not recommended as it was recognized as a security breach. If this is enabled, we advise you to enable the filtered User access policy (wire: sslV3)
statestringCurrent state of your VMware on OVHcloud (available, delivered, disabled, disabling, error, migrating, provisionning, recycling, reserved, toDisable, toProvision, toRecycle, toRemove, toUnprovision, unprovisionning, upgrading)
user_access_policystringAccess policy of your VMware on OVHcloud : opened to every IPs or filtered (filtered, open) (wire: userAccessPolicy)
user_limit_concurrent_sessionintegerThe maximum amount of connected users allowed on the VMware on OVHcloud management interface (wire: userLimitConcurrentSession)
user_logout_policystringWhich user will be disconnected first in case of quota of maximum connection is reached (first, last) (wire: userLogoutPolicy)
user_session_timeoutintegerThe timeout (in seconds) for the user sessions on the VMware on OVHcloud management interface. 0 value disable the timeout (wire: userSessionTimeout)
v_scope_urlstringUrl to the VMware on OVHcloud vScope interface (wire: vScopeUrl)
versionobjectVersion of the management interface
web_interface_urlstringUrl to the VMware on OVHcloud web interface (wire: webInterfaceUrl)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectservice_nameGet a Managed VMware vSphere service. Returns the service: state, version, location, access and session policies, and management interface URLs.
listselectiam_tags, x_pagination_modeList Managed VMware vSphere services. Returns the names of your services. Filter by IAM tags with iamTags.
change_contactexecserviceNameChange service contacts. Starts a procedure to change the admin, tech or billing contact of the service.
change_propertiesexecserviceNameUpdate the service. Updates the description, access policy, logout policy, session timeout, concurrent session limit and SSL v3 support of the service. Returns a task to track progress.
confirm_terminationexecserviceName, tokenConfirm service termination. Terminates the service with the token sent by email to the admin contact. A reason, a future use and a comment can be given.
generate_nsxv_inventoryexecserviceNameGenerate an NSX-V inventory
generate_vxlan_to_vrack_mappingexecserviceNameGenerate a VXLAN to vRack mapping. Generates the mapping between the NSX-V VXLANs and the vRack. Returns a task to track progress.
log_urlexecserviceName, kindGenerate a log URL. Returns a temporary URL to read the logs of a kind in real time, with its expiration date.
order_new_filer_hourlyexecserviceName, nameOrder an hourly global datastore. Orders a datastore billed by the hour, mounted on all datacenters of the service. Returns a task to track progress.
reset_triggered_alarmexecserviceNameReset triggered alarms. Resets all triggered alarms of the hypervisor. Returns a task to track progress.
terminateexecserviceNameRequest service termination. Starts the termination of the service. The admin contact receives a token by email, to confirm with the confirmTermination call.
upgrade_vcenterexecserviceNameUpgrade vCenter. Upgrades vCenter to the next minor version by default, or to the next major version with release. Returns a task to track progress.
vmware_cloud_director_eligibilityexecserviceNameCheck VCD migration eligibility. Checks whether the service can migrate to VMware Cloud Director. Returns a task to track progress.

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"}})
serviceNamestringDomain of the service
service_namestringDomain of the service (wire: serviceName)
iam_tagsobjectFilter resources on IAM tags (wire: iamTags)
x_pagination_modestringSent as CachedObjectList-Pages by default so the list returns the full objects rather than their identifiers. (wire: X-Pagination-Mode)

SELECT examples​

Get a Managed VMware vSphere service. Returns the service: state, version, location, access and session policies, and management interface URLs.

SELECT
service_name,
service_pack_name,
advanced_security,
bandwidth,
billing_type,
can_migrate_to_vcd,
certified_interface_url,
commercial_range,
description,
generation,
iam,
location,
management_interface,
product_reference,
spla,
ssl_v3,
state,
user_access_policy,
user_limit_concurrent_session,
user_logout_policy,
user_session_timeout,
v_scope_url,
version,
web_interface_url
FROM ovh.dedicated_cloud.dedicated_clouds
WHERE service_name = '{{ service_name }}' -- required
;

Lifecycle Methods​

EXEC variables use wire (API) names.

Change service contacts. Starts a procedure to change the admin, tech or billing contact of the service.

EXEC ovh.dedicated_cloud.dedicated_clouds.change_contact
@serviceName='{{ serviceName }}' --required
@@json=
'{
"contactAdmin": "{{ contactAdmin }}",
"contactBilling": "{{ contactBilling }}",
"contactTech": "{{ contactTech }}"
}'
;