Compartilhar via


Método IManagementCertificateOperations.CreateAsync

Asynchronously adds a management certificate to a subscription.

Namespace: Microsoft.WindowsAzure.Management
Assembly: Microsoft.WindowsAzure.Management (em Microsoft.WindowsAzure.Management.dll)

Uso

'Uso
Dim instance As IManagementCertificateOperations
Dim parameters As ManagementCertificateCreateParameters
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of AzureOperationResponse)

returnValue = instance.CreateAsync(parameters, cancellationToken)

Sintaxe

'Declaração
Function CreateAsync ( _
    parameters As ManagementCertificateCreateParameters, _
    cancellationToken As CancellationToken _
) As Task(Of AzureOperationResponse)
Task<AzureOperationResponse> CreateAsync (
    ManagementCertificateCreateParameters parameters,
    CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ CreateAsync (
    ManagementCertificateCreateParameters^ parameters, 
    CancellationToken cancellationToken
)
Task<AzureOperationResponse> CreateAsync (
    ManagementCertificateCreateParameters parameters, 
    CancellationToken cancellationToken
)
function CreateAsync (
    parameters : ManagementCertificateCreateParameters, 
    cancellationToken : CancellationToken
) : Task<AzureOperationResponse>

Parâmetros

  • cancellationToken
    The cancellation token.

Valor de retorno

An OperationResponse object that includes an HTTP status code and request ID.

Comentários

For more information about adding management certificates to a subscription, see the following resources:

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

Interface IManagementCertificateOperations
Membros IManagementCertificateOperations
Namespace Microsoft.WindowsAzure.Management