Class BackupItemProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.BackupItemProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<BackupItemProperties>
public final class BackupItemProperties
extends Object
implements com.azure.json.JsonSerializable<BackupItemProperties>
BackupItem resource specific properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbackupId()
Get the backupId property: Id of the backup.blobName()
Get the blobName property: Name of the blob which contains data for this backup.Get the correlationId property: Unique correlation identifier.created()
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.static BackupItemProperties
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of BackupItemProperties from the JsonReader.Get the lastRestoreTimestamp property: Timestamp of a last restore operation which used this backup.log()
Get the log property: Details regarding this backup.name()
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.status()
Get the status property: Backup status.Get the storageAccountUrl property: SAS URL for the storage account container which contains this backup.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.Get the websiteSizeInBytes property: Size of the original web app which has been backed up.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
BackupItemProperties
public BackupItemProperties()Creates an instance of BackupItemProperties class.
-
-
Method Details
-
backupId
Get the backupId property: Id of the backup.- Returns:
- the backupId value.
-
storageAccountUrl
Get the storageAccountUrl property: SAS URL for the storage account container which contains this backup.- Returns:
- the storageAccountUrl value.
-
blobName
Get the blobName property: Name of the blob which contains data for this backup.- Returns:
- the blobName value.
-
name
Get the name property: Name of this backup.- Returns:
- the name value.
-
status
Get the status property: Backup status.- Returns:
- the status value.
-
sizeInBytes
Get the sizeInBytes property: Size of the backup in bytes.- Returns:
- the sizeInBytes value.
-
created
Get the created property: Timestamp of the backup creation.- Returns:
- the created value.
-
log
Get the log property: Details regarding this backup. Might contain an error message.- Returns:
- the log value.
-
databases
Get the databases property: List of databases included in the backup.- Returns:
- the databases value.
-
scheduled
Get the scheduled property: True if this backup has been created due to a schedule being triggered.- Returns:
- the scheduled value.
-
lastRestoreTimestamp
Get the lastRestoreTimestamp property: Timestamp of a last restore operation which used this backup.- Returns:
- the lastRestoreTimestamp value.
-
finishedTimestamp
Get the finishedTimestamp property: Timestamp when this backup finished.- Returns:
- the finishedTimestamp value.
-
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
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
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<BackupItemProperties>
- Throws:
IOException
-
fromJson
public static BackupItemProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of BackupItemProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of BackupItemProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException
- If an error occurs while reading the BackupItemProperties.
-