1. Packages
  2. Azure Native v2
  3. API Docs
  4. storage
  5. BlobContainer
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.storage.BlobContainer

Explore with Pulumi AI

Properties of the blob container, including Id, resource name, resource type, Etag. Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2021-02-01.

Other available API versions: 2023-01-01, 2023-04-01, 2023-05-01.

Example Usage

PutContainerWithDefaultEncryptionScope

using System.Collections.Generic;
using System.Linq;
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",
    });

});
Copy
package main

import (
	storage "github.com/pulumi/pulumi-azure-native-sdk/storage/v2"
	"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
	})
}
Copy
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());

    }
}
Copy
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",
});
Copy
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")
Copy
resources:
  blobContainer:
    type: azure-native:storage:BlobContainer
    properties:
      accountName: sto328
      containerName: container6185
      defaultEncryptionScope: encryptionscope185
      denyEncryptionScopeOverride: true
      resourceGroupName: res3376
Copy

PutContainerWithObjectLevelWorm

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

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

});
Copy
package main

import (
	storage "github.com/pulumi/pulumi-azure-native-sdk/storage/v2"
	"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"),
			ImmutableStorageWithVersioning: &storage.ImmutableStorageWithVersioningArgs{
				Enabled: pulumi.Bool(true),
			},
			ResourceGroupName: pulumi.String("res3376"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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 com.pulumi.azurenative.storage.inputs.ImmutableStorageWithVersioningArgs;
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")
            .immutableStorageWithVersioning(ImmutableStorageWithVersioningArgs.builder()
                .enabled(true)
                .build())
            .resourceGroupName("res3376")
            .build());

    }
}
Copy
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",
    immutableStorageWithVersioning: {
        enabled: true,
    },
    resourceGroupName: "res3376",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

blob_container = azure_native.storage.BlobContainer("blobContainer",
    account_name="sto328",
    container_name="container6185",
    immutable_storage_with_versioning={
        "enabled": True,
    },
    resource_group_name="res3376")
Copy
resources:
  blobContainer:
    type: azure-native:storage:BlobContainer
    properties:
      accountName: sto328
      containerName: container6185
      immutableStorageWithVersioning:
        enabled: true
      resourceGroupName: res3376
Copy

PutContainers

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

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

});
Copy
package main

import (
	storage "github.com/pulumi/pulumi-azure-native-sdk/storage/v2"
	"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
	})
}
Copy
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());

    }
}
Copy
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",
});
Copy
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")
Copy
resources:
  blobContainer:
    type: azure-native:storage:BlobContainer
    properties:
      accountName: sto328
      containerName: container6185
      resourceGroupName: res3376
Copy

Create BlobContainer Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new BlobContainer(name: string, args: BlobContainerArgs, opts?: CustomResourceOptions);
@overload
def BlobContainer(resource_name: str,
                  args: BlobContainerArgs,
                  opts: Optional[ResourceOptions] = None)

