Class DirectLink
- java.lang.Object
- 
- com.ibm.cloud.sdk.core.service.BaseService
- 
- com.ibm.cloud.networking.direct_link.v1.DirectLink
 
 
- 
 public class DirectLink extends com.ibm.cloud.sdk.core.service.BaseServiceNo description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator). API Version: __VERSION__
- 
- 
Field SummaryFields Modifier and Type Field Description static StringDEFAULT_SERVICE_NAMEDefault service name used when configuring the `DirectLink` client.static StringDEFAULT_SERVICE_URLDefault service endpoint URL.
 - 
Constructor SummaryConstructors Constructor Description DirectLink(String version, String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)Constructs an instance of the `DirectLink` client.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.ibm.cloud.sdk.core.http.ServiceCall<Gateway>createGateway(CreateGatewayOptions createGatewayOptions)Create gateway.com.ibm.cloud.sdk.core.http.ServiceCall<Gateway>createGatewayAction(CreateGatewayActionOptions createGatewayActionOptions)Approve or reject change requests.com.ibm.cloud.sdk.core.http.ServiceCall<Void>createGatewayCompletionNotice(CreateGatewayCompletionNoticeOptions createGatewayCompletionNoticeOptions)Create completion notice.com.ibm.cloud.sdk.core.http.ServiceCall<RouteFilter>createGatewayExportRouteFilter(CreateGatewayExportRouteFilterOptions createGatewayExportRouteFilterOptions)Create an export route filter.com.ibm.cloud.sdk.core.http.ServiceCall<RouteFilter>createGatewayImportRouteFilter(CreateGatewayImportRouteFilterOptions createGatewayImportRouteFilterOptions)Create an import route filter.com.ibm.cloud.sdk.core.http.ServiceCall<RouteReport>createGatewayRouteReport(CreateGatewayRouteReportOptions createGatewayRouteReportOptions)Request a route report.com.ibm.cloud.sdk.core.http.ServiceCall<GatewayVirtualConnection>createGatewayVirtualConnection(CreateGatewayVirtualConnectionOptions createGatewayVirtualConnectionOptions)Create virtual connection.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteGateway(DeleteGatewayOptions deleteGatewayOptions)Delete gateway.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteGatewayExportRouteFilter(DeleteGatewayExportRouteFilterOptions deleteGatewayExportRouteFilterOptions)Remove export route filter from Direct Link gateway.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteGatewayImportRouteFilter(DeleteGatewayImportRouteFilterOptions deleteGatewayImportRouteFilterOptions)Remove import route filter from Direct Link gateway.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteGatewayRouteReport(DeleteGatewayRouteReportOptions deleteGatewayRouteReportOptions)Delete route report.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteGatewayVirtualConnection(DeleteGatewayVirtualConnectionOptions deleteGatewayVirtualConnectionOptions)Delete virtual connection.com.ibm.cloud.sdk.core.http.ServiceCall<GetGatewayResponse>getGateway(GetGatewayOptions getGatewayOptions)Get gateway.com.ibm.cloud.sdk.core.http.ServiceCall<RouteFilter>getGatewayExportRouteFilter(GetGatewayExportRouteFilterOptions getGatewayExportRouteFilterOptions)Retrieves the specified Direct Link gateway export route filter.com.ibm.cloud.sdk.core.http.ServiceCall<RouteFilter>getGatewayImportRouteFilter(GetGatewayImportRouteFilterOptions getGatewayImportRouteFilterOptions)Retrieves the specified Direct Link gateway import route filter.com.ibm.cloud.sdk.core.http.ServiceCall<RouteReport>getGatewayRouteReport(GetGatewayRouteReportOptions getGatewayRouteReportOptions)Retrieve route report.com.ibm.cloud.sdk.core.http.ServiceCall<GatewayStatisticCollection>getGatewayStatistics(GetGatewayStatisticsOptions getGatewayStatisticsOptions)Gateway statistics/debug information.com.ibm.cloud.sdk.core.http.ServiceCall<GatewayStatusCollection>getGatewayStatus(GetGatewayStatusOptions getGatewayStatusOptions)Gateway status information.com.ibm.cloud.sdk.core.http.ServiceCall<GatewayVirtualConnection>getGatewayVirtualConnection(GetGatewayVirtualConnectionOptions getGatewayVirtualConnectionOptions)Get virtual connection.com.ibm.cloud.sdk.core.http.ServiceCall<Port>getPort(GetPortOptions getPortOptions)Get port.StringgetVersion()Gets the version.com.ibm.cloud.sdk.core.http.ServiceCall<AsPrependCollection>listGatewayAsPrepends(ListGatewayAsPrependsOptions listGatewayAsPrependsOptions)List AS Prepends.com.ibm.cloud.sdk.core.http.ServiceCall<InputStream>listGatewayCompletionNotice(ListGatewayCompletionNoticeOptions listGatewayCompletionNoticeOptions)Get completion notice.com.ibm.cloud.sdk.core.http.ServiceCall<ExportRouteFilterCollection>listGatewayExportRouteFilters(ListGatewayExportRouteFiltersOptions listGatewayExportRouteFiltersOptions)List export route filters.com.ibm.cloud.sdk.core.http.ServiceCall<ImportRouteFilterCollection>listGatewayImportRouteFilters(ListGatewayImportRouteFiltersOptions listGatewayImportRouteFiltersOptions)List import route filters.com.ibm.cloud.sdk.core.http.ServiceCall<InputStream>listGatewayLetterOfAuthorization(ListGatewayLetterOfAuthorizationOptions listGatewayLetterOfAuthorizationOptions)Get letter of authorization.com.ibm.cloud.sdk.core.http.ServiceCall<RouteReportCollection>listGatewayRouteReports(ListGatewayRouteReportsOptions listGatewayRouteReportsOptions)List route reports.com.ibm.cloud.sdk.core.http.ServiceCall<GatewayCollection>listGateways()List gateways.com.ibm.cloud.sdk.core.http.ServiceCall<GatewayCollection>listGateways(ListGatewaysOptions listGatewaysOptions)List gateways.com.ibm.cloud.sdk.core.http.ServiceCall<GatewayVirtualConnectionCollection>listGatewayVirtualConnections(ListGatewayVirtualConnectionsOptions listGatewayVirtualConnectionsOptions)List virtual connections.com.ibm.cloud.sdk.core.http.ServiceCall<LocationCrossConnectRouterCollection>listOfferingTypeLocationCrossConnectRouters(ListOfferingTypeLocationCrossConnectRoutersOptions listOfferingTypeLocationCrossConnectRoutersOptions)List routers.com.ibm.cloud.sdk.core.http.ServiceCall<LocationCollection>listOfferingTypeLocations(ListOfferingTypeLocationsOptions listOfferingTypeLocationsOptions)List available locations.com.ibm.cloud.sdk.core.http.ServiceCall<OfferingSpeedCollection>listOfferingTypeSpeeds(ListOfferingTypeSpeedsOptions listOfferingTypeSpeedsOptions)List speed options.com.ibm.cloud.sdk.core.http.ServiceCall<PortCollection>listPorts()List ports.com.ibm.cloud.sdk.core.http.ServiceCall<PortCollection>listPorts(ListPortsOptions listPortsOptions)List ports.static DirectLinknewInstance(String version)Class method which constructs an instance of the `DirectLink` client.static DirectLinknewInstance(String version, String serviceName)Class method which constructs an instance of the `DirectLink` client.com.ibm.cloud.sdk.core.http.ServiceCall<AsPrependCollection>replaceGatewayAsPrepends(ReplaceGatewayAsPrependsOptions replaceGatewayAsPrependsOptions)Replace existing AS Prepends.com.ibm.cloud.sdk.core.http.ServiceCall<ExportRouteFilterCollection>replaceGatewayExportRouteFilters(ReplaceGatewayExportRouteFiltersOptions replaceGatewayExportRouteFiltersOptions)Replace existing export route filters.com.ibm.cloud.sdk.core.http.ServiceCall<ImportRouteFilterCollection>replaceGatewayImportRouteFilters(ReplaceGatewayImportRouteFiltersOptions replaceGatewayImportRouteFiltersOptions)Replace existing import route filters.voidsetVersion(String version)Sets the version.com.ibm.cloud.sdk.core.http.ServiceCall<Gateway>updateGateway(UpdateGatewayOptions updateGatewayOptions)Update gateway.com.ibm.cloud.sdk.core.http.ServiceCall<RouteFilter>updateGatewayExportRouteFilter(UpdateGatewayExportRouteFilterOptions updateGatewayExportRouteFilterOptions)Updates the specified Direct Link gateway export route filter.com.ibm.cloud.sdk.core.http.ServiceCall<RouteFilter>updateGatewayImportRouteFilter(UpdateGatewayImportRouteFilterOptions updateGatewayImportRouteFilterOptions)Updates the specified Direct Link gateway import route filter.com.ibm.cloud.sdk.core.http.ServiceCall<GatewayVirtualConnection>updateGatewayVirtualConnection(UpdateGatewayVirtualConnectionOptions updateGatewayVirtualConnectionOptions)Update virtual connection.- 
Methods inherited from class com.ibm.cloud.sdk.core.service.BaseServiceconfigureClient, configureService, constructServiceUrl, constructServiceURL, disableRetries, enableGzipCompression, enableRetries, getAuthenticator, getClient, getDefaultHeaders, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, setClient, setDefaultHeaders, setEndPoint, setServiceUrl, toString
 
