Microsoft.AppPlatform Spring/monitoringSettings 2020-07-01

Bicep resource definition

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

resource symbolicname 'Microsoft.AppPlatform/Spring/monitoringSettings@2020-07-01' = {
  name: 'default'
  parent: resourceSymbolicName
  properties: {
    appInsightsInstrumentationKey: 'string'
    error: {
      code: 'string'
      message: 'string'
    }
    traceEnabled: bool
  }
}

Property values

Spring/monitoringSettings

Name Description Value
name The resource name

See how to set names and types for child resources in Bicep.
'default'
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: Spring
properties Properties of the Monitoring Setting resource MonitoringSettingProperties

MonitoringSettingProperties

Name Description Value
appInsightsInstrumentationKey Target application insight instrumentation key string
error Error when apply Monitoring Setting changes. Error
traceEnabled Indicates whether enable the trace functionality bool

Error

Name Description Value
code The code of error. string
message The message of error. string

ARM template resource definition

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

{
  "type": "Microsoft.AppPlatform/Spring/monitoringSettings",
  "apiVersion": "2020-07-01",
  "name": "default",
  "properties": {
    "appInsightsInstrumentationKey": "string",
    "error": {
      "code": "string",
      "message": "string"
    },
    "traceEnabled": "bool"
  }
}

Property values

Spring/monitoringSettings

Name Description Value
type The resource type 'Microsoft.AppPlatform/Spring/monitoringSettings'
apiVersion The resource api version '2020-07-01'
name The resource name

See how to set names and types for child resources in JSON ARM templates.
'default'
properties Properties of the Monitoring Setting resource MonitoringSettingProperties

MonitoringSettingProperties

Name Description Value
appInsightsInstrumentationKey Target application insight instrumentation key string
error Error when apply Monitoring Setting changes. Error
traceEnabled Indicates whether enable the trace functionality bool

Error

Name Description Value
code The code of error. string
message The message of error. string

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.AppPlatform/Spring/monitoringSettings@2020-07-01"
  name = "default"
  parent_id = "string"
  body = jsonencode({
    properties = {
      appInsightsInstrumentationKey = "string"
      error = {
        code = "string"
        message = "string"
      }
      traceEnabled = bool
    }
  })
}

Property values

Spring/monitoringSettings

Name Description Value
type The resource type "Microsoft.AppPlatform/Spring/monitoringSettings@2020-07-01"
name The resource name "default"
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: Spring
properties Properties of the Monitoring Setting resource MonitoringSettingProperties

MonitoringSettingProperties

Name Description Value
appInsightsInstrumentationKey Target application insight instrumentation key string
error Error when apply Monitoring Setting changes. Error
traceEnabled Indicates whether enable the trace functionality bool

Error

Name Description Value
code The code of error. string
message The message of error. string