Share via


ICloudServiceOperations.GetAsync Method

Retrieve a Cloud services (see https://msdn.microsoft.com/en-us/library/windowsazure/XXXXXXX.aspx for more information)

Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)

Usage

'Usage
Dim instance As ICloudServiceOperations
Dim cloudServiceName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of CloudServiceGetResponse)

returnValue = instance.GetAsync(cloudServiceName, cancellationToken)

Syntax

'Declaration
Function GetAsync ( _
    cloudServiceName As String, _
    cancellationToken As CancellationToken _
) As Task(Of CloudServiceGetResponse)
Task<CloudServiceGetResponse> GetAsync (
    string cloudServiceName,
    CancellationToken cancellationToken
)
Task<CloudServiceGetResponse^>^ GetAsync (
    String^ cloudServiceName, 
    CancellationToken cancellationToken
)
Task<CloudServiceGetResponse> GetAsync (
    String cloudServiceName, 
    CancellationToken cancellationToken
)
function GetAsync (
    cloudServiceName : String, 
    cancellationToken : CancellationToken
) : Task<CloudServiceGetResponse>

Parameters

  • cloudServiceName
    Cloud service name.
  • cancellationToken
    Cancellation token.

Return Value

The response model for the get cloud service operation.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

ICloudServiceOperations Interface
ICloudServiceOperations Members
Microsoft.WindowsAzure.Management.Automation Namespace