Skip to main content

hyperv_cluster_controller_clusters

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

Overview

Namehyperv_cluster_controller_clusters
TypeResource
Idazure.migrate.hyperv_cluster_controller_clusters

Fields

NameDatatypeDescription
clusterNametextfield from the properties object
created_timestamptextfield from the properties object
errorstextfield from the properties object
fqdntextfield from the properties object
functional_leveltextfield from the properties object
host_fqdn_listtextfield 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
statustextfield from the properties object
subscriptionIdtextfield from the properties object
updated_timestamptextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTclusterName, resourceGroupName, siteName, subscriptionIdMethod to get a Hyper-V cluster.
createINSERTclusterName, resourceGroupName, siteName, subscriptionIdMethod to create or update a Hyper-V cluster.

SELECT examples

Method to get a Hyper-V cluster.

SELECT
clusterName,
created_timestamp,
errors,
fqdn,
functional_level,
host_fqdn_list,
provisioning_state,
resourceGroupName,
run_as_account_id,
siteName,
status,
subscriptionId,
updated_timestamp
FROM azure.migrate.vw_hyperv_cluster_controller_clusters
WHERE clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND siteName = '{{ siteName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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