Microsoft.Web staticSites/config 2024-04-01

Bicep resource definition

The staticSites/config 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/staticSites/config resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Web/staticSites/config@2024-04-01' = {
  name: 'string'
  // For remaining properties, see microsoft.web/staticsites/config objects
}

microsoft.web/staticsites/config objects

Set the name property to specify the type of object.

For appsettings, use:

{
  kind: 'string'
  name: 'appsettings'
  properties: {
    {customized property}: 'string'
  }
}

For functionappsettings, use:

{
  kind: 'string'
  name: 'functionappsettings'
  properties: {
    {customized property}: 'string'
  }
}

Property values

microsoft.web/staticsites/config

Name Description Value
name Set to 'appsettings' for type Microsoft.Web/staticSites/config. Set to 'functionappsettings' for type Microsoft.Web/staticSites/config. 'appsettings'
'functionappsettings' (required)

Microsoft.Web/staticSites/config

Name Description Value
kind Kind of resource. string
name The resource name 'appsettings' (required)
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: staticSites
properties Settings. StringDictionaryProperties

Microsoft.Web/staticSites/config

Name Description Value
kind Kind of resource. string
name The resource name 'functionappsettings' (required)
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: staticSites
properties Settings. StringDictionaryProperties

StringDictionaryProperties

Name Description Value

StringDictionaryProperties

Name Description Value

ARM template resource definition

The staticSites/config 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/staticSites/config resource, add the following JSON to your template.

{
  "name": "string"
  // For remaining properties, see microsoft.web/staticsites/config objects
}

microsoft.web/staticsites/config objects

Set the name property to specify the type of object.

For appsettings, use:

{
  "kind": "string",
  "name": "appsettings",
  "properties": {
    "{customized property}": "string"
  }
}

For functionappsettings, use:

{
  "kind": "string",
  "name": "functionappsettings",
  "properties": {
    "{customized property}": "string"
  }
}

Property values

microsoft.web/staticsites/config

Name Description Value
name Set to 'appsettings' for type Microsoft.Web/staticSites/config. Set to 'functionappsettings' for type Microsoft.Web/staticSites/config. 'appsettings'
'functionappsettings' (required)

Microsoft.Web/staticSites/config

Name Description Value
apiVersion The api version '2024-04-01'
kind Kind of resource. string
name The resource name 'appsettings' (required)
properties Settings. StringDictionaryProperties
type The resource type 'Microsoft.Web/staticSites/config'

Microsoft.Web/staticSites/config

Name Description Value
apiVersion The api version '2024-04-01'
kind Kind of resource. string
name The resource name 'functionappsettings' (required)
properties Settings. StringDictionaryProperties
type The resource type 'Microsoft.Web/staticSites/config'

StringDictionaryProperties

Name Description Value

StringDictionaryProperties

Name Description Value

Terraform (AzAPI provider) resource definition

The staticSites/config 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/staticSites/config resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  name = "string"
  // For remaining properties, see microsoft.web/staticsites/config objects
}

microsoft.web/staticsites/config objects

Set the name property to specify the type of object.

For appsettings, use:

{
  kind = "string"
  name = "appsettings"
  properties = {
    {customized property} = "string"
  }
}

For functionappsettings, use:

{
  kind = "string"
  name = "functionappsettings"
  properties = {
    {customized property} = "string"
  }
}

Property values

microsoft.web/staticsites/config

Name Description Value
name Set to 'appsettings' for type Microsoft.Web/staticSites/config. Set to 'functionappsettings' for type Microsoft.Web/staticSites/config. 'appsettings'
'functionappsettings' (required)

Microsoft.Web/staticSites/config

Name Description Value
kind Kind of resource. string
name The resource name 'appsettings' (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: staticSites
properties Settings. StringDictionaryProperties
type The resource type "Microsoft.Web/staticSites/config@2024-04-01"

Microsoft.Web/staticSites/config

Name Description Value
kind Kind of resource. string
name The resource name 'functionappsettings' (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: staticSites
properties Settings. StringDictionaryProperties
type The resource type "Microsoft.Web/staticSites/config@2024-04-01"

StringDictionaryProperties

Name Description Value

StringDictionaryProperties

Name Description Value