Microsoft.Web csrs 2015-08-01

Bicep resource definition

The csrs resource type can be deployed with operations that target:

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

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

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

ResourceTags

Name Description Value

ARM template resource definition

The csrs resource type can be deployed with operations that target:

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

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

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'

ResourceTags

Name Description Value

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"
  kind = "string"
  location = "string"
  body = jsonencode({
    properties = {
      csrString = "string"
      distinguishedName = "string"
      hostingEnvironment = "string"
      name = "string"
      password = "string"
      pfxBlob = "string"
      publicKeyHash = "string"
    }
  })
  tags = {
    {customized property} = "string"
  }
}

Property values

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

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"

ResourceTags

Name Description Value