Microsoft.Web certificates 2015-08-01
Article 10/25/2024
1 contributor
Feedback
In this article
Bicep resource definition
The certificates resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log .
To create a Microsoft.Web/certificates resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Web/certificates@2015-08-01' = {
kind: 'string'
location: 'string'
name: 'string'
properties: {
cerBlob: 'string'
expirationDate: 'string'
friendlyName: 'string'
hostingEnvironmentProfile: {
id: 'string'
name: 'string'
type: 'string'
}
hostNames: [
'string'
]
issueDate: 'string'
issuer: 'string'
password: 'string'
pfxBlob: 'string'
publicKeyHash: 'string'
selfLink: 'string'
siteName: 'string'
subjectName: 'string'
thumbprint: 'string'
valid: bool
}
tags: {
{customized property}: 'string'
}
}
Property values
CertificateProperties
Name
Description
Value
cerBlob
Raw bytes of .cer file
string
expirationDate
Certificate expiration date
string
friendlyName
Friendly name of the certificate
string
hostingEnvironmentProfile
Specification for the hosting environment (App Service Environment) to use for the certificate
HostingEnvironmentProfile
hostNames
Host names the certificate applies to
string[]
issueDate
Certificate issue Date
string
issuer
Certificate issuer
string
password
Certificate password
string
pfxBlob
Pfx blob
string
publicKeyHash
Public key hash
string
selfLink
Self link
string
siteName
App name
string
subjectName
Subject name of the certificate
string
thumbprint
Certificate thumbprint
string
valid
Is the certificate valid?
bool
HostingEnvironmentProfile
Name
Description
Value
id
Resource id of the hostingEnvironment (App Service Environment)
string
name
Name of the hostingEnvironment (App Service Environment) (read only)
string
type
Resource type of the hostingEnvironment (App Service Environment) (read only)
string
Microsoft.Web/certificates
Name
Description
Value
kind
Kind of resource
string
location
Resource Location
string (required)
name
The resource name
string (required)
properties
CertificateProperties
tags
Resource tags
Dictionary of tag names and values. See Tags in templates
ARM template resource definition
The certificates resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log .
To create a Microsoft.Web/certificates resource, add the following JSON to your template.
{
"type": "Microsoft.Web/certificates",
"apiVersion": "2015-08-01",
"name": "string",
"kind": "string",
"location": "string",
"properties": {
"cerBlob": "string",
"expirationDate": "string",
"friendlyName": "string",
"hostingEnvironmentProfile": {
"id": "string",
"name": "string",
"type": "string"
},
"hostNames": [ "string" ],
"issueDate": "string",
"issuer": "string",
"password": "string",
"pfxBlob": "string",
"publicKeyHash": "string",
"selfLink": "string",
"siteName": "string",
"subjectName": "string",
"thumbprint": "string",
"valid": "bool"
},
"tags": {
"{customized property}": "string"
}
}
Property values
CertificateProperties
Name
Description
Value
cerBlob
Raw bytes of .cer file
string
expirationDate
Certificate expiration date
string
friendlyName
Friendly name of the certificate
string
hostingEnvironmentProfile
Specification for the hosting environment (App Service Environment) to use for the certificate
HostingEnvironmentProfile
hostNames
Host names the certificate applies to
string[]
issueDate
Certificate issue Date
string
issuer
Certificate issuer
string
password
Certificate password
string
pfxBlob
Pfx blob
string
publicKeyHash
Public key hash
string
selfLink
Self link
string
siteName
App name
string
subjectName
Subject name of the certificate
string
thumbprint
Certificate thumbprint
string
valid
Is the certificate valid?
bool
HostingEnvironmentProfile
Name
Description
Value
id
Resource id of the hostingEnvironment (App Service Environment)
string
name
Name of the hostingEnvironment (App Service Environment) (read only)
string
type
Resource type of the hostingEnvironment (App Service Environment) (read only)
string
Microsoft.Web/certificates
Name
Description
Value
apiVersion
The api version
'2015-08-01'
kind
Kind of resource
string
location
Resource Location
string (required)
name
The resource name
string (required)
properties
CertificateProperties
tags
Resource tags
Dictionary of tag names and values. See Tags in templates
type
The resource type
'Microsoft.Web/certificates'
Quickstart templates
The following quickstart templates deploy this resource type.
The certificates resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log .
To create a Microsoft.Web/certificates resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Web/certificates@2015-08-01"
name = "string"
kind = "string"
location = "string"
body = jsonencode({
properties = {
cerBlob = "string"
expirationDate = "string"
friendlyName = "string"
hostingEnvironmentProfile = {
id = "string"
name = "string"
type = "string"
}
hostNames = [
"string"
]
issueDate = "string"
issuer = "string"
password = "string"
pfxBlob = "string"
publicKeyHash = "string"
selfLink = "string"
siteName = "string"
subjectName = "string"
thumbprint = "string"
valid = bool
}
})
tags = {
{customized property} = "string"
}
}
Property values
CertificateProperties
Name
Description
Value
cerBlob
Raw bytes of .cer file
string
expirationDate
Certificate expiration date
string
friendlyName
Friendly name of the certificate
string
hostingEnvironmentProfile
Specification for the hosting environment (App Service Environment) to use for the certificate
HostingEnvironmentProfile
hostNames
Host names the certificate applies to
string[]
issueDate
Certificate issue Date
string
issuer
Certificate issuer
string
password
Certificate password
string
pfxBlob
Pfx blob
string
publicKeyHash
Public key hash
string
selfLink
Self link
string
siteName
App name
string
subjectName
Subject name of the certificate
string
thumbprint
Certificate thumbprint
string
valid
Is the certificate valid?
bool
HostingEnvironmentProfile
Name
Description
Value
id
Resource id of the hostingEnvironment (App Service Environment)
string
name
Name of the hostingEnvironment (App Service Environment) (read only)
string
type
Resource type of the hostingEnvironment (App Service Environment) (read only)
string
Microsoft.Web/certificates
Name
Description
Value
kind
Kind of resource
string
location
Resource Location
string (required)
name
The resource name
string (required)
properties
CertificateProperties
tags
Resource tags
Dictionary of tag names and values.
type
The resource type
"Microsoft.Web/certificates@2015-08-01"