az monitor data-collection endpoint

Note

このリファレンスは、Azure CLI (バージョン 2.55.0 以降) の monitor-control-service 拡張機能の一部です。 拡張機能は、az monitor data-collection endpoint コマンドを初めて実行するときに自動的にインストールされます。 拡張機能の詳細をご覧ください。

モニター制御サービスのデータ収集エンドポイントを管理します。

コマンド

名前 説明 Status
az monitor data-collection endpoint association

データ収集エンドポイントの関連付けを監視します。

拡張子 GA
az monitor data-collection endpoint association list

指定したデータ収集エンドポイントの関連付けを一覧表示します。

拡張子 GA
az monitor data-collection endpoint create

データ収集エンドポイントを作成します。

拡張子 GA
az monitor data-collection endpoint delete

データ収集エンドポイントを削除します。

拡張子 GA
az monitor data-collection endpoint list

指定したサブスクリプション内のすべてのデータ収集エンドポイントを一覧表示します。

拡張子 GA
az monitor data-collection endpoint show

指定したデータ収集エンドポイントを取得します。

拡張子 GA
az monitor data-collection endpoint update

データ収集エンドポイントを更新します。

拡張子 GA

az monitor data-collection endpoint create

データ収集エンドポイントを作成します。

az monitor data-collection endpoint create --data-collection-endpoint-name
                                           --public-network-access {Disabled, Enabled, SecuredByPerimeter}
                                           --resource-group
                                           [--description]
                                           [--identity]
                                           [--kind {Linux, Windows}]
                                           [--location]
                                           [--tags]

データ収集エンドポイントを作成する

az monitor data-collection endpoint create -g "myResourceGroup" -l "eastus2euap" --name "myCollectionEndpoint" --public-network-access "Enabled"

必須のパラメーター

--data-collection-endpoint-name --name -n

データ収集エンドポイントの名前。 名前の大文字と小文字は区別されます。

--public-network-access

パブリック インターネットからエンドポイントへのネットワーク アクセスを許可するかどうかを設定する構成。

承認された値: Disabled, Enabled, SecuredByPerimeter
--resource-group -g

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

省略可能のパラメーター

--description

関連付けの説明。

--identity

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

--kind

リソースの種類。

承認された値: Linux, Windows
--location -l

リソースが存在する地理的な場所。

--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 monitor data-collection endpoint delete

データ収集エンドポイントを削除します。

az monitor data-collection endpoint delete [--data-collection-endpoint-name]
                                           [--ids]
                                           [--resource-group]
                                           [--subscription]
                                           [--yes]

データ収集エンドポイントを削除する

az monitor data-collection endpoint delete --name "myCollectionEndpoint" --resource-group "myResourceGroup"

省略可能のパラメーター

--data-collection-endpoint-name --name -n

データ収集エンドポイントの名前。 名前の大文字と小文字は区別されます。

--ids

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

--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 monitor data-collection endpoint list

指定したサブスクリプション内のすべてのデータ収集エンドポイントを一覧表示します。

az monitor data-collection endpoint list [--max-items]
                                         [--next-token]
                                         [--resource-group]

リソース グループ別にデータ収集エンドポイントを一覧表示する

az monitor data-collection endpoint list --resource-group "myResourceGroup"

サブスクリプション別にデータ収集エンドポイントを一覧表示する

az monitor data-collection endpoint list

省略可能のパラメーター

--max-items

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

--next-token

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

--resource-group -g

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

グローバル パラメーター
--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 monitor data-collection endpoint show

指定したデータ収集エンドポイントを取得します。

az monitor data-collection endpoint show [--data-collection-endpoint-name]
                                         [--ids]
                                         [--resource-group]
                                         [--subscription]

データ収集エンドポイントを取得する

az monitor data-collection endpoint show --name "myCollectionEndpoint" --resource-group "myResourceGroup"

省略可能のパラメーター

--data-collection-endpoint-name --name -n

データ収集エンドポイントの名前。 名前の大文字と小文字は区別されます。

--ids

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

--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 monitor data-collection endpoint update

データ収集エンドポイントを更新します。

az monitor data-collection endpoint update [--add]
                                           [--data-collection-endpoint-name]
                                           [--description]
                                           [--force-string {0, 1, f, false, n, no, t, true, y, yes}]
                                           [--identity]
                                           [--ids]
                                           [--kind {Linux, Windows}]
                                           [--public-network-access {Disabled, Enabled, SecuredByPerimeter}]
                                           [--remove]
                                           [--resource-group]
                                           [--set]
                                           [--subscription]
                                           [--tags]

データ収集エンドポイントを更新する

az monitor data-collection endpoint update --tags tag1="A" tag2="B" tag3="C" --name "myCollectionEndpoint" --resource-group "myResourceGroup"

省略可能のパラメーター

--add

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

--data-collection-endpoint-name --name -n

データ収集エンドポイントの名前。 名前の大文字と小文字は区別されます。

--description

関連付けの説明。

--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

リソースの種類。

承認された値: Linux, Windows
--public-network-access

パブリック インターネットからエンドポイントへのネットワーク アクセスを許可するかどうかを設定する構成。

承認された値: Disabled, Enabled, SecuredByPerimeter
--remove

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

--resource-group -g

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

--set

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

--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 を使います。