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 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",
});
});
package main
import (
storage "github.com/pulumi/pulumi-azure-native-sdk/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 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",
});
});
package main
import (
storage "github.com/pulumi/pulumi-azure-native-sdk/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
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,
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 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.
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,
Metadata =
{
{ "string", "string" },
},
PublicAccess = "Container",
});
example, err := storage.NewBlobContainer(ctx, "blobContainerResource", &storage.BlobContainerArgs{
AccountName: "string",
ResourceGroupName: "string",
ContainerName: "string",
DefaultEncryptionScope: "string",
DenyEncryptionScopeOverride: false,
Metadata: map[string]interface{}{
"string": "string",
},
PublicAccess: "Container",
})
var blobContainerResource = new BlobContainer("blobContainerResource", BlobContainerArgs.builder()
.accountName("string")
.resourceGroupName("string")
.containerName("string")
.defaultEncryptionScope("string")
.denyEncryptionScopeOverride(false)
.metadata(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.publicAccess("Container")
.build());
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,
metadata={
string: string,
},
public_access=Container)
const blobContainerResource = new azure_native.storage.BlobContainer("blobContainerResource", {
accountName: "string",
resourceGroupName: "string",
containerName: "string",
defaultEncryptionScope: "string",
denyEncryptionScopeOverride: false,
metadata: {
string: "string",
},
publicAccess: "Container",
});
type: azure-native:storage:BlobContainer
properties:
accountName: string
containerName: string
defaultEncryptionScope: string
denyEncryptionScopeOverride: false
metadata:
string: string
publicAccess: Container
resourceGroupName: string
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:
- Account
Name 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.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Container
Name 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.
- Default
Encryption stringScope - Default the container to use specified encryption scope for all writes.
- Deny
Encryption boolScope Override - Block override of encryption scope from the container default.
- Metadata Dictionary<string, string>
- A name-value pair to associate with the container as metadata.
- Public
Access Pulumi.Azure Native. Storage. Public Access - Specifies whether data in the container may be accessed publicly and the level of access.
- Account
Name 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.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Container
Name 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.
- Default
Encryption stringScope - Default the container to use specified encryption scope for all writes.
- Deny
Encryption boolScope Override - Block override of encryption scope from the container default.
- Metadata map[string]string
- 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.
- account
Name 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.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- container
Name 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.
- default
Encryption StringScope - Default the container to use specified encryption scope for all writes.
- deny
Encryption BooleanScope Override - Block override of encryption scope from the container default.
- metadata Map<String,String>
- 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.
- account
Name 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.
- resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- container
Name 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.
- default
Encryption stringScope - Default the container to use specified encryption scope for all writes.
- deny
Encryption booleanScope Override - Block override of encryption scope from the container default.
- metadata {[key: string]: string}
- 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.
- 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_ strname - 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_ strscope - Default the container to use specified encryption scope for all writes.
- deny_
encryption_ boolscope_ override - 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.
- account
Name 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.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- container
Name 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.
- default
Encryption StringScope - Default the container to use specified encryption scope for all writes.
- deny
Encryption BooleanScope Override - Block override of encryption scope from the container default.
- metadata Map<String>
- A name-value pair to associate with the container as metadata.
- public
Access "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.
- Deleted
Time string - Blob container deletion time.
- Etag string
- Resource Etag.
- Has
Immutability boolPolicy - 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 boolHold - 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.
- Immutability
Policy Pulumi.Azure Native. Storage. Outputs. Immutability Policy Properties Response - The ImmutabilityPolicy property of the container.
- Last
Modified stringTime - Returns the date and time the container was last modified.
- Lease
Duration string - Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased.
- Lease
State string - Lease state of the container.
- Lease
Status string - The lease status of the container.
- Legal
Hold Pulumi.Azure Native. Storage. Outputs. Legal Hold Properties Response - The LegalHold property of the container.
- Name string
- The name of the resource
- Remaining
Retention intDays - 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 string - Blob container deletion time.
- Etag string
- Resource Etag.
- Has
Immutability boolPolicy - 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 boolHold - 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.
- Immutability
Policy ImmutabilityPolicy Properties Response - The ImmutabilityPolicy property of the container.
- Last
Modified stringTime - Returns the date and time the container was last modified.
- Lease
Duration string - Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased.
- Lease
State string - Lease state of the container.
- Lease
Status string - The lease status of the container.
- Legal
Hold LegalHold Properties Response - The LegalHold property of the container.
- Name string
- The name of the resource
- Remaining
Retention intDays - 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.
- deleted
Time String - Blob container deletion time.
- etag String
- Resource Etag.
- has
Immutability BooleanPolicy - 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 BooleanHold - 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.
- immutability
Policy ImmutabilityPolicy Properties Response - The ImmutabilityPolicy property of the container.
- last
Modified StringTime - Returns the date and time the container was last modified.
- lease
Duration String - Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased.
- lease
State String - Lease state of the container.
- lease
Status String - The lease status of the container.
- legal
Hold LegalHold Properties Response - The LegalHold property of the container.
- name String
- The name of the resource
- remaining
Retention IntegerDays - 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.
- deleted
Time string - Blob container deletion time.
- etag string
- Resource Etag.
- has
Immutability booleanPolicy - 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 booleanHold - 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.
- immutability
Policy ImmutabilityPolicy Properties Response - The ImmutabilityPolicy property of the container.
- last
Modified stringTime - Returns the date and time the container was last modified.
- lease
Duration string - Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased.
- lease
State string - Lease state of the container.
- lease
Status string - The lease status of the container.
- legal
Hold LegalHold Properties Response - The LegalHold property of the container.
- name string
- The name of the resource
- remaining
Retention numberDays - 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_ boolpolicy - 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_ boolhold - 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 ImmutabilityPolicy Properties Response - The ImmutabilityPolicy property of the container.
- last_
modified_ strtime - 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 LegalHold Properties Response - The LegalHold property of the container.
- name str
- The name of the resource
- remaining_
retention_ intdays - 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.
- deleted
Time String - Blob container deletion time.
- etag String
- Resource Etag.
- has
Immutability BooleanPolicy - 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 BooleanHold - 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.
- immutability
Policy Property Map - The ImmutabilityPolicy property of the container.
- last
Modified StringTime - Returns the date and time the container was last modified.
- lease
Duration String - Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased.
- lease
State String - Lease state of the container.
- lease
Status String - The lease status of the container.
- legal
Hold Property Map - The LegalHold property of the container.
- name String
- The name of the resource
- remaining
Retention NumberDays - 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 string
- ImmutabilityPolicy Etag.
- State string
- The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.
- Update
History List<Pulumi.Azure Native. Storage. Inputs. Update History Property Response> - The ImmutabilityPolicy update history of the blob container.
- Allow
Protected boolAppend Writes - 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 intSince Creation In Days - 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.
- Update
History []UpdateHistory Property Response - The ImmutabilityPolicy update history of the blob container.
- Allow
Protected boolAppend Writes - 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 intSince Creation In Days - 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.
- update
History List<UpdateHistory Property Response> - The ImmutabilityPolicy update history of the blob container.
- allow
Protected BooleanAppend Writes - 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 IntegerSince Creation In Days - 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.
- update
History UpdateHistory Property Response[] - The ImmutabilityPolicy update history of the blob container.
- allow
Protected booleanAppend Writes - 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 numberSince Creation In Days - 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[UpdateHistory Property Response] - The ImmutabilityPolicy update history of the blob container.
- allow_
protected_ boolappend_ writes - 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_ intsince_ creation_ in_ days - 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.
- update
History List<Property Map> - The ImmutabilityPolicy update history of the blob container.
- allow
Protected BooleanAppend Writes - 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 NumberSince Creation In Days - The immutability period for the blobs in the container since the policy creation, in days.
LegalHoldPropertiesResponse, LegalHoldPropertiesResponseArgs
- Has
Legal boolHold - 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.
- List<Pulumi.
Azure Native. Storage. Inputs. Tag Property Response> - The list of LegalHold tags of a blob container.
- Has
Legal boolHold - 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.
- []Tag
Property Response - The list of LegalHold tags of a blob container.
- has
Legal BooleanHold - 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.
- List<Tag
Property Response> - The list of LegalHold tags of a blob container.
- has
Legal booleanHold - 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.
- Tag
Property Response[] - The list of LegalHold tags of a blob container.
- has_
legal_ boolhold - 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.
- Sequence[Tag
Property Response] - The list of LegalHold tags of a blob container.
- has
Legal BooleanHold - 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.
- List<Property Map>
- The list of LegalHold tags of a blob container.
PublicAccess, PublicAccessArgs
- Container
- Container
- Blob
- Blob
- None
- None
- Public
Access Container - Container
- Public
Access Blob - Blob
- Public
Access None - 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
- Object
Identifier string - Returns the Object ID of the user who added the tag.
- Tag string
- The tag value.
- Tenant
Id 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 string - Returns the Object ID of the user who added the tag.
- Tag string
- The tag value.
- Tenant
Id 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 String - Returns the Object ID of the user who added the tag.
- tag String
- The tag value.
- tenant
Id 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 string - Returns the Object ID of the user who added the tag.
- tag string
- The tag value.
- tenant
Id 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.
- object
Identifier String - Returns the Object ID of the user who added the tag.
- tag String
- The tag value.
- tenant
Id 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, UpdateHistoryPropertyResponseArgs
- Immutability
Period intSince Creation In Days - The immutability period for the blobs in the container since the policy creation, in days.
- Object
Identifier string - Returns the Object ID of the user who updated the ImmutabilityPolicy.
- Tenant
Id 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 intSince Creation In Days - The immutability period for the blobs in the container since the policy creation, in days.
- Object
Identifier string - Returns the Object ID of the user who updated the ImmutabilityPolicy.
- Tenant
Id 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 IntegerSince Creation In Days - The immutability period for the blobs in the container since the policy creation, in days.
- object
Identifier String - Returns the Object ID of the user who updated the ImmutabilityPolicy.
- tenant
Id 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 numberSince Creation In Days - The immutability period for the blobs in the container since the policy creation, in days.
- object
Identifier string - Returns the Object ID of the user who updated the ImmutabilityPolicy.
- tenant
Id 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_ intsince_ creation_ in_ days - 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.
- immutability
Period NumberSince Creation In Days - The immutability period for the blobs in the container since the policy creation, in days.
- object
Identifier String - Returns the Object ID of the user who updated the ImmutabilityPolicy.
- tenant
Id 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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0