public class ConfigTargetsStub extends com.vmware.vapi.internal.bindings.Stub implements ConfigTargets
ConfigTargets
API service.
WARNING: Internal class, subject to change in future versions.
ConfigTargetsTypes.ConfigTargetSpec, ConfigTargetsTypes.GetParams, ConfigTargetsTypes.Info
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ConfigTargetsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ConfigTargetsStub(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 |
---|---|
ConfigTargetsTypes.Info |
get(ConfigTargetsTypes.GetParams params)
Queries for information about a specific target, a "physical" device that can be
used to back virtual devices.
|
void |
get(ConfigTargetsTypes.GetParams params,
com.vmware.vapi.bindings.client.AsyncCallback<ConfigTargetsTypes.Info> asyncCallback)
Queries for information about a specific target, a "physical" device that can be
used to back virtual devices.
|
void |
get(ConfigTargetsTypes.GetParams params,
com.vmware.vapi.bindings.client.AsyncCallback<ConfigTargetsTypes.Info> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Queries for information about a specific target, a "physical" device that can be
used to back virtual devices.
|
ConfigTargetsTypes.Info |
get(ConfigTargetsTypes.GetParams params,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Queries for information about a specific target, a "physical" device that can be
used to back virtual devices.
|
public ConfigTargetsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ConfigTargetsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public ConfigTargetsTypes.Info get(ConfigTargetsTypes.GetParams params)
ConfigTargets
The returned vim.vm.ConfigTarget specifies the set of values that can be used for device backings to connect the virtual machine to physical, or logical, host devices.
This method requires
additional api_release
request parameter which must be used to guarantee
compatibility with future releases of the API. Consult the vSphere Automation
SDKs Programming Guide for more information.
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface ConfigTargets
params
- Search criteria and a filter to control the results.ConfigTarget
(vim.vm.ConfigTarget
)
with the devices from the specified clusters.public ConfigTargetsTypes.Info get(ConfigTargetsTypes.GetParams params, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ConfigTargets
The returned vim.vm.ConfigTarget specifies the set of values that can be used for device backings to connect the virtual machine to physical, or logical, host devices.
This method requires
additional api_release
request parameter which must be used to guarantee
compatibility with future releases of the API. Consult the vSphere Automation
SDKs Programming Guide for more information.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface ConfigTargets
params
- Search criteria and a filter to control the results.invocationConfig
- Configuration for the method invocation.ConfigTarget
(vim.vm.ConfigTarget
)
with the devices from the specified clusters.public void get(ConfigTargetsTypes.GetParams params, com.vmware.vapi.bindings.client.AsyncCallback<ConfigTargetsTypes.Info> asyncCallback)
ConfigTargets
The returned vim.vm.ConfigTarget specifies the set of values that can be used for device backings to connect the virtual machine to physical, or logical, host devices.
This method requires
additional api_release
request parameter which must be used to guarantee
compatibility with future releases of the API. Consult the vSphere Automation
SDKs Programming Guide for more information.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The VI/JSON representation of ConfigTarget
(vim.vm.ConfigTarget
)
with the devices from the specified clusters.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if invalid search criteria or filter is provided
NotFound
- if one or more of the specified clusters cannot be located.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user doesn't have the required privileges for all the specified clusters.
Unauthorized
- if you do not have all of the privileges described as follows:
ClusterComputeResource
referenced by the property ConfigTargetsTypes.GetParams.getClusters()
requires System.View
. get
in interface ConfigTargets
params
- Search criteria and a filter to control the results.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(ConfigTargetsTypes.GetParams params, com.vmware.vapi.bindings.client.AsyncCallback<ConfigTargetsTypes.Info> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ConfigTargets
The returned vim.vm.ConfigTarget specifies the set of values that can be used for device backings to connect the virtual machine to physical, or logical, host devices.
This method requires
additional api_release
request parameter which must be used to guarantee
compatibility with future releases of the API. Consult the vSphere Automation
SDKs Programming Guide for more information.
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:
The VI/JSON representation of ConfigTarget
(vim.vm.ConfigTarget
)
with the devices from the specified clusters.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if invalid search criteria or filter is provided
NotFound
- if one or more of the specified clusters cannot be located.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user doesn't have the required privileges for all the specified clusters.
Unauthorized
- if you do not have all of the privileges described as follows:
ClusterComputeResource
referenced by the property ConfigTargetsTypes.GetParams.getClusters()
requires System.View
. get
in interface ConfigTargets
params
- Search criteria and a filter to control the results.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.