Microsoft.Monitor slis 2025-03-01-preview

Bicep resource definition

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

resource symbolicname 'Microsoft.Monitor/slis@2025-03-01-preview' = {
  scope: resourceSymbolicName or scope
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  name: 'string'
  properties: {
    baselineProperties: {
      baseline: {
        evaluationCalculationType: 'string'
        evaluationPeriodDays: int
        value: int
      }
    }
    category: 'string'
    description: 'string'
    destinationAmwAccounts: [
      {
        identity: 'string'
        resourceId: 'string'
      }
    ]
    enableAlert: bool
    evaluationType: 'string'
    sliProperties: {
      goodSignals: {
        signalFormula: 'string'
        signalSources: [
          {
            filters: [
              {
                dimensionName: 'string'
                operator: 'string'
                samplingType: 'string'
                scalarFunction: 'string'
                value: 'string'
              }
            ]
            metricName: 'string'
            metricNamespace: 'string'
            signalSourceId: 'string'
            sourceAmwAccountManagedIdentity: 'string'
            sourceAmwAccountResourceId: 'string'
            spatialAggregation: {
              dimensions: [
                'string'
              ]
              type: 'string'
            }
            temporalAggregation: {
              type: 'string'
              windowSizeMinutes: int
            }
          }
        ]
      }
      signals: {
        signalFormula: 'string'
        signalSources: [
          {
            filters: [
              {
                dimensionName: 'string'
                operator: 'string'
                samplingType: 'string'
                scalarFunction: 'string'
                value: 'string'
              }
            ]
            metricName: 'string'
            metricNamespace: 'string'
            signalSourceId: 'string'
            sourceAmwAccountManagedIdentity: 'string'
            sourceAmwAccountResourceId: 'string'
            spatialAggregation: {
              dimensions: [
                'string'
              ]
              type: 'string'
            }
            temporalAggregation: {
              type: 'string'
              windowSizeMinutes: int
            }
          }
        ]
      }
      totalSignals: {
        signalFormula: 'string'
        signalSources: [
          {
            filters: [
              {
                dimensionName: 'string'
                operator: 'string'
                samplingType: 'string'
                scalarFunction: 'string'
                value: 'string'
              }
            ]
            metricName: 'string'
            metricNamespace: 'string'
            signalSourceId: 'string'
            sourceAmwAccountManagedIdentity: 'string'
            sourceAmwAccountResourceId: 'string'
            spatialAggregation: {
              dimensions: [
                'string'
              ]
              type: 'string'
            }
            temporalAggregation: {
              type: 'string'
              windowSizeMinutes: int
            }
          }
        ]
      }
      windowUptimeCriteria: {
        comparator: 'string'
        target: int
      }
    }
  }
}

Property Values

Microsoft.Monitor/slis

Name Description Value
identity The managed service identities assigned to this resource. ManagedServiceIdentity
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9][a-zA-Z0-9_()~-]{2,63}$ (required)
properties The resource-specific properties for this resource. SliResource
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.

AmwAccount

Name Description Value
identity The ARM resource ID of the managed identity with access to the source account. string (required)
resourceId The ARM resource ID of the account where metrics are emitted. string (required)

Baseline

Name Description Value
evaluationCalculationType Specifies how evaluation is calculated, either based on calendar days or a rolling window. 'CalendarDays'
'RollingDays' (required)
evaluationPeriodDays The time frame (in days) used for SLI evaluation. int

Constraints:
Min value = 1
Max value = 90 (required)
value The user-defined or Azure-defined target value used for comparison against the SLI value. int

Constraints:
Min value = 0
Max value = 100 (required)

BaselineProperties

Name Description Value
baseline Defines the baseline target, which is compared against the SLI value to determine compliance. Baseline (required)

Condition

Name Description Value
dimensionName Dimension name used in filtering. string
operator Operator used in the filtering condition. '!='
'!contains'
'!in'
'!startswith'
'<'
'<='
'=='
'>'
'>='
'@in'
'contains'
'startswith' (required)
samplingType Defines the sampling type. 'avg'
'max'
'min'
'sum'
scalarFunction Scalar function applied for filtering. 'avg'
'max'
'min'
'sum'
value Value used in filtering. string (required)

