AccountStatuses Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. AccountStatuses
- com.
public class AccountStatuses
An instance of this class stores the availability of a storage account.
Constructor Summary
Constructor | Description |
---|---|
AccountStatuses(AccountStatus primary, AccountStatus secondary) |
Creates an instance of Account |
Method Summary
Modifier and Type | Method and Description |
---|---|
Account |
primary()
Gets the status indicating whether the primary location of the storage account is available or unavailable. |
Account |
secondary()
Gets the status indicating whether the secondary location of the storage account is available or unavailable. |
Methods inherited from java.lang.Object
Constructor Details
AccountStatuses
public AccountStatuses(AccountStatus primary, AccountStatus secondary)
Creates an instance of AccountStatuses class.
Parameters:
Method Details
primary
public AccountStatus primary()
Gets the status indicating whether the primary location of the storage account is available or unavailable.
Returns:
secondary
public AccountStatus secondary()
Gets the status indicating whether the secondary location of the storage account is available or unavailable.
Returns:
Applies to
Azure SDK for Java