vcenter_controllers
Creates, updates, deletes, gets or lists a vcenter_controllers
resource.
Overview
Name | vcenter_controllers |
Type | Resource |
Id | azure.migrate.vcenter_controllers |
Fields
- vw_vcenter_controllers
- vcenter_controllers
Name | Datatype | Description |
---|---|---|
created_timestamp | text | field from the properties object |
errors | text | field from the properties object |
fqdn | text | field from the properties object |
friendly_name | text | field from the properties object |
instance_uuid | text | field from the properties object |
perf_statistics_level | text | field from the properties object |
port | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
run_as_account_id | text | field from the properties object |
siteName | text | field from the properties object |
subscriptionId | text | field from the properties object |
updated_timestamp | text | field from the properties object |
vcenterName | text | field from the properties object |
version | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | The properties of VMwareSiteResource |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, siteName, subscriptionId, vcenterName | Get a Vcenter |
list_by_vmware_site | SELECT | resourceGroupName, siteName, subscriptionId | List Vcenter resources by VmwareSite |
create | INSERT | resourceGroupName, siteName, subscriptionId, vcenterName | Create a Vcenter |
delete | DELETE | resourceGroupName, siteName, subscriptionId, vcenterName | Delete a Vcenter |
SELECT
examples
List Vcenter resources by VmwareSite
- vw_vcenter_controllers
- vcenter_controllers
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 }}';
SELECT
properties
FROM azure.migrate.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.migrate.vcenter_controllers (
resourceGroupName,
siteName,
subscriptionId,
vcenterName,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ siteName }}',
'{{ subscriptionId }}',
'{{ vcenterName }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: runAsAccountId
value: string
- name: errors
value:
- - name: message
value: string
- name: messageParameters
value: object
- name: applianceName
value: string
- name: id
value: integer
- name: code
value: string
- name: possibleCauses
value: string
- name: recommendedAction
value: string
- name: severity
value: string
- name: summaryMessage
value: string
- name: source
value: []
- name: updatedTimeStamp
value: string
- name: runAsAccountId
value: string
- name: discoveryScope
value: []
- name: createdTimestamp
value: string
- name: updatedTimestamp
value: string
- name: fqdn
value: string
- name: port
value: string
- name: version
value: string
- name: perfStatisticsLevel
value: string
- name: instanceUuid
value: string
- name: friendlyName
value: string
- name: provisioningState
value: []
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 }}';