Bir Bastionhost örneği için yapılandırılan Active Directory (AD) kimlik doğrulama sunucusuyla bağlantıyı test eder. AD ayarlarınızı kaydetmeden önce doğrulamak için bu işlemi kullanabilirsiniz.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-bastionhost:VerifyInstanceADAuthServer |
update |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
Bastionhost örneğinin kimliği. Bu parametreyi almak için DescribeInstances işlemini çağırabilirsiniz. |
bastionhost-cn-st220aw**** |
| RegionId |
string |
No |
Bastionhost örneğinin bölge kimliği. Bölge kimlikleri ile bölge adları arasındaki eşleme hakkında daha fazla bilgi için Bölgeler ve alanlar konusuna bakın. |
cn-hangzhou |
| Server |
string |
Yes |
Sunucunun adresi. |
192.168.XX.XX |
| StandbyServer |
string |
No |
Yedek sunucunun adresi. |
192.168.XX.XX |
| Port |
string |
Yes |
Bağlantı noktası. |
389 |
| IsSSL |
string |
Yes |
SSL'nin desteklenip desteklenmediğini belirtir. Geçerli değerler:
|
true |
| BaseDN |
string |
Yes |
Temel DN. |
dc=test,dc=com |
| Domain |
string |
Yes |
Active Directory sunucusundaki etki alanı. |
domain |
| Account |
string |
Yes |
Sunucunun hesabı. |
cn=Manager,dc=test,dc=com |
| Password |
string |
No |
Sunucu hesabının parolası. |
****** |
| Filter |
string |
No |
Kullanıcılar için filtre koşulu. |
(objectClass=top) |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt şeması. |
||
| RequestId |
string |
İsteğin kimliği. Alibaba Cloud tarafından istek için oluşturulan benzersiz bir tanımlayıcıdır. Bu parametre, sorun giderme ve sorun tespiti için kullanılabilir. |
8F1085E3-F048-5F34-B650-F145216E4AA5 |
Examples
Success response
JSON format
{
"RequestId": "8F1085E3-F048-5F34-B650-F145216E4AA5"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The argument is invalid. | The argument is invalid. |
| 500 | InternalError | An unknown error occurred. | An unknown error occurred. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.