configuration_profile_hcrp_assignments
Creates, updates, deletes, gets or lists a configuration_profile_hcrp_assignments
resource.
Overview
Name | configuration_profile_hcrp_assignments |
Type | Resource |
Id | azure.automanage.configuration_profile_hcrp_assignments |
Fields
- vw_configuration_profile_hcrp_assignments
- configuration_profile_hcrp_assignments
Name | Datatype | Description |
---|---|---|
configurationProfileAssignmentName | text | field from the properties object |
configuration_profile | text | field from the properties object |
machineName | 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 | configurationProfileAssignmentName, machineName, resourceGroupName, subscriptionId | Get information about a configuration profile assignment |
create_or_update | INSERT | configurationProfileAssignmentName, machineName, resourceGroupName, subscriptionId | Creates an association between a ARC machine and Automanage configuration profile |
delete | DELETE | configurationProfileAssignmentName, machineName, resourceGroupName, subscriptionId | Delete a configuration profile assignment |
SELECT
examples
Get information about a configuration profile assignment
- vw_configuration_profile_hcrp_assignments
- configuration_profile_hcrp_assignments
SELECT
configurationProfileAssignmentName,
configuration_profile,
machineName,
managed_by,
resourceGroupName,
status,
subscriptionId,
system_data,
target_id
FROM azure.automanage.vw_configuration_profile_hcrp_assignments
WHERE configurationProfileAssignmentName = '{{ configurationProfileAssignmentName }}'
AND machineName = '{{ machineName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
managedBy,
properties,
systemData
FROM azure.automanage.configuration_profile_hcrp_assignments
WHERE configurationProfileAssignmentName = '{{ configurationProfileAssignmentName }}'
AND machineName = '{{ machineName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new configuration_profile_hcrp_assignments
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.automanage.configuration_profile_hcrp_assignments (
configurationProfileAssignmentName,
machineName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ configurationProfileAssignmentName }}',
'{{ machineName }}',
'{{ 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_hcrp_assignments
resource.
/*+ delete */
DELETE FROM azure.automanage.configuration_profile_hcrp_assignments
WHERE configurationProfileAssignmentName = '{{ configurationProfileAssignmentName }}'
AND machineName = '{{ machineName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';