AmazonGlacierService
Ecng.Backup.Amazon
The data storage service based on Amazon Glacier https://aws.amazon.com/s3/glacier/ .
Наследует: Disposable
Реализует: IBackupService, IDisposable
Конструкторы
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.
Свойства
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.
Методы
DisposeManaged
protected override void DisposeManaged()
amazonGlacierService.DisposeManaged()
Disposes the managed resources.