Class AccountStatuses
- java.lang.Object
-
- com.azure.resourcemanager.storage.models.AccountStatuses
-
public class AccountStatuses extends Object
An instance of this class stores the availability of a storage account.
-
-
Constructor Summary
Constructors Constructor Description AccountStatuses(AccountStatus primary, AccountStatus secondary)Creates an instance of AccountStatuses class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountStatusprimary()AccountStatussecondary()
-
-
-
Constructor Detail
-
AccountStatuses
public AccountStatuses(AccountStatus primary, AccountStatus secondary)
Creates an instance of AccountStatuses class.- Parameters:
primary- the status of the primary locationsecondary- the status of the secondary location
-
-
Method Detail
-
primary
public AccountStatus primary()
- Returns:
- the status indicating whether the primary location of the storage account is available or unavailable.
-
secondary
public AccountStatus secondary()
- 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.
-
-