@overload
def BlobContainer(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  account_name: Optional[str] = None,
                  resource_group_name: Optional[str] = None,
                  container_name: Optional[str] = None,
                  default_encryption_scope: Optional[str] = None,
                  deny_encryption_scope_override: Optional[bool] = None,
                  enable_nfs_v3_all_squash: Optional[bool] = None,
                  enable_nfs_v3_root_squash: Optional[bool] = None,
                  immutable_storage_with_versioning: Optional[ImmutableStorageWithVersioningArgs] = None,
                  metadata: Optional[Mapping[str, str]] = None,
                  public_access: Optional[PublicAccess] = 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.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. BlobContainerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. BlobContainerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. BlobContainerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. BlobContainerArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var blobContainerResource = new AzureNative.Storage.BlobContainer("blobContainerResource", new()
{
    AccountName = "string",
    ResourceGroupName = "string",
    ContainerName = "string",
    DefaultEncryptionScope = "string",
    DenyEncryptionScopeOverride = false,
    EnableNfsV3AllSquash = false,
    EnableNfsV3RootSquash = false,
    ImmutableStorageWithVersioning = 
    {
        { "enabled", false },
    },
    Metadata = 
    {
        { "string", "string" },
    },
    PublicAccess = "Container",
});
Copy
example, err := storage.NewBlobContainer(ctx, "blobContainerResource", &storage.BlobContainerArgs{
	AccountName:                 "string",
	ResourceGroupName:           "string",
	ContainerName:               "string",
	DefaultEncryptionScope:      "string",
	DenyEncryptionScopeOverride: false,
	EnableNfsV3AllSquash:        false,
	EnableNfsV3RootSquash:       false,
	ImmutableStorageWithVersioning: map[string]interface{}{
		"enabled": false,
	},
	Metadata: map[string]interface{}{
		"string": "string",
	},
	PublicAccess: "Container",
})
Copy
var blobContainerResource = new BlobContainer("blobContainerResource", BlobContainerArgs.builder()
    .accountName("string")
    .resourceGroupName("string")
    .containerName("string")
    .defaultEncryptionScope("string")
    .denyEncryptionScopeOverride(false)
    .enableNfsV3AllSquash(false)
    .enableNfsV3RootSquash(false)
    .immutableStorageWithVersioning(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .metadata(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .publicAccess("Container")
    .build());
Copy
blob_container_resource = azure_native.storage.BlobContainer("blobContainerResource",
    account_name=string,
    resource_group_name=string,
    container_name=string,
    default_encryption_scope=string,
    deny_encryption_scope_override=False,
    enable_nfs_v3_all_squash=False,
    enable_nfs_v3_root_squash=False,
    immutable_storage_with_versioning={
        enabled: False,
    },
    metadata={
        string: string,
    },
    public_access=Container)
Copy
const blobContainerResource = new azure_native.storage.BlobContainer("blobContainerResource", {
    accountName: "string",
    resourceGroupName: "string",
    containerName: "string",
    defaultEncryptionScope: "string",
    denyEncryptionScopeOverride: false,
    enableNfsV3AllSquash: false,
    enableNfsV3RootSquash: false,
    immutableStorageWithVersioning: {
        enabled: false,
    },
    metadata: {
        string: "string",
    },
    publicAccess: "Container",
});
Copy
type: azure-native:storage:BlobContainer
properties:
    accountName: string
    containerName: string
    defaultEncryptionScope: string
    denyEncryptionScopeOverride: false
    enableNfsV3AllSquash: false
    enableNfsV3RootSquash: false
    immutableStorageWithVersioning:
        enabled: false
    metadata:
        string: string
    publicAccess: Container
    resourceGroupName: string
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The BlobContainer resource accepts the following input properties:

AccountName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription. The name is case insensitive.
ContainerName Changes to this property will trigger replacement. 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.
EnableNfsV3AllSquash bool
Enable NFSv3 all squash on blob container.
EnableNfsV3RootSquash bool
Enable NFSv3 root squash on blob container.
ImmutableStorageWithVersioning Pulumi.AzureNative.Storage.Inputs.ImmutableStorageWithVersioning
The object level immutability property of the container. The property is immutable and can only be set to true at the container creation time. Existing containers must undergo a migration process.
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
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription. The name is case insensitive.
ContainerName Changes to this property will trigger replacement. 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.
EnableNfsV3AllSquash bool
Enable NFSv3 all squash on blob container.
EnableNfsV3RootSquash bool
Enable NFSv3 root squash on blob container.
ImmutableStorageWithVersioning ImmutableStorageWithVersioningArgs
The object level immutability property of the container. The property is immutable and can only be set to true at the container creation time. Existing containers must undergo a migration process.
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
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the user's subscription. The name is case insensitive.
containerName Changes to this property will trigger replacement. 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.
enableNfsV3AllSquash Boolean
Enable NFSv3 all squash on blob container.
enableNfsV3RootSquash Boolean
Enable NFSv3 root squash on blob container.
immutableStorageWithVersioning ImmutableStorageWithVersioning
The object level immutability property of the container. The property is immutable and can only be set to true at the container creation time. Existing containers must undergo a migration process.
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
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription. The name is case insensitive.
containerName Changes to this property will trigger replacement. 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.
enableNfsV3AllSquash boolean
Enable NFSv3 all squash on blob container.
enableNfsV3RootSquash boolean
Enable NFSv3 root squash on blob container.
immutableStorageWithVersioning ImmutableStorageWithVersioning
The object level immutability property of the container. The property is immutable and can only be set to true at the container creation time. Existing containers must undergo a migration process.
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
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group within the user's subscription. The name is case insensitive.
container_name Changes to this property will trigger replacement. 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.
enable_nfs_v3_all_squash bool
Enable NFSv3 all squash on blob container.
enable_nfs_v3_root_squash bool
Enable NFSv3 root squash on blob container.
immutable_storage_with_versioning ImmutableStorageWithVersioningArgs
The object level immutability property of the container. The property is immutable and can only be set to true at the container creation time. Existing containers must undergo a migration process.
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
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the user's subscription. The name is case insensitive.
containerName Changes to this property will trigger replacement. 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.
enableNfsV3AllSquash Boolean
Enable NFSv3 all squash on blob container.
enableNfsV3RootSquash Boolean
Enable NFSv3 root squash on blob container.
immutableStorageWithVersioning Property Map
The object level immutability property of the container. The property is immutable and can only be set to true at the container creation time. Existing containers must undergo a migration process.
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
, ImmutabilityPolicyPropertiesResponseArgs

Etag This property is required. string
ImmutabilityPolicy Etag.
State This property is required. string
The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.
UpdateHistory This property is required. 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.
AllowProtectedAppendWritesAll bool
This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' 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. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive.
ImmutabilityPeriodSinceCreationInDays int
The immutability period for the blobs in the container since the policy creation, in days.
Etag This property is required. string
ImmutabilityPolicy Etag.
State This property is required. string
The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.
UpdateHistory This property is required. []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.
AllowProtectedAppendWritesAll bool
This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' 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. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive.
ImmutabilityPeriodSinceCreationInDays int
The immutability period for the blobs in the container since the policy creation, in days.
etag This property is required. String
ImmutabilityPolicy Etag.
state This property is required. String
The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.
updateHistory This property is required. 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.
allowProtectedAppendWritesAll Boolean
This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' 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. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive.
immutabilityPeriodSinceCreationInDays Integer
The immutability period for the blobs in the container since the policy creation, in days.
etag This property is required. string
ImmutabilityPolicy Etag.
state This property is required. string
The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.
updateHistory This property is required. 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.
allowProtectedAppendWritesAll boolean
This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' 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. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive.
immutabilityPeriodSinceCreationInDays number
The immutability period for the blobs in the container since the policy creation, in days.
etag This property is required. str
ImmutabilityPolicy Etag.
state This property is required. str
The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.
update_history This property is required. 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.
allow_protected_append_writes_all bool
This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' 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. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive.
immutability_period_since_creation_in_days int
The immutability period for the blobs in the container since the policy creation, in days.
etag This property is required. String
ImmutabilityPolicy Etag.
state This property is required. String
The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.
updateHistory This property is required. 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.
allowProtectedAppendWritesAll Boolean
This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' 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. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive.
immutabilityPeriodSinceCreationInDays Number
The immutability period for the blobs in the container since the policy creation, in days.

ImmutableStorageWithVersioning
, ImmutableStorageWithVersioningArgs

Enabled bool
This is an immutable property, when set to true it enables object level immutability at the container level.
Enabled bool
This is an immutable property, when set to true it enables object level immutability at the container level.
enabled Boolean
This is an immutable property, when set to true it enables object level immutability at the container level.
enabled boolean
This is an immutable property, when set to true it enables object level immutability at the container level.
enabled bool
This is an immutable property, when set to true it enables object level immutability at the container level.
enabled Boolean
This is an immutable property, when set to true it enables object level immutability at the container level.

ImmutableStorageWithVersioningResponse
, ImmutableStorageWithVersioningResponseArgs

MigrationState This property is required. string
This property denotes the container level immutability to object level immutability migration state.
TimeStamp This property is required. string
Returns the date and time the object level immutability was enabled.
Enabled bool
This is an immutable property, when set to true it enables object level immutability at the container level.
MigrationState This property is required. string
This property denotes the container level immutability to object level immutability migration state.
TimeStamp This property is required. string
Returns the date and time the object level immutability was enabled.
Enabled bool
This is an immutable property, when set to true it enables object level immutability at the container level.
migrationState This property is required. String
This property denotes the container level immutability to object level immutability migration state.
timeStamp This property is required. String
Returns the date and time the object level immutability was enabled.
enabled Boolean
This is an immutable property, when set to true it enables object level immutability at the container level.
migrationState This property is required. string
This property denotes the container level immutability to object level immutability migration state.
timeStamp This property is required. string
Returns the date and time the object level immutability was enabled.
enabled boolean
This is an immutable property, when set to true it enables object level immutability at the container level.
migration_state This property is required. str
This property denotes the container level immutability to object level immutability migration state.
time_stamp This property is required. str
Returns the date and time the object level immutability was enabled.
enabled bool
This is an immutable property, when set to true it enables object level immutability at the container level.
migrationState This property is required. String
This property denotes the container level immutability to object level immutability migration state.
timeStamp This property is required. String
Returns the date and time the object level immutability was enabled.
enabled Boolean
This is an immutable property, when set to true it enables object level immutability at the container level.

LegalHoldPropertiesResponse
, LegalHoldPropertiesResponseArgs

HasLegalHold This property is required. 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.
ProtectedAppendWritesHistory Pulumi.AzureNative.Storage.Inputs.ProtectedAppendWritesHistoryResponse
Protected append blob writes history.
Tags List<Pulumi.AzureNative.Storage.Inputs.TagPropertyResponse>
The list of LegalHold tags of a blob container.
HasLegalHold This property is required. 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.
ProtectedAppendWritesHistory ProtectedAppendWritesHistoryResponse
Protected append blob writes history.
Tags []TagPropertyResponse
The list of LegalHold tags of a blob container.
hasLegalHold This property is required. 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.
protectedAppendWritesHistory ProtectedAppendWritesHistoryResponse
Protected append blob writes history.
tags List<TagPropertyResponse>
The list of LegalHold tags of a blob container.
hasLegalHold This property is required. 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.
protectedAppendWritesHistory ProtectedAppendWritesHistoryResponse
Protected append blob writes history.
tags TagPropertyResponse[]
The list of LegalHold tags of a blob container.
has_legal_hold This property is required. 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.
protected_append_writes_history ProtectedAppendWritesHistoryResponse
Protected append blob writes history.
tags Sequence[TagPropertyResponse]
The list of LegalHold tags of a blob container.
hasLegalHold This property is required. 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.
protectedAppendWritesHistory Property Map
Protected append blob writes history.
tags List<Property Map>
The list of LegalHold tags of a blob container.

ProtectedAppendWritesHistoryResponse
, ProtectedAppendWritesHistoryResponseArgs

Timestamp This property is required. string
Returns the date and time the tag was added.
AllowProtectedAppendWritesAll bool
When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.
Timestamp This property is required. string
Returns the date and time the tag was added.
AllowProtectedAppendWritesAll bool
When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.
timestamp This property is required. String
Returns the date and time the tag was added.
allowProtectedAppendWritesAll Boolean
When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.
timestamp This property is required. string
Returns the date and time the tag was added.
allowProtectedAppendWritesAll boolean
When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.
timestamp This property is required. str
Returns the date and time the tag was added.
allow_protected_append_writes_all bool
When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.
timestamp This property is required. String
Returns the date and time the tag was added.
allowProtectedAppendWritesAll Boolean
When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.

PublicAccess
, PublicAccessArgs

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
, TagPropertyResponseArgs

ObjectIdentifier This property is required. string
Returns the Object ID of the user who added the tag.
Tag This property is required. string
The tag value.
TenantId This property is required. string
Returns the Tenant ID that issued the token for the user who added the tag.
Timestamp This property is required. string
Returns the date and time the tag was added.
Upn This property is required. string
Returns the User Principal Name of the user who added the tag.
ObjectIdentifier This property is required. string
Returns the Object ID of the user who added the tag.
Tag This property is required. string
The tag value.
TenantId This property is required. string
Returns the Tenant ID that issued the token for the user who added the tag.
Timestamp This property is required. string
Returns the date and time the tag was added.
Upn This property is required. string
Returns the User Principal Name of the user who added the tag.
objectIdentifier This property is required. String
Returns the Object ID of the user who added the tag.
tag This property is required. String
The tag value.
tenantId This property is required. String
Returns the Tenant ID that issued the token for the user who added the tag.
timestamp This property is required. String
Returns the date and time the tag was added.
upn This property is required. String
Returns the User Principal Name of the user who added the tag.
objectIdentifier This property is required. string
Returns the Object ID of the user who added the tag.
tag This property is required. string
The tag value.
tenantId This property is required. string
Returns the Tenant ID that issued the token for the user who added the tag.
timestamp This property is required. string
Returns the date and time the tag was added.
upn This property is required. string
Returns the User Principal Name of the user who added the tag.
object_identifier This property is required. str
Returns the Object ID of the user who added the tag.
tag This property is required. str
The tag value.
tenant_id This property is required. str
Returns the Tenant ID that issued the token for the user who added the tag.
timestamp This property is required. str
Returns the date and time the tag was added.
upn This property is required. str
Returns the User Principal Name of the user who added the tag.
objectIdentifier This property is required. String
Returns the Object ID of the user who added the tag.
tag This property is required. String
The tag value.
tenantId This property is required. String
Returns the Tenant ID that issued the token for the user who added the tag.
timestamp This property is required. String
Returns the date and time the tag was added.
upn This property is required. String
Returns the User Principal Name of the user who added the tag.

UpdateHistoryPropertyResponse
, UpdateHistoryPropertyResponseArgs

ImmutabilityPeriodSinceCreationInDays This property is required. int
The immutability period for the blobs in the container since the policy creation, in days.
ObjectIdentifier This property is required. string
Returns the Object ID of the user who updated the ImmutabilityPolicy.
TenantId This property is required. string
Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy.
Timestamp This property is required. string
Returns the date and time the ImmutabilityPolicy was updated.
Update This property is required. string
The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend.
Upn This property is required. string
Returns the User Principal Name of the user who updated the ImmutabilityPolicy.
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.
AllowProtectedAppendWritesAll bool
This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' 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. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive.
ImmutabilityPeriodSinceCreationInDays This property is required. int
The immutability period for the blobs in the container since the policy creation, in days.
ObjectIdentifier This property is required. string
Returns the Object ID of the user who updated the ImmutabilityPolicy.
TenantId This property is required. string
Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy.
Timestamp This property is required. string
Returns the date and time the ImmutabilityPolicy was updated.
Update This property is required. string
The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend.
Upn This property is required. string
Returns the User Principal Name of the user who updated the ImmutabilityPolicy.
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.
AllowProtectedAppendWritesAll bool
This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' 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. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive.
immutabilityPeriodSinceCreationInDays This property is required. Integer
The immutability period for the blobs in the container since the policy creation, in days.
objectIdentifier This property is required. String
Returns the Object ID of the user who updated the ImmutabilityPolicy.
tenantId This property is required. String
Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy.
timestamp This property is required. String
Returns the date and time the ImmutabilityPolicy was updated.
update This property is required. String
The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend.
upn This property is required. String
Returns the User Principal Name of the user who updated the ImmutabilityPolicy.
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.
allowProtectedAppendWritesAll Boolean
This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' 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. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive.
immutabilityPeriodSinceCreationInDays This property is required. number
The immutability period for the blobs in the container since the policy creation, in days.
objectIdentifier This property is required. string
Returns the Object ID of the user who updated the ImmutabilityPolicy.
tenantId This property is required. string
Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy.
timestamp This property is required. string
Returns the date and time the ImmutabilityPolicy was updated.
update This property is required. string
The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend.
upn This property is required. string
Returns the User Principal Name of the user who updated the ImmutabilityPolicy.
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.
allowProtectedAppendWritesAll boolean
This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' 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. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive.
immutability_period_since_creation_in_days This property is required. int
The immutability period for the blobs in the container since the policy creation, in days.
object_identifier This property is required. str
Returns the Object ID of the user who updated the ImmutabilityPolicy.
tenant_id This property is required. str
Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy.
timestamp This property is required. str
Returns the date and time the ImmutabilityPolicy was updated.
update This property is required. str
The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend.
upn This property is required. str
Returns the User Principal Name of the user who updated the ImmutabilityPolicy.
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.
allow_protected_append_writes_all bool
This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' 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. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive.
immutabilityPeriodSinceCreationInDays This property is required. Number
The immutability period for the blobs in the container since the policy creation, in days.
objectIdentifier This property is required. String
Returns the Object ID of the user who updated the ImmutabilityPolicy.
tenantId This property is required. String
Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy.
timestamp This property is required. String
Returns the date and time the ImmutabilityPolicy was updated.
update This property is required. String
The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend.
upn This property is required. String
Returns the User Principal Name of the user who updated the ImmutabilityPolicy.
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.
allowProtectedAppendWritesAll Boolean
This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' 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. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive.

Import

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

$ pulumi import azure-native:storage:BlobContainer container6185 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0