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

az cdn profile-migration

此命令组处于预览状态,正在开发中。 参考和支持级别: https://aka.ms/CLI_refstatus

经典 cdn 配置文件迁移操作。

命令

名称 说明 类型 Status
az cdn profile-migration abort

中止迁移到 Azure Frontdoor Premium/Standard。

核心 预览
az cdn profile-migration check-compatibility

检查 CDN 配置文件是否可以迁移到 Azure Frontdoor(标准/高级)配置文件。

核心 预览
az cdn profile-migration commit

提交已迁移的 Azure Frontdoor(标准/高级)配置文件。

核心 预览
az cdn profile-migration migrate

将 CDN 配置文件迁移到 Azure Frontdoor(标准/高级)配置文件。 此步骤准备迁移的配置文件,然后提交以完成迁移。

核心 预览

az cdn profile-migration abort

预览

命令组“az cdn profile-migration”处于预览状态,正在开发中。 参考和支持级别: https://aka.ms/CLI_refstatus

中止迁移到 Azure Frontdoor Premium/Standard。

az cdn profile-migration abort [--ids]
                               [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                               [--profile-name]
                               [--resource-group]
                               [--subscription]

可选参数

--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

--no-wait

不等待长时间运行的操作完成。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--profile-name

在资源组中唯一的 Azure Front Door 标准版或 Azure Front Door Premium 的名称。

--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name> 配置默认组。

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az cdn profile-migration check-compatibility

预览

命令组“az cdn profile-migration”处于预览状态,正在开发中。 参考和支持级别: https://aka.ms/CLI_refstatus

检查 CDN 配置文件是否可以迁移到 Azure Frontdoor(标准/高级)配置文件。

az cdn profile-migration check-compatibility [--ids]
                                             [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                             [--profile-name]
                                             [--resource-group]
                                             [--subscription]

可选参数

--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

--no-wait

不等待长时间运行的操作完成。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--profile-name

在资源组中唯一的 Azure Front Door 标准版或 Azure Front Door Premium 的名称。

--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name> 配置默认组。

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az cdn profile-migration commit

预览

命令组“az cdn profile-migration”处于预览状态,正在开发中。 参考和支持级别: https://aka.ms/CLI_refstatus

提交已迁移的 Azure Frontdoor(标准/高级)配置文件。

az cdn profile-migration commit [--ids]
                                [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                [--profile-name]
                                [--resource-group]
                                [--subscription]

可选参数

--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

--no-wait

不等待长时间运行的操作完成。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--profile-name

资源组中唯一的 CDN 配置文件的名称。

--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name> 配置默认组。

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az cdn profile-migration migrate

预览

命令组“az cdn profile-migration”处于预览状态,正在开发中。 参考和支持级别: https://aka.ms/CLI_refstatus

将 CDN 配置文件迁移到 Azure Frontdoor(标准/高级)配置文件。 此步骤准备迁移的配置文件,然后提交以完成迁移。

az cdn profile-migration migrate [--identity-type {None, SystemAssigned, SystemAssigned, UserAssigned, UserAssigned}]
                                 [--ids]
                                 [--migration-endpoint-mappings]
                                 [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                 [--profile-name]
                                 [--resource-group]
                                 [--sku {Custom_Verizon, Premium_AzureFrontDoor, Premium_Verizon, StandardPlus_955BandWidth_ChinaCdn, StandardPlus_AvgBandWidth_ChinaCdn, StandardPlus_ChinaCdn, Standard_955BandWidth_ChinaCdn, Standard_Akamai, Standard_AvgBandWidth_ChinaCdn, Standard_AzureFrontDoor, Standard_ChinaCdn, Standard_Microsoft, Standard_Verizon}]
                                 [--subscription]
                                 [--user-assigned-identities]

可选参数

--identity-type

托管服务标识的类型(其中允许 SystemAssigned 和 UserAssigned 类型)。

接受的值: None, SystemAssigned, SystemAssigned, UserAssigned, UserAssigned
--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

--migration-endpoint-mappings

经典 CDN 终结点与 AFD 高级/标准终结点之间的名称映射。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

--no-wait

不等待长时间运行的操作完成。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--profile-name

在资源组中唯一的 Azure Front Door 标准版或 Azure Front Door Premium 的名称。

--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name> 配置默认组。

--sku

定价层的名称。

接受的值: Custom_Verizon, Premium_AzureFrontDoor, Premium_Verizon, StandardPlus_955BandWidth_ChinaCdn, StandardPlus_AvgBandWidth_ChinaCdn, StandardPlus_ChinaCdn, Standard_955BandWidth_ChinaCdn, Standard_Akamai, Standard_AvgBandWidth_ChinaCdn, Standard_AzureFrontDoor, Standard_ChinaCdn, Standard_Microsoft, Standard_Verizon
--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--user-assigned-identities

与资源关联的用户分配标识集。 userAssignedIdentities 字典密钥将以“/subscriptions/{{subscriptionId}}}/resourceGroups/{{resourceGroupName}}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{{identityName}}”的形式为 ARM 资源 ID。 字典值可以是请求中的空对象 ({{}})。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。