configuration_profile_hci_assignments
Creates, updates, deletes, gets or lists a configuration_profile_hci_assignments
resource.
Overview
Name | configuration_profile_hci_assignments |
Type | Resource |
Id | azure.automanage.configuration_profile_hci_assignments |
Fields
- vw_configuration_profile_hci_assignments
- configuration_profile_hci_assignments
Name | Datatype | Description |
---|---|---|
clusterName | text | field from the properties object |
configurationProfileAssignmentName | text | field from the properties object |
configuration_profile | text | field from the properties object |
managed_by | text | field from the properties object |
resourceGroupName | text | field from the properties object |
status | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
target_id | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
managedBy | string | Azure resource id. Indicates if this resource is managed by another Azure resource. |
properties | object | Automanage configuration profile assignment properties. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | clusterName, configurationProfileAssignmentName, resourceGroupName, subscriptionId | Get information about a configuration profile assignment |
create_or_update | INSERT | clusterName, configurationProfileAssignmentName, resourceGroupName, subscriptionId | Creates an association between a AzureStackHCI cluster and Automanage configuration profile |
delete | DELETE | clusterName, configurationProfileAssignmentName, resourceGroupName, subscriptionId | Delete a configuration profile assignment |
SELECT
examples
Get information about a configuration profile assignment
- vw_configuration_profile_hci_assignments
- configuration_profile_hci_assignments
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 }}';
SELECT
managedBy,
properties,
systemData
FROM azure.automanage.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.automanage.configuration_profile_hci_assignments (
clusterName,
configurationProfileAssignmentName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ clusterName }}',
'{{ configurationProfileAssignmentName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: configurationProfile
value: string
- name: targetId
value: string
- name: status
value: string
- name: managedBy
value: []
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
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 }}';