Class ResourcesStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.shares.ResourcesStub
-
- All Implemented Interfaces:
Resources
,ResourcesTypes
,com.vmware.vapi.bindings.Service
public class ResourcesStub extends com.vmware.vapi.internal.bindings.Stub implements Resources
Remote stub implementation of theResources
API service.WARNING: Internal class, subject to change in future versions.
-
-
Field Summary
-
Fields inherited from class com.vmware.vapi.internal.bindings.Stub
apiProvider, converter, ifaceId, retryPolicy, securityContext
-
Fields inherited from interface com.vmware.nsx_policy.infra.shares.ResourcesTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description ResourcesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
ResourcesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(java.lang.String shareId, java.lang.String sharedResourceId)
Delete Shared Resource.void
delete(java.lang.String shareId, java.lang.String sharedResourceId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete Shared Resource.void
delete(java.lang.String shareId, java.lang.String sharedResourceId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete Shared Resource.void
delete(java.lang.String shareId, java.lang.String sharedResourceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete Shared Resource.SharedResource
get(java.lang.String shareId, java.lang.String sharedResourceId)
Get the shared resource that represents shared objects.void
get(java.lang.String shareId, java.lang.String sharedResourceId, com.vmware.vapi.bindings.client.AsyncCallback<SharedResource> asyncCallback)
Get the shared resource that represents shared objects.void
get(java.lang.String shareId, java.lang.String sharedResourceId, com.vmware.vapi.bindings.client.AsyncCallback<SharedResource> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the shared resource that represents shared objects.SharedResource
get(java.lang.String shareId, java.lang.String sharedResourceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the shared resource that represents shared objects.SharedResourceListResult
list(java.lang.String shareId, java.lang.String resourceType)
Get the list of shared resource in a given share.void
list(java.lang.String shareId, java.lang.String resourceType, com.vmware.vapi.bindings.client.AsyncCallback<SharedResourceListResult> asyncCallback)
Get the list of shared resource in a given share.void
list(java.lang.String shareId, java.lang.String resourceType, com.vmware.vapi.bindings.client.AsyncCallback<SharedResourceListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the list of shared resource in a given share.SharedResourceListResult
list(java.lang.String shareId, java.lang.String resourceType, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the list of shared resource in a given share.void
patch(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource)
If Shared resource already exists, update the shared resource entity.void
patch(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
If Shared resource already exists, update the shared resource entity.void
patch(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If Shared resource already exists, update the shared resource entity.void
patch(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If Shared resource already exists, update the shared resource entity.SharedResource
update(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource)
If Shared resource already exists, update the shared resource entity.void
update(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource, com.vmware.vapi.bindings.client.AsyncCallback<SharedResource> asyncCallback)
If Shared resource already exists, update the shared resource entity.void
update(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource, com.vmware.vapi.bindings.client.AsyncCallback<SharedResource> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If Shared resource already exists, update the shared resource entity.SharedResource
update(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If Shared resource already exists, update the shared resource entity.
-
-
-
Constructor Detail
-
ResourcesStub
public ResourcesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
ResourcesStub
public ResourcesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
delete
public void delete(java.lang.String shareId, java.lang.String sharedResourceId)
Description copied from interface:Resources
Delete Shared Resource.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
delete
public void delete(java.lang.String shareId, java.lang.String sharedResourceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Resources
Delete Shared Resource.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.
-
delete
public void delete(java.lang.String shareId, java.lang.String sharedResourceId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:Resources
Delete Shared Resource.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
delete
public void delete(java.lang.String shareId, java.lang.String sharedResourceId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Resources
Delete Shared Resource.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
get
public SharedResource get(java.lang.String shareId, java.lang.String sharedResourceId)
Description copied from interface:Resources
Get the shared resource that represents shared objects.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
get
public SharedResource get(java.lang.String shareId, java.lang.String sharedResourceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Resources
Get the shared resource that represents shared objects.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.
-
get
public void get(java.lang.String shareId, java.lang.String sharedResourceId, com.vmware.vapi.bindings.client.AsyncCallback<SharedResource> asyncCallback)
Description copied from interface:Resources
Get the shared resource that represents shared objects.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.SharedResourceOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
get
public void get(java.lang.String shareId, java.lang.String sharedResourceId, com.vmware.vapi.bindings.client.AsyncCallback<SharedResource> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Resources
Get the shared resource that represents shared objects.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.SharedResourceOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
list
public SharedResourceListResult list(java.lang.String shareId, java.lang.String resourceType)
Description copied from interface:Resources
Get the list of shared resource in a given share.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
list
public SharedResourceListResult list(java.lang.String shareId, java.lang.String resourceType, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Resources
Get the list of shared resource in a given share.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.
-
list
public void list(java.lang.String shareId, java.lang.String resourceType, com.vmware.vapi.bindings.client.AsyncCallback<SharedResourceListResult> asyncCallback)
Description copied from interface:Resources
Get the list of shared resource in a given share.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.SharedResourceListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
list
public void list(java.lang.String shareId, java.lang.String resourceType, com.vmware.vapi.bindings.client.AsyncCallback<SharedResourceListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Resources
Get the list of shared resource in a given share.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.SharedResourceListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
patch
public void patch(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource)
Description copied from interface:Resources
If Shared resource already exists, update the shared resource entity. User Presence of the shared resource denotes sharing of the parent object.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
patch
public void patch(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Resources
If Shared resource already exists, update the shared resource entity. User Presence of the shared resource denotes sharing of the parent object.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
public void patch(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:Resources
If Shared resource already exists, update the shared resource entity. User Presence of the shared resource denotes sharing of the parent object.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
patch
public void patch(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Resources
If Shared resource already exists, update the shared resource entity. User Presence of the shared resource denotes sharing of the parent object.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
patch
in interfaceResources
- Parameters:
shareId
- Share ID (required)sharedResourceId
- Shared resource id (required)sharedResource
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
update
public SharedResource update(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource)
Description copied from interface:Resources
If Shared resource already exists, update the shared resource entity. User Presence of the shared resource denotes sharing of the parent object.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
update
public SharedResource update(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Resources
If Shared resource already exists, update the shared resource entity. User Presence of the shared resource denotes sharing of the parent object.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.
-
update
public void update(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource, com.vmware.vapi.bindings.client.AsyncCallback<SharedResource> asyncCallback)
Description copied from interface:Resources
If Shared resource already exists, update the shared resource entity. User Presence of the shared resource denotes sharing of the parent object.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.SharedResourceOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
update
public void update(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource, com.vmware.vapi.bindings.client.AsyncCallback<SharedResource> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Resources
If Shared resource already exists, update the shared resource entity. User Presence of the shared resource denotes sharing of the parent object.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.SharedResourceOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
update
in interfaceResources
- Parameters:
shareId
- Share ID (required)sharedResourceId
- Shared resource id (required)sharedResource
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-