AzureBackupJob Class

  • java.lang.Object
    • com.azure.resourcemanager.dataprotection.models.AzureBackupJob

Implements

public final class AzureBackupJob
implements JsonSerializable<AzureBackupJob>

AzureBackup Job Class.

Method Summary

Modifier and Type Method and Description
String activityId()

Get the activityId property: Job Activity Id.

String backupInstanceFriendlyName()

Get the backupInstanceFriendlyName property: Name of the Backup Instance.

String backupInstanceId()

Get the backupInstanceId property: ARM ID of the Backup Instance.

String dataSourceId()

Get the dataSourceId property: ARM ID of the DataSource.

String dataSourceLocation()

Get the dataSourceLocation property: Location of the DataSource.

String dataSourceName()

Get the dataSourceName property: User Friendly Name of the DataSource.

String dataSourceSetName()

Get the dataSourceSetName property: Data Source Set Name of the DataSource.

String dataSourceType()

Get the dataSourceType property: Type of DataSource.

String destinationDataStoreName()

Get the destinationDataStoreName property: The destinationDataStoreName property.

String duration()

Get the duration property: Total run time of the job.

OffsetDateTime endTime()

Get the endTime property: EndTime of the job(in UTC).

List<UserFacingError> errorDetails()

Get the errorDetails property: A List, detailing the errors related to the job.

String etag()

Get the etag property: The etag property.

JobExtendedInfo extendedInfo()

Get the extendedInfo property: Extended Information about the job.

static AzureBackupJob fromJson(JsonReader jsonReader)

Reads an instance of AzureBackupJob from the JsonReader.

boolean isUserTriggered()

Get the isUserTriggered property: Indicated that whether the job is adhoc(true) or scheduled(false).

String operation()

Get the operation property: It indicates the type of Job i.e.

String operationCategory()

Get the operationCategory property: It indicates the type of Job i.e.

String policyId()

Get the policyId property: ARM ID of the policy.

String policyName()

Get the policyName property: Name of the policy.

boolean progressEnabled()

Get the progressEnabled property: Indicated whether progress is enabled for the job.

String progressUrl()

Get the progressUrl property: Url which contains job's progress.

String rehydrationPriority()

Get the rehydrationPriority property: Priority to be used for rehydration.

String restoreType()

Get the restoreType property: It indicates the sub type of operation i.e.

String sourceDataStoreName()

Get the sourceDataStoreName property: The sourceDataStoreName property.

String sourceResourceGroup()

Get the sourceResourceGroup property: Resource Group Name of the Datasource.

String sourceSubscriptionId()

Get the sourceSubscriptionId property: SubscriptionId corresponding to the DataSource.

OffsetDateTime startTime()

Get the startTime property: StartTime of the job(in UTC).

String status()

Get the status property: Status of the job like InProgress/Completed/Failed/Cancelled/CompletedWithWarnings/Cancelling/Paused.

String subscriptionId()

Get the subscriptionId property: Subscription Id of the corresponding backup vault.

List<String> supportedActions()

Get the supportedActions property: List of supported actions.

JsonWriter toJson(JsonWriter jsonWriter)
String vaultName()

Get the vaultName property: Name of the vault.

Methods inherited from java.lang.Object

Method Details

activityId

public String activityId()

Get the activityId property: Job Activity Id.

Returns:

the activityId value.

backupInstanceFriendlyName

public String backupInstanceFriendlyName()

Get the backupInstanceFriendlyName property: Name of the Backup Instance.

Returns:

the backupInstanceFriendlyName value.

backupInstanceId

public String backupInstanceId()

Get the backupInstanceId property: ARM ID of the Backup Instance.

Returns:

the backupInstanceId value.

dataSourceId

public String dataSourceId()

Get the dataSourceId property: ARM ID of the DataSource.

Returns:

the dataSourceId value.

dataSourceLocation

public String dataSourceLocation()

Get the dataSourceLocation property: Location of the DataSource.

Returns:

the dataSourceLocation value.

dataSourceName

public String dataSourceName()

