次の方法で共有


az connectedmachine

このリファレンスは、Azure CLI (バージョン 2.57.0 以降) の connectedmachine 拡張機能の一部です。 拡張機能は、az connectedmachine コマンドを初めて実行するときに自動的にインストールされます。 拡張機能の詳細については、 を参照してください。

Azure Arc 対応サーバーを管理します。

コマンド

名前 説明 状態
az connectedmachine assess-patches

Azure Arc-Enabled Server 上のパッチを評価します。

拡張 GA
az connectedmachine delete

Azure Arc-Enabled Server を削除します。

拡張 GA
az connectedmachine extension

Azure Arc-Enabled Server で VM 拡張機能を管理します。

拡張 GA
az connectedmachine extension create

拡張を作成する。

拡張 GA
az connectedmachine extension delete

拡張機能を削除します。

拡張 GA
az connectedmachine extension image

Azure Arc-Enabled Servers で使用できる VM 拡張機能メタデータを管理します。

拡張 GA
az connectedmachine extension image list

場所、発行元、extensionType に基づいて、すべての拡張機能のバージョンを一覧表示します。

拡張 GA
az connectedmachine extension image show

場所、発行元、extensionType、バージョンに基づいて拡張メタデータを取得します。

拡張 GA
az connectedmachine extension list

Azure 以外のマシンのすべての拡張機能を取得します。

拡張 GA
az connectedmachine extension show

Azure 以外のマシンの拡張機能を表示します。

拡張 GA
az connectedmachine extension update

拡張機能を更新します。

拡張 GA
az connectedmachine extension wait

条件が満たされるまで CLI を待機状態にします。

拡張 GA
az connectedmachine install-patches

Azure Arc-Enabled Server にパッチをインストールします。

拡張 GA
az connectedmachine license

Azure Arc-Enabled Server で ESU ライセンスを管理します。

拡張 GA
az connectedmachine license-profile

Azure Arc-Enabled Server のすべての従量課金制You-Go ライセンスを管理します。

拡張 GA
az connectedmachine license-profile create

ライセンス プロファイルを作成する操作を作成します。

拡張 GA
az connectedmachine license-profile delete

ライセンス プロファイルを削除する削除操作。

拡張 GA
az connectedmachine license-profile list

Azure 以外のマシンのすべてのライセンス プロファイルを取得する操作を一覧表示します。

拡張 GA
az connectedmachine license-profile show

ライセンス プロファイルのビューに関する情報を取得します。

拡張 GA
az connectedmachine license-profile update

ライセンス プロファイルを更新するための更新操作。

拡張 GA
az connectedmachine license-profile wait

条件が満たされるまで CLI を待機状態にします。

拡張 GA
az connectedmachine license create

ライセンスを作成します。

拡張 GA
az connectedmachine license delete

ライセンスを削除します。

拡張 GA
az connectedmachine license list

Azure 以外のマシンのすべてのライセンスを取得します。

拡張 GA
az connectedmachine license show

ライセンスのビューに関する情報を取得します。

拡張 GA
az connectedmachine license update

ライセンスを更新するための更新操作。

拡張 GA
az connectedmachine license wait

条件が満たされるまで CLI を待機状態にします。

拡張 GA
az connectedmachine list

指定したリソース グループ内のすべての Azure Arc-Enabled サーバーを一覧表示します。

拡張 GA
az connectedmachine private-endpoint-connection

Azure Arc-Enabled Server とのプライベート エンドポイント接続を管理します。

拡張 GA
az connectedmachine private-endpoint-connection delete

指定した名前のプライベート エンドポイント接続を削除します。

拡張 GA
az connectedmachine private-endpoint-connection list

プライベート リンク スコープ上のすべてのプライベート エンドポイント接続を一覧表示します。

拡張 GA
az connectedmachine private-endpoint-connection show

プライベート エンドポイント接続を取得します。

拡張 GA
az connectedmachine private-endpoint-connection update

特定の名前でプライベート エンドポイント接続を更新します。

拡張 GA
az connectedmachine private-endpoint-connection wait

条件が満たされるまで CLI を待機状態にします。

拡張 GA
az connectedmachine private-link-resource

Azure Arc-Enabled Server のプライベート リンク リソースを管理します。

拡張 GA
az connectedmachine private-link-resource list

Azure Monitor PrivateLinkScope 用に作成する必要があるプライベート リンク リソースを一覧表示します。

拡張 GA
az connectedmachine private-link-resource show

Azure Monitor PrivateLinkScope 用に作成する必要があるプライベート リンク リソースを取得します。

拡張 GA
az connectedmachine private-link-scope

Azure Arc-Enabled Server のプライベート リンク スコープを管理します。

拡張 GA
az connectedmachine private-link-scope create

Azure Arc PrivateLinkScope を作成します。 注: Put 操作で InstrumentationKey と AppId に別の値を指定することはできません。

拡張 GA
az connectedmachine private-link-scope delete

Azure Arc PrivateLinkScope を削除します。

拡張 GA
az connectedmachine private-link-scope list

