DpsCertificateOperationsExtensions.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 provisioning service.
public static Microsoft.Azure.Management.DeviceProvisioningServices.Models.CertificateResponse CreateOrUpdate (this Microsoft.Azure.Management.DeviceProvisioningServices.IDpsCertificateOperations operations, string resourceGroupName, string provisioningServiceName, string certificateName, string ifMatch = default, Microsoft.Azure.Management.DeviceProvisioningServices.Models.CertificateProperties properties = default);
static member CreateOrUpdate : Microsoft.Azure.Management.DeviceProvisioningServices.IDpsCertificateOperations * string * string * string * string * Microsoft.Azure.Management.DeviceProvisioningServices.Models.CertificateProperties -> Microsoft.Azure.Management.DeviceProvisioningServices.Models.CertificateResponse
<Extension()>
Public Function CreateOrUpdate (operations As IDpsCertificateOperations, resourceGroupName As String, provisioningServiceName As String, certificateName As String, Optional ifMatch As String = Nothing, Optional properties As CertificateProperties = Nothing) As CertificateResponse
Parameters
- operations
- IDpsCertificateOperations
The operations group for this extension method.
- resourceGroupName
- String
Resource group identifier.
- provisioningServiceName
- String
The name of the provisioning service.
- certificateName
- String
The name of the certificate create or update.
- ifMatch
- String
ETag of the certificate. This is required to update an existing certificate, and ignored while creating a brand new certificate.
- properties
- CertificateProperties
properties of a certificate
Returns
Remarks
Add new certificate or update an existing certificate.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET