ResourceReplicationRole 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.
A state specific to the resource that helps identify its role in replication.
public readonly struct ResourceReplicationRole : IEquatable<Azure.ResourceManager.ResilienceManagement.Models.ResourceReplicationRole>
type ResourceReplicationRole = struct
Public Structure ResourceReplicationRole
Implements IEquatable(Of ResourceReplicationRole)
- Inheritance
-
ResourceReplicationRole
- Implements
Constructors
| Name | Description |
|---|---|
| ResourceReplicationRole(String) |
Initializes a new instance of ResourceReplicationRole. |
Properties
| Name | Description |
|---|---|
| Primary |
A state indicating that the resource is primary and actively replicating data to other replicas. |
| Replica |
A state indicating that the resource is a replica, receiving data from the primary. |
| Unknown |
The role of the resource is unknown. |
Methods
| Name | Description |
|---|---|
| Equals(ResourceReplicationRole) |
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(ResourceReplicationRole, ResourceReplicationRole) |
Determines if two ResourceReplicationRole values are the same. |
| Implicit(String to Nullable<ResourceReplicationRole>) | |
| Implicit(String to ResourceReplicationRole) |
Converts a string to a ResourceReplicationRole. |
| Inequality(ResourceReplicationRole, ResourceReplicationRole) |
Determines if two ResourceReplicationRole values are not the same. |