BlobArgs

data class BlobArgs(val accessTier: Output<BlobAccessTier>? = null, val accountName: Output<String>? = null, val blobName: Output<String>? = null, val containerName: Output<String>? = null, val contentMd5: Output<String>? = null, val contentType: Output<String>? = null, val metadata: Output<Map<String, String>>? = null, val resourceGroupName: Output<String>? = null, val source: Output<AssetOrArchive>? = null, val type: Output<BlobType>? = null) : ConvertibleToJava<BlobArgs>

Manages a Blob within a Storage Container. For the supported combinations of properties and features please see here.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:storage:Blob myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/blobs/{blobName}

Constructors

Link copied to clipboard
constructor(accessTier: Output<BlobAccessTier>? = null, accountName: Output<String>? = null, blobName: Output<String>? = null, containerName: Output<String>? = null, contentMd5: Output<String>? = null, contentType: Output<String>? = null, metadata: Output<Map<String, String>>? = null, resourceGroupName: Output<String>? = null, source: Output<AssetOrArchive>? = null, type: Output<BlobType>? = null)

Properties

Link copied to clipboard
val accessTier: Output<BlobAccessTier>? = null

The access tier of the storage blob. Only supported for standard storage accounts, not premium.

Link copied to clipboard
val accountName: Output<String>? = null

Specifies the storage account in which to create the storage container.

Link copied to clipboard
val blobName: Output<String>? = null

The name of the storage blob. Must be unique within the storage container the blob is located. If this property is not specified it will be set to the name of the resource.

Link copied to clipboard
val containerName: Output<String>? = null

The name of the storage container in which this blob should be created.

Link copied to clipboard
val contentMd5: Output<String>? = null

The MD5 sum of the blob contents, base64-encoded. Cannot be defined if blob type is Append.

Link copied to clipboard
val contentType: Output<String>? = null

The content type of the storage blob. Defaults to application/octet-stream.

Link copied to clipboard
val metadata: Output<Map<String, String>>? = null

A map of custom blob metadata.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group within the user's subscription.

Link copied to clipboard
val source: Output<AssetOrArchive>? = null

An asset to copy to the blob contents. This field cannot be specified for Append blobs.

Link copied to clipboard
val type: Output<BlobType>? = null

The type of the storage blob to be created. Defaults to 'Block'.

Functions

Link copied to clipboard
open override fun toJava(): BlobArgs