public class ImportFlagStub extends com.vmware.vapi.internal.bindings.Stub implements ImportFlag
ImportFlag
API service.
WARNING: Internal class, subject to change in future versions.
ImportFlagTypes.Info
Constructor and Description |
---|
ImportFlagStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ImportFlagStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ImportFlagTypes.Info> |
list(java.lang.String rp)
Returns information about the import flags supported by the deployment platform.
|
void |
list(java.lang.String rp,
AsyncCallback<java.util.List<ImportFlagTypes.Info>> asyncCallback)
Returns information about the import flags supported by the deployment platform.
|
void |
list(java.lang.String rp,
AsyncCallback<java.util.List<ImportFlagTypes.Info>> asyncCallback,
InvocationConfig invocationConfig)
Returns information about the import flags supported by the deployment platform.
|
java.util.List<ImportFlagTypes.Info> |
list(java.lang.String rp,
InvocationConfig invocationConfig)
Returns information about the import flags supported by the deployment platform.
|
public ImportFlagStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ImportFlagStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<ImportFlagTypes.Info> list(java.lang.String rp)
ImportFlag
The supported flags are:
Future server versions might support additional flags.
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface ImportFlag
rp
- The identifier of resource pool target for retrieving the import flag(s).
The parameter must be an identifier for the resource type: ResourcePool
.List
of supported import flags.public java.util.List<ImportFlagTypes.Info> list(java.lang.String rp, InvocationConfig invocationConfig)
ImportFlag
The supported flags are:
Future server versions might support additional flags.
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
in interface ImportFlag
rp
- The identifier of resource pool target for retrieving the import flag(s).
The parameter must be an identifier for the resource type: ResourcePool
.invocationConfig
- Configuration for the method invocation.List
of supported import flags.public void list(java.lang.String rp, AsyncCallback<java.util.List<ImportFlagTypes.Info>> asyncCallback)
ImportFlag
The supported flags are:
Future server versions might support additional flags.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
A List
of supported import flags.
Operation Errors:
NotFound
- If the resource pool associated with rp
does not exist.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. ResourcePool
referenced by the parameter rp
requires System.Read
. list
in interface ImportFlag
rp
- The identifier of resource pool target for retrieving the import flag(s).
The parameter must be an identifier for the resource type: ResourcePool
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String rp, AsyncCallback<java.util.List<ImportFlagTypes.Info>> asyncCallback, InvocationConfig invocationConfig)
ImportFlag
The supported flags are:
Future server versions might support additional flags.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
A List
of supported import flags.
Operation Errors:
NotFound
- If the resource pool associated with rp
does not exist.
Unauthorized
- if you do not have all of the privileges described as follows:
System.Read
. ResourcePool
referenced by the parameter rp
requires System.Read
. list
in interface ImportFlag
rp
- The identifier of resource pool target for retrieving the import flag(s).
The parameter must be an identifier for the resource type: ResourcePool
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.