ManagedServiceIdentity

Name Description Value
type Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned' (required)
userAssignedIdentities The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. UserAssignedIdentities

Signal

Name Description Value
signalFormula Mathematical formula used to combine multiple metrics. string (required)
signalSources Sources of metrics used for SLIs. SignalSource[] (required)

SignalSource

Name Description Value
filters Filters applied to modify signal values. Condition[] (required)
metricName Name of the metric. string (required)
metricNamespace Namespace of the metric. string (required)
signalSourceId Unique identifier for the signal source. string (required)
sourceAmwAccountManagedIdentity Managed identity for authenticating the signal source. string (required)
sourceAmwAccountResourceId Resource ID of the source AMW account. string (required)
spatialAggregation Defines how measurements are aggregated across multiple time series. SpatialAggregation (required)
temporalAggregation Defines how measurements are aggregated over a specific time window within the same time series. TemporalAggregation (required)

SliProperties

Name Description Value
goodSignals Represents good signals used in request-based SLI calculations. Signal
signals Signals used for window-based SLI calculations. Signal
totalSignals Represents total signals used in request-based SLI calculations. Signal
windowUptimeCriteria Defines the uptime criteria for window-based SLIs. WindowUptimeCriteria

SliResource

Name Description Value
baselineProperties Defines the SLO baseline associated with the SLI. BaselineProperties (required)
category Specifies the category of the SLI, used to classify signals such as Availability and Latency. 'Availability'
'Latency' (required)
description A user-provided description of the SLI, with a maximum length of 1000 characters. string

Constraints:
Pattern = ^[\s\S]{0,1000}$ (required)
destinationAmwAccounts Destination AMW accounts. AmwAccount[] (required)
enableAlert A flag to determine whether alert is enabled. bool (required)
evaluationType Determines how the SLI is evaluated—either based on request counts or time windows. 'RequestBased'
'WindowBased' (required)
sliProperties Defines the SLI properties associated with the SLI. SliProperties (required)

SpatialAggregation

Name Description Value
dimensions Dimensions considered for spatial aggregation. string[] (required)
type Type of spatial aggregation. 'Average'
'Count'
'Max'
'Min'
'Sum' (required)

TemporalAggregation

Name Description Value
type Type of temporal aggregation. 'Average'
'Delta'
'IDelta'
'Increase'
'IRate'
'Max'
'Min'
'Rate'
'Sum' (required)
windowSizeMinutes Time window size for aggregation, in minutes. int

UserAssignedIdentities

Name Description Value

UserAssignedIdentity

Name Description Value

WindowUptimeCriteria

Name Description Value
comparator Comparison operator used for uptime evaluation. '<'
'<='
'>'
'>=' (required)
target Threshold value used to determine uptime. int (required)

ARM template resource definition

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

{
  "type": "Microsoft.Monitor/slis",
  "apiVersion": "2025-03-01-preview",
  "name": "string",
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {
      }
    }
  },
  "properties": {
    "baselineProperties": {
      "baseline": {
        "evaluationCalculationType": "string",
        "evaluationPeriodDays": "int",
        "value": "int"
      }
    },
    "category": "string",
    "description": "string",
    "destinationAmwAccounts": [
      {
        "identity": "string",
        "resourceId": "string"
      }
    ],
    "enableAlert": "bool",
    "evaluationType": "string",
    "sliProperties": {
      "goodSignals": {
        "signalFormula": "string",
        "signalSources": [
          {
            "filters": [
              {
                "dimensionName": "string",
                "operator": "string",
                "samplingType": "string",
                "scalarFunction": "string",
                "value": "string"
              }
            ],
            "metricName": "string",
            "metricNamespace": "string",
            "signalSourceId": "string",
            "sourceAmwAccountManagedIdentity": "string",
            "sourceAmwAccountResourceId": "string",
            "spatialAggregation": {
              "dimensions": [ "string" ],
              "type": "string"
            },
            "temporalAggregation": {
              "type": "string",
              "windowSizeMinutes": "int"
            }
          }
        ]
      },
      "signals": {
        "signalFormula": "string",
        "signalSources": [
          {
            "filters": [
              {
                "dimensionName": "string",
                "operator": "string",
                "samplingType": "string",
                "scalarFunction": "string",
                "value": "string"
              }
            ],
            "metricName": "string",
            "metricNamespace": "string",
            "signalSourceId": "string",
            "sourceAmwAccountManagedIdentity": "string",
            "sourceAmwAccountResourceId": "string",
            "spatialAggregation": {
              "dimensions": [ "string" ],
              "type": "string"
            },
            "temporalAggregation": {
              "type": "string",
              "windowSizeMinutes": "int"
            }
          }
        ]
      },
      "totalSignals": {
        "signalFormula": "string",
        "signalSources": [
          {
            "filters": [
              {
                "dimensionName": "string",
                "operator": "string",
                "samplingType": "string",
                "scalarFunction": "string",
                "value": "string"
              }
            ],
            "metricName": "string",
            "metricNamespace": "string",
            "signalSourceId": "string",
            "sourceAmwAccountManagedIdentity": "string",
            "sourceAmwAccountResourceId": "string",
            "spatialAggregation": {
              "dimensions": [ "string" ],
              "type": "string"
            },
            "temporalAggregation": {
              "type": "string",
              "windowSizeMinutes": "int"
            }
          }
        ]
      },
      "windowUptimeCriteria": {
        "comparator": "string",
        "target": "int"
      }
    }
  }
}

