Interface Ibm.Service
-
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Ibm
@ApiService("SoftLayer_Account_Internal_Ibm") public static interface Ibm.Service extends Service
Processes requests by IBM employees to create an IaaS account tied to their email. Request process cannot be initiated directly and must go through the Bluemix IBMer account request form.- See Also:
- SoftLayer_Account_Internal_Ibm
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Ibm.ServiceAsync
asAsync()
Get an async version of this serviceList<String>
getAccountTypes()
Validates request and, if the request is approved, returns a list of allowed uses for an automatically created IBMer IaaS account.String
getAuthorizationUrl(Long requestId)
Gets the URL used to perform manager validation.List<String>
getBmsCountryList()
String
getEmployeeAccessToken(String unverifiedAuthenticationCode)
Exchanges a code for a token during manager validation.Request
getManagerPreview(Long requestId, String accessToken)
After validating the requesting user through the access token, generates a container with the relevant request information and returns it.Boolean
hasExistingRequest(String employeeUid, String managerUid)
Checks for an existing request which would block an IBMer from submitting a new request.Void
managerApprove(Long requestId, String accessToken)
Applies manager approval to a pending internal IBM account request.Void
managerDeny(Long requestId, String accessToken)
Denies a pending request and prevents additional requests from the same applicant for as long as the manager remains the same.Void
requestAccount(Request requestContainer)
Validates request and kicks off the approval process.void
setMask(Ibm.Mask mask)
Ibm.Mask
withMask()
Use the existing mask on this service or create it if not presentIbm.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
asAsync
Ibm.ServiceAsync asAsync()
Description copied from interface:Service
Get an async version of this service
-
withNewMask
Ibm.Mask withNewMask()
Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Ibm.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present
-
setMask
void setMask(Ibm.Mask mask)
-
getAccountTypes
@ApiMethod List<String> getAccountTypes()
Validates request and, if the request is approved, returns a list of allowed uses for an automatically created IBMer IaaS account.
-
getAuthorizationUrl
@ApiMethod String getAuthorizationUrl(Long requestId)
Gets the URL used to perform manager validation.
-
getBmsCountryList
@ApiMethod List<String> getBmsCountryList()
-
getEmployeeAccessToken
@ApiMethod String getEmployeeAccessToken(String unverifiedAuthenticationCode)
Exchanges a code for a token during manager validation.
-
getManagerPreview
@ApiMethod Request getManagerPreview(Long requestId, String accessToken)
After validating the requesting user through the access token, generates a container with the relevant request information and returns it.
-
hasExistingRequest
@ApiMethod Boolean hasExistingRequest(String employeeUid, String managerUid)
Checks for an existing request which would block an IBMer from submitting a new request. Such a request could be denied, approved, or awaiting manager action.
-
managerApprove
@ApiMethod Void managerApprove(Long requestId, String accessToken)
Applies manager approval to a pending internal IBM account request. If cost recovery is already configured, this will create an account. If not, this will remind the internal team to configure cost recovery and create the account when possible.
-
managerDeny
@ApiMethod Void managerDeny(Long requestId, String accessToken)
Denies a pending request and prevents additional requests from the same applicant for as long as the manager remains the same.
-
requestAccount
@ApiMethod Void requestAccount(Request requestContainer)
Validates request and kicks off the approval process.
-
-