public class ResourcesStub extends com.vmware.vapi.internal.bindings.Stub implements Resources
Resources
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and 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) |
| 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.
|
public ResourcesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public ResourcesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public void delete(java.lang.String shareId,
java.lang.String sharedResourceId)
ResourcesSynchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String shareId,
java.lang.String sharedResourceId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ResourcesSynchronous 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 delete(java.lang.String shareId,
java.lang.String sharedResourceId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ResourcesAsynchronous 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
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)
ResourcesAsynchronous 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
public SharedResource get(java.lang.String shareId, java.lang.String sharedResourceId)
ResourcesSynchronous method overload. Result of the invocation will be reported as a method return value.
public SharedResource get(java.lang.String shareId, java.lang.String sharedResourceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ResourcesSynchronous 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 get(java.lang.String shareId,
java.lang.String sharedResourceId,
com.vmware.vapi.bindings.client.AsyncCallback<SharedResource> asyncCallback)
ResourcesAsynchronous 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
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)
ResourcesAsynchronous 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
public SharedResourceListResult list(java.lang.String shareId, java.lang.String resourceType)
ResourcesSynchronous method overload. Result of the invocation will be reported as a method return value.
public SharedResourceListResult list(java.lang.String shareId, java.lang.String resourceType, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ResourcesSynchronous 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 list(java.lang.String shareId,
java.lang.String resourceType,
com.vmware.vapi.bindings.client.AsyncCallback<SharedResourceListResult> asyncCallback)
ResourcesAsynchronous 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
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)
ResourcesAsynchronous 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
public void patch(java.lang.String shareId,
java.lang.String sharedResourceId,
SharedResource sharedResource)
ResourcesSynchronous method overload. Result of the invocation will be reported as a method return value.
public void patch(java.lang.String shareId,
java.lang.String sharedResourceId,
SharedResource sharedResource,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ResourcesSynchronous 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 patch(java.lang.String shareId,
java.lang.String sharedResourceId,
SharedResource sharedResource,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ResourcesAsynchronous 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
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)
ResourcesAsynchronous 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
patch in interface ResourcesshareId - 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.public SharedResource update(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource)
ResourcesSynchronous method overload. Result of the invocation will be reported as a method return value.
public SharedResource update(java.lang.String shareId, java.lang.String sharedResourceId, SharedResource sharedResource, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ResourcesSynchronous 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 shareId,
java.lang.String sharedResourceId,
SharedResource sharedResource,
com.vmware.vapi.bindings.client.AsyncCallback<SharedResource> asyncCallback)
ResourcesAsynchronous 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
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)
ResourcesAsynchronous 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
update in interface ResourcesshareId - 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.