VirtualMachinesOperationsExtensions.GetAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.VirtualMachine> GetAsync (this Microsoft.Azure.Commands.Common.Compute.Version_2018_04.IVirtualMachinesOperations operations, string resourceGroupName, string vmName, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.InstanceViewTypes? expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Commands.Common.Compute.Version_2018_04.IVirtualMachinesOperations * string * string * Nullable<Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.InstanceViewTypes> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.VirtualMachine>
<Extension()>
Public Function GetAsync (operations As IVirtualMachinesOperations, resourceGroupName As String, vmName As String, Optional expand As Nullable(Of InstanceViewTypes) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VirtualMachine)
Parameters
- operations
- IVirtualMachinesOperations
- resourceGroupName
- String
- vmName
- String
- expand
- Nullable<InstanceViewTypes>
- cancellationToken
- CancellationToken