public class AccountStatuses
extends Object
An instance of this class stores the availability of a storage account.
Constructor Summary
Constructors
Creates an instance of AccountStatuses class.
Method Summary
All Methods Instance Methods Concrete Methods
Gets the status indicating whether the primary location of the storage account is available or unavailable.
Gets the status indicating whether the secondary location of the storage account is available or unavailable.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Constructor Details
AccountStatuses
Creates an instance of AccountStatuses class.
Parameters:
primary - the status of the primary location
secondary - the status of the secondary location
Method Details
primary
Gets the status indicating whether the primary location of the storage account is available or unavailable.
Returns:
the status indicating whether the primary location of the storage account is available or unavailable.
secondary
Gets the status indicating whether the secondary location of the storage account is available or unavailable.
Returns:
the status indicating whether the secondary location of the storage account is available or unavailable.
Only available if the accountType is StandardGRS or StandardRAGRS.