- 
 
- 
- 
- 
Field Detail- 
DEFAULT_SERVICE_NAMEpublic static final String DEFAULT_SERVICE_NAME Default service name used when configuring the `DirectLink` client.- See Also:
- Constant Field Values
 
 - 
DEFAULT_SERVICE_URLpublic static final String DEFAULT_SERVICE_URL Default service endpoint URL.- See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
DirectLinkpublic DirectLink(String version, String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator) Constructs an instance of the `DirectLink` client. The specified service name and authenticator are used to configure the client instance.- Parameters:
- version- Requests the version of the API as a date in the format `YYYY-MM-DD`. Any date from 2019-12-13 up to the current date may be provided. Specify the current date to request the latest version.
- serviceName- the service name to be used when configuring the client instance
- authenticator- the- Authenticatorinstance to be configured for this client
 
 
- 
 - 
Method Detail- 
newInstancepublic static DirectLink newInstance(String version) Class method which constructs an instance of the `DirectLink` client. The default service name is used to configure the client instance.- Parameters:
- version- Requests the version of the API as a date in the format `YYYY-MM-DD`. Any date from 2019-12-13 up to the current date may be provided. Specify the current date to request the latest version.
- Returns:
- an instance of the `DirectLink` client using external configuration
 
 - 
newInstancepublic static DirectLink newInstance(String version, String serviceName) Class method which constructs an instance of the `DirectLink` client. The specified service name is used to configure the client instance.- Parameters:
- version- Requests the version of the API as a date in the format `YYYY-MM-DD`. Any date from 2019-12-13 up to the current date may be provided. Specify the current date to request the latest version.
- serviceName- the service name to be used when configuring the client instance
- Returns:
- an instance of the `DirectLink` client using external configuration
 
 - 
