Dela via


AccountImmutabilityPolicyState Struct

Definition

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.

public readonly struct AccountImmutabilityPolicyState : IEquatable<Azure.ResourceManager.Storage.Models.AccountImmutabilityPolicyState>
type AccountImmutabilityPolicyState = struct
Public Structure AccountImmutabilityPolicyState
Implements IEquatable(Of AccountImmutabilityPolicyState)
Inheritance
AccountImmutabilityPolicyState
Implements

Constructors

AccountImmutabilityPolicyState(String)

Initializes a new instance of AccountImmutabilityPolicyState.

Properties

Disabled

Disabled.

Locked

Locked.

Unlocked

Unlocked.

Methods

Equals(AccountImmutabilityPolicyState)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(AccountImmutabilityPolicyState, AccountImmutabilityPolicyState)

Determines if two AccountImmutabilityPolicyState values are the same.

Implicit(String to AccountImmutabilityPolicyState)

Converts a string to a AccountImmutabilityPolicyState.

Inequality(AccountImmutabilityPolicyState, AccountImmutabilityPolicyState)

Determines if two AccountImmutabilityPolicyState values are not the same.

Applies to