azure-native.storage.BlobContainer

Explore with Pulumi AI

Properties of the blob container, including Id, resource name, resource type, Etag. API Version: 2021-02-01.

Example Usage

PutContainerWithDefaultEncryptionScope

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var blobContainer = new AzureNative.Storage.BlobContainer("blobContainer", new()
    {
        AccountName = "sto328",
        ContainerName = "container6185",
        DefaultEncryptionScope = "encryptionscope185",
        DenyEncryptionScopeOverride = true,
        ResourceGroupName = "res3376",
    });

});
package main

import (
	storage "github.com/pulumi/pulumi-azure-native/sdk/go/azure/storage"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storage.NewBlobContainer(ctx, "blobContainer", &storage.BlobContainerArgs{
			AccountName:                 pulumi.String("sto328"),
			ContainerName:               pulumi.String("container6185"),
			DefaultEncryptionScope:      pulumi.String("encryptionscope185"),
			DenyEncryptionScopeOverride: pulumi.Bool(true),
			ResourceGroupName:           pulumi.String("res3376"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storage.BlobContainer;
import com.pulumi.azurenative.storage.BlobContainerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var blobContainer = new BlobContainer("blobContainer", BlobContainerArgs.builder()        
            .accountName("sto328")
            .containerName("container6185")
            .defaultEncryptionScope("encryptionscope185")
            .denyEncryptionScopeOverride(true)
            .resourceGroupName("res3376")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

blob_container = azure_native.storage.BlobContainer("blobContainer",
    account_name="sto328",
    container_name="container6185",
    default_encryption_scope="encryptionscope185",
    deny_encryption_scope_override=True,
    resource_group_name="res3376")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const blobContainer = new azure_native.storage.BlobContainer("blobContainer", {
    accountName: "sto328",
    containerName: "container6185",
    defaultEncryptionScope: "encryptionscope185",
    denyEncryptionScopeOverride: true,
    resourceGroupName: "res3376",
});
resources:
  blobContainer:
    type: azure-native:storage:BlobContainer
    properties:
      accountName: sto328
      containerName: container6185
      defaultEncryptionScope: encryptionscope185
      denyEncryptionScopeOverride: true
      resourceGroupName: res3376

PutContainers

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var blobContainer = new AzureNative.Storage.BlobContainer("blobContainer", new()
    {
        AccountName = "sto328",
        ContainerName = "container6185",
        ResourceGroupName = "res3376",
    });

});
package main

import (
	storage "github.com/pulumi/pulumi-azure-native/sdk/go/azure/storage"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storage.NewBlobContainer(ctx, "blobContainer", &storage.BlobContainerArgs{
			AccountName:       pulumi.String("sto328"),
			ContainerName:     pulumi.String("container6185"),
			ResourceGroupName: pulumi.String("res3376"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.storage.BlobContainer;
import com.pulumi.azurenative.storage.BlobContainerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var blobContainer = new BlobContainer("blobContainer", BlobContainerArgs.builder()        
            .accountName("sto328")
            .containerName("container6185")
            .resourceGroupName("res3376")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

blob_container = azure_native.storage.BlobContainer("blobContainer",
    account_name="sto328",
    container_name="container6185",
    resource_group_name="res3376")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const blobContainer = new azure_native.storage.BlobContainer("blobContainer", {
    accountName: "sto328",
    containerName: "container6185",
    resourceGroupName: "res3376",
});
resources:
  blobContainer:
    type: azure-native:storage:BlobContainer
    properties:
      accountName: sto328
      containerName: container6185
      resourceGroupName: res3376

Create BlobContainer Resource

new BlobContainer(name: string, args: BlobContainerArgs, opts?: CustomResourceOptions);
@overload
def BlobContainer(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  account_name: Optional[str] = None,
                  container_name: Optional[str] = None,
                  default_encryption_scope: Optional[str] = None,
                  deny_encryption_scope_override: Optional[bool] = None,
                  metadata: Optional[Mapping[str, str]] = None,
                  public_access: Optional[PublicAccess] = None,
                  resource_group_name: Optional[str] = None)
@overload
def BlobContainer(resource_name: str,
                  args: BlobContainerArgs,
                  opts: Optional[ResourceOptions] = None)
func NewBlobContainer(ctx *Context, name string, args BlobContainerArgs, opts ...ResourceOption) (*BlobContainer, error)
public BlobContainer(string name, BlobContainerArgs args, CustomResourceOptions? opts = null)
public BlobContainer(String name, BlobContainerArgs args)
public BlobContainer(String name, BlobContainerArgs args, CustomResourceOptions options)
type: azure-native:storage:BlobContainer
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args BlobContainerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args BlobContainerArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args BlobContainerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args BlobContainerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args BlobContainerArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

BlobContainer Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The BlobContainer resource accepts the following input properties:

AccountName string

The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

ResourceGroupName string

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

ContainerName string

The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

DefaultEncryptionScope string

Default the container to use specified encryption scope for all writes.

DenyEncryptionScopeOverride bool

Block override of encryption scope from the container default.

Metadata Dictionary<string, string>

A name-value pair to associate with the container as metadata.

PublicAccess Pulumi.AzureNative.Storage.PublicAccess

Specifies whether data in the container may be accessed publicly and the level of access.

AccountName string

The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

ResourceGroupName string

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

ContainerName string

The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

DefaultEncryptionScope string

Default the container to use specified encryption scope for all writes.

DenyEncryptionScopeOverride bool

Block override of encryption scope from the container default.

Metadata map[string]string

A name-value pair to associate with the container as metadata.

PublicAccess PublicAccess

Specifies whether data in the container may be accessed publicly and the level of access.

accountName String

The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

resourceGroupName String

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

containerName String

The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

defaultEncryptionScope String

Default the container to use specified encryption scope for all writes.

denyEncryptionScopeOverride Boolean

Block override of encryption scope from the container default.

metadata Map<String,String>

A name-value pair to associate with the container as metadata.

publicAccess PublicAccess

Specifies whether data in the container may be accessed publicly and the level of access.

accountName string

The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

resourceGroupName string

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

containerName string

The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

defaultEncryptionScope string

Default the container to use specified encryption scope for all writes.

denyEncryptionScopeOverride boolean

Block override of encryption scope from the container default.

metadata {[key: string]: string}

A name-value pair to associate with the container as metadata.

publicAccess PublicAccess

Specifies whether data in the container may be accessed publicly and the level of access.

account_name str

The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

resource_group_name str

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

container_name str

The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

default_encryption_scope str

Default the container to use specified encryption scope for all writes.

deny_encryption_scope_override bool

Block override of encryption scope from the container default.

metadata Mapping[str, str]

A name-value pair to associate with the container as metadata.

public_access PublicAccess

Specifies whether data in the container may be accessed publicly and the level of access.

accountName String

The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

resourceGroupName String

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

containerName String

The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

defaultEncryptionScope String

Default the container to use specified encryption scope for all writes.

denyEncryptionScopeOverride Boolean

Block override of encryption scope from the container default.

metadata Map<String>

A name-value pair to associate with the container as metadata.

publicAccess "Container" | "Blob" | "None"

Specifies whether data in the container may be accessed publicly and the level of access.

Outputs

All input properties are implicitly available as output properties. Additionally, the BlobContainer resource produces the following output properties:

Deleted bool

Indicates whether the blob container was deleted.

DeletedTime string

Blob container deletion time.

Etag string

Resource Etag.

HasImmutabilityPolicy bool

The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container.

HasLegalHold bool

The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.

Id string

The provider-assigned unique ID for this managed resource.

ImmutabilityPolicy Pulumi.AzureNative.Storage.Outputs.ImmutabilityPolicyPropertiesResponse

The ImmutabilityPolicy property of the container.

LastModifiedTime string

Returns the date and time the container was last modified.

LeaseDuration string

Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased.

LeaseState string

Lease state of the container.

LeaseStatus string

The lease status of the container.

LegalHold Pulumi.AzureNative.Storage.Outputs.LegalHoldPropertiesResponse

The LegalHold property of the container.

Name string

The name of the resource

RemainingRetentionDays int

Remaining retention days for soft deleted blob container.

Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Version string

The version of the deleted blob container.

Deleted bool

Indicates whether the blob container was deleted.

DeletedTime string

Blob container deletion time.

Etag string

Resource Etag.

HasImmutabilityPolicy bool

The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container.

HasLegalHold bool

The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.

Id string

The provider-assigned unique ID for this managed resource.

ImmutabilityPolicy ImmutabilityPolicyPropertiesResponse

The ImmutabilityPolicy property of the container.

LastModifiedTime string

Returns the date and time the container was last modified.

LeaseDuration string

Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased.

LeaseState string

Lease state of the container.

LeaseStatus string

The lease status of the container.

LegalHold LegalHoldPropertiesResponse

The LegalHold property of the container.

Name string

The name of the resource

RemainingRetentionDays int

Remaining retention days for soft deleted blob container.

Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Version string

The version of the deleted blob container.

deleted Boolean

Indicates whether the blob container was deleted.

deletedTime String

Blob container deletion time.

etag String

Resource Etag.

hasImmutabilityPolicy Boolean

The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container.

hasLegalHold Boolean

The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.

id String

The provider-assigned unique ID for this managed resource.

immutabilityPolicy ImmutabilityPolicyPropertiesResponse

The ImmutabilityPolicy property of the container.

lastModifiedTime String

Returns the date and time the container was last modified.

leaseDuration String

Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased.

leaseState String

Lease state of the container.

leaseStatus String

The lease status of the container.

legalHold LegalHoldPropertiesResponse

The LegalHold property of the container.

name String

The name of the resource

remainingRetentionDays Integer

Remaining retention days for soft deleted blob container.

type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

version String

The version of the deleted blob container.

deleted boolean

Indicates whether the blob container was deleted.

deletedTime string

Blob container deletion time.

etag string

Resource Etag.

hasImmutabilityPolicy boolean

The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container.

hasLegalHold boolean

The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.

id string

The provider-assigned unique ID for this managed resource.

immutabilityPolicy ImmutabilityPolicyPropertiesResponse

The ImmutabilityPolicy property of the container.

lastModifiedTime string

Returns the date and time the container was last modified.

leaseDuration string

Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased.

leaseState string

Lease state of the container.

leaseStatus string

The lease status of the container.

legalHold LegalHoldPropertiesResponse

The LegalHold property of the container.

name string

The name of the resource

remainingRetentionDays number

Remaining retention days for soft deleted blob container.

type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

version string

The version of the deleted blob container.

deleted bool

Indicates whether the blob container was deleted.

deleted_time str

Blob container deletion time.

etag str

Resource Etag.

has_immutability_policy bool

The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container.

has_legal_hold bool

The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.

id str

The provider-assigned unique ID for this managed resource.

immutability_policy ImmutabilityPolicyPropertiesResponse

The ImmutabilityPolicy property of the container.

last_modified_time str

Returns the date and time the container was last modified.

lease_duration str

Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased.

lease_state str

Lease state of the container.

lease_status str

The lease status of the container.

legal_hold LegalHoldPropertiesResponse

The LegalHold property of the container.

name str

The name of the resource

remaining_retention_days int

Remaining retention days for soft deleted blob container.

type str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

version str

The version of the deleted blob container.

deleted Boolean

Indicates whether the blob container was deleted.

deletedTime String

Blob container deletion time.

etag String

Resource Etag.

hasImmutabilityPolicy Boolean

The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container.

hasLegalHold Boolean

The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.

id String

The provider-assigned unique ID for this managed resource.

immutabilityPolicy Property Map

The ImmutabilityPolicy property of the container.

lastModifiedTime String

Returns the date and time the container was last modified.

leaseDuration String

Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased.

leaseState String

Lease state of the container.

leaseStatus String

The lease status of the container.

legalHold Property Map

The LegalHold property of the container.

name String

The name of the resource

remainingRetentionDays Number

Remaining retention days for soft deleted blob container.

type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

version String

The version of the deleted blob container.

Supporting Types

ImmutabilityPolicyPropertiesResponse

Etag string

ImmutabilityPolicy Etag.

State string

The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.

UpdateHistory List<Pulumi.AzureNative.Storage.Inputs.UpdateHistoryPropertyResponse>

The ImmutabilityPolicy update history of the blob container.

AllowProtectedAppendWrites bool

This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API

ImmutabilityPeriodSinceCreationInDays int

The immutability period for the blobs in the container since the policy creation, in days.

Etag string

ImmutabilityPolicy Etag.

State string

The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.

UpdateHistory []UpdateHistoryPropertyResponse

The ImmutabilityPolicy update history of the blob container.

AllowProtectedAppendWrites bool

This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API

ImmutabilityPeriodSinceCreationInDays int

The immutability period for the blobs in the container since the policy creation, in days.

etag String

ImmutabilityPolicy Etag.

state String

The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.

updateHistory List<UpdateHistoryPropertyResponse>

The ImmutabilityPolicy update history of the blob container.

allowProtectedAppendWrites Boolean

This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API

immutabilityPeriodSinceCreationInDays Integer

The immutability period for the blobs in the container since the policy creation, in days.

etag string

ImmutabilityPolicy Etag.

state string

The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.

updateHistory UpdateHistoryPropertyResponse[]

The ImmutabilityPolicy update history of the blob container.

allowProtectedAppendWrites boolean

This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API

immutabilityPeriodSinceCreationInDays number

The immutability period for the blobs in the container since the policy creation, in days.

etag str

ImmutabilityPolicy Etag.

state str

The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.

update_history Sequence[UpdateHistoryPropertyResponse]

The ImmutabilityPolicy update history of the blob container.

allow_protected_append_writes bool

This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API

immutability_period_since_creation_in_days int

The immutability period for the blobs in the container since the policy creation, in days.

etag String

ImmutabilityPolicy Etag.

state String

The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.

updateHistory List<Property Map>

The ImmutabilityPolicy update history of the blob container.

allowProtectedAppendWrites Boolean

This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API

immutabilityPeriodSinceCreationInDays Number

The immutability period for the blobs in the container since the policy creation, in days.

LegalHoldPropertiesResponse

HasLegalHold bool

The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.

Tags List<Pulumi.AzureNative.Storage.Inputs.TagPropertyResponse>

The list of LegalHold tags of a blob container.

HasLegalHold bool

The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.

Tags []TagPropertyResponse

The list of LegalHold tags of a blob container.

hasLegalHold Boolean

The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.

tags List<TagPropertyResponse>

The list of LegalHold tags of a blob container.

hasLegalHold boolean

The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.

tags TagPropertyResponse[]

The list of LegalHold tags of a blob container.

has_legal_hold bool

The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.

tags Sequence[TagPropertyResponse]

The list of LegalHold tags of a blob container.

hasLegalHold Boolean

The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.

tags List<Property Map>

The list of LegalHold tags of a blob container.

PublicAccess

Container
Container
Blob
Blob
None
None
PublicAccessContainer
Container
PublicAccessBlob
Blob
PublicAccessNone
None
Container
Container
Blob
Blob
None
None
Container
Container
Blob
Blob
None
None
CONTAINER
Container
BLOB
Blob
NONE
None
"Container"
Container
"Blob"
Blob
"None"
None

TagPropertyResponse

ObjectIdentifier string

Returns the Object ID of the user who added the tag.

Tag string

The tag value.

TenantId string

Returns the Tenant ID that issued the token for the user who added the tag.

Timestamp string

Returns the date and time the tag was added.

Upn string

Returns the User Principal Name of the user who added the tag.

ObjectIdentifier string

Returns the Object ID of the user who added the tag.

Tag string

The tag value.

TenantId string

Returns the Tenant ID that issued the token for the user who added the tag.

Timestamp string

Returns the date and time the tag was added.

Upn string

Returns the User Principal Name of the user who added the tag.

objectIdentifier String

Returns the Object ID of the user who added the tag.

tag String

The tag value.

tenantId String

Returns the Tenant ID that issued the token for the user who added the tag.

timestamp String

Returns the date and time the tag was added.

upn String

Returns the User Principal Name of the user who added the tag.

objectIdentifier string

Returns the Object ID of the user who added the tag.

tag string

The tag value.

tenantId string

Returns the Tenant ID that issued the token for the user who added the tag.

timestamp string

Returns the date and time the tag was added.

upn string

Returns the User Principal Name of the user who added the tag.

object_identifier str

Returns the Object ID of the user who added the tag.

tag str

The tag value.

tenant_id str

Returns the Tenant ID that issued the token for the user who added the tag.

timestamp str

Returns the date and time the tag was added.

upn str

Returns the User Principal Name of the user who added the tag.

objectIdentifier String

Returns the Object ID of the user who added the tag.

tag String

The tag value.

tenantId String

Returns the Tenant ID that issued the token for the user who added the tag.

timestamp String

Returns the date and time the tag was added.

upn String

Returns the User Principal Name of the user who added the tag.

UpdateHistoryPropertyResponse

ImmutabilityPeriodSinceCreationInDays int

The immutability period for the blobs in the container since the policy creation, in days.

ObjectIdentifier string

Returns the Object ID of the user who updated the ImmutabilityPolicy.

TenantId string

Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy.

Timestamp string

Returns the date and time the ImmutabilityPolicy was updated.

Update string

The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend.

Upn string

Returns the User Principal Name of the user who updated the ImmutabilityPolicy.

ImmutabilityPeriodSinceCreationInDays int

The immutability period for the blobs in the container since the policy creation, in days.

ObjectIdentifier string

Returns the Object ID of the user who updated the ImmutabilityPolicy.

TenantId string

Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy.

Timestamp string

Returns the date and time the ImmutabilityPolicy was updated.

Update string

The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend.

Upn string

Returns the User Principal Name of the user who updated the ImmutabilityPolicy.

immutabilityPeriodSinceCreationInDays Integer

The immutability period for the blobs in the container since the policy creation, in days.

objectIdentifier String

Returns the Object ID of the user who updated the ImmutabilityPolicy.

tenantId String

Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy.

timestamp String

Returns the date and time the ImmutabilityPolicy was updated.

update String

The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend.

upn String

Returns the User Principal Name of the user who updated the ImmutabilityPolicy.

immutabilityPeriodSinceCreationInDays number

The immutability period for the blobs in the container since the policy creation, in days.

objectIdentifier string

Returns the Object ID of the user who updated the ImmutabilityPolicy.

tenantId string

Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy.

timestamp string

Returns the date and time the ImmutabilityPolicy was updated.

update string

The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend.

upn string

Returns the User Principal Name of the user who updated the ImmutabilityPolicy.

immutability_period_since_creation_in_days int

The immutability period for the blobs in the container since the policy creation, in days.

object_identifier str

Returns the Object ID of the user who updated the ImmutabilityPolicy.

tenant_id str

Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy.

timestamp str

Returns the date and time the ImmutabilityPolicy was updated.

update str

The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend.

upn str

Returns the User Principal Name of the user who updated the ImmutabilityPolicy.

immutabilityPeriodSinceCreationInDays Number

The immutability period for the blobs in the container since the policy creation, in days.

objectIdentifier String

Returns the Object ID of the user who updated the ImmutabilityPolicy.

tenantId String

Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy.

timestamp String

Returns the date and time the ImmutabilityPolicy was updated.

update String

The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend.

upn String

Returns the User Principal Name of the user who updated the ImmutabilityPolicy.

Import

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

$ pulumi import azure-native:storage:BlobContainer container6185 /subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0