node_reports
Creates, updates, deletes, gets or lists a node_reports resource.
Overview
| Name | node_reports |
| Type | Resource |
| Id | azure.automation.node_reports |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_node
| Name | Datatype | Description |
|---|---|---|
id | string | Gets or sets the id. |
configurationVersion | string | Gets or sets the configurationVersion of the node report. |
endTime | string (date-time) | Gets or sets the end time of the node report. |
errors | array | Gets or sets the errors for the node report. |
hostName | string | Gets or sets the hostname of the node that sent the report. |
iPV4Addresses | array | Gets or sets the IPv4 address of the node that sent the report. |
iPV6Addresses | array | Gets or sets the IPv6 address of the node that sent the report. |
lastModifiedTime | string (date-time) | Gets or sets the lastModifiedTime of the node report. |
metaConfiguration | object | Gets or sets the metaConfiguration of the node at the time of the report. |
numberOfResources | integer | Gets or sets the number of resource in the node report. |
rawErrors | string | Gets or sets the unparsed errors for the node report. |
rebootRequested | string | Gets or sets the rebootRequested of the node report. |
refreshMode | string | Gets or sets the refreshMode of the node report. |
reportFormatVersion | string | Gets or sets the reportFormatVersion of the node report. |
reportId | string | Gets or sets the id of the node report. |
resources | array | Gets or sets the resource for the node report. |
startTime | string (date-time) | Gets or sets the start time of the node report. |
status | string | Gets or sets the status of the node report. |
type | string | Gets or sets the type of the node report. |
| Name | Datatype | Description |
|---|---|---|
id | string | Gets or sets the id. |
configurationVersion | string | Gets or sets the configurationVersion of the node report. |
endTime | string (date-time) | Gets or sets the end time of the node report. |
errors | array | Gets or sets the errors for the node report. |
hostName | string | Gets or sets the hostname of the node that sent the report. |
iPV4Addresses | array | Gets or sets the IPv4 address of the node that sent the report. |
iPV6Addresses | array | Gets or sets the IPv6 address of the node that sent the report. |
lastModifiedTime | string (date-time) | Gets or sets the lastModifiedTime of the node report. |
metaConfiguration | object | Gets or sets the metaConfiguration of the node at the time of the report. |
numberOfResources | integer | Gets or sets the number of resource in the node report. |
rawErrors | string | Gets or sets the unparsed errors for the node report. |
rebootRequested | string | Gets or sets the rebootRequested of the node report. |
refreshMode | string | Gets or sets the refreshMode of the node report. |
reportFormatVersion | string | Gets or sets the reportFormatVersion of the node report. |
reportId | string | Gets or sets the id of the node report. |
resources | array | Gets or sets the resource for the node report. |
startTime | string (date-time) | Gets or sets the start time of the node report. |
status | string | Gets or sets the status of the node report. |
type | string | Gets or sets the type of the node report. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, automation_account_name, node_id, report_id, subscription_id | Retrieve the Dsc node report data by node id and report id. | |
list_by_node | select | resource_group_name, automation_account_name, node_id, subscription_id | $filter | Retrieve the Dsc node report list by node id. |
get_content | exec | resource_group_name, automation_account_name, node_id, report_id, subscription_id | Retrieve 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.
| Name | Datatype | Description |
|---|---|---|
automation_account_name | string | The name of the automation account. Required. |
node_id | string | The node id. Required. |
report_id | string | The report id. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string | |
$filter | string | The filter to apply on the operation. Default value is None. |
SELECT examples
- get
- list_by_node
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
;
Retrieve the Dsc node report list by node 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 subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
;
Lifecycle Methods
- get_content
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
;