Compartir a través de


HostedServiceOperationsExtensions.GetAsync (Método) (IHostedServiceOperations, String)

 

Recupera las propiedades del sistema para el servicio de nube especificado de manera asincrónica.

Espacio de nombres:   Microsoft.WindowsAzure.Management.Compute
Ensamblado:  Microsoft.WindowsAzure.Management.Compute (en Microsoft.WindowsAzure.Management.Compute.dll)

Sintaxis

public static Task<HostedServiceGetResponse> GetAsync(
    this IHostedServiceOperations operations,
    string serviceName
)
public:
[ExtensionAttribute]
static Task<HostedServiceGetResponse^>^ GetAsync(
    IHostedServiceOperations^ operations,
    String^ serviceName
)
static member GetAsync : 
        operations:IHostedServiceOperations *
        serviceName:string -> Task<HostedServiceGetResponse>
<ExtensionAttribute>
Public Shared Function GetAsync (
    operations As IHostedServiceOperations,
    serviceName As String
) As Task(Of HostedServiceGetResponse)

Parámetros

  • serviceName
    Type: System.String

    El nombre del servicio de nube para la que se debe recuperar la información.

Valor devuelto

Type: System.Threading.Tasks.Task<HostedServiceGetResponse>

La HostedServiceGetResponse objeto que contiene información sobre el servicio de nube.

Comentarios

Estas propiedades incluyen el nombre del servicio y el tipo de servicio; el nombre del grupo de afinidad al que pertenece el servicio, o su ubicación, si no forma parte de un grupo de afinidad.

Para obtener más información acerca de cómo recuperar información del servicio de nube, consulte los siguientes recursos:

Vea también

HostedServiceOperationsExtensions (Clase)
Microsoft.WindowsAzure.Management.Compute (Espacio de nombres)

Volver al principio