Microsoft.Batch batchAccounts/certificates 2020-03-01

Template format

To create a Microsoft.Batch/batchAccounts/certificates resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.Batch/batchAccounts/certificates",
  "apiVersion": "2020-03-01",
  "properties": {
    "thumbprintAlgorithm": "string",
    "thumbprint": "string",
    "format": "string",
    "data": "string",
    "password": "string"
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Batch/batchAccounts/certificates object

Name Type Required Value
name string Yes 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.
type enum Yes certificates
-or-
Microsoft.Batch/batchAccounts/certificates

See Set name and type for child resources.
apiVersion enum Yes 2020-03-01
properties object Yes The properties associated with the certificate. - CertificateCreateOrUpdateProperties object

CertificateCreateOrUpdateProperties object

Name Type Required Value
thumbprintAlgorithm string No This must match the first portion of the certificate name. Currently required to be 'SHA1'.
thumbprint string No This must match the thumbprint from the name.
format enum No The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. - Pfx or Cer
data string Yes The maximum size is 10KB.
password string No This must not be specified if the certificate format is Cer.

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Existing Azure Batch Service with Pfx from Keyvault

Deploy to Azure
This template demostrates using Azure Batch service with pfx password certificate from keyvault