az connectedmachine license
Note
This reference is part of the connectedmachine extension for the Azure CLI (version 2.57.0 or higher). 拡張機能は、az connectedmachine license コマンドを初めて実行するときに自動的にインストールされます。 Learn more about extensions.
Azure Arc-Enabled Server で ESU ライセンスを管理します。
コマンド
名前 | 説明 | 型 | 状態 |
---|---|---|---|
az connectedmachine license create |
ライセンスを作成します。 |
Extension | GA |
az connectedmachine license delete |
ライセンスを削除します。 |
Extension | GA |
az connectedmachine license list |
Azure 以外のマシンのすべてのライセンスを取得します。 |
Extension | GA |
az connectedmachine license show |
ライセンスのビューに関する情報を取得します。 |
Extension | GA |
az connectedmachine license update |
ライセンスを更新するための更新操作。 |
Extension | GA |
az connectedmachine license wait |
条件が満たされるまで CLI を待機状態にします。 |
Extension | GA |
az connectedmachine license create
ライセンスを作成します。
az connectedmachine license create --license-name --name
--resource-group
[--edition {Datacenter, Standard}]
[--license-type {ESU}]
[--___location]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--processors]
[--state {Activated, Deactivated}]
[--tags]
[--target {Windows Server 2012, Windows Server 2012 R2}]
[--tenant-id]
[--type {pCore, vCore}]
[--volume-license-details]
例
ライセンス作成のサンプル コマンド
az connectedmachine license create --name licenseName --resource-group myResourceGroup --___location 'eastus2euap' --license-type 'ESU' --state 'Activated' --target 'Windows Server 2012' --edition 'Datacenter' --type 'pCore' --processors 16 --subscription mySubscription
必須のパラメーター
ライセンスの名前。
リソース グループの名前。
az configure --defaults group=<name>
を使用して既定のグループを構成できます。
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
ライセンスのエディションについて説明します。 値は Standard または Datacenter です。
プロパティ | 値 |
---|---|
Parameter group: | LicenseDetails Arguments |
指定可能な値: | Datacenter, Standard |
ライセンス リソースの種類。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
指定可能な値: | ESU |
リソースが存在する地理的な場所 を指定しない場合は、リソース グループの場所が使用されます。
プロパティ | 値 |
---|---|
Parameter group: | Parameters Arguments |
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
指定可能な値: | 0, 1, f, false, n, no, t, true, y, yes |
プロセッサの数について説明します。
プロパティ | 値 |
---|---|
Parameter group: | LicenseDetails Arguments |
ライセンスの状態について説明します。
プロパティ | 値 |
---|---|
Parameter group: | LicenseDetails Arguments |
指定可能な値: | Activated, Deactivated |
Resource tags. 短縮構文、json-file、yaml-file をサポートします。 詳細を表示するには、"??" を試してください。
プロパティ | 値 |
---|---|
Parameter group: | Parameters Arguments |
ライセンス ターゲット サーバーについて説明します。
プロパティ | 値 |
---|---|
Parameter group: | LicenseDetails Arguments |
指定可能な値: | Windows Server 2012, Windows Server 2012 R2 |
テナント ID について説明します。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
ライセンス コアの種類 (pCore または仮想コア) について説明します。
プロパティ | 値 |
---|---|
Parameter group: | LicenseDetails Arguments |
指定可能な値: | pCore, vCore |
ボリューム ライセンスの詳細の一覧。 短縮構文、json-file、yaml-file をサポートします。 詳細を表示するには、"??" を試してください。
プロパティ | 値 |
---|---|
Parameter group: | LicenseDetails Arguments |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
Output format.
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して既定のサブスクリプションを構成できます。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |
az connectedmachine license delete
ライセンスを削除します。
az connectedmachine license delete [--ids]
[--license-name --name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
[--yes]
例
ライセンス削除のサンプル コマンド
az connectedmachine license delete --resource-group myResourceGroup --license-name licenseName --subscription mySubscription
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
ライセンスの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
指定可能な値: | 0, 1, f, false, n, no, t, true, y, yes |
リソース グループの名前。
az configure --defaults group=<name>
を使用して既定のグループを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して既定のサブスクリプションを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
確認を求めないでください。
プロパティ | 値 |
---|---|
規定値: | False |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
Output format.
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |
az connectedmachine license list
Azure 以外のマシンのすべてのライセンスを取得します。
az connectedmachine license list [--max-items]
[--next-token]
例
ライセンス 一覧のサンプル コマンド
az connectedmachine license list --subscription mySubscription
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
コマンドの出力で返される項目の合計数。 使用可能な項目の合計数が指定された値を超える場合は、コマンドの出力にトークンが提供されます。 改ページ位置の変更を再開するには、後続のコマンドの引数 --next-token
トークン値を指定します。
プロパティ | 値 |
---|---|
Parameter group: | Pagination Arguments |
ページ分割を開始する場所を指定するトークン。 これは、以前に切り捨てられた応答からのトークン値です。
プロパティ | 値 |
---|---|
Parameter group: | Pagination Arguments |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
Output format.
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して既定のサブスクリプションを構成できます。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |
az connectedmachine license show
ライセンスのビューに関する情報を取得します。
az connectedmachine license show [--ids]
[--license-name --name]
[--resource-group]
[--subscription]
例
ライセンス ショーのサンプル コマンド
az connectedmachine license show --resource-group myResourceGroup --license-name licenseName --subscription mySubscription
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
ライセンスの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
リソース グループの名前。
az configure --defaults group=<name>
を使用して既定のグループを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して既定のサブスクリプションを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
Output format.
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |
az connectedmachine license update
ライセンスを更新するための更新操作。
az connectedmachine license update [--edition {Datacenter, Standard}]
[--ids]
[--license-name --name]
[--license-type {ESU}]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--processors]
[--resource-group]
[--state {Activated, Deactivated}]
[--subscription]
[--tags]
[--target {Windows Server 2012, Windows Server 2012 R2}]
[--type {pCore, vCore}]
例
ライセンス更新のサンプル コマンド
az connectedmachine license update --name licenseName --resource-group myResourceGroup --license-type 'ESU' --state 'Deactivated' --target 'Windows Server 2012' --edition 'Datacenter' --type 'pCore' --processors 16 --subscription mySubscription
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
ライセンスのエディションについて説明します。 値は Standard または Datacenter です。
プロパティ | 値 |
---|---|
Parameter group: | LicenseDetails Arguments |
指定可能な値: | Datacenter, Standard |
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
ライセンスの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
ライセンス リソースの種類。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
指定可能な値: | ESU |
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
指定可能な値: | 0, 1, f, false, n, no, t, true, y, yes |
プロセッサの数について説明します。
プロパティ | 値 |
---|---|
Parameter group: | LicenseDetails Arguments |
リソース グループの名前。
az configure --defaults group=<name>
を使用して既定のグループを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
ライセンスの状態について説明します。
プロパティ | 値 |
---|---|
Parameter group: | LicenseDetails Arguments |
指定可能な値: | Activated, Deactivated |
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して既定のサブスクリプションを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
リソース タグでは、短縮構文、json-file、yaml-file がサポートされます。 詳細を表示するには、"??" を試してください。
プロパティ | 値 |
---|---|
Parameter group: | Parameters Arguments |
ライセンス ターゲット サーバーについて説明します。
プロパティ | 値 |
---|---|
Parameter group: | LicenseDetails Arguments |
指定可能な値: | Windows Server 2012, Windows Server 2012 R2 |
ライセンス コアの種類 (pCore または仮想コア) について説明します。
プロパティ | 値 |
---|---|
Parameter group: | LicenseDetails Arguments |
指定可能な値: | pCore, vCore |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
Output format.
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |
az connectedmachine license wait
条件が満たされるまで CLI を待機状態にします。
az connectedmachine license wait [--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--license-name --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.
'provisioningState' が 'Succeeded' で作成されるまで待ちます。
プロパティ | 値 |
---|---|
Parameter group: | Wait Condition Arguments |
規定値: | False |
条件がカスタム JMESPath クエリを満たすまで待ちます。 例: provisioningState!='InProgress'、instanceView.statuses[?code=='PowerState/running']。
プロパティ | 値 |
---|---|
Parameter group: | Wait Condition Arguments |
削除されるまで待ちます。
プロパティ | 値 |
---|---|
Parameter group: | Wait Condition Arguments |
規定値: | False |
リソースが存在するまで待ちます。
プロパティ | 値 |
---|---|
Parameter group: | Wait Condition Arguments |
規定値: | False |
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
ポーリング間隔 (秒単位)。
プロパティ | 値 |
---|---|
Parameter group: | Wait Condition Arguments |
規定値: | 30 |
ライセンスの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
リソース グループの名前。
az configure --defaults group=<name>
を使用して既定のグループを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して既定のサブスクリプションを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
最大待機時間 (秒単位)。
プロパティ | 値 |
---|---|
Parameter group: | Wait Condition Arguments |
規定値: | 3600 |
provisioningState が 'Succeeded' で更新されるまで待ちます。
プロパティ | 値 |
---|---|
Parameter group: | Wait Condition Arguments |
規定値: | False |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
Output format.
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |