다음을 통해 공유


GeoReplicationStats Constructors

Definition

Overloads

GeoReplicationStats()

Initializes a new instance of the GeoReplicationStats class.

GeoReplicationStats(String, Nullable<DateTime>, Nullable<Boolean>)

Initializes a new instance of the GeoReplicationStats class.

GeoReplicationStats()

Initializes a new instance of the GeoReplicationStats class.

public GeoReplicationStats ();
Public Sub New ()

Applies to

GeoReplicationStats(String, Nullable<DateTime>, Nullable<Boolean>)

Initializes a new instance of the GeoReplicationStats class.

public GeoReplicationStats (string status = default, DateTime? lastSyncTime = default, bool? canFailover = default);
new Microsoft.Azure.Management.Storage.Models.GeoReplicationStats : string * Nullable<DateTime> * Nullable<bool> -> Microsoft.Azure.Management.Storage.Models.GeoReplicationStats
Public Sub New (Optional status As String = Nothing, Optional lastSyncTime As Nullable(Of DateTime) = Nothing, Optional canFailover As Nullable(Of Boolean) = Nothing)

Parameters

status
String

The status of the secondary location. Possible values are: - Live: Indicates that the secondary location is active and operational. - Bootstrap: Indicates initial synchronization from the primary location to the secondary location is in progress.This typically occurs when replication is first enabled. - Unavailable: Indicates that the secondary location is temporarily unavailable. Possible values include: 'Live', 'Bootstrap', 'Unavailable'

lastSyncTime
Nullable<DateTime>

All primary writes preceding this UTC date/time value are guaranteed to be available for read operations. Primary writes following this point in time may or may not be available for reads. Element may be default value if value of LastSyncTime is not available, this can happen if secondary is offline or we are in bootstrap.

canFailover
Nullable<Boolean>

A boolean flag which indicates whether or not account failover is supported for the account.

Applies to