gws-licensing
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineselicensing (v1)
licensing (v1)
PREREQUISITE: Readfor auth, global flags, and security rules. If missing, run../gws-shared/SKILL.mdto create it.gws generate-skills
bash
gws licensing <resource> <method> [flags]前提条件: 阅读了解认证、全局标志和安全规则。如果该文件缺失,请运行../gws-shared/SKILL.md来创建它。gws generate-skills
bash
gws licensing <resource> <method> [flags]API Resources
API 资源
licenseAssignments
licenseAssignments
- — Revoke a license.
delete- — Get a specific user's license by product SKU.
get - — Assign a license.
insert - — List all users assigned licenses for a specific product SKU.
listForProduct - — List all users assigned licenses for a specific product SKU.
listForProductAndSku - — Reassign a user's product SKU with a different SKU in the same product. This method supports patch semantics.
patch - — Reassign a user's product SKU with a different SKU in the same product.
update
- — 撤销许可证。
delete- — 通过产品SKU获取特定用户的许可证。
get - — 分配许可证。
insert - — 列出所有被分配了特定产品SKU许可证的用户。
listForProduct - — 列出所有被分配了特定产品SKU许可证的用户。
listForProductAndSku - — 使用同一产品中的不同SKU重新分配用户的产品SKU。此方法支持patch语义。
patch - — 使用同一产品中的不同SKU重新分配用户的产品SKU。
update
Discovering Commands
探索命令
Before calling any API method, inspect it:
bash
undefined在调用任何API方法之前,请先查看它:
bash
undefinedBrowse resources and methods
浏览资源和方法
gws licensing --help
gws licensing --help
Inspect a method's required params, types, and defaults
查看方法的必填参数、类型和默认值
gws schema licensing.<resource>.<method>
Use `gws schema` output to build your `--params` and `--json` flags.gws schema licensing.<resource>.<method>
使用 `gws schema` 的输出来构建你的 `--params` 和 `--json` 标志。