リソース グループまたはサブスクリプションの Azure Arc PrivateLinkScopes の一覧を取得します。

拡張 GA
az connectedmachine private-link-scope network-security-perimeter-configuration

Azure Arc-Enabled Server でネットワーク セキュリティ境界の構成を管理します。

拡張 GA
az connectedmachine private-link-scope network-security-perimeter-configuration list

プライベート リンク スコープのネットワーク セキュリティ境界構成を一覧表示します。

拡張 GA
az connectedmachine private-link-scope network-security-perimeter-configuration reconcile

プライベート リンク スコープのネットワーク セキュリティ境界構成を強制的に更新します。

拡張 GA
az connectedmachine private-link-scope network-security-perimeter-configuration show

プライベート リンク スコープのネットワーク セキュリティ境界構成を取得します。

拡張 GA
az connectedmachine private-link-scope show

Azure Arc PrivateLinkScope を取得します。

拡張 GA
az connectedmachine private-link-scope update

Azure Arc PrivateLinkScope を更新します。 注: Put 操作で InstrumentationKey と AppId に別の値を指定することはできません。

拡張 GA
az connectedmachine private-link-scope wait

条件が満たされるまで CLI を待機状態にします。

拡張 GA
az connectedmachine run-command

Azure Arc-Enabled Server で実行コマンドを管理します。

拡張 プレビュー
az connectedmachine run-command create

実行コマンドを作成します。

拡張 プレビュー
az connectedmachine run-command delete

実行コマンドを削除します。

拡張 プレビュー
az connectedmachine run-command list

Azure 以外のマシンのすべての実行コマンドを取得します。

拡張 プレビュー
az connectedmachine run-command show

実行コマンドを取得します。

拡張 プレビュー
az connectedmachine run-command update

実行コマンドを更新します。

拡張 プレビュー
az connectedmachine run-command wait

条件が満たされるまで CLI を待機状態にします。

拡張 プレビュー
az connectedmachine show

Azure Arc-Enabled Server のモデル ビューまたはインスタンス ビューに関する情報を取得します。

拡張 GA
az connectedmachine update

Azure Arc-Enabled Server を更新します。 一部のプロパティは、マシンの作成時にのみ設定できます。

拡張 GA
az connectedmachine upgrade-extension

マシン拡張機能をアップグレードします。

拡張 GA

az connectedmachine assess-patches

Azure Arc-Enabled Server 上のパッチを評価します。

