Share via


CloudServicesOperationsExtensions.GetInstanceViewAsync Method

Definition

Gets the status of a cloud service.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.CloudServiceInstanceView> GetInstanceViewAsync (this Microsoft.Azure.Management.Compute.ICloudServicesOperations operations, string resourceGroupName, string cloudServiceName, System.Threading.CancellationToken cancellationToken = default);
static member GetInstanceViewAsync : Microsoft.Azure.Management.Compute.ICloudServicesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.CloudServiceInstanceView>
<Extension()>
Public Function GetInstanceViewAsync (operations As ICloudServicesOperations, resourceGroupName As String, cloudServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CloudServiceInstanceView)

Parameters

operations
ICloudServicesOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group.

cloudServiceName
String

Name of the cloud service.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to