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 Summary
Fields 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 Summary
Constructors Constructor Description DirectLink(String version, String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)Constructs an instance of the `DirectLink` client.
-
Method Summary
All 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<Gateway>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.BaseService
configureClient, configureService, constructServiceUrl, constructServiceURL, disableRetries, enableGzipCompression, enableRetries, getAuthenticator, getClient, getDefaultHeaders, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, setClient, setDefaultHeaders, setEndPoint, setServiceUrl, toString
-
-
-
-
Field Detail
-
DEFAULT_SERVICE_NAME
public static final String DEFAULT_SERVICE_NAME
Default service name used when configuring the `DirectLink` client.- See Also:
- Constant Field Values
-
DEFAULT_SERVICE_URL
public static final String DEFAULT_SERVICE_URL
Default service endpoint URL.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DirectLink
public 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 instanceauthenticator- theAuthenticatorinstance to be configured for this client
-
-
Method Detail
-
newInstance
public 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
-
newInstance
public 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
-
getVersion
public 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
-
setVersion
public void setVersion(String version)
Sets the version.- Parameters:
version- the new version
-
listGateways
public 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- theListGatewaysOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeGatewayCollection
-
listGateways
public 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
-
createGateway
public 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- theCreateGatewayOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeGateway
-
deleteGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteGateway(DeleteGatewayOptions deleteGatewayOptions)
Delete gateway. Delete a Direct Link gateway.- Parameters:
deleteGatewayOptions- theDeleteGatewayOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<Gateway> getGateway(GetGatewayOptions getGatewayOptions)
Get gateway. Retrieve a Direct Link gateway.- Parameters:
getGatewayOptions- theGetGatewayOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeGateway
-
updateGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<Gateway> updateGateway(UpdateGatewayOptions updateGatewayOptions)
Update gateway. Update a Direct Link gateway.- Parameters:
updateGatewayOptions- theUpdateGatewayOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeGateway
-
createGatewayAction
public 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- theCreateGatewayActionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeGateway
-
listGatewayCompletionNotice
public 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- theListGatewayCompletionNoticeOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInputStream
-
createGatewayCompletionNotice
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> createGatewayCompletionNotice(CreateGatewayCompletionNoticeOptions createGatewayCompletionNoticeOptions)
Create completion notice. Upload a Direct Link Dedicated gateway completion notice.- Parameters:
createGatewayCompletionNoticeOptions- theCreateGatewayCompletionNoticeOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
listGatewayLetterOfAuthorization
public 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- theListGatewayLetterOfAuthorizationOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeInputStream
-
getGatewayStatistics
public 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- theGetGatewayStatisticsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeGatewayStatisticCollection
-
getGatewayStatus
public 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- theGetGatewayStatusOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeGatewayStatusCollection
-
listGatewayExportRouteFilters
public 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- theListGatewayExportRouteFiltersOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeExportRouteFilterCollection
-
createGatewayExportRouteFilter
public 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- theCreateGatewayExportRouteFilterOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRouteFilter
-
replaceGatewayExportRouteFilters
public 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- theReplaceGatewayExportRouteFiltersOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeExportRouteFilterCollection
-
deleteGatewayExportRouteFilter
public 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- theDeleteGatewayExportRouteFilterOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getGatewayExportRouteFilter
public 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- theGetGatewayExportRouteFilterOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRouteFilter
-
updateGatewayExportRouteFilter
public 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- theUpdateGatewayExportRouteFilterOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRouteFilter
-
listGatewayImportRouteFilters
public 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- theListGatewayImportRouteFiltersOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeImportRouteFilterCollection
-
createGatewayImportRouteFilter
public 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- theCreateGatewayImportRouteFilterOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRouteFilter
-
replaceGatewayImportRouteFilters
public 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- theReplaceGatewayImportRouteFiltersOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeImportRouteFilterCollection
-
deleteGatewayImportRouteFilter
public 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- theDeleteGatewayImportRouteFilterOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getGatewayImportRouteFilter
public 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- theGetGatewayImportRouteFilterOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRouteFilter
-
updateGatewayImportRouteFilter
public 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- theUpdateGatewayImportRouteFilterOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRouteFilter
-
listGatewayRouteReports
public 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- theListGatewayRouteReportsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRouteReportCollection
-
createGatewayRouteReport
public 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- theCreateGatewayRouteReportOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRouteReport
-
deleteGatewayRouteReport
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteGatewayRouteReport(DeleteGatewayRouteReportOptions deleteGatewayRouteReportOptions)
Delete route report. Delete a route report.- Parameters:
deleteGatewayRouteReportOptions- theDeleteGatewayRouteReportOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getGatewayRouteReport
public com.ibm.cloud.sdk.core.http.ServiceCall<RouteReport> getGatewayRouteReport(GetGatewayRouteReportOptions getGatewayRouteReportOptions)
Retrieve route report. Retrieve a route report.- Parameters:
getGatewayRouteReportOptions- theGetGatewayRouteReportOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRouteReport
-
listGatewayVirtualConnections
public 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- theListGatewayVirtualConnectionsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeGatewayVirtualConnectionCollection
-
createGatewayVirtualConnection
public com.ibm.cloud.sdk.core.http.ServiceCall<GatewayVirtualConnection> createGatewayVirtualConnection(CreateGatewayVirtualConnectionOptions createGatewayVirtualConnectionOptions)
Create virtual connection. Create a virtual connection to the specified network.- Parameters:
createGatewayVirtualConnectionOptions- theCreateGatewayVirtualConnectionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeGatewayVirtualConnection
-
deleteGatewayVirtualConnection
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteGatewayVirtualConnection(DeleteGatewayVirtualConnectionOptions deleteGatewayVirtualConnectionOptions)
Delete virtual connection. Delete the virtual connection.- Parameters:
deleteGatewayVirtualConnectionOptions- theDeleteGatewayVirtualConnectionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getGatewayVirtualConnection
public com.ibm.cloud.sdk.core.http.ServiceCall<GatewayVirtualConnection> getGatewayVirtualConnection(GetGatewayVirtualConnectionOptions getGatewayVirtualConnectionOptions)
Get virtual connection. Retrieve a virtual connection.- Parameters:
getGatewayVirtualConnectionOptions- theGetGatewayVirtualConnectionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeGatewayVirtualConnection
-
updateGatewayVirtualConnection
public com.ibm.cloud.sdk.core.http.ServiceCall<GatewayVirtualConnection> updateGatewayVirtualConnection(UpdateGatewayVirtualConnectionOptions updateGatewayVirtualConnectionOptions)
Update virtual connection. Update a virtual connection.- Parameters:
updateGatewayVirtualConnectionOptions- theUpdateGatewayVirtualConnectionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeGatewayVirtualConnection
-
listOfferingTypeLocations
public 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- theListOfferingTypeLocationsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLocationCollection
-
listOfferingTypeLocationCrossConnectRouters
public 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- theListOfferingTypeLocationCrossConnectRoutersOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLocationCrossConnectRouterCollection
-
listOfferingTypeSpeeds
public com.ibm.cloud.sdk.core.http.ServiceCall<OfferingSpeedCollection> listOfferingTypeSpeeds(ListOfferingTypeSpeedsOptions listOfferingTypeSpeedsOptions)
List speed options. List the available Direct Link speeds.- Parameters:
listOfferingTypeSpeedsOptions- theListOfferingTypeSpeedsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeOfferingSpeedCollection
-
listPorts
public 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- theListPortsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typePortCollection
-
listPorts
public 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
-
getPort
public com.ibm.cloud.sdk.core.http.ServiceCall<Port> getPort(GetPortOptions getPortOptions)
Get port. Retrieve Direct Link Connect provider port.- Parameters:
getPortOptions- theGetPortOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typePort
-
listGatewayAsPrepends
public 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- theListGatewayAsPrependsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeAsPrependCollection
-
replaceGatewayAsPrepends
public 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- theReplaceGatewayAsPrependsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeAsPrependCollection
-
-