com.pulumi.azurenative.storage.kotlin.BlobArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.storage.kotlin
import com.pulumi.asset.AssetOrArchive
import com.pulumi.azurenative.storage.BlobArgs.builder
import com.pulumi.azurenative.storage.kotlin.enums.BlobAccessTier
import com.pulumi.azurenative.storage.kotlin.enums.BlobType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* Manages a Blob within a Storage Container. For the supported combinations of properties and features please see [here](https://learn.microsoft.com/en-us/azure/storage/blobs/storage-feature-support-in-storage-accounts).
* ## Import
* An existing resource can be imported using its type token, name, and identifier, e.g.
* ```sh
* $ pulumi import azure-native:storage:Blob myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/blobs/{blobName}
* ```
* @property accessTier The access tier of the storage blob. Only supported for standard storage accounts, not premium.
* @property accountName Specifies the storage account in which to create the storage container.
* @property blobName 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.
* @property containerName The name of the storage container in which this blob should be created.
* @property contentMd5 The MD5 sum of the blob contents. Cannot be defined if blob type is Append.
* @property contentType The content type of the storage blob. Defaults to `application/octet-stream`.
* @property metadata A map of custom blob metadata.
* @property resourceGroupName The name of the resource group within the user's subscription.
* @property source An asset to copy to the blob contents. This field cannot be specified for Append blobs.
* @property type The type of the storage blob to be created. Defaults to 'Block'.
*/
public data class BlobArgs(
public val accessTier: Output? = null,
public val accountName: Output? = null,
public val blobName: Output? = null,
public val containerName: Output? = null,
public val contentMd5: Output? = null,
public val contentType: Output? = null,
public val metadata: Output