Skip to main content

configuration_profile_hci_assignments

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

Overview

Nameconfiguration_profile_hci_assignments
TypeResource
Idazure.automanage.configuration_profile_hci_assignments

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.
configurationProfilestringThe Automanage configurationProfile ARM Resource URI.
managedBystringAzure resource id. Indicates if this resource is managed by another Azure resource.
statusstringThe status of onboarding, which only appears in the response.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
targetIdstringThe target VM resource URI.
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, configuration_profile_assignment_name, subscription_idGet information about a configuration profile assignment.
create_or_updateinsertresource_group_name, cluster_name, configuration_profile_assignment_name, subscription_idCreates an association between a AzureStackHCI cluster and Automanage configuration profile.
create_or_updatereplaceresource_group_name, cluster_name, configuration_profile_assignment_name, subscription_idCreates an association between a AzureStackHCI cluster and Automanage configuration profile.
deletedeleteresource_group_name, cluster_name, configuration_profile_assignment_name, subscription_idDelete a configuration profile assignment.

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
cluster_namestringThe name of the Arc machine. Required.
configuration_profile_assignment_namestringName of the configuration profile assignment. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Get information about a configuration profile assignment.

SELECT
id,
name,
configurationProfile,
managedBy,
status,
systemData,
targetId,
type
FROM azure.automanage.configuration_profile_hci_assignments
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND cluster_name = '{{ cluster_name }}' -- required
AND configuration_profile_assignment_name = '{{ configuration_profile_assignment_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Creates an association between a AzureStackHCI cluster and Automanage configuration profile.

INSERT INTO azure.automanage.configuration_profile_hci_assignments (
properties,
resource_group_name,
cluster_name,
configuration_profile_assignment_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ resource_group_name }}',
'{{ cluster_name }}',
'{{ configuration_profile_assignment_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
managedBy,
properties,
systemData,
type
;

REPLACE examples

Creates an association between a AzureStackHCI cluster and Automanage configuration profile.

REPLACE azure.automanage.configuration_profile_hci_assignments
SET
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND cluster_name = '{{ cluster_name }}' --required
AND configuration_profile_assignment_name = '{{ configuration_profile_assignment_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
managedBy,
properties,
systemData,
type;

DELETE examples

Delete a configuration profile assignment.

DELETE FROM azure.automanage.configuration_profile_hci_assignments
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND cluster_name = '{{ cluster_name }}' --required
AND configuration_profile_assignment_name = '{{ configuration_profile_assignment_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;