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

The following fields are returned by SELECT queries:

ARM operation completed successfully.

NameDatatypeDescription
propertiesobjectThe resource-specific properties for this resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, siteName, vcenterNameGet a Vcenter
list_by_vmware_siteselectsubscriptionId, resourceGroupName, siteNamefilterList Vcenter resources by VmwareSite
createinsertsubscriptionId, resourceGroupName, siteName, vcenterNameCreate a Vcenter
deletedeletesubscriptionId, resourceGroupName, siteName, vcenterNameDelete a Vcenter

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
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
siteNamestringSite name
subscriptionIdstringThe ID of the target subscription.
vcenterNamestring VCenters name
filterstringfilter query

SELECT examples

Get a Vcenter

SELECT
properties
FROM azure.migrate.vcenter_controllers
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND siteName = '{{ siteName }}' -- required
AND vcenterName = '{{ vcenterName }}' -- required
;

INSERT examples

Create a Vcenter

INSERT INTO azure.migrate.vcenter_controllers (
data__properties,
subscriptionId,
resourceGroupName,
siteName,
vcenterName
)
SELECT
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ siteName }}',
'{{ vcenterName }}'
RETURNING
properties
;

DELETE examples

Delete a Vcenter

DELETE FROM azure.migrate.vcenter_controllers
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND siteName = '{{ siteName }}' --required
AND vcenterName = '{{ vcenterName }}' --required
;