GetService
In this article:
GetService#
Description#
Получает информацию об указанном сервисе К2 Облака.
Request Parameters#
ServiceName — Имя сервиса.
Тип: String
Необходимо: Да
Response Elements#
Actions — Список методов сервиса.
Тип: Array of strings
Service — Информация о сервисе.
Тип: Объект Service
Examples#
Запрос
https://iam.k2.cloud/?Action=GetService
&ServiceName=iam
Ответ
<GetServiceResponse>
<GetServiceResult>
<Service>
<ServiceName>iam</ServiceName>
<Type>global</Type>
</Service>
<Actions>
<member>*</member>
<member>AddUserToGroup</member>
<member>AttachGroupPolicy</member>
<member>AttachUserPolicy</member>
<member>CreateGroup</member>
<member>CreatePolicy</member>
<member>CreateProject</member>
<member>CreateUser</member>
<member>DeleteGroup</member>
<member>DeletePolicy</member>
<member>DeleteProject</member>
<member>DeleteServerCertificate</member>
<member>DeleteUser</member>
<member>DetachGroupPolicy</member>
<member>DetachUserPolicy</member>
<member>GetGroup</member>
<member>GetPolicy</member>
<member>GetProject</member>
<member>GetService</member>
<member>GetUser</member>
<member>ListGroupPolicies</member>
<member>ListGroups</member>
<member>ListPolicies</member>
<member>ListProjectUsers</member>
<member>ListProjects</member>
<member>ListServerCertificates</member>
<member>ListServices</member>
<member>ListUserGlobalActions</member>
<member>ListUserGlobalGroups</member>
<member>ListUserGlobalPolicies</member>
<member>ListUserProjectActions</member>
<member>ListUserProjectGroups</member>
<member>ListUserProjectPolicies</member>
<member>ListUserProjects</member>
<member>ListUsers</member>
<member>RemoveUserFromGroup</member>
<member>RemoveUserFromProject</member>
<member>UpdatePolicy</member>
<member>UpdateProject</member>
<member>UpdateUser</member>
<member>UploadServerCertificate</member>
</Actions>
</GetServiceResult>
<requestId>915acd9a-7f10-49b2-b203-a52489464ae7</requestId>
<ResponseMetadata>
<RequestId>915acd9a-7f10-49b2-b203-a52489464ae7</RequestId>
</ResponseMetadata>
</GetServiceResponse>
c2-iam GetService ServiceName iam