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

az mobile-network pccp

Note

This reference is part of the mobile-network extension for the Azure CLI (version 2.55.0 or higher). 该扩展将在首次运行 az mobile-network pccp 命令时自动安装。 Learn more about extensions.

管理数据包核心控制平面。

命令

名称 说明 类型 Status
az mobile-network pccp collect-diagnostics-package

为指定的数据包核心控制平面收集诊断包。 此作会将诊断上传到存储帐户。

Extension GA
az mobile-network pccp create

创建数据包核心控制平面。

Extension GA
az mobile-network pccp delete

删除指定的数据包核心控制平面。

Extension GA
az mobile-network pccp list

列出订阅中的所有数据包核心控制平面。

Extension GA
az mobile-network pccp reinstall

重新安装指定的数据包核心控制平面。 此作将从数据包核心中删除任何事务状态,以将其返回到已知状态。 此作将导致服务中断。

Extension GA
az mobile-network pccp rollback

将指定的数据包核心控制平面回滚到以前的版本“rollbackVersion”。 无法连续回滚。 此作可能会导致服务中断。

Extension GA
az mobile-network pccp show

获取有关指定数据包核心控制平面的信息。

Extension GA
az mobile-network pccp update

更新数据包核心控制平面。

Extension GA
az mobile-network pccp version

管理数据包核心控制平面版本。

Extension GA
az mobile-network pccp version list

列出所有支持的数据包核心控制平面版本。

Extension GA
az mobile-network pccp version show

获取有关指定数据包核心控制平面版本的信息。

Extension GA
az mobile-network pccp wait

将 CLI 置于等待状态,直到满足条件。

Extension GA

az mobile-network pccp collect-diagnostics-package

为指定的数据包核心控制平面收集诊断包。 此作会将诊断上传到存储帐户。

