Share via


ISoftwareUpdateConfigurationMachineRunsOperations.GetByIdWithHttpMessagesAsync Method

Definition

Get a single software update configuration machine run by Id. http://aka.ms/azureautomationsdk/softwareupdateconfigurationoperations

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Automation.Models.SoftwareUpdateConfigurationMachineRun>> GetByIdWithHttpMessagesAsync (string resourceGroupName, string automationAccountName, Guid softwareUpdateConfigurationMachineRunId, string clientRequestId = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetByIdWithHttpMessagesAsync : string * string * Guid * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Automation.Models.SoftwareUpdateConfigurationMachineRun>>
Public Function GetByIdWithHttpMessagesAsync (resourceGroupName As String, automationAccountName As String, softwareUpdateConfigurationMachineRunId As Guid, Optional clientRequestId As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of SoftwareUpdateConfigurationMachineRun))

Parameters

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

softwareUpdateConfigurationMachineRunId
Guid

The Id of the software update configuration machine run.

clientRequestId
String

Identifies this specific client request.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when unable to deserialize the response

Thrown when a required parameter is null

Applies to