你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

Microsoft.IoTOperations instances/akriApplicationProfiles/akriConnectorApplicationConfigurations 2026-11-01-preview

Bicep 资源定义

instances/akriApplicationProfiles/akriConnectorApplicationConfigurations 资源类型可以部署用于针对以下操作:

有关每个 API 版本中已更改属性的列表,请参阅 更改日志。

资源格式

要创建 Microsoft。IoTOperations/instances/akriApplicationProfiles/akriConnectorApplicationConfigurations 资源,将以下 Bicep 添加到你的模板中。

resource symbolicname 'Microsoft.IoTOperations/instances/akriApplicationProfiles/akriConnectorApplicationConfigurations@2026-11-01-preview' = {
  parent: resourceSymbolicName
  extendedLocation: {
    name: 'string'
    type: 'string'
  }
  name: 'string'
  properties: {
    aioIntegration: {
      mqttBroker: {
        accessMode: 'string'
        // For remaining properties, see AioApplicationMqttBrokerAccess objects
      }
      stateStore: {
        accessMode: 'string'
        // For remaining properties, see AioApplicationStateStoreAccess objects
      }
    }
    configuration: {
      {customized property}: any(...)
    }
    deviceConfiguration: {
      allocation: {
        policy: 'string'
        // For remaining properties, see AioConnectorApplicationAllocation objects
      }
      deviceInboundEndpointTypes: [
        {
          displayName: 'string'
          endpointType: 'string'
          version: 'string'
        }
      ]
    }
    diagnostics: {
      logs: {
        level: 'string'
      }
    }
    runtimeConfiguration: {
      runtimeConfigurationType: 'string'
      // For remaining properties, see AioApplicationRuntimeConfiguration objects
    }
    services: [
      {
        name: 'string'
        ports: [
          {
            name: 'string'
            port: int
            protocol: 'string'
          }
        ]
        serviceType: 'string'
      }
    ]
  }
}

AioApplicationRuntimeConfiguration objects

设置 runtimeConfigurationType 属性以指定对象的类型。

对于 ImageConfiguration,请使用:

{
  imageConfigurationSettings: {
    imagePullPolicy: 'string'
    persistentVolumeClaims: [
      {
        claimName: 'string'
        mountPath: 'string'
      }
    ]
    persistentVolumeClaimTemplates: [
      {
        {customized property}: any(...)
      }
    ]
    readinessProbe: {
      exec: {
        command: [
          'string'
        ]
      }
      failureThreshold: int
      initialDelaySeconds: int
      periodSeconds: int
      successThreshold: int
      timeoutSeconds: int
    }
    replicas: int
    resources: {
      limits: {
        cpu: 'string'
        memory: 'string'
      }
    }
    secrets: [
      {
        secretAlias: 'string'
        secretKey: 'string'
        secretRef: 'string'
      }
    ]
    trustSettings: {
      trustListSecretRef: 'string'
    }
  }
  runtimeConfigurationType: 'ImageConfiguration'
}

AioApplicationMqttBrokerAccess objects

设置 accessMode 属性以指定对象类型。

对于 所有,请使用:

{
  accessMode: 'All'
}

对于 NotAllowed,请使用:

{
  accessMode: 'NotAllowed'
}

具体情况,请使用:

{
  accessMode: 'Specific'
  allowedTopics: [
    'string'
  ]
}

AioConnectorApplicationAllocation 对象

设置 策略 属性以指定对象的类型。

对于 Bucketized,请使用:

{
  bucketSize: int
  policy: 'Bucketized'
}

AioApplicationStateStoreAccess objects

设置 accessMode 属性以指定对象类型。

对于 所有,请使用:

{
  accessMode: 'All'
}

对于 NotAllowed,请使用:

{
  accessMode: 'NotAllowed'
}

具体情况,请使用:

{
  accessMode: 'Specific'
  allowedKeys: [
    'string'
  ]
}

属性值

Microsoft.IoTOperations/instances/akriApplicationProfiles/akriConnectorApplicationConfigurations

Name Description 价值
extendedLocation 资源的边缘位置。 扩展位置
name 资源名称 string

约束:
最小长度 = 3
最大长度 = 63
模式 = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (必需)
父级 在 Bicep 中,可以为子资源指定父资源。 仅当子资源在父资源外部声明时,才需要添加此属性。

有关详细信息,请参阅 父资源外部的子资源。
资源类型的符号名称: instances/akriApplicationProfiles
性能 此资源的资源特定属性。 AioConnectorApplicationConfigurationProperties(AioConnectorApplicationConfigurationProperties)

AioApplicationConfigurationDiagnostics

Name Description 价值
日志 应用程序的日志设置。 AkriConnectorsDiagnosticsLogs (必需)

AioApplicationConfigurationResources

Name Description 价值
限制 应用容器可能使用的最大计算资源。 AioApplicationResourceQuantities

AioApplicationExposedService

