Share via


IFailOver Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.FailOverTypeConverter))]
public interface IFailOver : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.FailOverTypeConverter))>]
type IFailOver = interface
    interface IJsonSerializable
Public Interface IFailOver
Implements IJsonSerializable
Derived
Attributes
Implements

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

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to