Skip to main content

software_update_configuration_machine_runs

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

Overview

Namesoftware_update_configuration_machine_runs
TypeResource
Idazure.automation.software_update_configuration_machine_runs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource Id of the software update configuration machine run.
namestringName of the software update configuration machine run.
configuredDurationstringconfigured duration for the software update configuration run.
correlationIdstringcorrelation id of the software update configuration machine run.
createdBystringcreatedBy property, which only appears in the response.
creationTimestring (date-time)Creation time of the resource, which only appears in the response.
endTimestring (date-time)End time of the software update configuration machine run.
errorobjectDetails of provisioning error.
jobobjectJob associated with the software update configuration machine run.
lastModifiedBystringlastModifiedBy property, which only appears in the response.
lastModifiedTimestring (date-time)Last time resource was modified, which only appears in the response.
osTypestringOperating system target of the software update configuration triggered this run.
softwareUpdateConfigurationobjectsoftware update configuration triggered this run.
sourceComputerIdstringsource computer id of the software update configuration machine run.
startTimestring (date-time)Start time of the software update configuration machine run.
statusstringStatus of the software update configuration machine run.
targetComputerstringname of the updated computer.
targetComputerTypestringtype of the updated computer.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_by_idselectresource_group_name, automation_account_name, software_update_configuration_machine_run_id, subscription_idclientRequestIdGet a single software update configuration machine run by Id.
listselectresource_group_name, automation_account_name, subscription_idclientRequestId, $filter, $skip, $topReturn list of software update configuration machine runs.

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.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
software_update_configuration_machine_run_idstringThe Id of the software update configuration machine run. Required.
subscription_idstring
$filterstringThe filter to apply on the operation. You can use the following filters: 'properties/osType', 'properties/status', 'properties/startTime', and 'properties/softwareUpdateConfiguration/name'. Default value is None.
$skipstringnumber of entries you skip before returning results. Default value is None.
$topstringMaximum number of entries returned in the results collection. Default value is None.
clientRequestIdstringIdentifies this specific client request. Default value is None.

SELECT examples

Get a single software update configuration machine run by Id.

SELECT
id,
name,
configuredDuration,
correlationId,
createdBy,
creationTime,
endTime,
error,
job,
lastModifiedBy,
lastModifiedTime,
osType,
softwareUpdateConfiguration,
sourceComputerId,
startTime,
status,
targetComputer,
targetComputerType
FROM azure.automation.software_update_configuration_machine_runs
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND automation_account_name = '{{ automation_account_name }}' -- required
AND software_update_configuration_machine_run_id = '{{ software_update_configuration_machine_run_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND clientRequestId = '{{ clientRequestId }}'
;