Freigeben über


NamespaceReplicaLocation Class

Definition

Namespace replication properties

[Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NamespaceReplicaLocationTypeConverter))]
public class NamespaceReplicaLocation : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation
[<Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NamespaceReplicaLocationTypeConverter))>]
type NamespaceReplicaLocation = class
    interface INamespaceReplicaLocation
    interface IJsonSerializable
Public Class NamespaceReplicaLocation
Implements INamespaceReplicaLocation
Inheritance
NamespaceReplicaLocation
Attributes
Implements

Constructors

NamespaceReplicaLocation()

Creates an new NamespaceReplicaLocation instance.

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NamespaceReplicaLocation.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NamespaceReplicaLocation.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INamespaceReplicaLocation.

FromJsonString(String)

Creates a new instance of NamespaceReplicaLocation, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of NamespaceReplicaLocation into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to