AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Contains detailed information about a backup job.

Inheritance Hierarchy

System.Object
  Amazon.Backup.Model.BackupJob

Namespace: Amazon.Backup.Model
Assembly: AWSSDK.Backup.dll
Version: 3.x.y.z

Syntax

C#
public class BackupJob

The BackupJob type exposes the following members

Constructors

NameDescription
Public Method BackupJob()

Properties

NameTypeDescription
Public Property AccountId System.String

Gets and sets the property AccountId.

The account ID that owns the backup job.

Public Property BackupJobId System.String

Gets and sets the property BackupJobId.

Uniquely identifies a request to Backup to back up a resource.

Public Property BackupOptions System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property BackupOptions.

Specifies the backup option for a selected resource. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs.

Valid values: Set to "WindowsVSS":"enabled" to enable the WindowsVSS backup option and create a Windows VSS backup. Set to "WindowsVSS":"disabled" to create a regular backup. If you specify an invalid option, you get an InvalidParameterValueException exception.

Public Property BackupSizeInBytes System.Int64

Gets and sets the property BackupSizeInBytes.

The size, in bytes, of a backup.

Public Property BackupType System.String

Gets and sets the property BackupType.

Represents the type of backup for a backup job.

Public Property BackupVaultArn System.String

Gets and sets the property BackupVaultArn.

An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

Public Property BackupVaultName System.String

Gets and sets the property BackupVaultName.

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.

Public Property BytesTransferred System.Int64

Gets and sets the property BytesTransferred.

The size in bytes transferred to a backup vault at the time that the job status was queried.

Public Property CompletionDate System.DateTime

Gets and sets the property CompletionDate.

The date and time a job to create a backup job is completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

Public Property CreatedBy Amazon.Backup.Model.RecoveryPointCreator

Gets and sets the property CreatedBy.

Contains identifying information about the creation of a backup job, including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the backup plan used to create it.

Public Property CreationDate System.DateTime

Gets and sets the property CreationDate.

The date and time a backup job is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

Public Property ExpectedCompletionDate System.DateTime

Gets and sets the property ExpectedCompletionDate.

The date and time a job to back up resources is expected to be completed, in Unix format and Coordinated Universal Time (UTC). The value of ExpectedCompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

Public Property IamRoleArn System.String

Gets and sets the property IamRoleArn.

Specifies the IAM role ARN used to create the target recovery point. IAM roles other than the default role must include either AWSBackup or AwsBackup in the role name. For example, arn:aws:iam::123456789012:role/AWSBackupRDSAccess. Role names without those strings lack permissions to perform backup jobs.

Public Property InitiationDate System.DateTime

Gets and sets the property InitiationDate.

This is the date on which the backup job was initiated.

Public Property IsParent System.Boolean

Gets and sets the property IsParent.

This is a boolean value indicating this is a parent (composite) backup job.

Public Property MessageCategory System.String

Gets and sets the property MessageCategory.

This parameter is the job count for the specified message category.

Example strings may include AccessDenied, SUCCESS, AGGREGATE_ALL, and INVALIDPARAMETERS. See Monitoring for a list of MessageCategory strings.

The the value ANY returns count of all message categories.

AGGREGATE_ALL aggregates job counts for all message categories and returns the sum.

Public Property ParentJobId System.String

Gets and sets the property ParentJobId.

This uniquely identifies a request to Backup to back up a resource. The return will be the parent (composite) job ID.

Public Property PercentDone System.String

Gets and sets the property PercentDone.

Contains an estimated percentage complete of a job at the time the job status was queried.

Public Property RecoveryPointArn System.String

Gets and sets the property RecoveryPointArn.

An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

Public Property ResourceArn System.String

Gets and sets the property ResourceArn.

An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.

Public Property ResourceName System.String

Gets and sets the property ResourceName.

This is the non-unique name of the resource that belongs to the specified backup.

Public Property ResourceType System.String

Gets and sets the property ResourceType.

The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.

Public Property StartBy System.DateTime

Gets and sets the property StartBy.

Specifies the time in Unix format and Coordinated Universal Time (UTC) when a backup job must be started before it is canceled. The value is calculated by adding the start window to the scheduled time. So if the scheduled time were 6:00 PM and the start window is 2 hours, the StartBy time would be 8:00 PM on the date specified. The value of StartBy is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

Public Property State Amazon.Backup.BackupJobState

Gets and sets the property State.

The current state of a backup job.

Public Property StatusMessage System.String

Gets and sets the property StatusMessage.

A detailed message explaining the status of the job to back up a resource.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5