az lambda-test hyper-execute organization

注释

此参考是 Azure CLI(版本 2.70.0 或更高版本)的 lambda 测试 扩展的一部分。 该扩展将在首次运行 az lambda-test hyper-execute organization 命令时自动安装。 了解更多关于扩展的信息。

管理组织。

命令

名称 说明 类型 Status
az lambda-test hyper-execute organization create

创建 OrganizationResource。

扩展 乔治亚州
az lambda-test hyper-execute organization delete

删除 OrganizationResource。

扩展 乔治亚州
az lambda-test hyper-execute organization list

按订阅 ID 列出 OrganizationResource 资源。

扩展 乔治亚州
az lambda-test hyper-execute organization show

获取 OrganizationResource。

扩展 乔治亚州
az lambda-test hyper-execute organization wait

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

扩展 乔治亚州

az lambda-test hyper-execute organization create

创建 OrganizationResource。

az lambda-test hyper-execute organization create --name --organizationname
                                                 --resource-group
                                                 [--___location]
                                                 [--marketplace]
                                                 [--mi-system-assigned --system-assigned]
                                                 [--mi-user-assigned --user-assigned]
                                                 [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                                 [--partner-properties]
                                                 [--single-sign-on-properties --sso-properties]
                                                 [--tags]
                                                 [--user]

示例

Organizations_CreateOrUpdate_MaximumSet_Gen - 由 [MaximumSet] 规则生成 - 由 [MaximumSet] 规则生成 - 由 [MaximumSet] 规则生成

az lambda-test hyper-execute organization create --resource-group abdul-test --organizationname test-cli-instance-4 --marketplace "{subscription-id:fc35d936-3b89-41f8-8110-a24b56826c37,offer-details:{publisher-id:lambdatestinc1584019832435,offer-id:lambdatest_liftr_testing,plan-id:testing,plan-name:testing_liftr,term-unit:P1Y,term-id:o73usof6rkyy}}" --user "{first-name:Joe,last-name:Aggarwal,email-address:aggarwalsw@microsoft.com,upn:aggarwalsw@microsoft.com}" --partner-properties "{licenses-subscribed:1}" --single-sign-on-properties "{type:Saml,enterprise-app-id:0b9873df-1629-4036-9360-5f2f65c0a0d3,aad-domains:[MicrosoftCustomerLed.onmicrosoft.com]}" --___location Central US EUAP

必需参数

--name --organizationname -n

组织资源的名称。

--resource-group -g

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

可选参数

--___location -l

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

--marketplace

资源的市场详细信息。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

--mi-system-assigned --system-assigned

设置系统托管标识。

--mi-user-assigned --user-assigned

设置用户托管标识。 支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

--no-wait

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

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

合作伙伴属性支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

--single-sign-on-properties --sso-properties

单一登录属性支持速记语法、json-file 和 yaml-file。 请尝试“??” 以显示更多内容。

--tags

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

--user

用户的详细信息。 支持速记语法、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 获取完整的调试日志。

az lambda-test hyper-execute organization delete

删除 OrganizationResource。

az lambda-test hyper-execute organization delete [--ids]
                                                 [--name --organizationname]
                                                 [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                                 [--resource-group]
                                                 [--subscription]
                                                 [--yes]

示例

Organizations_Delete_MaximumSet_Gen - 由 [MaximumSet] 规则生成 - 由 [MaximumSet] 规则生成 - 由 [MaximumSet] 规则生成

az lambda-test hyper-execute organization delete --resource-group abdul-test --organizationname test-cli-instance-4

可选参数

--ids

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

--name --organizationname -n

组织资源的名称。

--no-wait

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

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

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

--subscription

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

--yes -y

不要提示确认。

默认值: False
全局参数
--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 lambda-test hyper-execute organization list

按订阅 ID 列出 OrganizationResource 资源。

az lambda-test hyper-execute organization list [--max-items]
                                               [--next-token]
                                               [--resource-group]

示例

Organizations_ListBySubscription_MaximumSet_Gen - 由 [MaximumSet] 规则生成 - 由 [MaximumSet] 规则生成 - 由 [MaximumSet] 规则生成

az lambda-test hyper-execute organization list --resource-group abdul-test

可选参数

--max-items

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

--next-token

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

--resource-group -g

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

全局参数
--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 lambda-test hyper-execute organization show

获取 OrganizationResource。

az lambda-test hyper-execute organization show [--ids]
                                               [--name --organizationname]
                                               [--resource-group]
                                               [--subscription]

示例

Organizations_Get_MaximumSet_Gen - 由 [MaximumSet] 规则生成 - 由 [MaximumSet] 规则生成 - 由 [MaximumSet] 规则生成

az lambda-test hyper-execute organization show --resource-group abdul-test --organizationname test-cli-instance-3

可选参数

--ids

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

--name --organizationname -n

组织资源的名称。

--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 lambda-test hyper-execute organization wait

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

az lambda-test hyper-execute organization wait [--created]
                                               [--custom]
                                               [--deleted]
                                               [--exists]
                                               [--ids]
                                               [--interval]
                                               [--name --organizationname]
                                               [--resource-group]
                                               [--subscription]
                                               [--timeout]
                                               [--updated]

可选参数

--created

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

默认值: False
--custom

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

--deleted

等到删除为止。

默认值: False
--exists

等待资源存在。

默认值: False
--ids

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

--interval

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

默认值: 30
--name --organizationname -n

组织资源的名称。

--resource-group -g

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

--subscription

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

--timeout

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

默认值: 3600
--updated

等到 provisioningState 更新为“Succeeded”。

默认值: False
全局参数
--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 获取完整的调试日志。