hcrp_reports
Creates, updates, deletes, gets or lists a hcrp_reports resource.
Overview
| Name | hcrp_reports |
| Type | Resource |
| Id | azure.automanage.hcrp_reports |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_configuration_profile_assignments
OK. The report was returned successfully.
| Name | Datatype | Description |
|---|---|---|
properties | object | The properties for the report. (title: Properties) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
OK. List of reports.
| Name | Datatype | Description |
|---|---|---|
properties | object | The properties for the report. (title: Properties) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | subscriptionId, resourceGroupName, machineName, configurationProfileAssignmentName, reportName | Get information about a report associated with a configuration profile assignment run | |
list_by_configuration_profile_assignments | select | subscriptionId, resourceGroupName, machineName, configurationProfileAssignmentName | Retrieve a list of reports within a given configuration profile assignment |
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.
| Name | Datatype | Description |
|---|---|---|
configurationProfileAssignmentName | string | The configuration profile assignment name. |
machineName | string | The name of the Arc machine. |
reportName | string | The report name. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
SELECT examples
- get
- list_by_configuration_profile_assignments
Get information about a report associated with a configuration profile assignment run
SELECT
properties,
systemData
FROM azure.automanage.hcrp_reports
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND machineName = '{{ machineName }}' -- required
AND configurationProfileAssignmentName = '{{ configurationProfileAssignmentName }}' -- required
AND reportName = '{{ reportName }}' -- required
;
Retrieve a list of reports within a given configuration profile assignment
SELECT
properties,
systemData
FROM azure.automanage.hcrp_reports
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND machineName = '{{ machineName }}' -- required
AND configurationProfileAssignmentName = '{{ configurationProfileAssignmentName }}' -- required
;