Udostępnij za pośrednictwem


CloudServiceOperationsExtensions.GetAsync Method

Definition

Retreive a cloud service.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Scheduler.Models.CloudServiceGetResponse> GetAsync (this Microsoft.WindowsAzure.Management.Scheduler.ICloudServiceOperations operations, string cloudServiceName);
static member GetAsync : Microsoft.WindowsAzure.Management.Scheduler.ICloudServiceOperations * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Scheduler.Models.CloudServiceGetResponse>
<Extension()>
Public Function GetAsync (operations As ICloudServiceOperations, cloudServiceName As String) As Task(Of CloudServiceGetResponse)

Parameters

operations
ICloudServiceOperations

Reference to the Microsoft.WindowsAzure.Management.Scheduler.ICloudServiceOperations.

cloudServiceName
String

Required. The cloud service name.

Returns

Information about a retrieved Cloud Service.

Applies to