次の方法で共有


MonitorExtensions.GetDataCollectionEndpoints メソッド

定義

オーバーロード

GetDataCollectionEndpoints(ResourceGroupResource)

ResourceGroupResource 内の DataCollectionEndpointResources のコレクションを取得します。

GetDataCollectionEndpoints(SubscriptionResource, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Insights/dataCollectionEndpoints
  • 操作IdDataCollectionEndpoints_ListBySubscription

GetDataCollectionEndpoints(ResourceGroupResource)

ResourceGroupResource 内の DataCollectionEndpointResources のコレクションを取得します。

public static Azure.ResourceManager.Monitor.DataCollectionEndpointCollection GetDataCollectionEndpoints (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetDataCollectionEndpoints : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Monitor.DataCollectionEndpointCollection
<Extension()>
Public Function GetDataCollectionEndpoints (resourceGroupResource As ResourceGroupResource) As DataCollectionEndpointCollection

パラメーター

resourceGroupResource
ResourceGroupResource

ResourceGroupResourceメソッドが実行されるインスタンス。

戻り値

DataCollectionEndpointResources のコレクションとその DataCollectionEndpointResource に対する操作を表す オブジェクト。

適用対象

GetDataCollectionEndpoints(SubscriptionResource, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Insights/dataCollectionEndpoints
  • 操作IdDataCollectionEndpoints_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.Monitor.DataCollectionEndpointResource> GetDataCollectionEndpoints (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetDataCollectionEndpoints : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Monitor.DataCollectionEndpointResource>
<Extension()>
Public Function GetDataCollectionEndpoints (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DataCollectionEndpointResource)

パラメーター

subscriptionResource
SubscriptionResource

SubscriptionResourceメソッドが実行されるインスタンス。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

反復処理するために複数の DataCollectionEndpointResource サービス要求を受け取る可能性がある のコレクション。

適用対象