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 資源的邊緣位置。 ExtendedLocation
name 資源名稱 string

約束:
最小長度 = 3
最大長度 = 63
模式 = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (必要)
父代 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。

如需詳細資訊,請參閱 父資源外部的子資源。
資源的符號名稱為 instances/akriApplicationProfiles
屬性 此資源的資源特定屬性。 AioConnectorApplicationConfigurationProperties

AioApplicationConfigurationDiagnostics

Name Description 價值
記錄 應用程式的日誌設定。 AkriConnectorsDiagnosticsLogs (必需)

AioApplicationConfigurationResources

Name Description 價值
限制 應用程式容器可使用的最大運算資源。 AioApplicationResourceQuantities

AioApplicationExposedService

Name Description 價值
name 服務的名稱。 必須在申請中是獨一無二的。 string

約束:
最小長度 = 1 (必要)
ports 服務中暴露的端口。 AioApplicationExposedServicePort[] (必需)
serviceType Kubernetes 服務類型的服務。 'ClusterIp'
'負載均衡器'
'節點埠'

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 AioApplicationMqttBrokerAllAccess 類型設為「All」。 設定為 'NotAllowed' 以表示 AioApplicationMqttBrokerNotAllowedAccess. 設定為 'Specific' 以表示 類型 AioApplicationMqttBrokerSpecificAccess. '全部'
'NotAllowed'
「特定」(必填)

AioApplicationMqttBrokerAllAccess

Name Description 價值
accessMode 客戶定義的MQTT主題所獲得的存取權限層級。 “全部”(必填)

AioApplicationMqttBrokerNotAllowedAccess

Name Description 價值
accessMode 客戶定義的MQTT主題所獲得的存取權限層級。 「不允許」(必填)

AioApplicationMqttBrokerSpecificAccess

Name Description 價值
accessMode 客戶定義的MQTT主題所獲得的存取權限層級。 「特定」(必填)
允許主題 MQTT 主題是應用程式可存取的篩選器。 string

約束:
最小長度 = 1[] (必要)

AioApplicationPersistentVolumeClaim

Name Description 價值
claimName 持久卷聲明的名稱。 字串 (必要)
mountPath 持久卷聲明的裝載路徑。 字串 (必要)

AioApplicationResourceQuantities

Name Description 價值
cpu CPU 數量使用與 Kubernetes CPU 限制相同的單位。 詳見 CPU 的意義。 字串
記憶體 記憶體數量使用與 Kubernetes 記憶體限制相同的單位。 參見 「記憶的意義」。 字串

AioApplicationRuntimeConfiguration

Name Description 價值
運行時配置類型 將 AioApplicationImageConfiguration 類型設為「ImageConfiguration」。 'ImageConfiguration'(必需)

AioApplicationStateStoreAccess

Name Description 價值
accessMode AioApplicationStateStoreAllAccess 類型設為「All」。 設定為 'NotAllowed' 以設定 AioApplicationStateStoreNotAllowedAccess 類型。 AioApplicationStateStoreSpecificAccess 類型設為「Specific」。 '全部'
'NotAllowed'
「特定」(必填)

AioApplicationStateStoreAllAccess

Name Description 價值
accessMode 客戶定義的狀態儲存金鑰所獲得的存取權限層級。 “全部”(必填)

AioApplicationStateStoreNotAllowedAccess

Name Description 價值
accessMode 客戶定義的狀態儲存金鑰所獲得的存取權限層級。 「不允許」(必填)

AioApplicationStateStoreSpecificAccess

Name Description 價值
accessMode 客戶定義的狀態儲存金鑰所獲得的存取權限層級。 「特定」(必填)
允許鑰匙 應用程式可存取的狀態儲存鍵名稱或模式。 string

約束:
最小長度 = 1[] (必要)

AioApplicationTrustList

Name Description 價值
信任清單秘密引用 要信任的證書的機密引用。 字串 (必要)

AioConnectorApplicationAllocation

Name Description 價值
原則 將 AioConnectorApplicationBucketizedAllocation 類型設為「Bucketized」。 “分桶化”(必填)

AioConnectorApplicationBucketizedAllocation

Name Description 價值
bucketSize 每個應用程式實例所指派的裝置入站端點數量。 int

約束:
最小值 = 1
最大值 = 100
原則 分配策略類型。 “分桶化”(必填)

AioConnectorApplicationConfigurationProperties

