Microsoft.IoTOperations instances 2024-07-01-preview

Bicep resource definition

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

resource symbolicname 'Microsoft.IoTOperations/instances@2024-07-01-preview' = {
  extendedLocation: {
    name: 'string'
    type: 'string'
  }
  location: 'string'
  name: 'string'
  properties: {
    description: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property values

ExtendedLocation

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

InstanceProperties

Name Description Value
description Detailed description of the Instance. string

Microsoft.IoTOperations/instances

Name Description Value
extendedLocation Edge location of the resource. ExtendedLocation (required)
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Min length = 3
Max length = 63
Pattern = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (required)
properties The resource-specific properties for this resource. InstanceProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

TrackedResourceTags

Name Description Value

ARM template resource definition

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

{
  "type": "Microsoft.IoTOperations/instances",
  "apiVersion": "2024-07-01-preview",
  "name": "string",
  "extendedLocation": {
    "name": "string",
    "type": "string"
  },
  "location": "string",
  "properties": {
    "description": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property values

ExtendedLocation

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

InstanceProperties

Name Description Value
description Detailed description of the Instance. string

Microsoft.IoTOperations/instances

Name Description Value
apiVersion The api version '2024-07-01-preview'
extendedLocation Edge location of the resource. ExtendedLocation (required)
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Min length = 3
Max length = 63
Pattern = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (required)
properties The resource-specific properties for this resource. InstanceProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.IoTOperations/instances'

TrackedResourceTags

Name Description Value

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.IoTOperations/instances@2024-07-01-preview"
  name = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = jsonencode({
    extendedLocation = {
      name = "string"
      type = "string"
    }
    properties = {
      description = "string"
    }
  })
}

Property values

ExtendedLocation

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

InstanceProperties

Name Description Value
description Detailed description of the Instance. string

Microsoft.IoTOperations/instances

Name Description Value
extendedLocation Edge location of the resource. ExtendedLocation (required)
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Min length = 3
Max length = 63
Pattern = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (required)
properties The resource-specific properties for this resource. InstanceProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.IoTOperations/instances@2024-07-01-preview"

TrackedResourceTags

Name Description Value