GetService
In this article:
GetService#
Description#
Returns information about the specified K2 Cloud service.
Request Parameters#
ServiceName — The name of the service.
Type: String
Required: Yes
Response Elements#
Service — Service details.
Type: Service object
Actions — The list of service methods.
Type: Array of strings
Examples#
Request
https://iam.k2.cloud/?Action=GetService
&ServiceName=iam
Response
<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