IOssGeneratePresignedUri Method (String, String, DateTime, SignHttpMethod) |
Generates the presigned url with specified method and specified expiration time.
Namespace: Aliyun.OSSAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax Uri GeneratePresignedUri(
string bucketName,
string key,
DateTime expiration,
SignHttpMethod method
)
Function GeneratePresignedUri (
bucketName As String,
key As String,
expiration As DateTime,
method As SignHttpMethod
) As Uri
Uri^ GeneratePresignedUri(
String^ bucketName,
String^ key,
DateTime expiration,
SignHttpMethod method
)
abstract GeneratePresignedUri :
bucketName : string *
key : string *
expiration : DateTime *
method : SignHttpMethod -> Uri
Parameters
- bucketName
- Type: SystemString
Bucket name - key
- Type: SystemString
Object key - expiration
- Type: SystemDateTime
Uri expiration time - method
- Type: Aliyun.OSSSignHttpMethod
HTTP method
Return Value
Type:
Urisigned url
See Also