Microsoft.IoTOperationsOrchestrator targets

Bicep resource definition

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

resource symbolicname 'Microsoft.IoTOperationsOrchestrator/targets@2023-10-04-preview' = {
  extendedLocation: {
    name: 'string'
    type: 'string'
  }
  location: 'string'
  name: 'string'
  properties: {
    components: [
      {
        dependencies: [
          'string'
        ]
        name: 'string'
        properties: {
          {customized property}: any(...)
        }
        type: 'string'
      }
    ]
    reconciliationPolicy: {
      interval: 'string'
      type: 'string'
    }
    scope: 'string'
    topologies: [
      {
        bindings: [
          {
            config: {
              {customized property}: any(...)
            }
            provider: 'string'
            role: 'string'
          }
        ]
      }
    ]
    version: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.IoTOperationsOrchestrator/targets

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:
Pattern = ^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$ (required)
properties The resource-specific properties for this resource. TargetProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

BindingProperties

Name Description Value
config Configuration values for the binding. BindingPropertiesConfig (required)
provider Name of the provider. string (required)
role Role that the provider binds to with the component. string (required)

BindingPropertiesConfig

Name Description Value

ComponentProperties

Name Description Value
dependencies Component dependencies. string[]
name Name of the component. string (required)
properties Properties of the component. ComponentProperties
type Component type. string (required)

ComponentProperties

Name Description Value

ExtendedLocation

Name Description Value
name The name of the extended location. string (required)
type The type of the extended location. string (required)

ReconciliationPolicy

Name Description Value
interval Policy interval. string

Constraints:
Min length = 1
type Policy type 'periodic' (required)

TargetProperties

Name Description Value
components A list of components. ComponentProperties[]
reconciliationPolicy Reconciliation Policy. ReconciliationPolicy
scope Deployment scope (such as Kubernetes namespace). string
topologies Defines the device topology for a target or instance. TopologiesProperties[]
version Version of the particular resource. string

TopologiesProperties

Name Description Value
bindings bindings description. BindingProperties[]

TrackedResourceTags

Name Description Value

ARM template resource definition

The targets resource type can be deployed with operations that target:

Usage Examples

Resource format

To create a Microsoft.IoTOperationsOrchestrator/targets resource, add the following JSON to your template.

{
  "type": "Microsoft.IoTOperationsOrchestrator/targets",
  "apiVersion": "2023-10-04-preview",
  "name": "string",
  "extendedLocation": {
    "name": "string",
    "type": "string"
  },
  "location": "string",
  "properties": {
    "components": [
      {
        "dependencies": [ "string" ],
        "name": "string",
        "properties": {
          "{customized property}": {}
        },
        "type": "string"
      }
    ],
    "reconciliationPolicy": {
      "interval": "string",
      "type": "string"
    },
    "scope": "string",
    "topologies": [
      {
        "bindings": [
          {
            "config": {
              "{customized property}": {}
            },
            "provider": "string",
            "role": "string"
          }
        ]
      }
    ],
    "version": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.IoTOperationsOrchestrator/targets

Name Description Value
apiVersion The api version '2023-10-04-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:
Pattern = ^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$ (required)
properties The resource-specific properties for this resource. TargetProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.IoTOperationsOrchestrator/targets'

BindingProperties

Name Description Value
config Configuration values for the binding. BindingPropertiesConfig (required)
provider Name of the provider. string (required)
role Role that the provider binds to with the component. string (required)

BindingPropertiesConfig

Name Description Value

ComponentProperties

Name Description Value
dependencies Component dependencies. string[]
name Name of the component. string (required)
properties Properties of the component. ComponentProperties
type Component type. string (required)

ComponentProperties

Name Description Value

ExtendedLocation

Name Description Value
name The name of the extended location. string (required)
type The type of the extended location. string (required)

ReconciliationPolicy

Name Description Value
interval Policy interval. string

Constraints:
Min length = 1
type Policy type 'periodic' (required)

TargetProperties

Name Description Value
components A list of components. ComponentProperties[]
reconciliationPolicy Reconciliation Policy. ReconciliationPolicy
scope Deployment scope (such as Kubernetes namespace). string
topologies Defines the device topology for a target or instance. TopologiesProperties[]
version Version of the particular resource. string

TopologiesProperties

Name Description Value
bindings bindings description. BindingProperties[]

TrackedResourceTags

Name Description Value

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.IoTOperationsOrchestrator/targets@2023-10-04-preview"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    extendedLocation = {
      name = "string"
      type = "string"
    }
    properties = {
      components = [
        {
          dependencies = [
            "string"
          ]
          name = "string"
          properties = {
            {customized property} = ?
          }
          type = "string"
        }
      ]
      reconciliationPolicy = {
        interval = "string"
        type = "string"
      }
      scope = "string"
      topologies = [
        {
          bindings = [
            {
              config = {
                {customized property} = ?
              }
              provider = "string"
              role = "string"
            }
          ]
        }
      ]
      version = "string"
    }
  }
}

Property Values

Microsoft.IoTOperationsOrchestrator/targets

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:
Pattern = ^[a-z0-9][a-z0-9-]{1,60}[a-z0-9]$ (required)
properties The resource-specific properties for this resource. TargetProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.IoTOperationsOrchestrator/targets@2023-10-04-preview"

BindingProperties

Name Description Value
config Configuration values for the binding. BindingPropertiesConfig (required)
provider Name of the provider. string (required)
role Role that the provider binds to with the component. string (required)

BindingPropertiesConfig

Name Description Value

ComponentProperties

Name Description Value
dependencies Component dependencies. string[]
name Name of the component. string (required)
properties Properties of the component. ComponentProperties
type Component type. string (required)

ComponentProperties

Name Description Value

ExtendedLocation

Name Description Value
name The name of the extended location. string (required)
type The type of the extended location. string (required)

ReconciliationPolicy

Name Description Value
interval Policy interval. string

Constraints:
Min length = 1
type Policy type 'periodic' (required)

TargetProperties

Name Description Value
components A list of components. ComponentProperties[]
reconciliationPolicy Reconciliation Policy. ReconciliationPolicy
scope Deployment scope (such as Kubernetes namespace). string
topologies Defines the device topology for a target or instance. TopologiesProperties[]
version Version of the particular resource. string

TopologiesProperties

Name Description Value
bindings bindings description. BindingProperties[]

TrackedResourceTags

Name Description Value