Property Values

Microsoft.Monitor/slis

Name Description Value
apiVersion The api version '2025-03-01-preview'
identity The managed service identities assigned to this resource. ManagedServiceIdentity
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9][a-zA-Z0-9_()~-]{2,63}$ (required)
properties The resource-specific properties for this resource. SliResource
type The resource type 'Microsoft.Monitor/slis'

AmwAccount

Name Description Value
identity The ARM resource ID of the managed identity with access to the source account. string (required)
resourceId The ARM resource ID of the account where metrics are emitted. string (required)

Baseline

Name Description Value
evaluationCalculationType Specifies how evaluation is calculated, either based on calendar days or a rolling window. 'CalendarDays'
'RollingDays' (required)
evaluationPeriodDays The time frame (in days) used for SLI evaluation. int

Constraints:
Min value = 1
Max value = 90 (required)
value The user-defined or Azure-defined target value used for comparison against the SLI value. int

Constraints:
Min value = 0
Max value = 100 (required)

BaselineProperties

Name Description Value
baseline Defines the baseline target, which is compared against the SLI value to determine compliance. Baseline (required)

Condition

Name Description Value
dimensionName Dimension name used in filtering. string
operator Operator used in the filtering condition. '!='
'!contains'
'!in'
'!startswith'
'<'
'<='
'=='
'>'
'>='
'@in'
'contains'
'startswith' (required)
samplingType Defines the sampling type. 'avg'
'max'
'min'
'sum'
scalarFunction Scalar function applied for filtering. 'avg'
'max'
'min'
'sum'
value Value used in filtering. string (required)

ManagedServiceIdentity

Name Description Value
type Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned' (required)
userAssignedIdentities The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. UserAssignedIdentities

Signal

Name Description Value
signalFormula Mathematical formula used to combine multiple metrics. string (required)
signalSources Sources of metrics used for SLIs. SignalSource[] (required)

SignalSource

Name Description Value
filters Filters applied to modify signal values. Condition[] (required)
metricName Name of the metric. string (required)
metricNamespace Namespace of the metric. string (required)
signalSourceId Unique identifier for the signal source. string (required)
sourceAmwAccountManagedIdentity Managed identity for authenticating the signal source. string (required)
sourceAmwAccountResourceId Resource ID of the source AMW account. string (required)
spatialAggregation Defines how measurements are aggregated across multiple time series. SpatialAggregation (required)
temporalAggregation Defines how measurements are aggregated over a specific time window within the same time series. TemporalAggregation (required)

SliProperties

Name Description Value
goodSignals Represents good signals used in request-based SLI calculations. Signal
signals Signals used for window-based SLI calculations. Signal
totalSignals Represents total signals used in request-based SLI calculations. Signal
windowUptimeCriteria Defines the uptime criteria for window-based SLIs. WindowUptimeCriteria

SliResource

