v4

latestSwagger 2.0raw.githubusercontent.com2019-05-31182460.5 KB
POST

Generate verification code for Proof of Possession.

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}/generateVerificationCode

Path parameters

certificateNamestring required

The mandatory logical name of the certificate, that the provisioning service uses to access.

subscriptionIdstring required

The subscription identifier.

resourceGroupNamestring required

name of resource group.

provisioningServiceNamestring required

Name of provisioning service.

Query parameters

certificate.namestring

Common Name for the certificate.

certificate.rawBytesstring byte

Raw data of certificate.

certificate.isVerifiedboolean

Indicates if the certificate has been verified by owner of the private key.

certificate.purpose'clientAuthentication' | 'serverAuthentication'

Description mentioning the purpose of the certificate.

certificate.createdstring date-time

Certificate creation time.

certificate.lastUpdatedstring date-time

Certificate last updated time.

certificate.hasPrivateKeyboolean

Indicates if the certificate contains private key.

certificate.noncestring

Random number generated to indicate Proof of Possession.

api-versionstring required

The version of the API.

Headers

If-Matchstring required

ETag of the certificate. This is required to update an existing certificate, and ignored while creating a brand new certificate.

Response

Generated verification code for that certificate is returned.

namestring

Name of certificate.

etagstring

Request etag.

idstring

The resource identifier.

typestring

The resource type.