Microsoft.IoTOperations instances/dataflowProfiles

Bicep resource definition

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

resource symbolicname 'Microsoft.IoTOperations/instances/dataflowProfiles@2024-11-01' = {
  parent: resourceSymbolicName
  extendedLocation: {
    name: 'string'
    type: 'string'
  }
  name: 'string'
  properties: {
    diagnostics: {
      logs: {
        level: 'string'
      }
      metrics: {
        prometheusPort: int
      }
    }
    instanceCount: int
  }
}

Property values

DataflowProfileProperties

Name Description Value
diagnostics Spec defines the desired identities of NBC diagnostics settings. ProfileDiagnostics
instanceCount To manually scale the dataflow profile, specify the maximum number of instances you want to run. int

Constraints:
Min value = 1
Max value = 20

DiagnosticsLogs

Name Description Value
level The log level. Examples - 'debug', 'info', 'warn', 'error', 'trace'. string

ExtendedLocation

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

Metrics

Name Description Value
prometheusPort The prometheus port to expose the metrics. int

Constraints:
Min value = 0
Max value = 65535

Microsoft.IoTOperations/instances/dataflowProfiles

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

Constraints:
Min length = 3
Max length = 63
Pattern = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: instances
properties The resource-specific properties for this resource. DataflowProfileProperties

ProfileDiagnostics

Name Description Value
logs Diagnostic log settings for the resource. DiagnosticsLogs
metrics The metrics settings for the resource. Metrics

ARM template resource definition

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

{
  "type": "Microsoft.IoTOperations/instances/dataflowProfiles",
  "apiVersion": "2024-11-01",
  "name": "string",
  "extendedLocation": {
    "name": "string",
    "type": "string"
  },
  "properties": {
    "diagnostics": {
      "logs": {
        "level": "string"
      },
      "metrics": {
        "prometheusPort": "int"
      }
    },
    "instanceCount": "int"
  }
}

Property values

DataflowProfileProperties

Name Description Value
diagnostics Spec defines the desired identities of NBC diagnostics settings. ProfileDiagnostics
instanceCount To manually scale the dataflow profile, specify the maximum number of instances you want to run. int

Constraints:
Min value = 1
Max value = 20

DiagnosticsLogs

Name Description Value
level The log level. Examples - 'debug', 'info', 'warn', 'error', 'trace'. string

ExtendedLocation

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

Metrics

Name Description Value
prometheusPort The prometheus port to expose the metrics. int

Constraints:
Min value = 0
Max value = 65535

Microsoft.IoTOperations/instances/dataflowProfiles

Name Description Value
apiVersion The api version '2024-11-01'
extendedLocation Edge location of the resource. ExtendedLocation (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. DataflowProfileProperties
type The resource type 'Microsoft.IoTOperations/instances/dataflowProfiles'

ProfileDiagnostics

Name Description Value
logs Diagnostic log settings for the resource. DiagnosticsLogs
metrics The metrics settings for the resource. Metrics

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.IoTOperations/instances/dataflowProfiles@2024-11-01"
  name = "string"
  body = jsonencode({
    extendedLocation = {
      name = "string"
      type = "string"
    }
    properties = {
      diagnostics = {
        logs = {
          level = "string"
        }
        metrics = {
          prometheusPort = int
        }
      }
      instanceCount = int
    }
  })
}

Property values

DataflowProfileProperties

Name Description Value
diagnostics Spec defines the desired identities of NBC diagnostics settings. ProfileDiagnostics
instanceCount To manually scale the dataflow profile, specify the maximum number of instances you want to run. int

Constraints:
Min value = 1
Max value = 20

DiagnosticsLogs

Name Description Value
level The log level. Examples - 'debug', 'info', 'warn', 'error', 'trace'. string

ExtendedLocation

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

Metrics

Name Description Value
prometheusPort The prometheus port to expose the metrics. int

Constraints:
Min value = 0
Max value = 65535

Microsoft.IoTOperations/instances/dataflowProfiles

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

Constraints:
Min length = 3
Max length = 63
Pattern = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: instances
properties The resource-specific properties for this resource. DataflowProfileProperties
type The resource type "Microsoft.IoTOperations/instances/dataflowProfiles@2024-11-01"

ProfileDiagnostics

Name Description Value
logs Diagnostic log settings for the resource. DiagnosticsLogs
metrics The metrics settings for the resource. Metrics