Name Description Value
baselineProperties Defines the SLO baseline associated with the SLI. BaselineProperties (required)
category Specifies the category of the SLI, used to classify signals such as Availability and Latency. 'Availability'
'Latency' (required)
description A user-provided description of the SLI, with a maximum length of 1000 characters. string

Constraints:
Pattern = ^[\s\S]{0,1000}$ (required)
destinationAmwAccounts Destination AMW accounts. AmwAccount[] (required)
enableAlert A flag to determine whether alert is enabled. bool (required)
evaluationType Determines how the SLI is evaluated—either based on request counts or time windows. 'RequestBased'
'WindowBased' (required)
sliProperties Defines the SLI properties associated with the SLI. SliProperties (required)

SpatialAggregation

Name Description Value
dimensions Dimensions considered for spatial aggregation. string[] (required)
type Type of spatial aggregation. 'Average'
'Count'
'Max'
'Min'
'Sum' (required)

TemporalAggregation

Name Description Value
type Type of temporal aggregation. 'Average'
'Delta'
'IDelta'
'Increase'
'IRate'
'Max'
'Min'
'Rate'
'Sum' (required)
windowSizeMinutes Time window size for aggregation, in minutes. int

UserAssignedIdentities

Name Description Value

UserAssignedIdentity

Name Description Value

WindowUptimeCriteria

Name Description Value
comparator Comparison operator used for uptime evaluation. '<'
'<='
'>'
'>=' (required)
target Threshold value used to determine uptime. int (required)

Usage Examples

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Monitor/slis@2025-03-01-preview"
  name = "string"
  parent_id = "string"
  identity {
    type = "string"
    identity_ids = [
      "string"
    ]
  }
  body = {
    properties = {
      baselineProperties = {
        baseline = {
          evaluationCalculationType = "string"
          evaluationPeriodDays = int
          value = int
        }
      }
      category = "string"
      description = "string"
      destinationAmwAccounts = [
        {
          identity = "string"
          resourceId = "string"
        }
      ]
      enableAlert = bool
      evaluationType = "string"
      sliProperties = {
        goodSignals = {
          signalFormula = "string"
          signalSources = [
            {
              filters = [
                {
                  dimensionName = "string"
                  operator = "string"
                  samplingType = "string"
                  scalarFunction = "string"
                  value = "string"
                }
              ]
              metricName = "string"
              metricNamespace = "string"
              signalSourceId = "string"
              sourceAmwAccountManagedIdentity = "string"
              sourceAmwAccountResourceId = "string"
              spatialAggregation = {
                dimensions = [
                  "string"
                ]
                type = "string"
              }
              temporalAggregation = {
                type = "string"
                windowSizeMinutes = int
              }
            }
          ]
        }
        signals = {
          signalFormula = "string"
          signalSources = [
            {
              filters = [
                {
                  dimensionName = "string"
                  operator = "string"
                  samplingType = "string"
                  scalarFunction = "string"
                  value = "string"
                }
              ]
              metricName = "string"
              metricNamespace = "string"
              signalSourceId = "string"
              sourceAmwAccountManagedIdentity = "string"
              sourceAmwAccountResourceId = "string"
              spatialAggregation = {
                dimensions = [
                  "string"
                ]
                type = "string"
              }
              temporalAggregation = {
                type = "string"
                windowSizeMinutes = int
              }
            }
          ]
        }
        totalSignals = {
          signalFormula = "string"
          signalSources = [
            {
              filters = [
                {
                  dimensionName = "string"
                  operator = "string"
                  samplingType = "string"
                  scalarFunction = "string"
                  value = "string"
                }
              ]
              metricName = "string"
              metricNamespace = "string"
              signalSourceId = "string"
              sourceAmwAccountManagedIdentity = "string"
              sourceAmwAccountResourceId = "string"
              spatialAggregation = {
                dimensions = [
                  "string"
                ]
                type = "string"
              }
              temporalAggregation = {
                type = "string"
                windowSizeMinutes = int
              }
            }
          ]
        }
        windowUptimeCriteria = {
          comparator = "string"
          target = int
        }
      }
    }
  }
}

Property Values

Microsoft.Monitor/slis

