Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.appservice.implementation; import com.microsoft.azure.management.appservice.BackupItemStatus; import org.joda.time.DateTime; import java.util.List; import com.microsoft.azure.management.appservice.DatabaseBackupSetting; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.azure.management.appservice.ProxyOnlyResource;
Backup description.
/** * Backup description. */
@JsonFlatten public class BackupItemInner extends ProxyOnlyResource {
Id of the backup.
/** * Id of the backup. */
@JsonProperty(value = "properties.id", access = JsonProperty.Access.WRITE_ONLY) private Integer backupId;
SAS URL for the storage account container which contains this backup.
/** * SAS URL for the storage account container which contains this backup. */
@JsonProperty(value = "properties.storageAccountUrl", access = JsonProperty.Access.WRITE_ONLY) private String storageAccountUrl;
Name of the blob which contains data for this backup.
/** * Name of the blob which contains data for this backup. */
@JsonProperty(value = "properties.blobName", access = JsonProperty.Access.WRITE_ONLY) private String blobName;
Name of this backup.
/** * Name of this backup. */
@JsonProperty(value = "properties.name", access = JsonProperty.Access.WRITE_ONLY) private String backupItemName;
Backup status. Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created', 'Skipped', 'PartiallySucceeded', 'DeleteInProgress', 'DeleteFailed', 'Deleted'.
/** * Backup status. Possible values include: 'InProgress', 'Failed', * 'Succeeded', 'TimedOut', 'Created', 'Skipped', 'PartiallySucceeded', * 'DeleteInProgress', 'DeleteFailed', 'Deleted'. */
@JsonProperty(value = "properties.status", access = JsonProperty.Access.WRITE_ONLY) private BackupItemStatus status;
Size of the backup in bytes.
/** * Size of the backup in bytes. */
@JsonProperty(value = "properties.sizeInBytes", access = JsonProperty.Access.WRITE_ONLY) private Long sizeInBytes;
Timestamp of the backup creation.
/** * Timestamp of the backup creation. */
@JsonProperty(value = "properties.created", access = JsonProperty.Access.WRITE_ONLY) private DateTime created;
Details regarding this backup. Might contain an error message.
/** * Details regarding this backup. Might contain an error message. */
@JsonProperty(value = "properties.log", access = JsonProperty.Access.WRITE_ONLY) private String log;
List of databases included in the backup.
/** * List of databases included in the backup. */
@JsonProperty(value = "properties.databases", access = JsonProperty.Access.WRITE_ONLY) private List<DatabaseBackupSetting> databases;
True if this backup has been created due to a schedule being triggered.
/** * True if this backup has been created due to a schedule being triggered. */
@JsonProperty(value = "properties.scheduled", access = JsonProperty.Access.WRITE_ONLY) private Boolean scheduled;
Timestamp of a last restore operation which used this backup.
/** * Timestamp of a last restore operation which used this backup. */
@JsonProperty(value = "properties.lastRestoreTimeStamp", access = JsonProperty.Access.WRITE_ONLY) private DateTime lastRestoreTimeStamp;
Timestamp when this backup finished.
/** * Timestamp when this backup finished. */
@JsonProperty(value = "properties.finishedTimeStamp", access = JsonProperty.Access.WRITE_ONLY) private DateTime finishedTimeStamp;
Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support.
/** * Unique correlation identifier. Please use this along with the timestamp * while communicating with Azure support. */
@JsonProperty(value = "properties.correlationId", access = JsonProperty.Access.WRITE_ONLY) private String correlationId;
Size of the original web app which has been backed up.
/** * Size of the original web app which has been backed up. */
@JsonProperty(value = "properties.websiteSizeInBytes", access = JsonProperty.Access.WRITE_ONLY) private Long websiteSizeInBytes;
Get id of the backup.
Returns:the backupId value
/** * Get id of the backup. * * @return the backupId value */
public Integer backupId() { return this.backupId; }
Get sAS URL for the storage account container which contains this backup.
Returns:the storageAccountUrl value
/** * Get sAS URL for the storage account container which contains this backup. * * @return the storageAccountUrl value */
public String storageAccountUrl() { return this.storageAccountUrl; }
Get name of the blob which contains data for this backup.
Returns:the blobName value
/** * Get name of the blob which contains data for this backup. * * @return the blobName value */
public String blobName() { return this.blobName; }
Get name of this backup.
Returns:the backupItemName value
/** * Get name of this backup. * * @return the backupItemName value */
public String backupItemName() { return this.backupItemName; }
Get backup status. Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created', 'Skipped', 'PartiallySucceeded', 'DeleteInProgress', 'DeleteFailed', 'Deleted'.
Returns:the status value
/** * Get backup status. Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created', 'Skipped', 'PartiallySucceeded', 'DeleteInProgress', 'DeleteFailed', 'Deleted'. * * @return the status value */
public BackupItemStatus status() { return this.status; }
Get size of the backup in bytes.
Returns:the sizeInBytes value
/** * Get size of the backup in bytes. * * @return the sizeInBytes value */
public Long sizeInBytes() { return this.sizeInBytes; }
Get timestamp of the backup creation.
Returns:the created value
/** * Get timestamp of the backup creation. * * @return the created value */
public DateTime created() { return this.created; }
Get details regarding this backup. Might contain an error message.
Returns:the log value
/** * Get details regarding this backup. Might contain an error message. * * @return the log value */
public String log() { return this.log; }
Get list of databases included in the backup.
Returns:the databases value
/** * Get list of databases included in the backup. * * @return the databases value */
public List<DatabaseBackupSetting> databases() { return this.databases; }
Get true if this backup has been created due to a schedule being triggered.
Returns:the scheduled value
/** * Get true if this backup has been created due to a schedule being triggered. * * @return the scheduled value */
public Boolean scheduled() { return this.scheduled; }
Get timestamp of a last restore operation which used this backup.
Returns:the lastRestoreTimeStamp value
/** * Get timestamp of a last restore operation which used this backup. * * @return the lastRestoreTimeStamp value */
public DateTime lastRestoreTimeStamp() { return this.lastRestoreTimeStamp; }
Get timestamp when this backup finished.
Returns:the finishedTimeStamp value
/** * Get timestamp when this backup finished. * * @return the finishedTimeStamp value */
public DateTime finishedTimeStamp() { return this.finishedTimeStamp; }
Get unique correlation identifier. Please use this along with the timestamp while communicating with Azure support.
Returns:the correlationId value
/** * Get unique correlation identifier. Please use this along with the timestamp while communicating with Azure support. * * @return the correlationId value */
public String correlationId() { return this.correlationId; }
Get size of the original web app which has been backed up.
Returns:the websiteSizeInBytes value
/** * Get size of the original web app which has been backed up. * * @return the websiteSizeInBytes value */
public Long websiteSizeInBytes() { return this.websiteSizeInBytes; } }