Partager via


GeoReplicationStats Class

Definition

Statistics related to replication for storage account's Blob, Table, Queue and File services. It is only available when geo-redundant replication is enabled for the storage account.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.GeoReplicationStatsTypeConverter))]
public class GeoReplicationStats : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IGeoReplicationStats
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.GeoReplicationStatsTypeConverter))>]
type GeoReplicationStats = class
    interface IGeoReplicationStats
    interface IJsonSerializable
Public Class GeoReplicationStats
Implements IGeoReplicationStats
Inheritance
GeoReplicationStats
Attributes
Implements

Constructors

GeoReplicationStats()

Creates an new GeoReplicationStats instance.

Properties

CanFailover

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

CanPlannedFailover

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

LastSyncTime

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.

PostFailoverRedundancy

The redundancy type of the account after an account failover is performed.

PostPlannedFailoverRedundancy

The redundancy type of the account after a planned account failover is performed.

Status

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of GeoReplicationStats.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of GeoReplicationStats.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IGeoReplicationStats.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of GeoReplicationStats into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to