getVersionpublic String getVersion() Gets the version. Requests the version of the API as a date in the format `YYYY-MM-DD`. Any date from 2019-12-13 up to the current date may be provided. Specify the current date to request the latest version.- Returns:
- the version
 
 - 
setVersionpublic void setVersion(String version) Sets the version.- Parameters:
- version- the new version
 
 - 
listGatewayspublic com.ibm.cloud.sdk.core.http.ServiceCall<GatewayCollection> listGateways(ListGatewaysOptions listGatewaysOptions) List gateways. List all Direct Link gateways in this account. Gateways in other accounts with connections to networks in this account are also returned.- Parameters:
- listGatewaysOptions- the- ListGatewaysOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeGatewayCollection
 
 - 
listGatewayspublic com.ibm.cloud.sdk.core.http.ServiceCall<GatewayCollection> listGateways() List gateways. List all Direct Link gateways in this account. Gateways in other accounts with connections to networks in this account are also returned.- Returns:
- a ServiceCallwith a result of typeGatewayCollection
 
 - 
createGatewaypublic com.ibm.cloud.sdk.core.http.ServiceCall<Gateway> createGateway(CreateGatewayOptions createGatewayOptions) Create gateway. Creates a Direct Link gateway based on the supplied template.- Parameters:
- createGatewayOptions- the- CreateGatewayOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeGateway
 
 - 