Name Description 價值
aio整合 可存取客戶定義的 MQTT 主題及狀態儲存鍵。 AioApplicationIntegration
組態 提供給每個應用程式實例的應用程式定義設定。 AioConnectorApplicationConfigurationPropertiesConfiguration
deviceConfiguration 應用程式服務的裝置入站端點及其分配。 AioConnectorApplicationDeviceConfiguration (required)
diagnostics 應用程式的診斷設定。 AioApplicationConfigurationDiagnostics
運行時配置 應用程式的執行時配置。 AioApplicationRuntimeConfiguration (required)
services 在叢集內暴露應用程式的網路服務。 此
operator 為每個項目建立 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別名 機密的應用程式定義別名。 字串 (必要)
secretKey 要掛載的金鑰中的金鑰。 字串 (必要)
secretRef 要掛載的金鑰的名稱。 字串 (必要)

AkriConnectorTemplateExecAction

Name Description 價值
command 在容器內執行的指令。 離境狀態為0被視為健康,非零則被視為不健康。 string[] (必要)

AkriConnectorTemplateReadinessProbe

Name Description 價值
exec Exec 指定一個在容器中執行的指令。 AkriConnectorTemplateExecAction
failureThreshold 探查在成功之後,要視為失敗的最小連續失敗。 int
initialDelaySeconds 容器啟動後的幾秒鐘,探測器啟動前的秒數。 int
periodSeconds 執行探查的頻率(以秒為單位)。 int
成功閾值 探查在失敗后要視為成功的最小連續成功。 int
timeoutSeconds 探測器逾時的秒數。 int

擴展位置

Name Description 價值
name 擴充位置的名稱。 字串 (必要)
型別 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 資源的邊緣位置。 ExtendedLocation
name 資源名稱 string

約束:
最小長度 = 3
最大長度 = 63
模式 = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (必要)
屬性 此資源的資源特定屬性。 AioConnectorApplicationConfigurationProperties
型別 資源類型 'Microsoft.IoTOperations/instances/akriApplicationProfiles/akriConnectorApplicationConfigurations'

AioApplicationConfigurationDiagnostics

Name Description 價值
記錄 應用程式的日誌設定。 AkriConnectorsDiagnosticsLogs (必需)

AioApplicationConfigurationResources

Name Description 價值
限制 應用程式容器可使用的最大運算資源。 AioApplicationResourceQuantities

AioApplicationExposedService

Name Description 價值
name 服務的名稱。 必須在申請中是獨一無二的。 string

約束:
最小長度 = 1 (必要)
ports 服務中暴露的端口。 AioApplicationExposedServicePort[] (必需)
serviceType Kubernetes 服務類型的服務。 'ClusterIp'
'負載均衡器'
'節點埠'

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 AioApplicationMqttBrokerAllAccess 類型設為「All」。 設定為 'NotAllowed' 以表示 AioApplicationMqttBrokerNotAllowedAccess. 設定為 'Specific' 以表示 類型 AioApplicationMqttBrokerSpecificAccess. '全部'
'NotAllowed'
「特定」(必填)

AioApplicationMqttBrokerAllAccess

Name Description 價值
accessMode 客戶定義的MQTT主題所獲得的存取權限層級。 “全部”(必填)

AioApplicationMqttBrokerNotAllowedAccess

Name Description 價值
accessMode 客戶定義的MQTT主題所獲得的存取權限層級。 「不允許」(必填)

AioApplicationMqttBrokerSpecificAccess

Name Description 價值
accessMode 客戶定義的MQTT主題所獲得的存取權限層級。 「特定」(必填)
允許主題 MQTT 主題是應用程式可存取的篩選器。 string

約束:
最小長度 = 1[] (必要)

AioApplicationPersistentVolumeClaim

Name Description 價值
claimName 持久卷聲明的名稱。 字串 (必要)
mountPath 持久卷聲明的裝載路徑。 字串 (必要)

AioApplicationResourceQuantities

Name Description 價值
cpu CPU 數量使用與 Kubernetes CPU 限制相同的單位。 詳見 CPU 的意義。 字串
記憶體 記憶體數量使用與 Kubernetes 記憶體限制相同的單位。 參見 「記憶的意義」。 字串

AioApplicationRuntimeConfiguration

Name Description 價值
運行時配置類型 將 AioApplicationImageConfiguration 類型設為「ImageConfiguration」。 'ImageConfiguration'(必需)

AioApplicationStateStoreAccess

Name Description 價值
accessMode AioApplicationStateStoreAllAccess 類型設為「All」。 設定為 'NotAllowed' 以設定 AioApplicationStateStoreNotAllowedAccess 類型。 AioApplicationStateStoreSpecificAccess 類型設為「Specific」。 '全部'
'NotAllowed'
「特定」(必填)

AioApplicationStateStoreAllAccess

