OssClient Constructor (Uri, String, String, String, ClientConfiguration) |
Creates an instance with specified endpoint, access key Id, access key secret, STS security token and configuration.
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,
ClientConfiguration configuration
)
Public Sub New (
endpoint As Uri,
accessKeyId As String,
accessKeySecret As String,
securityToken As String,
configuration As ClientConfiguration
)
public:
OssClient(
Uri^ endpoint,
String^ accessKeyId,
String^ accessKeySecret,
String^ securityToken,
ClientConfiguration^ configuration
)
new :
endpoint : Uri *
accessKeyId : string *
accessKeySecret : string *
securityToken : string *
configuration : ClientConfiguration -> OssClient
Parameters
- endpoint
- Type: SystemUri
OSS endpoint - accessKeyId
- Type: SystemString
STS access key - accessKeySecret
- Type: SystemString
STS access key secret - securityToken
- Type: SystemString
STS security token - configuration
- Type: Aliyun.OSS.CommonClientConfiguration
client side configuration
See Also