Class StorageAccountKey

java.lang.Object
com.azure.resourcemanager.storage.models.StorageAccountKey

public final class StorageAccountKey extends Object
An access key for the storage account.
  • Constructor Details

    • StorageAccountKey

      public StorageAccountKey()
      Creates an instance of StorageAccountKey class.
  • Method Details

    • keyName

      public String keyName()
      Get the keyName property: Name of the key.
      Returns:
      the keyName value.
    • value

      public String value()
      Get the value property: Base 64-encoded value of the key.
      Returns:
      the value value.
    • permissions

      public KeyPermission permissions()
      Get the permissions property: Permissions for the key -- read-only or full permissions.
      Returns:
      the permissions value.
    • creationTime

      public OffsetDateTime creationTime()
      Get the creationTime property: Creation time of the key, in round trip date format.
      Returns:
      the creationTime value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.