public class RolesStub extends com.vmware.vapi.internal.bindings.Stub implements Roles
Roles
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
RolesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
RolesStub(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 |
---|---|
NewRole |
clone(java.lang.String role,
NewRole newRole)
The role with id
|
void |
clone(java.lang.String role,
NewRole newRole,
com.vmware.vapi.bindings.client.AsyncCallback<NewRole> asyncCallback)
The role with id
|
void |
clone(java.lang.String role,
NewRole newRole,
com.vmware.vapi.bindings.client.AsyncCallback<NewRole> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
The role with id
|
NewRole |
clone(java.lang.String role,
NewRole newRole,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
The role with id
|
RoleWithFeatures |
update(java.lang.String role,
RoleWithFeatures roleWithFeatures)
Creates a new role with id as
|
void |
update(java.lang.String role,
RoleWithFeatures roleWithFeatures,
com.vmware.vapi.bindings.client.AsyncCallback<RoleWithFeatures> asyncCallback)
Creates a new role with id as
|
void |
update(java.lang.String role,
RoleWithFeatures roleWithFeatures,
com.vmware.vapi.bindings.client.AsyncCallback<RoleWithFeatures> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new role with id as
|
RoleWithFeatures |
update(java.lang.String role,
RoleWithFeatures roleWithFeatures,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new role with id as
|
RecommendedFeaturePermissionListResult |
validate(FeaturePermissionArray featurePermissionArray)
Validate the permissions of an incoming role.
|
void |
validate(FeaturePermissionArray featurePermissionArray,
com.vmware.vapi.bindings.client.AsyncCallback<RecommendedFeaturePermissionListResult> asyncCallback)
Validate the permissions of an incoming role.
|
void |
validate(FeaturePermissionArray featurePermissionArray,
com.vmware.vapi.bindings.client.AsyncCallback<RecommendedFeaturePermissionListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Validate the permissions of an incoming role.
|
RecommendedFeaturePermissionListResult |
validate(FeaturePermissionArray featurePermissionArray,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Validate the permissions of an incoming role.
|
public RolesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public RolesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public NewRole clone(java.lang.String role, NewRole newRole)
Roles
Synchronous method overload. Result of the invocation will be reported as a method return value.
public NewRole clone(java.lang.String role, NewRole newRole, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Roles
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void clone(java.lang.String role, NewRole newRole, com.vmware.vapi.bindings.client.AsyncCallback<NewRole> asyncCallback)
Roles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.NewRole
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void clone(java.lang.String role, NewRole newRole, com.vmware.vapi.bindings.client.AsyncCallback<NewRole> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Roles
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.NewRole
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public RoleWithFeatures update(java.lang.String role, RoleWithFeatures roleWithFeatures)
Roles
Synchronous method overload. Result of the invocation will be reported as a method return value.
public RoleWithFeatures update(java.lang.String role, RoleWithFeatures roleWithFeatures, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Roles
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void update(java.lang.String role, RoleWithFeatures roleWithFeatures, com.vmware.vapi.bindings.client.AsyncCallback<RoleWithFeatures> asyncCallback)
Roles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.RoleWithFeatures
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void update(java.lang.String role, RoleWithFeatures roleWithFeatures, com.vmware.vapi.bindings.client.AsyncCallback<RoleWithFeatures> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Roles
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.RoleWithFeatures
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public RecommendedFeaturePermissionListResult validate(FeaturePermissionArray featurePermissionArray)
Roles
Synchronous method overload. Result of the invocation will be reported as a method return value.
public RecommendedFeaturePermissionListResult validate(FeaturePermissionArray featurePermissionArray, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Roles
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void validate(FeaturePermissionArray featurePermissionArray, com.vmware.vapi.bindings.client.AsyncCallback<RecommendedFeaturePermissionListResult> asyncCallback)
Roles
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.RecommendedFeaturePermissionListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void validate(FeaturePermissionArray featurePermissionArray, com.vmware.vapi.bindings.client.AsyncCallback<RecommendedFeaturePermissionListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Roles
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.RecommendedFeaturePermissionListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found