#region 程序集 Aliyun.OSS, Version=2.9.1.0, Culture=neutral, PublicKeyToken=0ad4175f0dac0b9b
// D:sinopec-tbm源代码 9.AssemblyAliyun.OSS.dll
#endregion
using System;
using System.Collections.Generic;
using System.IO;
using Aliyun.OSS.Common.Authentication;
using Aliyun.OSS.Model;
namespace Aliyun.OSS
{
public interface IOss
{
void AbortMultipartUpload(AbortMultipartUploadRequest abortMultipartUploadRequest);
AppendObjectResult AppendObject(AppendObjectRequest request);
IAsyncResult BeginAppendObject(AppendObjectRequest request, AsyncCallback callback, object state);
IAsyncResult BeginCopyObject(CopyObjectRequest copyObjectRequst, AsyncCallback callback, object state);
IAsyncResult BeginGetObject(string bucketName, string key, AsyncCallback callback, object state);
IAsyncResult BeginGetObject(GetObjectRequest getObjectRequest, AsyncCallback callback, object state);
IAsyncResult BeginListObjects(ListObjectsRequest listObjectsRequest, AsyncCallback callback, object state);
IAsyncResult BeginListObjects(string bucketName, string prefix, AsyncCallback callback, object state);
IAsyncResult BeginListObjects(string bucketName, AsyncCallback callback, object state);
IAsyncResult BeginPutObject(string bucketName, string key, string fileToUpload, ObjectMetadata metadata, AsyncCallback callback, object state);
IAsyncResult BeginPutObject(string bucketName, string key, string fileToUpload, AsyncCallback callback, object state);
IAsyncResult BeginPutObject(PutObjectRequest putObjectRequest, AsyncCallback callback, object state);
IAsyncResult BeginPutObject(string bucketName, string key, Stream content, ObjectMetadata metadata, AsyncCallback callback, object state);
IAsyncResult BeginPutObject(string bucketName, string key, Stream content, AsyncCallback callback, object state);
IAsyncResult BeginUploadPart(UploadPartRequest uploadPartRequest, AsyncCallback callback, object state);
IAsyncResult BeginUploadPartCopy(UploadPartCopyRequest uploadPartCopyRequest, AsyncCallback callback, object state);
CompleteMultipartUploadResult CompleteMultipartUpload(CompleteMultipartUploadRequest completeMultipartUploadRequest);
[Obsolete("CopyBigObject is deprecated, please use ResumableCopyObject instead")]
CopyObjectResult CopyBigObject(CopyObjectRequest copyObjectRequest, long? partSize = null, string checkpointDir = null);
CopyObjectResult CopyObject(CopyObjectRequest copyObjectRequst);
Bucket CreateBucket(string bucketName, StorageClass? storageClass);
Bucket CreateBucket(string bucketName);
void CreateSymlink(string bucketName, string symlink, string target);
void CreateSymlink(CreateSymlinkRequest createSymlinkRequest);
void DeleteBucket(string bucketName);
void DeleteBucketCors(string bucketName);
void DeleteBucketLifecycle(string bucketName);
void DeleteBucketLogging(string bucketName);
void DeleteBucketWebsite(string bucketName);
void DeleteObject(string bucketName, string key);
DeleteObjectsResult DeleteObjects(DeleteObjectsRequest deleteObjectsRequest);
bool DoesBucketExist(string bucketName);
bool DoesObjectExist(string bucketName, string key);
AppendObjectResult EndAppendObject(IAsyncResult asyncResult);
CopyObjectResult EndCopyResult(IAsyncResult asyncResult);
OssObject EndGetObject(IAsyncResult asyncResult);
ObjectListing EndListObjects(IAsyncResult asyncResult);
PutObjectResult EndPutObject(IAsyncResult asyncResult);
UploadPartResult EndUploadPart(IAsyncResult asyncResult);
UploadPartCopyResult EndUploadPartCopy(IAsyncResult asyncResult);
string GeneratePostPolicy(DateTime expiration, PolicyConditions conds);
Uri GeneratePresignedUri(GeneratePresignedUriRequest generatePresignedUriRequest);
Uri GeneratePresignedUri(string bucketName, string key, DateTime expiration, SignHttpMethod method);
Uri GeneratePresignedUri(string bucketName, string key, SignHttpMethod method);
Uri GeneratePresignedUri(string bucketName, string key, DateTime expiration);
Uri GeneratePresignedUri(string bucketName, string key);
AccessControlList GetBucketAcl(string bucketName);
IList<CORSRule> GetBucketCors(string bucketName);
BucketInfo GetBucketInfo(string bucketName);
IList<LifecycleRule> GetBucketLifecycle(string bucketName);
BucketLocationResult GetBucketLocation(string bucketName);
BucketLoggingResult GetBucketLogging(string bucketName);
BucketMetadata GetBucketMetadata(string bucketName);
RefererConfiguration GetBucketReferer(string bucketName);
BucketStat GetBucketStat(string bucketName);
GetBucketStorageCapacityResult GetBucketStorageCapacity(string bucketName);
BucketWebsiteResult GetBucketWebsite(string bucketName);
OssObject GetObject(string bucketName, string key);
ObjectMetadata GetObject(GetObjectRequest getObjectRequest, Stream output);
OssObject GetObject(GetObjectRequest getObjectRequest);
OssObject GetObject(Uri signedUrl);
AccessControlList GetObjectAcl(string bucketName, string key);
ObjectMetadata GetObjectMetadata(string bucketName, string key);
OssSymlink GetSymlink(string bucketName, string symlink);
InitiateMultipartUploadResult InitiateMultipartUpload(InitiateMultipartUploadRequest initiateMultipartUploadRequest);
ListBucketsResult ListBuckets(ListBucketsRequest listBucketsRequest);
IEnumerable<Bucket> ListBuckets();
MultipartUploadListing ListMultipartUploads(ListMultipartUploadsRequest listMultipartUploadsRequest);
ObjectListing ListObjects(string bucketName);
ObjectListing ListObjects(string bucketName, string prefix);
ObjectListing ListObjects(ListObjectsRequest listObjectsRequest);
PartListing ListParts(ListPartsRequest listPartsRequest);
void ModifyObjectMeta(string bucketName, string key, ObjectMetadata newMeta, long? partSize = null, string checkpointDir = null);
[Obsolete("PutBigObject is deprecated, please use ResumableUploadObject instead")]
PutObjectResult PutBigObject(string bucketName, string key, Stream content, ObjectMetadata metadata, long? partSize = null);
[Obsolete("PutBigObject is deprecated, please use ResumableUploadObject instead")]
PutObjectResult PutBigObject(string bucketName, string key, string fileToUpload, ObjectMetadata metadata, long? partSize = null);
PutObjectResult PutObject(Uri signedUrl, string fileToUpload);
PutObjectResult PutObject(string bucketName, string key, Stream content, ObjectMetadata metadata);
PutObjectResult PutObject(string bucketName, string key, Stream content);
PutObjectResult PutObject(Uri signedUrl, Stream content, ObjectMetadata metadata);
PutObjectResult PutObject(Uri signedUrl, string fileToUpload, ObjectMetadata metadata);
PutObjectResult PutObject(Uri signedUrl, Stream content);
PutObjectResult PutObject(PutObjectRequest putObjectRequest);
PutObjectResult PutObject(string bucketName, string key, string fileToUpload);
PutObjectResult PutObject(string bucketName, string key, string fileToUpload, ObjectMetadata metadata);
RestoreObjectResult RestoreObject(string bucketName, string key);
CopyObjectResult ResumableCopyObject(CopyObjectRequest copyObjectRequest, string checkpointDir, long? partSize = null);
ObjectMetadata ResumableDownloadObject(DownloadObjectRequest request);
PutObjectResult ResumableUploadObject(UploadObjectRequest request);
PutObjectResult ResumableUploadObject(string bucketName, string key, string fileToUpload, ObjectMetadata metadata, string checkpointDir, long? partSize = null, EventHandler<StreamTransferProgressArgs> streamTransferProgress = null);
PutObjectResult ResumableUploadObject(string bucketName, string key, Stream content, ObjectMetadata metadata, string checkpointDir, long? partSize = null, EventHandler<StreamTransferProgressArgs> streamTransferProgress = null);
void SetBucketAcl(SetBucketAclRequest setBucketAclRequest);
void SetBucketAcl(string bucketName, CannedAccessControlList acl);
void SetBucketCors(SetBucketCorsRequest setBucketCorsRequest);
void SetBucketLifecycle(SetBucketLifecycleRequest setBucketLifecycleRequest);
void SetBucketLogging(SetBucketLoggingRequest setBucketLoggingRequest);
void SetBucketReferer(SetBucketRefererRequest setBucketRefererRequest);
void SetBucketStorageCapacity(SetBucketStorageCapacityRequest setBucketStorageCapacityRequest);
void SetBucketWebsite(SetBucketWebsiteRequest setBucketWebSiteRequest);
void SetEndpoint(Uri endpoint);
void SetObjectAcl(string bucketName, string key, CannedAccessControlList acl);
void SetObjectAcl(SetObjectAclRequest setObjectAclRequest);
void SwitchCredentials(ICredentials creds);
UploadPartResult UploadPart(UploadPartRequest uploadPartRequest);
UploadPartCopyResult UploadPartCopy(UploadPartCopyRequest uploadPartCopyRequest);
}
}