Microsoft.AppPlatform Spring/monitoringSettings 2020-07-01

The Spring/monitoringSettings resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.AppPlatform/Spring/monitoringSettings resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.AppPlatform/Spring/monitoringSettings@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

For Bicep, set this value in the resource declaration.
'Microsoft.AppPlatform/Spring/monitoringSettings'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2020-07-01'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
'default'
properties Monitoring Setting properties payload MonitoringSettingProperties

MonitoringSettingProperties

Name Description Value
appInsightsInstrumentationKey Target application insight instrumentation key string
error The error code compose of code and message. 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