Skip to main content

arc_settings

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

Overview

Namearc_settings
TypeResource
Idazure_stack.azure_stack_hci.arc_settings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
aggregateStatestringAggregate state of Arc agent across the nodes in this HCI cluster. Known values are: "NotSpecified", "Error", "Succeeded", "Canceled", "Failed", "Connected", "Disconnected", "Deleted", "Creating", "Updating", "Deleting", "Moving", "PartiallySucceeded", "PartiallyConnected", "InProgress", "Accepted", "Provisioning", and "DisableInProgress". (NotSpecified, Error, Succeeded, Canceled, Failed, Connected, Disconnected, Deleted, Creating, Updating, Deleting, Moving, PartiallySucceeded, PartiallyConnected, InProgress, Accepted, Provisioning, DisableInProgress)
arcApplicationClientIdstringApp id of arc AAD identity.
arcApplicationObjectIdstringObject id of arc AAD identity.
arcApplicationTenantIdstringTenant id of arc AAD identity.
arcInstanceResourceGroupstringThe resource group that hosts the Arc agents, ie. Hybrid Compute Machine resources.
arcServicePrincipalObjectIdstringObject id of arc AAD service principal.
connectivityPropertiesobjectcontains connectivity related configuration for ARC resources.
defaultExtensionsarrayProperties for each of the default extensions category.
perNodeDetailsarrayState of Arc agent in each of the nodes.
provisioningStatestringProvisioning state of the ArcSetting proxy resource. Known values are: "NotSpecified", "Error", "Succeeded", "Failed", "Canceled", "Connected", "Disconnected", "Deleted", "Creating", "Updating", "Deleting", "Moving", "PartiallySucceeded", "PartiallyConnected", "InProgress", "Accepted", "Provisioning", and "DisableInProgress". (NotSpecified, Error, Succeeded, Failed, Canceled, Connected, Disconnected, Deleted, Creating, Updating, Deleting, Moving, PartiallySucceeded, PartiallyConnected, InProgress, Accepted, Provisioning, DisableInProgress)
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, cluster_name, arc_setting_name, subscription_idGet ArcSetting resource details of HCI Cluster.
list_by_clusterselectresource_group_name, cluster_name, subscription_idGet ArcSetting resources of HCI Cluster.
createinsertresource_group_name, cluster_name, arc_setting_name, subscription_idCreate ArcSetting for HCI cluster.
updateupdateresource_group_name, cluster_name, arc_setting_name, subscription_idUpdate ArcSettings for HCI cluster.
deletedeleteresource_group_name, cluster_name, arc_setting_name, subscription_idDelete ArcSetting resource details of HCI Cluster.
generate_passwordexecresource_group_name, cluster_name, arc_setting_name, subscription_idGenerate password for arc settings.
create_identityexecresource_group_name, cluster_name, arc_setting_name, subscription_idCreate Aad identity for arc settings.
reconcileexecresource_group_name, cluster_name, arc_setting_name, subscription_idReconcile Arc Settings with information related to all nodes.
consent_and_install_default_extensionsexecresource_group_name, cluster_name, arc_setting_name, subscription_idAdd consent time for default extensions and initiate extensions installation.
initialize_disable_processexecresource_group_name, cluster_name, arc_setting_name, subscription_idInitializes ARC Disable process on the cluster.

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
arc_setting_namestringThe name of the proxy resource holding details of HCI ArcSetting information. Required.
cluster_namestringThe name of the cluster. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Get ArcSetting resource details of HCI Cluster.

SELECT
id,
name,
aggregateState,
arcApplicationClientId,
arcApplicationObjectId,
arcApplicationTenantId,
arcInstanceResourceGroup,
arcServicePrincipalObjectId,
connectivityProperties,
defaultExtensions,
perNodeDetails,
provisioningState,
systemData,
type
FROM azure_stack.azure_stack_hci.arc_settings
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND cluster_name = '{{ cluster_name }}' -- required
AND arc_setting_name = '{{ arc_setting_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Create ArcSetting for HCI cluster.

INSERT INTO azure_stack.azure_stack_hci.arc_settings (
properties,
resource_group_name,
cluster_name,
arc_setting_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ resource_group_name }}',
'{{ cluster_name }}',
'{{ arc_setting_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
systemData,
type
;

UPDATE examples

Update ArcSettings for HCI cluster.

UPDATE azure_stack.azure_stack_hci.arc_settings
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND cluster_name = '{{ cluster_name }}' --required
AND arc_setting_name = '{{ arc_setting_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
properties,
systemData,
type;

DELETE examples

Delete ArcSetting resource details of HCI Cluster.

DELETE FROM azure_stack.azure_stack_hci.arc_settings
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND cluster_name = '{{ cluster_name }}' --required
AND arc_setting_name = '{{ arc_setting_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;

Lifecycle Methods

Generate password for arc settings.

EXEC azure_stack.azure_stack_hci.arc_settings.generate_password 
@resource_group_name='{{ resource_group_name }}' --required,
@cluster_name='{{ cluster_name }}' --required,
@arc_setting_name='{{ arc_setting_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;