az appnet member
注释
此引用是 Azure CLI 的 appnet-preview 扩展的一部分(版本 2.75.0 或更高版本)。 该扩展将在首次运行 az appnet member 命令时自动安装。 了解更多关于扩展程序的信息。
命令组“az appnet”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
用于管理 Azure Kubernetes 应用程序网络中的成员的命令。
命令
| 名称 | 说明 | 类型 | Status |
|---|---|---|---|
| az appnet member join |
将 kubernetes 群集加入应用程序网络。 |
扩展 | 预览 |
| az appnet member list |
列出应用程序网络资源的成员。 |
扩展 | 预览 |
| az appnet member remove |
从应用程序网络中删除成员。 |
扩展 | 预览 |
| az appnet member show |
获取应用程序网络资源的成员。 |
扩展 | 预览 |
| az appnet member update |
更新应用程序网络成员资源。 |
扩展 | 预览 |
| az appnet member wait |
将 CLI 置于等待状态,直到满足条件。 |
扩展 | 预览 |
az appnet member join
命令组“az appnet”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 kubernetes 群集加入应用程序网络。
az appnet member join [--acquire-policy-token]
[--appnet-name]
[--change-reference]
[--cluster-type {AKS}]
[--east-west-gateway {External, Internal}]
[--ids]
[--member-location]
[--member-name]
[--member-resource-id]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--private-connect-subnet]
[--release-channel {Rapid, Stable}]
[--resource-group]
[--subscription]
[--tags]
[--upgrade-mode {FullyManaged, SelfManaged}]
[--version]
示例
使用完全托管将 AKS 群集加入应用程序网络资源
az appnet member join --resource-group test_rg --appnet-name appnet-test-01 --member-name member-01 --cluster-type AKS --member-resource-id /subscriptions/bc7e0da9-5e4c-4a91-9252-9658837006cf/resourcegroups/test-rg/providers/Microsoft.ContainerService/managedClusters/test-member1 --upgrade-mode FullyManaged --release-channel Stable --member-location westus2
使用自管理升级将 AKS 群集加入应用程序网络资源
az appnet member join --resource-group test_rg --appnet-name appnet-test-01 --member-name member-01 --cluster-type AKS --member-resource-id /subscriptions/bc7e0da9-5e4c-4a91-9252-9658837006cf/resourcegroups/test-rg/providers/Microsoft.ContainerService/managedClusters/test-member1 --upgrade-mode SelfManaged --version 1.4 --member-location westus2
可选参数
以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。
为此资源操作自动获取Azure Policy令牌。
| 属性 | 值 |
|---|---|
| 参数组: | Global Policy Arguments |
应用程序网络的名称。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
此资源操作的相关更改引用 ID。
| 属性 | 值 |
|---|---|
| 参数组: | Global Policy Arguments |
群集类型。
| 属性 | 值 |
|---|---|
| 参数组: | Properties Arguments |
| 默认值: | AKS |
| 接受的值: | AKS |
East-West 网关可视化。
| 属性 | 值 |
|---|---|
| 参数组: | Connectivity Arguments |
| 默认值: | Internal |
| 接受的值: | External, Internal |
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
未指定资源所在的地理位置,将使用资源组的位置。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Arguments |
应用程序网络资源中成员的名称。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
托管群集资源 ID。
| 属性 | 值 |
|---|---|
| 参数组: | Metadata Arguments |
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
将子网委托给AppLink。
| 属性 | 值 |
|---|---|
| 参数组: | Connectivity Arguments |
发布通道。
| 属性 | 值 |
|---|---|
| 参数组: | Upgrade Arguments |
| 接受的值: | Rapid, Stable |
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
资源标记。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Arguments |
升级模式。
| 属性 | 值 |
|---|---|
| 参数组: | Upgrade Arguments |
| 默认值: | SelfManaged |
| 接受的值: | FullyManaged, SelfManaged |
Istio 版本。
| 属性 | 值 |
|---|---|
| 参数组: | Upgrade Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
只显示错误,取消显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az appnet member list
命令组“az appnet”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
列出应用程序网络资源的成员。
az appnet member list --appnet-name
--resource-group
[--max-items]
[--next-token]
示例
列出应用程序网络资源的成员
az appnet member list --resource-group test_rg --appnet-name appnet-test-01
必需参数
应用程序网络的名称。
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
可选参数
以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。
命令输出中要返回的项总数。 如果可用的项总数大于指定的值,则会在命令的输出中提供令牌。 若要恢复分页,请在后续命令的 --next-token 参数中提供令牌值。
| 属性 | 值 |
|---|---|
| 参数组: | Pagination Arguments |
用于指定开始分页的位置的令牌。 这是先前截断的响应中的令牌值。
| 属性 | 值 |
|---|---|
| 参数组: | Pagination Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
只显示错误,取消显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az appnet member remove
命令组“az appnet”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
从应用程序网络中删除成员。
az appnet member remove [--acquire-policy-token]
[--appnet-name]
[--change-reference]
[--ids]
[--member-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
[--yes]
示例
删除应用程序网络成员
az appnet member remove --resource-group test_rg --appnet-name appnet-test-01 --member-name member-01
可选参数
以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。
为此资源操作自动获取Azure Policy令牌。
| 属性 | 值 |
|---|---|
| 参数组: | Global Policy Arguments |
应用程序网络的名称。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
此资源操作的相关更改引用 ID。
| 属性 | 值 |
|---|---|
| 参数组: | Global Policy Arguments |
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
应用程序网络资源中成员的名称。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
不请求确认。
| 属性 | 值 |
|---|---|
| 默认值: | False |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
只显示错误,取消显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az appnet member show
命令组“az appnet”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
获取应用程序网络资源的成员。
az appnet member show [--appnet-name]
[--ids]
[--member-name]
[--resource-group]
[--subscription]
示例
获取应用程序网络成员
az appnet member show --resource-group test_rg --appnet-name appnet-test-01 --member-name member-01
可选参数
以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。
应用程序网络的名称。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
应用程序网络资源中成员的名称。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
只显示错误,取消显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az appnet member update
命令组“az appnet”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
更新应用程序网络成员资源。
az appnet member update [--acquire-policy-token]
[--appnet-name]
[--change-reference]
[--east-west-gateway {External, Internal}]
[--ids]
[--member-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--release-channel {Rapid, Stable}]
[--resource-group]
[--subscription]
[--tags]
[--version]
示例
更新应用程序网络成员的发布通道
az appnet member update --resource-group test_rg --appnet-name appnet-test-01 --member-name member-01 --release-channel Stable
更新应用程序网络成员的应用程序网络版本
az appnet member update --resource-group test_rg --appnet-name appnet-test-01 --member-name member-01 --version 1.4
可选参数
以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。
为此资源操作自动获取Azure Policy令牌。
| 属性 | 值 |
|---|---|
| 参数组: | Global Policy Arguments |
应用程序网络的名称。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
此资源操作的相关更改引用 ID。
| 属性 | 值 |
|---|---|
| 参数组: | Global Policy Arguments |
East-West 网关可视化。
| 属性 | 值 |
|---|---|
| 参数组: | Connectivity Arguments |
| 接受的值: | External, Internal |
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
应用程序网络资源中成员的名称。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 接受的值: | 0, 1, f, false, n, no, t, true, y, yes |
发布通道。
| 属性 | 值 |
|---|---|
| 参数组: | Upgrade Arguments |
| 接受的值: | Rapid, Stable |
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
资源标记。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。
| 属性 | 值 |
|---|---|
| 参数组: | Properties Arguments |
Istio 版本。
| 属性 | 值 |
|---|---|
| 参数组: | Upgrade Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
只显示错误,取消显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az appnet member wait
命令组“az appnet”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 CLI 置于等待状态,直到满足条件。
az appnet member wait [--acquire-policy-token]
[--appnet-name]
[--change-reference]
[--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--member-name]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
可选参数
以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。
为此资源操作自动获取Azure Policy令牌。
| 属性 | 值 |
|---|---|
| 参数组: | Global Policy Arguments |
应用程序网络的名称。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
此资源操作的相关更改引用 ID。
| 属性 | 值 |
|---|---|
| 参数组: | Global Policy Arguments |
等待在“Succeeded”中使用“provisioningState”创建。
| 属性 | 值 |
|---|---|
| 参数组: | Wait Condition Arguments |
| 默认值: | False |
等待条件满足自定义 JMESPath 查询。 例如 provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running']。
| 属性 | 值 |
|---|---|
| 参数组: | Wait Condition Arguments |
等到删除为止。
| 属性 | 值 |
|---|---|
| 参数组: | Wait Condition Arguments |
| 默认值: | False |
等待资源存在。
| 属性 | 值 |
|---|---|
| 参数组: | Wait Condition Arguments |
| 默认值: | False |
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
轮询间隔(以秒为单位)。
| 属性 | 值 |
|---|---|
| 参数组: | Wait Condition Arguments |
| 默认值: | 30 |
应用程序网络资源中成员的名称。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
| 属性 | 值 |
|---|---|
| 参数组: | Resource Id Arguments |
最大等待(以秒为单位)。
| 属性 | 值 |
|---|---|
| 参数组: | Wait Condition Arguments |
| 默认值: | 3600 |
等到 provisioningState 更新为“Succeeded”。
| 属性 | 值 |
|---|---|
| 参数组: | Wait Condition Arguments |
| 默认值: | False |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
只显示错误,取消显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |