hcrp_assignment_reports
Creates, updates, deletes, gets or lists a hcrp_assignment_reports
resource.
Overview
Name | hcrp_assignment_reports |
Type | Resource |
Id | azure.guest_configuration.hcrp_assignment_reports |
Fields
- vw_hcrp_assignment_reports
- hcrp_assignment_reports
Name | Datatype | Description |
---|---|---|
id | text | ARM resource id of the report for the guest configuration assignment. |
name | text | GUID that identifies the guest configuration assignment report under a subscription, resource group. |
assignment | text | field from the properties object |
compliance_status | text | field from the properties object |
details | text | field from the properties object |
end_time | text | field from the properties object |
guestConfigurationAssignmentName | text | field from the properties object |
machineName | text | field from the properties object |
reportId | text | field from the properties object |
report_id | text | field from the properties object |
resourceGroupName | text | field from the properties object |
start_time | text | field from the properties object |
subscriptionId | text | field from the properties object |
vm | text | field from the properties object |
vmss_resource_id | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | ARM resource id of the report for the guest configuration assignment. |
name | string | GUID that identifies the guest configuration assignment report under a subscription, resource group. |
properties | object | Report for the guest configuration assignment. Report contains information such as compliance status, reason, and more. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | guestConfigurationAssignmentName, machineName, reportId, resourceGroupName, subscriptionId | Get a report for the guest configuration assignment, by reportId. |
list | SELECT | guestConfigurationAssignmentName, machineName, resourceGroupName, subscriptionId | List all reports for the guest configuration assignment, latest report first. |
SELECT
examples
List all reports for the guest configuration assignment, latest report first.
- vw_hcrp_assignment_reports
- hcrp_assignment_reports
SELECT
id,
name,
assignment,
compliance_status,
details,
end_time,
guestConfigurationAssignmentName,
machineName,
reportId,
report_id,
resourceGroupName,
start_time,
subscriptionId,
vm,
vmss_resource_id
FROM azure.guest_configuration.vw_hcrp_assignment_reports
WHERE guestConfigurationAssignmentName = '{{ guestConfigurationAssignmentName }}'
AND machineName = '{{ machineName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
properties
FROM azure.guest_configuration.hcrp_assignment_reports
WHERE guestConfigurationAssignmentName = '{{ guestConfigurationAssignmentName }}'
AND machineName = '{{ machineName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';