Identity and Access Management API, REST: ServiceControl.get
Returns the Service information in the specified resource container.
To get the list of available Services, make a list request.
HTTP request
GET https://iam.api.cloud.yandex.net/iam/v1/services/{serviceId}
Path parameters
Parameter | Description |
---|---|
serviceId | Required. ID of the Service. 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
{
"serviceId": "string",
"resource": {
"id": "string",
"type": "string"
},
"updatedAt": "string",
"status": "string"
}
A Service.
Field | Description |
---|---|
serviceId | string ID of the service. |
resource | object Resource that the service belongs to. A Resource. For more information, see Resource. |
resource. id |
string Required. ID of the resource. The maximum string length in characters is 50. |
resource. type |
string Required. The type of the resource, e.g. resource-manager.folder, billing.account, compute.snapshot, etc. The maximum string length in characters is 64. |
updatedAt | string (date-time) Time of the last status update of the service. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
status | string Current status of the service.
|