Aliyun.OSS.Core
Delete bucket tagging command.
Delete LiveChannel command.
Delete object tagging command.
Description of SetBucketRefererCommand.
Delete bucket lifecycle command.
Get bucket info command.
Get bucket info command.
The client configuration that specifies the network parameters.
Max Http connection connection count. By default it's 512.
User-Agent in requests to OSS
Proxy host
Proxy port
Proxy user name
Proxy user password
The proxy user name's domain for authentication
Connection timeout in milliseconds
Max error retry count
Protocols used to access OSS (HTTP or HTTPS)
If the endpoint is the CName.
If it's CName, ListBuckets is not supported.
The progress update interval in terms of data upload/download's delta in bytes. By default it's 4096 bytes.
Flag of enabling MD5 checksum.
When EnalbeMD5Check is set true, MD5 will be checked and CRC check will be skipped whenever MD5 is applicable.
Gets or sets a value indicating whether this enable
crc check.
When EnalbeMD5Check is set true, MD5 will be checked and CRC check will be skipped whenever MD5 is applicable.
true if enable crc check; otherwise, false.
Sets the custom base time
OSS's token validation logic depends on the time. It requires that there's no more than 15 min time difference between client and OSS server.
This API calculates the difference between local time to epoch time. Later one other APIs use this difference to offset the local time before sending request to OSS.
Custom Epoch ticks (in seconds)
Gets the difference between customized epoch time and local time, in seconds
Gets or sets the direct write stream threshold.
The theshold is the file size threshold that when the uploading file size is more than this value, the HttpWebRequest will not use write buffer to save the memory.
The direct write stream threshold.
Gets or sets the size of the max part caching size
In multipart upload (resumable upload), if the part size is no bigger than MaxPartCachingSize, it will cache the whole part data before sending the data out.
The size of the max part caching.
Gets or sets the pre read buffer count in resumable upload.
The max value could be the same size of MaxResumableUploadThreads;
The pre read buffer count.
When uploading a file with resumable upload, the default behavior is to read the source file in multiple-threading.
But in old HDD, single thread read may be faster. And when the read speed is the bottleneck, try to change this parameter to compare the result.
true if use single thread read in resumable upload; otherwise, false.
Use new ServiceClient's implementation.
A flag of verifying object name strictly. By default it's true.
SignatureVersion used to sign the request to OSS
Gets the default user agent
Default Credential class
creates a instance of
OSS access key Id
OSS access secret
STS security token
Default ICredentialProvider implementation
Creates a instance of
ICredentials instance
ICredentialsProvider Interface
Sets the instance
An instance of
Gets an instance of
ICredential instance
ICredential interface
OSS access key Id
OSS access key secret
STS security token
FLag of using STS's SecurityToken
List of HTTP response handlers.
Gets or sets the request signer.
Gets or sets the credentials.
Gets the list of .
Gets or sets a concrete command associate with this context.
The new implementation for ServiceClient under dotnet core
Gets the dictionary of HTTP headers.
Gets or sets the content stream.
Represents a HTTP method.
Represents HTTP GET. Default value.
Represents HTTP DELETE.
Represents HTTP HEAD.
Represents HTTP POST.
Represents HTTP PUT.
Represents HTTP OPTIONS.
Represent the channel that communicates with an Aliyun Open Service.
Sends a request to the service.
The request data.
The execution context.
The response data.
Begins to send a request to the service asynchronously.
The request data.
The execution context.
User callback.
User state.
An instance of .
Ends the asynchronous operation.
An instance of .
The response data.
Gets or sets the endpoint.
Gets or sets the resource path of the request URI.
Gets or sets the HTTP method.
Gets the dictionary of the request parameters.
Gets whether the request can be repeated.
Gets or sets a value indicating whether this
use chunked encoding.
true if use chunked encoding; otherwise, false.
Gets or sets a value indicating whether this
parameters in URL.
true if parameters in URL; otherwise, false.
Build the request URI from the request message.
Throws the exception from communication if the status code is not 2xx.
Implementation of that will auto-retry HTTP requests
when encountering some specific exceptions or failures.
The default implementation of that
used to communicate with Aliyun OSS via HTTP protocol.
Represents the async operation of requests in .
Represents the response data of requests.
The default implementation of .
Exception thrown by the SDK for errors that occur within the SDK.
Constructs a new instance of the ClientException class with serialized data.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
The parameter is null.
The class name is null or is zero (0).
Implements the Dispose pattern
Whether this object is being disposed via a call to Dispose
or garbage collected.
Disposes of all managed and unmanaged resources.
A wrapper stream that calculates a hash of the base stream as it
is being read.
The calculated hash is only available after the stream is closed or
CalculateHash is called. After calling CalculateHash, any further reads
on the streams will not change the CalculatedHash.
If an ExpectedHash is specified and is not equal to the calculated hash,
Close or CalculateHash methods will throw an ClientException.
If CalculatedHash is calculated for only the portion of the stream that
is read.
Exception thrown during Close() or CalculateHash(), if ExpectedHash is set and
is different from CalculateHash that the stream calculates, provided that
CalculatedHash is not a zero-length byte array.
Algorithm to use to calculate hash.
True if hashing is finished and no more hashing should be done;
otherwise false.
Current position in the stream.
Calculated hash for the stream.
This value is set only after the stream is closed.
Expected hash value. Compared against CalculatedHash upon Close().
If the hashes are different, an ClientException is thrown.
Expected length of stream.
Initializes an HashStream with a hash algorithm and a base stream.
Stream to calculate hash for.
Initializes an HashStream with a hash algorithm and a base stream.
Stream to calculate hash for.
Expected hash. Will be compared against calculated hash on stream close.
Pass in null to disable check.
Expected length of the stream. If the reading stops before reaching this
position, CalculatedHash will be set to empty array.
Reads a sequence of bytes from the current stream and advances the position
within the stream by the number of bytes read.
An array of bytes. When this method returns, the buffer contains the specified
byte array with the values between offset and (offset + count - 1) replaced
by the bytes read from the current source.
The zero-based byte offset in buffer at which to begin storing the data read
from the current stream.
The maximum number of bytes to be read from the current stream.
The total number of bytes read into the buffer. This can be less than the
number of bytes requested if that many bytes are not currently available,
or zero (0) if the end of the stream has been reached.
Write the specified buffer, offset and count.
The write.
Buffer.
Offset.
Count.
Closes the underlying stream and finishes calculating the hash.
If an ExpectedHash is specified and is not equal to the calculated hash,
this method will throw an ClientException.
If ExpectedHash is set and is different from CalculateHash that the stream calculates.
Gets a value indicating whether the current stream supports seeking.
HashStream does not support seeking, this will always be false.
Gets or sets the position within the current stream.
HashStream does not support seeking, attempting to set Position
will throw NotSupportedException.
Sets the position within the current stream.
HashStream does not support seeking, attempting to call Seek
will throw NotSupportedException.
A byte offset relative to the origin parameter.
A value of type System.IO.SeekOrigin indicating the reference point used
to obtain the new position.
The new position within the current stream.
Gets the overridden length used to construct the HashStream
Calculates the hash for the stream so far and disables any further
hashing.
Resets the hash stream to starting state.
Use this if the underlying stream has been modified and needs
to be rehashed without reconstructing the hierarchy.
Validates the underlying stream.
Compares two hashes (arrays of bytes).
Expected hash.
Actual hash.
True if the hashes are identical; otherwise false.
A wrapper stream that calculates a hash of the base stream as it
is being read or written.
The calculated hash is only available after the stream is closed or
CalculateHash is called. After calling CalculateHash, any further reads
on the streams will not change the CalculatedHash.
If an ExpectedHash is specified and is not equal to the calculated hash,
Close or CalculateHash methods will throw an ClientException.
If base stream's position is not 0 or HashOnReads is true and the entire stream is
not read, the CalculatedHash will be set to an empty byte array and
comparison to ExpectedHash will not be made.
Exception thrown during Close() or CalculateHash(), if ExpectedHash is set and
is different from CalculateHash that the stream calculates, provided that
CalculatedHash is not a zero-length byte array.
Initializes an HashStream with a hash algorithm and a base stream.
Stream to calculate hash for.
Expected hash. Will be compared against calculated hash on stream close.
Pass in null to disable check.
Expected length of the stream. If the reading stops before reaching this
position, CalculatedHash will be set to empty array.
A wrapper stream that calculates an MD5 hash of the base stream as it
is being read or written.
The calculated hash is only available after the stream is closed or
CalculateHash is called. After calling CalculateHash, any further reads
on the streams will not change the CalculatedHash.
If an ExpectedHash is specified and is not equal to the calculated hash,
Close or CalculateHash methods will throw an ClientException.
If base stream's position is not 0 or HashOnReads is true and the entire stream is
not read, the CalculatedHash will be set to an empty byte array and
comparison to ExpectedHash will not be made.
Exception thrown during Close() or CalculateHash(), if ExpectedHash is set and
is different from CalculateHash that the stream calculates, provided that
CalculatedHash is not a zero-length byte array.
Initializes an MD5Stream with a base stream.
Stream to calculate hash for.
Expected hash. Will be compared against calculated hash on stream close.
Pass in null to disable check.
Expected length of the stream. If the reading stops before reaching this
position, CalculatedHash will be set to empty array.
This class is used to wrap a stream for a particular segment of a stream. It
makes that segment look like you are reading from beginning to end of the stream.
A wrapper stream.
Base stream.
Initializes WrapperStream with a base stream.
Returns the first base non-WrapperStream.
First base stream that is non-WrapperStream.
Returns the first base non-WrapperStream.
First base stream that is non-WrapperStream.
Returns the first base non-WrapperStream.
Potential WrapperStream
Base non-WrapperStream.
Gets a value indicating whether the current stream supports reading.
True if the stream supports reading; otherwise, false.
Gets a value indicating whether the current stream supports seeking.
True if the stream supports seeking; otherwise, false.
Gets a value indicating whether the current stream supports writing.
True if the stream supports writing; otherwise, false.
Closes the current stream and releases any resources (such as sockets and
file handles) associated with the current stream.
Gets the length in bytes of the stream.
Gets or sets the position within the current stream.
Gets or sets a value, in miliseconds, that determines how long the stream
will attempt to read before timing out.
Gets or sets a value, in miliseconds, that determines how long the stream
will attempt to write before timing out.
Clears all buffers for this stream and causes any buffered data to be written
to the underlying device.
Reads a sequence of bytes from the current stream and advances the position
within the stream by the number of bytes read.
An array of bytes. When this method returns, the buffer contains the specified
byte array with the values between offset and (offset + count - 1) replaced
by the bytes read from the current source.
The zero-based byte offset in buffer at which to begin storing the data read
from the current stream.
The maximum number of bytes to be read from the current stream.
The total number of bytes read into the buffer. This can be less than the
number of bytes requested if that many bytes are not currently available,
or zero (0) if the end of the stream has been reached.
Sets the position within the current stream.
A byte offset relative to the origin parameter.
A value of type System.IO.SeekOrigin indicating the reference point used
to obtain the new position.
The new position within the current stream.
Sets the length of the current stream.
The desired length of the current stream in bytes.
Writes a sequence of bytes to the current stream and advances the current
position within this stream by the number of bytes written.
An array of bytes. This method copies count bytes from buffer to the current stream.
The zero-based byte offset in buffer at which to begin copying bytes to the
current stream.
The number of bytes to be written to the current stream.
The OSS (Object Storage Service) Erro code definitions
。
Access Denied
Bucket already exists
Bucket is not empty (so that deletion will not work)
Entity is too large
Entity is too small (this could happen when trying to use multipart upload for a small file.
File group is too large.
Object Link has the same name of the object it points to.
Object Link points to a non-existing object.
Object Link's object count is more than 1. One symlink could only point to one object.
The item is too long in the post request.
File part has been changed.
File part does not exist
File part has been expired.
File count is invalid in the post.
Invalid argument
Access ID does not exist
Invalid bucket name
Invalid digest
Invalid target bucket for logginbg
Invalid object name
Invalid part
Invalid part order (the part Ids must be in ascending order)
Invalid policy document
OSS internal error (possibly OSS bug)
Malformed XML
Malformed body in the post request.
The non-content body size in a file upload request is too big
HTTP Method is not allowed.(for example some CORS rules could define allowed methods)
Missing argument
Missing content length--in HTTP post/put requests, the content length is needed.
Bucket does not exist.
Object does not exist in OSS
Multipart Upload ID does not exist
Not implemented methods
Precondition failed.
The time skew is too big (more than 15 minutes)
Request timeout
Invalid content-type in the post request.
Signature does not match
Bucket counts exceeds the limit
Invalid Encryption Algorithems error
The source bucket is not enabled with static website
CORS rules do not exist
304 Not modified
203 callback call failed
This is the expected exception that is thrown when accessing OSS.
Initializes a new instance
Initializes a new instance
Error message for the exception
Initializes a instance
Serialization information
The context information
Initializes a new instance
Error Message
Inner exceptions
Override themethods
,Serialization information about the object
Context information
The exception returned from OSS server side.
is used for wrap the error messages from OSS server side.
For example, if Access key Id does not exist, it will throw .
The exception has the error codes for caller to handle.
means there's network issue when OSS client sends request to OSS server.
For example, if the network is not available, it will throw .
means the client code handnle parse or handle the response. In this case it might means the response is incomplete or the SDK
does not match the OSS's response, in which case the SDK needs the upgrade.
Generally speaking, caller only needs to handle . It means the request has been processed by OSS (so network is not an issue),
but the request could not be processed by OSS correctly. The error code of ServiceException could help to understand the issue and the caller could handle it properly.
The error code getter
The requestId getter
Host ID getter
Creates a instance.
Creates a new instance.
The error messag
Creates a new instance.
Error messag
internal exception
Creates a new instance.
serialization information
context information
Overrides method
serialization information instance
context information
The result class of the operation to get bucket encryption config
Server-side encryption method.
The CMK id.
OSS bucket's metadata, which is the collection of 'key,value' pair.
Gets HTTP standard headers and their values.
Gets or sets the bucket region(location)
Adds one HTTP header and its value.
header name
header value
The result class of the operation to get bucket's location.
The bucket location.
The request class of the operation to CompleteBucketWorm.
Gets the bucket name
Gets the worm id
Creates a instance of .
bucket name
wormId
The request class of the operation to set the bucket's lifecycle configuration.
Gets the bucket name
Gets the bucket StorageClass
Gets the bucket ACL
Gets the bucket DataRedundancyType
Creates a new intance of .
bucket name
Creates a new intance of .
bucket name
the bucket storage class
the bucket acl
The result class of the operation to create live channel.
The publish url.
The play url.
Specifies the compression type of the object. Valid values: None, GZIP.
Describes how a CSV-formatted input object is formatted.
Specifies the value used to separate individual records.
Specifies the value used to separate individual fields in a record.
Specifies the value used for escaping where the field delimiter is part of the value.
Describes how a JSON-formatted input object is formatted.
Specifies the type of the input JSON object. Valid values: DOCUMENT, LINES.
The request class of the operation to create the meta of select object.
Gets the bucket name
Gets the object key.
Gets or sets the input format
Gets or sets the overwrite flag
Creates a new instance of .
bucket name
key
The result class of the operation to create the meta of select object.
Gets or sets the ErrorMessage.
The result class for create symlink operation.
ETag getter/setter. ETag is calculated in the OSS server side by using the 128bit MD5 result on the object content. It's the hex string.
Gets or sets the version id.
The request class of the operation to delete the bucket's inventory configuration.
Gets the bucket name
Gets the inventory configuration id
Creates a new intance of .
bucket name
inventory configuration id
The request class of the operation to delete the bucket's tagging.
Gets the bucket name
Gets or sets the tags.
Creates a new intance of .
bucket name
Creates a new intance of .
bucket name
tag list
Adds a tag
a deleted object summary information.
Gets or sets the object key.
Gets or sets the version of a object.
Gets or sets if it is a delete marker of a object.
Gets or sets the version of a delete marker.
The request class of the operation to delete the live channel.
Gets or sets the bucket name
Gets or sets the channel name
Delete a new instance of
bucket name
live channel name
of a delete marker summary information.
Gets or sets the bucket name
Gets or sets the object key.
Gets or sets the version of a object.
Gets or sets if it is the latest version of a object.
Gets the last modified time.
Get's the object's .
Creates a new instance of .
Gets the serialization result in string.
serialization result in string
The request class of the operation to delete an object from OSS.
Gets or sets the bucket name
Gets or sets the object key
Gets or sets the reqeust payer
Gets or sets the version id
Delete a new instance of
bucket name
object key
The result class for delete object operation.
Gets or sets the version id.
Gets or sets the delete marker.
The request class of the operation to delete the object tagging.
Gets or sets the bucket name
Gets or sets the object key
Gets or sets the reqeust payer
Gets or sets the version id
Delete a new instance of
bucket name
object key
The request class of the operation to delete multiple objects with version id in OSS.
Gets or sets the bucket name
Gets quiet mode flag. By default it's true;
Returns the object list where the caller could add or remove key
Gets or sets encoding-type value. By default it's HttpUtils.UrlEncodingType.
Gets or sets the reqeust payer
Creates an instance with bucket name and keys. Quiet mode is true by default.
bucket name
object lists to delete
Creates an instance with bucket name, objects and quiet flag.
bucket name
object keys to delete
true: quiet mode; false: detail mode
Description of DeleteObjectVersionsResult.
The iterator of that meet the requirements in the DeleteObjectVersionsRequest.
gets or sets EncodingType
The request class of the operation to ExtendBucketWorm.
Gets the bucket name
Gets the RetentionPeriodInDays
Gets the worm id
Creates a instance of .
bucket name
RetentionPeriodInDays
wormId
The request class of the operation to sign the rtmp URL
Bucket name getter/setter
Channel name getter/setter
Playlist name getter/setter
Getter/setter of the expiration time of the signed URL.
Gets or sets query parameters
Add a query parameter
param name
param value
Creates a new instance of .
bucket name
object key
The request class of the operation to get the bucket's inventory configuration.
Gets the bucket name
Gets the inventory configuration id
Creates a new intance of .
bucket name
inventory configuration id
The result class of the operation to get bucket's policy.
The bucket's policy.
The result class of the operation to get bucket's request payment.
Gets the request payment
The result class of the operation to get bucket's storage capacity.
The bucket storage capacity.
The result class of the operation to get bucket's tagging.
The bucket tagging.
The result class of the operation to get bucket's versioning configuration.
Gets the versioning status
The result class of the operation to get bucket worm.
Set or Gets the worm id
Set or Gets the bucket worm state
Set or Gets the retention period in days
Set or Gets the creation date
The request class of the operation to get live channel history.
Gets or sets the bucket name
Gets or sets the channel name
Gets a new instance of
bucket name
live channel name
The result class of the operation to get live channel history.
The iterator of .
The request class of the operation to get live channel info.
Gets or sets the bucket name
Gets or sets the channel name
Gets a new instance of
bucket name
live channel name
The result class of the operation to get live channel info.
Gets or sets the description
Gets or sets the status
Gets or sets the type
Gets or sets the frag duration
Gets or sets the frag count
Gets or sets playlist name
The request class of the operation to get live channel stat.
Gets or sets the bucket name
Gets or sets the channel name
Gets a new instance of
bucket name
live channel name
The result class of the operation to get live channel stat.
Gets or sets the Status
Gets or sets the connected time
Gets or sets the remote address
Gets or sets the video width
Gets or sets the video height
Gets or sets the video frame rate
Gets or sets the video bandwidth
Gets or sets the video codec
Gets or sets the audio sample rate
Gets or sets the audio bandwidth
Gets or sets the audio codec
The request class of the operation to get the object ACL.
Gets or sets the bucket name
Gets or sets the object key
Gets or sets the reqeust payer
Gets or sets the version id
Delete a new instance of
bucket name
object key
The request class of the operation to get the object meta.
Gets or sets the bucket name
Gets or sets the object key
Gets or sets the reqeust payer
Gets or sets the version id
Delete a new instance of
bucket name
object key
The request class of the operation to get the object tagging.
Gets or sets the bucket name
Gets or sets the object key
Gets or sets the reqeust payer
Gets or sets the version id
Delete a new instance of
bucket name
object key
The result class of the operation to get bucket's tagging.
The bucket tagging.
Gets or sets the version id.
The request class of the operation to get the object symlink.
Gets or sets the bucket name
Gets or sets the object key
Gets or sets the reqeust payer
Gets or sets the version id
Delete a new instance of
bucket name
object key
The request class of the operation to get a vod playlist.
Gets or sets the bucket name
Gets or sets the channel name
Gets or sets the start time
Gets or sets the end time
Sets a new instance of
bucket name
live channel name
The result class of the operation to get vod's playlist.
The vod's playlist.
The result class of the operation to initiate bucket worm.
Set or Gets the worm id
The inventory filter class definition
Gets or sets the prefix value
Creates a new instance of .
the prefix that an object must have to be included in the inventory results.
Creates a new instance of .
The inventory schedule class definition
Gets or sets the frequency value.
Creates a new instance of .
how frequently inventory results are produced.
Creates a new instance of .
The inventory SSE-OSS class definition
Creates a new instance of .
The inventory SSE-KMS class definition
Gets or sets the KMS key id
Creates a new instance of .
the KMS key id used to encrypt the inventory contents.
Creates a new instance of .
The inventory encryption class definition
Gets or sets the SSE-OSS encryption.
Gets or sets the SSE-KMS encryption.
Creates a new instance of .
specifies the use of SSE-OSS to encrypt delivered inventory results.
Creates a new instance of .
specifies the use of SSE-KMS to encrypt delivered inventory results.
Creates a new instance of .
The inventory destination for OSS bucket class definition
Gets or sets the output format of the inventory results.
Gets or sets the account ID that owns the destination bucket.
Gets or sets the name of the role arn.
Gets or sets the bucket where inventory results will be published.
Gets or sets the prefix that is prepended to all inventory results.
Gets or sets the type of server-side encryption used to encrypt the inventory results.
Creates a new instance of .
The inventory destination class definition
Gets or sets the OSS bucket information.
Creates a new instance of .
The inventory configuration class definition
Gets or sets the ID used to identify the inventory configuration.
Gets or sets the status of the inventory.
If set to true, an inventory list is generated.
If set to false, no inventory list is generated.
Gets or sets the inventory filter.
The inventory only includes objects that meet the filter's criteria.
Gets or sets information about where to publish the inventory results.
Gets or sets the schedule for generating inventory results.
Gets or sets object versions to include in the inventory list.
Gets or sets the optional fields that are included in the inventory result.
The request class of the operation to initiate bucket worm.
Gets the bucket name
Gets the retention period in days
Creates a instance of .
bucket name
RetentionPeriodInDays
The request class of the operation to list the bucket's inventory configuration.
Gets the bucket name
Gets the inventory continuation token
Creates a new intance of .
bucket name
continuation token
The request class of the operation to list the live channel.
Gets or sets the bucket name
Gets or sets the live channel name prefix to list (optional)
Gets or sets the marker of the live channel name.
Gets or sets the max entries to return. By default is 100.
Creates an instance of .
bucket name
The result class of the operation to list live channel.
Gets or sets the live channel name prefix(optional).
Gets or sets the live channel name marker.Its value should be same as the ListLiveChannelRequest.Marker.
Gets or sets the max entries to return.
By default it's 100.
Gets or sets the flag of truncated. If it's true, means not all live channels have been returned.
Gets the next marker's value. Assign this value to the next call's ListLiveChannelRequest.marker.
Gets the live channel iterator.
The request class of the operation to list the summary about the versions()
Gets or sets bucket name
Gets or sets the object name prefix. The names of the returned object must be prefixed by this value.
It's optional. If it's not set, then there's no requirement on the object name.
Gets or sets the marker value. The name of returned objects must be greater than this value in lexicographic order.
Gets or sets the version id marker value.
Gets or sets the max entries to return.
By default it's 100.
Gets or sets the delimiter for grouping the returned objects based on their keys.
Gets or sets encoding-type.
Gets or sets the reqeust payer
Creates an instance of .
bucket name
Gets or sets the name
Gets or sets the name
Gets or sets the status
Gets or sets the last modified time
Gets or sets the publish url
Gets or sets the play url
Gets or sets the start time
Gets or sets the end time
Gets or sets the remote address
The object's identifier.
the object key.
the object version id.
Creates a new intance of .
object name
Creates a new intance of .
object name
the object version id
The result class of the operation to list object versions.
Gets bucket name
Gets the next key maker value for the value of in the next call.
If the result is not truncated, this value is null.
Gets the next version id maker value for the value of in the next call.
If the result is not truncated, this value is null.
Flag of truncated result.
True: the result is truncated (there's more data to list).
False: no more data in server side to return.
The object key's marker. The value comes from .
The version id's marker. The value comes from .
The max keys to list. The value comes from .
The object key's prefix. The value comes from .
The delimiter for grouping object. The value comes from .
The iterator of that meet the requirements in the ListObjectVersionsRequest.
The iterator of that meet the requirements in the ListObjectVersionsRequest.
The common prefixes in the result. The objects returned do not include the objects under these common prefixes (folders).
Creates a new instance of .
name
of a version summary information, no object data.
Gets or sets the bucket name
Gets or sets the object key.
Gets or sets the version of a object.
Gets or sets if it is the latest version of a object.
Gets or sets the ETag which is the MD5 summry in hex string of the object.
Gets or sets the size of the object in bytes.
Gets or sets the last modified time.
Gets or sets the object's storage class.
Gets or sets the object's .
Gets or sets the object's type.
Creates a new instance of .
Gets the serialization result in string.
serialization result in string
The request class of the operation to create a vod playlist.
Gets or sets the bucket name
Gets or sets the channel name
Gets or sets the playlist name
Gets or sets the start time
Gets or sets the end time
Sets a new instance of
bucket name
live channel name
The request class of the operation to process the object.
Gets or sets the bucket name
Gets or sets the object key
Gets or sets the process
Creates a new instance of
bucket name
object key
The result class of the operation to process the object.
Gets the content of result
The request class of the operation to restore an object from OSS.
Gets or sets the bucket name
Gets or sets the object key
Gets or sets the reqeust payer
Gets or sets the version id
Gets or sets the Days
Gets or sets the TierType
Creates a new instance of
bucket name
object key
Flag of using default parameters.
Specifies the compression type of the object. Valid values: None, GZIP.
Describes how a CSV-formatted input object is formatted.
Specifies the value used to separate individual records.
Specifies the value used to separate individual fields in a record.
Specifies the value used for escaping where the field delimiter is part of the value.
Specifies the comment character used in the object.
Specifies the query range. The following two query methods are supported:
Query by row: line-range=start-end
Query by split: split-range=start-end
Specifies the first line of input. Valid values: None, Ignore, Use.
Specifies whether the CSV object contains line breaks in quotation marks (")
Describes how a JSON-formatted input object is formatted.
Specifies the type of the input JSON object. Valid values: DOCUMENT, LINES.
Specifies the query range. The following two query methods are supported:
Query by row: line-range=start-end
Query by split: split-range=start-end
This parameter can only be used when the JSON Type is LINES.
Specifies whether to parse integers and floating-point numbers in a JSON object into strings.
Specifies whether to output in raw format. Default value is fasle.
Specifies whether to include a CRC-32 value for each frame.
This value is used to verify frame data.
Describes how CSV-formatted results are formatted.
Specifies the value used to separate individual records.
Specifies the value used to separate individual fields in a record.
Specifies whether to include that all columns in the CSV object.
Specifies whether to include the header information of the CSV object in the beginning of the returned.
Describes how JSON-formatted results are formatted.
Specifies the value used to separate individual records in the output.
Specifies whether to ignore rows without data.
Specifies the maximum allowed number of skipped rows.
The request class of the operation to select object.
Gets the bucket name
Gets the object key.
Gets or sets The SQL Expression.
Gets or sets the format of the data in the object that is being queried.
Gets or sets the format of the data that you want the server to return in response.
Gets or sets the options when quering the data.
Creates a new intance of .
bucket name
key
The request class of the operation to set bucket encryption configuration.
Gets bucket name
Gets server-side encryption method.
Gets the CMK id.
Creates a new instance of .
bucket name
server-side encryption method
Creates a new instance of .
bucket name
server-side encryption method
the CMK id
The request class of the operation to set the bucket Policy.
Gets the bucket policy
Gets the bucket name
Creates a instance of .
bucket name
policy text
The request class of the operation to set the bucket request payment.
Gets the bucket name
Gets the request payment
Creates a instance of .
bucket name
request payer
The request class of the operation to set the bucket storage capacity
Gets the bucket name
The bucket storage capacity
Creates a new instance of .
bucket name
storage capacity
The request class of the operation to set the bucket's tagging.
Gets the bucket name
Gets or sets the tags.
Creates a new intance of .
bucket name
Creates a new intance of .
bucket name
tag list
Adds a tag
The request class of the operation to set the bucket versioning configuration.
Gets the bucket name
Gets the versioning status
Creates a instance of .
bucket name
versioning status
The request class of the operation to create a live channel.
Gets or sets the bucket name
Gets or sets the channel name
Gets or sets the description
Gets or sets the status
Gets or sets the type
Gets or sets the frag duration
Gets or sets the frag count
Gets or sets playlist name
Gets or sets role name of snapshot
Gets or sets destination bucket of snapshot
Gets or sets notify topic of snapshot
Gets or sets interval of snapshot
Set a new instance of
bucket name
live channel name
The request class of the operation to set the live channel stauts.
Gets or sets the bucket name
Gets or sets the channel name
Gets or sets the status
Set a new instance of
bucket name
live channel name
status
The request class of the operation to set the object's tagging.
Gets the bucket name
Gets the object key.
Gets or sets the version id
Gets or sets the tagging.
Creates a new intance of .
bucket name
Adds a tag
tag
The result class of the operation to get bucket's inventory configuration.
The bucket inventory configuration.
The result class of the operation to list bucket's inventory configuration.
Gets or sets the flag of truncated.
If it's true, means not all configurations have been returned.
Gets the next continuation token.
Assign this value to the next call's ListBucketInventoryConfigurationRequest.ContinuationToken.
Gets the inventory configuration iterator.
Base class for responses that return a stream.
Disposes of all managed and unmanaged resources.
An open stream read from to get the data from OSS. In order to
use this stream without leaking the underlying resource, please
wrap access to the stream within a using block.
Check to see if Body property is set
Abstract class for Response objects, contains only metadata,
and no result information.
Returns the status code of the HTTP response.
Gets and sets the RequestId property.
ID that uniquely identifies a request. Aliyun keeps track of request IDs. If you have a question about a request, include the request ID in your correspondence.
Returns the content length of the HTTP response.
Contains additional information about the request, such as the md5 value of the object.
Gets or sets the version id.
The request class of the operation to set the bucket inventory configuration.
Gets the bucket name
Gets the inventory configuration
Creates a instance of .
bucket name
inventory configuration
Gets or sets the tag key
Gets or sets the tag value
The worm state of a bucket
The output format of the inventory results
How frequently inventory results are produced
Object versions to include in the inventory list
All, the list includes all the object versions, which adds the version-related fields VersionId , IsLatest , and DeleteMarker to the list
Current, the list does not contain these version-related fields.
The optional fields that are included in the inventory results
Disaster recovery of OSS Bucket
The enum of who pays the request fees
supported signature version definition. V1 is the default one.
V1
V4
The mode of restoring an object
The enum of versioning status
OSS bucket versioning status indicating that versioning is off for a
bucket. By default, all buckets start off with versioning off. Once you
enable versioning for a bucket, you can never set the status back to
Off". You can only suspend versioning on a bucket once you've enabled.
OSS bucket versioning status indicating that versioning is enabled for a
bucket.
OSS bucket versioning status indicating that versioning is suspended for a
bucket. Use the "Suspended" status when you want to disable versioning on
a bucket that has versioning enabled.
The constructor takes the number of
currently transferred bytes and the
total number of bytes to be transferred
The number of bytes transferred since last event
The number of bytes transferred
The total number of bytes to be transferred
Gets the percentage of transfer completed
Gets the number of bytes transferred since last event
Gets the number of bytes transferred
Gets the total number of bytes to be transferred
Returns a string representation of this object
The request which is used to append data into an object (existing or non-existing)
Bucket name getter/setter.
Object key getter/setter
Object metadata getter/setter
Position getter/setter. The position is the start index for the appending.
Initially it could be the length of the object (length could be got from the GetObjectmeta). Then it could be got from the previous result of AppendObjectRequest.
Gets or sets the init crc.
The init crc.
The content to append
Progress callback getter and setter
Gets or sets the reqeust payer
Gets or sets the traffic limit, the unit is bit/s
Creates a new instance of
bucket name
object key
The result class for appending operation.
ETag getter/setter. ETag is calculated in the OSS server side by using the 128bit MD5 result on the object content. It's the hex string.
The next append position
The CRC value of the object. It's calculated by ECMA-182.
Gets or sets the version id.
The request class of the operation to put an object to OSS.
Gets or sets the bucket name
Gets or sets the object key
Gets or sets object content stream
Gets or sets a value indicating whether this use chunked encoding.
true if use chunked encoding; otherwise, false.
Gets or sets the transfer progress callback
Gets or sets the object metadata.
Gets or sets the process method.The result will be in .
Gets or sets the reqeust payer
Gets or sets the traffic limit, the unit is bit/s
Gets or sets the storage class for object
Creates a new instance of
bucket name
object key
content to upload
Creates a new instance of
bucket name
object key
content to upload
metadata to set
Puts the object result.
Bucket name.
Key.
Content.
Metadata.
If set to true use chunked encoding.
Returns true if the request has the Process property or has the callback in metadata.
Returns true if the request has the callback in Metadata property.
The request class of the operation to set the object ACL.
Gets the bucket name
Gets the object key.
Gets the ACL.
Gets or sets the reqeust payer
Gets or sets the version id
Creates a new instance of .
bucket name
object key
access control list
OSS object's metadata, which is the collection of 'key,value' pair.
It includes user's custom metadata, as well as standard HTTP headers such as Content-Length, ETag, etc.
256 bit ASE encryption algorithm.
Gets the user's custom metadata.
In OSS server side, it will add "x-oss-meta-" as the prefix for the keys of custom metadata.
However, here the key in UserMetadata should not include "x-oss-meta-".
And the key is case insensitive--in fact all the keys returned from server will be in lowercase anyway.
For example, for a key MyUserMeta, it will be myusermeta from the result of GetObjectMetadata().
Gets HTTP standard headers and their values.
Gets or sets the last modified timestamp of the OSS object.
Gets or sets the expiration time of the object.
Gets or sets the content length of the object.
Gets or sets the content type of the objeft. It's the standard MIME type.
Gets or sets the content encoding of the object.
Gets or sets the value of HTTP Cache-Control header.
Gets or sets the value of HTTP Content-Disposition header.
Gets or sets the value of HTTP ETag header. Note that this is set by OSS server.
To set the Content-MD5 value, use HTTP COntent-MD5 header instead.
Gets or sets the HTTP Content-MD5 header, which is the MD5 summary in Hex string of the object.
Gets or sets the crc64.
The crc64.
Gets or sets the server side encryption algorithm. Only AES256 is support for now.
Gets the object type (Normal or Appendable)
Gets the object version id
Creates a new instance of .
Adds one HTTP header and its value.
header name
header value
Populates the request header dictionary with the metdata and user metadata.
Populates the request header dictionary with the metdata and user metadata.
Get the flag which indicates if the metadata specifies the callback.
The metadata object to check
Serialize an object of type TRequest to XML stream.
Deserialize an object of type T from XML stream.
Deserialize an object of type T, then close the underlying stream.
TryParseEnum does not exist in .net 2.0. But we need to support .net 2.0
The string value to parse from.
The parsed value
True: the parse succeeds; False: the parse fails
The implementation of
that represents the status of an async operation.
Gets a user-defined object that qualifies or contains information about an asynchronous operation.
Gets a that is used to wait for an asynchronous operation to complete.
Gets a value that indicates whether the asynchronous operation completed synchronously.
Gets a value that indicates whether the asynchronous operation has completed.
Initializes an instance of .
The callback method when the async operation completes.
A user-defined object that qualifies or contains information about an asynchronous operation.
Completes the async operation with an exception.
Exception from the async operation.
When called in the dervied classes, wait for completion.
It throws exception if the async operation ends with an exception.
When called in the derived classes, notify operation completion
by setting and calling the user callback.
Disposes the object and release resource.
When overrided in the derived classes, release resources.
Whether the method is called
Represents the status of an async operation.
It also holds the result of the operation.
Type of the operation result.
The result of the async operation.
Initializes an instance of .
The callback method when the async operation completes.
A user-defined object that qualifies or contains information about an asynchronous operation.
Gets result and release resources.
The instance of result.
Sets result and notify completion.
The instance of result.
Callback body's format type. The OSS will issue a post request to the callback url with the data specified in the request's callbackbody header.
OSS does not validate the data sent to callback url.
Url encoded.
Json encoded
The callback header's builder
Gets or sets the callback url such as “http://callback.oss.demo.com:9000”
Gets or sets the callback host.By default it's
Gets or sets the callback body.
Gets or sets the callback body type.
Creates a new instance of
callback url
callback body
Creates a new instance of
callback url
callback host
callback body
callback body type
Builds the callback header.
the callback header
The callback variable header builder.
Gets the callback variable dictionary.
The custom parameter's key must start with "x:" and be in lowercase.
Adds the callback variable
the custom variable, must start with "x:"
the value of the custom variable.
Builds the callback variables' header value
The callback variables' header value
Format an instance of to a GMT format string.
Format a GMT format string to an instance of .
Format an instance of to string in iso-8601 format.
Format a iso-8601 format string to an instance of .
Format an instance of to string in unix time format.
The equvalent delegate of .Net4.0's System.Func. This is to make this code compatible with .Net 2.0
The equvalent delegate of .Net 4.0's System.Action.
Some common utility methods and constants
Max normal file size: 5G
Max prefix length
Marker's max length.
Max delimiter length.
Max keys to return in one call.
Max objects to delete in multiple object deletion call.
Max CORS rule count per bucket
Max lifecycle rule count per bucket.
Max object key's length.
Max part number's upper limit.
Default part size.
Minimal part size in multipart upload or copy.
Max file path length.
Min file path
Check if the bucket name is valid,.
bucket name
true:valid bucket name
validates the object key
object key
true:valid object key
validates the object key
object key
flag
true:valid object key
checks if the endpoint is in IP format.
endpoint to check
true: the endpoint is ip.
Applies the Url encoding on the key
the object key to encode
The encoded key
Trims quotes in the ETag
The Etag to trim
The Etag without the quotes
Compute the MD5 on the input stream with the given size.
The input stream
the part size---it could be less than the stream size
MD5 digest value
Computes the content crc64.
The content crc64.
Input.
stream length
Checks if the webpage url is valid.
The wenpage url to check
true: the url is valid.
Checks if the logging prefix is valid.
The logging prefix to check
true:valid logging prefix
Sets up the progress listeners
The content stream
The length of originalStream
The length which has read
The interval at which progress needs to be published
The objects which is trigerring the progress changes
The callback which will be invoked when the progress changed event is trigerred
an object, incase the progress is setup, else returns the original stream
Calls a specific EventHandler in a background thread
Return the CRC-64 of two sequential blocks, where summ1 is the CRC-64 of the
first block, summ2 is the CRC-64 of the second block, and len2 is the length
of the second block.
The combined crc
Crc1.
Crc2.
Len2.
Lifecycle rule status
Enable the rule
Disable the rule
Lifecycle rule definition class, which represents one rule of Lifecycle
Gets or sets the rule Id
Gets or sets the prefix of the files the rule applied to.
If it's null, then the rule is applied to the whole bucket.
The rule status
The expiration days.
The expiration time.
Gets or sets the created before date.
The created before date.
Gets or sets the expired object delete marker.
The expired object delete marker.
Gets or sets the transition.
The transition.
Gets or sets the abort multipart upload.
The abort multipart upload.
Gets or sets the object tags.
The object tags.
Gets or sets the noncurrent version expiration.
The noncurrent version expiration.
Gets or sets the noncurrent version transition.
The noncurrent version transition.
Gets or sets the fitler.
fitler.
Determines whether the specified is equal to the current .
The to compare with the current .
true if the specified is equal to the current
; otherwise, false.
Validate this instance.
The validate result.
Life cycle expiration.
Gets or sets the days.
The days.
Gets or sets the expiration time.
The expiration time.
Validate this instance.
The validate result.
Life cycle transition.
Gets or sets the life cycle expiration.
The life cycle expiration.
Gets or sets the storage class.
The storage class.
Gets or sets the IsAccessTime.
IsAccessTime.
Gets or sets the ReturnToStdWhenVisit.
ReturnToStdWhenVisit.
Gets or sets the AllowSmallFile.
AllowSmallFile.
Determines whether the specified is equal to
the current .
The to compare with the current .
true if the specified is equal to the
current ; otherwise, false.
Life cycle noncurrent version expiration.
Gets or sets the noncurrent days.
The noncurrent days.
Life cycle noncurrent version transition.
Gets or sets the noncurrent days.
The noncurrent days.
Gets or sets the storage class.
The storage class.
Gets or sets the IsAccessTime.
IsAccessTime.
Gets or sets the ReturnToStdWhenVisit.
ReturnToStdWhenVisit.
Gets or sets the AllowSmallFile.
AllowSmallFile.
Life cycle Not.
Gets or sets the Prefixs.
Prefix.
Gets or sets the Tag.
Tag.
Life cycle Filter.
Gets or sets the Not.
Not.
Gets or sets the ObjectSizeLessThan.
ObjectSizeLessThan.
Gets or sets the ObjectSizeLessThan.
ObjectSizeLessThan.
The result class of the operation to list buckets.
Gets or sets the bucket name prefix(optional).
Gets or sets the bucket name marker.Its value should be same as the ListBucketsRequest.Marker.
Gets or sets the max entries to return.
By default it's 100.
Gets or sets the flag of truncated. If it's true, means not all buckets have been returned.
Gets the next marker's value. Assign this value to the next call's ListBucketRequest.marker.
Gets the bucket iterator.
The request class of the operation to list of the current account.
Gets or sets the bucket name prefix to list (optional)
Gets or sets the marker of the bucket name. The buckets to return whose names are greater than this value in lexicographic order.
Gets or sets the max entries to return. By default is 100.
Gets or sets the bucket tag
The match mode enum
Unknown
Exactly match
Match the prefix only
Match the size range. For example, the policy could be applied the files of size between 1KB to 4KB.
Tuplre type enum.!-- Currently only two tuple {key:value} and three tuple type (tuple1,tuple2,tuple3) are supported.
The abstract Condition Item.
EqualConditionItem definition
StartwithConditionItem definition.
Content size's RangeConditionItem definition.
Conditions list. It specifies all valid fields in the post form.
Content length range
The cache control behavior for downloading files
Content types defined in RFC2616
Content disposition behavior
The content encoding
Expiration time
object key
redirect upon success
The action status upon success
The custom metadata prefix
Adds a condition item with exact MatchMode
Condition name
Condition value
Adds a condition item with specified MatchMode
Conditions match mode
Condition name
Condition value
Adds a condition with range match mode.
Condition name
Range's low end
Range's high end
The request class of the operation to set the bucket's lifecycle configuration.
Gets the bucket name
Gets or sets the Lifecycle rule list.Each bucket can have up to 1000 rules.
Creates a new intance of .
bucket name
Adds a LifeCycle rule
supported protocol definition. HTTP is the default one.
HTTP
HTTPs
The request of the operation to set bucket referer.
Gets the bucket name.
Gets the flag of allowing empty referer.
Gets the referer list.
Creates the instance of SetBucketRefererRequest
bucket name
Creates the instance of .
bucket name
referer list
Creates the instance of .
bucket name
referer list
allowEmptyReferer flag
Clears the referer list.
The request class of the operation to delete multiple objects in OSS.
Gets or sets the bucket name
Gets quiet mode flag. By default it's true;
Returns the keys list where the caller could add or remove key
Gets or sets encoding-type value. By default it's HttpUtils.UrlEncodingType.
Gets or sets the reqeust payer
Creates an instance with bucket name and keys. Quiet mode is true by default.
bucket name
object lists to delete
Creates an instance with bucket name, keys and quiet flag.
bucket name
object keys to delete
true: quiet mode; false: detail mode
Description of DeleteObjectsResult.
gets or sets deleted keys
gets or sets EncodingType
Deleted object class. Key is its only property.
Gets or sets deleted key
The request class of the operation to set the bucket ACL.
Gets the bucket name
Gets the ACL
Creates a instance of .
bucket name
user acl
The request class of the operation to upload the source object as a part of the target object.
Gets the target bucket name
Gets the target key
Gets the upload Id.
Gets or sets the part number.
Every part upload will have a part number (from 1 to 10000).
For a given upload id, the part number is the Id of the part and determine the position of the part in the whole file.
If the same part number is uploaded with new data, the original data will be overwritten.
Gets or sets the part size
Except the last part, other parts' size should be at least 5MB.
Gets or sets the MD5 checksum for the part's data.
Gets or sets the source object key.
Gets or sets the source bucket
Gets or sets the beginning index of the source object to copy from.
Gets the constraints of matching ETag. If the source object's ETag matches any one in the list, the copy will be proceeded.
Otherwise returns error code 412 (precondition failed).
Gets the constraints of non-matching ETag. If the source object's ETag does not match any one in the list, the copy will be proceeded.
Otherwise returns error code 412 (precondition failed).
Gets or sets the constraints of unmodified timestamp threshold. If the value is same or greater than the actual last modified time, proceed the copy.
Otherwise returns 412 (precondition failed).
Gets or sets the constraints of modified timestamp threshold. If the value is smaller than the actual last modified time, proceed the copy.
Otherwise returns 412 (precondition failed).
Gets or sets the reqeust payer
Gets or sets the traffic limit, the unit is bit/s
Gets or sets the version id
The result class of the operation to upload a source file as the target object's one part.
The ETag of the source object
The part number of the target object
Gets or sets the crc64.
The crc64.
Gets or sets the length.
The length.
Gets the wrapper class of the part number and ETag.
Gets or sets the copy source version id.
The request to abort a multipart upload. It specifies all parameters needed for the operation.
Gets 's name.
getter
UploadId getter
Gets or sets the reqeust payer
Creates a new intance with bucket name, object key and upload Id.
bucket name
object name
Upload Id to cancel. It could be got from
The class defines "Access control list"(ACL).
It contains a list of instances, each specifies a and
a .
Gets the iterator of list.
Owner getter and setter
ACL getter or setter
Constructor.
Grants permission to a instance with specified .
Currently the supported grantee is .
The grantee
The permission
Revoke all permissions on a specific grantee.
@param grantee
The grantee, currently only is supported.
Invoke the instance's all permissions.
The grantee instanc
Return the string that has the owner and ACL list information.
The serialized information in a string
Bucket is the OSS namespace, which could be thought as storage space.
Bucket is globally unique across the whole OSS and is immutable. Every object must be stored at one and only one bucket.
An application, such as picture sharing website, could have one or more bucket. And each account could only create up to 10 buckets.
But in every bucket, there's no limit in terms of data size and object count.
Bucket naming rules
- Can only have lowercase letter, number or dash (-)
- Can only start with lowercase letter or number
- The length must be between 3 and 63
Bucket location getter/setter
Bucket name getter/setter
Bucket getter/setter
Bucket creation time getter/setter
Creats a new instance with the specified name.
Bucket name
Returns the bucket's serialization information in string.
The serialization information in string
The result class of the operation to get bucket logging config
Target bucket.
Target logging file's prefix. If it's empty, the OSS system will name the file instead.
The result class of the operation to get bucket's static website config.
The index page for the static website.
The error page for the static website.
The enum of canned access control list.
This is a quick way to grant permissions to all users
Private read and write.
Public read, private write.
public read or write---everyone can read and write the data.
Default permission, inherits from the bucket.
The request class of operation to complete a multipart upload
Bucket name getter/setter
Object key getter/setter
Upload Id's getter/setter.
list getter.
getter/setter
Gets or sets the reqeust payer
Creates a instance by bucket name, object key and upload Id.
bucket name
object key
Upload Id, which is got from
Flag of containing the http body in the response.
Flag of containing the callback parameters in the request.
The result class of operation to complete a multipart upload.
Bucket name getter/setter
Object key's getter/setter.
The new object' URL
The request class of the operation to copy an existing object to another one. The destination object could be a non-existing or existing object.
Source bucket name's getter/setter.
Source object key's getter/setter.
Destination bucket name's getter/setter.
Destination object key's getter/setter.
Destination object's metadata getter/setter
ETag maching contraints---that is for the copy operation to execute, the source object's ETag must match one of the ETags in this property.
If not, return 412 as HTTP code (precondition failed)
ETag non-matching contraints---that is for the copy operation to execute, the source object's ETag must not match any of the ETags in this property.
If matches any, return 412 as HTTP code (precondition failed)
Unmodified timestamp threshold----that is for the copy operation to execute, the file's last modified time must be smaller than this property;
Otherwise return 412 as HTTP code (precondition failed)
Modified timestamp threshold----that is for the copy operation to execute, the file's last modified time must be same or greater than this property;
Otherwise return 412 as HTTP code (precondition failed)
Gets or sets the reqeust payer
Gets or sets the traffic limit, the unit is bit/s
Gets or sets the source key version id
Creates a new instance
source object's bucket name
source object key
destination object's bucket name
destination object key
Result class for the copy object operation.
Last modified timestamp getter/setter
New object's ETag
Gets or sets the version id.
Gets or sets the copy source version id.
Defining a cross origin resource sharing rule
Allowed origins. One origin could contain at most one wildcard (*).
Allowed HTTP Method. Valid values are GET,PUT,DELETE,POST,HEAD.
This property is to specify the value of Access-Control-Allow-Methods header in the preflight response.
It means the allowed methods in the actual CORS request.
Get or set Allowed Headers.
This property is to specify the value of Access-Control-Allowed-Headers in the preflight response.
It defines the allowed headers in the actual CORS request.
Each allowed header can have up to one wildcard (*).
Get or set exposed headers in the CORS response. Wildcard(*) is not allowed.
This property is to specify the value of Access-Control-Expose-Headers in the preflight response.
HTTP Access-Control-Max-Age's getter and setter, in seconds.
The Access-Control-Max-Age header indicates how long the results of a preflight request (OPTIONS) can be cached in a preflight result cache.
The max value is 999999999.
Adds one allowed origin.
Allowed origin
Adds one allowed HTTP method
allowed http method, such as GET,PUT,DELETE,POST,HEAD
Adds a allowed header.
allowed header
adds an expose header.
an expose-header
Gets the wildcard count from the parameter items.
items to count wildcard from
wildcard count
Checks if a method is allowed.
the http method to check
True:the method is allowed; False: The method is not allowed
The request class of the operation to sign the URL
HTTP method getter/setter.
Bucket name getter/setter
Object key getter/setter
Getter/setter of the target file's content-type header.
Getter/setter of the target file's MD5.
Note that the setter should only be called by the SDK internally.
Getter/setter of the expiration time of the signed URL.
Process getter/setter.
Process is specific to image files on which a specific operation (such as resize, sharpen,etc ) could be applied.
Callback getter/setter, encoded in base64
Callback parameters, in base64
ResponseHeaders getter/setter
Response headers is to ask OSS service to return these headers (and their values) in the response.
Gets or sets the UserMetadata dictionary.
The SDK will automatically add the x-oss-meta- as the prefix of the metadata.
So the key in this property should not include x-oss-meta- prefix anymore.
Gets or sets query parameters
Add a user metadata
The metaItem should not start with 'x-oss-meta-'.
meta name
value of the metaItem
Add a query parameter
param name
param value
Creates a new instance of .
bucket name
object key
Creates a instance.
bucket name
object key
http method
The request class for getting object from OSS.
Gets or sets name.
Gets or sets key
Gets range to read
Calls to set. If it's not set, returns null.
Gets or sets 's process method (such as resize, sharpen, etc)
Gets or sets "If-Unmodified-Since" parameter
It means if its value is same or later than the actual last modified time, the file will be downloaded.
Otherwise, return precondition failed (412).
Gets or sets "If-Modified-Since".
It means if its value is smaller the actual last modified time, the file will be downloaded.
Otherwise, return precondition failed (412).
Gets or sets the progress callback
Gets the ETag matching constraint list. If the actual ETag matches any one in the constraint list, the file will be downloaded.
Otherwise, returns precondition failed.
The corresponding http header is "If-Match".
Gets the ETag non-matching constraint list. If the actual ETag does not match any one in the constraint list, the file will be downloaded.
Otherwise, returns precondition failed.
The corresponding http header is "If-None-Match".
Gets the overrided response headers.
Gets or sets the reqeust payer
Gets or sets the traffic limit, the unit is bit/s
Gets or sets the version id
Creates a new instance of .
bucket name
object key
Creates a new instance of .
bucket name
object key name
The process method for image file in OSS
Sets the read range of the target object (optional).
It follows the HTTP header "Range"'s semantic
The start value in the range.
If the value is non-negative, it means the start index of the object to read.
If the value is -1, it means the start index is determined by end parameter and thus the end parameter must not be -1.
For example, if the end is 100, then the start is bytes=-100 (bytes is the total length of the object). It means to read the last 100 bytes of the object.
The end value of the range. And it must be smaller than the total length of the object.
If the value is non-negative, it means the end index of the object to read.
If the value is -1, it means the end is the object's last byte and start must not be -1.
For example, if the start is 99 and end is -1, it means to read the whole object except the first 99 bytes.
Populate the http headers according to the properties of this object.
The generated http headers
The access control grant class definition
The grantee instance
The granted permission
Creates a new instance of .
the grantee instance----cannot be null
the permission instance
Checks if two instances equal.
The other grant instance to compare with
Gets the hash code
hash code
It defines a group of user that could be granted with permission.
The grantee's identifier.
Only supports gets operation. Calling the setter will trigger .
AllUsers means the or could be accessed by anonymous users.
That is all users could access the resource.
Sets the identifier.
the grantee's Id
Checks if two instances equal
The other instance to compare with
Gets the hash code.
hash code
The interface for the grantee entity
Gets or sets the grantee entity's identifier.
The request class of the operation to initiate a multipart upload
Gets or sets the bucket name to upload files to.
Gets or sets the target key.
Gets or sets the encoding-type value
Gets or sets
Gets or sets the reqeust payer
Creates a new instance of .
bucket name
object key
Creates a new instance of .
bucket name
object key
Object's
The result class of the operation to initiate a multipart upload.
Gets or sets bucket name
Gets or sets the object key
Gets or sets the upload Id
The Object Storage Service (OSS) entry point interface.
OSS is the highly scalable, secure, inexpensive and reliable cloud storage service.
This interface is to access all the functionality OSS provides.
The same functionality could be done in web console.
Multimedia sharing web app, network disk, or enterprise data backup app could be easily built based on OSS.
OSS website:http://www.aliyun.com/product/oss
Switches the user credentials
The credential instance
Sets the endpoint
Endpoint value
Creates a new bucket
The bucket name. It must be globably unique.
instance
Creates the bucket with specified storage class.
The bucket.
Bucket name.
Storage class.
Creates a bucket
The bucket.
Deletes a empty bucket.If the bucket is not empty, this will fail.
The bucket name to delete
List all buckets under the current account.
All instances
Lists all buckets according to the ListBucketsRequest, which could have filters by prefix, marker, etc.
instance
instance
Gets the bucket information.
The bucket information.
Bucket name.
Gets the bucket stat.
The bucket stat.
Bucket name.
Sets the bucket ACL
name
instance
Sets the bucket ACL
Gets the bucket ACL
name
Bucket ACL instance
Gets the bucket location
bucket name
bucket location
Gets the bucket metadata
bucket name
metadata
Sets the CORS rules for the
Gets the CORS rules.
bucket name
CORS rules
Deletes the CORS rules on the
name
Sets logging config
OSS will log the access information on this bucket, according to the logging config
The hourly log file will be stored in the target bucket.
Gets the bucket logging config
name
The logging config result
Deletes the logging config
name
Sets static website config
instance
Gets static website config
name
instance
Deletes the static website config
的名称。
Sets the referer config
The requests that contains the Referer whitelist
Gets the referer config
name
Referer config
Sets lifecycle rule
the instance
Deletes the bucket's all lifecycle rules.
Bucket name.
Gets lifecycle instance.
bucket name
Lifecycle list
Sets storage capacity
instance
Gets storage capacity
name
instance
Checks if the bucket exists
name
True when the bucket exists under the current user;
Otherwise returns false.
Sets policy
instance
Gets policy
name
instance
Deletes policy.
Bucket name.
Sets bucket tagging
instance
Deletes the bucket's tagging.
Bucket name.
Deletes the bucket's tagging.
DeleteBucketTaggingRequest.
Gets bucket tagging
name
instance
Sets bucket request payment
instance
Gets bucket request payment
name
Sets bucket encryption rule
instance
Deletes bucket encryption rule
Bucket name.
Gets bucket encryption rule
name
instance
Sets bucket versioning
instance
Gets bucket versioning
name
instance
Sets bucket inventory configuration
instance
Deletes bucket inventory configuration
instance
Gets bucket inventory configuration
instance
instance
Gets bucket inventory configuration
instance
instance
InitiateBucketWorm
instance
instance
Gets AbortBucketWorm
Bucket name.
CompleteBucketWorm
instance
ExtendBucketWorm
instance
GetBucketWormResult
Bucket name.
instance
Lists all objects under the
name
list
Begins the async call to list objects.The returned object is type of OssObjectSummary.
name
list
callback when the list is done
state object in the callback
IAsyncResult instance.
Lists object with specified prefix
name
prefix
instances list
Begins the async call to list objects under the specified bucket and prefix
The returned object is type of OssObjectSummary.
name
prefix
list
callback instance
callback state
IAsyncResult instance
Lists objects according to the ListObjectsRequest.
The returned object is type of OssObjectSummary.
instance
list
Begins the async call to list objects under the specified with specified filters in
instance
list
callback instance
callback state object
Ends the async call of listing objects.
The asyncResult instance returned by BeginListObjects call
instance
Lists object vesions according to the ListObjectVersionsRequest.
The returned object is type of OssObjectSummary.
instance
list
Puts object to the specified bucket with specified object key.
specified bucket name
instance
Begins the async call of uploading object to specified bucket.
target name
callback instance
callback state
The IAsyncResult instance for EndPutObject()
Uploads the content to object under the specified bucket and object key.
name
metadata
instance
Upload a according to .
instance
instance
Begins the async call to upload object
name
metadata
callback instance
callback state
IAsyncResult instance for EndPutObject()
Begins the async call to upload object
instance
callback object
state object
IAsyncResult instance for EndPutObject()
Uploads a local file to OSS under the specified bucket
name
local file path to upload
instance
Begins the async call to upload local file to OSS under the specified bucket.
name
local file path to upload
callback instance
callback state
IAyncResult instance
Uploads a local file with specified metadata to OSS.
name
local file path
metadata
instance
Begins the async call to upload object with specified metadata.
name
local file to upload
metadata
callback instance
callback state
IAsyncResult instance for EndPutObject
Ends the async call to upload the object.
When it's called, the actual upload has already been done.
IAsyncResult instance
instance
Deprecated method.Please use ResumableUploadObject.
Uploads the specified file with optional part size.
If the file size is not bigger than the part size, then use normal file upload.
Otherwise use multipart upload.
bucket name
target object key
local file path to upload
metadata
Part size.If it's not specified, then use .
If the part size is less than , it will be changed to automatically.
instance
Deprecated method. Use ResumableUploadObject instead.
Upload the specified file to OSS.
If the file size is same or less than the part size, use normal file upload instead.
Otherwise it will use multipart file upload.
name
metadata
Part size. If it's not specified or the value is less than ,
then use instead.
instance
Uploads the file via the signed url.
Signed url
File to upload
instance
Uploads the instream via the signed url.
Signed url
content stream
instance
Uploads the file via the signed url with the metadata.
The signed url
Local file path
instance
metadata
Uploads the stream via the signed url with the metadata.
Signed url
content stream
instance
metadata
Resumable file upload. It automaticlly uses multipart upload upon big file and also support resume upload after a failed upload.
instance
instance
file to upload
metadata
Check point dir. If it's not specified, then no checkpoint file is saved and thus resumable file upload is not supported.
Part size. If it's not specified, or the size is smaller than
then is used instead.
instance
Resumable file upload. It automaticlly uses multipart upload upon big file and also support resume upload after a failed upload.
name
. Content is disposed after the call finishes.
metadata
Check point dir. If it's not specified, then no checkpoint file is saved and thus resumable file upload is not supported.
Part size. If it's not specified, or the size is smaller than
then is used instead.
instance
Resumables the upload object.
The request.UploadStream will be disposed once the call finishes.
The upload object.
Upload Request.
Appends object to OSS according to the
instance
result
Begins the async call to append object to OSS.
instance
callback instance
state object
IAsyncResut instance for EndAppendObject call
Ends the async call to append object to OSS. WHen it's called, the actual upload has been done.
The IAsyncResult instance returned from BeginAppendObjet
instance
Creates the symlink of the target object
Bucket name.
Symlink.
Target.
instance
Creates the symlink of the target object
Create symlink request.
instance
Gets the target file of the symlink.
Bucket name.
Symlink
OssSymlink object
Gets the target file of the symlink.
Get symlink request.
OssSymlink object
Gets object
bucket name
instance
Gets object via signed url
The signed url of HTTP GET method
instance
Gets object via the bucket name and key name in the instance.
The request parameter
instance. The caller needs to dispose the object.
Begins the async call to get object according to the instance.
request parameter
callback instance
callback state
IAsyncResult instance for EndGetObject()
Begins the async call to get object by the bucket and key information.
bucket name
object key
callback instance
state instance
ISyncResult instance
Ends the async call to get the object.
The AsyncResult instance returned from BeginGetObject()
instance
Gets the object and assign the data to the stream.
request parameter
output stream
metadata
Download a file.
Internally it may use multipart download in case the file is big
The metadata object
DownloadObjectRequest instance
Gets metadata.
name
metadata
Gets metadata.
GetObjectMetadataRequest instance
metadata
Gets metadata.
GetObjectMetadataRequest instance
metadata
Deletes
name
instance
Deletes
the request parameter
instance
Deletes multiple objects
the request parameter
delete object result
Deletes multiple objects with version id
the request parameter
delete object result
copy an object to another one in OSS.
The request parameter
copy object result
Begins the async call to copy an object
the request parameter
callback instance
callback state
The IAsyncResult instance for EndCopyObject()
Ends the async call to copy an object.
The IAsyncResult instance returned from BeginCopyObject()
instance
Deprecated. Use ResumableCopyObject instead.
Copy the specified file with optional checkpoint support.
the request parameter
part size. If the part size is not specified, or less than ,
will be used instead.
The checkpoint file folder. If it's not specified, checkpoint information is not stored and resumnable upload will not be supported in this case.
instance.
Resumable object copy.
If the file size is less than part size, normal file upload is used; otherwise multipart upload is used.
request parameter
checkpoint file folder
The part size.
instance
Modify the object metadata.
name
new metadata
check point folder. It must be specified to store the checkpoint information
Part size, it's no less than
Checks if the object exists
name
true:object exists;false:otherwise
Sets the object ACL
name
key
instance
Sets the object ACL
Gets the object ACL
name
instance
Gets the object ACL
Restores the object.
The object.
Bucket name.
Key.
Restores the object.
The object.
Sets the object tagging
instance
Gets the object tagging
name
instance
Gets the object tagging
instance
instance
Deletes object tagging
name
Deletes the object tagging
instance
Gets the contents of a object based on a SQL statement.
instance
Creates the meta of a select object
instance
Processes the object
instance
instance
Generates a signed url
request parameter
The signed url. The user could use this url to access the object directly
Generates the signed url with default expiration time (15 min) that supports HTTP GET method.
Bucket name
Object key
Signed uri
Generates the pre-signed GET url with specified expiration time
Bucket name
Object key
Uri expiration time
signed url
Generates the pre-signed url with specified expiration time that supports the specified HTTP method
Bucket name
Object key
HTTP method
signed url
Generates the presigned url with specified method and specified expiration time.
Bucket name
Object key
Uri expiration time
HTTP method
signed url
Generates the post policy
policy expiration time
policy conditions
policy string
Lists ongoing multipart uploads
request parameter
instance
Initiate a multipart upload
request parameter
instance
Aborts a multipart upload
request parameter
Uploads a part
request parameter
instance
Begins the async call to upload a part
request parameter
callback instance
callback state
IAsyncResult instance for EndUploadPart()
Ends the async call to upload a part.
IAsyncResult instance returned from BeginUploadPart()
instance
Copy an existing object as one part of a multipart upload.
request parameter
instance
Begins the async call to copy an existing object as one part of a multipart upload.
request parameter
callback instance
callback state
IAsyncResult instance for EndUploadPartCopy()
Ends the async call to copy an existing object as one part of a multipart upload.
IAsyncResult instance
The upload result
Lists successfully uploaded parts of a specific upload id
request parameter
instance
Completes a multipart upload.
the request parameter
instance
Creates a live channel
instance
instance
Lists live channels
instance
instance
Deletes a live channel
instance
Sets the live channel status
instance
Gets the live channel information
instance
instance
Gets the live channel status
instance
instance
Gets the live channel history
instance
instance
Creates a vod playlist
instance
Gets a vod playlist
instance
instance
Generates a rtmp signed url
instance
The signed url. The user could use this url to push stream directly
The request class of the operation to list ongoing multipart uploads.
Gets the bucket name that these multipart uploads belong to.
Gets or sets the delimiter for grouping the result.
Gets or sets the max entries to list.
By default it's 1000. The max value is 1000.
Gets or sets the key marker.
The key marker and upload id marker filter the multipart uploads to return.
If the upload-id-marker is not set, then the returned uploads whose target object name are greater than key-marker.
If the uploader-id-marker is set, then beside the target object's requirement above, the returned uploads Ids must be greater than the upliad-id-marker.
Gets or sets the target object's prefix of these multipart uploads.
Gets or sets upload-id-marker.
The key marker and upload id marker filter the multipart uploads to return.
If the key-marker is not set, the upload-id-marker is ignored by OSS.
If the key marker is set, then:
All target objects' name must be greater than key-marker value in lexicographic order.
And all the Upload IDs returned must be greater than upload-id-marker.
Gets or sets encoding-type value.
Gets or sets the reqeust payer
Creates an instance of .
bucket name
The request class of the operation to list objects' summary()
Gets or sets bucket name
Gets or sets the object name prefix. The names of the returned object must be prefixed by this value.
It's optional. If it's not set, then there's no requirement on the object name.
Gets or sets the marker value. The name of returned objects must be greater than this value in lexicographic order.
Gets or sets the max entries to return.
By default it's 100.
Gets or sets the delimiter for grouping the returned objects based on their keys.
Gets or sets encoding-type.
Gets or sets the reqeust payer
Creates an instance of .
bucket name
The request class of operation to list parts of a ongoing multipart upload.
Gets or sets the bucket name
Gets or sets the target object key
Gets or sets the max parts to return.
Gets or sets the part number marker. It will only list the parts whose numbers are greater than the property.
Gets encoding-type.
Gets UploadId.
Gets or sets the reqeust payer
Creates an instance of .
bucket name
target object key
upload Id
Referer Configuration
Flag of allowing empty referer
Gets or sets the referer list
referer list model
referer list
The mutipart upload class definition.
Gets or sets the target object's key.
Gets or sets the upload Id.
Gets or sets the target object's storage class.
The initiated timestamp of the multipart upload.
Gets the serialization string
the serilization string
The result class of the operation to list ongoing multipart uploads.
bucket name
The key marker from .
The delimiter from
The prefix from
The upload Id marker from .
The max upload count from
The flag which indciates if there's more data to return in OSS server side.
“true” means there's more data to return.
“false” means no more data to return.
Gets the next key marker value. If the IsTruncated is true, this could be the next list call's KeyMarker value.
Gets the next upload id marker value. If the IsTruncated is true, this value could be the next list call's UploadIdMarker value.
The iterator of all multipart upload returned.
Gets all the common prefixes (which could be thought as virtual 'folder').
Creates a new instance of .
bucket name
Adds a instance---internal only.
a multipart upload instance
Adds a prefix---internal only.
The prefix
The result class of the operation to list objects.
Gets bucket name
Gets the next maker value for the value of in the next call.
If the result is not truncated, this value is null.
Obsolete property.
Flag of truncated result.
True: the result is truncated (there's more data to list).
False: no more data in server side to return.
The object key's marker. The value comes from .
The max keys to list. The value comes from .
The object key's prefix. The value comes from .
The delimiter for grouping object. The value comes from .
The iterator of that meet the requirements in the ListOjectRequest.
The common prefixes in the result. The objects returned do not include the objects under these common prefixes (folders).
Creates a new instance of .
name
The OSS's access entry point interface's implementation.
Creates an instance of with OSS endpoint, access key Id, access key secret (cound be found from web console).
OSS endpoint
OSS access key Id
OSS key secret
Creates an instance of with OSS endpoint, access key Id, access key secret (cound be found from web console) and STS token.
OSS endpoint
STS's temp access key Id
STS's temp access key secret
STS security token
Creates an instance of with OSS endpoint, access key Id, access key secret and client configuration.
OSS endpoint
OSS access key Id
OSS access key secret
client side configuration
Creates an instance of with OSS endpoint, access key Id, access key secret (cound be found from web console) and STS token.
OSS endpoint
STS's temp access key Id
STS's temp access key secret
STS security token
client side configuration
Creates an instance with specified credential information.
OSS endpoint
Credentials information
Creates an instance with specified credential information and client side configuration.
OSS endpoint
Credentials provider
client side configuration
Creates an instance with specified endpoint, access key Id and access key secret.
OSS endpoint
OSS access key Id
OSS access key secret
Creates an instance with specified endpoint, access key Id and access key secret and STS token.
OSS endpoint
STS access key Id
STS security token
STS security token
Creates an instance with specified endpoint, access key Id and access key secret and configuration.
OSS endpoint
OSS access key id
OSS access key secret
client side configuration
Creates an instance with specified endpoint, access key Id, access key secret, STS security token and configuration.
OSS endpoint
STS access key
STS access key secret
STS security token
client side configuration
Creates an instance with specified endpoint and credential information.
OSS的访问地址。
Credentials提供者。
Creates an instance with specified endpoint, credential information and credential information.
OSS endpoint
Credentials information
client side configuration
Base class for OSS's object.
In OSS, every file is an object.
Object consists of key, data and metadata. Key is the object name which must be unique under the bucket.
Data is the object's content. And user metadata is the key-value pair collection that has the object's additional description.
Gets or sets object key.
Gets or sets object's bucket name
Gets or sets object's metadata.
Gets or sets object's content stream.
Creates a new instance of ---internal only.
Creates a new instance of with the key name.
's summary information, no object data.
Gets or sets the bucket name
Gets or sets the object key.
Gets or sets the ETag which is the MD5 summry in hex string of the object.
Gets or sets the size of the object in bytes.
Gets the last modified time.
Gets the object's storage class.
Get's the object's .
Creates a new instance of .
Gets the serialization result in string.
serialization result in string
一个强类型的资源类,用于查找本地化的字符串等。
返回此类使用的缓存的 ResourceManager 实例。
重写当前线程的 CurrentUICulture 属性,对
使用此强类型资源类的所有资源查找执行重写。
查找类似 Invalid bucket name. The bucket naming rules:
1) Can only contain lowercase letter, number or dash(-);
2) Starts and ends with lowercase letter or number;
3) The length must be between 3 to 63 bytes. 的本地化字符串。
查找类似 Not supported protocol in the endpoint. The supported protocols are HTTP or HTTPS. So the endpoint must start with "http://" or "https://". 的本地化字符串。
查找类似 Invalid Object Key. Its length must be between 1 to 1023. 的本地化字符串。
The owner of the OSS object.
Gets or sets the owner Id.
Gets or sets the owner name.
Creates a new instance of ---internal only,.
Creates a new instance of with owner id and name.
Owner id.
Owner display name
Gets serialization result in string.
serialization result in string
The part's summary information in a multipart upload. It does not have the actual content data.
Parts number.
Part's last updated time (typically it's just the upload time)
The Etag of the part content.
Size of the part content, in bytes.
The serialization string
the serialization string
Gets the instance which consists of the part number and the ETag.
The class consists of part ETag and Part number. It's used in the request to complete the multipart upload.
Gets or sets the part number.
Gets or sets the ETag, which is the 128 bit MD5 digest in hex string.
Gets or sets the crc64.
The crc64.
Gets or sets the length.
The length.
Creates a new instance of .
Part number
Etag
crc64
length
The result class of the operation to list the parts of a multipart upload.
Gets bucket name.
Gets target object key.
Gets the value from .
Gets the value from .
If the result does not have all data, the response will have the value of this property for the next call to start with
That is assign this value to the PartNumberMarker property in the next call.
The max parts to return. The value comes from .
Flag if the result is truncated.
“true” means it's truncated;“false” means the result is complete.
Gets the parts iterator.
Adds a information---internal only
one part instance
Creates a new instance of ---internal only.
Permission enum definition
read only
ful control
The request class of the operatoin to upload an object
Gets or sets the Etag.
Gets or sets the version id.
The class to contains the headers the caller hopes to get from the OSS response.
Gets or sets content-type. If it's not specified, returns null.
Gets or sets content-language.If it's not specified, returns null.
Gets or sets the expires header. If it's not specified, returns null.
Gets or sets the cache-control header.If it's not specified, returns null.
Gets or sets the Content-Disposition header.
Gets or sets the Content-Encoding header.
The request class of the operation to set the bucket CORS
Gets bucket name
Gets or sets the CORS list. Each bucket can have up to 10 rules.
Creates a new instance of.
bucket name
Add a CORRule instance.
The request class of the operation to set bucket logging configuration.
Gets bucket name
Gets the target bucket name of the logging file
Gets the target prefix.
Creates a new instance of .
bucket name
target bucket
target prefix
The request class of the operation to set the bucket static website configuration
Gets the bucket name
Index page
Error page
Website configuration in xml format
Creates a new instance of .
bucket name
index page
error page
Creates a new instance of .
bucket name
website configuration in xml format
Sign HTTP method enum definition
Represents HTTP GET. Default value.
Represents HTTP DELETE.
Represents HTTP HEAD.
Represents HTTP POST.
Represents HTTP PUT.
The request class of the operation to upload part
Gets the bucket name
Gets the object key
Gets the upload Id
Gets the part number which is between 1 to 10000.
Each part has the Part number as its Id and for a given upload Id, the part number determine the part's position in the whole file.
If there's another part upload with the same part number under the same upload Id, the existing data will be overwritten.
Gets or sets the part size.
Except the last part, all other parts size are at least 5MB.
Gets or sets the part data's MD5.
Gets or sets the part's input stream.
Gets or sets the progress callback.
Gets or sets the reqeust payer
Gets or sets the traffic limit, the unit is bit/s
The result class of the operation to upload part.
Gets or sets Object ETag
Gets or sets Part number
Gets or sets the crc64.
The crc64.
Gets or sets the length.
The length.
Gets the PartEtag instance which consists of a part number and the part's ETag
一个强类型的资源类,用于查找本地化的字符串等。
返回此类使用的缓存的 ResourceManager 实例。
重写当前线程的 CurrentUICulture 属性,对
使用此强类型资源类的所有资源查找执行重写。
查找类似 The EndOperation has been called on this asyncResult. 的本地化字符串。
查找类似 The parameter is empty or null. 的本地化字符串。
查找类似 The response is invalid or unable to parse. 的本地化字符串。
查找类似 Unknown error is returned from Server. 的本地化字符串。
查找类似 xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
xltx application/vnd.openxmlformats-officedocument.spreadsheetml.template
potx application/vnd.openxmlformats-officedocument.presentationml.template
ppsx application/vnd.openxmlformats-officedocument.presentationml.slideshow
pptx application/vnd.openxmlformats-officedocument.presentationml.presentation
sldx application/vnd.openxmlformats-officedocument.presentationml.slide
docx application/vnd.openxmlformats-of [字符串的其余部分被截断]"; 的本地化字符串。
Storage class of OSS Bucket
The bucket information class
this is to map the XML structure like below:
..
Bucket location getter/setter
Bucket name getter/setter
Bucket getter/setter
Bucket creation time getter/setter
Gets or sets the extranet endpoint.
The extranet endpoint.
Gets or sets the intranet endpoint.
The intranet endpoint.
Gets or sets the storage class.
The storage class.
Gets or sets the access control list.
The access control list.
Gets or sets the disaster recovery.
The access control list.
Gets or sets server-side encryption rule.
The access control list.
Gets or sets versioning status.
bucket versioning status.
Creats a new instance with the specified name.
Bucket name
Initializes a new instance of the class.
Returns the bucket's serialization information in string.
The serialization information in string
Bucket state.
Create symlink request.
Gets or sets the object metadata of the Symlink (not the target object).
The object metadata.
Gets or sets the reqeust payer
The result object of GetSymlink
Gets or sets the symlink's metadata.
The symlink's metadata.
Gets or sets the target.
The target.
Gets or sets the symlink.
The symlink.
Do the resumable upload with multithread from file stream.
Bucket name.
Key.
Resumable context.
Fs.
Upload progress callback.
Do the resumable upload with multithread from non file stream
Bucket name.
Key.
Resumable context.
Fs.
Upload progress callback.
Gets or sets the name of the bucket.
The name of the bucket.
Gets or sets the key.
The key.
Gets or sets the download file.
The download file.
Gets or sets the size of the part.
The size of the part.
Gets or sets the parallel thread count.
The parallel thread count.
Gets or sets the checkpoint file.
The checkpoint file.
Gets or sets "If-Unmodified-Since" parameter
It means if its value is same or later than the actual last modified time, the file will be downloaded.
Otherwise, return precondition failed (412).
Gets or sets "If-Modified-Since".
It means if its value is smaller the actual last modified time, the file will be downloaded.
Otherwise, return precondition failed (412).
Gets or sets the stream transfer progress.
The stream transfer progress.
Gets the ETag matching constraint list. If the actual ETag matches any one in the constraint list, the file will be downloaded.
Otherwise, returns precondition failed.
The corresponding http header is "If-Match".
Gets the ETag non-matching constraint list. If the actual ETag does not match any one in the constraint list, the file will be downloaded.
Otherwise, returns precondition failed.
The corresponding http header is "If-None-Match".
Gets the overrided response headers.
Gets or sets the reqeust payer
Gets or sets the traffic limit, the unit is bit/s
Gets or sets the version id
Populate the http headers according to the properties of this object.
The generated http headers
Upload object request.
Initializes a new instance of the class.
Bucket name.
Key.
Upload file.
Initializes a new instance of the class.
Bucket name.
Key.
Upload stream.
Gets or sets the name of the bucket.
The name of the bucket.
Gets or sets the key.
The key.
Gets or sets the upload file.
The upload file.
Gets or sets the upload stream.
Note: when both UploadStream and UploadFile properties are set, the UploadStream will be used.
It will be disposed once the ResumableUploadFile finishes.
The upload stream.
Gets or sets the size of the part.
The size of the part.
Gets or sets the parallel thread count.
The parallel thread count.
Gets or sets the checkpoint dir.
The checkpoint dir.
Gets or sets the stream transfer progress.
The stream transfer progress.
Gets or sets the metadata.
The metadata.
Gets or sets the reqeust payer
Gets or sets the traffic limit, the unit is bit/s