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

The following fields are returned by SELECT queries:

OK. This response is due one of these two reasons: 1. Report was returned successfully 2. Guest configuration assignment was found, but machine is not registered yet, hence no report was returned.

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.
propertiesobjectProperties of the guest configuration report.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, guestConfigurationAssignmentName, reportId, subscriptionId, machineNameGet a report for the guest configuration assignment, by reportId.
listselectresourceGroupName, guestConfigurationAssignmentName, subscriptionId, machineNameList 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
guestConfigurationAssignmentNamestringThe guest configuration assignment name.
machineNamestringThe name of the ARC machine.
reportIdstringThe GUID for the guest configuration assignment report.
resourceGroupNamestringThe resource group name.
subscriptionIdstringSubscription ID which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

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

SELECT
id,
name,
properties
FROM azure.guest_configuration.hcrp_assignment_reports
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND guestConfigurationAssignmentName = '{{ guestConfigurationAssignmentName }}' -- required
AND reportId = '{{ reportId }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND machineName = '{{ machineName }}' -- required
;