public interface RoleBindings extends com.vmware.vapi.bindings.Service, RoleBindingsTypes
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
RoleBinding |
patch(java.lang.String orgId,
java.lang.String projectId,
RoleBinding roleBinding)
This API is used to assign a user/group any role(s) of choice on CSP.
|
void |
patch(java.lang.String orgId,
java.lang.String projectId,
RoleBinding roleBinding,
com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback)
This API is used to assign a user/group any role(s) of choice on CSP.
|
void |
patch(java.lang.String orgId,
java.lang.String projectId,
RoleBinding roleBinding,
com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API is used to assign a user/group any role(s) of choice on CSP.
|
RoleBinding |
patch(java.lang.String orgId,
java.lang.String projectId,
RoleBinding roleBinding,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API is used to assign a user/group any role(s) of choice on CSP.
|
RoleBinding patch(java.lang.String orgId, java.lang.String projectId, RoleBinding roleBinding)
Synchronous method overload. Result of the invocation will be reported as a method return value.
orgId
- (required)projectId
- (required)roleBinding
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundRoleBinding patch(java.lang.String orgId, java.lang.String projectId, RoleBinding roleBinding, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
orgId
- (required)projectId
- (required)roleBinding
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid patch(java.lang.String orgId, java.lang.String projectId, RoleBinding roleBinding, com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.RoleBinding
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
orgId
- (required)projectId
- (required)roleBinding
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void patch(java.lang.String orgId, java.lang.String projectId, RoleBinding roleBinding, com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx_policy.model.RoleBinding
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
orgId
- (required)projectId
- (required)roleBinding
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.