ContainerAppConnectedEnvironmentCertificateCollection.CreateOrUpdate Méthode
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Créer ou mettre à jour un certificat.
- Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}
- IdConnectedEnvironmentsCertificates_CreateOrUpdate d’opération
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentCertificateResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string certificateName, Azure.ResourceManager.AppContainers.ContainerAppCertificateData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.AppContainers.ContainerAppCertificateData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentCertificateResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.AppContainers.ContainerAppCertificateData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentCertificateResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, certificateName As String, data As ContainerAppCertificateData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of ContainerAppConnectedEnvironmentCertificateResource)
- waitUntil
- WaitUntil
Completed si la méthode doit attendre la fin de l’opération de longue durée sur le service ; Started s’il doit retourner après le démarrage de l’opération. Pour plus d’informations sur les opérations de longue durée, consultez Exemples d’opérations Azure.Core Long-Running.
- certificateName
- String
Nom du certificat.
Certificat à créer ou à mettre à jour.
- cancellationToken
- CancellationToken
Jeton d’annulation à utiliser.
certificateName
est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.
certificateName
ou data
est null.
Commentaires sur Azure SDK for .NET
Azure SDK for .NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :