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