Name Description 价值
name 服务的名称。 必须在申请中独一无二。 string

约束:
最小长度 = 1 (必需)
港口 服务暴露的端口。 AioApplicationExposedServicePort[] (必需)
serviceType Kubernetes 服务类型。 'ClusterIp'
“LoadBalancer”
“NodePort”

AioApplicationExposedServicePort

Name Description 价值
name 服务港口的名字。 在服务中必须是唯一的。 string

约束:
最小长度 = 1 (必需)
移植 港口被服务暴露出来。 int

约束:
最小值 = 1
最大值 = 65535 (必需)
协议 端口上说的协议。 “Grpc”
“Http”
“Https”
“Mrpc”

AioApplicationImageConfiguration

Name Description 价值
imageConfigurationSettings (图像配置设置) 应用程序的图像配置设置。 AioApplicationImageConfigurationSettings (必需)
运行时配置类型 运行时配置类型。 'ImageConfiguration'(必需)

AioApplicationImageConfigurationSettings

Name Description 价值
imagePullPolicy 映像的拉取策略。 'Always'
“如果不存在”
“永不”
persistentVolumeClaims 持久卷声明会叠加到所有应用实例上。 AioApplicationPersistentVolumeClaim[]
persistentVolumeClaim模板 应用中的持久量索赔模板。
请参阅 https://raw.githubusercontent.com/kubernetes/kubernetes/refs/heads/master/api/openapi-spec/v3/apis__apps__v1_openapi.json。
AioApplicationImageConfigurationSettingsPersistentVolumeClaimTemplatesItem[]
readinessProbe 应用容器可选的准备探针。 AkriConnectorTemplateReadinessProbe
replicas 应用程序副本的数量。 int
resources 应用容器的计算资源。 AioApplicationConfigurationResources
secrets 秘密挂载到所有应用实例上。 AkriConnectorsSecret[]
信任设置 所有应用实例都信任的证书。 AioApplicationTrustList

AioApplicationImageConfigurationSettingsPersistentVolumeClaimTemplatesItem

Name Description 价值

AioApplicationIntegration

Name Description 价值
mqttBroker 访问MQTT主题,超越隐含的主题
申请。
AioApplicationMqttBrokerAccess
状态存储 访问状态存储密钥,超出隐式可用的密钥
应用。
AioApplicationStateStoreAccess

AioApplicationMqttBrokerAccess

Name Description 价值
accessMode 设置为 'All' 类型,类型为 AioApplicationMqttBrokerAllAccess。 将 AioApplicationMqttBrokerNotAllowedAccess 类型设置为“NotAllowed”。 将类型设置为“Specific”以表示 AioApplicationMqttBrokerSpecificAccess。 “All”
'NotAllowed'
“具体”(必填)

AioApplicationMqttBrokerAllAccess

Name Description 价值
accessMode 客户定义的MQTT主题所获得的访问权限等级。 “全部”(必填)

AioApplicationMqttBrokerNotAllowedAccess

Name Description 价值
accessMode 客户定义的MQTT主题所获得的访问权限等级。 “不允许”(必填)

AioApplicationMqttBrokerSpecificAccess

Name Description 价值
accessMode 客户定义的MQTT主题所获得的访问权限等级。 “具体”(必填)
允许的话题 MQTT 主题是应用程序可以访问的筛选器。 string

约束:
最小长度 = 1[] (必需)

AioApplicationPersistentVolumeClaim

Name Description 价值
claimName 持久卷声明的名称。 string (必需)
mountPath 持久卷声明的装载路径。 string (必需)

AioApplicationResourceQuantities

Name Description 价值
cpu CPU 数量使用与 Kubernetes CPU 限制相同的单位。 参见 CPU的含义。 字符串
内存 内存数量使用与 Kubernetes 内存限制相同的单位。 参见 “记忆的意义”。 字符串

AioApplicationRuntimeConfiguration

Name Description 价值
运行时配置类型 将 AioApplicationImageConfiguration 类型设置为“ImageConfiguration”。 'ImageConfiguration'(必需)

AioApplicationStateStoreAccess

Name Description 价值
accessMode 将 AioApplicationStateStoreAllAccess 类型设置为 'All'。 将 AioApplicationStateStoreNotAllowedAccess 类型设置为 'NotAllowed'。 将类型设置为“Specific”,类型为 AioApplicationStateStoreSpecificAccess。 “All”
'NotAllowed'
“具体”(必填)

AioApplicationStateStoreAllAccess

Name Description 价值
accessMode 客户定义的状态存储密钥被授予的访问权限等级。 “全部”(必填)

AioApplicationStateStoreNotAllowedAccess

Name Description 价值
accessMode 客户定义的状态存储密钥被授予的访问权限等级。 “不允许”(必填)

AioApplicationStateStoreSpecificAccess

Name Description 价值
accessMode 客户定义的状态存储密钥被授予的访问权限等级。 “具体”(必填)
允许的钥匙 应用程序可以访问的状态存储键名或模式。 string

