Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The csrs 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.Web/csrs resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Web/csrs@2015-08-01' = {
kind: 'string'
location: 'string'
name: 'string'
properties: {
csrString: 'string'
distinguishedName: 'string'
hostingEnvironment: 'string'
name: 'string'
password: 'string'
pfxBlob: 'string'
publicKeyHash: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.Web/csrs
Name | Description | Value |
---|---|---|
kind | Kind of resource | string |
location | Resource Location | string (required) |
name | The resource name | string (required) |
properties | CsrProperties | |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
CsrProperties
Name | Description | Value |
---|---|---|
csrString | Actual CSR string created | string |
distinguishedName | Distinguished name of certificate to be created | string |
hostingEnvironment | Hosting environment | string |
name | Name used to locate CSR object | string |
password | PFX password | string |
pfxBlob | PFX certificate of created certificate | string |
publicKeyHash | Hash of the certificates public key | string |
ResourceTags
Name | Description | Value |
---|
ARM template resource definition
The csrs 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.Web/csrs resource, add the following JSON to your template.
{
"type": "Microsoft.Web/csrs",
"apiVersion": "2015-08-01",
"name": "string",
"kind": "string",
"location": "string",
"properties": {
"csrString": "string",
"distinguishedName": "string",
"hostingEnvironment": "string",
"name": "string",
"password": "string",
"pfxBlob": "string",
"publicKeyHash": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.Web/csrs
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 | CsrProperties | |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.Web/csrs' |
CsrProperties
Name | Description | Value |
---|---|---|
csrString | Actual CSR string created | string |
distinguishedName | Distinguished name of certificate to be created | string |
hostingEnvironment | Hosting environment | string |
name | Name used to locate CSR object | string |
password | PFX password | string |
pfxBlob | PFX certificate of created certificate | string |
publicKeyHash | Hash of the certificates public key | string |
ResourceTags
Name | Description | Value |
---|
Usage Examples
Terraform (AzAPI provider) resource definition
The csrs 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.Web/csrs resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Web/csrs@2015-08-01"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
kind = "string"
properties = {
csrString = "string"
distinguishedName = "string"
hostingEnvironment = "string"
name = "string"
password = "string"
pfxBlob = "string"
publicKeyHash = "string"
}
}
}
Property Values
Microsoft.Web/csrs
Name | Description | Value |
---|---|---|
kind | Kind of resource | string |
location | Resource Location | string (required) |
name | The resource name | string (required) |
properties | CsrProperties | |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.Web/csrs@2015-08-01" |
CsrProperties
Name | Description | Value |
---|---|---|
csrString | Actual CSR string created | string |
distinguishedName | Distinguished name of certificate to be created | string |
hostingEnvironment | Hosting environment | string |
name | Name used to locate CSR object | string |
password | PFX password | string |
pfxBlob | PFX certificate of created certificate | string |
publicKeyHash | Hash of the certificates public key | string |
ResourceTags
Name | Description | Value |
---|