Share via


Microsoft.Portal tenantConfigurations 2022-12-01-preview

Bicep resource definition

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

resource symbolicname 'Microsoft.Portal/tenantConfigurations@2022-12-01-preview' = {
  scope: resourceSymbolicName or scope
  name: 'string'
  properties: {
    enforcePrivateMarkdownStorage: bool
  }
}

Property Values

Microsoft.Portal/tenantConfigurations

Name Description Value
name The resource name string

Constraints:
Pattern = ^(?!con$|prn$|aux$|nul$|com[1-9]$)(?!.*[._-]{2,})[a-zA-Z0-9]([a-zA-Z0-9-._]*[a-zA-Z0-9])?$ (required)
properties The resource-specific properties for this resource. ConfigurationProperties
scope Use when creating a resource at a scope that is different than the deployment scope. Set this property to the symbolic name of a resource to apply the extension resource.

ConfigurationProperties

Name Description Value
enforcePrivateMarkdownStorage When flag is set to true Markdown tile will require external storage configuration (URI). The inline content configuration will be prohibited. bool

ARM template resource definition

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

{
  "type": "Microsoft.Portal/tenantConfigurations",
  "apiVersion": "2022-12-01-preview",
  "name": "string",
  "properties": {
    "enforcePrivateMarkdownStorage": "bool"
  }
}

Property Values

Microsoft.Portal/tenantConfigurations

Name Description Value
apiVersion The api version '2022-12-01-preview'
name The resource name string

Constraints:
Pattern = ^(?!con$|prn$|aux$|nul$|com[1-9]$)(?!.*[._-]{2,})[a-zA-Z0-9]([a-zA-Z0-9-._]*[a-zA-Z0-9])?$ (required)
properties The resource-specific properties for this resource. ConfigurationProperties
type The resource type 'Microsoft.Portal/tenantConfigurations'

ConfigurationProperties

Name Description Value
enforcePrivateMarkdownStorage When flag is set to true Markdown tile will require external storage configuration (URI). The inline content configuration will be prohibited. bool

Usage Examples

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Portal/tenantConfigurations@2022-12-01-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      enforcePrivateMarkdownStorage = bool
    }
  }
}

Property Values

Microsoft.Portal/tenantConfigurations

Name Description Value
name The resource name string

Constraints:
Pattern = ^(?!con$|prn$|aux$|nul$|com[1-9]$)(?!.*[._-]{2,})[a-zA-Z0-9]([a-zA-Z0-9-._]*[a-zA-Z0-9])?$ (required)
parent_id The ID of the resource to apply this extension resource to. string (required)
properties The resource-specific properties for this resource. ConfigurationProperties
type The resource type "Microsoft.Portal/tenantConfigurations@2022-12-01-preview"

ConfigurationProperties

Name Description Value
enforcePrivateMarkdownStorage When flag is set to true Markdown tile will require external storage configuration (URI). The inline content configuration will be prohibited. bool