约束:
最小长度 = 1[] (必需)

AioApplicationTrustList

Name Description 价值
信任列表秘密引用 要信任的证书的机密引用。 string (必需)

AioConnectorApplicationAllocation

Name Description 价值
政策 将 AioConnectorApplicationBucketizedAllocation 类型设置为“Bucketized”。 “分桶化”(必填)

AioConnectorApplicationBucketizedAllocation

Name Description 价值
桶大小 分配给每个应用实例的设备入站端点数。 int

约束:
最小值 = 1
最大值 = 100
政策 分配策略类型。 “分桶化”(必填)

AioConnectorApplicationConfigurationProperties(AioConnectorApplicationConfigurationProperties)

Name Description 价值
aio集成 访问客户定义的MQTT主题和状态存储密钥。 AioApplicationIntegration
配置 为每个应用实例提供的应用定义配置。 AioConnectorApplicationConfigurationPropertiesConfiguration
deviceConfiguration 设备:应用程序服务的入站端点及其分配。 AioConnectorApplicationDeviceConfiguration (required)
diagnostics 应用程序的诊断设置。 AioApplicationConfigurationDiagnostics
运行时配置 应用程序的运行时配置。 AioApplicationRuntimeConfiguration (required)
services 在集群中暴露应用的网络服务。 The
操作员为每个条目创建了 Kubernetes 服务。
AioApplicationExposedService[]

AioConnectorApplicationConfigurationPropertiesConfiguration

Name Description 价值

AioConnectorApplicationDeviceConfiguration

Name Description 价值
分配 设备入站端点如何在应用实例间分布。 AioConnectorApplicationAllocation (必需)
deviceInboundEndpointTypes 应用程序服务的设备入站端点类型。 AioConnectorApplicationDeviceInboundEndpointType[] (required)

AioConnectorApplicationDeviceInboundEndpointType

Name Description 价值
displayName 设备入站终结点的显示名称。 字符串
endpoint类型 设备入站终结点的类型。 string

约束:
最小长度 = 1 (必需)
版本 设备入站终结点的版本。 string

约束:
最小长度 = 1

AkriConnectorsDiagnostics日志

Name Description 价值
水平仪 日志级别。 示例 - “debug”、“info”、“warn”、“error”、“trace”。 字符串

AkriConnectorsSecret

Name Description 价值
secret别名 机密的应用程序定义别名。 string (必需)
secretKey 要挂载的密钥中的密钥。 string (必需)
secretRef 要挂载的密钥的名称。 string (必需)

AkriConnectorTemplateExecAction

Name Description 价值
command 在容器内执行命令。 退出状态为0被视为健康,非零则被视为不健康。 string[] (必需)

AkriConnectorTemplateReadinessProbe

Name Description 价值
exec Exec 指定在容器中执行的命令。 AkriConnectorTemplateExecAction
failureThreshold 探测在成功后被视为失败的最小连续失败。 int
initialDelaySeconds 容器启动后的秒数,探针启动前的秒数。 int
periodSeconds 执行探测的频率(以秒为单位)。 int
成功阈值 探测在失败后被视为成功的最小连续成功次数。 int
timeoutSeconds 探针超时后的秒数。 int

扩展位置

Name Description 价值
name 扩展位置的名称。 string (必需)
类型 ExtendedLocation 的类型。 'CustomLocation'(必填)

ARM 模板资源定义

instances/akriApplicationProfiles/akriConnectorApplicationConfigurations 资源类型可以部署用于针对以下操作:

用法示例

资源格式

要创建一个 Microsoft.IoTOperations/instances/akriApplicationProfiles/akriConnectorApplicationConfigurations 资源,向你的模板添加以下 JSON 代码。

{
  "type": "Microsoft.IoTOperations/instances/akriApplicationProfiles/akriConnectorApplicationConfigurations",
  "apiVersion": "2026-11-01-preview",
  "name": "string",
  "extendedLocation": {
    "name": "string",
    "type": "string"
  },
  "properties": {
    "aioIntegration": {
      "mqttBroker": {
        "accessMode": "string"
        // For remaining properties, see AioApplicationMqttBrokerAccess objects
      },
      "stateStore": {
        "accessMode": "string"
        // For remaining properties, see AioApplicationStateStoreAccess objects
      }
    },
    "configuration": {
      "{customized property}": {}
    },
    "deviceConfiguration": {
      "allocation": {
        "policy": "string"
        // For remaining properties, see AioConnectorApplicationAllocation objects
      },
      "deviceInboundEndpointTypes": [
        {
          "displayName": "string",
          "endpointType": "string",
          "version": "string"
        }
      ]
    },
    "diagnostics": {
      "logs": {
        "level": "string"
      }
    },
    "runtimeConfiguration": {
      "runtimeConfigurationType": "string"
      // For remaining properties, see AioApplicationRuntimeConfiguration objects
    },
    "services": [
      {
        "name": "string",
        "ports": [
          {
            "name": "string",
            "port": "int",
            "protocol": "string"
          }
        ],
        "serviceType": "string"
      }
    ]
  }
}

