com.pulumi.azurenative.storage.Blob Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.storage;
import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.storage.BlobArgs;
import com.pulumi.azurenative.storage.enums.BlobAccessTier;
import com.pulumi.azurenative.storage.enums.BlobType;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.String;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* 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}
* ```
*
*/
@ResourceType(type="azure-native:storage:Blob")
public class Blob extends com.pulumi.resources.CustomResource {
/**
* The access tier of the storage blob. Only supported for standard storage accounts, not premium.
*
*/
@Export(name="accessTier", refs={BlobAccessTier.class}, tree="[0]")
private Output* @Nullable */ BlobAccessTier> accessTier;
/**
* @return The access tier of the storage blob. Only supported for standard storage accounts, not premium.
*
*/
public Output> accessTier() {
return Codegen.optional(this.accessTier);
}
/**
* The MD5 sum of the blob contents.
*
*/
@Export(name="contentMd5", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> contentMd5;
/**
* @return The MD5 sum of the blob contents.
*
*/
public Output> contentMd5() {
return Codegen.optional(this.contentMd5);
}
/**
* The content type of the storage blob.
*
*/
@Export(name="contentType", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> contentType;
/**
* @return The content type of the storage blob.
*
*/
public Output> contentType() {
return Codegen.optional(this.contentType);
}
/**
* A map of custom blob metadata.
*
*/
@Export(name="metadata", refs={Map.class,String.class}, tree="[0,1,1]")
private Output
© 2015 - 2024 Weber Informatics LLC | Privacy Policy