Share via


Microsoft.IoTOperationsMQ mq

Bicep resource definition

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

resource symbolicname 'Microsoft.IoTOperationsMQ/mq@2023-10-04-preview' = {
  extendedLocation: {
    name: 'string'
    type: 'string'
  }
  location: 'string'
  name: 'string'
  properties: {}
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.IoTOperationsMQ/mq

Name Description Value
extendedLocation Extended Location ExtendedLocationProperty (required)
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9-]{3,24}$ (required)
properties The resource-specific properties for this resource. MqProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

ExtendedLocationProperty

Name Description Value
name The name of the extended location. string (required)
type Type of ExtendedLocation. 'CustomLocation' (required)

MqProperties

Name Description Value

TrackedResourceTags

Name Description Value

ARM template resource definition

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

{
  "type": "Microsoft.IoTOperationsMQ/mq",
  "apiVersion": "2023-10-04-preview",
  "name": "string",
  "extendedLocation": {
    "name": "string",
    "type": "string"
  },
  "location": "string",
  "properties": {
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.IoTOperationsMQ/mq

Name Description Value
apiVersion The api version '2023-10-04-preview'
extendedLocation Extended Location ExtendedLocationProperty (required)
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9-]{3,24}$ (required)
properties The resource-specific properties for this resource. MqProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.IoTOperationsMQ/mq'

ExtendedLocationProperty

Name Description Value
name The name of the extended location. string (required)
type Type of ExtendedLocation. 'CustomLocation' (required)

MqProperties

Name Description Value

TrackedResourceTags

Name Description Value

Usage Examples

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.IoTOperationsMQ/mq@2023-10-04-preview"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    extendedLocation = {
      name = "string"
      type = "string"
    }
    properties = {
    }
  }
}

Property Values

Microsoft.IoTOperationsMQ/mq

Name Description Value
extendedLocation Extended Location ExtendedLocationProperty (required)
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9-]{3,24}$ (required)
properties The resource-specific properties for this resource. MqProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.IoTOperationsMQ/mq@2023-10-04-preview"

ExtendedLocationProperty

Name Description Value
name The name of the extended location. string (required)
type Type of ExtendedLocation. 'CustomLocation' (required)

MqProperties

Name Description Value

TrackedResourceTags

Name Description Value