AioApplicationRuntimeConfiguration objects

设置 runtimeConfigurationType 属性以指定对象的类型。

对于 ImageConfiguration,请使用:

{
  "imageConfigurationSettings": {
    "imagePullPolicy": "string",
    "persistentVolumeClaims": [
      {
        "claimName": "string",
        "mountPath": "string"
      }
    ],
    "persistentVolumeClaimTemplates": [
      {
        "{customized property}": {}
      }
    ],
    "readinessProbe": {
      "exec": {
        "command": [ "string" ]
      },
      "failureThreshold": "int",
      "initialDelaySeconds": "int",
      "periodSeconds": "int",
      "successThreshold": "int",
      "timeoutSeconds": "int"
    },
    "replicas": "int",
    "resources": {
      "limits": {
        "cpu": "string",
        "memory": "string"
      }
    },
    "secrets": [
      {
        "secretAlias": "string",
        "secretKey": "string",
        "secretRef": "string"
      }
    ],
    "trustSettings": {
      "trustListSecretRef": "string"
    }
  },
  "runtimeConfigurationType": "ImageConfiguration"
}

AioApplicationMqttBrokerAccess objects

设置 accessMode 属性以指定对象类型。

对于 所有,请使用:

{
  "accessMode": "All"
}

对于 NotAllowed,请使用:

{
  "accessMode": "NotAllowed"
}

具体情况,请使用:

{
  "accessMode": "Specific",
  "allowedTopics": [ "string" ]
}

AioConnectorApplicationAllocation 对象

设置 策略 属性以指定对象的类型。

对于 Bucketized,请使用:

{
  "bucketSize": "int",
  "policy": "Bucketized"
}

AioApplicationStateStoreAccess objects

设置 accessMode 属性以指定对象类型。

对于 所有,请使用:

{
  "accessMode": "All"
}

对于 NotAllowed,请使用:

{
  "accessMode": "NotAllowed"
}

具体情况,请使用:

{
  "accessMode": "Specific",
  "allowedKeys": [ "string" ]
}

属性值

Microsoft.IoTOperations/instances/akriApplicationProfiles/akriConnectorApplicationConfigurations

Name Description 价值
apiVersion API 版本 '2026-11-01-预览'
extendedLocation 资源的边缘位置。 扩展位置
name 资源名称 string

约束:
最小长度 = 3
最大长度 = 63
模式 = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (必需)
性能 此资源的资源特定属性。 AioConnectorApplicationConfigurationProperties(AioConnectorApplicationConfigurationProperties)
类型 资源类型 'Microsoft.IoTOperations/instances/akriApplicationProfiles/akriConnectorApplicationConfigurations'

AioApplicationConfigurationDiagnostics

Name Description 价值
日志 应用程序的日志设置。 AkriConnectorsDiagnosticsLogs (必需)

AioApplicationConfigurationResources

Name Description 价值
限制 应用容器可能使用的最大计算资源。 AioApplicationResourceQuantities

AioApplicationExposedService

Name Description 价值
name 服务的名称。 必须在申请中独一无二。 string

约束:
最小长度 = 1 (必需)
港口 服务暴露的端口。 AioApplicationExposedServicePort[] (必需)
serviceType Kubernetes 服务类型。 'ClusterIp'
“LoadBalancer”
“NodePort”

AioApplicationExposedServicePort

Name Description 价值
name 服务港口的名字。 在服务中必须是唯一的。 string

约束:
最小长度 = 1 (必需)
移植 港口被服务暴露出来。 int

约束:
最小值 = 1
最大值 = 65535 (必需)
协议 端口上说的协议。 “Grpc”
“Http”
“Https”
“Mrpc”

AioApplicationImageConfiguration

Name Description 价值
imageConfigurationSettings (图像配置设置) 应用程序的图像配置设置。 AioApplicationImageConfigurationSettings (必需)
运行时配置类型 运行时配置类型。 'ImageConfiguration'(必需)

AioApplicationImageConfigurationSettings

Name Description 价值
imagePullPolicy 映像的拉取策略。 'Always'
“如果不存在”
“永不”
persistentVolumeClaims 持久卷声明会叠加到所有应用实例上。 AioApplicationPersistentVolumeClaim[]
persistentVolumeClaim模板 应用中的持久量索赔模板。
请参阅 https://raw.githubusercontent.com/kubernetes/kubernetes/refs/heads/master/api/openapi-spec/v3/apis__apps__v1_openapi.json。
AioApplicationImageConfigurationSettingsPersistentVolumeClaimTemplatesItem[]
readinessProbe 应用容器可选的准备探针。 AkriConnectorTemplateReadinessProbe
replicas 应用程序副本的数量。 int
resources 应用容器的计算资源。 AioApplicationConfigurationResources
secrets 秘密挂载到所有应用实例上。 AkriConnectorsSecret[]
信任设置 所有应用实例都信任的证书。 AioApplicationTrustList

