Identity and Access Management API, REST: ServiceControl.resolveAgent
Статья создана
Обновлена 4 сентября 2024 г.
Resolve agent service account for the service in the specified resource container.
HTTP request
GET https://iam.api.cloud.yandex.net/iam/v1/service/{serviceId}/microservice/{microserviceId}
Path parameters
Parameter | Description |
---|---|
serviceId | Required. ID of the Service. The maximum string length in characters is 50. |
microserviceId | ID of the Microservice. The maximum string length in characters is 50. |
Query parameters
Parameter | Description |
---|---|
resource.id | Required. ID of the resource. The maximum string length in characters is 50. |
resource.type | Required. The type of the resource, e.g. resource-manager.folder, billing.account, compute.snapshot, etc. The maximum string length in characters is 64. |
Response
HTTP Code: 200 - OK
{
"serviceAccountId": "string",
"serviceId": "string",
"microserviceId": "string"
}
Field | Description |
---|---|
serviceAccountId | string ID of the agent service account. |
serviceId | string ID of the service. |
microserviceId | string ID of the microservice. |