\AlibabaCloud\Client\ProfileDefaultProfile

Class DefaultProfile

Summary

Methods
Properties
Constants
getProfile()
getRamRoleArnProfile()
getEcsRamRoleProfile()
getBearerTokenProfile()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getProfile()

getProfile(string  $regionId, string  $accessKeyId, string  $accessKeySecret) : \AlibabaCloud\Client\Clients\Client

Parameters

string $regionId
string $accessKeyId
string $accessKeySecret

Throws

\AlibabaCloud\Client\Exception\ClientException

Returns

\AlibabaCloud\Client\Clients\Client

getRamRoleArnProfile()

getRamRoleArnProfile(string  $regionId, string  $accessKeyId, string  $accessKeySecret, string  $roleArn, string  $roleSessionName) : \AlibabaCloud\Client\Clients\Client

Parameters

string $regionId
string $accessKeyId
string $accessKeySecret
string $roleArn
string $roleSessionName

Throws

\AlibabaCloud\Client\Exception\ClientException

Returns

\AlibabaCloud\Client\Clients\Client

getEcsRamRoleProfile()

getEcsRamRoleProfile(string  $regionId, string  $roleName) : \AlibabaCloud\Client\Clients\Client

Parameters

string $regionId
string $roleName

Throws

\AlibabaCloud\Client\Exception\ClientException

Returns

\AlibabaCloud\Client\Clients\Client

getBearerTokenProfile()

getBearerTokenProfile(string  $regionId, string  $bearerToken) : \AlibabaCloud\Client\Clients\Client

Parameters

string $regionId
string $bearerToken

Throws

\AlibabaCloud\Client\Exception\ClientException

Returns

\AlibabaCloud\Client\Clients\Client