Microsoft.Batch batchAccounts/certificates 2023-11-01
Bicep resource definition
The batchAccounts/certificates resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
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@2023-11-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... |
CertificateCreateOrUpdatePropertiesOrCertificateProp...
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 must not be specified if the certificate format is Cer. | string Constraints: Sensitive value. Pass in as a secure parameter. |
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 |
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 with operations that target:
- Resource groups - See resource group deployment commands
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": "2023-11-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 | '2023-11-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... |
CertificateCreateOrUpdatePropertiesOrCertificateProp...
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 must not be specified if the certificate format is Cer. | string Constraints: Sensitive value. Pass in as a secure parameter. |
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 |
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 with operations that target:
- 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@2023-11-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@2023-11-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... |
CertificateCreateOrUpdatePropertiesOrCertificateProp...
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 must not be specified if the certificate format is Cer. | string Constraints: Sensitive value. Pass in as a secure parameter. |
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 |