pyaz/storage/container/immutability_policy/__init__.py
def create(account_name, container_name, allow_protected_append_writes=None, allow_protected_append_writes_all=None, if_match=None, period=None, resource_group=None):
    '''
    Create or update an unlocked immutability policy.

    Required Parameters:
    - account_name -- Storage account name. Related environment variable: AZURE_STORAGE_ACCOUNT.
    - container_name -- The container name.

    Optional Parameters:
    - allow_protected_append_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.
    - allow_protected_append_writes_all -- This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Block 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.
    - if_match -- An ETag value, or the wildcard character (*). Specify this header to perform the operation only if the resource's ETag matches the value specified.
    - period -- The immutability period for the blobs in the container since the policy creation, in days.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    '''
    return _call_az("az storage container immutability-policy create", locals())

    Create or update an unlocked immutability policy.

    Required Parameters:
    - account_name -- Storage account name. Related environment variable: AZURE_STORAGE_ACCOUNT.
    - container_name -- The container name.

    Optional Parameters:
    - allow_protected_append_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.
    - allow_protected_append_writes_all -- This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Block 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.
    - if_match -- An ETag value, or the wildcard character (*). Specify this header to perform the operation only if the resource's ETag matches the value specified.
    - period -- The immutability period for the blobs in the container since the policy creation, in days.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    
Create or update an unlocked immutability policy.
Required Parameters:
account_name -- Storage account name. Related environment variable: AZURE_STORAGE_ACCOUNT.
container_name -- The container name.

Optional Parameters:
allow_protected_append_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.
allow_protected_append_writes_all -- This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Block 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.
if_match -- An ETag value, or the wildcard character (*). Specify this header to perform the operation only if the resource's ETag matches the value specified.
period -- The immutability period for the blobs in the container since the policy creation, in days.
resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=`
Create or update an unlocked immutability policy . Required Parameters : account_name -- Storage account name . Related environment variable : AZURE_STORAGE_ACCOUNT . container_name -- The container name . Optional Parameters : allow_protected_append_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 . allow_protected_append_writes_all -- This property can only be changed for unlocked time - based retention policies . When enabled new blocks can be written to both ' Append and Block 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 . if_match -- An ETag value or the wildcard character ( * ) . Specify this header to perform the operation only if the resource ' s ETag matches the value specified . period -- The immutability period for the blobs in the container since the policy creation in days . resource_group -- Name of resource group . You can configure the default group using ` az configure -- defaults group = `
def create(account_name, container_name, allow_protected_append_writes=None, allow_protected_append_writes_all=None, if_match=None, period=None, resource_group=None):
    return _call_az("az storage container immutability-policy create", locals())
def create ( account_name , container_name , allow_protected_append_writes = None , allow_protected_append_writes_all = None , if_match = None , period = None , resource_group = None ) : return _call_az ( "az storage container immutability-policy create" , locals ( ) )
Create or update an unlocked immutability policy.
Create or update an unlocked immutability policy .
'''
    Create or update an unlocked immutability policy.

    Required Parameters:
    - account_name -- Storage account name. Related environment variable: AZURE_STORAGE_ACCOUNT.
    - container_name -- The container name.

    Optional Parameters:
    - allow_protected_append_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.
    - allow_protected_append_writes_all -- This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Block 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.
    - if_match -- An ETag value, or the wildcard character (*). Specify this header to perform the operation only if the resource's ETag matches the value specified.
    - period -- The immutability period for the blobs in the container since the policy creation, in days.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    '''
account_name
container_name
allow_protected_append_writes
allow_protected_append_writes_all
if_match
period
resource_group