Get the dataSourceName property: User Friendly Name of the DataSource.

Returns:

the dataSourceName value.

dataSourceSetName

public String dataSourceSetName()

Get the dataSourceSetName property: Data Source Set Name of the DataSource.

Returns:

the dataSourceSetName value.

dataSourceType

public String dataSourceType()

Get the dataSourceType property: Type of DataSource.

Returns:

the dataSourceType value.

destinationDataStoreName

public String destinationDataStoreName()

Get the destinationDataStoreName property: The destinationDataStoreName property.

Returns:

the destinationDataStoreName value.

duration

public String duration()

Get the duration property: Total run time of the job. ISO 8601 format.

Returns:

the duration value.

endTime

public OffsetDateTime endTime()

Get the endTime property: EndTime of the job(in UTC).

Returns:

the endTime value.

errorDetails

public List<UserFacingError> errorDetails()

Get the errorDetails property: A List, detailing the errors related to the job.

Returns:

the errorDetails value.

etag

public String etag()

Get the etag property: The etag property.

Returns:

the etag value.

extendedInfo

public JobExtendedInfo extendedInfo()

Get the extendedInfo property: Extended Information about the job.

Returns:

the extendedInfo value.

fromJson

public static AzureBackupJob fromJson(JsonReader jsonReader)

Reads an instance of AzureBackupJob from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AzureBackupJob 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.

isUserTriggered

public boolean isUserTriggered()

Get the isUserTriggered property: Indicated that whether the job is adhoc(true) or scheduled(false).

Returns:

the isUserTriggered value.

operation

public String operation()

Get the operation property: It indicates the type of Job i.e. Backup:full/log/diff ;Restore:ALR/OLR; Tiering:Backup/Archive ; Management:ConfigureProtection/UnConfigure.

Returns:

the operation value.

operationCategory

public String operationCategory()

Get the operationCategory property: It indicates the type of Job i.e. Backup/Restore/Tiering/Management.

Returns:

the operationCategory value.

policyId

public String policyId()

Get the policyId property: ARM ID of the policy.

Returns:

the policyId value.

policyName

public String policyName()

Get the policyName property: Name of the policy.

Returns:

the policyName value.

progressEnabled

public boolean progressEnabled()

Get the progressEnabled property: Indicated whether progress is enabled for the job.

Returns:

the progressEnabled value.

progressUrl

public String progressUrl()

Get the progressUrl property: Url which contains job's progress.

Returns:

the progressUrl value.

rehydrationPriority

public String rehydrationPriority()

Get the rehydrationPriority property: Priority to be used for rehydration.

Returns:

the rehydrationPriority value.

restoreType

public String restoreType()

Get the restoreType property: It indicates the sub type of operation i.e. in case of Restore it can be ALR/OLR.

Returns:

the restoreType value.

sourceDataStoreName

public String sourceDataStoreName()

Get the sourceDataStoreName property: The sourceDataStoreName property.

Returns:

the sourceDataStoreName value.

sourceResourceGroup

public String sourceResourceGroup()

Get the sourceResourceGroup property: Resource Group Name of the Datasource.

Returns:

the sourceResourceGroup value.

sourceSubscriptionId

public String sourceSubscriptionId()

Get the sourceSubscriptionId property: SubscriptionId corresponding to the DataSource.

Returns:

the sourceSubscriptionId value.

startTime

public OffsetDateTime startTime()

Get the startTime property: StartTime of the job(in UTC).

Returns:

the startTime value.

status

public String status()

Get the status property: Status of the job like InProgress/Completed/Failed/Cancelled/CompletedWithWarnings/Cancelling/Paused.

Returns:

the status value.

subscriptionId

public String subscriptionId()

Get the subscriptionId property: Subscription Id of the corresponding backup vault.

Returns:

the subscriptionId value.

supportedActions

public List<String> supportedActions()

Get the supportedActions property: List of supported actions.

Returns:

the supportedActions value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

vaultName

public String vaultName()

Get the vaultName property: Name of the vault.

Returns:

the vaultName value.

Applies to