Skip to main content

arc_settings

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

Overview

Namearc_settings
TypeResource
Idazure_stack.azure_stack_hci.arc_settings

Fields

NameDatatypeDescription
aggregate_statetextfield from the properties object
arcSettingNametextfield from the properties object
arc_application_client_idtextfield from the properties object
arc_application_object_idtextfield from the properties object
arc_application_tenant_idtextfield from the properties object
arc_instance_resource_grouptextfield from the properties object
arc_service_principal_object_idtextfield from the properties object
clusterNametextfield from the properties object
connectivity_propertiestextfield from the properties object
default_extensionstextfield from the properties object
per_node_detailstextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTarcSettingName, clusterName, resourceGroupName, subscriptionIdGet ArcSetting resource details of HCI Cluster.
list_by_clusterSELECTclusterName, resourceGroupName, subscriptionIdGet ArcSetting resources of HCI Cluster.
createINSERTarcSettingName, clusterName, resourceGroupName, subscriptionIdCreate ArcSetting for HCI cluster.
deleteDELETEarcSettingName, clusterName, resourceGroupName, subscriptionIdDelete ArcSetting resource details of HCI Cluster.
updateUPDATEarcSettingName, clusterName, resourceGroupName, subscriptionIdUpdate ArcSettings for HCI cluster.
consent_and_install_default_extensionsEXECarcSettingName, clusterName, resourceGroupName, subscriptionIdAdd consent time for default extensions and initiate extensions installation
generate_passwordEXECarcSettingName, clusterName, resourceGroupName, subscriptionIdGenerate password for arc settings.
initialize_disable_processEXECarcSettingName, clusterName, resourceGroupName, subscriptionIdInitializes ARC Disable process on the cluster

SELECT examples

Get ArcSetting resources of HCI Cluster.

SELECT
aggregate_state,
arcSettingName,
arc_application_client_id,
arc_application_object_id,
arc_application_tenant_id,
arc_instance_resource_group,
arc_service_principal_object_id,
clusterName,
connectivity_properties,
default_extensions,
per_node_details,
provisioning_state,
resourceGroupName,
subscriptionId
FROM azure_stack.azure_stack_hci.vw_arc_settings
WHERE clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure_stack.azure_stack_hci.arc_settings (
arcSettingName,
clusterName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ arcSettingName }}',
'{{ clusterName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

UPDATE example

Updates a arc_settings resource.

/*+ update */
UPDATE azure_stack.azure_stack_hci.arc_settings
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
arcSettingName = '{{ arcSettingName }}'
AND clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified arc_settings resource.

/*+ delete */
DELETE FROM azure_stack.azure_stack_hci.arc_settings
WHERE arcSettingName = '{{ arcSettingName }}'
AND clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';