你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

NamespaceReplicaLocation Class

Namespace replication properties.

Constructor

NamespaceReplicaLocation()

Variables

Name Description
location_name
str

Azure regions where a replica of the namespace is maintained.

role_type
Union[str, <xref:"GeoDRRoleType">]

GeoDR Role Types. Known values are: "Primary" and "Secondary".

replica_state
str

state of Namespace replica.

cluster_arm_id
str

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.

Attributes

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.

clusterArmId: str

locationName

Azure regions where a replica of the namespace is maintained.

locationName: str

replicaState

state of Namespace replica.

replicaState: str

roleType

"Primary" and "Secondary".

roleType: str | GeoDRRoleType