Method: OpenapiClient::ResourceRolesApi#get_resource_role

Defined in:
lib/openapi_client/api/resource_roles_api.rb

#get_resource_role(proj_id, env_id, resource_id, role_id, opts = {}) ⇒ ResourceRoleRead

Get Resource Role Gets a single role defined on the resource, if such role exists.

Parameters:

  • Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").

  • Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").

  • Either the unique id of the resource, or the URL-friendly key of the resource (i.e: the "slug").

  • Either the unique id of the role, or the URL-friendly key of the role (i.e: the "slug").

  • (defaults to: {})

    the optional parameters

Returns:



376
377
378
379
# File 'lib/openapi_client/api/resource_roles_api.rb', line 376

def get_resource_role(proj_id, env_id, resource_id, role_id, opts = {})
  data, _status_code, _headers = get_resource_role_with_http_info(proj_id, env_id, resource_id, role_id, opts)
  data
end