次の方法で共有


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}]"

必須のパラメーター

--machine-name

ハイブリッド マシンの名前。

--resource-group -g

リソース グループの名前。 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.

--assigned-license

ライセンスのリソース ID。

プロパティ
Parameter group: EsuProfile Arguments
--location -l

リソースが存在する地理的な場所 を指定しない場合は、リソース グループの場所が使用されます。

プロパティ
Parameter group: Parameters Arguments
--no-wait

実行時間の長い操作が完了するまで待つ必要はありません。

プロパティ
指定可能な値: 0, 1, f, false, n, no, t, true, y, yes
--product-features

製品機能の一覧。 短縮構文、json-file、yaml-file をサポートします。 詳細を表示するには、"??" を試してください。

プロパティ
Parameter group: ProductProfile Arguments
--product-type

ライセンスの製品の種類を示します。

プロパティ
Parameter group: ProductProfile Arguments
指定可能な値: WindowsIoTEnterprise, WindowsServer
--software-assurance --software-assurance-customer

このマシンがソフトウェア アシュアランス契約の一部としてライセンスされているかどうかを指定します。

プロパティ
Parameter group: SoftwareAssurance Arguments
指定可能な値: 0, 1, f, false, n, no, t, true, y, yes
--subscription-status

製品のサブスクリプションの状態を示します。

プロパティ
Parameter group: ProductProfile Arguments
指定可能な値: Disabled, Disabling, Enabled, Enabling, Failed, Unknown
--tags

Resource tags. 短縮構文、json-file、yaml-file をサポートします。 詳細を表示するには、"??" を試してください。

プロパティ
Parameter group: Parameters Arguments
グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

プロパティ
規定値: False
--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

プロパティ
規定値: False
--output -o

Output format.

プロパティ
規定値: json
指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --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.

--ids

1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。

プロパティ
Parameter group: Resource Id Arguments
--machine-name

ハイブリッド マシンの名前。

プロパティ
Parameter group: Resource Id Arguments
--no-wait

実行時間の長い操作が完了するまで待つ必要はありません。

プロパティ
指定可能な値: 0, 1, f, false, n, no, t, true, y, yes
--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

プロパティ
Parameter group: Resource Id Arguments
--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

プロパティ
Parameter group: Resource Id Arguments
--yes -y

確認を求めないでください。

プロパティ
規定値: False
グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

プロパティ
規定値: False
--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

プロパティ
規定値: False
--output -o

Output format.

プロパティ
規定値: json
指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --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

必須のパラメーター

--machine-name

コンピュータの名前。

--resource-group -g

リソース グループの名前。 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.

--max-items

コマンドの出力で返される項目の合計数。 使用可能な項目の合計数が指定された値を超える場合は、コマンドの出力にトークンが提供されます。 改ページ位置の変更を再開するには、後続のコマンドの引数 --next-token トークン値を指定します。

プロパティ
Parameter group: Pagination Arguments
--next-token

ページ分割を開始する場所を指定するトークン。 これは、以前に切り捨てられた応答からのトークン値です。

プロパティ
Parameter group: Pagination Arguments
グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

プロパティ
規定値: False
--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

プロパティ
規定値: False
--output -o

Output format.

プロパティ
規定値: json
指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --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.

--ids

1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。

プロパティ
Parameter group: Resource Id Arguments
--machine-name

ハイブリッド マシンの名前。

プロパティ
Parameter group: Resource Id Arguments
--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

プロパティ
Parameter group: Resource Id Arguments
--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

プロパティ
Parameter group: Resource Id Arguments
グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

プロパティ
規定値: False
--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

プロパティ
規定値: False
--output -o

Output format.

プロパティ
規定値: json
指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --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.

--assigned-license

ライセンスのリソース ID。

プロパティ
Parameter group: EsuProfile Arguments
--ids

1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。

プロパティ
Parameter group: Resource Id Arguments
--machine-name

ハイブリッド マシンの名前。

プロパティ
Parameter group: Resource Id Arguments
--no-wait

実行時間の長い操作が完了するまで待つ必要はありません。

プロパティ
指定可能な値: 0, 1, f, false, n, no, t, true, y, yes
--product-features

製品機能の更新プログラムの一覧。 短縮構文、json-file、yaml-file をサポートします。 詳細を表示するには、"??" を試してください。

プロパティ
Parameter group: ProductProfile Arguments
--product-type

ライセンスの製品の種類を示します。

プロパティ
Parameter group: ProductProfile Arguments
指定可能な値: WindowsIoTEnterprise, WindowsServer
--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

プロパティ
Parameter group: Resource Id Arguments
--software-assurance --software-assurance-customer

このマシンがソフトウェア アシュアランス契約の一部としてライセンスされているかどうかを指定します。

プロパティ
Parameter group: SoftwareAssurance Arguments
指定可能な値: 0, 1, f, false, n, no, t, true, y, yes
--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

プロパティ
Parameter group: Resource Id Arguments
--subscription-status

製品のサブスクリプションの状態を示します。

プロパティ
Parameter group: ProductProfile Arguments
指定可能な値: Disable, Enable
--tags

リソース タグでは、短縮構文、json-file、yaml-file がサポートされます。 詳細を表示するには、"??" を試してください。

プロパティ
Parameter group: Parameters Arguments
グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

プロパティ
規定値: False
--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

プロパティ
規定値: False
--output -o

Output format.

プロパティ
規定値: json
指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --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.

--created

'provisioningState' が 'Succeeded' で作成されるまで待ちます。

プロパティ
Parameter group: Wait Condition Arguments
規定値: False
--custom

条件がカスタム JMESPath クエリを満たすまで待ちます。 例: provisioningState!='InProgress'、instanceView.statuses[?code=='PowerState/running']。

プロパティ
Parameter group: Wait Condition Arguments
--deleted

削除されるまで待ちます。

プロパティ
Parameter group: Wait Condition Arguments
規定値: False
--exists

リソースが存在するまで待ちます。

プロパティ
Parameter group: Wait Condition Arguments
規定値: False
--ids

1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。

プロパティ
Parameter group: Resource Id Arguments
--interval

ポーリング間隔 (秒単位)。

プロパティ
Parameter group: Wait Condition Arguments
規定値: 30
--license-profile-name --name -n

ライセンス プロファイルの名前。

プロパティ
Parameter group: Resource Id Arguments
指定可能な値: default
--machine-name

ハイブリッド マシンの名前。

プロパティ
Parameter group: Resource Id Arguments
--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

プロパティ
Parameter group: Resource Id Arguments
--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

プロパティ
Parameter group: Resource Id Arguments
--timeout

最大待機時間 (秒単位)。

プロパティ
Parameter group: Wait Condition Arguments
規定値: 3600
--updated

provisioningState が 'Succeeded' で更新されるまで待ちます。

プロパティ
Parameter group: Wait Condition Arguments
規定値: False
グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

プロパティ
規定値: False
--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

プロパティ
規定値: False
--output -o

Output format.

プロパティ
規定値: json
指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False