Skip to main content

assignment_reports

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

Overview

Nameassignment_reports
TypeResource
Idazure.guest_configuration.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
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
vmNametextfield from the properties object
vmss_resource_idtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTguestConfigurationAssignmentName, reportId, resourceGroupName, subscriptionId, vmNameGet a report for the guest configuration assignment, by reportId.
listSELECTguestConfigurationAssignmentName, resourceGroupName, subscriptionId, vmNameList 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,
reportId,
report_id,
resourceGroupName,
start_time,
subscriptionId,
vm,
vmName,
vmss_resource_id
FROM azure.guest_configuration.vw_assignment_reports
WHERE guestConfigurationAssignmentName = '{{ guestConfigurationAssignmentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vmName = '{{ vmName }}';