【问题标题】:How can I change the tier of an IoT Central instance?如何更改 IoT Central 实例的层级?
【发布时间】:2022-06-21 16:56:19
【问题描述】:

我尝试更改 IoT Central 实例的层级/SKU。但是,我在 Azure 门户或 IoT Central 中都找不到这样做的选项。

是否可以更改实例的 SKU 还是必须创建一个新实例?

【问题讨论】:

    标签: azure-iot-central


    【解决方案1】:

    此时没有用于更改 SKU 的 UI。它可以通过 Azure CLI 或 ARM 模板/二头肌进行更改。标准 0、1 和 2 的当前有效值为 ST0, ST1, ST2

    https://docs.microsoft.com/en-us/cli/azure/iot/central/app?view=azure-cli-latest#az-iot-central-app-update

    az iot central app update -n my-first-iot-app -g MyResourceGroup --set sku.name=ST1
    

    https://docs.microsoft.com/en-us/azure/templates/microsoft.iotcentral/iotapps?tabs=json

    {
      "type": "Microsoft.IoTCentral/iotApps",
      "apiVersion": "2021-11-01-preview",
      "name": "string",
      "location": "string",
      "tags": {
        "tagName1": "tagValue1",
        "tagName2": "tagValue2"
      },
      "sku": {
        "name": "string"
      },
      "identity": {
        "type": "string"
      },
      "properties": {
        "displayName": "string",
        "networkRuleSets": {
          "applyToDevices": "bool",
          "applyToIoTCentral": "bool",
          "defaultAction": "string",
          "ipRules": [
            {
              "filterName": "string",
              "ipMask": "string"
            }
          ]
        },
        "publicNetworkAccess": "string",
        "subdomain": "string",
        "template": "string"
      }
    }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-08-03
      • 1970-01-01
      • 1970-01-01
      • 2023-03-11
      • 1970-01-01
      相关资源
      最近更新 更多