Share via


PacketCaptureParameters クラス

  • java.lang.Object
    • com.microsoft.azure.management.network.PacketCaptureParameters

public class PacketCaptureParameters

パケット キャプチャの作成操作を定義するパラメーター。

コンストラクターの概要

コンストラクター 説明
PacketCaptureParameters()

メソッドの概要

修飾子と型 メソッドと説明
java.lang.Integer bytesToCapturePerPacket()

パケットごとにキャプチャされたバイト数を取得します。残りのバイトは切り捨てられます。

java.util.List<PacketCaptureFilter> filters()

パケット キャプチャ フィルターの一覧を取得します。

PacketCaptureStorageLocation storageLocation()

パケット キャプチャ セッションのストレージの場所を取得します。

java.lang.String target()

ターゲット リソースの ID を取得します。現在サポートされているのは VM のみです。

java.lang.Integer timeLimitInSeconds()

キャプチャ セッションの最大期間を秒単位で取得します。

java.lang.Integer totalBytesPerSession()

キャプチャ出力の最大サイズを取得します。

PacketCaptureParameters withBytesToCapturePerPacket(Integer bytesToCapturePerPacket)

パケットごとにキャプチャされたバイト数を設定すると、残りのバイトは切り捨てられます。

PacketCaptureParameters withFilters(List<PacketCaptureFilter> filters)

パケット キャプチャ フィルターの一覧を設定します。

PacketCaptureParameters withStorageLocation(PacketCaptureStorageLocation storageLocation)

パケット キャプチャ セッションの保存場所を設定します。

PacketCaptureParameters withTarget(String target)

ターゲット リソースの ID を設定します。VM のみが現在サポートされています。

PacketCaptureParameters withTimeLimitInSeconds(Integer timeLimitInSeconds)

キャプチャ セッションの最大期間を秒単位で設定します。

PacketCaptureParameters withTotalBytesPerSession(Integer totalBytesPerSession)

キャプチャ出力の最大サイズを設定します。

メソッドの継承元: java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

コンストラクターの詳細

PacketCaptureParameters

public PacketCaptureParameters()

メソッドの詳細

bytesToCapturePerPacket

public Integer bytesToCapturePerPacket()

パケットごとにキャプチャされたバイト数を取得します。残りのバイトは切り捨てられます。

Returns:

bytesToCapturePerPacket 値

filters

public List filters()

パケット キャプチャ フィルターの一覧を取得します。

Returns:

フィルター値

storageLocation

public PacketCaptureStorageLocation storageLocation()

パケット キャプチャ セッションのストレージの場所を取得します。

Returns:

storageLocation 値

target

public String target()

ターゲット リソースの ID を取得します。現在サポートされているのは VM のみです。

Returns:

ターゲット値

timeLimitInSeconds

public Integer timeLimitInSeconds()

キャプチャ セッションの最大期間を秒単位で取得します。

Returns:

timeLimitInSeconds 値

totalBytesPerSession

public Integer totalBytesPerSession()

キャプチャ出力の最大サイズを取得します。

Returns:

totalBytesPerSession 値

withBytesToCapturePerPacket

public PacketCaptureParameters withBytesToCapturePerPacket(Integer bytesToCapturePerPacket)

パケットごとにキャプチャされたバイト数を設定すると、残りのバイトは切り捨てられます。

Parameters:

bytesToCapturePerPacket - 設定する bytesToCapturePerPacket 値

Returns:

PacketCaptureParameters オブジェクト自体。

withFilters

public PacketCaptureParameters withFilters(List filters)

パケット キャプチャ フィルターの一覧を設定します。

Parameters:

filters - 設定するフィルター値

Returns:

PacketCaptureParameters オブジェクト自体。

withStorageLocation

public PacketCaptureParameters withStorageLocation(PacketCaptureStorageLocation storageLocation)

パケット キャプチャ セッションの保存場所を設定します。

Parameters:

storageLocation - 設定する storageLocation 値

Returns:

PacketCaptureParameters オブジェクト自体。

withTarget

public PacketCaptureParameters withTarget(String target)

ターゲット リソースの ID を設定します。VM のみが現在サポートされています。

Parameters:

target - 設定するターゲット値

Returns:

PacketCaptureParameters オブジェクト自体。

withTimeLimitInSeconds

public PacketCaptureParameters withTimeLimitInSeconds(Integer timeLimitInSeconds)

キャプチャ セッションの最大期間を秒単位で設定します。

Parameters:

timeLimitInSeconds - 設定する timeLimitInSeconds 値

Returns:

PacketCaptureParameters オブジェクト自体。

withTotalBytesPerSession

public PacketCaptureParameters withTotalBytesPerSession(Integer totalBytesPerSession)

キャプチャ出力の最大サイズを設定します。

Parameters:

totalBytesPerSession - 設定する totalBytesPerSession 値

Returns:

PacketCaptureParameters オブジェクト自体。

適用対象