你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
NamespaceReplicaLocation Class
Namespace replication properties.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.eventhub._serialization.ModelNamespaceReplicaLocation
Constructor
NamespaceReplicaLocation(*, location_name: str | None = None, role_type: str | _models.GeoDRRoleType | None = None, cluster_arm_id: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
location_name
|
Azure regions where a replica of the namespace is maintained. |
role_type
|
str or
GeoDRRoleType
GeoDR Role Types. Known values are: "Primary" and "Secondary". |
cluster_arm_id
|
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. |
Variables
Name | Description |
---|---|
location_name
|
Azure regions where a replica of the namespace is maintained. |
role_type
|
str or
GeoDRRoleType
GeoDR Role Types. Known values are: "Primary" and "Secondary". |
replica_state
|
state of Namespace replica. |
cluster_arm_id
|
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. |