Class BackupItemInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.BackupItemInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
Backup description.
-
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 BackupItemInner
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 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: 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.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) type()
Get the type property: The type of the resource.void
validate()
Validates the instance.Get the websiteSizeInBytes property: Size of the original web app which has been backed up.Set the kind property: Kind of resource.Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
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
-
BackupItemInner
public BackupItemInner()Creates an instance of BackupItemInner class.
-
-
Method Details
-
type
Get the type property: The type of the resource.- Overrides:
type
in classProxyOnlyResource
- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
name
in classProxyOnlyResource
- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
id
in classProxyOnlyResource
- Returns:
- the id value.
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKind
in classProxyOnlyResource
- Parameters:
kind
- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
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.
-
namePropertiesName
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.- Overrides:
validate
in classProxyOnlyResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
- Overrides:
toJson
in classProxyOnlyResource
- Throws:
IOException
-
fromJson
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.
-