AioApplicationImageConfigurationSettingsPersistentVolumeClaimTemplatesItem

Name Description 价值

AioApplicationIntegration

Name Description 价值
mqttBroker 访问MQTT主题,超越隐含的主题
申请。
AioApplicationMqttBrokerAccess
状态存储 访问状态存储密钥,超出隐式可用的密钥
应用。
AioApplicationStateStoreAccess

AioApplicationMqttBrokerAccess

Name Description 价值
accessMode 设置为 'All' 类型,类型为 AioApplicationMqttBrokerAllAccess。 将 AioApplicationMqttBrokerNotAllowedAccess 类型设置为“NotAllowed”。 将类型设置为“Specific”以表示 AioApplicationMqttBrokerSpecificAccess。 “All”
'NotAllowed'
“具体”(必填)

AioApplicationMqttBrokerAllAccess

Name Description 价值
accessMode 客户定义的MQTT主题所获得的访问权限等级。 “全部”(必填)

AioApplicationMqttBrokerNotAllowedAccess

Name Description 价值
accessMode 客户定义的MQTT主题所获得的访问权限等级。 “不允许”(必填)

AioApplicationMqttBrokerSpecificAccess

Name Description 价值
accessMode 客户定义的MQTT主题所获得的访问权限等级。 “具体”(必填)
允许的话题 MQTT 主题是应用程序可以访问的筛选器。 string

约束:
最小长度 = 1[] (必需)

AioApplicationPersistentVolumeClaim

Name Description 价值
claimName 持久卷声明的名称。 string (必需)
mountPath 持久卷声明的装载路径。 string (必需)

AioApplicationResourceQuantities

Name Description 价值
cpu CPU 数量使用与 Kubernetes CPU 限制相同的单位。 参见 CPU的含义。 字符串
内存 内存数量使用与 Kubernetes 内存限制相同的单位。 参见 “记忆的意义”。 字符串

AioApplicationRuntimeConfiguration

Name Description 价值
运行时配置类型 将 AioApplicationImageConfiguration 类型设置为“ImageConfiguration”。 'ImageConfiguration'(必需)

AioApplicationStateStoreAccess

Name Description 价值
accessMode 将 AioApplicationStateStoreAllAccess 类型设置为 'All'。 将 AioApplicationStateStoreNotAllowedAccess 类型设置为 'NotAllowed'。 将类型设置为“Specific”,类型为 AioApplicationStateStoreSpecificAccess。 “All”
'NotAllowed'
“具体”(必填)

AioApplicationStateStoreAllAccess

Name Description 价值
accessMode 客户定义的状态存储密钥被授予的访问权限等级。 “全部”(必填)

AioApplicationStateStoreNotAllowedAccess

Name Description 价值
accessMode 客户定义的状态存储密钥被授予的访问权限等级。 “不允许”(必填)

AioApplicationStateStoreSpecificAccess

Name Description 价值
accessMode 客户定义的状态存储密钥被授予的访问权限等级。 “具体”(必填)
允许的钥匙 应用程序可以访问的状态存储键名或模式。 string

约束:
最小长度 = 1[] (必需)

AioApplicationTrustList

Name Description 价值
信任列表秘密引用 要信任的证书的机密引用。 string (必需)

AioConnectorApplicationAllocation

Name Description 价值
政策 将 AioConnectorApplicationBucketizedAllocation 类型设置为“Bucketized”。 “分桶化”(必填)

AioConnectorApplicationBucketizedAllocation

Name Description 价值
桶大小 分配给每个应用实例的设备入站端点数。 int

约束:
最小值 = 1
最大值 = 100
政策 分配策略类型。 “分桶化”(必填)

AioConnectorApplicationConfigurationProperties(AioConnectorApplicationConfigurationProperties)

Name Description 价值
aio集成 访问客户定义的MQTT主题和状态存储密钥。 AioApplicationIntegration
配置 为每个应用实例提供的应用定义配置。 AioConnectorApplicationConfigurationPropertiesConfiguration
deviceConfiguration 设备:应用程序服务的入站端点及其分配。 AioConnectorApplicationDeviceConfiguration (required)
diagnostics 应用程序的诊断设置。 AioApplicationConfigurationDiagnostics
运行时配置 应用程序的运行时配置。 AioApplicationRuntimeConfiguration (required)
services 在集群中暴露应用的网络服务。 The
操作员为每个条目创建了 Kubernetes 服务。
AioApplicationExposedService[]

AioConnectorApplicationConfigurationPropertiesConfiguration

Name Description 价值

AioConnectorApplicationDeviceConfiguration

