pulumi_wasm_providers_azure_mini::storage::share

Struct ShareArgs

source
pub struct ShareArgs {
    pub access_tier: Output<Option<String>>,
    pub acls: Output<Option<Vec<ShareAcl>>>,
    pub enabled_protocol: Output<Option<String>>,
    pub metadata: Output<Option<HashMap<String, String>>>,
    pub name: Output<Option<String>>,
    pub quota: Output<i32>,
    pub storage_account_id: Output<Option<String>>,
    pub storage_account_name: Output<Option<String>>,
}

Fields§

§access_tier: Output<Option<String>>

The access tier of the File Share. Possible values are Hot, Cool and TransactionOptimized, Premium.

~>NOTE: The FileStorage account_kind of the azure.storage.Account requires Premium access_tier.

§acls: Output<Option<Vec<ShareAcl>>>

One or more acl blocks as defined below.

§enabled_protocol: Output<Option<String>>

The protocol used for the share. Possible values are SMB and NFS. The SMB indicates the share can be accessed by SMBv3.0, SMBv2.1 and REST. The NFS indicates the share can be accessed by NFSv4.1. Defaults to SMB. Changing this forces a new resource to be created.

~>NOTE: The FileStorage account_kind of the azure.storage.Account is required for the NFS protocol.

§metadata: Output<Option<HashMap<String, String>>>

A mapping of MetaData for this File Share.

§name: Output<Option<String>>

The name of the share. Must be unique within the storage account where the share is located. Changing this forces a new resource to be created.

§quota: Output<i32>

The maximum size of the share, in gigabytes.

~>NOTE: For Standard storage accounts, by default this must be 1 GB (or higher) and at most 5120 GB (5 TB). This can be set to a value larger than 5120 GB if large_file_share_enabled is set to true in the parent azure.storage.Account.

~>NOTE: For Premium FileStorage storage accounts, this must be greater than 100 GB and at most 102400 GB (100 TB).

§storage_account_id: Output<Option<String>>

Specifies the storage account in which to create the share. Changing this forces a new resource to be created.

NOTE: One of storage_account_name or storage_account_id must be specified. When specifying storage_account_id the resource will use the Resource Manager API, rather than the Data Plane API.

§storage_account_name: Output<Option<String>>

Specifies the storage account in which to create the share. Changing this forces a new resource to be created. This property is deprecated in favour of storage_account_id.

Implementations§

source§

impl ShareArgs

source

pub fn builder() -> ShareArgsBuilder

Create an instance of ShareArgs using the builder syntax

Trait Implementations§

source§

impl Clone for ShareArgs

source§

fn clone(&self) -> ShareArgs

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

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> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.