Name Description 價值
accessMode 客戶定義的狀態儲存金鑰所獲得的存取權限層級。 “全部”(必填)

AioApplicationStateStoreNotAllowedAccess

Name Description 價值
accessMode 客戶定義的狀態儲存金鑰所獲得的存取權限層級。 「不允許」(必填)

AioApplicationStateStoreSpecificAccess

Name Description 價值
accessMode 客戶定義的狀態儲存金鑰所獲得的存取權限層級。 「特定」(必填)
允許鑰匙 應用程式可存取的狀態儲存鍵名稱或模式。 string

約束:
最小長度 = 1[] (必要)

AioApplicationTrustList

Name Description 價值
信任清單秘密引用 要信任的證書的機密引用。 字串 (必要)

AioConnectorApplicationAllocation

Name Description 價值
原則 將 AioConnectorApplicationBucketizedAllocation 類型設為「Bucketized」。 “分桶化”(必填)

AioConnectorApplicationBucketizedAllocation

Name Description 價值
bucketSize 每個應用程式實例所指派的裝置入站端點數量。 int

約束:
最小值 = 1
最大值 = 100
原則 分配策略類型。 “分桶化”(必填)

AioConnectorApplicationConfigurationProperties

Name Description 價值
aio整合 可存取客戶定義的 MQTT 主題及狀態儲存鍵。 AioApplicationIntegration
組態 提供給每個應用程式實例的應用程式定義設定。 AioConnectorApplicationConfigurationPropertiesConfiguration
deviceConfiguration 應用程式服務的裝置入站端點及其分配。 AioConnectorApplicationDeviceConfiguration (required)
diagnostics 應用程式的診斷設定。 AioApplicationConfigurationDiagnostics
運行時配置 應用程式的執行時配置。 AioApplicationRuntimeConfiguration (required)
services 在叢集內暴露應用程式的網路服務。 此
operator 為每個項目建立 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別名 機密的應用程式定義別名。 字串 (必要)
secretKey 要掛載的金鑰中的金鑰。 字串 (必要)
secretRef 要掛載的金鑰的名稱。 字串 (必要)

AkriConnectorTemplateExecAction

Name Description 價值
command 在容器內執行的指令。 離境狀態為0被視為健康,非零則被視為不健康。 string[] (必要)

AkriConnectorTemplateReadinessProbe

Name Description 價值
exec Exec 指定一個在容器中執行的指令。 AkriConnectorTemplateExecAction
failureThreshold 探查在成功之後,要視為失敗的最小連續失敗。 int
initialDelaySeconds 容器啟動後的幾秒鐘,探測器啟動前的秒數。 int
periodSeconds 執行探查的頻率(以秒為單位)。 int
成功閾值 探查在失敗后要視為成功的最小連續成功。 int
timeoutSeconds 探測器逾時的秒數。 int

擴展位置

Name Description 價值
name 擴充位置的名稱。 字串 (必要)
型別 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 資源的邊緣位置。 ExtendedLocation
name 資源名稱 string

約束:
最小長度 = 3
最大長度 = 63
模式 = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (必要)
parent_id 此資源為父系之資源的標識碼。 資源類型的 ID: instances/akriApplicationProfiles
屬性 此資源的資源特定屬性。 AioConnectorApplicationConfigurationProperties
型別 資源類型 「Microsoft。IoTOperations/instances/akriApplicationProfiles/akriConnectorApplicationConfigurations@2026-11-01-preview」

AioApplicationConfigurationDiagnostics

Name Description 價值
記錄 應用程式的日誌設定。 AkriConnectorsDiagnosticsLogs (必需)

AioApplicationConfigurationResources

Name Description 價值
限制 應用程式容器可使用的最大運算資源。 AioApplicationResourceQuantities

AioApplicationExposedService

Name Description 價值
name 服務的名稱。 必須在申請中是獨一無二的。 string

約束:
最小長度 = 1 (必要)
ports 服務中暴露的端口。 AioApplicationExposedServicePort[] (必需)
serviceType Kubernetes 服務類型的服務。 'ClusterIp'
'負載均衡器'
'節點埠'

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 AioApplicationMqttBrokerAllAccess 類型設為「All」。 設定為 'NotAllowed' 以表示 AioApplicationMqttBrokerNotAllowedAccess. 設定為 'Specific' 以表示 類型 AioApplicationMqttBrokerSpecificAccess. '全部'
'NotAllowed'
「特定」(必填)

AioApplicationMqttBrokerAllAccess

Name Description 價值
accessMode 客戶定義的MQTT主題所獲得的存取權限層級。 “全部”(必填)

