azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.n...

150 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.network.models.PacketCaptureSettings"
fullName: "com.azure.resourcemanager.network.models.PacketCaptureSettings"
name: "PacketCaptureSettings"
nameWithType: "PacketCaptureSettings"
summary: "The storage location for a packet capture session."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **PacketCaptureSettings**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.network.models.PacketCaptureSettings?alt=com.azure.resourcemanager.network.models.PacketCaptureSettings&text=PacketCaptureSettings\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.network.models.PacketCaptureSettings.PacketCaptureSettings()"
fullName: "com.azure.resourcemanager.network.models.PacketCaptureSettings.PacketCaptureSettings()"
name: "PacketCaptureSettings()"
nameWithType: "PacketCaptureSettings.PacketCaptureSettings()"
summary: "Creates an instance of Packet<wbr>Capture<wbr>Settings class."
syntax: "public PacketCaptureSettings()"
desc: "Creates an instance of PacketCaptureSettings class."
methods:
- uid: "com.azure.resourcemanager.network.models.PacketCaptureSettings.fileCount()"
fullName: "com.azure.resourcemanager.network.models.PacketCaptureSettings.fileCount()"
name: "fileCount()"
nameWithType: "PacketCaptureSettings.fileCount()"
summary: "Get the file<wbr>Count property: Number of file count."
syntax: "public Integer fileCount()"
desc: "Get the fileCount property: Number of file count. Default value of count is 10 and maximum number is 10000."
returns:
description: "the fileCount value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.network.models.PacketCaptureSettings.fileSizeInBytes()"
fullName: "com.azure.resourcemanager.network.models.PacketCaptureSettings.fileSizeInBytes()"
name: "fileSizeInBytes()"
nameWithType: "PacketCaptureSettings.fileSizeInBytes()"
summary: "Get the file<wbr>Size<wbr>InBytes property: Number of bytes captured per packet."
syntax: "public Long fileSizeInBytes()"
desc: "Get the fileSizeInBytes property: Number of bytes captured per packet. Default value in bytes 104857600 (100MB) and maximum in bytes 4294967295 (4GB)."
returns:
description: "the fileSizeInBytes value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
- uid: "com.azure.resourcemanager.network.models.PacketCaptureSettings.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.network.models.PacketCaptureSettings.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "PacketCaptureSettings.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Packet<wbr>Capture<wbr>Settings from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static PacketCaptureSettings fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the PacketCaptureSettings."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of PacketCaptureSettings from the JsonReader."
returns:
description: "An instance of PacketCaptureSettings if the JsonReader was pointing to an instance of it, or null if it\n was pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.network.models.PacketCaptureSettings?alt=com.azure.resourcemanager.network.models.PacketCaptureSettings&text=PacketCaptureSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.PacketCaptureSettings.sessionTimeLimitInSeconds()"
fullName: "com.azure.resourcemanager.network.models.PacketCaptureSettings.sessionTimeLimitInSeconds()"
name: "sessionTimeLimitInSeconds()"
nameWithType: "PacketCaptureSettings.sessionTimeLimitInSeconds()"
summary: "Get the session<wbr>Time<wbr>Limit<wbr>InSeconds property: Maximum duration of the capture session in seconds is 604800s (7 days) for a file."
syntax: "public Integer sessionTimeLimitInSeconds()"
desc: "Get the sessionTimeLimitInSeconds property: Maximum duration of the capture session in seconds is 604800s (7 days) for a file. Default value in second 86400s (1 day)."
returns:
description: "the sessionTimeLimitInSeconds value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.network.models.PacketCaptureSettings.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.network.models.PacketCaptureSettings.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "PacketCaptureSettings.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.PacketCaptureSettings.validate()"
fullName: "com.azure.resourcemanager.network.models.PacketCaptureSettings.validate()"
name: "validate()"
nameWithType: "PacketCaptureSettings.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.network.models.PacketCaptureSettings.withFileCount(java.lang.Integer)"
fullName: "com.azure.resourcemanager.network.models.PacketCaptureSettings.withFileCount(Integer fileCount)"
name: "withFileCount(Integer fileCount)"
nameWithType: "PacketCaptureSettings.withFileCount(Integer fileCount)"
summary: "Set the file<wbr>Count property: Number of file count."
parameters:
- description: "the fileCount value to set."
name: "fileCount"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public PacketCaptureSettings withFileCount(Integer fileCount)"
desc: "Set the fileCount property: Number of file count. Default value of count is 10 and maximum number is 10000."
returns:
description: "the PacketCaptureSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.PacketCaptureSettings?alt=com.azure.resourcemanager.network.models.PacketCaptureSettings&text=PacketCaptureSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.PacketCaptureSettings.withFileSizeInBytes(java.lang.Long)"
fullName: "com.azure.resourcemanager.network.models.PacketCaptureSettings.withFileSizeInBytes(Long fileSizeInBytes)"
name: "withFileSizeInBytes(Long fileSizeInBytes)"
nameWithType: "PacketCaptureSettings.withFileSizeInBytes(Long fileSizeInBytes)"
summary: "Set the file<wbr>Size<wbr>InBytes property: Number of bytes captured per packet."
parameters:
- description: "the fileSizeInBytes value to set."
name: "fileSizeInBytes"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
syntax: "public PacketCaptureSettings withFileSizeInBytes(Long fileSizeInBytes)"
desc: "Set the fileSizeInBytes property: Number of bytes captured per packet. Default value in bytes 104857600 (100MB) and maximum in bytes 4294967295 (4GB)."
returns:
description: "the PacketCaptureSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.PacketCaptureSettings?alt=com.azure.resourcemanager.network.models.PacketCaptureSettings&text=PacketCaptureSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.PacketCaptureSettings.withSessionTimeLimitInSeconds(java.lang.Integer)"
fullName: "com.azure.resourcemanager.network.models.PacketCaptureSettings.withSessionTimeLimitInSeconds(Integer sessionTimeLimitInSeconds)"
name: "withSessionTimeLimitInSeconds(Integer sessionTimeLimitInSeconds)"
nameWithType: "PacketCaptureSettings.withSessionTimeLimitInSeconds(Integer sessionTimeLimitInSeconds)"
summary: "Set the session<wbr>Time<wbr>Limit<wbr>InSeconds property: Maximum duration of the capture session in seconds is 604800s (7 days) for a file."
parameters:
- description: "the sessionTimeLimitInSeconds value to set."
name: "sessionTimeLimitInSeconds"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public PacketCaptureSettings withSessionTimeLimitInSeconds(Integer sessionTimeLimitInSeconds)"
desc: "Set the sessionTimeLimitInSeconds property: Maximum duration of the capture session in seconds is 604800s (7 days) for a file. Default value in second 86400s (1 day)."
returns:
description: "the PacketCaptureSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.PacketCaptureSettings?alt=com.azure.resourcemanager.network.models.PacketCaptureSettings&text=PacketCaptureSettings\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The storage location for a packet capture session."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.network.models.PacketCaptureSettings?alt=com.azure.resourcemanager.network.models.PacketCaptureSettings&text=PacketCaptureSettings\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.network.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.44.0