Microsoft.AppPlatform Spring/monitoringSettings

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@2021-06-01-preview' = {
  name: 'default'
  properties: {
    appInsightsAgentVersions: {}
    appInsightsInstrumentationKey: 'string'
    appInsightsSamplingRate: int
    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.
'2021-06-01-preview'
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
appInsightsAgentVersions Application Insights agent versions properties payload ApplicationInsightsAgentVersions
appInsightsInstrumentationKey Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings string
appInsightsSamplingRate Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] int
error The error code compose of code and message. Error
traceEnabled Indicates whether enable the trace functionality, which will be deprecated since api version 2020-11-01-preview. Please leverage appInsightsInstrumentationKey to indicate if monitoringSettings enabled or not bool

ApplicationInsightsAgentVersions

This object doesn't contain any properties to set during deployment. All properties are ReadOnly.

Error

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