azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.s...

61 строка
4.5 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.storage.models.AccountStatuses"
fullName: "com.azure.resourcemanager.storage.models.AccountStatuses"
name: "AccountStatuses"
nameWithType: "AccountStatuses"
summary: "An instance of this class stores the availability of a storage account."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public class **AccountStatuses**"
constructors:
- uid: "com.azure.resourcemanager.storage.models.AccountStatuses.AccountStatuses(com.azure.resourcemanager.storage.models.AccountStatus,com.azure.resourcemanager.storage.models.AccountStatus)"
fullName: "com.azure.resourcemanager.storage.models.AccountStatuses.AccountStatuses(AccountStatus primary, AccountStatus secondary)"
name: "AccountStatuses(AccountStatus primary, AccountStatus secondary)"
nameWithType: "AccountStatuses.AccountStatuses(AccountStatus primary, AccountStatus secondary)"
summary: "Creates an instance of Account<wbr>Statuses class."
parameters:
- description: "the status of the primary location"
name: "primary"
type: "<xref href=\"com.azure.resourcemanager.storage.models.AccountStatus?alt=com.azure.resourcemanager.storage.models.AccountStatus&text=AccountStatus\" data-throw-if-not-resolved=\"False\" />"
- description: "the status of the secondary location"
name: "secondary"
type: "<xref href=\"com.azure.resourcemanager.storage.models.AccountStatus?alt=com.azure.resourcemanager.storage.models.AccountStatus&text=AccountStatus\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AccountStatuses(AccountStatus primary, AccountStatus secondary)"
desc: "Creates an instance of AccountStatuses class."
methods:
- uid: "com.azure.resourcemanager.storage.models.AccountStatuses.primary()"
fullName: "com.azure.resourcemanager.storage.models.AccountStatuses.primary()"
name: "primary()"
nameWithType: "AccountStatuses.primary()"
syntax: "public AccountStatus primary()"
returns:
description: "the status indicating whether the primary location of the storage account is available or unavailable."
type: "<xref href=\"com.azure.resourcemanager.storage.models.AccountStatus?alt=com.azure.resourcemanager.storage.models.AccountStatus&text=AccountStatus\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.AccountStatuses.secondary()"
fullName: "com.azure.resourcemanager.storage.models.AccountStatuses.secondary()"
name: "secondary()"
nameWithType: "AccountStatuses.secondary()"
syntax: "public AccountStatus secondary()"
returns:
description: "the status indicating whether the secondary location of the storage account is available or unavailable.\n Only available if the accountType is StandardGRS or StandardRAGRS."
type: "<xref href=\"com.azure.resourcemanager.storage.models.AccountStatus?alt=com.azure.resourcemanager.storage.models.AccountStatus&text=AccountStatus\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "An instance of this class stores the availability of a storage account."
metadata: {}
package: "com.azure.resourcemanager.storage.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-storage:2.44.0