Skip to main content

guest_configuration_assignment_reports

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

Overview​

Nameguest_configuration_assignment_reports
TypeResource
Idazure.guest_config.guest_configuration_assignment_reports

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringARM resource id of the report for the guest configuration assignment.
namestringGUID that identifies the guest configuration assignment report under a subscription, resource group.
assignmentobjectConfiguration details of the guest configuration assignment.
complianceStatusstringA value indicating compliance status of the machine for the assigned guest configuration. Known values are: "Compliant", "NonCompliant", and "Pending".
detailsobjectDetails of the assignment report.
endTimestring (date-time)End date and time of the guest configuration assignment compliance status check.
reportIdstringGUID that identifies the guest configuration assignment report under a subscription, resource group.
startTimestring (date-time)Start date and time of the guest configuration assignment compliance status check.
vmobjectInformation about the VM.
vmssResourceIdstringAzure resource Id of the VMSS.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, guest_configuration_assignment_name, report_id, vm_name, subscription_idGet a report for the guest configuration assignment, by reportId.
listselectresource_group_name, guest_configuration_assignment_name, vm_name, subscription_idList all reports for the guest configuration assignment, latest report first.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
guest_configuration_assignment_namestringThe guest configuration assignment name. Required.
report_idstringThe GUID for the guest configuration assignment report. Required.
resource_group_namestringThe resource group name. Required.
subscription_idstring
vm_namestringThe name of the virtual machine. Required.

SELECT examples​

Get a report for the guest configuration assignment, by reportId.

SELECT
id,
name,
assignment,
complianceStatus,
details,
endTime,
reportId,
startTime,
vm,
vmssResourceId
FROM azure.guest_config.guest_configuration_assignment_reports
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND guest_configuration_assignment_name = '{{ guest_configuration_assignment_name }}' -- required
AND report_id = '{{ report_id }}' -- required
AND vm_name = '{{ vm_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;