Share via


Microsoft.Workloads monitors 2021-12-01-preview

Bicep resource definition

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

resource symbolicname 'Microsoft.Workloads/monitors@2021-12-01-preview' = {
  scope: resourceSymbolicName or scope
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  location: 'string'
  name: 'string'
  properties: {
    appLocation: 'string'
    logAnalyticsWorkspaceArmId: 'string'
    managedResourceGroupConfiguration: {
      name: 'string'
    }
    monitorSubnet: 'string'
    routingPreference: 'string'
    zoneRedundancyPreference: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.Workloads/monitors

Name Description Value
identity Managed service identity (user assigned identities) UserAssignedServiceIdentity
location The geo-location where the resource lives string (required)
name The resource name string (required)
properties SAP monitor properties MonitorProperties
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.
tags Resource tags Dictionary of tag names and values. See Tags in templates

ManagedRGConfiguration

Name Description Value
name Managed resource group name string

MonitorProperties

Name Description Value
appLocation The SAP monitor resources will be deployed in the SAP monitoring region. The subnet region should be same as the SAP monitoring region. string
logAnalyticsWorkspaceArmId The ARM ID of the Log Analytics Workspace that is used for SAP monitoring. string
managedResourceGroupConfiguration Managed resource group configuration ManagedRGConfiguration
monitorSubnet The subnet which the SAP monitor will be deployed in string
routingPreference Sets the routing preference of the SAP monitor. By default only RFC1918 traffic is routed to the customer VNET. 'Default'
'RouteAll'
zoneRedundancyPreference Sets the preference for zone redundancy on resources created for the SAP monitor. By default resources will be created which do not support zone redundancy. string

TrackedResourceTags

Name Description Value

UserAssignedIdentities

Name Description Value

UserAssignedIdentity

Name Description Value

UserAssignedServiceIdentity

Name Description Value
type Type of manage identity 'None'
'UserAssigned' (required)
userAssignedIdentities User assigned identities dictionary UserAssignedIdentities

ARM template resource definition

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

{
  "type": "Microsoft.Workloads/monitors",
  "apiVersion": "2021-12-01-preview",
  "name": "string",
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {
      }
    }
  },
  "location": "string",
  "properties": {
    "appLocation": "string",
    "logAnalyticsWorkspaceArmId": "string",
    "managedResourceGroupConfiguration": {
      "name": "string"
    },
    "monitorSubnet": "string",
    "routingPreference": "string",
    "zoneRedundancyPreference": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.Workloads/monitors

Name Description Value
apiVersion The api version '2021-12-01-preview'
identity Managed service identity (user assigned identities) UserAssignedServiceIdentity
location The geo-location where the resource lives string (required)
name The resource name string (required)
properties SAP monitor properties MonitorProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.Workloads/monitors'

ManagedRGConfiguration

Name Description Value
name Managed resource group name string

MonitorProperties

Name Description Value
appLocation The SAP monitor resources will be deployed in the SAP monitoring region. The subnet region should be same as the SAP monitoring region. string
logAnalyticsWorkspaceArmId The ARM ID of the Log Analytics Workspace that is used for SAP monitoring. string
managedResourceGroupConfiguration Managed resource group configuration ManagedRGConfiguration
monitorSubnet The subnet which the SAP monitor will be deployed in string
routingPreference Sets the routing preference of the SAP monitor. By default only RFC1918 traffic is routed to the customer VNET. 'Default'
'RouteAll'
zoneRedundancyPreference Sets the preference for zone redundancy on resources created for the SAP monitor. By default resources will be created which do not support zone redundancy. string

TrackedResourceTags

Name Description Value

UserAssignedIdentities

Name Description Value

UserAssignedIdentity

Name Description Value

UserAssignedServiceIdentity

Name Description Value
type Type of manage identity 'None'
'UserAssigned' (required)
userAssignedIdentities User assigned identities dictionary UserAssignedIdentities

Usage Examples

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Workloads/monitors@2021-12-01-preview"
  name = "string"
  parent_id = "string"
  identity {
    type = "string"
    identity_ids = [
      "string"
    ]
  }
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      appLocation = "string"
      logAnalyticsWorkspaceArmId = "string"
      managedResourceGroupConfiguration = {
        name = "string"
      }
      monitorSubnet = "string"
      routingPreference = "string"
      zoneRedundancyPreference = "string"
    }
  }
}

Property Values

Microsoft.Workloads/monitors

Name Description Value
identity Managed service identity (user assigned identities) UserAssignedServiceIdentity
location The geo-location where the resource lives string (required)
name The resource name string (required)
parent_id The ID of the resource to apply this extension resource to. string (required)
properties SAP monitor properties MonitorProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.Workloads/monitors@2021-12-01-preview"

ManagedRGConfiguration

Name Description Value
name Managed resource group name string

MonitorProperties

Name Description Value
appLocation The SAP monitor resources will be deployed in the SAP monitoring region. The subnet region should be same as the SAP monitoring region. string
logAnalyticsWorkspaceArmId The ARM ID of the Log Analytics Workspace that is used for SAP monitoring. string
managedResourceGroupConfiguration Managed resource group configuration ManagedRGConfiguration
monitorSubnet The subnet which the SAP monitor will be deployed in string
routingPreference Sets the routing preference of the SAP monitor. By default only RFC1918 traffic is routed to the customer VNET. 'Default'
'RouteAll'
zoneRedundancyPreference Sets the preference for zone redundancy on resources created for the SAP monitor. By default resources will be created which do not support zone redundancy. string

TrackedResourceTags

Name Description Value

UserAssignedIdentities

Name Description Value

UserAssignedIdentity

Name Description Value

UserAssignedServiceIdentity

Name Description Value
type Type of manage identity 'None'
'UserAssigned' (required)
userAssignedIdentities User assigned identities dictionary UserAssignedIdentities