pub struct PacketCaptureArgs {
pub filters: Output<Option<Vec<PacketCaptureFilter>>>,
pub maximum_bytes_per_packet: Output<Option<i32>>,
pub maximum_bytes_per_session: Output<Option<i32>>,
pub maximum_capture_duration_in_seconds: Output<Option<i32>>,
pub name: Output<Option<String>>,
pub network_watcher_id: Output<String>,
pub storage_location: Output<PacketCaptureStorageLocation>,
pub virtual_machine_id: Output<String>,
}
Fields§
§filters: Output<Option<Vec<PacketCaptureFilter>>>
One or more filter
blocks as defined below. Changing this forces a new resource to be created.
maximum_bytes_per_packet: Output<Option<i32>>
The number of bytes captured per packet. The remaining bytes are truncated. Defaults to 0
(Entire Packet Captured). Changing this forces a new resource to be created.
maximum_bytes_per_session: Output<Option<i32>>
Maximum size of the capture in Bytes. Defaults to 1073741824
(1GB). Changing this forces a new resource to be created.
maximum_capture_duration_in_seconds: Output<Option<i32>>
The maximum duration of the capture session in seconds. Defaults to 18000
(5 hours). Changing this forces a new resource to be created.
name: Output<Option<String>>
The name to use for this Network Packet Capture. Changing this forces a new resource to be created.
network_watcher_id: Output<String>
The resource ID of the Network Watcher. Changing this forces a new resource to be created.
storage_location: Output<PacketCaptureStorageLocation>
A storage_location
block as defined below. Changing this forces a new resource to be created.
virtual_machine_id: Output<String>
The resource ID of the target Virtual Machine to capture packets from. Changing this forces a new resource to be created.
Implementations§
source§impl PacketCaptureArgs
impl PacketCaptureArgs
sourcepub fn builder() -> PacketCaptureArgsBuilder
pub fn builder() -> PacketCaptureArgsBuilder
Create an instance of PacketCaptureArgs
using the builder syntax
Trait Implementations§
source§impl Clone for PacketCaptureArgs
impl Clone for PacketCaptureArgs
source§fn clone(&self) -> PacketCaptureArgs
fn clone(&self) -> PacketCaptureArgs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for PacketCaptureArgs
impl RefUnwindSafe for PacketCaptureArgs
impl Send for PacketCaptureArgs
impl Sync for PacketCaptureArgs
impl Unpin for PacketCaptureArgs
impl UnwindSafe for PacketCaptureArgs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)