次の方法で共有


az monitor data-collection endpoint

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

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

コマンド

名前 説明 状態
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
                                           --resource-group
                                           [--description]
                                           [--identity]
                                           [--kind]
                                           [--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]
                                           [--public-network-access]
                                           [--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 or JSON string>

--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 <indexToRemove> OR --remove propertyToRemove

--resource-group -g

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

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