Class TransitGatewayApis
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.BaseService
-
- com.ibm.cloud.networking.transit_gateway_apis.v1.TransitGatewayApis
-
public class TransitGatewayApis 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 `TransitGatewayApis` client.static StringDEFAULT_SERVICE_URLDefault service endpoint URL.
-
Constructor Summary
Constructors Constructor Description TransitGatewayApis(String version, String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)Constructs an instance of the `TransitGatewayApis` client.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.ibm.cloud.sdk.core.http.ServiceCall<TransitGateway>createTransitGateway(CreateTransitGatewayOptions createTransitGatewayOptions)Creates a Transit Gateway.com.ibm.cloud.sdk.core.http.ServiceCall<TransitGatewayConnectionCust>createTransitGatewayConnection(CreateTransitGatewayConnectionOptions createTransitGatewayConnectionOptions)Adds a connection to a Transit Gateway.com.ibm.cloud.sdk.core.http.ServiceCall<Void>createTransitGatewayConnectionActions(CreateTransitGatewayConnectionActionsOptions createTransitGatewayConnectionActionsOptions)Performs actions on a connection for a Transit Gateway.com.ibm.cloud.sdk.core.http.ServiceCall<PrefixFilterCust>createTransitGatewayConnectionPrefixFilter(CreateTransitGatewayConnectionPrefixFilterOptions createTransitGatewayConnectionPrefixFilterOptions)Add a prefix filter to a Transit Gateway connection.com.ibm.cloud.sdk.core.http.ServiceCall<TransitGatewayTunnel>createTransitGatewayGreTunnel(CreateTransitGatewayGreTunnelOptions createTransitGatewayGreTunnelOptions)Creates a Transit Gateway redundant GRE tunnel.com.ibm.cloud.sdk.core.http.ServiceCall<RouteReport>createTransitGatewayRouteReport(CreateTransitGatewayRouteReportOptions createTransitGatewayRouteReportOptions)Requests a route report.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteTransitGateway(DeleteTransitGatewayOptions deleteTransitGatewayOptions)Deletes specified Transit Gateway.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteTransitGatewayConnection(DeleteTransitGatewayConnectionOptions deleteTransitGatewayConnectionOptions)Removes a connection from Transit Gateway.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteTransitGatewayConnectionPrefixFilter(DeleteTransitGatewayConnectionPrefixFilterOptions deleteTransitGatewayConnectionPrefixFilterOptions)Remove prefix filter from Transit Gateway connection.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteTransitGatewayConnectionTunnels(DeleteTransitGatewayConnectionTunnelsOptions deleteTransitGatewayConnectionTunnelsOptions)Deletes a specified Transit Gateway redundant GRE tunnel.com.ibm.cloud.sdk.core.http.ServiceCall<Void>deleteTransitGatewayRouteReport(DeleteTransitGatewayRouteReportOptions deleteTransitGatewayRouteReportOptions)Deletes a route report.com.ibm.cloud.sdk.core.http.ServiceCall<TSLocation>getGatewayLocation(GetGatewayLocationOptions getGatewayLocationOptions)Shows the details of a given Transit Gateway location.com.ibm.cloud.sdk.core.http.ServiceCall<RedundancyGroup>getRedundancyGroup(GetRedundancyGroupOptions getRedundancyGroupOptions)Retrieves specified redundancy group.com.ibm.cloud.sdk.core.http.ServiceCall<TransitGateway>getTransitGateway(GetTransitGatewayOptions getTransitGatewayOptions)Retrieves specified Transit Gateway.com.ibm.cloud.sdk.core.http.ServiceCall<TransitGatewayConnectionCust>getTransitGatewayConnection(GetTransitGatewayConnectionOptions getTransitGatewayConnectionOptions)Retrieves specified Transit Gateway connection.com.ibm.cloud.sdk.core.http.ServiceCall<PrefixFilterCust>getTransitGatewayConnectionPrefixFilter(GetTransitGatewayConnectionPrefixFilterOptions getTransitGatewayConnectionPrefixFilterOptions)Retrieves specified Transit Gateway connection prefix filter.com.ibm.cloud.sdk.core.http.ServiceCall<TransitGatewayTunnel>getTransitGatewayConnectionTunnels(GetTransitGatewayConnectionTunnelsOptions getTransitGatewayConnectionTunnelsOptions)Retrieves specified Transit Gateway connection tunnel.com.ibm.cloud.sdk.core.http.ServiceCall<RouteReport>getTransitGatewayRouteReport(GetTransitGatewayRouteReportOptions getTransitGatewayRouteReportOptions)Retrieves a route report.StringgetVersion()Gets the version.com.ibm.cloud.sdk.core.http.ServiceCall<TransitConnectionCollection>listConnections()Retrieves all connections.com.ibm.cloud.sdk.core.http.ServiceCall<TransitConnectionCollection>listConnections(ListConnectionsOptions listConnectionsOptions)Retrieves all connections.com.ibm.cloud.sdk.core.http.ServiceCall<TSCollection>listGatewayLocations()Lists all locations that support Transit Gateways.com.ibm.cloud.sdk.core.http.ServiceCall<TSCollection>listGatewayLocations(ListGatewayLocationsOptions listGatewayLocationsOptions)Lists all locations that support Transit Gateways.com.ibm.cloud.sdk.core.http.ServiceCall<RedundancyGroupCollection>listRedundancyGroups()Lists all redundancy groups in the account.com.ibm.cloud.sdk.core.http.ServiceCall<RedundancyGroupCollection>listRedundancyGroups(ListRedundancyGroupsOptions listRedundancyGroupsOptions)Lists all redundancy groups in the account.com.ibm.cloud.sdk.core.http.ServiceCall<PrefixFilterCollection>listTransitGatewayConnectionPrefixFilters(ListTransitGatewayConnectionPrefixFiltersOptions listTransitGatewayConnectionPrefixFiltersOptions)Retrieves all prefix filters in a Transit Gateway connection.com.ibm.cloud.sdk.core.http.ServiceCall<TransitGatewayConnectionCollection>listTransitGatewayConnections(ListTransitGatewayConnectionsOptions listTransitGatewayConnectionsOptions)Retrieves all connections in a Transit Gateway.com.ibm.cloud.sdk.core.http.ServiceCall<TransitGatewayTunnelCollection>listTransitGatewayGreTunnel(ListTransitGatewayGreTunnelOptions listTransitGatewayGreTunnelOptions)Retrieves specified Transit Gateway redundant gre connection tunnels.com.ibm.cloud.sdk.core.http.ServiceCall<RouteReportCollection>listTransitGatewayRouteReports(ListTransitGatewayRouteReportsOptions listTransitGatewayRouteReportsOptions)Lists route reports.com.ibm.cloud.sdk.core.http.ServiceCall<TransitGatewayCollection>listTransitGateways()Retrieves all Transit Gateways.com.ibm.cloud.sdk.core.http.ServiceCall<TransitGatewayCollection>listTransitGateways(ListTransitGatewaysOptions listTransitGatewaysOptions)Retrieves all Transit Gateways.static TransitGatewayApisnewInstance(String version)Class method which constructs an instance of the `TransitGatewayApis` client.static TransitGatewayApisnewInstance(String version, String serviceName)Class method which constructs an instance of the `TransitGatewayApis` client.voidsetVersion(String version)Sets the version.com.ibm.cloud.sdk.core.http.ServiceCall<RedundancyGroup>updateRedundancyGroup(UpdateRedundancyGroupOptions updateRedundancyGroupOptions)Updates a redundancy group.com.ibm.cloud.sdk.core.http.ServiceCall<TransitGateway>updateTransitGateway(UpdateTransitGatewayOptions updateTransitGatewayOptions)Updates specified Transit Gateway.com.ibm.cloud.sdk.core.http.ServiceCall<TransitGatewayConnectionCust>updateTransitGatewayConnection(UpdateTransitGatewayConnectionOptions updateTransitGatewayConnectionOptions)Updates specified Transit Gateway connection.com.ibm.cloud.sdk.core.http.ServiceCall<PrefixFilterCust>updateTransitGatewayConnectionPrefixFilter(UpdateTransitGatewayConnectionPrefixFilterOptions updateTransitGatewayConnectionPrefixFilterOptions)Updates specified Transit Gateway connection prefix filter.com.ibm.cloud.sdk.core.http.ServiceCall<TransitGatewayTunnel>updateTransitGatewayConnectionTunnels(UpdateTransitGatewayConnectionTunnelsOptions updateTransitGatewayConnectionTunnelsOptions)Updates specified Transit Gateway redundant GRE tunnel.-
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 `TransitGatewayApis` 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
-
TransitGatewayApis
public TransitGatewayApis(String version, String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs an instance of the `TransitGatewayApis` client. The specified service name and authenticator are used to configure the client instance.- Parameters:
version- Requests the version of the API as of a date in the format `YYYY-MM-DD`. Any date 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 TransitGatewayApis newInstance(String version)
Class method which constructs an instance of the `TransitGatewayApis` client. The default service name is used to configure the client instance.- Parameters:
version- Requests the version of the API as of a date in the format `YYYY-MM-DD`. Any date up to the current date may be provided. Specify the current date to request the latest version.- Returns:
- an instance of the `TransitGatewayApis` client using external configuration
-
newInstance
public static TransitGatewayApis newInstance(String version, String serviceName)
Class method which constructs an instance of the `TransitGatewayApis` client. The specified service name is used to configure the client instance.- Parameters:
version- Requests the version of the API as of a date in the format `YYYY-MM-DD`. Any date 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 `TransitGatewayApis` client using external configuration
-
getVersion
public String getVersion()
Gets the version. Requests the version of the API as of a date in the format `YYYY-MM-DD`. Any date 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
-
listTransitGateways
public com.ibm.cloud.sdk.core.http.ServiceCall<TransitGatewayCollection> listTransitGateways(ListTransitGatewaysOptions listTransitGatewaysOptions)
Retrieves all Transit Gateways. List all Transit Gateways in the account the caller is authorized to view. Use the `limit` (integer, 1–100, default 50) and `start` (string token) parameters to page through results. Optionally filter by `redundancy_group` name. Each `TransitGateway` in the response includes: `id`, `name`, `crn`, `location`, `status` (pending, available, deleting, deleted, failed), `global` (boolean), `created_at`, `updated_at`, `resource_group`, and optionally `redundancy_group`, `redundancy_group_id`, `gre_enhanced_route_propagation`, and `connection_needs_attention`.- Parameters:
listTransitGatewaysOptions- theListTransitGatewaysOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTransitGatewayCollection
-
listTransitGateways
public com.ibm.cloud.sdk.core.http.ServiceCall<TransitGatewayCollection> listTransitGateways()
Retrieves all Transit Gateways. List all Transit Gateways in the account the caller is authorized to view. Use the `limit` (integer, 1–100, default 50) and `start` (string token) parameters to page through results. Optionally filter by `redundancy_group` name. Each `TransitGateway` in the response includes: `id`, `name`, `crn`, `location`, `status` (pending, available, deleting, deleted, failed), `global` (boolean), `created_at`, `updated_at`, `resource_group`, and optionally `redundancy_group`, `redundancy_group_id`, `gre_enhanced_route_propagation`, and `connection_needs_attention`.- Returns:
- a
ServiceCallwith a result of typeTransitGatewayCollection
-
createTransitGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<TransitGateway> createTransitGateway(CreateTransitGatewayOptions createTransitGatewayOptions)
Creates a Transit Gateway. Create a Transit Gateway based on the supplied input template. Required fields: `name` (string, 1–60 chars), `location` (IBM Cloud region, e.g. us-south). Optional fields: `global` (boolean, enables cross-region routing), `resource_group` (object with `id`), `redundancy_group` (string, name of the redundancy group to join), `redundancy_group_id` (string, ID of an existing redundancy group in the account), `gre_enhanced_route_propagation` (boolean). Either `redundancy_group` or `redundancy_group_id` can be provided, but not both. Returns a `TransitGateway` object. Initial `status` will be `pending` while provisioning.- Parameters:
createTransitGatewayOptions- theCreateTransitGatewayOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTransitGateway
-
deleteTransitGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteTransitGateway(DeleteTransitGatewayOptions deleteTransitGatewayOptions)
Deletes specified Transit Gateway. Delete a Transit Gateway specified by its `id` path parameter. This operation cannot be reversed. The gateway must have no attached connections before it can be deleted; remove all connections first.- Parameters:
deleteTransitGatewayOptions- theDeleteTransitGatewayOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getTransitGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<TransitGateway> getTransitGateway(GetTransitGatewayOptions getTransitGatewayOptions)
Retrieves specified Transit Gateway. Retrieve a single Transit Gateway specified by its `id` path parameter. Returns a `TransitGateway` object containing: `id`, `name`, `crn`, `location`, `status`, `global`, `created_at`, `updated_at`, `resource_group`, and optionally `redundancy_group`, `redundancy_group_id`, `gre_enhanced_route_propagation`, and `connection_needs_attention`.- Parameters:
getTransitGatewayOptions- theGetTransitGatewayOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTransitGateway
-
updateTransitGateway
public com.ibm.cloud.sdk.core.http.ServiceCall<TransitGateway> updateTransitGateway(UpdateTransitGatewayOptions updateTransitGatewayOptions)
Updates specified Transit Gateway. Update a Transit Gateway specified by its `id` path parameter. Updatable fields: `name` (string), `global` (boolean), `redundancy_group` (string, assigns the gateway to a redundancy group), `gre_enhanced_route_propagation` (boolean). Returns the updated `TransitGateway` object.- Parameters:
updateTransitGatewayOptions- theUpdateTransitGatewayOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTransitGateway
-
listConnections
public com.ibm.cloud.sdk.core.http.ServiceCall<TransitConnectionCollection> listConnections(ListConnectionsOptions listConnectionsOptions)
Retrieves all connections. List all transit gateway connections associated with this account. Results can be filtered by `network_id` or `network_type`. Use the `limit` and `start` parameters to page through large result sets. The response includes a `TransitConnection` object for each connection, containing fields such as `id`, `name`, `network_type`, `status`, `created_at`, `updated_at`, and optionally `prefix_filters`, `request_status`, and `transit_gateway` reference.- Parameters:
listConnectionsOptions- theListConnectionsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTransitConnectionCollection
-
listConnections
public com.ibm.cloud.sdk.core.http.ServiceCall<TransitConnectionCollection> listConnections()
Retrieves all connections. List all transit gateway connections associated with this account. Results can be filtered by `network_id` or `network_type`. Use the `limit` and `start` parameters to page through large result sets. The response includes a `TransitConnection` object for each connection, containing fields such as `id`, `name`, `network_type`, `status`, `created_at`, `updated_at`, and optionally `prefix_filters`, `request_status`, and `transit_gateway` reference.- Returns:
- a
ServiceCallwith a result of typeTransitConnectionCollection
-
listTransitGatewayConnections
public com.ibm.cloud.sdk.core.http.ServiceCall<TransitGatewayConnectionCollection> listTransitGatewayConnections(ListTransitGatewayConnectionsOptions listTransitGatewayConnectionsOptions)
Retrieves all connections in a Transit Gateway. This request retrieves all connections in a Transit Gateway.- Parameters:
listTransitGatewayConnectionsOptions- theListTransitGatewayConnectionsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTransitGatewayConnectionCollection
-
createTransitGatewayConnection
public com.ibm.cloud.sdk.core.http.ServiceCall<TransitGatewayConnectionCust> createTransitGatewayConnection(CreateTransitGatewayConnectionOptions createTransitGatewayConnectionOptions)
Adds a connection to a Transit Gateway. Add a connection to Transit Gateway.- Parameters:
createTransitGatewayConnectionOptions- theCreateTransitGatewayConnectionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTransitGatewayConnectionCust
-
deleteTransitGatewayConnection
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteTransitGatewayConnection(DeleteTransitGatewayConnectionOptions deleteTransitGatewayConnectionOptions)
Removes a connection from Transit Gateway. After the specified connection is detached, entities still within the Transit Gateway will no longer be able to communicate directly to it through the IBM Cloud private backbone.- Parameters:
deleteTransitGatewayConnectionOptions- theDeleteTransitGatewayConnectionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getTransitGatewayConnection
public com.ibm.cloud.sdk.core.http.ServiceCall<TransitGatewayConnectionCust> getTransitGatewayConnection(GetTransitGatewayConnectionOptions getTransitGatewayConnectionOptions)
Retrieves specified Transit Gateway connection. This request retrieves a connection from the Transit Gateway.- Parameters:
getTransitGatewayConnectionOptions- theGetTransitGatewayConnectionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTransitGatewayConnectionCust
-
updateTransitGatewayConnection
public com.ibm.cloud.sdk.core.http.ServiceCall<TransitGatewayConnectionCust> updateTransitGatewayConnection(UpdateTransitGatewayConnectionOptions updateTransitGatewayConnectionOptions)
Updates specified Transit Gateway connection. Update the name of a connection to a Transit Gateway.- Parameters:
updateTransitGatewayConnectionOptions- theUpdateTransitGatewayConnectionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTransitGatewayConnectionCust
-
createTransitGatewayConnectionActions
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> createTransitGatewayConnectionActions(CreateTransitGatewayConnectionActionsOptions createTransitGatewayConnectionActionsOptions)
Performs actions on a connection for a Transit Gateway. Allow a network owner to approve or reject a cross-account connection request.- Parameters:
createTransitGatewayConnectionActionsOptions- theCreateTransitGatewayConnectionActionsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
listTransitGatewayGreTunnel
public com.ibm.cloud.sdk.core.http.ServiceCall<TransitGatewayTunnelCollection> listTransitGatewayGreTunnel(ListTransitGatewayGreTunnelOptions listTransitGatewayGreTunnelOptions)
Retrieves specified Transit Gateway redundant gre connection tunnels. This request retrieves a list of all the tunnels for connection.- Parameters:
listTransitGatewayGreTunnelOptions- theListTransitGatewayGreTunnelOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTransitGatewayTunnelCollection
-
createTransitGatewayGreTunnel
public com.ibm.cloud.sdk.core.http.ServiceCall<TransitGatewayTunnel> createTransitGatewayGreTunnel(CreateTransitGatewayGreTunnelOptions createTransitGatewayGreTunnelOptions)
Creates a Transit Gateway redundant GRE tunnel. Add a tunnel to an existing Redundant GRE connection.- Parameters:
createTransitGatewayGreTunnelOptions- theCreateTransitGatewayGreTunnelOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTransitGatewayTunnel
-
deleteTransitGatewayConnectionTunnels
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteTransitGatewayConnectionTunnels(DeleteTransitGatewayConnectionTunnelsOptions deleteTransitGatewayConnectionTunnelsOptions)
Deletes a specified Transit Gateway redundant GRE tunnel. Remove a tunnel from a redundant GRE connection.- Parameters:
deleteTransitGatewayConnectionTunnelsOptions- theDeleteTransitGatewayConnectionTunnelsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getTransitGatewayConnectionTunnels
public com.ibm.cloud.sdk.core.http.ServiceCall<TransitGatewayTunnel> getTransitGatewayConnectionTunnels(GetTransitGatewayConnectionTunnelsOptions getTransitGatewayConnectionTunnelsOptions)
Retrieves specified Transit Gateway connection tunnel. This request retrieves a connection tunnel from the Transit Gateway connection.- Parameters:
getTransitGatewayConnectionTunnelsOptions- theGetTransitGatewayConnectionTunnelsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTransitGatewayTunnel
-
updateTransitGatewayConnectionTunnels
public com.ibm.cloud.sdk.core.http.ServiceCall<TransitGatewayTunnel> updateTransitGatewayConnectionTunnels(UpdateTransitGatewayConnectionTunnelsOptions updateTransitGatewayConnectionTunnelsOptions)
Updates specified Transit Gateway redundant GRE tunnel. Update the name of a connection tunnel.- Parameters:
updateTransitGatewayConnectionTunnelsOptions- theUpdateTransitGatewayConnectionTunnelsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTransitGatewayTunnel
-
listGatewayLocations
public com.ibm.cloud.sdk.core.http.ServiceCall<TSCollection> listGatewayLocations(ListGatewayLocationsOptions listGatewayLocationsOptions)
Lists all locations that support Transit Gateways. List all locations that support Transit Gateways.- Parameters:
listGatewayLocationsOptions- theListGatewayLocationsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTSCollection
-
listGatewayLocations
public com.ibm.cloud.sdk.core.http.ServiceCall<TSCollection> listGatewayLocations()
Lists all locations that support Transit Gateways. List all locations that support Transit Gateways.- Returns:
- a
ServiceCallwith a result of typeTSCollection
-
getGatewayLocation
public com.ibm.cloud.sdk.core.http.ServiceCall<TSLocation> getGatewayLocation(GetGatewayLocationOptions getGatewayLocationOptions)
Shows the details of a given Transit Gateway location. Get the details of a Transit Gateway Location.- Parameters:
getGatewayLocationOptions- theGetGatewayLocationOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTSLocation
-
listTransitGatewayConnectionPrefixFilters
public com.ibm.cloud.sdk.core.http.ServiceCall<PrefixFilterCollection> listTransitGatewayConnectionPrefixFilters(ListTransitGatewayConnectionPrefixFiltersOptions listTransitGatewayConnectionPrefixFiltersOptions)
Retrieves all prefix filters in a Transit Gateway connection. This request retrieves all prefix filters in a Transit Gateway connection.- Parameters:
listTransitGatewayConnectionPrefixFiltersOptions- theListTransitGatewayConnectionPrefixFiltersOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typePrefixFilterCollection
-
createTransitGatewayConnectionPrefixFilter
public com.ibm.cloud.sdk.core.http.ServiceCall<PrefixFilterCust> createTransitGatewayConnectionPrefixFilter(CreateTransitGatewayConnectionPrefixFilterOptions createTransitGatewayConnectionPrefixFilterOptions)
Add a prefix filter to a Transit Gateway connection. Add a Prefix Filter to a Transit Gateway Connection. Prefix Filters can be added to `vpc`, `classic`, `directlink`, and `power_virtual_server` Connection types. Prefix Filters cannot be added to `gre_tunnel`, `unbound_gre_tunnel`, `redundant_gre` or `vpn_gateway` Connection types.- Parameters:
createTransitGatewayConnectionPrefixFilterOptions- theCreateTransitGatewayConnectionPrefixFilterOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typePrefixFilterCust
-
deleteTransitGatewayConnectionPrefixFilter
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteTransitGatewayConnectionPrefixFilter(DeleteTransitGatewayConnectionPrefixFilterOptions deleteTransitGatewayConnectionPrefixFilterOptions)
Remove prefix filter from Transit Gateway connection. Delete a prefix filter.- Parameters:
deleteTransitGatewayConnectionPrefixFilterOptions- theDeleteTransitGatewayConnectionPrefixFilterOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getTransitGatewayConnectionPrefixFilter
public com.ibm.cloud.sdk.core.http.ServiceCall<PrefixFilterCust> getTransitGatewayConnectionPrefixFilter(GetTransitGatewayConnectionPrefixFilterOptions getTransitGatewayConnectionPrefixFilterOptions)
Retrieves specified Transit Gateway connection prefix filter. This request retrieves a prefix filter from the Transit Gateway connection.- Parameters:
getTransitGatewayConnectionPrefixFilterOptions- theGetTransitGatewayConnectionPrefixFilterOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typePrefixFilterCust
-
updateTransitGatewayConnectionPrefixFilter
public com.ibm.cloud.sdk.core.http.ServiceCall<PrefixFilterCust> updateTransitGatewayConnectionPrefixFilter(UpdateTransitGatewayConnectionPrefixFilterOptions updateTransitGatewayConnectionPrefixFilterOptions)
Updates specified Transit Gateway connection prefix filter. Update prefix filter for a Transit Gateway Connection.- Parameters:
updateTransitGatewayConnectionPrefixFilterOptions- theUpdateTransitGatewayConnectionPrefixFilterOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typePrefixFilterCust
-
listTransitGatewayRouteReports
public com.ibm.cloud.sdk.core.http.ServiceCall<RouteReportCollection> listTransitGatewayRouteReports(ListTransitGatewayRouteReportsOptions listTransitGatewayRouteReportsOptions)
Lists route reports. Retrieve all route reports for the specified Transit Gateway. There will normally be at most one completed report and one pending report. Additionally, completed route reports are written to IBM Cloud Activity Tracker.- Parameters:
listTransitGatewayRouteReportsOptions- theListTransitGatewayRouteReportsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRouteReportCollection
-
createTransitGatewayRouteReport
public com.ibm.cloud.sdk.core.http.ServiceCall<RouteReport> createTransitGatewayRouteReport(CreateTransitGatewayRouteReportOptions createTransitGatewayRouteReportOptions)
Requests 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.- Parameters:
createTransitGatewayRouteReportOptions- theCreateTransitGatewayRouteReportOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRouteReport
-
deleteTransitGatewayRouteReport
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteTransitGatewayRouteReport(DeleteTransitGatewayRouteReportOptions deleteTransitGatewayRouteReportOptions)
Deletes a route report. Delete a route report.- Parameters:
deleteTransitGatewayRouteReportOptions- theDeleteTransitGatewayRouteReportOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getTransitGatewayRouteReport
public com.ibm.cloud.sdk.core.http.ServiceCall<RouteReport> getTransitGatewayRouteReport(GetTransitGatewayRouteReportOptions getTransitGatewayRouteReportOptions)
Retrieves a route report. Retrieve a route report.- Parameters:
getTransitGatewayRouteReportOptions- theGetTransitGatewayRouteReportOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRouteReport
-
listRedundancyGroups
public com.ibm.cloud.sdk.core.http.ServiceCall<RedundancyGroupCollection> listRedundancyGroups(ListRedundancyGroupsOptions listRedundancyGroupsOptions)
Lists all redundancy groups in the account. List all redundancy groups for the account.- Parameters:
listRedundancyGroupsOptions- theListRedundancyGroupsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRedundancyGroupCollection
-
listRedundancyGroups
public com.ibm.cloud.sdk.core.http.ServiceCall<RedundancyGroupCollection> listRedundancyGroups()
Lists all redundancy groups in the account. List all redundancy groups for the account.- Returns:
- a
ServiceCallwith a result of typeRedundancyGroupCollection
-
getRedundancyGroup
public com.ibm.cloud.sdk.core.http.ServiceCall<RedundancyGroup> getRedundancyGroup(GetRedundancyGroupOptions getRedundancyGroupOptions)
Retrieves specified redundancy group. Retrieves a single redundancy group specified by the identifier in the URL.- Parameters:
getRedundancyGroupOptions- theGetRedundancyGroupOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRedundancyGroup
-
updateRedundancyGroup
public com.ibm.cloud.sdk.core.http.ServiceCall<RedundancyGroup> updateRedundancyGroup(UpdateRedundancyGroupOptions updateRedundancyGroupOptions)
Updates a redundancy group. Update a redundancy group.- Parameters:
updateRedundancyGroupOptions- theUpdateRedundancyGroupOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeRedundancyGroup
-
-