Name Description 价值
分配 设备入站端点如何在应用实例间分布。 AioConnectorApplicationAllocation (必需)
deviceInboundEndpointTypes 应用程序服务的设备入站端点类型。 AioConnectorApplicationDeviceInboundEndpointType[] (required)

AioConnectorApplicationDeviceInboundEndpointType

Name Description 价值
displayName 设备入站终结点的显示名称。 字符串
endpoint类型 设备入站终结点的类型。 string

约束:
最小长度 = 1 (必需)
版本 设备入站终结点的版本。 string

约束:
最小长度 = 1

AkriConnectorsDiagnostics日志

Name Description 价值
水平仪 日志级别。 示例 - “debug”、“info”、“warn”、“error”、“trace”。 字符串

AkriConnectorsSecret

Name Description 价值
secret别名 机密的应用程序定义别名。 string (必需)
secretKey 要挂载的密钥中的密钥。 string (必需)
secretRef 要挂载的密钥的名称。 string (必需)

AkriConnectorTemplateExecAction

Name Description 价值
command 在容器内执行命令。 退出状态为0被视为健康,非零则被视为不健康。 string[] (必需)

AkriConnectorTemplateReadinessProbe

Name Description 价值
exec Exec 指定在容器中执行的命令。 AkriConnectorTemplateExecAction
failureThreshold 探测在成功后被视为失败的最小连续失败。 int
initialDelaySeconds 容器启动后的秒数,探针启动前的秒数。 int
periodSeconds 执行探测的频率(以秒为单位)。 int
成功阈值 探测在失败后被视为成功的最小连续成功次数。 int
timeoutSeconds 探针超时后的秒数。 int

扩展位置

Name Description 价值
name 扩展位置的名称。 string (必需)
类型 ExtendedLocation 的类型。 'CustomLocation'(必填)

Terraform (AzAPI 提供程序)资源定义

instances/akriApplicationProfiles/akriConnectorApplicationConfigurations 资源类型可以部署用于针对以下操作:

  • 资源组 关于每个API版本中变更属性的列表,请参见 更改日志。

资源格式

要创建一个 Microsoft。IoTOperations/instances/akriApplicationProfiles/akriConnectorApplicationConfigurations 资源,将以下 Terraform 添加到你的模板中。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.IoTOperations/instances/akriApplicationProfiles/akriConnectorApplicationConfigurations@2026-11-01-preview"
  name = "string"
  parent_id = "string"
  body = {
    extendedLocation = {
      name = "string"
      type = "string"
    }
    properties = {
      aioIntegration = {
        mqttBroker = {
          accessMode = "string"
          // For remaining properties, see AioApplicationMqttBrokerAccess objects
        }
        stateStore = {
          accessMode = "string"
          // For remaining properties, see AioApplicationStateStoreAccess objects
        }
      }
      configuration = {
        {customized property} = ?
      }
      deviceConfiguration = {
        allocation = {
          policy = "string"
          // For remaining properties, see AioConnectorApplicationAllocation objects
        }
        deviceInboundEndpointTypes = [
          {
            displayName = "string"
            endpointType = "string"
            version = "string"
          }
        ]
      }
      diagnostics = {
        logs = {
          level = "string"
        }
      }
      runtimeConfiguration = {
        runtimeConfigurationType = "string"
        // For remaining properties, see AioApplicationRuntimeConfiguration objects
      }
      services = [
        {
          name = "string"
          ports = [
            {
              name = "string"
              port = int
              protocol = "string"
            }
          ]
          serviceType = "string"
        }
      ]
    }
  }
}

AioApplicationRuntimeConfiguration objects

设置 runtimeConfigurationType 属性以指定对象的类型。

对于 ImageConfiguration,请使用:

{
  imageConfigurationSettings = {
    imagePullPolicy = "string"
    persistentVolumeClaims = [
      {
        claimName = "string"
        mountPath = "string"
      }
    ]
    persistentVolumeClaimTemplates = [
      {
        {customized property} = ?
      }
    ]
    readinessProbe = {
      exec = {
        command = [
          "string"
        ]
      }
      failureThreshold = int
      initialDelaySeconds = int
      periodSeconds = int
      successThreshold = int
      timeoutSeconds = int
    }
    replicas = int
    resources = {
      limits = {
        cpu = "string"
        memory = "string"
      }
    }
    secrets = [
      {
        secretAlias = "string"
        secretKey = "string"
        secretRef = "string"
      }
    ]
    trustSettings = {
      trustListSecretRef = "string"
    }
  }
  runtimeConfigurationType = "ImageConfiguration"
}

AioApplicationMqttBrokerAccess objects

设置 accessMode 属性以指定对象类型。

对于 所有,请使用:

{
  accessMode = "All"
}

对于 NotAllowed,请使用:

{
  accessMode = "NotAllowed"
}

具体情况,请使用:

{
  accessMode = "Specific"
  allowedTopics = [
    "string"
  ]
}

AioConnectorApplicationAllocation 对象

设置 策略 属性以指定对象的类型。

