pulumi_wasm_providers_azure_mini::storage::customer_managed_key

Struct CustomerManagedKeyArgsBuilder

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

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

Implementations§

source§

impl<S: State> CustomerManagedKeyArgsBuilder<S>

source

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

Finish building and return the requested object

source

pub fn federated_identity_client_id( self, value: impl Into<Output<Option<String>>>, ) -> CustomerManagedKeyArgsBuilder<SetFederatedIdentityClientId<S>>
where S::FederatedIdentityClientId: IsUnset,

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

The Client ID of the multi-tenant application to be used in conjunction with the user-assigned identity for cross-tenant customer-managed-keys server-side encryption on the storage account.

source

pub fn maybe_federated_identity_client_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> CustomerManagedKeyArgsBuilder<SetFederatedIdentityClientId<S>>
where S::FederatedIdentityClientId: IsUnset,

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

The Client ID of the multi-tenant application to be used in conjunction with the user-assigned identity for cross-tenant customer-managed-keys server-side encryption on the storage account.

source

pub fn key_name( self, value: impl Into<Output<String>>, ) -> CustomerManagedKeyArgsBuilder<SetKeyName<S>>
where S::KeyName: IsUnset,

Required.

The name of Key Vault Key.

source

pub fn key_vault_id( self, value: impl Into<Output<Option<String>>>, ) -> CustomerManagedKeyArgsBuilder<SetKeyVaultId<S>>
where S::KeyVaultId: IsUnset,

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

source

pub fn maybe_key_vault_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> CustomerManagedKeyArgsBuilder<SetKeyVaultId<S>>
where S::KeyVaultId: IsUnset,

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

source

pub fn key_vault_uri( self, value: impl Into<Output<Option<String>>>, ) -> CustomerManagedKeyArgsBuilder<SetKeyVaultUri<S>>
where S::KeyVaultUri: IsUnset,

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

URI pointing at the Key Vault. Required when using federated_identity_client_id. Exactly one of managed_hsm_key_id, key_vault_id, or key_vault_uri must be specified.

source

pub fn maybe_key_vault_uri( self, value: Option<impl Into<Output<Option<String>>>>, ) -> CustomerManagedKeyArgsBuilder<SetKeyVaultUri<S>>
where S::KeyVaultUri: IsUnset,

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

URI pointing at the Key Vault. Required when using federated_identity_client_id. Exactly one of managed_hsm_key_id, key_vault_id, or key_vault_uri must be specified.

source

pub fn key_version( self, value: impl Into<Output<Option<String>>>, ) -> CustomerManagedKeyArgsBuilder<SetKeyVersion<S>>
where S::KeyVersion: IsUnset,

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

The version of Key Vault Key. Remove or omit this argument to enable Automatic Key Rotation.

source

pub fn maybe_key_version( self, value: Option<impl Into<Output<Option<String>>>>, ) -> CustomerManagedKeyArgsBuilder<SetKeyVersion<S>>
where S::KeyVersion: IsUnset,

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

The version of Key Vault Key. Remove or omit this argument to enable Automatic Key Rotation.

source

pub fn managed_hsm_key_id( self, value: impl Into<Output<Option<String>>>, ) -> CustomerManagedKeyArgsBuilder<SetManagedHsmKeyId<S>>
where S::ManagedHsmKeyId: IsUnset,

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

Key ID of a key in a managed HSM. Exactly one of managed_hsm_key_id, key_vault_id, or key_vault_uri must be specified.

source

pub fn maybe_managed_hsm_key_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> CustomerManagedKeyArgsBuilder<SetManagedHsmKeyId<S>>
where S::ManagedHsmKeyId: IsUnset,

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

Key ID of a key in a managed HSM. Exactly one of managed_hsm_key_id, key_vault_id, or key_vault_uri must be specified.

source

pub fn storage_account_id( self, value: impl Into<Output<String>>, ) -> CustomerManagedKeyArgsBuilder<SetStorageAccountId<S>>
where S::StorageAccountId: IsUnset,

Required.

The ID of the Storage Account. Changing this forces a new resource to be created.

source

pub fn user_assigned_identity_id( self, value: impl Into<Output<Option<String>>>, ) -> CustomerManagedKeyArgsBuilder<SetUserAssignedIdentityId<S>>
where S::UserAssignedIdentityId: IsUnset,

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

The ID of a user assigned identity.

source

pub fn maybe_user_assigned_identity_id( self, value: Option<impl Into<Output<Option<String>>>>, ) -> CustomerManagedKeyArgsBuilder<SetUserAssignedIdentityId<S>>
where S::UserAssignedIdentityId: IsUnset,

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

The ID of a user assigned identity.

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.