az connectedmachine license-profile
Note
This reference is part of the connectedmachine extension for the Azure CLI (version 2.57.0 or higher). 拡張機能は、az connectedmachine license-profile コマンドを初めて実行するときに自動的にインストールされます。 Learn more about extensions.
Azure Arc-Enabled Server のすべての従量課金制You-Go ライセンスを管理します。
コマンド
名前 | 説明 | 型 | 状態 |
---|---|---|---|
az connectedmachine license-profile create |
ライセンス プロファイルを作成する操作を作成します。 |
Extension | GA |
az connectedmachine license-profile delete |
ライセンス プロファイルを削除する削除操作。 |
Extension | GA |
az connectedmachine license-profile list |
Azure 以外のマシンのすべてのライセンス プロファイルを取得する操作を一覧表示します。 |
Extension | GA |
az connectedmachine license-profile show |
ライセンス プロファイルのビューに関する情報を取得します。 |
Extension | GA |
az connectedmachine license-profile update |
ライセンス プロファイルを更新するための更新操作。 |
Extension | GA |
az connectedmachine license-profile wait |
条件が満たされるまで CLI を待機状態にします。 |
Extension | GA |
az connectedmachine license-profile create
ライセンス プロファイルを作成する操作を作成します。
az connectedmachine license-profile create --machine-name
--resource-group
[--assigned-license]
[--location]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--product-features]
[--product-type {WindowsIoTEnterprise, WindowsServer}]
[--software-assurance --software-assurance-customer {0, 1, f, false, n, no, t, true, y, yes}]
[--subscription-status {Disabled, Disabling, Enabled, Enabling, Failed, Unknown}]
[--tags]
例
ライセンス プロファイルを作成する
az connectedmachine license-profile create --resource-group myRg --machine-name myMachine --location eastus --subscription-status Enabled --product-type WindowsServer --product-features "[{name:Hotpatch,subscription-status:Enabled}]"
必須のパラメーター
ハイブリッド マシンの名前。
リソース グループの名前。
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.
ライセンスのリソース ID。
プロパティ | 値 |
---|---|
Parameter group: | EsuProfile Arguments |
リソースが存在する地理的な場所 を指定しない場合は、リソース グループの場所が使用されます。
プロパティ | 値 |
---|---|
Parameter group: | Parameters Arguments |
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
指定可能な値: | 0, 1, f, false, n, no, t, true, y, yes |
製品機能の一覧。 短縮構文、json-file、yaml-file をサポートします。 詳細を表示するには、"??" を試してください。
プロパティ | 値 |
---|---|
Parameter group: | ProductProfile Arguments |
ライセンスの製品の種類を示します。
プロパティ | 値 |
---|---|
Parameter group: | ProductProfile Arguments |
指定可能な値: | WindowsIoTEnterprise, WindowsServer |
このマシンがソフトウェア アシュアランス契約の一部としてライセンスされているかどうかを指定します。
プロパティ | 値 |
---|---|
Parameter group: | SoftwareAssurance Arguments |
指定可能な値: | 0, 1, f, false, n, no, t, true, y, yes |
製品のサブスクリプションの状態を示します。
プロパティ | 値 |
---|---|
Parameter group: | ProductProfile Arguments |
指定可能な値: | Disabled, Disabling, Enabled, Enabling, Failed, Unknown |
Resource tags. 短縮構文、json-file、yaml-file をサポートします。 詳細を表示するには、"??" を試してください。
プロパティ | 値 |
---|---|
Parameter group: | Parameters 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-profile delete
ライセンス プロファイルを削除する削除操作。
az connectedmachine license-profile delete [--ids]
[--machine-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
[--yes]
例
ライセンス プロファイルを削除する
az connectedmachine license-profile delete --resource-group myResourceGroup --machine-name myMachine
省略可能のパラメーター
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-profile list
Azure 以外のマシンのすべてのライセンス プロファイルを取得する操作を一覧表示します。
az connectedmachine license-profile list --machine-name
--resource-group
[--max-items]
[--next-token]
例
すべてのライセンス プロファイルを一覧表示する
az connectedmachine license-profile list --resource-group myResourceGroup --machine-name myMachine
必須のパラメーター
コンピュータの名前。
リソース グループの名前。
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.
コマンドの出力で返される項目の合計数。 使用可能な項目の合計数が指定された値を超える場合は、コマンドの出力にトークンが提供されます。 改ページ位置の変更を再開するには、後続のコマンドの引数 --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-profile show
ライセンス プロファイルのビューに関する情報を取得します。
az connectedmachine license-profile show [--ids]
[--machine-name]
[--resource-group]
[--subscription]
例
ライセンス プロファイルの取得
az connectedmachine license-profile show --resource-group myResourceGroup --machine-name myMachine
省略可能のパラメーター
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-profile update
ライセンス プロファイルを更新するための更新操作。
az connectedmachine license-profile update [--assigned-license]
[--ids]
[--machine-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--product-features]
[--product-type {WindowsIoTEnterprise, WindowsServer}]
[--resource-group]
[--software-assurance --software-assurance-customer {0, 1, f, false, n, no, t, true, y, yes}]
[--subscription]
[--subscription-status {Disable, Enable}]
[--tags]
例
license-profile 更新のサンプル コマンド
az connectedmachine license-profile udpate --resource-group myRg --machine-name myMachine --location eastus --subscription-status Enabled --product-type WindowsServer --product- features "[{name:Hotpatch,subscription-status:Enabled}]"
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
ライセンスのリソース ID。
プロパティ | 値 |
---|---|
Parameter group: | EsuProfile Arguments |
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 |
製品機能の更新プログラムの一覧。 短縮構文、json-file、yaml-file をサポートします。 詳細を表示するには、"??" を試してください。
プロパティ | 値 |
---|---|
Parameter group: | ProductProfile Arguments |
ライセンスの製品の種類を示します。
プロパティ | 値 |
---|---|
Parameter group: | ProductProfile Arguments |
指定可能な値: | WindowsIoTEnterprise, WindowsServer |
リソース グループの名前。
az configure --defaults group=<name>
を使用して既定のグループを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
このマシンがソフトウェア アシュアランス契約の一部としてライセンスされているかどうかを指定します。
プロパティ | 値 |
---|---|
Parameter group: | SoftwareAssurance Arguments |
指定可能な値: | 0, 1, f, false, n, no, t, true, y, yes |
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して既定のサブスクリプションを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
製品のサブスクリプションの状態を示します。
プロパティ | 値 |
---|---|
Parameter group: | ProductProfile Arguments |
指定可能な値: | Disable, Enable |
リソース タグでは、短縮構文、json-file、yaml-file がサポートされます。 詳細を表示するには、"??" を試してください。
プロパティ | 値 |
---|---|
Parameter group: | Parameters Arguments |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
Output format.
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |
az connectedmachine license-profile wait
条件が満たされるまで CLI を待機状態にします。
az connectedmachine license-profile wait [--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--license-profile-name --name {default}]
[--machine-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 |
指定可能な値: | default |
ハイブリッド マシンの名前。
プロパティ | 値 |
---|---|
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 |