Skip to main content

hcrp_assignment_reports

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

Overview

Namehcrp_assignment_reports
TypeResource
Idazure.guest_configuration.hcrp_assignment_reports

Fields

NameDatatypeDescription
idtextARM resource id of the report for the guest configuration assignment.
nametextGUID that identifies the guest configuration assignment report under a subscription, resource group.
assignmenttextfield from the properties object
compliance_statustextfield from the properties object
detailstextfield from the properties object
end_timetextfield from the properties object
guestConfigurationAssignmentNametextfield from the properties object
machineNametextfield from the properties object
reportIdtextfield from the properties object
report_idtextfield from the properties object
resourceGroupNametextfield from the properties object
start_timetextfield from the properties object
subscriptionIdtextfield from the properties object
vmtextfield from the properties object
vmss_resource_idtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTguestConfigurationAssignmentName, machineName, reportId, resourceGroupName, subscriptionIdGet a report for the guest configuration assignment, by reportId.
listSELECTguestConfigurationAssignmentName, machineName, resourceGroupName, subscriptionIdList all reports for the guest configuration assignment, latest report first.

SELECT examples

List all reports for the guest configuration assignment, latest report first.

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 }}';