assignment_reports
Creates, updates, deletes, gets or lists a assignment_reports
resource.
Overview
Name | assignment_reports |
Type | Resource |
Id | azure.guest_configuration.assignment_reports |
Fields
- vw_assignment_reports
- 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 |
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 |
vmName | 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, reportId, resourceGroupName, subscriptionId, vmName | Get a report for the guest configuration assignment, by reportId. |
list | SELECT | guestConfigurationAssignmentName, resourceGroupName, subscriptionId, vmName | 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_assignment_reports
- assignment_reports
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 }}';
SELECT
id,
name,
properties
FROM azure.guest_configuration.assignment_reports
WHERE guestConfigurationAssignmentName = '{{ guestConfigurationAssignmentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vmName = '{{ vmName }}';