Interface Resources
-
- All Superinterfaces:
ResourcesTypes
,com.vmware.vapi.bindings.Service
- All Known Implementing Classes:
ResourcesStub
public interface Resources extends com.vmware.vapi.bindings.Service, ResourcesTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.infra.shares.ResourcesTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
delete
void delete(java.lang.String shareId, java.lang.String sharedResourceId)
Delete Shared Resource.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
shareId
- (required)sharedResourceId
- (required)- Throws:
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 Found
-
delete
void delete(java.lang.String shareId, java.lang.String sharedResourceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.- Parameters:
shareId
- (required)sharedResourceId
- (required)invocationConfig
- Configuration for the method invocation.- Throws:
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 Found
-
delete
void delete(java.lang.String shareId, java.lang.String sharedResourceId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
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
- Parameters:
shareId
- (required)sharedResourceId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
delete
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.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
- Parameters:
shareId
- (required)sharedResourceId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
get
SharedResource get(java.lang.String shareId, java.lang.String sharedResourceId)
Get the shared resource that represents shared objects.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
shareId
- Share ID (required)sharedResourceId
- Shared resource id (required)- Returns:
- com.vmware.nsx_policy.model.SharedResource
- Throws:
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 Found
-
get
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.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
shareId
- Share ID (required)sharedResourceId
- Shared resource id (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.SharedResource
- Throws:
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 Found
-
get
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.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
- Parameters:
shareId
- Share ID (required)sharedResourceId
- Shared resource id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
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.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
- Parameters:
shareId
- Share ID (required)sharedResourceId
- Shared resource id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
list
SharedResourceListResult list(java.lang.String shareId, java.lang.String resourceType)
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.
- Parameters:
shareId
- Share ID (required)resourceType
- resource type (optional)- Returns:
- com.vmware.nsx_policy.model.SharedResourceListResult
- Throws:
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 Found
-
list
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.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
shareId
- Share ID (required)resourceType
- resource type (optional)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.SharedResourceListResult
- Throws:
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 Found
-
list
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.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
- Parameters:
shareId
- Share ID (required)resourceType
- resource type (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
list
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.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
- Parameters:
shareId
- Share ID (required)resourceType
- resource type (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
patch
void patch(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource)
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.
- Parameters:
shareId
- Share ID (required)sharedResourceId
- Shared resource id (required)sharedResource
- (required)- Throws:
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 Found
-
patch
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. 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.- Parameters:
shareId
- Share ID (required)sharedResourceId
- Shared resource id (required)sharedResource
- (required)invocationConfig
- Configuration for the method invocation.- Throws:
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 Found
-
patch
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. 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
- Parameters:
shareId
- Share ID (required)sharedResourceId
- Shared resource id (required)sharedResource
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
patch
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. 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
- 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
SharedResource update(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource)
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.
- Parameters:
shareId
- Share ID (required)sharedResourceId
- Shared resource id (required)sharedResource
- (required)- Returns:
- com.vmware.nsx_policy.model.SharedResource
- Throws:
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 Found
-
update
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. 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.- Parameters:
shareId
- Share ID (required)sharedResourceId
- Shared resource id (required)sharedResource
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.SharedResource
- Throws:
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 Found
-
update
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. 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
- Parameters:
shareId
- Share ID (required)sharedResourceId
- Shared resource id (required)sharedResource
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
update
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. 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
- 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.
-
-