hyperv_cluster_controller_clusters
Creates, updates, deletes, gets or lists a hyperv_cluster_controller_clusters
resource.
Overview
Name | hyperv_cluster_controller_clusters |
Type | Resource |
Id | azure.migrate.hyperv_cluster_controller_clusters |
Fields
- vw_hyperv_cluster_controller_clusters
- hyperv_cluster_controller_clusters
Name | Datatype | Description |
---|---|---|
clusterName | text | field from the properties object |
created_timestamp | text | field from the properties object |
errors | text | field from the properties object |
fqdn | text | field from the properties object |
functional_level | text | field from the properties object |
host_fqdn_list | 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 |
status | text | field from the properties object |
subscriptionId | text | field from the properties object |
updated_timestamp | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | The properties of Hyperv Cluster |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | clusterName, resourceGroupName, siteName, subscriptionId | Method to get a Hyper-V cluster. |
create | INSERT | clusterName, resourceGroupName, siteName, subscriptionId | Method to create or update a Hyper-V cluster. |
SELECT
examples
Method to get a Hyper-V cluster.
- vw_hyperv_cluster_controller_clusters
- hyperv_cluster_controller_clusters
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 }}';
SELECT
properties
FROM azure.migrate.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.migrate.hyperv_cluster_controller_clusters (
clusterName,
resourceGroupName,
siteName,
subscriptionId,
properties
)
SELECT
'{{ clusterName }}',
'{{ resourceGroupName }}',
'{{ siteName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: createdTimestamp
value: string
- name: updatedTimestamp
value: string
- name: fqdn
value: string
- name: functionalLevel
value: integer
- name: status
value: string
- name: runAsAccountId
value: string
- name: hostFqdnList
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: provisioningState
value: []