对于 Bucketized,请使用:

{
  bucketSize = int
  policy = "Bucketized"
}

AioApplicationStateStoreAccess objects

设置 accessMode 属性以指定对象类型。

对于 所有,请使用:

{
  accessMode = "All"
}

对于 NotAllowed,请使用:

{
  accessMode = "NotAllowed"
}

具体情况,请使用:

{
  accessMode = "Specific"
  allowedKeys = [
    "string"
  ]
}

属性值

Microsoft.IoTOperations/instances/akriApplicationProfiles/akriConnectorApplicationConfigurations

Name Description 价值
extendedLocation 资源的边缘位置。 扩展位置
name 资源名称 string

约束:
最小长度 = 3
最大长度 = 63
模式 = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (必需)
parent_id 此资源的父资源的 ID。 资源类型ID for base: instances/akriApplicationProfiles
性能 此资源的资源特定属性。 AioConnectorApplicationConfigurationProperties(AioConnectorApplicationConfigurationProperties)
类型 资源类型 “Microsoft.IoTOperations/instances/akriApplicationProfiles/akriConnectorApplicationConfigurations@2026-11-01-preview”

AioApplicationConfigurationDiagnostics

Name Description 价值
日志 应用程序的日志设置。 AkriConnectorsDiagnosticsLogs (必需)

AioApplicationConfigurationResources

Name Description 价值
限制 应用容器可能使用的最大计算资源。 AioApplicationResourceQuantities

AioApplicationExposedService

Name Description 价值
name 服务的名称。 必须在申请中独一无二。 string

约束:
最小长度 = 1 (必需)
港口 服务暴露的端口。 AioApplicationExposedServicePort[] (必需)
serviceType Kubernetes 服务类型。 'ClusterIp'
“LoadBalancer”
“NodePort”

AioApplicationExposedServicePort

Name Description 价值
name 服务港口的名字。 在服务中必须是唯一的。 string

约束:
最小长度 = 1 (必需)
移植 港口被服务暴露出来。 int

约束:
最小值 = 1
最大值 = 65535 (必需)
协议 端口上说的协议。 “Grpc”
“Http”
“Https”
“Mrpc”

AioApplicationImageConfiguration

Name Description 价值
imageConfigurationSettings (图像配置设置) 应用程序的图像配置设置。 AioApplicationImageConfigurationSettings (必需)
运行时配置类型 运行时配置类型。 'ImageConfiguration'(必需)

AioApplicationImageConfigurationSettings

Name Description 价值
imagePullPolicy 映像的拉取策略。 'Always'
“如果不存在”
“永不”
persistentVolumeClaims 持久卷声明会叠加到所有应用实例上。 AioApplicationPersistentVolumeClaim[]
persistentVolumeClaim模板 应用中的持久量索赔模板。
请参阅 https://raw.githubusercontent.com/kubernetes/kubernetes/refs/heads/master/api/openapi-spec/v3/apis__apps__v1_openapi.json。
AioApplicationImageConfigurationSettingsPersistentVolumeClaimTemplatesItem[]
readinessProbe 应用容器可选的准备探针。 AkriConnectorTemplateReadinessProbe
replicas 应用程序副本的数量。 int
resources 应用容器的计算资源。 AioApplicationConfigurationResources
secrets 秘密挂载到所有应用实例上。 AkriConnectorsSecret[]
信任设置 所有应用实例都信任的证书。 AioApplicationTrustList

AioApplicationImageConfigurationSettingsPersistentVolumeClaimTemplatesItem

Name Description 价值

AioApplicationIntegration

Name Description 价值
mqttBroker 访问MQTT主题,超越隐含的主题
申请。
AioApplicationMqttBrokerAccess
状态存储 访问状态存储密钥,超出隐式可用的密钥
应用。
AioApplicationStateStoreAccess

AioApplicationMqttBrokerAccess

Name Description 价值
accessMode 设置为 'All' 类型,类型为 AioApplicationMqttBrokerAllAccess。 将 AioApplicationMqttBrokerNotAllowedAccess 类型设置为“NotAllowed”。 将类型设置为“Specific”以表示 AioApplicationMqttBrokerSpecificAccess。 “All”
'NotAllowed'
“具体”(必填)

AioApplicationMqttBrokerAllAccess

Name Description 价值
accessMode 客户定义的MQTT主题所获得的访问权限等级。 “全部”(必填)

AioApplicationMqttBrokerNotAllowedAccess

Name Description 价值
accessMode 客户定义的MQTT主题所获得的访问权限等级。 “不允许”(必填)

AioApplicationMqttBrokerSpecificAccess

Name Description 价值
accessMode 客户定义的MQTT主题所获得的访问权限等级。 “具体”(必填)
允许的话题 MQTT 主题是应用程序可以访问的筛选器。 string

约束:
最小长度 = 1[] (必需)

AioApplicationPersistentVolumeClaim

