ImmutabilityPolicyType Struct
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 type of the immutability policy. 'Unlocked' allows the policy to be modified by privileged users; 'Locked' prevents reduction of the immutability duration but allows extension of the lock period.
public readonly struct ImmutabilityPolicyType : IEquatable<Azure.ResourceManager.Compute.Models.ImmutabilityPolicyType>
type ImmutabilityPolicyType = struct
Public Structure ImmutabilityPolicyType
Implements IEquatable(Of ImmutabilityPolicyType)
- Inheritance
-
ImmutabilityPolicyType
- Implements
Constructors
| Name | Description |
|---|---|
| ImmutabilityPolicyType(String) |
Initializes a new instance of ImmutabilityPolicyType. |
Properties
| Name | Description |
|---|---|
| Locked |
The snapshot immutability policy duration cannot be reduced but can be extended. The policy cannot be removed until the lock period expires. |
| Unlocked |
Privileged users can modify the snapshot's immutability policy, if it is unlocked type. |
Methods
| Name | Description |
|---|---|
| Equals(ImmutabilityPolicyType) |
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
| Name | Description |
|---|---|
| Equality(ImmutabilityPolicyType, ImmutabilityPolicyType) |
Determines if two ImmutabilityPolicyType values are the same. |
| Implicit(String to ImmutabilityPolicyType) |
Converts a string to a ImmutabilityPolicyType. |
| Implicit(String to Nullable<ImmutabilityPolicyType>) | |
| Inequality(ImmutabilityPolicyType, ImmutabilityPolicyType) |
Determines if two ImmutabilityPolicyType values are not the same. |