Mengkueri status fitur pencarian resource lintas akun menggunakan akun manajemen Direktori sumber daya atau akun administrator terdelegasi Resource Center.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
resourcecenter:GetMultiAccountResourceCenterServiceStatus |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
Tidak ada parameter yang diperlukan.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The returned result. |
||
| InitialStatus |
string |
The initialization status of the feature. Valid values:
|
Pending |
| RequestId |
string |
The ID of the request. |
81671397-1425-51F1-A144-4799E01BEBFF |
| ServiceStatus |
string |
The status of the feature. Valid values:
|
Enabled |
Contoh
Respons sukses
JSONformat
{
"InitialStatus": "Pending",
"RequestId": "81671397-1425-51F1-A144-4799E01BEBFF",
"ServiceStatus": "Enabled"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | You are not authorized to perform this operation. | |
| 400 | MultiAccountServiceNotEnabled | Mulit account ResourceCenter service is not enabled. | |
| 404 | NotExists.ResourceDirectory | The resource directory for the account is not enabled. | No resource directory is enabled for the account. |
| 409 | InvalidParameter.Scope | The Scope is invalid. | |
| 409 | NoPermission.ResourceDirectory.MemberAccount | ResourceDirectory Member Account is not authorized to perform this operation. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.