Class FileStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.sha.dynamic_runbook_instances.FileStub
-
-
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.sha.dynamic_runbook_instances.FileTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description FileStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
FileStub(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 instanceId, java.lang.Boolean force)
Uninstall the Dynamic Runbook package from the instancevoid
delete(java.lang.String instanceId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Uninstall the Dynamic Runbook package from the instancevoid
delete(java.lang.String instanceId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Uninstall the Dynamic Runbook package from the instancevoid
delete(java.lang.String instanceId, java.lang.Boolean force, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Uninstall the Dynamic Runbook package from the instance
-
-
-
Constructor Detail
-
FileStub
public FileStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
FileStub
public FileStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
delete
public void delete(java.lang.String instanceId, java.lang.Boolean force)
Description copied from interface:File
Uninstall the Dynamic Runbook package from the instanceSynchronous method overload. Result of the invocation will be reported as a method return value.
-
delete
public void delete(java.lang.String instanceId, java.lang.Boolean force, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:File
Uninstall the Dynamic Runbook package from the instanceSynchronous 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 instanceId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Description copied from interface:File
Uninstall the Dynamic Runbook package from the instanceAsynchronous 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 instanceId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:File
Uninstall the Dynamic Runbook package from the instanceAsynchronous 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:
delete
in interfaceFile
- Parameters:
instanceId
- (required)force
- Force delete the resource even if it is being used somewhere (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-