Share via


CertificatesOperationsExtensions.CreateOrUpdate Methode

Definition

Laden Sie das Zertifikat in den IoT Hub hoch.

public static Microsoft.Azure.Management.IotHub.Models.CertificateDescription CreateOrUpdate (this Microsoft.Azure.Management.IotHub.ICertificatesOperations operations, string resourceGroupName, string resourceName, string certificateName, string ifMatch = default, Microsoft.Azure.Management.IotHub.Models.CertificateProperties properties = default);
static member CreateOrUpdate : Microsoft.Azure.Management.IotHub.ICertificatesOperations * string * string * string * string * Microsoft.Azure.Management.IotHub.Models.CertificateProperties -> Microsoft.Azure.Management.IotHub.Models.CertificateDescription
<Extension()>
Public Function CreateOrUpdate (operations As ICertificatesOperations, resourceGroupName As String, resourceName As String, certificateName As String, Optional ifMatch As String = Nothing, Optional properties As CertificateProperties = Nothing) As CertificateDescription

Parameter

operations
ICertificatesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe, die den IoT Hub enthält.

resourceName
String

Der Name des IoT-Hubs.

certificateName
String

Der Name des Zertifikats

ifMatch
String

ETag des Zertifikats. Geben Sie nicht an, um ein brandneues Zertifikat zu erstellen. Erforderlich, um ein vorhandenes Zertifikat zu aktualisieren.

Gibt zurück

Hinweise

Fügt ein neues Zertifikat hinzu oder ersetzt vorhandene Zertifikate.

Gilt für: