pub struct BlobArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> BlobArgsBuilder<S>
impl<S: State> BlobArgsBuilder<S>
sourcepub fn build_struct(self) -> BlobArgswhere
S: IsComplete,
pub fn build_struct(self) -> BlobArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn access_tier(
self,
value: impl Into<Output<Option<String>>>,
) -> BlobArgsBuilder<SetAccessTier<S>>where
S::AccessTier: IsUnset,
pub fn access_tier(
self,
value: impl Into<Output<Option<String>>>,
) -> BlobArgsBuilder<SetAccessTier<S>>where
S::AccessTier: IsUnset,
sourcepub fn maybe_access_tier(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BlobArgsBuilder<SetAccessTier<S>>where
S::AccessTier: IsUnset,
pub fn maybe_access_tier(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BlobArgsBuilder<SetAccessTier<S>>where
S::AccessTier: IsUnset,
sourcepub fn cache_control(
self,
value: impl Into<Output<Option<String>>>,
) -> BlobArgsBuilder<SetCacheControl<S>>where
S::CacheControl: IsUnset,
pub fn cache_control(
self,
value: impl Into<Output<Option<String>>>,
) -> BlobArgsBuilder<SetCacheControl<S>>where
S::CacheControl: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Controls the cache control header content of the response when blob is requested .
sourcepub fn maybe_cache_control(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BlobArgsBuilder<SetCacheControl<S>>where
S::CacheControl: IsUnset,
pub fn maybe_cache_control(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BlobArgsBuilder<SetCacheControl<S>>where
S::CacheControl: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Controls the cache control header content of the response when blob is requested .
sourcepub fn content_md5(
self,
value: impl Into<Output<Option<String>>>,
) -> BlobArgsBuilder<SetContentMd5<S>>where
S::ContentMd5: IsUnset,
pub fn content_md5(
self,
value: impl Into<Output<Option<String>>>,
) -> BlobArgsBuilder<SetContentMd5<S>>where
S::ContentMd5: IsUnset,
sourcepub fn maybe_content_md5(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BlobArgsBuilder<SetContentMd5<S>>where
S::ContentMd5: IsUnset,
pub fn maybe_content_md5(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BlobArgsBuilder<SetContentMd5<S>>where
S::ContentMd5: IsUnset,
sourcepub fn content_type(
self,
value: impl Into<Output<Option<String>>>,
) -> BlobArgsBuilder<SetContentType<S>>where
S::ContentType: IsUnset,
pub fn content_type(
self,
value: impl Into<Output<Option<String>>>,
) -> BlobArgsBuilder<SetContentType<S>>where
S::ContentType: IsUnset,
sourcepub fn maybe_content_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BlobArgsBuilder<SetContentType<S>>where
S::ContentType: IsUnset,
pub fn maybe_content_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BlobArgsBuilder<SetContentType<S>>where
S::ContentType: IsUnset,
sourcepub fn encryption_scope(
self,
value: impl Into<Output<Option<String>>>,
) -> BlobArgsBuilder<SetEncryptionScope<S>>where
S::EncryptionScope: IsUnset,
pub fn encryption_scope(
self,
value: impl Into<Output<Option<String>>>,
) -> BlobArgsBuilder<SetEncryptionScope<S>>where
S::EncryptionScope: IsUnset,
sourcepub fn maybe_encryption_scope(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BlobArgsBuilder<SetEncryptionScope<S>>where
S::EncryptionScope: IsUnset,
pub fn maybe_encryption_scope(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BlobArgsBuilder<SetEncryptionScope<S>>where
S::EncryptionScope: IsUnset,
sourcepub fn metadata(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> BlobArgsBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
pub fn metadata(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> BlobArgsBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
sourcepub fn maybe_metadata(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> BlobArgsBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
pub fn maybe_metadata(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> BlobArgsBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> BlobArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> BlobArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BlobArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BlobArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn parallelism(
self,
value: impl Into<Output<Option<i32>>>,
) -> BlobArgsBuilder<SetParallelism<S>>where
S::Parallelism: IsUnset,
pub fn parallelism(
self,
value: impl Into<Output<Option<i32>>>,
) -> BlobArgsBuilder<SetParallelism<S>>where
S::Parallelism: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
The number of workers per CPU core to run for concurrent uploads. Defaults to 8
. Changing this forces a new resource to be created.
NOTE:
parallelism
is only applicable for Page blobs - support for Block Blobs is blocked on the upstream issue.
sourcepub fn maybe_parallelism(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> BlobArgsBuilder<SetParallelism<S>>where
S::Parallelism: IsUnset,
pub fn maybe_parallelism(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> BlobArgsBuilder<SetParallelism<S>>where
S::Parallelism: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
The number of workers per CPU core to run for concurrent uploads. Defaults to 8
. Changing this forces a new resource to be created.
NOTE:
parallelism
is only applicable for Page blobs - support for Block Blobs is blocked on the upstream issue.
sourcepub fn size(
self,
value: impl Into<Output<Option<i32>>>,
) -> BlobArgsBuilder<SetSize<S>>where
S::Size: IsUnset,
pub fn size(
self,
value: impl Into<Output<Option<i32>>>,
) -> BlobArgsBuilder<SetSize<S>>where
S::Size: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
Used only for page
blobs to specify the size in bytes of the blob to be created. Must be a multiple of 512. Defaults to 0
. Changing this forces a new resource to be created.
Note:
size
is required ifsource_uri
is not set.
sourcepub fn maybe_size(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> BlobArgsBuilder<SetSize<S>>where
S::Size: IsUnset,
pub fn maybe_size(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> BlobArgsBuilder<SetSize<S>>where
S::Size: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
Used only for page
blobs to specify the size in bytes of the blob to be created. Must be a multiple of 512. Defaults to 0
. Changing this forces a new resource to be created.
Note:
size
is required ifsource_uri
is not set.
sourcepub fn source(
self,
value: impl Into<Output<Option<String>>>,
) -> BlobArgsBuilder<SetSource<S>>where
S::Source: IsUnset,
pub fn source(
self,
value: impl Into<Output<Option<String>>>,
) -> BlobArgsBuilder<SetSource<S>>where
S::Source: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
An absolute path to a file on the local system. This field cannot be specified for Append blobs and cannot be specified if source_content
or source_uri
is specified. Changing this forces a new resource to be created.
sourcepub fn maybe_source(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BlobArgsBuilder<SetSource<S>>where
S::Source: IsUnset,
pub fn maybe_source(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BlobArgsBuilder<SetSource<S>>where
S::Source: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
An absolute path to a file on the local system. This field cannot be specified for Append blobs and cannot be specified if source_content
or source_uri
is specified. Changing this forces a new resource to be created.
sourcepub fn source_content(
self,
value: impl Into<Output<Option<String>>>,
) -> BlobArgsBuilder<SetSourceContent<S>>where
S::SourceContent: IsUnset,
pub fn source_content(
self,
value: impl Into<Output<Option<String>>>,
) -> BlobArgsBuilder<SetSourceContent<S>>where
S::SourceContent: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The content for this blob which should be defined inline. This field can only be specified for Block blobs and cannot be specified if source
or source_uri
is specified. Changing this forces a new resource to be created.
sourcepub fn maybe_source_content(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BlobArgsBuilder<SetSourceContent<S>>where
S::SourceContent: IsUnset,
pub fn maybe_source_content(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BlobArgsBuilder<SetSourceContent<S>>where
S::SourceContent: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The content for this blob which should be defined inline. This field can only be specified for Block blobs and cannot be specified if source
or source_uri
is specified. Changing this forces a new resource to be created.
sourcepub fn source_uri(
self,
value: impl Into<Output<Option<String>>>,
) -> BlobArgsBuilder<SetSourceUri<S>>where
S::SourceUri: IsUnset,
pub fn source_uri(
self,
value: impl Into<Output<Option<String>>>,
) -> BlobArgsBuilder<SetSourceUri<S>>where
S::SourceUri: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The URI of an existing blob, or a file in the Azure File service, to use as the source contents for the blob to be created. Changing this forces a new resource to be created. This field cannot be specified for Append blobs and cannot be specified if source
or source_content
is specified.
sourcepub fn maybe_source_uri(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BlobArgsBuilder<SetSourceUri<S>>where
S::SourceUri: IsUnset,
pub fn maybe_source_uri(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BlobArgsBuilder<SetSourceUri<S>>where
S::SourceUri: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The URI of an existing blob, or a file in the Azure File service, to use as the source contents for the blob to be created. Changing this forces a new resource to be created. This field cannot be specified for Append blobs and cannot be specified if source
or source_content
is specified.
sourcepub fn storage_account_name(
self,
value: impl Into<Output<String>>,
) -> BlobArgsBuilder<SetStorageAccountName<S>>where
S::StorageAccountName: IsUnset,
pub fn storage_account_name(
self,
value: impl Into<Output<String>>,
) -> BlobArgsBuilder<SetStorageAccountName<S>>where
S::StorageAccountName: IsUnset,
Required.
Specifies the storage account in which to create the storage container. Changing this forces a new resource to be created.
sourcepub fn storage_container_name(
self,
value: impl Into<Output<String>>,
) -> BlobArgsBuilder<SetStorageContainerName<S>>where
S::StorageContainerName: IsUnset,
pub fn storage_container_name(
self,
value: impl Into<Output<String>>,
) -> BlobArgsBuilder<SetStorageContainerName<S>>where
S::StorageContainerName: IsUnset,
Required.
The name of the storage container in which this blob should be created. Changing this forces a new resource to be created.