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:
- 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.
- 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.
- Immutability
Policy stringName - The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be ‘default’
- Resource
Group stringName - The name of the resource group within the user’s subscription. The name is case insensitive.
- 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.
- 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.
- Immutability
Policy stringName - The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be ‘default’
- Resource
Group stringName - The name of the resource group within the user’s subscription. The name is case insensitive.
- 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.
- 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.
- immutability
Policy stringName - The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be ‘default’
- resource
Group stringName - 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_ strname - The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be ‘default’
- resource_
group_ strname - 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”
- 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
- 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”
- 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
- 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”
- 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
- 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_ 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.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure-nextgen
- License
- Apache-2.0