CertificatesOperationsExtensions.CreateOrUpdate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Upload the certificate to the IoT hub.
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
Parameters
- operations
- ICertificatesOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group that contains the IoT hub.
- resourceName
- String
The name of the IoT hub.
- certificateName
- String
The name of the certificate
- ifMatch
- String
ETag of the Certificate. Do not specify for creating a brand new certificate. Required to update an existing certificate.
- properties
- CertificateProperties
Returns
Remarks
Adds new or replaces existing certificate.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET