Partager via


VaultCertificatesOperationsExtensions.CreateAsync Méthode

Définition

Charge un certificat pour une ressource.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Models.VaultCertificateResponse> CreateAsync (this Microsoft.Azure.Management.RecoveryServices.IVaultCertificatesOperations operations, string resourceGroupName, string vaultName, string certificateName, Microsoft.Azure.Management.RecoveryServices.Models.RawCertificateData properties = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.RecoveryServices.IVaultCertificatesOperations * string * string * string * Microsoft.Azure.Management.RecoveryServices.Models.RawCertificateData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Models.VaultCertificateResponse>
<Extension()>
Public Function CreateAsync (operations As IVaultCertificatesOperations, resourceGroupName As String, vaultName As String, certificateName As String, Optional properties As RawCertificateData = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VaultCertificateResponse)

Paramètres

operations
IVaultCertificatesOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources où se trouve le coffre Recovery Services.

vaultName
String

Nom du coffre Recovery Services.

certificateName
String

Nom convivial du certificat.

properties
RawCertificateData
cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à