次の方法で共有


FailOverProperties Class

Definition

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

Constructors

FailOverProperties()

Creates an new FailOverProperties instance.

Properties

MaximumGracePeriodInMin

Maximum time duration allowed complete data replication from primary to secondary. Use maximumGracePeriodInMins = 0: For Unplanned Geo-Failover, which switches the role between primary and secondary immediately. The data that is not being replicated yet will be discarded. Use maximumGracePeriodInMins > 0: For Planned Geo-Failover/DR Drill, continue replicating data until grace period expires. Any data that is not replicated during the grace period will be discarded. During the replication the namespace stops accepting any new publishing requests

PrimaryLocation

Query parameter for the new primary location after failover.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of FailOverProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of FailOverProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of FailOverProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to