Microsoft.Batch batchAccounts/certificates 2018-12-01

Bicep resource definition

The batchAccounts/certificates resource type can be deployed to:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Batch/batchAccounts/certificates resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Batch/batchAccounts/certificates@2018-12-01' = {
  name: 'string'
  parent: resourceSymbolicName
  properties: {
    data: 'string'
    format: 'string'
    password: 'string'
    thumbprint: 'string'
    thumbprintAlgorithm: 'string'
  }
}

Property values

batchAccounts/certificates

Name Description Value
name The resource name

See how to set names and types for child resources in Bicep.
string (required)

Character limit: 5-45

Valid characters:
Alphanumerics, underscores, and hyphens.
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: batchAccounts
properties The properties associated with the certificate. CertificateCreateOrUpdatePropertiesOrCertificateProp...

CertificateCreateOrUpdatePropertiesOrCertificateProperties

Name Description Value
data The maximum size is 10KB. string (required)
format The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. 'Cer'
'Pfx'
password This is required if the certificate format is pfx and must be omitted if the certificate format is cer. string
thumbprint This must match the thumbprint from the name. string
thumbprintAlgorithm This must match the first portion of the certificate name. Currently required to be 'SHA1'. string

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

ARM template resource definition

The batchAccounts/certificates resource type can be deployed to:

For a list of changed properties in each API version, see change log.

Resource format

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

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

Property values

batchAccounts/certificates

Name Description Value
type The resource type 'Microsoft.Batch/batchAccounts/certificates'
apiVersion The resource api version '2018-12-01'
name The resource name

See how to set names and types for child resources in JSON ARM templates.
string (required)

Character limit: 5-45

Valid characters:
Alphanumerics, underscores, and hyphens.
properties The properties associated with the certificate. CertificateCreateOrUpdatePropertiesOrCertificateProp...

CertificateCreateOrUpdatePropertiesOrCertificateProperties

Name Description Value
data The maximum size is 10KB. string (required)
format The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. 'Cer'
'Pfx'
password This is required if the certificate format is pfx and must be omitted if the certificate format is cer. string
thumbprint This must match the thumbprint from the name. string
thumbprintAlgorithm This must match the first portion of the certificate name. Currently required to be 'SHA1'. string

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

Terraform (AzAPI provider) resource definition

The batchAccounts/certificates resource type can be deployed to:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Batch/batchAccounts/certificates resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Batch/batchAccounts/certificates@2018-12-01"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      data = "string"
      format = "string"
      password = "string"
      thumbprint = "string"
      thumbprintAlgorithm = "string"
    }
  })
}

Property values

batchAccounts/certificates

Name Description Value
type The resource type "Microsoft.Batch/batchAccounts/certificates@2018-12-01"
name The resource name string (required)

Character limit: 5-45

Valid characters:
Alphanumerics, underscores, and hyphens.
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: batchAccounts
properties The properties associated with the certificate. CertificateCreateOrUpdatePropertiesOrCertificateProp...

CertificateCreateOrUpdatePropertiesOrCertificateProperties

Name Description Value
data The maximum size is 10KB. string (required)
format The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. "Cer"
"Pfx"
password This is required if the certificate format is pfx and must be omitted if the certificate format is cer. string
thumbprint This must match the thumbprint from the name. string
thumbprintAlgorithm This must match the first portion of the certificate name. Currently required to be 'SHA1'. string