public interface NSXTier0Gateway extends Service, NSXTier0GatewayTypes
NSXTier0Gateway
provides methods to get information of NSX Tier0
Gateways. This interface was added in vSphere API 7.0.2.0.NSXTier0GatewayTypes.Summary
_VAPI_SERVICE_ID
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.
|
java.util.List<NSXTier0GatewayTypes.Summary> list(java.lang.String distributedSwitch)
Synchronous method overload. Result of the invocation will be reported as a method return value.
distributedSwitch
- 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
.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.java.util.List<NSXTier0GatewayTypes.Summary> list(java.lang.String distributedSwitch, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
distributedSwitch
- 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.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.void list(java.lang.String distributedSwitch, AsyncCallback<java.util.List<NSXTier0GatewayTypes.Summary>> asyncCallback)
Asynchronous 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.
distributedSwitch
- 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.void list(java.lang.String distributedSwitch, AsyncCallback<java.util.List<NSXTier0GatewayTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
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 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.
distributedSwitch
- 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.