WriteLockState 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 state of the write lock feature.
public readonly struct WriteLockState : IEquatable<Azure.ResourceManager.ProviderHub.Models.WriteLockState>
type WriteLockState = struct
Public Structure WriteLockState
Implements IEquatable(Of WriteLockState)
- Inheritance
-
WriteLockState
- Implements
Constructors
| Name | Description |
|---|---|
| WriteLockState(String) |
Initializes a new instance of WriteLockState. |
Properties
| Name | Description |
|---|---|
| Disabled |
The write lock feature is disabled. The write-operations on the resource will follow the last-write-wins semantics when the write lock feature is disabled. |
| Enabled |
The write lock feature is enabled. Ensures that only one write-operation i.e., PUT, PATCH and DELETE, is allowed on a resource at any given time. Other concurrent write-operations, if any, will be rejected until the lock on the resource is released by the ongoing write-operation. The feature overrides the 'resourceConcurrencyControlOptions'. |
Methods
| Name | Description |
|---|---|
| Equals(WriteLockState) |
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(WriteLockState, WriteLockState) |
Determines if two WriteLockState values are the same. |
| Implicit(String to Nullable<WriteLockState>) | |
| Implicit(String to WriteLockState) |
Converts a string to a WriteLockState. |
| Inequality(WriteLockState, WriteLockState) |
Determines if two WriteLockState values are not the same. |