Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

GetBlobContainerImmutabilityPolicy

Using GetBlobContainerImmutabilityPolicy

function getBlobContainerImmutabilityPolicy(args: GetBlobContainerImmutabilityPolicyArgs, opts?: InvokeOptions): Promise<GetBlobContainerImmutabilityPolicyResult>
def get_blob_container_immutability_policy(account_name: Optional[str] = None, container_name: Optional[str] = None, immutability_policy_name: Optional[str] = None, resource_group_name: Optional[str] = None, opts: Optional[InvokeOptions] = None) -> GetBlobContainerImmutabilityPolicyResult
func LookupBlobContainerImmutabilityPolicy(ctx *Context, args *LookupBlobContainerImmutabilityPolicyArgs, opts ...InvokeOption) (*LookupBlobContainerImmutabilityPolicyResult, error)

Note: This function is named LookupBlobContainerImmutabilityPolicy in the Go SDK.

public static class GetBlobContainerImmutabilityPolicy {
    public static Task<GetBlobContainerImmutabilityPolicyResult> InvokeAsync(GetBlobContainerImmutabilityPolicyArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

AccountName string
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
ContainerName string
The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
ImmutabilityPolicyName string
The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be ‘default’
ResourceGroupName string
The name of the resource group within the user’s subscription. The name is case insensitive.
AccountName string
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
ContainerName string
The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
ImmutabilityPolicyName string
The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be ‘default’
ResourceGroupName string
The name of the resource group within the user’s subscription. The name is case insensitive.
accountName string
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName string
The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
immutabilityPolicyName string
The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be ‘default’
resourceGroupName string
The name of the resource group within the user’s subscription. The name is case insensitive.
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.
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.
immutability_policy_name str
The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be ‘default’
resource_group_name str
The name of the resource group within the user’s subscription. The name is case insensitive.

GetBlobContainerImmutabilityPolicy Result

The following output properties are available:

Etag string
Resource Etag.
Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Name string
The name of the resource
State string
The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.
Type string
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
AllowProtectedAppendWrites bool
This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API
ImmutabilityPeriodSinceCreationInDays int
The immutability period for the blobs in the container since the policy creation, in days.
Etag string
Resource Etag.
Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Name string
The name of the resource
State string
The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.
Type string
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
AllowProtectedAppendWrites bool
This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API
ImmutabilityPeriodSinceCreationInDays int
The immutability period for the blobs in the container since the policy creation, in days.
etag string
Resource Etag.
id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name string
The name of the resource
state string
The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.
type string
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
allowProtectedAppendWrites boolean
This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API
immutabilityPeriodSinceCreationInDays number
The immutability period for the blobs in the container since the policy creation, in days.
etag str
Resource Etag.
id str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name str
The name of the resource
state str
The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.
type str
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
allow_protected_append_writes bool
This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API
immutability_period_since_creation_in_days int
The immutability period for the blobs in the container since the policy creation, in days.

Package Details

Repository
https://github.com/pulumi/pulumi-azure-nextgen
License
Apache-2.0