PacketCaptureCollection クラス

定義

のコレクション PacketCaptureResource とその操作を表すクラス。 コレクション内の各 PacketCaptureResource は、 の同じインスタンス NetworkWatcherResourceに属します。 インスタンスを PacketCaptureCollection 取得するには、 のインスタンス NetworkWatcherResourceから GetPacketCaptures メソッドを呼び出します。

public class PacketCaptureCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Network.PacketCaptureResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.PacketCaptureResource>
type PacketCaptureCollection = class
    inherit ArmCollection
    interface seq<PacketCaptureResource>
    interface IEnumerable
    interface IAsyncEnumerable<PacketCaptureResource>
Public Class PacketCaptureCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of PacketCaptureResource), IEnumerable(Of PacketCaptureResource)
継承
PacketCaptureCollection
実装

コンストラクター

PacketCaptureCollection()

モック作成のために クラスの PacketCaptureCollection 新しいインスタンスを初期化します。

プロパティ

Client

このリソース クライアントの ArmClient 作成元を取得します。

(継承元 ArmCollection)
Diagnostics

このリソース クライアントの診断オプションを取得します。

(継承元 ArmCollection)
Endpoint

このリソース クライアントのベース URI を取得します。

(継承元 ArmCollection)
Id

リソース識別子を取得します。

(継承元 ArmCollection)
Pipeline

このリソース クライアントのパイプラインを取得します。

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, PacketCaptureCreateOrUpdateContent, CancellationToken)

指定した VM でパケット キャプチャを作成して開始します。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}
  • 操作IdPacketCaptures_Create
CreateOrUpdateAsync(WaitUntil, String, PacketCaptureCreateOrUpdateContent, CancellationToken)

指定した VM でパケット キャプチャを作成して開始します。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}
  • 操作IdPacketCaptures_Create
Exists(String, CancellationToken)

リソースが Azure に存在するかどうかを確認します。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}
  • 操作IdPacketCaptures_Get
ExistsAsync(String, CancellationToken)

リソースが Azure に存在するかどうかを確認します。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}
  • 操作IdPacketCaptures_Get
Get(String, CancellationToken)

名前でパケット キャプチャ セッションを取得します。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}
  • 操作IdPacketCaptures_Get
GetAll(CancellationToken)

指定したリソース グループ内のすべてのパケット キャプチャ セッションを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures
  • 操作IdPacketCaptures_List
GetAllAsync(CancellationToken)

指定したリソース グループ内のすべてのパケット キャプチャ セッションを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures
  • 操作IdPacketCaptures_List
GetAsync(String, CancellationToken)

名前でパケット キャプチャ セッションを取得します。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}
  • 操作IdPacketCaptures_Get
GetIfExists(String, CancellationToken)

サービスからこのリソースの詳細の取得を試みます。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}
  • 操作IdPacketCaptures_Get
GetIfExistsAsync(String, CancellationToken)

サービスからこのリソースの詳細の取得を試みます。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}
  • 操作IdPacketCaptures_Get
TryGetApiVersion(ResourceType, String)

現在のクライアント オプションに設定されている場合は、API バージョンのオーバーライドを取得します。

(継承元 ArmCollection)

明示的なインターフェイスの実装

IAsyncEnumerable<PacketCaptureResource>.GetAsyncEnumerator(CancellationToken)

コレクションを非同期に反復処理する列挙子を返します。

IEnumerable.GetEnumerator()

コレクションを反復処理する列挙子を返します。

IEnumerable<PacketCaptureResource>.GetEnumerator()

コレクションを反復処理する列挙子を返します。

適用対象