Class BackupItemInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.fluent.models.BackupItemInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

public final class BackupItemInner extends com.azure.core.management.ProxyResource
Backup description.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the backupId property: Id of the backup.
    Get the blobName property: Name of the blob which contains data for this backup.
    Get the correlationId property: Unique correlation identifier.
    Get the created property: Timestamp of the backup creation.
    Get the databases property: List of databases included in the backup.
    Get the finishedTimeStamp property: Timestamp when this backup finished.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of BackupItemInner from the JsonReader.
    id()
    Get the id property: Fully qualified resource Id for the resource.
    Get the kind property: Kind of resource.
    Get the lastRestoreTimeStamp property: Timestamp of a last restore operation which used this backup.
    log()
    Get the log property: Details regarding this backup.
    Get the name property: The name of the resource.
    Get the name property: Name of this backup.
    Get the scheduled property: True if this backup has been created due to a schedule being triggered.
    Get the sizeInBytes property: Size of the backup in bytes.
    Get the status property: Backup status.
    Get the storageAccountUrl property: SAS URL for the storage account container which contains this backup.
    com.azure.core.management.SystemData
    Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    Get the type property: The type of the resource.
    void
    Validates the instance.
    Get the websiteSizeInBytes property: Size of the original web app which has been backed up.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Method Details

    • kind

      public String kind()
      Get the kind property: Kind of resource.
      Returns:
      the kind value.
    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • type

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class com.azure.core.management.ProxyResource
      Returns:
      the type value.
    • name

      public String name()
      Get the name property: The name of the resource.
      Overrides:
      name in class com.azure.core.management.ProxyResource
      Returns:
      the name value.
    • id

      public String id()
      Get the id property: Fully qualified resource Id for the resource.
      Overrides:
      id in class com.azure.core.management.ProxyResource
      Returns:
      the id value.
    • backupId

      public Integer backupId()
      Get the backupId property: Id of the backup.
      Returns:
      the backupId value.
    • storageAccountUrl

      public String storageAccountUrl()
      Get the storageAccountUrl property: SAS URL for the storage account container which contains this backup.
      Returns:
      the storageAccountUrl value.
    • blobName

      public String blobName()
      Get the blobName property: Name of the blob which contains data for this backup.
      Returns:
      the blobName value.
    • namePropertiesName

      public String namePropertiesName()
      Get the name property: Name of this backup.
      Returns:
      the name value.
    • status

      public BackupItemStatus status()
      Get the status property: Backup status.
      Returns:
      the status value.
    • sizeInBytes

      public Long sizeInBytes()
      Get the sizeInBytes property: Size of the backup in bytes.
      Returns:
      the sizeInBytes value.
    • created

      public OffsetDateTime created()
      Get the created property: Timestamp of the backup creation.
      Returns:
      the created value.
    • log

      public String log()
      Get the log property: Details regarding this backup. Might contain an error message.
      Returns:
      the log value.
    • databases

      public List<DatabaseBackupSetting> databases()
      Get the databases property: List of databases included in the backup.
      Returns:
      the databases value.
    • scheduled

      public Boolean scheduled()
      Get the scheduled property: True if this backup has been created due to a schedule being triggered.
      Returns:
      the scheduled value.
    • lastRestoreTimeStamp

      public OffsetDateTime lastRestoreTimeStamp()
      Get the lastRestoreTimeStamp property: Timestamp of a last restore operation which used this backup.
      Returns:
      the lastRestoreTimeStamp value.
    • finishedTimeStamp

      public OffsetDateTime finishedTimeStamp()
      Get the finishedTimeStamp property: Timestamp when this backup finished.
      Returns:
      the finishedTimeStamp value.
    • correlationId

      public String correlationId()
      Get the correlationId property: Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support.
      Returns:
      the correlationId value.
    • websiteSizeInBytes

      public Long websiteSizeInBytes()
      Get the websiteSizeInBytes property: Size of the original web app which has been backed up.
      Returns:
      the websiteSizeInBytes value.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
      Overrides:
      toJson in class com.azure.core.management.ProxyResource
      Throws:
      IOException
    • fromJson

      public static BackupItemInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of BackupItemInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of BackupItemInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the BackupItemInner.