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

NameDatatypeDescription
clusterNametextfield from the properties object
configurationProfileAssignmentNametextfield from the properties object
configuration_profiletextfield from the properties object
managed_bytextfield from the properties object
resourceGroupNametextfield from the properties object
statustextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
target_idtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTclusterName, configurationProfileAssignmentName, resourceGroupName, subscriptionIdGet information about a configuration profile assignment
create_or_updateINSERTclusterName, configurationProfileAssignmentName, resourceGroupName, subscriptionIdCreates an association between a AzureStackHCI cluster and Automanage configuration profile
deleteDELETEclusterName, configurationProfileAssignmentName, resourceGroupName, subscriptionIdDelete a configuration profile assignment

SELECT examples

Get information about a configuration profile assignment

SELECT
clusterName,
configurationProfileAssignmentName,
configuration_profile,
managed_by,
resourceGroupName,
status,
subscriptionId,
system_data,
target_id
FROM azure.automanage.vw_configuration_profile_hci_assignments
WHERE clusterName = '{{ clusterName }}'
AND configurationProfileAssignmentName = '{{ configurationProfileAssignmentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.automanage.configuration_profile_hci_assignments (
clusterName,
configurationProfileAssignmentName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ clusterName }}',
'{{ configurationProfileAssignmentName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified configuration_profile_hci_assignments resource.

/*+ delete */
DELETE FROM azure.automanage.configuration_profile_hci_assignments
WHERE clusterName = '{{ clusterName }}'
AND configurationProfileAssignmentName = '{{ configurationProfileAssignmentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';