Skip to main content

hcrp_reports

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

Overview

Namehcrp_reports
TypeResource
Idazure.automanage.hcrp_reports

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
configurationProfilestringThe configurationProfile linked to the assignment.
durationstringDuration of the configuration profile assignment processing.
endTimestringEnd time of the configuration profile assignment processing.
errorobjectError message, if any, returned by the configuration profile assignment processing.
lastModifiedTimestringLast modified time of the configuration profile assignment processing.
reportFormatVersionstringVersion of the report format.
resourcesarrayList of resources processed by the configuration profile assignment.
startTimestringStart time of the configuration profile assignment processing.
statusstringThe status of the configuration profile assignment.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, machine_name, configuration_profile_assignment_name, report_name, subscription_idGet information about a report associated with a configuration profile assignment run.
list_by_configuration_profile_assignmentsselectresource_group_name, machine_name, configuration_profile_assignment_name, subscription_idRetrieve 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.

NameDatatypeDescription
configuration_profile_assignment_namestringThe configuration profile assignment name. Required.
machine_namestringThe name of the Arc machine. Required.
report_namestringThe report name. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Get information about a report associated with a configuration profile assignment run.

SELECT
id,
name,
configurationProfile,
duration,
endTime,
error,
lastModifiedTime,
reportFormatVersion,
resources,
startTime,
status,
systemData,
type
FROM azure.automanage.hcrp_reports
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND machine_name = '{{ machine_name }}' -- required
AND configuration_profile_assignment_name = '{{ configuration_profile_assignment_name }}' -- required
AND report_name = '{{ report_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;