Skip to main content

node_reports

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

Overview

Namenode_reports
TypeResource
Idazure.automation.node_reports

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringGets or sets the id.
configurationVersionstringGets or sets the configurationVersion of the node report.
endTimestring (date-time)Gets or sets the end time of the node report.
errorsarrayGets or sets the errors for the node report.
hostNamestringGets or sets the hostname of the node that sent the report.
iPV4AddressesarrayGets or sets the IPv4 address of the node that sent the report.
iPV6AddressesarrayGets or sets the IPv6 address of the node that sent the report.
lastModifiedTimestring (date-time)Gets or sets the lastModifiedTime of the node report.
metaConfigurationobjectGets or sets the metaConfiguration of the node at the time of the report.
numberOfResourcesintegerGets or sets the number of resource in the node report.
rawErrorsstringGets or sets the unparsed errors for the node report.
rebootRequestedstringGets or sets the rebootRequested of the node report.
refreshModestringGets or sets the refreshMode of the node report.
reportFormatVersionstringGets or sets the reportFormatVersion of the node report.
reportIdstringGets or sets the id of the node report.
resourcesarrayGets or sets the resource for the node report.
startTimestring (date-time)Gets or sets the start time of the node report.
statusstringGets or sets the status of the node report.
typestringGets or sets the type of the node report.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, automation_account_name, node_id, report_id, subscription_idRetrieve the Dsc node report data by node id and report id.
list_by_nodeselectresource_group_name, automation_account_name, node_id, subscription_id$filterRetrieve the Dsc node report list by node id.
get_contentexecresource_group_name, automation_account_name, node_id, report_id, subscription_idRetrieve the Dsc node reports by node id and report id.

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
automation_account_namestringThe name of the automation account. Required.
node_idstringThe node id. Required.
report_idstringThe report id. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
$filterstringThe filter to apply on the operation. Default value is None.

SELECT examples

Retrieve the Dsc node report data by node id and report id.

SELECT
id,
configurationVersion,
endTime,
errors,
hostName,
iPV4Addresses,
iPV6Addresses,
lastModifiedTime,
metaConfiguration,
numberOfResources,
rawErrors,
rebootRequested,
refreshMode,
reportFormatVersion,
reportId,
resources,
startTime,
status,
type
FROM azure.automation.node_reports
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND automation_account_name = '{{ automation_account_name }}' -- required
AND node_id = '{{ node_id }}' -- required
AND report_id = '{{ report_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

Lifecycle Methods

Retrieve the Dsc node reports by node id and report id.

EXEC azure.automation.node_reports.get_content 
@resource_group_name='{{ resource_group_name }}' --required,
@automation_account_name='{{ automation_account_name }}' --required,
@node_id='{{ node_id }}' --required,
@report_id='{{ report_id }}' --required,
@subscription_id='{{ subscription_id }}' --required
;