v7

latestSwagger 2.0raw.githubusercontent.com2019-12-163581169.9 KB
Certificate

Creates a new certificate inside the specified account.

put/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}

Path parameters

resourceGroupNamestring required

The name of the resource group that contains the Batch account.

accountNamestring required

The name of the Batch account.

certificateNamestring required

The identifier for the certificate. This must be made up of algorithm and thumbprint separated by a dash, and must match the certificate data in the request. For example SHA1-a3d1c5.

subscriptionIdstring required

The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)

Query parameters

api-versionstring required

The API version to be used with the HTTP request.

Headers

If-Matchstring

The entity state (ETag) version of the certificate to update. A value of "*" can be used to apply the operation only if the certificate already exists. If omitted, this operation will always be applied.

If-None-Matchstring

Set to '*' to allow a new certificate to be created, but to prevent updating an existing certificate. Other values will be ignored.

Request body

idstring

The ID of the resource.

namestring

The name of the resource.

typestring

The type of the resource.

etagstring

The ETag of the resource, used for concurrency statements.

Response

The operation was successful. The response contains the certificate entity.

idstring

The ID of the resource.

namestring

The name of the resource.

typestring

The type of the resource.

etagstring

The ETag of the resource, used for concurrency statements.