public interface Resources extends com.vmware.vapi.bindings.Service, ResourcesTypes
_VAPI_SERVICE_ID| Modifier and Type | Method and 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.
|
void delete(java.lang.String shareId,
java.lang.String sharedResourceId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
shareId - (required)sharedResourceId - (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 Foundvoid delete(java.lang.String shareId,
java.lang.String sharedResourceId,
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.
shareId - (required)sharedResourceId - (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 delete(java.lang.String shareId,
java.lang.String sharedResourceId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
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
shareId - (required)sharedResourceId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.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)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig 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
shareId - (required)sharedResourceId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.SharedResource get(java.lang.String shareId, java.lang.String sharedResourceId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
shareId - Share ID (required)sharedResourceId - Shared resource id (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 FoundSharedResource get(java.lang.String shareId, java.lang.String sharedResourceId, 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.
shareId - Share ID (required)sharedResourceId - Shared resource id (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 get(java.lang.String shareId,
java.lang.String sharedResourceId,
com.vmware.vapi.bindings.client.AsyncCallback<SharedResource> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx_policy.model.SharedResource
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
shareId - Share ID (required)sharedResourceId - Shared resource id (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.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)
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.SharedResource
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
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.SharedResourceListResult list(java.lang.String shareId, java.lang.String resourceType)
Synchronous method overload. Result of the invocation will be reported as a method return value.
shareId - Share ID (required)resourceType - resource type (optional)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 FoundSharedResourceListResult list(java.lang.String shareId, java.lang.String resourceType, 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.
shareId - Share ID (required)resourceType - resource type (optional)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 list(java.lang.String shareId,
java.lang.String resourceType,
com.vmware.vapi.bindings.client.AsyncCallback<SharedResourceListResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx_policy.model.SharedResourceListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
shareId - Share ID (required)resourceType - resource type (optional)asyncCallback - Receives the status (progress, result or error) of the operation invocation.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)
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.SharedResourceListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
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.void patch(java.lang.String shareId,
java.lang.String sharedResourceId,
SharedResource sharedResource)
Synchronous method overload. Result of the invocation will be reported as a method return value.
shareId - Share ID (required)sharedResourceId - Shared resource id (required)sharedResource - (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 Foundvoid patch(java.lang.String shareId,
java.lang.String sharedResourceId,
SharedResource sharedResource,
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.
shareId - Share ID (required)sharedResourceId - Shared resource id (required)sharedResource - (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 shareId,
java.lang.String sharedResourceId,
SharedResource sharedResource,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
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
shareId - Share ID (required)sharedResourceId - Shared resource id (required)sharedResource - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.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)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig 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
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.SharedResource update(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource)
Synchronous method overload. Result of the invocation will be reported as a method return value.
shareId - Share ID (required)sharedResourceId - Shared resource id (required)sharedResource - (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 FoundSharedResource update(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource, 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.
shareId - Share ID (required)sharedResourceId - Shared resource id (required)sharedResource - (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 update(java.lang.String shareId,
java.lang.String sharedResourceId,
SharedResource sharedResource,
com.vmware.vapi.bindings.client.AsyncCallback<SharedResource> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx_policy.model.SharedResource
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
shareId - Share ID (required)sharedResourceId - Shared resource id (required)sharedResource - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.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)
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.SharedResource
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
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.