public class RoleBindingsStub extends com.vmware.vapi.internal.bindings.Stub implements RoleBindings
RoleBindings
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
RoleBindingsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
RoleBindingsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
RoleBinding |
patch(java.lang.String orgId,
java.lang.String projectId,
java.lang.String vpcId,
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,
java.lang.String vpcId,
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,
java.lang.String vpcId,
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,
java.lang.String vpcId,
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.
|
public RoleBindingsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public RoleBindingsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public RoleBinding patch(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, RoleBinding roleBinding)
RoleBindings
Synchronous method overload. Result of the invocation will be reported as a method return value.
patch
in interface RoleBindings
orgId
- (required)projectId
- (required)vpcId
- (required)roleBinding
- (required)public RoleBinding patch(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, RoleBinding roleBinding, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RoleBindings
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
patch
in interface RoleBindings
orgId
- (required)projectId
- (required)vpcId
- (required)roleBinding
- (required)invocationConfig
- Configuration for the method invocation.public void patch(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, RoleBinding roleBinding, com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback)
RoleBindings
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
patch
in interface RoleBindings
orgId
- (required)projectId
- (required)vpcId
- (required)roleBinding
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void patch(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, RoleBinding roleBinding, com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RoleBindings
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
patch
in interface RoleBindings
orgId
- (required)projectId
- (required)vpcId
- (required)roleBinding
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.