public class DistributedSwitchesStub extends com.vmware.vapi.internal.bindings.Stub implements DistributedSwitches
DistributedSwitches
API service.
WARNING: Internal class, subject to change in future versions.
DistributedSwitchesTypes.FilterSpec, DistributedSwitchesTypes.SummaryapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
DistributedSwitchesStub(ApiProvider apiProvider,
StubConfigurationBase config) |
DistributedSwitchesStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<DistributedSwitchesTypes.Summary> |
list(DistributedSwitchesTypes.FilterSpec filter)
Returns basic information of the Distributed Switches matching the
DistributedSwitchesTypes.FilterSpec. |
void |
list(DistributedSwitchesTypes.FilterSpec filter,
AsyncCallback<java.util.List<DistributedSwitchesTypes.Summary>> asyncCallback)
Returns basic information of the Distributed Switches matching the
DistributedSwitchesTypes.FilterSpec. |
void |
list(DistributedSwitchesTypes.FilterSpec filter,
AsyncCallback<java.util.List<DistributedSwitchesTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns basic information of the Distributed Switches matching the
DistributedSwitchesTypes.FilterSpec. |
java.util.List<DistributedSwitchesTypes.Summary> |
list(DistributedSwitchesTypes.FilterSpec filter,
InvocationConfig invocationConfig)
Returns basic information of the Distributed Switches matching the
DistributedSwitchesTypes.FilterSpec. |
public DistributedSwitchesStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public DistributedSwitchesStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<DistributedSwitchesTypes.Summary> list(DistributedSwitchesTypes.FilterSpec filter)
DistributedSwitchesDistributedSwitchesTypes.FilterSpec.
This method was added in vSphere API 8.0.0.1.
Synchronous method overload. Result of the invocation will be reported as a method return value.
list in interface DistributedSwitchesfilter - Specification of matching Distributed Switches for which information should be
returned.
If null, the behavior is equivalent to a DistributedSwitchesTypes.FilterSpec
with all properties null which means all Distributed Switches will be
returned.DistributedSwitchesTypes.FilterSpec.public java.util.List<DistributedSwitchesTypes.Summary> list(DistributedSwitchesTypes.FilterSpec filter, InvocationConfig invocationConfig)
DistributedSwitchesDistributedSwitchesTypes.FilterSpec.
This method was added in vSphere API 8.0.0.1.
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 DistributedSwitchesfilter - Specification of matching Distributed Switches for which information should be
returned.
If null, the behavior is equivalent to a DistributedSwitchesTypes.FilterSpec
with all properties null which means all Distributed Switches will be
returned.invocationConfig - Configuration for the method invocation.DistributedSwitchesTypes.FilterSpec.public void list(DistributedSwitchesTypes.FilterSpec filter, AsyncCallback<java.util.List<DistributedSwitchesTypes.Summary>> asyncCallback)
DistributedSwitchesDistributedSwitchesTypes.FilterSpec.
This method was added in vSphere API 8.0.0.1.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
List of Distributed Switches summaries matching the DistributedSwitchesTypes.FilterSpec.
Operation Errors:
Error - if the system reports an error while responding to the request.
InvalidArgument - if one or more fields of the DistributedSwitchesTypes.FilterSpec
is incorrect.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have System.Read privilege.
list in interface DistributedSwitchesfilter - Specification of matching Distributed Switches for which information should be
returned.
If null, the behavior is equivalent to a DistributedSwitchesTypes.FilterSpec
with all properties null which means all Distributed Switches will be
returned.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(DistributedSwitchesTypes.FilterSpec filter, AsyncCallback<java.util.List<DistributedSwitchesTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
DistributedSwitchesDistributedSwitchesTypes.FilterSpec.
This method was added in vSphere API 8.0.0.1.
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:
List of Distributed Switches summaries matching the DistributedSwitchesTypes.FilterSpec.
Operation Errors:
Error - if the system reports an error while responding to the request.
InvalidArgument - if one or more fields of the DistributedSwitchesTypes.FilterSpec
is incorrect.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have System.Read privilege.
list in interface DistributedSwitchesfilter - Specification of matching Distributed Switches for which information should be
returned.
If null, the behavior is equivalent to a DistributedSwitchesTypes.FilterSpec
with all properties null which means all Distributed Switches will be
returned.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.