az mobile-network pccp collect-diagnostics-package --blob-url
                                                   [--ids]
                                                   [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                                   [--pccp-name]
                                                   [--resource-group]
                                                   [--subscription]

示例

收集诊断包

az mobile-network pccp collect-diagnostics-package --pccp-name pccp -g rg --blob-url https://contosoaccount.blob.core.windows.net/container/diagnosticsPackage.zip

必需参数

--blob-url

要将诊断包上传到的存储帐户 Blob URL。

属性
Parameter group: Parameters Arguments

可选参数

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--ids

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

属性
Parameter group: Resource Id Arguments
--no-wait

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

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

数据包核心控制平面的名称。

属性
Parameter group: Resource Id Arguments
--resource-group -g

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

属性
Parameter group: Resource Id Arguments
--subscription

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

属性
Parameter group: Resource Id Arguments
全局参数
--debug

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

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

Output format.

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

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

--verbose

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

属性
默认值: False

az mobile-network pccp create

创建数据包核心控制平面。

az mobile-network pccp create --access-interface
                              --local-diagnostics
                              --name --pccp-name
                              --platform
                              --resource-group
                              --sites
                              --sku {G0, G1, G10, G2, G5}
                              [--core-network-tec {5GC, EPC, EPC + 5GC}]
                              [--identity]
                              [--location]
                              [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                              [--tags]
                              [--ue-mtu]
                              [--version]

示例

创建数据包核心控制平面

az mobile-network pccp create -n pccp-name -g rg --access-interface "{name:N2,ipv4Address:10.28.128.2,ipv4Subnet:10.28.128.0/24,ipv4Gateway:10.28.128.1}" --local-diagnostics "{authentication-type:AAD}" --platform "{type:AKS-HCI}" --sites "[{id:site-id}]" --sku G0

必需参数

--access-interface

访问网络上的控制平面接口。 对于 5G 网络,这是 N2 接口。 对于 4G 网络,这是 S1-MME 接口。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

属性
Parameter group: Properties Arguments
--local-diagnostics

Kubernetes 入口配置,用于通过本地 API 控制对数据包核心诊断的访问。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

属性
Parameter group: Properties Arguments
--name --pccp-name -n

数据包核心控制平面的名称。

--platform

部署数据包核心的平台。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

属性
Parameter group: Properties Arguments
--resource-group -g

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

--sites

应在其中部署此数据包核心控制平面的站点(s)。 站点必须与数据包核心控制平面位于同一位置。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

属性
Parameter group: Properties Arguments
--sku

定义此数据包核心控制平面部署的吞吐量和 SIM 限额的 SKU。

属性
Parameter group: Properties Arguments
接受的值: G0, G1, G10, G2, G5

可选参数

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--core-network-tec

核心网络技术生成(5G 核心或 EPC /4G 核心)。

属性
Parameter group: Properties Arguments
默认值: 5GC
接受的值: 5GC, EPC, EPC + 5GC
--identity

用于从 Azure 密钥保管库检索入口证书的标识。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

属性
Parameter group: Parameters Arguments
--location -l

未指定资源所在的地理位置,将使用资源组的位置。

属性
Parameter group: Parameters Arguments
--no-wait

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

属性
接受的值: 0, 1, f, false, n, no, t, true, y, yes
--tags

Resource tags. 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

属性
Parameter group: Parameters Arguments
--ue-mtu

向 UE 发出信号的 MTU(以字节为单位)。 针对所有数据网络的用户平面数据链接设置相同的 MTU。 在用户平面访问链接上设置的 MTU 计算为大于此值 60 字节,以允许 GTP 封装。

属性
Parameter group: Properties Arguments
默认值: 1440
--version

部署的数据包核心软件的版本。

属性
Parameter group: Properties Arguments
全局参数
--debug

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

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

Output format.

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

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

--subscription

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

--verbose

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

属性
默认值: False

az mobile-network pccp delete

删除指定的数据包核心控制平面。

az mobile-network pccp delete [--ids]
                              [--name --pccp-name]
                              [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                              [--resource-group]
                              [--subscription]
                              [--yes]

示例

删除数据包核心控制平面

az mobile-network pccp delete -n pccp-name -g rg -y

可选参数

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--ids

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

属性
Parameter group: Resource Id Arguments
--name --pccp-name -n

数据包核心控制平面的名称。

属性
Parameter group: Resource Id Arguments
--no-wait

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

属性
接受的值: 0, 1, f, false, n, no, t, true, y, yes
--resource-group -g

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

属性
Parameter group: Resource Id Arguments
--subscription

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

属性
Parameter group: Resource Id Arguments
--yes -y

不要提示确认。

属性
默认值: False
全局参数
--debug

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

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

Output format.

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

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

--verbose

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

属性
默认值: False

az mobile-network pccp list

列出订阅中的所有数据包核心控制平面。

az mobile-network pccp list [--max-items]
                            [--next-token]
                            [--resource-group]

示例

按资源组列出数据包核心控制平面

az mobile-network pccp list -g rg

可选参数

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--max-items

命令输出中要返回的项总数。 如果可用的项总数大于指定的值,则会在命令的输出中提供令牌。 若要恢复分页,请在后续命令的 --next-token 参数中提供令牌值。

属性
Parameter group: Pagination Arguments
--next-token

用于指定开始分页的位置的令牌。 这是先前截断的响应中的令牌值。

属性
Parameter group: Pagination Arguments
--resource-group -g

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

全局参数
--debug

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

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

Output format.

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

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

--subscription

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

--verbose

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

属性
默认值: False

az mobile-network pccp reinstall

重新安装指定的数据包核心控制平面。 此作将从数据包核心中删除任何事务状态,以将其返回到已知状态。 此作将导致服务中断。

az mobile-network pccp reinstall [--ids]
                                 [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                 [--pccp-name]
                                 [--resource-group]
                                 [--subscription]

示例

重新安装数据包核心控制平面

az mobile-network pccp reinstall --pccp-name pccp-name -g rg

可选参数

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--ids

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

属性
Parameter group: Resource Id Arguments
--no-wait

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

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

数据包核心控制平面的名称。

属性
Parameter group: Resource Id Arguments
--resource-group -g

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

属性
Parameter group: Resource Id Arguments
--subscription

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

属性
Parameter group: Resource Id Arguments
全局参数
--debug

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

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

Output format.

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

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

--verbose

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

属性
默认值: False

az mobile-network pccp rollback

将指定的数据包核心控制平面回滚到以前的版本“rollbackVersion”。 无法连续回滚。 此作可能会导致服务中断。

az mobile-network pccp rollback [--ids]
                                [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                [--pccp-name]
                                [--resource-group]
                                [--subscription]

示例

回滚数据包核心控制平面

az mobile-network pccp rollback --pccp-name pccp-name -g rg

可选参数

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--ids

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

属性
Parameter group: Resource Id Arguments
--no-wait

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

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

数据包核心控制平面的名称。

属性
Parameter group: Resource Id Arguments
--resource-group -g

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

属性
Parameter group: Resource Id Arguments
--subscription

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

属性
Parameter group: Resource Id Arguments
全局参数
--debug

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

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

Output format.

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

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

--verbose

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

属性
默认值: False

az mobile-network pccp show

获取有关指定数据包核心控制平面的信息。

az mobile-network pccp show [--ids]
                            [--name --pccp-name]
                            [--resource-group]
                            [--subscription]

示例

显示数据包核心控制平面

az mobile-network pccp show -n pccp-name -g rg

可选参数

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--ids

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

属性
Parameter group: Resource Id Arguments
--name --pccp-name -n

数据包核心控制平面的名称。

属性
Parameter group: Resource Id Arguments
--resource-group -g

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

属性
Parameter group: Resource Id Arguments
--subscription

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

属性
Parameter group: Resource Id Arguments
全局参数
--debug

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

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

Output format.

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

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

--verbose

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

属性
默认值: False

az mobile-network pccp update

更新数据包核心控制平面。

az mobile-network pccp update [--access-interface]
                              [--add]
                              [--core-network-tec {5GC, EPC, EPC + 5GC}]
                              [--force-string {0, 1, f, false, n, no, t, true, y, yes}]
                              [--identity]
                              [--ids]
                              [--local-diagnostics]
                              [--name --pccp-name]
                              [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                              [--platform]
                              [--remove]
                              [--resource-group]
                              [--set]
                              [--sites]
                              [--sku {G0, G1, G10, G2, G5}]
                              [--subscription]
                              [--tags]
                              [--ue-mtu]
                              [--version]

示例

更新数据包核心控制平面标记

az mobile-network pccp update -n pccp-name -g rg --ue-mtu 1500 --tags "{tag:test,tag2:test2}"

可选参数

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--access-interface

访问网络上的控制平面接口。 对于 5G 网络,这是 N2 接口。 对于 4G 网络,这是 S1-MME 接口。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

属性
Parameter group: Properties Arguments
--add

通过指定路径和键值对将对象添加到对象列表。 示例:--add property.listProperty <key=value, string or JSON string>

属性
Parameter group: Generic Update Arguments
--core-network-tec

核心网络技术生成(5G 核心或 EPC /4G 核心)。

属性
Parameter group: Properties Arguments
接受的值: 5GC, EPC, EPC + 5GC
--force-string

使用“set”或“add”时,保留字符串文本,而不是尝试转换为 JSON。

属性
Parameter group: Generic Update Arguments
接受的值: 0, 1, f, false, n, no, t, true, y, yes
--identity

用于从 Azure 密钥保管库检索入口证书的标识。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

属性
Parameter group: Parameters Arguments
--ids

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

属性
Parameter group: Resource Id Arguments
--local-diagnostics

Kubernetes 入口配置,用于通过本地 API 控制对数据包核心诊断的访问。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

属性
Parameter group: Properties Arguments
--name --pccp-name -n

数据包核心控制平面的名称。

属性
Parameter group: Resource Id Arguments
--no-wait

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

属性
接受的值: 0, 1, f, false, n, no, t, true, y, yes
--platform

部署数据包核心的平台。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

属性
Parameter group: Properties Arguments
--remove

从列表中删除属性或元素。 示例: --remove property.list <indexToRemove> OR --remove propertyToRemove.

属性
Parameter group: Generic Update Arguments
--resource-group -g

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

属性
Parameter group: Resource Id Arguments
--set

通过指定要设置的属性路径和值来更新对象。 示例:--set property1.property2=<value>

属性
Parameter group: Generic Update Arguments
--sites

应在其中部署此数据包核心控制平面的站点(s)。 站点必须与数据包核心控制平面位于同一位置。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

属性
Parameter group: Properties Arguments
--sku

定义此数据包核心控制平面部署的吞吐量和 SIM 限额的 SKU。

属性
Parameter group: Properties Arguments
接受的值: G0, G1, G10, G2, G5
--subscription

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

属性
Parameter group: Resource Id Arguments
--tags

Resource tags. 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

属性
Parameter group: Parameters Arguments
--ue-mtu

向 UE 发出信号的 MTU(以字节为单位)。 针对所有数据网络的用户平面数据链接设置相同的 MTU。 在用户平面访问链接上设置的 MTU 计算为大于此值 60 字节,以允许 GTP 封装。

属性
Parameter group: Properties Arguments
--version

部署的数据包核心软件的版本。

属性
Parameter group: Properties Arguments
全局参数
--debug

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

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

Output format.

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

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

--verbose

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

属性
默认值: False

az mobile-network pccp wait

将 CLI 置于等待状态,直到满足条件。

az mobile-network pccp wait [--created]
                            [--custom]
                            [--deleted]
                            [--exists]
                            [--ids]
                            [--interval]
                            [--name --pccp-name]
                            [--resource-group]
                            [--subscription]
                            [--timeout]
                            [--updated]

可选参数

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--created

等待在“Succeeded”中使用“provisioningState”创建。

属性
Parameter group: Wait Condition Arguments
默认值: False
--custom

等待条件满足自定义 JMESPath 查询。 例如 provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running']。

属性
Parameter group: Wait Condition Arguments
--deleted

等到删除为止。

属性
Parameter group: Wait Condition Arguments
默认值: False
--exists

等待资源存在。

属性
Parameter group: Wait Condition Arguments
默认值: False
--ids

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

属性
Parameter group: Resource Id Arguments
--interval

轮询间隔(以秒为单位)。

属性
Parameter group: Wait Condition Arguments
默认值: 30
--name --pccp-name -n

数据包核心控制平面的名称。

属性
Parameter group: Resource Id Arguments
--resource-group -g

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

属性
Parameter group: Resource Id Arguments
--subscription

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

属性
Parameter group: Resource Id Arguments
--timeout

最大等待(以秒为单位)。

属性
Parameter group: Wait Condition Arguments
默认值: 3600
--updated

等到 provisioningState 更新为“Succeeded”。

属性
Parameter group: Wait Condition Arguments
默认值: False
全局参数
--debug

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

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

Output format.

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

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

--verbose

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

属性
默认值: False