OssClientGeneratePresignedUri Method (String, String, DateTime) |
Generates the pre-signed GET url with specified expiration time
Namespace: Aliyun.OSSAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax public Uri GeneratePresignedUri(
string bucketName,
string key,
DateTime expiration
)
Public Function GeneratePresignedUri (
bucketName As String,
key As String,
expiration As DateTime
) As Uri
public:
virtual Uri^ GeneratePresignedUri(
String^ bucketName,
String^ key,
DateTime expiration
) sealed
abstract GeneratePresignedUri :
bucketName : string *
key : string *
expiration : DateTime -> Uri
override GeneratePresignedUri :
bucketName : string *
key : string *
expiration : DateTime -> Uri
Parameters
- bucketName
- Type: SystemString
Bucket name - key
- Type: SystemString
Object key - expiration
- Type: SystemDateTime
Uri expiration time
Return Value
Type:
Urisigned url
Implements
IOssGeneratePresignedUri(String, String, DateTime)See Also