IVirtualMachinesOperations.GetWithHttpMessagesAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.VirtualMachine>> GetWithHttpMessagesAsync (string resourceGroupName, string vmName, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.InstanceViewTypes? expand = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWithHttpMessagesAsync : string * string * Nullable<Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.InstanceViewTypes> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.VirtualMachine>>
Public Function GetWithHttpMessagesAsync (resourceGroupName As String, vmName As String, Optional expand As Nullable(Of InstanceViewTypes) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of VirtualMachine))

Parameters

resourceGroupName
String
vmName
String
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Applies to