az connectedmachine assess-patches [--ids]
                                   [--name]
                                   [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                   [--resource-group]
                                   [--subscription]

評価パッチのサンプル コマンド

az connectedmachine assess-patches --resource-group MyResourceGroup --name MyMachine

省略可能のパラメーター

--ids

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

--name -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を使用して既定のサブスクリプションを構成できます。

グローバル パラメーター
--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 connectedmachine delete

Azure Arc-Enabled Server を削除します。

az connectedmachine delete [--ids]
                           [--machine-name]
                           [--resource-group]
                           [--subscription]
                           [--yes]

削除のサンプル コマンド

az connectedmachine delete --name myMachine --resource-group myResourceGroup

省略可能のパラメーター

--ids

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

--machine-name --name -n

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

--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 connectedmachine install-patches

Azure Arc-Enabled Server にパッチをインストールします。

az connectedmachine install-patches --maximum-duration
                                    --reboot-setting {Always, IfRequired, Never}
                                    [--ids]
                                    [--linux-parameters]
                                    [--name]
                                    [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                    [--resource-group]
                                    [--subscription]
                                    [--windows-parameters]

install-patchs のサンプル コマンド

az connectedmachine install-patches --resource-group MyResourceGroup --name MyMachine --maximum-duration PT4H --reboot-setting IfRequired --windows-parameters "{"classificationsToInclude": ["Critical", "Security"]}"

必須のパラメーター

--maximum-duration

操作を実行する最大時間を指定します。 PT4H (4 時間) などの ISO 8601 準拠の期間文字列である必要があります。

--reboot-setting

ソフトウェア更新操作中に VM を再起動できるタイミングを定義します。

指定可能な値: Always, IfRequired, Never

省略可能のパラメーター

--ids

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

--linux-parameters

LINUX VM 上の InstallPatches の入力。API サポートの短縮構文、json-file、yaml-file によって直接受け取られます。 詳細を表示するには、"??" を試してください。

--name -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を使用して既定のサブスクリプションを構成できます。

--windows-parameters

API サポートの短縮構文、json-file、yaml-file によって直接受け取られた Windows VM 上の InstallPatches の入力。 詳細を表示するには、"??" を試してください。

グローバル パラメーター
--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 connectedmachine list

指定したリソース グループ内のすべての Azure Arc-Enabled サーバーを一覧表示します。

az connectedmachine list --resource-group
                         [--expand]
                         [--max-items]
                         [--next-token]

リストのサンプル コマンド

az connectedmachine list --resource-group myResourceGroup

必須のパラメーター

--resource-group -g

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

省略可能のパラメーター

--expand

参照先のリソースを展開します。

--max-items

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

--next-token

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

グローバル パラメーター
--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 connectedmachine show

Azure Arc-Enabled Server のモデル ビューまたはインスタンス ビューに関する情報を取得します。

az connectedmachine show [--expand {instanceView}]
                         [--ids]
                         [--machine-name]
                         [--resource-group]
                         [--subscription]

show のサンプル コマンド

az connectedmachine show --name myMachine --resource-group myResourceGroup

省略可能のパラメーター

--expand

操作に適用する展開式。

指定可能な値: instanceView
--ids

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

--machine-name --name -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 connectedmachine update

Azure Arc-Enabled Server を更新します。 一部のプロパティは、マシンの作成時にのみ設定できます。

az connectedmachine update [--add]
                           [--agent-upgrade]
                           [--client-public-key]
                           [--expand {instanceView}]
                           [--extensions]
                           [--force-string {0, 1, f, false, n, no, t, true, y, yes}]
                           [--identity]
                           [--ids]
                           [--kind {AVS, AWS, EPS, GCP, HCI, SCVMM, VMware}]
                           [--license-profile]
                           [--location-data]
                           [--machine-name]
                           [--mssql-discovered]
                           [--os-profile]
                           [--os-type]
                           [--parent-cluster-id]
                           [--private-link-scope-id]
                           [--remove]
                           [--resource-group]
                           [--service-statuses]
                           [--set]
                           [--subscription]
                           [--tags]

更新プログラムのサンプル コマンド

az connectedmachine update --name myMachine --resource-group myResourceGroup --location eastus2euap

省略可能のパラメーター

--add

パスとキー値のペアを指定して、オブジェクトの一覧にオブジェクトを追加します。 例: --add property.listProperty <key=value, string or JSON string>

--agent-upgrade

マシン w.r.t Agent Upgrade Support shorthand-syntax、json-file、yaml-file の情報。 詳細を表示するには、"??" を試してください。

--client-public-key

クライアントが提供する公開キーは、初期リソースのオンボード時に使用されます。

--expand

操作に適用する展開式。

指定可能な値: instanceView
--extensions

マシン拡張機能の情報 (非推奨のフィールド) 短縮構文、json ファイル、yaml-file をサポートします。 詳細を表示するには、"??" を試してください。

--force-string

'set' または 'add' を使用する場合は、JSON に変換するのではなく、文字列リテラルを保持します。

指定可能な値: 0, 1, f, false, n, no, t, true, y, yes
--identity

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

--ids

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

--kind

HCI、SCVMM、VMware など、オンプレミスの Arc マシン配置の種類を示します。

指定可能な値: AVS, AWS, EPS, GCP, HCI, SCVMM, VMware
--license-profile

コンピューターのライセンス関連のプロパティを指定します。 短縮構文、json-file、yaml-file をサポートします。 詳細を表示するには、"??" を試してください。

--location-data

リソースの地理的な場所に関連するメタデータ。 短縮構文、json-file、yaml-file をサポートします。 詳細を表示するには、"??" を試してください。

--machine-name --name -n

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

--mssql-discovered

マシン上で MS SQL インスタンスを検出するかどうかを指定します。

--os-profile

ハイブリッド コンピューターのオペレーティング システム設定を指定します。 短縮構文、json-file、yaml-file をサポートします。 詳細を表示するには、"??" を試してください。

--os-type

オペレーティング システム (windows/linux) の種類。

--parent-cluster-id --parent-cluster-resource-id

このマシンが割り当てられている親クラスター (Azure HCI) のリソース ID (存在する場合)。

--private-link-scope-id --private-link-scope-resource-id

このマシンが割り当てられているプライベート リンク スコープのリソース ID (存在する場合)。

--remove

リストからプロパティまたは要素を削除します。 例: --remove property.list <indexToRemove> OR --remove propertyToRemove

--resource-group -g

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

--service-statuses

ARM に報告される依存サービスの状態。 短縮構文、json-file、yaml-file をサポートします。 詳細を表示するには、"??" を試してください。

--set

設定するプロパティ パスと値を指定して、オブジェクトを更新します。 例: --set property1.property2=<value>

--subscription

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

--tags

リソース タグ。 短縮構文、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 connectedmachine upgrade-extension

マシン拡張機能をアップグレードします。

az connectedmachine upgrade-extension [--extension-targets]
                                      [--ids]
                                      [--machine-name]
                                      [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                      [--resource-group]
                                      [--subscription]

upgrade-extension のサンプル コマンド

az connectedmachine extension upgrade --machine-name "myMachineName" --resource-group "myResourceGroup" --subscription "mySubscription" --targets "{"Microsoft.Compute.CustomScriptExtension": "{"targetVersion": "1.10"}", "Microsoft.Azure.Monitoring": "{"targetVersion": "2.0"}"}"

省略可能のパラメーター

--extension-targets

拡張ターゲットのプロパティについて説明します。 短縮構文、json-file、yaml-file をサポートします。 詳細を表示するには、"??" を試してください。

--ids

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

--machine-name

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

--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を使用して既定のサブスクリプションを構成できます。

グローバル パラメーター
--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 を使用します。