pulumi_wasm_providers_azure_mini::storage::sync_server_endpoint

Struct SyncServerEndpointArgsBuilder

source
pub struct SyncServerEndpointArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description

Use builder syntax to set the inputs and finish with build_struct().

Implementations§

source§

impl<S: State> SyncServerEndpointArgsBuilder<S>

source

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

Finish building and return the requested object

source

pub fn cloud_tiering_enabled( self, value: impl Into<Output<Option<bool>>>, ) -> SyncServerEndpointArgsBuilder<SetCloudTieringEnabled<S>>
where S::CloudTieringEnabled: IsUnset,

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

Is Cloud Tiering Enabled? Defaults to false.

source

pub fn maybe_cloud_tiering_enabled( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> SyncServerEndpointArgsBuilder<SetCloudTieringEnabled<S>>
where S::CloudTieringEnabled: IsUnset,

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

Is Cloud Tiering Enabled? Defaults to false.

source

pub fn initial_download_policy( self, value: impl Into<Output<Option<String>>>, ) -> SyncServerEndpointArgsBuilder<SetInitialDownloadPolicy<S>>
where S::InitialDownloadPolicy: IsUnset,

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

Specifies how the server initially downloads the Azure file share data. Valid Values includes NamespaceThenModifiedFiles, NamespaceOnly, and AvoidTieredFiles. Defaults to NamespaceThenModifiedFiles.

source

pub fn maybe_initial_download_policy( self, value: Option<impl Into<Output<Option<String>>>>, ) -> SyncServerEndpointArgsBuilder<SetInitialDownloadPolicy<S>>
where S::InitialDownloadPolicy: IsUnset,

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

Specifies how the server initially downloads the Azure file share data. Valid Values includes NamespaceThenModifiedFiles, NamespaceOnly, and AvoidTieredFiles. Defaults to NamespaceThenModifiedFiles.

source

pub fn local_cache_mode( self, value: impl Into<Output<Option<String>>>, ) -> SyncServerEndpointArgsBuilder<SetLocalCacheMode<S>>
where S::LocalCacheMode: IsUnset,

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

Specifies how to handle the local cache. Valid Values include UpdateLocallyCachedFiles and DownloadNewAndModifiedFiles. Defaults to UpdateLocallyCachedFiles.

source

pub fn maybe_local_cache_mode( self, value: Option<impl Into<Output<Option<String>>>>, ) -> SyncServerEndpointArgsBuilder<SetLocalCacheMode<S>>
where S::LocalCacheMode: IsUnset,

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

Specifies how to handle the local cache. Valid Values include UpdateLocallyCachedFiles and DownloadNewAndModifiedFiles. Defaults to UpdateLocallyCachedFiles.

source

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

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

The name which should be used for this Storage Sync. Changing this forces a new Storage Sync Server Endpoint to be created.

source

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

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

The name which should be used for this Storage Sync. Changing this forces a new Storage Sync Server Endpoint to be created.

source

pub fn registered_server_id( self, value: impl Into<Output<String>>, ) -> SyncServerEndpointArgsBuilder<SetRegisteredServerId<S>>
where S::RegisteredServerId: IsUnset,

Required.

The ID of the Registered Server that will be associate with the Storage Sync Server Endpoint. Changing this forces a new Storage Sync Server Endpoint to be created.

NOTE: The target server must already be registered with the parent azure.storage.Sync prior to creating this endpoint. For more information on registering a server see the Microsoft documentation

source

pub fn server_local_path( self, value: impl Into<Output<String>>, ) -> SyncServerEndpointArgsBuilder<SetServerLocalPath<S>>
where S::ServerLocalPath: IsUnset,

Required.

The path on the Windows Server to be synced to the Azure file share. Changing this forces a new Storage Sync Server Endpoint to be created.

source

pub fn storage_sync_group_id( self, value: impl Into<Output<String>>, ) -> SyncServerEndpointArgsBuilder<SetStorageSyncGroupId<S>>
where S::StorageSyncGroupId: IsUnset,

Required.

The ID of the Storage Sync Group where the Storage Sync Server Endpoint should exist. Changing this forces a new Storage Sync Server Endpoint to be created.

source

pub fn tier_files_older_than_days( self, value: impl Into<Output<Option<i32>>>, ) -> SyncServerEndpointArgsBuilder<SetTierFilesOlderThanDays<S>>
where S::TierFilesOlderThanDays: IsUnset,

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

Files older than the specified age will be tiered to the cloud.

source

pub fn maybe_tier_files_older_than_days( self, value: Option<impl Into<Output<Option<i32>>>>, ) -> SyncServerEndpointArgsBuilder<SetTierFilesOlderThanDays<S>>
where S::TierFilesOlderThanDays: IsUnset,

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

Files older than the specified age will be tiered to the cloud.

source

pub fn volume_free_space_percent( self, value: impl Into<Output<Option<i32>>>, ) -> SyncServerEndpointArgsBuilder<SetVolumeFreeSpacePercent<S>>
where S::VolumeFreeSpacePercent: IsUnset,

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

What percentage of free space on the volume should be preserved? Defaults to 20.

source

pub fn maybe_volume_free_space_percent( self, value: Option<impl Into<Output<Option<i32>>>>, ) -> SyncServerEndpointArgsBuilder<SetVolumeFreeSpacePercent<S>>
where S::VolumeFreeSpacePercent: IsUnset,

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

What percentage of free space on the volume should be preserved? Defaults to 20.

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.