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() |
Account |
secondary() |
Methods inherited from java.lang.Object
Constructor Details
AccountStatuses
public AccountStatuses(AccountStatus primary, AccountStatus secondary)
Creates an instance of AccountStatuses class.
Parameters:
primary
- the status of the primary location
secondary
- the status of the secondary location
Method Details
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.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for Java