Condividi tramite


BackupItemInner Class

public final class BackupItemInner
extends ProxyResource

Backup description.

Method Summary

Modifier and Type Method and Description
Integer backupId()

Get the backupId property: Id of the backup.

String blobName()

Get the blobName property: Name of the blob which contains data for this backup.

String correlationId()

Get the correlationId property: Unique correlation identifier.

OffsetDateTime created()

Get the created property: Timestamp of the backup creation.

List<DatabaseBackupSetting> databases()

Get the databases property: List of databases included in the backup.

OffsetDateTime finishedTimeStamp()

Get the finishedTimeStamp property: Timestamp when this backup finished.

static BackupItemInner fromJson(JsonReader jsonReader)

Reads an instance of BackupItemInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String kind()

Get the kind property: Kind of resource.

OffsetDateTime lastRestoreTimeStamp()

Get the lastRestoreTimeStamp property: Timestamp of a last restore operation which used this backup.

String log()

Get the log property: Details regarding this backup.

String name()

Get the name property: The name of the resource.

String namePropertiesName()

Get the name property: Name of this backup.

Boolean scheduled()

Get the scheduled property: True if this backup has been created due to a schedule being triggered.

Long sizeInBytes()

Get the sizeInBytes property: Size of the backup in bytes.

BackupItemStatus status()

Get the status property: Backup status.

String storageAccountUrl()

Get the storageAccountUrl property: SAS URL for the storage account container which contains this backup.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Long websiteSizeInBytes()

Get the websiteSizeInBytes property: Size of the original web app which has been backed up.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Method Details

backupId

public Integer backupId()

Get the backupId property: Id of the backup.

Returns:

the backupId value.

blobName

public String blobName()

Get the blobName property: Name of the blob which contains data for this backup.

Returns:

the blobName 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.

created

public OffsetDateTime created()

Get the created property: Timestamp of the backup creation.

Returns:

the created value.

databases

public List<DatabaseBackupSetting> databases()

Get the databases property: List of databases included in the backup.

Returns:

the databases value.

finishedTimeStamp

public OffsetDateTime finishedTimeStamp()

Get the finishedTimeStamp property: Timestamp when this backup finished.

Returns:

the finishedTimeStamp value.

fromJson

public static BackupItemInner fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

BackupItemInner.id()

Returns:

the id value.

kind

public String kind()

Get the kind property: Kind of resource.

Returns:

the kind value.

lastRestoreTimeStamp

public OffsetDateTime lastRestoreTimeStamp()

Get the lastRestoreTimeStamp property: Timestamp of a last restore operation which used this backup.

Returns:

the lastRestoreTimeStamp value.

log

public String log()

Get the log property: Details regarding this backup. Might contain an error message.

Returns:

the log value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

BackupItemInner.name()

Returns:

the name value.

namePropertiesName

public String namePropertiesName()

Get the name property: Name of this backup.

Returns:

the name 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.

sizeInBytes

public Long sizeInBytes()

Get the sizeInBytes property: Size of the backup in bytes.

Returns:

the sizeInBytes value.

status

public BackupItemStatus status()

Get the status property: Backup status.

Returns:

the status value.

storageAccountUrl

public String storageAccountUrl()

Get the storageAccountUrl property: SAS URL for the storage account container which contains this backup.

Returns:

the storageAccountUrl value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

BackupItemInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

BackupItemInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

websiteSizeInBytes

public Long websiteSizeInBytes()

Get the websiteSizeInBytes property: Size of the original web app which has been backed up.

Returns:

the websiteSizeInBytes value.

Applies to