AioApplicationMqttBrokerNotAllowedAccess

Name Description 價值
accessMode 客戶定義的MQTT主題所獲得的存取權限層級。 「不允許」(必填)

AioApplicationMqttBrokerSpecificAccess

Name Description 價值
accessMode 客戶定義的MQTT主題所獲得的存取權限層級。 「特定」(必填)
允許主題 MQTT 主題是應用程式可存取的篩選器。 string

約束:
最小長度 = 1[] (必要)

AioApplicationPersistentVolumeClaim

Name Description 價值
claimName 持久卷聲明的名稱。 字串 (必要)
mountPath 持久卷聲明的裝載路徑。 字串 (必要)

AioApplicationResourceQuantities

Name Description 價值
cpu CPU 數量使用與 Kubernetes CPU 限制相同的單位。 詳見 CPU 的意義。 字串
記憶體 記憶體數量使用與 Kubernetes 記憶體限制相同的單位。 參見 「記憶的意義」。 字串

AioApplicationRuntimeConfiguration

Name Description 價值
運行時配置類型 將 AioApplicationImageConfiguration 類型設為「ImageConfiguration」。 'ImageConfiguration'(必需)

AioApplicationStateStoreAccess

Name Description 價值
accessMode AioApplicationStateStoreAllAccess 類型設為「All」。 設定為 'NotAllowed' 以設定 AioApplicationStateStoreNotAllowedAccess 類型。 AioApplicationStateStoreSpecificAccess 類型設為「Specific」。 '全部'
'NotAllowed'
「特定」(必填)

AioApplicationStateStoreAllAccess

Name Description 價值
accessMode 客戶定義的狀態儲存金鑰所獲得的存取權限層級。 “全部”(必填)

AioApplicationStateStoreNotAllowedAccess

Name Description 價值
accessMode 客戶定義的狀態儲存金鑰所獲得的存取權限層級。 「不允許」(必填)

AioApplicationStateStoreSpecificAccess

Name Description 價值
accessMode 客戶定義的狀態儲存金鑰所獲得的存取權限層級。 「特定」(必填)
允許鑰匙 應用程式可存取的狀態儲存鍵名稱或模式。 string

約束:
最小長度 = 1[] (必要)

AioApplicationTrustList

Name Description 價值
信任清單秘密引用 要信任的證書的機密引用。 字串 (必要)

AioConnectorApplicationAllocation

Name Description 價值
原則 將 AioConnectorApplicationBucketizedAllocation 類型設為「Bucketized」。 “分桶化”(必填)

AioConnectorApplicationBucketizedAllocation

Name Description 價值
bucketSize 每個應用程式實例所指派的裝置入站端點數量。 int

約束:
最小值 = 1
最大值 = 100
原則 分配策略類型。 “分桶化”(必填)

AioConnectorApplicationConfigurationProperties

Name Description 價值
aio整合 可存取客戶定義的 MQTT 主題及狀態儲存鍵。 AioApplicationIntegration
組態 提供給每個應用程式實例的應用程式定義設定。 AioConnectorApplicationConfigurationPropertiesConfiguration
deviceConfiguration 應用程式服務的裝置入站端點及其分配。 AioConnectorApplicationDeviceConfiguration (required)
diagnostics 應用程式的診斷設定。 AioApplicationConfigurationDiagnostics
運行時配置 應用程式的執行時配置。 AioApplicationRuntimeConfiguration (required)
services 在叢集內暴露應用程式的網路服務。 此
operator 為每個項目建立 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別名 機密的應用程式定義別名。 字串 (必要)
secretKey 要掛載的金鑰中的金鑰。 字串 (必要)
secretRef 要掛載的金鑰的名稱。 字串 (必要)

AkriConnectorTemplateExecAction

Name Description 價值
command 在容器內執行的指令。 離境狀態為0被視為健康,非零則被視為不健康。 string[] (必要)

AkriConnectorTemplateReadinessProbe

Name Description 價值
exec Exec 指定一個在容器中執行的指令。 AkriConnectorTemplateExecAction
failureThreshold 探查在成功之後,要視為失敗的最小連續失敗。 int
initialDelaySeconds 容器啟動後的幾秒鐘,探測器啟動前的秒數。 int
periodSeconds 執行探查的頻率(以秒為單位)。 int
成功閾值 探查在失敗后要視為成功的最小連續成功。 int
timeoutSeconds 探測器逾時的秒數。 int

擴展位置

Name Description 價值
name 擴充位置的名稱。 字串 (必要)
型別 ExtendedLocation 的類型。 'CustomLocation'(必填)