Freigeben über


VaultCertificatesOperationsExtensions.CreateAsync Methode

Definition

Lädt ein Zertifikat für eine Ressource hoch.

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)

Parameter

operations
IVaultCertificatesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe, in der sich der Recovery Services-Tresor befindet.

vaultName
String

Der Name des Recovery Services-Tresors.

certificateName
String

Anzeigename des Zertifikats.

properties
RawCertificateData
cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: