public class ServiceChainMappingsStub extends com.vmware.vapi.internal.bindings.Stub implements ServiceChainMappings
ServiceChainMappings
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ServiceChainMappingsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ServiceChainMappingsStub(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 |
---|---|
ServiceChainMappingListResult |
list(java.lang.String serviceId,
java.lang.String serviceProfileId)
List all service chain mappings in the system for the given service profile.
|
void |
list(java.lang.String serviceId,
java.lang.String serviceProfileId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceChainMappingListResult> asyncCallback)
List all service chain mappings in the system for the given service profile.
|
void |
list(java.lang.String serviceId,
java.lang.String serviceProfileId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceChainMappingListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all service chain mappings in the system for the given service profile.
|
ServiceChainMappingListResult |
list(java.lang.String serviceId,
java.lang.String serviceProfileId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all service chain mappings in the system for the given service profile.
|
public ServiceChainMappingsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ServiceChainMappingsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public ServiceChainMappingListResult list(java.lang.String serviceId, java.lang.String serviceProfileId)
ServiceChainMappings
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface ServiceChainMappings
serviceId
- (required)serviceProfileId
- (required)public ServiceChainMappingListResult list(java.lang.String serviceId, java.lang.String serviceProfileId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceChainMappings
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 ServiceChainMappings
serviceId
- (required)serviceProfileId
- (required)invocationConfig
- Configuration for the method invocation.public void list(java.lang.String serviceId, java.lang.String serviceProfileId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceChainMappingListResult> asyncCallback)
ServiceChainMappings
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ServiceChainMappingListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface ServiceChainMappings
serviceId
- (required)serviceProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String serviceId, java.lang.String serviceProfileId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceChainMappingListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceChainMappings
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.ServiceChainMappingListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface ServiceChainMappings
serviceId
- (required)serviceProfileId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.