C# 클래스 TwentyTwenty.Storage.Amazon.AmazonStorageProvider

상속: IStorageProvider
파일 보기 프로젝트 열기: 2020IP/TwentyTwenty.Storage

공개 메소드들

메소드 설명
AmazonStorageProvider ( AmazonProviderOptions options ) : Amazon.S3
DeleteBlobAsync ( string containerName, string blobName ) : System.Threading.Tasks.Task
DeleteContainerAsync ( string containerName ) : System.Threading.Tasks.Task
GetBlobDescriptorAsync ( string containerName, string blobName ) : Task
GetBlobSasUrl ( string containerName, string blobName, DateTimeOffset expiry, bool isDownload = false, string fileName = null, string contentType = null, BlobUrlAccess access = BlobUrlAccess.Read ) : string
GetBlobStreamAsync ( string containerName, string blobName ) : Task
GetBlobUrl ( string containerName, string blobName ) : string
ListBlobsAsync ( string containerName ) : Task>
SaveBlobStreamAsync ( string containerName, string blobName, Stream source, BlobProperties properties = null, bool closeStream = true ) : System.Threading.Tasks.Task
UpdateBlobPropertiesAsync ( string containerName, string blobName, BlobProperties properties ) : System.Threading.Tasks.Task

비공개 메소드들

메소드 설명
CreateChunkedUpload ( string containerName, string blobName, Stream source, BlobProperties properties, bool closeStream ) : TransferUtilityUploadRequest
CreateUpdateRequest ( string containerName, string blobName, BlobProperties properties ) : CopyObjectRequest
CreateUpload ( string containerName, string blobName, Stream source, BlobProperties properties, bool closeStream ) : PutObjectRequest
GenerateKeyName ( string containerName, string blobName ) : string
GetCannedACL ( BlobProperties properties ) : S3CannedACL

메소드 상세

AmazonStorageProvider() 공개 메소드

public AmazonStorageProvider ( AmazonProviderOptions options ) : Amazon.S3
options AmazonProviderOptions
리턴 Amazon.S3

DeleteBlobAsync() 공개 메소드

public DeleteBlobAsync ( string containerName, string blobName ) : System.Threading.Tasks.Task
containerName string
blobName string
리턴 System.Threading.Tasks.Task

DeleteContainerAsync() 공개 메소드

public DeleteContainerAsync ( string containerName ) : System.Threading.Tasks.Task
containerName string
리턴 System.Threading.Tasks.Task

GetBlobDescriptorAsync() 공개 메소드

public GetBlobDescriptorAsync ( string containerName, string blobName ) : Task
containerName string
blobName string
리턴 Task

GetBlobSasUrl() 공개 메소드

public GetBlobSasUrl ( string containerName, string blobName, DateTimeOffset expiry, bool isDownload = false, string fileName = null, string contentType = null, BlobUrlAccess access = BlobUrlAccess.Read ) : string
containerName string
blobName string
expiry DateTimeOffset
isDownload bool
fileName string
contentType string
access BlobUrlAccess
리턴 string

GetBlobStreamAsync() 공개 메소드

public GetBlobStreamAsync ( string containerName, string blobName ) : Task
containerName string
blobName string
리턴 Task

GetBlobUrl() 공개 메소드

public GetBlobUrl ( string containerName, string blobName ) : string
containerName string
blobName string
리턴 string

ListBlobsAsync() 공개 메소드

public ListBlobsAsync ( string containerName ) : Task>
containerName string
리턴 Task>

SaveBlobStreamAsync() 공개 메소드

public SaveBlobStreamAsync ( string containerName, string blobName, Stream source, BlobProperties properties = null, bool closeStream = true ) : System.Threading.Tasks.Task
containerName string
blobName string
source Stream
properties BlobProperties
closeStream bool
리턴 System.Threading.Tasks.Task

UpdateBlobPropertiesAsync() 공개 메소드

public UpdateBlobPropertiesAsync ( string containerName, string blobName, BlobProperties properties ) : System.Threading.Tasks.Task
containerName string
blobName string
properties BlobProperties
리턴 System.Threading.Tasks.Task