Name Description 价值
claimName 持久卷声明的名称。 string (必需)
mountPath 持久卷声明的装载路径。 string (必需)

AioApplicationResourceQuantities

Name Description 价值
cpu CPU 数量使用与 Kubernetes CPU 限制相同的单位。 参见 CPU的含义。 字符串
内存 内存数量使用与 Kubernetes 内存限制相同的单位。 参见 “记忆的意义”。 字符串

AioApplicationRuntimeConfiguration

Name Description 价值
运行时配置类型 将 AioApplicationImageConfiguration 类型设置为“ImageConfiguration”。 'ImageConfiguration'(必需)

AioApplicationStateStoreAccess

Name Description 价值
accessMode 将 AioApplicationStateStoreAllAccess 类型设置为 'All'。 将 AioApplicationStateStoreNotAllowedAccess 类型设置为 'NotAllowed'。 将类型设置为“Specific”,类型为 AioApplicationStateStoreSpecificAccess。 “All”
'NotAllowed'
“具体”(必填)

AioApplicationStateStoreAllAccess

Name Description 价值
accessMode 客户定义的状态存储密钥被授予的访问权限等级。 “全部”(必填)

AioApplicationStateStoreNotAllowedAccess

Name Description 价值
accessMode 客户定义的状态存储密钥被授予的访问权限等级。 “不允许”(必填)

AioApplicationStateStoreSpecificAccess

Name Description 价值
accessMode 客户定义的状态存储密钥被授予的访问权限等级。 “具体”(必填)
允许的钥匙 应用程序可以访问的状态存储键名或模式。 string

约束:
最小长度 = 1[] (必需)

AioApplicationTrustList

Name Description 价值
信任列表秘密引用 要信任的证书的机密引用。 string (必需)

AioConnectorApplicationAllocation

Name Description 价值
政策 将 AioConnectorApplicationBucketizedAllocation 类型设置为“Bucketized”。 “分桶化”(必填)

AioConnectorApplicationBucketizedAllocation

Name Description 价值
桶大小 分配给每个应用实例的设备入站端点数。 int

约束:
最小值 = 1
最大值 = 100
政策 分配策略类型。 “分桶化”(必填)

AioConnectorApplicationConfigurationProperties(AioConnectorApplicationConfigurationProperties)

Name Description 价值
aio集成 访问客户定义的MQTT主题和状态存储密钥。 AioApplicationIntegration
配置 为每个应用实例提供的应用定义配置。 AioConnectorApplicationConfigurationPropertiesConfiguration
deviceConfiguration 设备:应用程序服务的入站端点及其分配。 AioConnectorApplicationDeviceConfiguration (required)
diagnostics 应用程序的诊断设置。 AioApplicationConfigurationDiagnostics
运行时配置 应用程序的运行时配置。 AioApplicationRuntimeConfiguration (required)
services 在集群中暴露应用的网络服务。 The
操作员为每个条目创建了 Kubernetes 服务。
AioApplicationExposedService[]

AioConnectorApplicationConfigurationPropertiesConfiguration

Name Description 价值

AioConnectorApplicationDeviceConfiguration

Name Description 价值
分配 设备入站端点如何在应用实例间分布。 AioConnectorApplicationAllocation (必需)
deviceInboundEndpointTypes 应用程序服务的设备入站端点类型。 AioConnectorApplicationDeviceInboundEndpointType[] (required)

AioConnectorApplicationDeviceInboundEndpointType

Name Description 价值
displayName 设备入站终结点的显示名称。 字符串
endpoint类型 设备入站终结点的类型。 string

约束:
最小长度 = 1 (必需)
版本 设备入站终结点的版本。 string

约束:
最小长度 = 1

AkriConnectorsDiagnostics日志

Name Description 价值
水平仪 日志级别。 示例 - “debug”、“info”、“warn”、“error”、“trace”。 字符串

AkriConnectorsSecret

Name Description 价值
secret别名 机密的应用程序定义别名。 string (必需)
secretKey 要挂载的密钥中的密钥。 string (必需)
secretRef 要挂载的密钥的名称。 string (必需)

AkriConnectorTemplateExecAction

Name Description 价值
command 在容器内执行命令。 退出状态为0被视为健康,非零则被视为不健康。 string[] (必需)

AkriConnectorTemplateReadinessProbe

Name Description 价值
exec Exec 指定在容器中执行的命令。 AkriConnectorTemplateExecAction
failureThreshold 探测在成功后被视为失败的最小连续失败。 int
initialDelaySeconds 容器启动后的秒数,探针启动前的秒数。 int
periodSeconds 执行探测的频率(以秒为单位)。 int
成功阈值 探测在失败后被视为成功的最小连续成功次数。 int
timeoutSeconds 探针超时后的秒数。 int

扩展位置

Name Description 价值
name 扩展位置的名称。 string (必需)
类型 ExtendedLocation 的类型。 'CustomLocation'(必填)