Share via


CloudServiceOperationsExtensions.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 operations As ICloudServiceOperations
Dim cloudServiceName As String
Dim returnValue As Task(Of CloudServiceGetResponse)

returnValue = CloudServiceOperationsExtensions.GetAsync(operations, cloudServiceName)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetAsync ( _
    operations As ICloudServiceOperations, _
    cloudServiceName As String _
) As Task(Of CloudServiceGetResponse)
[ExtensionAttribute] 
public static Task<CloudServiceGetResponse> GetAsync (
    ICloudServiceOperations operations,
    string cloudServiceName
)
[ExtensionAttribute] 
public:
static Task<CloudServiceGetResponse^>^ GetAsync (
    ICloudServiceOperations^ operations, 
    String^ cloudServiceName
)
/** @attribute ExtensionAttribute() */ 
public static Task<CloudServiceGetResponse> GetAsync (
    ICloudServiceOperations operations, 
    String cloudServiceName
)
ExtensionAttribute 
public static function GetAsync (
    operations : ICloudServiceOperations, 
    cloudServiceName : String
) : Task<CloudServiceGetResponse>

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Automation.ICloudServiceOperations.
  • cloudServiceName
    Required. Cloud service name.

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

CloudServiceOperationsExtensions Class
CloudServiceOperationsExtensions Members
Microsoft.WindowsAzure.Management.Automation Namespace