你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmDisasterRecoveryProperties 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.
Properties required to the Create Or Update Alias(Disaster Recovery configurations)
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.ArmDisasterRecoveryPropertiesTypeConverter))]
public class ArmDisasterRecoveryProperties : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IArmDisasterRecoveryProperties
[<Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.ArmDisasterRecoveryPropertiesTypeConverter))>]
type ArmDisasterRecoveryProperties = class
interface IArmDisasterRecoveryProperties
interface IJsonSerializable
Public Class ArmDisasterRecoveryProperties
Implements IArmDisasterRecoveryProperties
- Inheritance
-
ArmDisasterRecoveryProperties
- Attributes
- Implements
Constructors
ArmDisasterRecoveryProperties() |
Creates an new ArmDisasterRecoveryProperties instance. |
Properties
AlternateName |
Alternate name specified when alias and namespace names are same. |
PartnerNamespace |
ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing |
PendingReplicationOperationsCount |
Number of entities pending to be replicated. |
ProvisioningState |
Provisioning state of the Alias(Disaster Recovery configuration) - possible values 'Accepted' or 'Succeeded' or 'Failed' |
Role |
role of namespace in GEO DR - possible values 'Primary' or 'PrimaryNotReplicating' or 'Secondary' |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ArmDisasterRecoveryProperties. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ArmDisasterRecoveryProperties. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IArmDisasterRecoveryProperties. |
FromJsonString(String) |
Creates a new instance of ArmDisasterRecoveryProperties, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of ArmDisasterRecoveryProperties into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |