StorageAccountKey Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. StorageAccountKey
- com.
Implements
public final class StorageAccountKey
implements JsonSerializable<StorageAccountKey>
An access key for the storage account.
Constructor Summary
Constructor | Description |
---|---|
StorageAccountKey() |
Creates an instance of Storage |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
creationTime()
Get the creation |
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
String |
keyName()
Get the key |
Key |
permissions()
Get the permissions property: Permissions for the key -- read-only or full permissions. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: Base 64-encoded value of the key. |
Methods inherited from java.lang.Object
Constructor Details
StorageAccountKey
public StorageAccountKey()
Creates an instance of StorageAccountKey class.
Method Details
creationTime
public OffsetDateTime creationTime()
Get the creationTime property: Creation time of the key, in round trip date format.
Returns:
fromJson
public static StorageAccountKey fromJson(JsonReader jsonReader)
Reads an instance of StorageAccountKey from the JsonReader.
Parameters:
Returns:
Throws:
keyName
public String keyName()
Get the keyName property: Name of the key.
Returns:
permissions
public KeyPermission permissions()
Get the permissions property: Permissions for the key -- read-only or full permissions.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Base 64-encoded value of the key.
Returns:
Applies to
Azure SDK for Java