IVirtualMachineOperations.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.
The Get Role operation retrieves information about the specified virtual machine. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj157193.aspx for more information)
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineGetResponse> GetAsync (string serviceName, string deploymentName, string virtualMachineName, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineGetResponse>
Public Function GetAsync (serviceName As String, deploymentName As String, virtualMachineName As String, cancellationToken As CancellationToken) As Task(Of VirtualMachineGetResponse)
Parameters
- serviceName
- String
The name of your service.
- deploymentName
- String
The name of your deployment.
- virtualMachineName
- String
The name of the virtual machine.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Get Virtual Machine operation response.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET