NamespaceReplicaLocation Class
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.
Namespace replication properties.
public class NamespaceReplicaLocation : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.EventHubs.Models.NamespaceReplicaLocation>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.EventHubs.Models.NamespaceReplicaLocation>
type NamespaceReplicaLocation = class
interface IJsonModel<NamespaceReplicaLocation>
interface IPersistableModel<NamespaceReplicaLocation>
Public Class NamespaceReplicaLocation
Implements IJsonModel(Of NamespaceReplicaLocation), IPersistableModel(Of NamespaceReplicaLocation)
- Inheritance
-
NamespaceReplicaLocation
- Implements
Constructors
NamespaceReplicaLocation() |
Initializes a new instance of NamespaceReplicaLocation. |
Properties
ClusterArmId |
Optional property that denotes the ARM ID of the Cluster. This is required, if a namespace replica should be placed in a Dedicated Event Hub Cluster. |
LocationName |
Azure regions where a replica of the namespace is maintained. |
RoleType |
GeoDR Role Types. |
Explicit Interface Implementations
IJsonModel<NamespaceReplicaLocation>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<NamespaceReplicaLocation>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<NamespaceReplicaLocation>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<NamespaceReplicaLocation>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<NamespaceReplicaLocation>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET