public class AdvertisementStub extends com.vmware.vapi.internal.bindings.Stub implements Advertisement
Advertisement
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
AdvertisementStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
AdvertisementStub(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 |
---|---|
AdvertisementConfig |
get(java.lang.String logicalRouterId)
Returns information about the routes to be advertised by the specified TIER1
logical router.
|
void |
get(java.lang.String logicalRouterId,
com.vmware.vapi.bindings.client.AsyncCallback<AdvertisementConfig> asyncCallback)
Returns information about the routes to be advertised by the specified TIER1
logical router.
|
void |
get(java.lang.String logicalRouterId,
com.vmware.vapi.bindings.client.AsyncCallback<AdvertisementConfig> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the routes to be advertised by the specified TIER1
logical router.
|
AdvertisementConfig |
get(java.lang.String logicalRouterId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the routes to be advertised by the specified TIER1
logical router.
|
AdvertisementConfig |
update(java.lang.String logicalRouterId,
AdvertisementConfig advertisementConfig)
Modifies the route advertisement configuration on the specified logical router.
|
void |
update(java.lang.String logicalRouterId,
AdvertisementConfig advertisementConfig,
com.vmware.vapi.bindings.client.AsyncCallback<AdvertisementConfig> asyncCallback)
Modifies the route advertisement configuration on the specified logical router.
|
void |
update(java.lang.String logicalRouterId,
AdvertisementConfig advertisementConfig,
com.vmware.vapi.bindings.client.AsyncCallback<AdvertisementConfig> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies the route advertisement configuration on the specified logical router.
|
AdvertisementConfig |
update(java.lang.String logicalRouterId,
AdvertisementConfig advertisementConfig,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies the route advertisement configuration on the specified logical router.
|
public AdvertisementStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public AdvertisementStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public AdvertisementConfig get(java.lang.String logicalRouterId)
Advertisement
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Advertisement
logicalRouterId
- (required)public AdvertisementConfig get(java.lang.String logicalRouterId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Advertisement
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 Advertisement
logicalRouterId
- (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String logicalRouterId, com.vmware.vapi.bindings.client.AsyncCallback<AdvertisementConfig> asyncCallback)
Advertisement
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.AdvertisementConfig
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface Advertisement
logicalRouterId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String logicalRouterId, com.vmware.vapi.bindings.client.AsyncCallback<AdvertisementConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Advertisement
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.AdvertisementConfig
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface Advertisement
logicalRouterId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public AdvertisementConfig update(java.lang.String logicalRouterId, AdvertisementConfig advertisementConfig)
Advertisement
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface Advertisement
logicalRouterId
- (required)advertisementConfig
- (required)public AdvertisementConfig update(java.lang.String logicalRouterId, AdvertisementConfig advertisementConfig, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Advertisement
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 Advertisement
logicalRouterId
- (required)advertisementConfig
- (required)invocationConfig
- Configuration for the method invocation.public void update(java.lang.String logicalRouterId, AdvertisementConfig advertisementConfig, com.vmware.vapi.bindings.client.AsyncCallback<AdvertisementConfig> asyncCallback)
Advertisement
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.AdvertisementConfig
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface Advertisement
logicalRouterId
- (required)advertisementConfig
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String logicalRouterId, AdvertisementConfig advertisementConfig, com.vmware.vapi.bindings.client.AsyncCallback<AdvertisementConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Advertisement
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.AdvertisementConfig
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface Advertisement
logicalRouterId
- (required)advertisementConfig
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.