deleteGatewaypublic com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteGateway(DeleteGatewayOptions deleteGatewayOptions) Delete gateway. Delete a Direct Link gateway.- Parameters:
- deleteGatewayOptions- the- DeleteGatewayOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a void result
 
 - 
getGatewaypublic com.ibm.cloud.sdk.core.http.ServiceCall<GetGatewayResponse> getGateway(GetGatewayOptions getGatewayOptions) Get gateway. Retrieve a Direct Link gateway.- Parameters:
- getGatewayOptions- the- GetGatewayOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeGetGatewayResponse
 
 - 
updateGatewaypublic com.ibm.cloud.sdk.core.http.ServiceCall<Gateway> updateGateway(UpdateGatewayOptions updateGatewayOptions) Update gateway. Update a Direct Link gateway.- Parameters:
- updateGatewayOptions- the- UpdateGatewayOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeGateway
 
 - 
createGatewayActionpublic com.ibm.cloud.sdk.core.http.ServiceCall<Gateway> createGatewayAction(CreateGatewayActionOptions createGatewayActionOptions) Approve or reject change requests. Approve or reject a gateway's current oustanding change request. This API is only used for provider created Direct Link Connect gateways to approve or reject specific changes initiated from a provider portal.- Parameters:
- createGatewayActionOptions- the- CreateGatewayActionOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeGateway
 
 - 
listGatewayCompletionNoticepublic com.ibm.cloud.sdk.core.http.ServiceCall<InputStream> listGatewayCompletionNotice(ListGatewayCompletionNoticeOptions listGatewayCompletionNoticeOptions) Get completion notice. Retrieve a Direct Link Dedicated gateway's completion notice.- Parameters:
- listGatewayCompletionNoticeOptions- the- ListGatewayCompletionNoticeOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeInputStream
 
 - 
createGatewayCompletionNoticepublic com.ibm.cloud.sdk.core.http.ServiceCall<Void> createGatewayCompletionNotice(CreateGatewayCompletionNoticeOptions createGatewayCompletionNoticeOptions) Create completion notice. Upload a Direct Link Dedicated gateway completion notice.- Parameters:
- createGatewayCompletionNoticeOptions- the- CreateGatewayCompletionNoticeOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a void result
 
 - 
listGatewayLetterOfAuthorizationpublic com.ibm.cloud.sdk.core.http.ServiceCall<InputStream> listGatewayLetterOfAuthorization(ListGatewayLetterOfAuthorizationOptions listGatewayLetterOfAuthorizationOptions) Get letter of authorization. Retrieve a Direct Link Dedicated gateway's Letter of Authorization.- Parameters:
- listGatewayLetterOfAuthorizationOptions- the- ListGatewayLetterOfAuthorizationOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeInputStream
 
 - 
getGatewayStatisticspublic com.ibm.cloud.sdk.core.http.ServiceCall<GatewayStatisticCollection> getGatewayStatistics(GetGatewayStatisticsOptions getGatewayStatisticsOptions) Gateway statistics/debug information. Retrieve gateway statistics or debug information. Specify statistic to retrieve using required `type` query parameter.- Parameters:
- getGatewayStatisticsOptions- the- GetGatewayStatisticsOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeGatewayStatisticCollection
 
 - 
getGatewayStatuspublic com.ibm.cloud.sdk.core.http.ServiceCall<GatewayStatusCollection> getGatewayStatus(GetGatewayStatusOptions getGatewayStatusOptions) Gateway status information. Retrieve gateway status. Specify status to retrieve using required `type` query parameter.- Parameters:
- getGatewayStatusOptions- the- GetGatewayStatusOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeGatewayStatusCollection
 
 - 
listGatewayExportRouteFilterspublic com.ibm.cloud.sdk.core.http.ServiceCall<ExportRouteFilterCollection> listGatewayExportRouteFilters(ListGatewayExportRouteFiltersOptions listGatewayExportRouteFiltersOptions) List export route filters. List all export route filters that influence the export routes advertised to the on premises network and learned from attached virtual connections of the Direct Link gateway. The first export route filter an export route matches will determine whether the route is permitted or denied to be advertised by the Direct Link gateway. Route filter order is determined by the filter's `before` field. If an export route does not match any of the export route filters, the route is subject to the `default_export_route_filter` of the direct link.- Parameters:
- listGatewayExportRouteFiltersOptions- the- ListGatewayExportRouteFiltersOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeExportRouteFilterCollection
 
 - 
createGatewayExportRouteFilterpublic com.ibm.cloud.sdk.core.http.ServiceCall<RouteFilter> createGatewayExportRouteFilter(CreateGatewayExportRouteFilterOptions createGatewayExportRouteFilterOptions) Create an export route filter. Create a new export route filter to be configured on the Direct Link gateway. This call can result in an implicit update to another route filter's `before` field. If the request's route filter template does not contain a `before` field, the created filter will be added to the end of of the list. The filter previously at the end of the list will have it's `before` field set to the created route filter. If the request's route filter template contains a `before` field, the created filter will be added directly before that specified route filter. If the specified route filter has a preceding route filter, that filter's `before` field is updated to the created route filter.- Parameters:
- createGatewayExportRouteFilterOptions- the- CreateGatewayExportRouteFilterOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeRouteFilter
 
 - 
replaceGatewayExportRouteFilterspublic com.ibm.cloud.sdk.core.http.ServiceCall<ExportRouteFilterCollection> replaceGatewayExportRouteFilters(ReplaceGatewayExportRouteFiltersOptions replaceGatewayExportRouteFiltersOptions) Replace existing export route filters. Replace all existing export route filters configured on the Direct Link gateway.- Parameters:
- replaceGatewayExportRouteFiltersOptions- the- ReplaceGatewayExportRouteFiltersOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeExportRouteFilterCollection
 
 - 
deleteGatewayExportRouteFilterpublic com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteGatewayExportRouteFilter(DeleteGatewayExportRouteFilterOptions deleteGatewayExportRouteFilterOptions) Remove export route filter from Direct Link gateway. Delete an export route filter. Deleting an export route filter will implicitly update the preceding filter's `before` field to the filter that follows the deleted filter. The preceding filter will result with an empty `before` field if there is no filter following the deleted route filter.- Parameters:
- deleteGatewayExportRouteFilterOptions- the- DeleteGatewayExportRouteFilterOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a void result
 
 - 
getGatewayExportRouteFilterpublic com.ibm.cloud.sdk.core.http.ServiceCall<RouteFilter> getGatewayExportRouteFilter(GetGatewayExportRouteFilterOptions getGatewayExportRouteFilterOptions) Retrieves the specified Direct Link gateway export route filter. Retrieve an export route filter from the Direct Link gateway.- Parameters:
- getGatewayExportRouteFilterOptions- the- GetGatewayExportRouteFilterOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeRouteFilter
 
 - 
updateGatewayExportRouteFilterpublic com.ibm.cloud.sdk.core.http.ServiceCall<RouteFilter> updateGatewayExportRouteFilter(UpdateGatewayExportRouteFilterOptions updateGatewayExportRouteFilterOptions) Updates the specified Direct Link gateway export route filter. Update an export route filter from the Direct Link gateway. Updating a route filter's `before` field will result in implicit updates to other route filters' `before` fields. Considering the updated filter prior to the update, the preceding route filter's `before` field will be set to the filter following the updating route filter, if present. Otherwise it is set to empty. Considering the updated filter after the update, if the new filter following the updated filter has an existing filter preceding it, that preceding filter's `before` field will be set to the updated filter.- Parameters:
- updateGatewayExportRouteFilterOptions- the- UpdateGatewayExportRouteFilterOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeRouteFilter
 
 - 
listGatewayImportRouteFilterspublic com.ibm.cloud.sdk.core.http.ServiceCall<ImportRouteFilterCollection> listGatewayImportRouteFilters(ListGatewayImportRouteFiltersOptions listGatewayImportRouteFiltersOptions) List import route filters. List all import route filters that influence the import routes learned from the on premises network. The first import route filter an import route matches will determine whether the route is permitted or denied to be learned by the Direct Link gateway. Route filter order is determined by the filter's `before` field. If an import route does not match any of the import route filters, the route is subject to the `default_import_route_filter` of the direct link.- Parameters:
- listGatewayImportRouteFiltersOptions- the- ListGatewayImportRouteFiltersOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeImportRouteFilterCollection
 
 - 
createGatewayImportRouteFilterpublic com.ibm.cloud.sdk.core.http.ServiceCall<RouteFilter> createGatewayImportRouteFilter(CreateGatewayImportRouteFilterOptions createGatewayImportRouteFilterOptions) Create an import route filter. Create a new import route filter to be configured on the Direct Link gateway. This call can result in an implicit update to another route filter's `before` field. If the request's route filter template does not contain a `before` field, the created filter will be added to the end of of the list. The filter previously at the end of the list will have it's `before` field set to the created route filter. If the request's route filter template contains a `before` field, the created filter will be added directly before that specified route filter. If the specified route filter has a preceding route filter, that filter's `before` field is updated to the created route filter.- Parameters:
- createGatewayImportRouteFilterOptions- the- CreateGatewayImportRouteFilterOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeRouteFilter
 
 - 
replaceGatewayImportRouteFilterspublic com.ibm.cloud.sdk.core.http.ServiceCall<ImportRouteFilterCollection> replaceGatewayImportRouteFilters(ReplaceGatewayImportRouteFiltersOptions replaceGatewayImportRouteFiltersOptions) Replace existing import route filters. Replace all existing import route filters configured on the Direct Link gateway.- Parameters:
- replaceGatewayImportRouteFiltersOptions- the- ReplaceGatewayImportRouteFiltersOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeImportRouteFilterCollection
 
 - 
deleteGatewayImportRouteFilterpublic com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteGatewayImportRouteFilter(DeleteGatewayImportRouteFilterOptions deleteGatewayImportRouteFilterOptions) Remove import route filter from Direct Link gateway. Delete an import route filter. Deleting an import route filter will implicitly update the preceding filter's `before` field to the filter that follows the deleted filter. The preceding filter will result with an empty `before` field if there is no filter following the deleted route filter.- Parameters:
- deleteGatewayImportRouteFilterOptions- the- DeleteGatewayImportRouteFilterOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a void result
 
 - 
getGatewayImportRouteFilterpublic com.ibm.cloud.sdk.core.http.ServiceCall<RouteFilter> getGatewayImportRouteFilter(GetGatewayImportRouteFilterOptions getGatewayImportRouteFilterOptions) Retrieves the specified Direct Link gateway import route filter. Retrieve an import route filter from the Direct Link gateway.- Parameters:
- getGatewayImportRouteFilterOptions- the- GetGatewayImportRouteFilterOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeRouteFilter
 
 - 
updateGatewayImportRouteFilterpublic com.ibm.cloud.sdk.core.http.ServiceCall<RouteFilter> updateGatewayImportRouteFilter(UpdateGatewayImportRouteFilterOptions updateGatewayImportRouteFilterOptions) Updates the specified Direct Link gateway import route filter. Update an import route filter from the Direct Link gateway. Updating a route filter's `before` field will result in implicit updates to other route filters' `before` fields. Considering the updated filter prior to the update, the preceding route filter's `before` field will be set to the filter following the updating route filter, if present. Otherwise it is set to empty. Considering the updated filter after the update, if the new filter following the updated filter has an existing filter preceding it, that preceding filter's `before` field will be set to the updated filter.- Parameters:
- updateGatewayImportRouteFilterOptions- the- UpdateGatewayImportRouteFilterOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeRouteFilter
 
 - 
