public class TransportZonesStub extends com.vmware.vapi.internal.bindings.Stub implements TransportZones
TransportZones
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, LIST_TRANSPORT_TYPE_OVERLAY, LIST_TRANSPORT_TYPE_VLAN
Constructor and Description |
---|
TransportZonesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
TransportZonesStub(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 |
---|---|
TransportZone |
create(TransportZone transportZone)
Creates a new transport zone.
|
void |
create(TransportZone transportZone,
com.vmware.vapi.bindings.client.AsyncCallback<TransportZone> asyncCallback)
Creates a new transport zone.
|
void |
create(TransportZone transportZone,
com.vmware.vapi.bindings.client.AsyncCallback<TransportZone> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new transport zone.
|
TransportZone |
create(TransportZone transportZone,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new transport zone.
|
void |
delete(java.lang.String zoneId)
Deletes an existing transport zone.
|
void |
delete(java.lang.String zoneId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deletes an existing transport zone.
|
void |
delete(java.lang.String zoneId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes an existing transport zone.
|
void |
delete(java.lang.String zoneId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes an existing transport zone.
|
TransportZone |
get(java.lang.String zoneId)
Returns information about a single transport zone.
|
void |
get(java.lang.String zoneId,
com.vmware.vapi.bindings.client.AsyncCallback<TransportZone> asyncCallback)
Returns information about a single transport zone.
|
void |
get(java.lang.String zoneId,
com.vmware.vapi.bindings.client.AsyncCallback<TransportZone> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about a single transport zone.
|
TransportZone |
get(java.lang.String zoneId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about a single transport zone.
|
TransportZoneListResult |
list(java.lang.String cursor,
java.lang.String displayName,
java.lang.Boolean includeSystemOwned,
java.lang.String includedFields,
java.lang.Boolean isDefault,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String transportType,
java.lang.String uplinkTeamingPolicyName)
Returns information about configured transport zones.
|
void |
list(java.lang.String cursor,
java.lang.String displayName,
java.lang.Boolean includeSystemOwned,
java.lang.String includedFields,
java.lang.Boolean isDefault,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String transportType,
java.lang.String uplinkTeamingPolicyName,
com.vmware.vapi.bindings.client.AsyncCallback<TransportZoneListResult> asyncCallback)
Returns information about configured transport zones.
|
void |
list(java.lang.String cursor,
java.lang.String displayName,
java.lang.Boolean includeSystemOwned,
java.lang.String includedFields,
java.lang.Boolean isDefault,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String transportType,
java.lang.String uplinkTeamingPolicyName,
com.vmware.vapi.bindings.client.AsyncCallback<TransportZoneListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about configured transport zones.
|
TransportZoneListResult |
list(java.lang.String cursor,
java.lang.String displayName,
java.lang.Boolean includeSystemOwned,
java.lang.String includedFields,
java.lang.Boolean isDefault,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String transportType,
java.lang.String uplinkTeamingPolicyName,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about configured transport zones.
|
TransportZone |
update(java.lang.String zoneId,
TransportZone transportZone)
Updates an existing transport zone.
|
void |
update(java.lang.String zoneId,
TransportZone transportZone,
com.vmware.vapi.bindings.client.AsyncCallback<TransportZone> asyncCallback)
Updates an existing transport zone.
|
void |
update(java.lang.String zoneId,
TransportZone transportZone,
com.vmware.vapi.bindings.client.AsyncCallback<TransportZone> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates an existing transport zone.
|
TransportZone |
update(java.lang.String zoneId,
TransportZone transportZone,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates an existing transport zone.
|
public TransportZonesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public TransportZonesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public TransportZone create(TransportZone transportZone)
TransportZones
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface TransportZones
transportZone
- (required)public TransportZone create(TransportZone transportZone, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TransportZones
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
create
in interface TransportZones
transportZone
- (required)invocationConfig
- Configuration for the method invocation.public void create(TransportZone transportZone, com.vmware.vapi.bindings.client.AsyncCallback<TransportZone> asyncCallback)
TransportZones
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.TransportZone
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface TransportZones
transportZone
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(TransportZone transportZone, com.vmware.vapi.bindings.client.AsyncCallback<TransportZone> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TransportZones
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:
com.vmware.nsx.model.TransportZone
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface TransportZones
transportZone
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String zoneId)
TransportZones
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface TransportZones
zoneId
- (required)public void delete(java.lang.String zoneId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TransportZones
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
delete
in interface TransportZones
zoneId
- (required)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String zoneId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
TransportZones
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
delete
in interface TransportZones
zoneId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String zoneId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TransportZones
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
delete
in interface TransportZones
zoneId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public TransportZone get(java.lang.String zoneId)
TransportZones
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface TransportZones
zoneId
- (required)public TransportZone get(java.lang.String zoneId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TransportZones
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 TransportZones
zoneId
- (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String zoneId, com.vmware.vapi.bindings.client.AsyncCallback<TransportZone> asyncCallback)
TransportZones
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.TransportZone
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface TransportZones
zoneId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String zoneId, com.vmware.vapi.bindings.client.AsyncCallback<TransportZone> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TransportZones
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:
com.vmware.nsx.model.TransportZone
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface TransportZones
zoneId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public TransportZoneListResult list(java.lang.String cursor, java.lang.String displayName, java.lang.Boolean includeSystemOwned, java.lang.String includedFields, java.lang.Boolean isDefault, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String transportType, java.lang.String uplinkTeamingPolicyName)
TransportZones
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface TransportZones
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)displayName
- The transport zone's display name (optional)includeSystemOwned
- Filter to indicate whether to include system owned Transport Zones. (optional,
default to false)includedFields
- Comma separated list of fields that should be included in query result
(optional)isDefault
- Filter to choose if default transport zones will be returned (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)transportType
- Filter to choose the type of transport zones to return (optional)uplinkTeamingPolicyName
- The transport zone's uplink teaming policy name (optional)public TransportZoneListResult list(java.lang.String cursor, java.lang.String displayName, java.lang.Boolean includeSystemOwned, java.lang.String includedFields, java.lang.Boolean isDefault, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String transportType, java.lang.String uplinkTeamingPolicyName, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TransportZones
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 TransportZones
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)displayName
- The transport zone's display name (optional)includeSystemOwned
- Filter to indicate whether to include system owned Transport Zones. (optional,
default to false)includedFields
- Comma separated list of fields that should be included in query result
(optional)isDefault
- Filter to choose if default transport zones will be returned (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)transportType
- Filter to choose the type of transport zones to return (optional)uplinkTeamingPolicyName
- The transport zone's uplink teaming policy name (optional)invocationConfig
- Configuration for the method invocation.public void list(java.lang.String cursor, java.lang.String displayName, java.lang.Boolean includeSystemOwned, java.lang.String includedFields, java.lang.Boolean isDefault, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String transportType, java.lang.String uplinkTeamingPolicyName, com.vmware.vapi.bindings.client.AsyncCallback<TransportZoneListResult> asyncCallback)
TransportZones
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.TransportZoneListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface TransportZones
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)displayName
- The transport zone's display name (optional)includeSystemOwned
- Filter to indicate whether to include system owned Transport Zones. (optional,
default to false)includedFields
- Comma separated list of fields that should be included in query result
(optional)isDefault
- Filter to choose if default transport zones will be returned (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)transportType
- Filter to choose the type of transport zones to return (optional)uplinkTeamingPolicyName
- The transport zone's uplink teaming policy name (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String cursor, java.lang.String displayName, java.lang.Boolean includeSystemOwned, java.lang.String includedFields, java.lang.Boolean isDefault, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String transportType, java.lang.String uplinkTeamingPolicyName, com.vmware.vapi.bindings.client.AsyncCallback<TransportZoneListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TransportZones
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:
com.vmware.nsx.model.TransportZoneListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface TransportZones
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)displayName
- The transport zone's display name (optional)includeSystemOwned
- Filter to indicate whether to include system owned Transport Zones. (optional,
default to false)includedFields
- Comma separated list of fields that should be included in query result
(optional)isDefault
- Filter to choose if default transport zones will be returned (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)transportType
- Filter to choose the type of transport zones to return (optional)uplinkTeamingPolicyName
- The transport zone's uplink teaming policy name (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public TransportZone update(java.lang.String zoneId, TransportZone transportZone)
TransportZones
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface TransportZones
zoneId
- (required)transportZone
- (required)public TransportZone update(java.lang.String zoneId, TransportZone transportZone, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TransportZones
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
update
in interface TransportZones
zoneId
- (required)transportZone
- (required)invocationConfig
- Configuration for the method invocation.public void update(java.lang.String zoneId, TransportZone transportZone, com.vmware.vapi.bindings.client.AsyncCallback<TransportZone> asyncCallback)
TransportZones
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.TransportZone
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface TransportZones
zoneId
- (required)transportZone
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String zoneId, TransportZone transportZone, com.vmware.vapi.bindings.client.AsyncCallback<TransportZone> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TransportZones
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:
com.vmware.nsx.model.TransportZone
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface TransportZones
zoneId
- (required)transportZone
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.