Table of Contents

Class DataRepositoryTask

Namespace
Amazon.FSx.Model
Assembly
AWSSDK.FSx.dll

A description of the data repository task.

  • You use import and export data repository tasks to perform bulk transfer operations between an Amazon FSx for Lustre file system and a linked data repository.

  • You use release data repository tasks to release files that have been exported to a linked S3 bucket from your Amazon FSx for Lustre file system.

  • An Amazon File Cache resource uses a task to automatically release files from the cache.

To learn more about data repository tasks, see Data Repository Tasks.

public class DataRepositoryTask
Inheritance
DataRepositoryTask
Inherited Members

Constructors

DataRepositoryTask()

public DataRepositoryTask()

Properties

CapacityToRelease

Gets and sets the property CapacityToRelease.

Specifies the amount of data to release, in GiB, by an Amazon File Cache AUTO_RELEASE_DATA task that automatically releases files from the cache.

public long CapacityToRelease { get; set; }

Property Value

long

CreationTime

Gets and sets the property CreationTime.

public DateTime CreationTime { get; set; }

Property Value

DateTime

EndTime

Gets and sets the property EndTime.

The time the system completed processing the task, populated after the task is complete.

public DateTime EndTime { get; set; }

Property Value

DateTime

FailureDetails

Gets and sets the property FailureDetails.

Failure message describing why the task failed, it is populated only when Lifecycle is set to FAILED.

public DataRepositoryTaskFailureDetails FailureDetails { get; set; }

Property Value

DataRepositoryTaskFailureDetails

FileCacheId

Gets and sets the property FileCacheId.

The system-generated, unique ID of the cache.

public string FileCacheId { get; set; }

Property Value

string

FileSystemId

Gets and sets the property FileSystemId.

The globally unique ID of the file system.

public string FileSystemId { get; set; }

Property Value

string

Lifecycle

Gets and sets the property Lifecycle.

The lifecycle status of the data repository task, as follows:

  • PENDING - The task has not started.

  • EXECUTING - The task is in process.

  • FAILED - The task was not able to be completed. For example, there may be files the task failed to process. The DataRepositoryTaskFailureDetails property provides more information about task failures.

  • SUCCEEDED - The task has completed successfully.

  • CANCELED - The task was canceled and it did not complete.

  • CANCELING - The task is in process of being canceled.

note

You cannot delete an FSx for Lustre file system if there are data repository tasks for the file system in the PENDING or EXECUTING states. Please retry when the data repository task is finished (with a status of CANCELED, SUCCEEDED, or FAILED). You can use the DescribeDataRepositoryTask action to monitor the task status. Contact the FSx team if you need to delete your file system immediately.

public DataRepositoryTaskLifecycle Lifecycle { get; set; }

Property Value

DataRepositoryTaskLifecycle

Paths

Gets and sets the property Paths.

An array of paths that specify the data for the data repository task to process. For example, in an EXPORT_TO_REPOSITORY task, the paths specify which data to export to the linked data repository.

(Default) If Paths is not specified, Amazon FSx uses the file system root directory.

public List<string> Paths { get; set; }

Property Value

List<string>

ReleaseConfiguration

Gets and sets the property ReleaseConfiguration.

The configuration that specifies the last accessed time criteria for files that will be released from an Amazon FSx for Lustre file system.

public ReleaseConfiguration ReleaseConfiguration { get; set; }

Property Value

ReleaseConfiguration

Report

Gets and sets the property Report.

public CompletionReport Report { get; set; }

Property Value

CompletionReport

ResourceARN

Gets and sets the property ResourceARN.

public string ResourceARN { get; set; }

Property Value

string

StartTime

Gets and sets the property StartTime.

The time the system began processing the task.

public DateTime StartTime { get; set; }

Property Value

DateTime

Status

Gets and sets the property Status.

Provides the status of the number of files that the task has processed successfully and failed to process.

public DataRepositoryTaskStatus Status { get; set; }

Property Value

DataRepositoryTaskStatus

Tags

Gets and sets the property Tags.

public List<Tag> Tags { get; set; }

Property Value

List<Tag>

TaskId

Gets and sets the property TaskId.

The system-generated, unique 17-digit ID of the data repository task.

public string TaskId { get; set; }

Property Value

string

Type

Gets and sets the property Type.

The type of data repository task.

  • EXPORT_TO_REPOSITORY tasks export from your Amazon FSx for Lustre file system to a linked data repository.

  • IMPORT_METADATA_FROM_REPOSITORY tasks import metadata changes from a linked S3 bucket to your Amazon FSx for Lustre file system.

  • RELEASE_DATA_FROM_FILESYSTEM tasks release files in your Amazon FSx for Lustre file system that have been exported to a linked S3 bucket and that meet your specified release criteria.

  • AUTO_RELEASE_DATA tasks automatically release files from an Amazon File Cache resource.

public DataRepositoryTaskType Type { get; set; }

Property Value

DataRepositoryTaskType