Mengkueri informasi tentang direktori.
Deskripsi operasi
This topic provides an example on how to query information about the directory whose ID is d-00fc2p61****.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cloudsso:GetDirectory |
get |
*Directory
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DirectoryId |
string |
Yes |
ID direktori. |
d-00fc2p61**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
AA6A9E4B-8A61-59E1-AA87-F61CA18258A3 |
| Directory |
object |
The information about the directory. |
|
| DirectoryId |
string |
The ID of the directory. |
d-00fc2p61**** |
| CreateTime |
string |
The time when the directory was created. |
2021-06-30T08:35:26Z |
| UpdateTime |
string |
The time when the directory was modified. |
2021-10-25T07:18:46Z |
| Region |
string |
The region ID of the directory. |
cn-shanghai |
| DirectoryName |
string |
The name of the directory. |
example |
Contoh
Respons sukses
JSONformat
{
"RequestId": "AA6A9E4B-8A61-59E1-AA87-F61CA18258A3",
"Directory": {
"DirectoryId": "d-00fc2p61****",
"CreateTime": "2021-06-30T08:35:26Z",
"UpdateTime": "2021-10-25T07:18:46Z",
"Region": "cn-shanghai",
"DirectoryName": "example"
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.