listGatewayRouteReportspublic com.ibm.cloud.sdk.core.http.ServiceCall<RouteReportCollection> listGatewayRouteReports(ListGatewayRouteReportsOptions listGatewayRouteReportsOptions) List route reports. Retrieve all route reports for the specified Direct Link gateway.- Parameters:
- listGatewayRouteReportsOptions- the- ListGatewayRouteReportsOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeRouteReportCollection
 
 - 
createGatewayRouteReportpublic com.ibm.cloud.sdk.core.http.ServiceCall<RouteReport> createGatewayRouteReport(CreateGatewayRouteReportOptions createGatewayRouteReportOptions) Request a route report. Request route report generation. While report generation is in progress, additional requests to generate a report are ignored and return the current pending report. While `status` is `pending`, `gateway_routes`, `on_prem_routes`, `virtual_connection_routes`, and `overlapping_routes` will be empty arrays. These fields will be filled when the `status` enters the `complete` status. Call `get_gateway_route_report` with the pending route report's `id` to check on the current status of the report.- Parameters:
- createGatewayRouteReportOptions- the- CreateGatewayRouteReportOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeRouteReport
 
 - 
deleteGatewayRouteReportpublic com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteGatewayRouteReport(DeleteGatewayRouteReportOptions deleteGatewayRouteReportOptions) Delete route report. Delete a route report.- Parameters:
- deleteGatewayRouteReportOptions- the- DeleteGatewayRouteReportOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a void result
 
 - 
getGatewayRouteReportpublic com.ibm.cloud.sdk.core.http.ServiceCall<RouteReport> getGatewayRouteReport(GetGatewayRouteReportOptions getGatewayRouteReportOptions) Retrieve route report. Retrieve a route report.- Parameters:
- getGatewayRouteReportOptions- the- GetGatewayRouteReportOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeRouteReport
 
 - 
listGatewayVirtualConnectionspublic com.ibm.cloud.sdk.core.http.ServiceCall<GatewayVirtualConnectionCollection> listGatewayVirtualConnections(ListGatewayVirtualConnectionsOptions listGatewayVirtualConnectionsOptions) List virtual connections. List a gateway's virtual connections. For gateway in other account with virtual connections that connect to network in this account. Only virtual connections that connect to this account are returned.- Parameters:
- listGatewayVirtualConnectionsOptions- the- ListGatewayVirtualConnectionsOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeGatewayVirtualConnectionCollection
 
 - 
createGatewayVirtualConnectionpublic com.ibm.cloud.sdk.core.http.ServiceCall<GatewayVirtualConnection> createGatewayVirtualConnection(CreateGatewayVirtualConnectionOptions createGatewayVirtualConnectionOptions) Create virtual connection. Create a virtual connection to the specified network.- Parameters:
- createGatewayVirtualConnectionOptions- the- CreateGatewayVirtualConnectionOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeGatewayVirtualConnection
 
 - 
deleteGatewayVirtualConnectionpublic com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteGatewayVirtualConnection(DeleteGatewayVirtualConnectionOptions deleteGatewayVirtualConnectionOptions) Delete virtual connection. Delete the virtual connection.- Parameters:
- deleteGatewayVirtualConnectionOptions- the- DeleteGatewayVirtualConnectionOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a void result
 
 - 
getGatewayVirtualConnectionpublic com.ibm.cloud.sdk.core.http.ServiceCall<GatewayVirtualConnection> getGatewayVirtualConnection(GetGatewayVirtualConnectionOptions getGatewayVirtualConnectionOptions) Get virtual connection. Retrieve a virtual connection.- Parameters:
- getGatewayVirtualConnectionOptions- the- GetGatewayVirtualConnectionOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeGatewayVirtualConnection
 
 - 
updateGatewayVirtualConnectionpublic com.ibm.cloud.sdk.core.http.ServiceCall<GatewayVirtualConnection> updateGatewayVirtualConnection(UpdateGatewayVirtualConnectionOptions updateGatewayVirtualConnectionOptions) Update virtual connection. Update a virtual connection.- Parameters:
- updateGatewayVirtualConnectionOptions- the- UpdateGatewayVirtualConnectionOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeGatewayVirtualConnection
 
 - 
listOfferingTypeLocationspublic com.ibm.cloud.sdk.core.http.ServiceCall<LocationCollection> listOfferingTypeLocations(ListOfferingTypeLocationsOptions listOfferingTypeLocationsOptions) List available locations. Retrieve the list of valid locations for the specified Direct Link offering.- Parameters:
- listOfferingTypeLocationsOptions- the- ListOfferingTypeLocationsOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeLocationCollection
 
 - 
listOfferingTypeLocationCrossConnectRouterspublic com.ibm.cloud.sdk.core.http.ServiceCall<LocationCrossConnectRouterCollection> listOfferingTypeLocationCrossConnectRouters(ListOfferingTypeLocationCrossConnectRoutersOptions listOfferingTypeLocationCrossConnectRoutersOptions) List routers. Retrieve location specific cross connect router information. Only valid for offering_type=dedicated locations.- Parameters:
- listOfferingTypeLocationCrossConnectRoutersOptions- the- ListOfferingTypeLocationCrossConnectRoutersOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeLocationCrossConnectRouterCollection
 
 - 
listOfferingTypeSpeedspublic com.ibm.cloud.sdk.core.http.ServiceCall<OfferingSpeedCollection> listOfferingTypeSpeeds(ListOfferingTypeSpeedsOptions listOfferingTypeSpeedsOptions) List speed options. List the available Direct Link speeds.- Parameters:
- listOfferingTypeSpeedsOptions- the- ListOfferingTypeSpeedsOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeOfferingSpeedCollection
 
 - 
listPortspublic com.ibm.cloud.sdk.core.http.ServiceCall<PortCollection> listPorts(ListPortsOptions listPortsOptions) List ports. Retrieve list of available Direct Link connect ports. These ports can be used to create Direct Link connect gateways.- Parameters:
- listPortsOptions- the- ListPortsOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typePortCollection
 
 - 
listPortspublic com.ibm.cloud.sdk.core.http.ServiceCall<PortCollection> listPorts() List ports. Retrieve list of available Direct Link connect ports. These ports can be used to create Direct Link connect gateways.- Returns:
- a ServiceCallwith a result of typePortCollection
 
 - 
getPortpublic com.ibm.cloud.sdk.core.http.ServiceCall<Port> getPort(GetPortOptions getPortOptions) Get port. Retrieve Direct Link Connect provider port.- Parameters:
- getPortOptions- the- GetPortOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typePort
 
 - 
listGatewayAsPrependspublic com.ibm.cloud.sdk.core.http.ServiceCall<AsPrependCollection> listGatewayAsPrepends(ListGatewayAsPrependsOptions listGatewayAsPrependsOptions) List AS Prepends. Retrieve all AS Prepends for the specified Direct Link gateway.- Parameters:
- listGatewayAsPrependsOptions- the- ListGatewayAsPrependsOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeAsPrependCollection
 
 - 
replaceGatewayAsPrependspublic com.ibm.cloud.sdk.core.http.ServiceCall<AsPrependCollection> replaceGatewayAsPrepends(ReplaceGatewayAsPrependsOptions replaceGatewayAsPrependsOptions) Replace existing AS Prepends. Replace the given set of AS prepends on the specified gateway. Existing resources may be reused when the individual AS Prepend item is unchanged.- Parameters:
- replaceGatewayAsPrependsOptions- the- ReplaceGatewayAsPrependsOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeAsPrependCollection
 
 
- 
 
-