Freigeben über


CertificatesOperationsExtensions.CreateOrUpdateAsync Methode

Definition

Erstellen oder aktualisieren Sie die Zertifikatressource.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppPlatform.Models.CertificateResource> CreateOrUpdateAsync(this Microsoft.Azure.Management.AppPlatform.ICertificatesOperations operations, string resourceGroupName, string serviceName, string certificateName, Microsoft.Azure.Management.AppPlatform.Models.CertificateResource certificateResource, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.AppPlatform.ICertificatesOperations * string * string * string * Microsoft.Azure.Management.AppPlatform.Models.CertificateResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppPlatform.Models.CertificateResource>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ICertificatesOperations, resourceGroupName As String, serviceName As String, certificateName As String, certificateResource As CertificateResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CertificateResource)

Parameter

operations
ICertificatesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe, die die Ressource enthält. Dieser Wert kann über die Azure-Ressourcen-Manager-API oder das Portal abgerufen werden.

serviceName
String

Der Name der Dienstressource.

certificateName
String

Der Name der Zertifikatressource.

certificateResource
CertificateResource

Parameter für den Erstellungs- oder Aktualisierungsvorgang

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: