IAccountImmutabilityPolicyProperties.State Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The ImmutabilityPolicy state defines the mode of the policy. Disabled state disables the policy, Unlocked state allows increase and decrease of immutability retention time and also allows toggling allowProtectedAppendWrites property, Locked state only allows the increase of the immutability retention time. A policy can only be created in a Disabled or Unlocked state and can be toggled between the two states. Only a policy in an Unlocked state can transition to a Locked state which cannot be reverted.
[Microsoft.Azure.PowerShell.Cmdlets.Storage.PSArgumentCompleter(new System.String[] { "Unlocked", "Locked", "Disabled" })]
[Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.Info(Create=true, Description="The ImmutabilityPolicy state defines the mode of the policy. Disabled state disables the policy, Unlocked state allows increase and decrease of immutability retention time and also allows toggling allowProtectedAppendWrites property, Locked state only allows the increase of the immutability retention time. A policy can only be created in a Disabled or Unlocked state and can be toggled between the two states. Only a policy in an Unlocked state can transition to a Locked state which cannot be reverted.", PossibleTypes=new System.Type[] { typeof(System.String) }, Read=true, ReadOnly=false, Required=false, SerializedName="state", Update=true)]
public string State { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.Storage.PSArgumentCompleter(new System.String[] { "Unlocked", "Locked", "Disabled" })>]
[<Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.Info(Create=true, Description="The ImmutabilityPolicy state defines the mode of the policy. Disabled state disables the policy, Unlocked state allows increase and decrease of immutability retention time and also allows toggling allowProtectedAppendWrites property, Locked state only allows the increase of the immutability retention time. A policy can only be created in a Disabled or Unlocked state and can be toggled between the two states. Only a policy in an Unlocked state can transition to a Locked state which cannot be reverted.", PossibleTypes=new System.Type[] { typeof(System.String) }, Read=true, ReadOnly=false, Required=false, SerializedName="state", Update=true)>]
member this.State : string with get, set
Public Property State As String
Property Value
- Attributes