Skip to main content

reports

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

Overview

Namereports
TypeResource
Idazure.automanage.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, configuration_profile_assignment_name, report_name, vm_name, subscription_idGet information about a report associated with a configuration profile assignment run.
list_by_configuration_profile_assignmentsselectresource_group_name, configuration_profile_assignment_name, vm_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.
report_namestringThe report name. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
vm_namestringThe name of the virtual machine. Required.

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.reports
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND configuration_profile_assignment_name = '{{ configuration_profile_assignment_name }}' -- required
AND report_name = '{{ report_name }}' -- required
AND vm_name = '{{ vm_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;