pub struct ScaleSetPacketCaptureArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> ScaleSetPacketCaptureArgsBuilder<S>
impl<S: State> ScaleSetPacketCaptureArgsBuilder<S>
sourcepub fn build_struct(self) -> ScaleSetPacketCaptureArgswhere
S: IsComplete,
pub fn build_struct(self) -> ScaleSetPacketCaptureArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn filters(
self,
value: impl Into<Output<Option<Vec<ScaleSetPacketCaptureFilter>>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetFilters<S>>where
S::Filters: IsUnset,
pub fn filters(
self,
value: impl Into<Output<Option<Vec<ScaleSetPacketCaptureFilter>>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetFilters<S>>where
S::Filters: IsUnset,
sourcepub fn maybe_filters(
self,
value: Option<impl Into<Output<Option<Vec<ScaleSetPacketCaptureFilter>>>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetFilters<S>>where
S::Filters: IsUnset,
pub fn maybe_filters(
self,
value: Option<impl Into<Output<Option<Vec<ScaleSetPacketCaptureFilter>>>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetFilters<S>>where
S::Filters: IsUnset,
sourcepub fn machine_scope(
self,
value: impl Into<Output<Option<ScaleSetPacketCaptureMachineScope>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetMachineScope<S>>where
S::MachineScope: IsUnset,
pub fn machine_scope(
self,
value: impl Into<Output<Option<ScaleSetPacketCaptureMachineScope>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetMachineScope<S>>where
S::MachineScope: IsUnset,
sourcepub fn maybe_machine_scope(
self,
value: Option<impl Into<Output<Option<ScaleSetPacketCaptureMachineScope>>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetMachineScope<S>>where
S::MachineScope: IsUnset,
pub fn maybe_machine_scope(
self,
value: Option<impl Into<Output<Option<ScaleSetPacketCaptureMachineScope>>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetMachineScope<S>>where
S::MachineScope: IsUnset,
sourcepub fn maximum_bytes_per_packet(
self,
value: impl Into<Output<Option<i32>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetMaximumBytesPerPacket<S>>where
S::MaximumBytesPerPacket: IsUnset,
pub fn maximum_bytes_per_packet(
self,
value: impl Into<Output<Option<i32>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetMaximumBytesPerPacket<S>>where
S::MaximumBytesPerPacket: IsUnset,
sourcepub fn maybe_maximum_bytes_per_packet(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetMaximumBytesPerPacket<S>>where
S::MaximumBytesPerPacket: IsUnset,
pub fn maybe_maximum_bytes_per_packet(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetMaximumBytesPerPacket<S>>where
S::MaximumBytesPerPacket: IsUnset,
sourcepub fn maximum_bytes_per_session(
self,
value: impl Into<Output<Option<i32>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetMaximumBytesPerSession<S>>where
S::MaximumBytesPerSession: IsUnset,
pub fn maximum_bytes_per_session(
self,
value: impl Into<Output<Option<i32>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetMaximumBytesPerSession<S>>where
S::MaximumBytesPerSession: IsUnset,
sourcepub fn maybe_maximum_bytes_per_session(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetMaximumBytesPerSession<S>>where
S::MaximumBytesPerSession: IsUnset,
pub fn maybe_maximum_bytes_per_session(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetMaximumBytesPerSession<S>>where
S::MaximumBytesPerSession: IsUnset,
sourcepub fn maximum_capture_duration_in_seconds(
self,
value: impl Into<Output<Option<i32>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetMaximumCaptureDurationInSeconds<S>>where
S::MaximumCaptureDurationInSeconds: IsUnset,
pub fn maximum_capture_duration_in_seconds(
self,
value: impl Into<Output<Option<i32>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetMaximumCaptureDurationInSeconds<S>>where
S::MaximumCaptureDurationInSeconds: IsUnset,
sourcepub fn maybe_maximum_capture_duration_in_seconds(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetMaximumCaptureDurationInSeconds<S>>where
S::MaximumCaptureDurationInSeconds: IsUnset,
pub fn maybe_maximum_capture_duration_in_seconds(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetMaximumCaptureDurationInSeconds<S>>where
S::MaximumCaptureDurationInSeconds: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn network_watcher_id(
self,
value: impl Into<Output<String>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetNetworkWatcherId<S>>where
S::NetworkWatcherId: IsUnset,
pub fn network_watcher_id(
self,
value: impl Into<Output<String>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetNetworkWatcherId<S>>where
S::NetworkWatcherId: IsUnset,
Required.
The resource ID of the Network Watcher. Changing this forces a new resource to be created.
sourcepub fn storage_location(
self,
value: impl Into<Output<ScaleSetPacketCaptureStorageLocation>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetStorageLocation<S>>where
S::StorageLocation: IsUnset,
pub fn storage_location(
self,
value: impl Into<Output<ScaleSetPacketCaptureStorageLocation>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetStorageLocation<S>>where
S::StorageLocation: IsUnset,
Required.
A storage_location
block as defined below. Changing this forces a new resource to be created.
sourcepub fn virtual_machine_scale_set_id(
self,
value: impl Into<Output<String>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetVirtualMachineScaleSetId<S>>where
S::VirtualMachineScaleSetId: IsUnset,
pub fn virtual_machine_scale_set_id(
self,
value: impl Into<Output<String>>,
) -> ScaleSetPacketCaptureArgsBuilder<SetVirtualMachineScaleSetId<S>>where
S::VirtualMachineScaleSetId: IsUnset,
Required.
The resource ID of the Virtual Machine Scale Set to capture packets from. Changing this forces a new resource to be created.
Auto Trait Implementations§
impl<S> Freeze for ScaleSetPacketCaptureArgsBuilder<S>
impl<S> RefUnwindSafe for ScaleSetPacketCaptureArgsBuilder<S>
impl<S> Send for ScaleSetPacketCaptureArgsBuilder<S>
impl<S> Sync for ScaleSetPacketCaptureArgsBuilder<S>
impl<S> Unpin for ScaleSetPacketCaptureArgsBuilder<S>
impl<S> UnwindSafe for ScaleSetPacketCaptureArgsBuilder<S>
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
Mutably borrows from an owned value. Read more