Name Description Value
identity The managed service identities assigned to this resource. ManagedServiceIdentity
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9][a-zA-Z0-9_()~-]{2,63}$ (required)
parent_id The ID of the resource to apply this extension resource to. string (required)
properties The resource-specific properties for this resource. SliResource
type The resource type "Microsoft.Monitor/slis@2025-03-01-preview"

AmwAccount

Name Description Value
identity The ARM resource ID of the managed identity with access to the source account. string (required)
resourceId The ARM resource ID of the account where metrics are emitted. string (required)

Baseline

Name Description Value
evaluationCalculationType Specifies how evaluation is calculated, either based on calendar days or a rolling window. 'CalendarDays'
'RollingDays' (required)
evaluationPeriodDays The time frame (in days) used for SLI evaluation. int

Constraints:
Min value = 1
Max value = 90 (required)
value The user-defined or Azure-defined target value used for comparison against the SLI value. int

Constraints:
Min value = 0
Max value = 100 (required)

BaselineProperties

Name Description Value
baseline Defines the baseline target, which is compared against the SLI value to determine compliance. Baseline (required)

Condition

Name Description Value
dimensionName Dimension name used in filtering. string
operator Operator used in the filtering condition. '!='
'!contains'
'!in'
'!startswith'
'<'
'<='
'=='
'>'
'>='
'@in'
'contains'
'startswith' (required)
samplingType Defines the sampling type. 'avg'
'max'
'min'
'sum'
scalarFunction Scalar function applied for filtering. 'avg'
'max'
'min'
'sum'
value Value used in filtering. string (required)

ManagedServiceIdentity

Name Description Value
type Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned' (required)
userAssignedIdentities The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. UserAssignedIdentities

Signal

Name Description Value
signalFormula Mathematical formula used to combine multiple metrics. string (required)
signalSources Sources of metrics used for SLIs. SignalSource[] (required)

SignalSource

Name Description Value
filters Filters applied to modify signal values. Condition[] (required)
metricName Name of the metric. string (required)
metricNamespace Namespace of the metric. string (required)
signalSourceId Unique identifier for the signal source. string (required)
sourceAmwAccountManagedIdentity Managed identity for authenticating the signal source. string (required)
sourceAmwAccountResourceId Resource ID of the source AMW account. string (required)
spatialAggregation Defines how measurements are aggregated across multiple time series. SpatialAggregation (required)
temporalAggregation Defines how measurements are aggregated over a specific time window within the same time series. TemporalAggregation (required)

SliProperties

Name Description Value
goodSignals Represents good signals used in request-based SLI calculations. Signal
signals Signals used for window-based SLI calculations. Signal
totalSignals Represents total signals used in request-based SLI calculations. Signal
windowUptimeCriteria Defines the uptime criteria for window-based SLIs. WindowUptimeCriteria

SliResource

Name Description Value
baselineProperties Defines the SLO baseline associated with the SLI. BaselineProperties (required)
category Specifies the category of the SLI, used to classify signals such as Availability and Latency. 'Availability'
'Latency' (required)
description A user-provided description of the SLI, with a maximum length of 1000 characters. string

Constraints:
Pattern = ^[\s\S]{0,1000}$ (required)
destinationAmwAccounts Destination AMW accounts. AmwAccount[] (required)
enableAlert A flag to determine whether alert is enabled. bool (required)
evaluationType Determines how the SLI is evaluated—either based on request counts or time windows. 'RequestBased'
'WindowBased' (required)
sliProperties Defines the SLI properties associated with the SLI. SliProperties (required)

SpatialAggregation

Name Description Value
dimensions Dimensions considered for spatial aggregation. string[] (required)
type Type of spatial aggregation. 'Average'
'Count'
'Max'
'Min'
'Sum' (required)

TemporalAggregation

Name Description Value
type Type of temporal aggregation. 'Average'
'Delta'
'IDelta'
'Increase'
'IRate'
'Max'
'Min'
'Rate'
'Sum' (required)
windowSizeMinutes Time window size for aggregation, in minutes. int

UserAssignedIdentities

Name Description Value

UserAssignedIdentity

Name Description Value

WindowUptimeCriteria

Name Description Value
comparator Comparison operator used for uptime evaluation. '<'
'<='
'>'
'>=' (required)
target Threshold value used to determine uptime. int (required)