DpsCertificateOperationsExtensions.GenerateVerificationCodeAsync 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.
Generate verification code for Proof of Possession.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DeviceProvisioningServices.Models.VerificationCodeResponse> GenerateVerificationCodeAsync (this Microsoft.Azure.Management.DeviceProvisioningServices.IDpsCertificateOperations operations, string certificateName, string ifMatch, string resourceGroupName, string provisioningServiceName, string certificatename = default, byte[] certificaterawBytes = default, bool? certificateisVerified = default, string certificatepurpose = default, DateTime? certificatecreated = default, DateTime? certificatelastUpdated = default, bool? certificatehasPrivateKey = default, string certificatenonce = default, System.Threading.CancellationToken cancellationToken = default);
static member GenerateVerificationCodeAsync : Microsoft.Azure.Management.DeviceProvisioningServices.IDpsCertificateOperations * string * string * string * string * string * byte[] * Nullable<bool> * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DeviceProvisioningServices.Models.VerificationCodeResponse>
Parameters
- operations
- IDpsCertificateOperations
The operations group for this extension method.
- certificateName
- String
The mandatory logical name of the certificate, that the provisioning service uses to access.
- ifMatch
- String
ETag of the certificate. This is required to update an existing certificate, and ignored while creating a brand new certificate.
- resourceGroupName
- String
name of resource group.
- provisioningServiceName
- String
Name of provisioning service.
- certificatename
- String
Common Name for the certificate.
- certificaterawBytes
- Byte[]
Raw data of certificate.
Indicates if the certificate has been verified by owner of the private key.
- certificatepurpose
- String
Description mentioning the purpose of the certificate. Possible values include: 'clientAuthentication', 'serverAuthentication'
- certificatenonce
- String
Random number generated to indicate Proof of Possession.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기