Microsoft.Web sites/slots/publicCertificates

Template format

To create a Microsoft.Web/sites/slots/publicCertificates resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.Web/sites/slots/publicCertificates",
  "apiVersion": "2020-12-01",
  "kind": "string",
  "properties": {
    "blob": [
      "integer"
    ],
    "publicCertificateLocation": "string"
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Web/sites/slots/publicCertificates object

Note

In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

Name Type Required Value
name string Yes Public certificate name.
type enum Yes For JSON -publicCertificates
-or-
Microsoft.Web/sites/slots/publicCertificates

See Set name and type for child resources.
apiVersion enum Yes For JSON - 2020-12-01
kind string No Kind of resource.
properties object Yes PublicCertificate resource specific properties - PublicCertificateProperties object

PublicCertificateProperties object

Name Type Required Value
blob array No Public Certificate byte array - integer
publicCertificateLocation enum No Public Certificate Location. - CurrentUserMy, LocalMachineMy, Unknown