OssClient Constructor (Uri, String, String, String) |
Creates an instance with specified endpoint, access key Id and access key secret and STS token.
Namespace: Aliyun.OSSAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax public OssClient(
Uri endpoint,
string accessKeyId,
string accessKeySecret,
string securityToken
)
Public Sub New (
endpoint As Uri,
accessKeyId As String,
accessKeySecret As String,
securityToken As String
)
public:
OssClient(
Uri^ endpoint,
String^ accessKeyId,
String^ accessKeySecret,
String^ securityToken
)
new :
endpoint : Uri *
accessKeyId : string *
accessKeySecret : string *
securityToken : string -> OssClient
Parameters
- endpoint
- Type: SystemUri
OSS endpoint - accessKeyId
- Type: SystemString
STS access key Id - accessKeySecret
- Type: SystemString
STS security token - securityToken
- Type: SystemString
STS security token
See Also