Skip to main content

vcenter_controllers

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

Overview

Namevcenter_controllers
TypeResource
Idazure.migrate.vcenter_controllers

Fields

NameDatatypeDescription
created_timestamptextfield from the properties object
errorstextfield from the properties object
fqdntextfield from the properties object
friendly_nametextfield from the properties object
instance_uuidtextfield from the properties object
perf_statistics_leveltextfield from the properties object
porttextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
run_as_account_idtextfield from the properties object
siteNametextfield from the properties object
subscriptionIdtextfield from the properties object
updated_timestamptextfield from the properties object
vcenterNametextfield from the properties object
versiontextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, siteName, subscriptionId, vcenterNameGet a Vcenter
list_by_vmware_siteSELECTresourceGroupName, siteName, subscriptionIdList Vcenter resources by VmwareSite
createINSERTresourceGroupName, siteName, subscriptionId, vcenterNameCreate a Vcenter
deleteDELETEresourceGroupName, siteName, subscriptionId, vcenterNameDelete a Vcenter

SELECT examples

List Vcenter resources by VmwareSite

SELECT
created_timestamp,
errors,
fqdn,
friendly_name,
instance_uuid,
perf_statistics_level,
port,
provisioning_state,
resourceGroupName,
run_as_account_id,
siteName,
subscriptionId,
updated_timestamp,
vcenterName,
version
FROM azure.migrate.vw_vcenter_controllers
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND siteName = '{{ siteName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new vcenter_controllers resource.

/*+ create */
INSERT INTO azure.migrate.vcenter_controllers (
resourceGroupName,
siteName,
subscriptionId,
vcenterName,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ siteName }}',
'{{ subscriptionId }}',
'{{ vcenterName }}',
'{{ properties }}'
;

DELETE example

Deletes the specified vcenter_controllers resource.

/*+ delete */
DELETE FROM azure.migrate.vcenter_controllers
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND siteName = '{{ siteName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vcenterName = '{{ vcenterName }}';