public class NSXTier0GatewayStub extends com.vmware.vapi.internal.bindings.Stub implements NSXTier0Gateway
NSXTier0Gateway
API service.
WARNING: Internal class, subject to change in future versions.
NSXTier0GatewayTypes.SummaryapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
NSXTier0GatewayStub(ApiProvider apiProvider,
StubConfigurationBase config) |
NSXTier0GatewayStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<NSXTier0GatewayTypes.Summary> |
list(java.lang.String distributedSwitch)
Returns information of NSX-T Tier0 Gateways associated with a Distributed
Switch.
|
void |
list(java.lang.String distributedSwitch,
AsyncCallback<java.util.List<NSXTier0GatewayTypes.Summary>> asyncCallback)
Returns information of NSX-T Tier0 Gateways associated with a Distributed
Switch.
|
void |
list(java.lang.String distributedSwitch,
AsyncCallback<java.util.List<NSXTier0GatewayTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns information of NSX-T Tier0 Gateways associated with a Distributed
Switch.
|
java.util.List<NSXTier0GatewayTypes.Summary> |
list(java.lang.String distributedSwitch,
InvocationConfig invocationConfig)
Returns information of NSX-T Tier0 Gateways associated with a Distributed
Switch.
|
public NSXTier0GatewayStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public NSXTier0GatewayStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<NSXTier0GatewayTypes.Summary> list(java.lang.String distributedSwitch)
NSXTier0GatewaySynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface NSXTier0GatewaydistributedSwitch - Identifier of a Distributed Switch. Only CVDS type of distributed switches is
supported. Only Tier0 Gateways that are associated with the particular
Distributed Switch will be listed.
The parameter must be an identifier for the resource type: vSphereDistributedSwitch.public java.util.List<NSXTier0GatewayTypes.Summary> list(java.lang.String distributedSwitch, InvocationConfig invocationConfig)
NSXTier0GatewaySynchronous 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 NSXTier0GatewaydistributedSwitch - Identifier of a Distributed Switch. Only CVDS type of distributed switches is
supported. Only Tier0 Gateways that are associated with the particular
Distributed Switch will be listed.
The parameter must be an identifier for the resource type: vSphereDistributedSwitch.invocationConfig - Configuration for the method invocation.public void list(java.lang.String distributedSwitch,
AsyncCallback<java.util.List<NSXTier0GatewayTypes.Summary>> asyncCallback)
NSXTier0GatewayAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
List of summaries of Tier0 Gateways associated with the given Distributed
Switch.
Operation Errors:
Error - if the system reports an error while responding to the request.
InternalServerError - if the server reports an unknown internal error.
NotFound - if no existing Tier0 Gateways associated with the given Distributed Switch can
be found.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have System.Read privilege.
list in interface NSXTier0GatewaydistributedSwitch - Identifier of a Distributed Switch. Only CVDS type of distributed switches is
supported. Only Tier0 Gateways that are associated with the particular
Distributed Switch will be listed.
The parameter must be an identifier for the resource type: vSphereDistributedSwitch.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String distributedSwitch,
AsyncCallback<java.util.List<NSXTier0GatewayTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
NSXTier0GatewayAsynchronous 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 summaries of Tier0 Gateways associated with the given Distributed
Switch.
Operation Errors:
Error - if the system reports an error while responding to the request.
InternalServerError - if the server reports an unknown internal error.
NotFound - if no existing Tier0 Gateways associated with the given Distributed Switch can
be found.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have System.Read privilege.
list in interface NSXTier0GatewaydistributedSwitch - Identifier of a Distributed Switch. Only CVDS type of distributed switches is
supported. Only Tier0 Gateways that are associated with the particular
Distributed Switch will be listed.
The parameter must be an identifier for the resource type: vSphereDistributedSwitch.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.