pulumi_wasm_providers_azure_mini::compute::scale_set_packet_capture

Struct ScaleSetPacketCaptureArgsBuilder

source
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>

source

pub fn build_struct(self) -> ScaleSetPacketCaptureArgs
where S: IsComplete,

Finish building and return the requested object

source

pub fn filters( self, value: impl Into<Output<Option<Vec<ScaleSetPacketCaptureFilter>>>>, ) -> ScaleSetPacketCaptureArgsBuilder<SetFilters<S>>
where S::Filters: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<Vec<super::super::types::compute::ScaleSetPacketCaptureFilter>>,
> as Default>::default()

One or more filter blocks as defined below. Changing this forces a new resource to be created.

source

pub fn maybe_filters( self, value: Option<impl Into<Output<Option<Vec<ScaleSetPacketCaptureFilter>>>>>, ) -> ScaleSetPacketCaptureArgsBuilder<SetFilters<S>>
where S::Filters: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<Vec<super::super::types::compute::ScaleSetPacketCaptureFilter>>,
> as Default>::default()

One or more filter blocks as defined below. Changing this forces a new resource to be created.

source

pub fn machine_scope( self, value: impl Into<Output<Option<ScaleSetPacketCaptureMachineScope>>>, ) -> ScaleSetPacketCaptureArgsBuilder<SetMachineScope<S>>
where S::MachineScope: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::ScaleSetPacketCaptureMachineScope>,
> as Default>::default()

A machine_scope block as defined below. Changing this forces a new resource to be created.

source

pub fn maybe_machine_scope( self, value: Option<impl Into<Output<Option<ScaleSetPacketCaptureMachineScope>>>>, ) -> ScaleSetPacketCaptureArgsBuilder<SetMachineScope<S>>
where S::MachineScope: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::ScaleSetPacketCaptureMachineScope>,
> as Default>::default()

A machine_scope block as defined below. Changing this forces a new resource to be created.

source

pub fn maximum_bytes_per_packet( self, value: impl Into<Output<Option<i32>>>, ) -> ScaleSetPacketCaptureArgsBuilder<SetMaximumBytesPerPacket<S>>
where S::MaximumBytesPerPacket: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

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.

source

pub fn maybe_maximum_bytes_per_packet( self, value: Option<impl Into<Output<Option<i32>>>>, ) -> ScaleSetPacketCaptureArgsBuilder<SetMaximumBytesPerPacket<S>>
where S::MaximumBytesPerPacket: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

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.

source

pub fn maximum_bytes_per_session( self, value: impl Into<Output<Option<i32>>>, ) -> ScaleSetPacketCaptureArgsBuilder<SetMaximumBytesPerSession<S>>
where S::MaximumBytesPerSession: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

Maximum size of the capture in Bytes. Defaults to 1073741824 (1GB). Changing this forces a new resource to be created.

source

pub fn maybe_maximum_bytes_per_session( self, value: Option<impl Into<Output<Option<i32>>>>, ) -> ScaleSetPacketCaptureArgsBuilder<SetMaximumBytesPerSession<S>>
where S::MaximumBytesPerSession: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

Maximum size of the capture in Bytes. Defaults to 1073741824 (1GB). Changing this forces a new resource to be created.

source

pub fn maximum_capture_duration_in_seconds( self, value: impl Into<Output<Option<i32>>>, ) -> ScaleSetPacketCaptureArgsBuilder<SetMaximumCaptureDurationInSeconds<S>>
where S::MaximumCaptureDurationInSeconds: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

The maximum duration of the capture session in seconds. Defaults to 18000 (5 hours). Changing this forces a new resource to be created.

source

pub fn maybe_maximum_capture_duration_in_seconds( self, value: Option<impl Into<Output<Option<i32>>>>, ) -> ScaleSetPacketCaptureArgsBuilder<SetMaximumCaptureDurationInSeconds<S>>
where S::MaximumCaptureDurationInSeconds: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

The maximum duration of the capture session in seconds. Defaults to 18000 (5 hours). Changing this forces a new resource to be created.

source

pub fn name( self, value: impl Into<Output<Option<String>>>, ) -> ScaleSetPacketCaptureArgsBuilder<SetName<S>>
where S::Name: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The name to use for this Network Packet Capture. Changing this forces a new resource to be created.

source

pub fn maybe_name( self, value: Option<impl Into<Output<Option<String>>>>, ) -> ScaleSetPacketCaptureArgsBuilder<SetName<S>>
where S::Name: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The name to use for this Network Packet Capture. Changing this forces a new resource to be created.

source

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.

source

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.

source

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§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.