Método CloudServiceOperationsExtensions.GetAsync
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 (em Microsoft.WindowsAzure.Management.Automation.dll)
Uso
'Uso
Dim operations As ICloudServiceOperations
Dim cloudServiceName As String
Dim returnValue As Task(Of CloudServiceGetResponse)
returnValue = CloudServiceOperationsExtensions.GetAsync(operations, cloudServiceName)
Sintaxe
'Declaração
<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>
Parâmetros
- operations
Reference to the Microsoft.WindowsAzure.Management.Automation.ICloudServiceOperations.
- cloudServiceName
Required. Cloud service name.
Valor de retorno
The response model for the get cloud service operation.
Segurança de thread
Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.
Plataformas
Plataformas de desenvolvimento
Windows Vista, Windows 7 e Windows Server 2008
Plataformas de destino
Consulte também
Referência
Classe CloudServiceOperationsExtensions
Membros CloudServiceOperationsExtensions
Namespace Microsoft.WindowsAzure.Management.Automation