Class BlobArgs
Inherited Members
Namespace: Pulumi.Azure.Storage
Assembly: Pulumi.Azure.dll
Syntax
public sealed class BlobArgs : ResourceArgs
Constructors
View SourceBlobArgs()
Declaration
public BlobArgs()
Properties
View SourceAccessTier
The access tier of the storage blob. Possible values are Archive, Cool and Hot.
Declaration
public Input<string> AccessTier { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ContentType
The content type of the storage blob. Cannot be defined if source_uri is defined. Defaults to application/octet-stream.
Declaration
public Input<string> ContentType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Metadata
A map of custom blob metadata.
Declaration
public InputMap<string> Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
Name
The name of the storage blob. Must be unique within the storage container the blob is located.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Parallelism
The number of workers per CPU core to run for concurrent uploads. Defaults to 8.
Declaration
public Input<int> Parallelism { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Size
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.
Declaration
public Input<int> Size { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Source
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.
Declaration
public Input<AssetOrArchive> Source { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<AssetOrArchive> |
SourceContent
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.
Declaration
public Input<string> SourceContent { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SourceUri
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.
Declaration
public Input<string> SourceUri { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
StorageAccountName
Specifies the storage account in which to create the storage container. Changing this forces a new resource to be created.
Declaration
public Input<string> StorageAccountName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
StorageContainerName
The name of the storage container in which this blob should be created.
Declaration
public Input<string> StorageContainerName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Type
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.
Declaration
public Input<string> Type { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |