pulumi_wasm_providers_azure_mini::storage::blob

Struct BlobResult

source
pub struct BlobResult {
Show 16 fields pub access_tier: Output<String>, pub cache_control: Output<Option<String>>, pub content_md5: Output<Option<String>>, pub content_type: Output<Option<String>>, pub encryption_scope: Output<Option<String>>, pub metadata: Output<HashMap<String, String>>, pub name: Output<String>, pub parallelism: Output<Option<i32>>, pub size: Output<Option<i32>>, pub source: Output<Option<String>>, pub source_content: Output<Option<String>>, pub source_uri: Output<Option<String>>, pub storage_account_name: Output<String>, pub storage_container_name: Output<String>, pub type_: Output<String>, pub url: Output<String>,
}

Fields§

§access_tier: Output<String>

The access tier of the storage blob. Possible values are Archive, Cool and Hot.

§cache_control: Output<Option<String>>

Controls the cache control header content of the response when blob is requested .

§content_md5: Output<Option<String>>

The MD5 sum of the blob contents. Cannot be defined if source_uri is defined, or if blob type is Append or Page. Changing this forces a new resource to be created.

§content_type: Output<Option<String>>

The content type of the storage blob. Cannot be defined if source_uri is defined. Defaults to application/octet-stream.

§encryption_scope: Output<Option<String>>

The encryption scope to use for this blob.

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

A map of custom blob metadata.

§name: Output<String>

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

§parallelism: Output<Option<i32>>

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.

§size: Output<Option<i32>>

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 if source_uri is not set.

§source: Output<Option<String>>

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.

§source_content: Output<Option<String>>

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.

§source_uri: Output<Option<String>>

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.

§storage_account_name: Output<String>

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

§storage_container_name: Output<String>

The name of the storage container in which this blob should be created. Changing this forces a new resource to be created.

§type_: Output<String>

The type of the storage blob to be created. Possible values are Append, Block or Page. Changing this forces a new resource to be created.

§url: Output<String>

The URL of the blob

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.