pulumi_wasm_providers_azure_mini::functions::storage::get_account_sas

Struct GetAccountSasArgsBuilder

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

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

Implementations§

source§

impl<S: State> GetAccountSasArgsBuilder<S>

source

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

Finish building and return the requested object

source

pub fn connection_string( self, value: impl Into<Output<String>>, ) -> GetAccountSasArgsBuilder<SetConnectionString<S>>
where S::ConnectionString: IsUnset,

Required.

The connection string for the storage account to which this SAS applies. Typically directly from the primary_connection_string attribute of a azure.storage.Account resource.

source

pub fn expiry( self, value: impl Into<Output<String>>, ) -> GetAccountSasArgsBuilder<SetExpiry<S>>
where S::Expiry: IsUnset,

Required.

The expiration time and date of this SAS. Must be a valid ISO-8601 format time/date string.

NOTE: The ISO-8601 Time offset from UTC is currently not supported by the service, which will result into 409 error.

source

pub fn https_only( self, value: impl Into<Output<Option<bool>>>, ) -> GetAccountSasArgsBuilder<SetHttpsOnly<S>>
where S::HttpsOnly: IsUnset,

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

Only permit https access. If false, both http and https are permitted. Defaults to true.

source

pub fn maybe_https_only( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> GetAccountSasArgsBuilder<SetHttpsOnly<S>>
where S::HttpsOnly: IsUnset,

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

Only permit https access. If false, both http and https are permitted. Defaults to true.

source

pub fn ip_addresses( self, value: impl Into<Output<Option<String>>>, ) -> GetAccountSasArgsBuilder<SetIpAddresses<S>>
where S::IpAddresses: IsUnset,

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

IP address, or a range of IP addresses, from which to accept requests. When specifying a range, note that the range is inclusive.

source

pub fn maybe_ip_addresses( self, value: Option<impl Into<Output<Option<String>>>>, ) -> GetAccountSasArgsBuilder<SetIpAddresses<S>>
where S::IpAddresses: IsUnset,

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

IP address, or a range of IP addresses, from which to accept requests. When specifying a range, note that the range is inclusive.

source

pub fn permissions( self, value: impl Into<Output<GetAccountSasPermissions>>, ) -> GetAccountSasArgsBuilder<SetPermissions<S>>
where S::Permissions: IsUnset,

Required.

A permissions block as defined below.

source

pub fn resource_types( self, value: impl Into<Output<GetAccountSasResourceTypes>>, ) -> GetAccountSasArgsBuilder<SetResourceTypes<S>>
where S::ResourceTypes: IsUnset,

Required.

A resource_types block as defined below.

source

pub fn services( self, value: impl Into<Output<GetAccountSasServices>>, ) -> GetAccountSasArgsBuilder<SetServices<S>>
where S::Services: IsUnset,

Required.

A services block as defined below.

source

pub fn signed_version( self, value: impl Into<Output<Option<String>>>, ) -> GetAccountSasArgsBuilder<SetSignedVersion<S>>
where S::SignedVersion: IsUnset,

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

Specifies the signed storage service version to use to authorize requests made with this account SAS. Defaults to 2017-07-29.

source

pub fn maybe_signed_version( self, value: Option<impl Into<Output<Option<String>>>>, ) -> GetAccountSasArgsBuilder<SetSignedVersion<S>>
where S::SignedVersion: IsUnset,

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

Specifies the signed storage service version to use to authorize requests made with this account SAS. Defaults to 2017-07-29.

source

pub fn start( self, value: impl Into<Output<String>>, ) -> GetAccountSasArgsBuilder<SetStart<S>>
where S::Start: IsUnset,

Required.

The starting time and date of validity of this SAS. Must be a valid ISO-8601 format time/date string.

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.