AmazonGlacierService

Ecng.Backup.Amazon

The data storage service based on Amazon Glacier https://aws.amazon.com/s3/glacier/ .

Erbt von: Disposable

Implementiert: IBackupService, IDisposable

Konstruktoren

AmazonGlacierService
public AmazonGlacierService(string endpoint, string bucket, string accessKey, string secretKey)
amazonGlacierService = AmazonGlacierService(endpoint, bucket, accessKey, secretKey)

Initializes a new instance of the AmazonGlacierService.

endpoint
Region address.
bucket
Storage name.
accessKey
Key.
secretKey
Secret.
AmazonGlacierService
public AmazonGlacierService(RegionEndpoint endpoint, string vaultName, string accessKey, string secretKey)
amazonGlacierService = AmazonGlacierService(endpoint, vaultName, accessKey, secretKey)

Initializes a new instance of the AmazonGlacierService.

endpoint
Region address.
vaultName
Storage name.
accessKey
Key.
secretKey
Secret.
AmazonGlacierService
public AmazonGlacierService(RegionEndpoint endpoint, string vaultName, AWSCredentials credentials)
amazonGlacierService = AmazonGlacierService(endpoint, vaultName, credentials)

Initializes a new instance of the AmazonGlacierService.

endpoint
Region address.
vaultName
Storage name.
credentials
Credentials.
AmazonGlacierService
public AmazonGlacierService(IAmazonGlacier client, RegionEndpoint endpoint, string vaultName, AWSCredentials credentials)
amazonGlacierService = AmazonGlacierService(client, endpoint, vaultName, credentials)

Initializes a new instance with a custom IAmazonGlacier implementation.

client
The Glacier client.
endpoint
Region endpoint.
vaultName
Vault name.
credentials
Optional credentials.

Eigenschaften

JobTimeOut
public TimeSpan JobTimeOut { get; set; }
value = amazonGlacierService.JobTimeOut
amazonGlacierService.JobTimeOut = value

Job timeout.

PollInterval
public TimeSpan PollInterval { get; set; }
value = amazonGlacierService.PollInterval
amazonGlacierService.PollInterval = value

Poll interval for Glacier jobs.

Methoden

DisposeManaged
protected override void DisposeManaged()
amazonGlacierService.DisposeManaged()

Disposes the managed resources.