OssClientGeneratePresignedUri Method (String, String, SignHttpMethod) |
Generates the pre-signed url with specified expiration time that supports the specified HTTP method
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,
SignHttpMethod method
)
Public Function GeneratePresignedUri (
bucketName As String,
key As String,
method As SignHttpMethod
) As Uri
public:
virtual Uri^ GeneratePresignedUri(
String^ bucketName,
String^ key,
SignHttpMethod method
) sealed
abstract GeneratePresignedUri :
bucketName : string *
key : string *
method : SignHttpMethod -> Uri
override GeneratePresignedUri :
bucketName : string *
key : string *
method : SignHttpMethod -> Uri
Parameters
- bucketName
- Type: SystemString
Bucket name - key
- Type: SystemString
Object key - method
- Type: Aliyun.OSSSignHttpMethod
HTTP method
Return Value
Type:
Urisigned url
Implements
IOssGeneratePresignedUri(String, String, SignHttpMethod)See Also