transitgatewayapisv1

package
v0.46.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 9

Documentation

Overview

Package transitgatewayapisv1 : Operations and models for the TransitGatewayApisV1 service

Index

Constants

View Source
const (
	CreateTransitGatewayConnectionActionsOptions_Action_Approve = "approve"
	CreateTransitGatewayConnectionActionsOptions_Action_Reject  = "reject"
)

Constants associated with the CreateTransitGatewayConnectionActionsOptions.Action property. The action that is to be performed against the connection request.

View Source
const (
	CreateTransitGatewayConnectionOptions_NetworkType_Classic            = "classic"
	CreateTransitGatewayConnectionOptions_NetworkType_Directlink         = "directlink"
	CreateTransitGatewayConnectionOptions_NetworkType_GreTunnel          = "gre_tunnel"
	CreateTransitGatewayConnectionOptions_NetworkType_PowerVirtualServer = "power_virtual_server"
	CreateTransitGatewayConnectionOptions_NetworkType_UnboundGreTunnel   = "unbound_gre_tunnel"
	CreateTransitGatewayConnectionOptions_NetworkType_Vpc                = "vpc"
)

Constants associated with the CreateTransitGatewayConnectionOptions.NetworkType property. Defines what type of network is connected via this connection. For access to gre_tunnel or unbound_gre_tunnel connections contact IBM support.

View Source
const (
	CreateTransitGatewayConnectionOptions_PrefixFiltersDefault_Deny   = "deny"
	CreateTransitGatewayConnectionOptions_PrefixFiltersDefault_Permit = "permit"
)

Constants associated with the CreateTransitGatewayConnectionOptions.PrefixFiltersDefault property. Default setting of permit or deny which applies to any routes that don't match a specified filter. This field is optional for network type 'classic', 'vpc', 'directlink', and 'power_virtual_server' connections. This field is required to be unspecified for network type 'gre_tunnel' and 'unbound_gre_tunnel' connections.

View Source
const (
	CreateTransitGatewayConnectionPrefixFilterOptions_Action_Deny   = "deny"
	CreateTransitGatewayConnectionPrefixFilterOptions_Action_Permit = "permit"
)

Constants associated with the CreateTransitGatewayConnectionPrefixFilterOptions.Action property. Whether or not this prefix filter should allow or deny prefixes matching this filter's prefix definition.

View Source
const (
	PrefixFilterCust_Action_Deny   = "deny"
	PrefixFilterCust_Action_Permit = "permit"
)

Constants associated with the PrefixFilterCust.Action property. Whether or not this prefix filter should allow or deny prefixes matching this filter's prefix definition.

View Source
const (
	PrefixFilterPut_Action_Deny   = "deny"
	PrefixFilterPut_Action_Permit = "permit"
)

Constants associated with the PrefixFilterPut.Action property. Whether or not this prefix filter should allow or deny prefixes matching this filter's prefix definition.

View Source
const (
	RouteReport_Status_Complete = "complete"
	RouteReport_Status_Pending  = "pending"
)

Constants associated with the RouteReport.Status property. Route report status. The list of enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values.

View Source
const (
	TSLocalLocation_Type_Dc     = "dc"
	TSLocalLocation_Type_Region = "region"
)

Constants associated with the TSLocalLocation.Type property. The type of the location, determining is this a multi-zone region, a single data center, or a point of presence. The list of enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values.

View Source
const (
	TransitConnection_NetworkType_Classic            = "classic"
	TransitConnection_NetworkType_Directlink         = "directlink"
	TransitConnection_NetworkType_GreTunnel          = "gre_tunnel"
	TransitConnection_NetworkType_PowerVirtualServer = "power_virtual_server"
	TransitConnection_NetworkType_UnboundGreTunnel   = "unbound_gre_tunnel"
	TransitConnection_NetworkType_Vpc                = "vpc"
)

Constants associated with the TransitConnection.NetworkType property. Defines what type of network is connected via this connection. The list of enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values.

View Source
const (
	TransitConnection_PrefixFiltersDefault_Deny   = "deny"
	TransitConnection_PrefixFiltersDefault_Permit = "permit"
)

Constants associated with the TransitConnection.PrefixFiltersDefault property. Default setting of permit or deny which applies to any routes that don't match a specified filter.

View Source
const (
	TransitConnection_RequestStatus_Approved = "approved"
	TransitConnection_RequestStatus_Detached = "detached"
	TransitConnection_RequestStatus_Expired  = "expired"
	TransitConnection_RequestStatus_Pending  = "pending"
	TransitConnection_RequestStatus_Rejected = "rejected"
)

Constants associated with the TransitConnection.RequestStatus property. Only visible for cross account connections, this field represents the status of a connection request between IBM Cloud accounts. The list of enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values.

View Source
const (
	TransitConnection_Status_Attached       = "attached"
	TransitConnection_Status_Deleting       = "deleting"
	TransitConnection_Status_Detached       = "detached"
	TransitConnection_Status_Detaching      = "detaching"
	TransitConnection_Status_Failed         = "failed"
	TransitConnection_Status_NetworkPending = "network_pending"
	TransitConnection_Status_Pending        = "pending"
	TransitConnection_Status_Suspended      = "suspended"
	TransitConnection_Status_Suspending     = "suspending"
)

Constants associated with the TransitConnection.Status property. Connection state. The list of enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values.

View Source
const (
	TransitGateway_Status_Available  = "available"
	TransitGateway_Status_Deleting   = "deleting"
	TransitGateway_Status_Failed     = "failed"
	TransitGateway_Status_Pending    = "pending"
	TransitGateway_Status_Suspended  = "suspended"
	TransitGateway_Status_Suspending = "suspending"
)

Constants associated with the TransitGateway.Status property. The status of the Transit Gateway. The list of enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values.

View Source
const (
	TransitGatewayConnectionCust_NetworkType_Classic            = "classic"
	TransitGatewayConnectionCust_NetworkType_Directlink         = "directlink"
	TransitGatewayConnectionCust_NetworkType_GreTunnel          = "gre_tunnel"
	TransitGatewayConnectionCust_NetworkType_PowerVirtualServer = "power_virtual_server"
	TransitGatewayConnectionCust_NetworkType_UnboundGreTunnel   = "unbound_gre_tunnel"
	TransitGatewayConnectionCust_NetworkType_Vpc                = "vpc"
)

Constants associated with the TransitGatewayConnectionCust.NetworkType property. Defines what type of network is connected via this connection. The list of enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values.

View Source
const (
	TransitGatewayConnectionCust_PrefixFiltersDefault_Deny   = "deny"
	TransitGatewayConnectionCust_PrefixFiltersDefault_Permit = "permit"
)

Constants associated with the TransitGatewayConnectionCust.PrefixFiltersDefault property. Default setting of permit or deny which applies to any routes that don't match a specified filter.

View Source
const (
	TransitGatewayConnectionCust_RequestStatus_Approved = "approved"
	TransitGatewayConnectionCust_RequestStatus_Detached = "detached"
	TransitGatewayConnectionCust_RequestStatus_Expired  = "expired"
	TransitGatewayConnectionCust_RequestStatus_Pending  = "pending"
	TransitGatewayConnectionCust_RequestStatus_Rejected = "rejected"
)

Constants associated with the TransitGatewayConnectionCust.RequestStatus property. Only visible for cross account connections, this field represents the status of a connection request between IBM Cloud accounts. The list of enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values.

View Source
const (
	TransitGatewayConnectionCust_Status_Attached       = "attached"
	TransitGatewayConnectionCust_Status_Deleting       = "deleting"
	TransitGatewayConnectionCust_Status_Detached       = "detached"
	TransitGatewayConnectionCust_Status_Detaching      = "detaching"
	TransitGatewayConnectionCust_Status_Failed         = "failed"
	TransitGatewayConnectionCust_Status_NetworkPending = "network_pending"
	TransitGatewayConnectionCust_Status_Pending        = "pending"
	TransitGatewayConnectionCust_Status_Suspended      = "suspended"
	TransitGatewayConnectionCust_Status_Suspending     = "suspending"
)

Constants associated with the TransitGatewayConnectionCust.Status property. Connection's current configuration state. The list of enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values.

View Source
const (
	TransitGatewayConnectionPrefixFilter_Action_Deny   = "deny"
	TransitGatewayConnectionPrefixFilter_Action_Permit = "permit"
)

Constants associated with the TransitGatewayConnectionPrefixFilter.Action property. Whether to permit or deny prefix filter.

View Source
const (
	TransitGatewayConnectionPrefixFilterReference_Action_Deny   = "deny"
	TransitGatewayConnectionPrefixFilterReference_Action_Permit = "permit"
)

Constants associated with the TransitGatewayConnectionPrefixFilterReference.Action property. Whether to permit or deny prefix filter.

View Source
const (
	UpdateTransitGatewayConnectionOptions_PrefixFiltersDefault_Deny   = "deny"
	UpdateTransitGatewayConnectionOptions_PrefixFiltersDefault_Permit = "permit"
)

Constants associated with the UpdateTransitGatewayConnectionOptions.PrefixFiltersDefault property. Default setting of permit or deny which applies to any routes that don't match a specified filter.

View Source
const (
	UpdateTransitGatewayConnectionPrefixFilterOptions_Action_Deny   = "deny"
	UpdateTransitGatewayConnectionPrefixFilterOptions_Action_Permit = "permit"
)

Constants associated with the UpdateTransitGatewayConnectionPrefixFilterOptions.Action property. Whether or not this prefix filter should allow or deny prefixes matching this filter's prefix definition.

View Source
const (
	CreateTransitGatewayConnectionOptions_BaseNetworkType_Classic = "classic"
)

Constants associated with the CreateTransitGatewayConnectionOptions.BaseNetworkType property. The type of network the Unbound GRE tunnel is targeting. This field is required for network type 'unbound_gre_tunnel' connections. This field is required to be unspecified for network type 'classic', 'directlink', 'vpc', 'power_virtual_server' and 'gre_tunnel' connections.

View Source
const DefaultServiceName = "transit_gateway_apis"

DefaultServiceName is the default key used to find external configuration information.

View Source
const DefaultServiceURL = "https://transit.cloud.ibm.com/v1"

DefaultServiceURL is the default URL to make service requests to.

View Source
const (
	TransitGatewayConnectionCust_BaseNetworkType_Classic = "classic"
)

Constants associated with the TransitGatewayConnectionCust.BaseNetworkType property. The type of network the GRE tunnel is targeting.

Variables

This section is empty.

Functions

func GetServiceURLForRegion added in v0.23.1

func GetServiceURLForRegion(region string) (string, error)

GetServiceURLForRegion returns the service URL to be used for the specified region

func UnmarshalPaginationFirstConnection added in v0.44.0

func UnmarshalPaginationFirstConnection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPaginationFirstConnection unmarshals an instance of PaginationFirstConnection from the specified map of raw messages.

func UnmarshalPaginationFirstTG added in v0.44.0

func UnmarshalPaginationFirstTG(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPaginationFirstTG unmarshals an instance of PaginationFirstTG from the specified map of raw messages.

func UnmarshalPaginationFirstTGWConnection added in v0.44.0

func UnmarshalPaginationFirstTGWConnection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPaginationFirstTGWConnection unmarshals an instance of PaginationFirstTGWConnection from the specified map of raw messages.

func UnmarshalPaginationNextConnection added in v0.44.0

func UnmarshalPaginationNextConnection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPaginationNextConnection unmarshals an instance of PaginationNextConnection from the specified map of raw messages.

func UnmarshalPaginationNextTG added in v0.44.0

func UnmarshalPaginationNextTG(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPaginationNextTG unmarshals an instance of PaginationNextTG from the specified map of raw messages.

func UnmarshalPaginationNextTGWConnection added in v0.44.0

func UnmarshalPaginationNextTGWConnection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPaginationNextTGWConnection unmarshals an instance of PaginationNextTGWConnection from the specified map of raw messages.

func UnmarshalPrefixFilterCollection added in v0.28.0

func UnmarshalPrefixFilterCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPrefixFilterCollection unmarshals an instance of PrefixFilterCollection from the specified map of raw messages.

func UnmarshalPrefixFilterCust added in v0.28.0

func UnmarshalPrefixFilterCust(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPrefixFilterCust unmarshals an instance of PrefixFilterCust from the specified map of raw messages.

func UnmarshalPrefixFilterPut added in v0.36.0

func UnmarshalPrefixFilterPut(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPrefixFilterPut unmarshals an instance of PrefixFilterPut from the specified map of raw messages.

func UnmarshalResourceGroupIdentity

func UnmarshalResourceGroupIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalResourceGroupIdentity unmarshals an instance of ResourceGroupIdentity from the specified map of raw messages.

func UnmarshalResourceGroupReference

func UnmarshalResourceGroupReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalResourceGroupReference unmarshals an instance of ResourceGroupReference from the specified map of raw messages.

func UnmarshalRouteReport added in v0.24.0

func UnmarshalRouteReport(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteReport unmarshals an instance of RouteReport from the specified map of raw messages.

func UnmarshalRouteReportCollection added in v0.24.0

func UnmarshalRouteReportCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteReportCollection unmarshals an instance of RouteReportCollection from the specified map of raw messages.

func UnmarshalRouteReportConnection added in v0.24.0

func UnmarshalRouteReportConnection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteReportConnection unmarshals an instance of RouteReportConnection from the specified map of raw messages.

func UnmarshalRouteReportConnectionBgp added in v0.24.0

func UnmarshalRouteReportConnectionBgp(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteReportConnectionBgp unmarshals an instance of RouteReportConnectionBgp from the specified map of raw messages.

func UnmarshalRouteReportConnectionRoute added in v0.24.0

func UnmarshalRouteReportConnectionRoute(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteReportConnectionRoute unmarshals an instance of RouteReportConnectionRoute from the specified map of raw messages.

func UnmarshalRouteReportOverlappingRoute added in v0.24.0

func UnmarshalRouteReportOverlappingRoute(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteReportOverlappingRoute unmarshals an instance of RouteReportOverlappingRoute from the specified map of raw messages.

func UnmarshalRouteReportOverlappingRouteGroup added in v0.24.0

func UnmarshalRouteReportOverlappingRouteGroup(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRouteReportOverlappingRouteGroup unmarshals an instance of RouteReportOverlappingRouteGroup from the specified map of raw messages.

func UnmarshalTSCollection

func UnmarshalTSCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTSCollection unmarshals an instance of TSCollection from the specified map of raw messages.

func UnmarshalTSLocalLocation

func UnmarshalTSLocalLocation(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTSLocalLocation unmarshals an instance of TSLocalLocation from the specified map of raw messages.

func UnmarshalTSLocation

func UnmarshalTSLocation(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTSLocation unmarshals an instance of TSLocation from the specified map of raw messages.

func UnmarshalTSLocationBasic

func UnmarshalTSLocationBasic(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTSLocationBasic unmarshals an instance of TSLocationBasic from the specified map of raw messages.

func UnmarshalTransitConnection added in v0.17.0

func UnmarshalTransitConnection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTransitConnection unmarshals an instance of TransitConnection from the specified map of raw messages.

func UnmarshalTransitConnectionCollection added in v0.17.0

func UnmarshalTransitConnectionCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTransitConnectionCollection unmarshals an instance of TransitConnectionCollection from the specified map of raw messages.

func UnmarshalTransitGateway

func UnmarshalTransitGateway(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTransitGateway unmarshals an instance of TransitGateway from the specified map of raw messages.

func UnmarshalTransitGatewayCollection

func UnmarshalTransitGatewayCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTransitGatewayCollection unmarshals an instance of TransitGatewayCollection from the specified map of raw messages.

func UnmarshalTransitGatewayConnectionCollection

func UnmarshalTransitGatewayConnectionCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTransitGatewayConnectionCollection unmarshals an instance of TransitGatewayConnectionCollection from the specified map of raw messages.

func UnmarshalTransitGatewayConnectionCust

func UnmarshalTransitGatewayConnectionCust(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTransitGatewayConnectionCust unmarshals an instance of TransitGatewayConnectionCust from the specified map of raw messages.

func UnmarshalTransitGatewayConnectionCustZone added in v0.17.0

func UnmarshalTransitGatewayConnectionCustZone(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTransitGatewayConnectionCustZone unmarshals an instance of TransitGatewayConnectionCustZone from the specified map of raw messages.

func UnmarshalTransitGatewayConnectionPrefixFilter added in v0.28.0

func UnmarshalTransitGatewayConnectionPrefixFilter(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTransitGatewayConnectionPrefixFilter unmarshals an instance of TransitGatewayConnectionPrefixFilter from the specified map of raw messages.

func UnmarshalTransitGatewayConnectionPrefixFilterReference added in v0.28.0

func UnmarshalTransitGatewayConnectionPrefixFilterReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTransitGatewayConnectionPrefixFilterReference unmarshals an instance of TransitGatewayConnectionPrefixFilterReference from the specified map of raw messages.

func UnmarshalTransitGatewayReference added in v0.17.0

func UnmarshalTransitGatewayReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTransitGatewayReference unmarshals an instance of TransitGatewayReference from the specified map of raw messages.

func UnmarshalZoneIdentity added in v0.17.0

func UnmarshalZoneIdentity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalZoneIdentity unmarshals an instance of ZoneIdentity from the specified map of raw messages.

func UnmarshalZoneIdentityByName added in v0.17.0

func UnmarshalZoneIdentityByName(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalZoneIdentityByName unmarshals an instance of ZoneIdentityByName from the specified map of raw messages.

func UnmarshalZoneReference added in v0.17.0

func UnmarshalZoneReference(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalZoneReference unmarshals an instance of ZoneReference from the specified map of raw messages.

Types

type ConnectionsPager added in v0.44.0

type ConnectionsPager struct {
	// contains filtered or unexported fields
}

ConnectionsPager can be used to simplify the use of the "ListConnections" method.

func (*ConnectionsPager) GetAll added in v0.44.0

func (pager *ConnectionsPager) GetAll() (allItems []TransitConnection, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*ConnectionsPager) GetAllWithContext added in v0.44.0

func (pager *ConnectionsPager) GetAllWithContext(ctx context.Context) (allItems []TransitConnection, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*ConnectionsPager) GetNext added in v0.44.0

func (pager *ConnectionsPager) GetNext() (page []TransitConnection, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*ConnectionsPager) GetNextWithContext added in v0.44.0

func (pager *ConnectionsPager) GetNextWithContext(ctx context.Context) (page []TransitConnection, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*ConnectionsPager) HasNext added in v0.44.0

func (pager *ConnectionsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type CreateTransitGatewayConnectionActionsOptions added in v0.2.0

type CreateTransitGatewayConnectionActionsOptions struct {
	// The Transit Gateway identifier.
	TransitGatewayID *string `json:"transit_gateway_id" validate:"required,ne="`

	// The connection identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The action that is to be performed against the connection request.
	Action *string `json:"action" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateTransitGatewayConnectionActionsOptions : The CreateTransitGatewayConnectionActions options.

func (*CreateTransitGatewayConnectionActionsOptions) SetAction added in v0.2.0

SetAction : Allow user to set Action

func (*CreateTransitGatewayConnectionActionsOptions) SetHeaders added in v0.2.0

SetHeaders : Allow user to set Headers

func (*CreateTransitGatewayConnectionActionsOptions) SetID added in v0.2.0

SetID : Allow user to set ID

func (*CreateTransitGatewayConnectionActionsOptions) SetTransitGatewayID added in v0.2.0

SetTransitGatewayID : Allow user to set TransitGatewayID

type CreateTransitGatewayConnectionOptions

type CreateTransitGatewayConnectionOptions struct {
	// The Transit Gateway identifier.
	TransitGatewayID *string `json:"transit_gateway_id" validate:"required,ne="`

	// Defines what type of network is connected via this connection. For access to gre_tunnel or unbound_gre_tunnel
	// connections contact IBM support.
	NetworkType *string `json:"network_type" validate:"required"`

	// network_type 'gre_tunnel' connections must be created over an existing network_type 'classic' connection. This field
	// must specify the ID of an active transit gateway network_type 'classic' connection in the same transit gateway.
	//
	// This field is required for network type 'gre_tunnel' connections.
	//
	// This field is required to be unspecified for network type 'classic', 'directlink', 'vpc', 'power_virtual_server' and
	// 'unbound_gre_tunnel' connections.
	// Deprecated: this field is deprecated and may be removed in a future release.
	BaseConnectionID *string `json:"base_connection_id,omitempty"`

	// The type of network the Unbound GRE tunnel is targeting. This field is required for network type
	// 'unbound_gre_tunnel' connections. This field is required to be unspecified for network type 'classic', 'directlink',
	// 'vpc', 'power_virtual_server' and 'gre_tunnel' connections.
	BaseNetworkType *string `json:"base_network_type,omitempty"`

	// Local gateway IP address. This field is required for network type 'gre_tunnel' and 'unbound_gre_tunnel' connections.
	// This field is required to be unspecified for network type 'classic', 'directlink', 'vpc' and 'power_virtual_server'
	// connections.
	LocalGatewayIp *string `json:"local_gateway_ip,omitempty"`

	// Local tunnel IP address. The local_tunnel_ip and remote_tunnel_ip addresses must be in the same /30 network. Neither
	// can be the network nor broadcast addresses.
	//
	// This field is required for network type 'gre_tunnel' and 'unbound_gre_tunnel' connections.
	//
	// This field is required to be unspecified for network type 'classic', 'directlink', 'vpc' and 'power_virtual_server'
	// connections.
	LocalTunnelIp *string `json:"local_tunnel_ip,omitempty"`

	// The user-defined name for this transit gateway connection. Network type 'vpc'  connections are defaulted to the name
	// of the VPC.  Network type 'classic' connections are named 'Classic'.
	//
	// This field is required for network type 'gre_tunnel' and 'unbound_gre_tunnel' connections.
	//
	// This field is optional for network type 'classic', 'directlink', 'vpc' and 'power_virtual_server' connections.
	Name *string `json:"name,omitempty"`

	// The ID of the account which owns the network that is being connected. Generally only used if the network is in a
	// different account than the gateway. This field is required for type 'unbound_gre_tunnel' when the
	// associated_network_type is 'classic' and the GRE tunnel is in a different account than the gateway.
	NetworkAccountID *string `json:"network_account_id,omitempty"`

	// The ID of the network being connected via this connection. For network types 'vpc','power_virtual_server' and
	// 'directlink' this is the CRN of the VPC / PowerVS / Direct Link gateway respectively. This field is required for
	// network type 'vpc', 'power_virtual_server' and 'directlink' connections. This field is required to be unspecified
	// for network type 'classic', 'gre_tunnel' and 'unbound_gre_tunnel' connections.
	NetworkID *string `json:"network_id,omitempty"`

	// Array of prefix route filters for a transit gateway connection. Prefix filters can be specified for netowrk type
	// 'vpc', 'classic', 'power_virtual_server' and 'directlink' connections. They are not allowed for type 'gre_tunnel'
	// connections. This is order dependent with those first in the array being applied first, and those at the end of the
	// array being applied last, or just before applying the default. This field is optional for network type 'classic',
	// 'vpc', 'directlink', and 'power_virtual_server' connections. This field is required to be unspecified for network
	// type 'gre_tunnel' and 'unbound_gre_tunnel' connections.
	PrefixFilters []TransitGatewayConnectionPrefixFilter `json:"prefix_filters,omitempty"`

	// Default setting of permit or deny which applies to any routes that don't match a specified filter. This field is
	// optional for network type 'classic', 'vpc', 'directlink', and 'power_virtual_server' connections. This field is
	// required to be unspecified for network type 'gre_tunnel' and 'unbound_gre_tunnel' connections.
	PrefixFiltersDefault *string `json:"prefix_filters_default,omitempty"`

	// Remote network BGP ASN. The following ASN values are reserved and unavailable 0, 13884, 36351, 64512-64513, 65100,
	// 65200-65234, 65402-65433, 65500 and 4201065000-4201065999. If 'remote_bgp_asn' is omitted on gre_tunnel or
	// unbound_gre_tunnel connection create requests IBM will assign an ASN.
	//
	// This field is optional for network type 'gre_tunnel' and 'unbound_gre_tunnel' connections.
	//
	// This field is required to be unspecified for network type 'classic', 'directlink', 'vpc' and 'power_virtual_server'
	// connections.
	RemoteBgpAsn *int64 `json:"remote_bgp_asn,omitempty"`

	// Remote gateway IP address. This field is required for network type 'gre_tunnel' and 'unbound_gre_tunnel'
	// connections. This field is required to be unspecified for network type 'classic', 'directlink', 'vpc' and
	// 'power_virtual_server' connections.
	RemoteGatewayIp *string `json:"remote_gateway_ip,omitempty"`

	// Remote tunnel IP address. The local_tunnel_ip and remote_tunnel_ip addresses must be in the same /30 network.
	// Neither can be the network nor broadcast addresses.
	//
	// This field is required for network type 'gre_tunnel' and 'unbound_gre_tunnel' connections.
	//
	// This field is required to be unspecified for network type 'classic', 'directlink', 'vpc' and 'power_virtual_server'
	// connections.
	RemoteTunnelIp *string `json:"remote_tunnel_ip,omitempty"`

	// Specify the connection's location.  The specified availability zone must reside in the gateway's region.
	// Use the IBM Cloud global catalog to list zones within the desired region.
	//
	// This field is required for network type 'gre_tunnel' and 'unbound_gre_tunnel' connections.
	//
	// This field is required to be unspecified for network type 'classic', 'directlink', 'vpc' and 'power_virtual_server'
	// connections.
	Zone ZoneIdentityIntf `json:"zone,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateTransitGatewayConnectionOptions : The CreateTransitGatewayConnection options.

func (*CreateTransitGatewayConnectionOptions) SetBaseConnectionID added in v0.17.0

func (_options *CreateTransitGatewayConnectionOptions) SetBaseConnectionID(baseConnectionID string) *CreateTransitGatewayConnectionOptions

SetBaseConnectionID : Allow user to set BaseConnectionID Deprecated: this method is deprecated and may be removed in a future release.

func (*CreateTransitGatewayConnectionOptions) SetBaseNetworkType added in v0.36.0

func (_options *CreateTransitGatewayConnectionOptions) SetBaseNetworkType(baseNetworkType string) *CreateTransitGatewayConnectionOptions

SetBaseNetworkType : Allow user to set BaseNetworkType

func (*CreateTransitGatewayConnectionOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*CreateTransitGatewayConnectionOptions) SetLocalGatewayIp added in v0.17.0

func (_options *CreateTransitGatewayConnectionOptions) SetLocalGatewayIp(localGatewayIp string) *CreateTransitGatewayConnectionOptions

SetLocalGatewayIp : Allow user to set LocalGatewayIp

func (*CreateTransitGatewayConnectionOptions) SetLocalTunnelIp added in v0.17.0

func (_options *CreateTransitGatewayConnectionOptions) SetLocalTunnelIp(localTunnelIp string) *CreateTransitGatewayConnectionOptions

SetLocalTunnelIp : Allow user to set LocalTunnelIp

func (*CreateTransitGatewayConnectionOptions) SetName

SetName : Allow user to set Name

func (*CreateTransitGatewayConnectionOptions) SetNetworkAccountID added in v0.2.0

func (_options *CreateTransitGatewayConnectionOptions) SetNetworkAccountID(networkAccountID string) *CreateTransitGatewayConnectionOptions

SetNetworkAccountID : Allow user to set NetworkAccountID

func (*CreateTransitGatewayConnectionOptions) SetNetworkID

SetNetworkID : Allow user to set NetworkID

func (*CreateTransitGatewayConnectionOptions) SetNetworkType

SetNetworkType : Allow user to set NetworkType

func (*CreateTransitGatewayConnectionOptions) SetPrefixFilters added in v0.28.0

SetPrefixFilters : Allow user to set PrefixFilters

func (*CreateTransitGatewayConnectionOptions) SetPrefixFiltersDefault added in v0.28.0

func (_options *CreateTransitGatewayConnectionOptions) SetPrefixFiltersDefault(prefixFiltersDefault string) *CreateTransitGatewayConnectionOptions

SetPrefixFiltersDefault : Allow user to set PrefixFiltersDefault

func (*CreateTransitGatewayConnectionOptions) SetRemoteBgpAsn added in v0.17.0

SetRemoteBgpAsn : Allow user to set RemoteBgpAsn

func (*CreateTransitGatewayConnectionOptions) SetRemoteGatewayIp added in v0.17.0

func (_options *CreateTransitGatewayConnectionOptions) SetRemoteGatewayIp(remoteGatewayIp string) *CreateTransitGatewayConnectionOptions

SetRemoteGatewayIp : Allow user to set RemoteGatewayIp

func (*CreateTransitGatewayConnectionOptions) SetRemoteTunnelIp added in v0.17.0

func (_options *CreateTransitGatewayConnectionOptions) SetRemoteTunnelIp(remoteTunnelIp string) *CreateTransitGatewayConnectionOptions

SetRemoteTunnelIp : Allow user to set RemoteTunnelIp

func (*CreateTransitGatewayConnectionOptions) SetTransitGatewayID

func (_options *CreateTransitGatewayConnectionOptions) SetTransitGatewayID(transitGatewayID string) *CreateTransitGatewayConnectionOptions

SetTransitGatewayID : Allow user to set TransitGatewayID

func (*CreateTransitGatewayConnectionOptions) SetZone added in v0.17.0

SetZone : Allow user to set Zone

type CreateTransitGatewayConnectionPrefixFilterOptions added in v0.28.0

type CreateTransitGatewayConnectionPrefixFilterOptions struct {
	// The Transit Gateway identifier.
	TransitGatewayID *string `json:"transit_gateway_id" validate:"required,ne="`

	// The connection identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Whether or not this prefix filter should allow or deny prefixes matching this filter's prefix definition.
	Action *string `json:"action" validate:"required"`

	// The IPv4 Prefix to be matched by this filter. If both the 'le' and 'ge' are zero, then this filter will only apply
	// to routes that exactly match this prefix, while a non-zero value for either 'le' or 'ge', this filter can apply to
	// multiple routes with different prefix lengths, but will still only apply to prefixes contained in the address space
	// defined by 'prefix'.
	Prefix *string `json:"prefix" validate:"required"`

	// A reference to the prefix filter that will be the next filter applied to the Transit Gateway connection.
	//
	// If this field is blank, this prefix filter will be the last rule applied before the connection's default rule.
	//
	// When a prefix filter is created with the same before field as an existing prefix filter, the existing filter will be
	// applied before the new filter, and the existing filter's before field will be updated accordingly.
	Before *string `json:"before,omitempty"`

	// Defines the minimum matched prefix precision. If this field is non-zero then the filter will match all routes within
	// the 'prefix' that have a prefix length greater than or equal to this value.
	//
	// This value can be zero, or a non-negative number greater than or equal to the prefix length of the filter's prefix
	// or less then or equal to 32. If this value is set to zero, the filter will not use the 'ge' route matching behavior.
	// If the 'le' value is non-zero the the 'ge' value must between the prefix length and the
	// 'le' value, inclusive.
	Ge *int64 `json:"ge,omitempty"`

	// Defines the maximum matched prefix precision. If this field is non-zero then the filter will match all routes within
	// the 'prefix' that have a prefix length less than or equal to this value.
	//
	// This value can be zero, or a non-negative number greater than or equal to the prefix length of the filter's prefix
	// or less then or equal to 32. If this value is set to zero, the filter will not use the 'le' route matching behavior.
	// If the 'ge' value is non-zero the the 'le' value must between the 'ge' value and 32, inclusive.
	Le *int64 `json:"le,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateTransitGatewayConnectionPrefixFilterOptions : The CreateTransitGatewayConnectionPrefixFilter options.

func (*CreateTransitGatewayConnectionPrefixFilterOptions) SetAction added in v0.28.0

SetAction : Allow user to set Action

func (*CreateTransitGatewayConnectionPrefixFilterOptions) SetBefore added in v0.28.0

SetBefore : Allow user to set Before

func (*CreateTransitGatewayConnectionPrefixFilterOptions) SetGe added in v0.28.0

SetGe : Allow user to set Ge

func (*CreateTransitGatewayConnectionPrefixFilterOptions) SetHeaders added in v0.28.0

SetHeaders : Allow user to set Headers

func (*CreateTransitGatewayConnectionPrefixFilterOptions) SetID added in v0.28.0

SetID : Allow user to set ID

func (*CreateTransitGatewayConnectionPrefixFilterOptions) SetLe added in v0.28.0

SetLe : Allow user to set Le

func (*CreateTransitGatewayConnectionPrefixFilterOptions) SetPrefix added in v0.28.0

SetPrefix : Allow user to set Prefix

func (*CreateTransitGatewayConnectionPrefixFilterOptions) SetTransitGatewayID added in v0.28.0

SetTransitGatewayID : Allow user to set TransitGatewayID

type CreateTransitGatewayOptions

type CreateTransitGatewayOptions struct {
	// Location of Transit Gateway Services.
	Location *string `json:"location" validate:"required"`

	// Name Transit Gateway Services.
	Name *string `json:"name" validate:"required"`

	// Allow global routing for a Transit Gateway. If unspecified, the default value is false.
	Global *bool `json:"global,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://console.bluemix.net/apidocs/resource-manager#introduction) is used.
	ResourceGroup *ResourceGroupIdentity `json:"resource_group,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateTransitGatewayOptions : The CreateTransitGateway options.

func (*CreateTransitGatewayOptions) SetGlobal

func (_options *CreateTransitGatewayOptions) SetGlobal(global bool) *CreateTransitGatewayOptions

SetGlobal : Allow user to set Global

func (*CreateTransitGatewayOptions) SetHeaders

func (options *CreateTransitGatewayOptions) SetHeaders(param map[string]string) *CreateTransitGatewayOptions

SetHeaders : Allow user to set Headers

func (*CreateTransitGatewayOptions) SetLocation

func (_options *CreateTransitGatewayOptions) SetLocation(location string) *CreateTransitGatewayOptions

SetLocation : Allow user to set Location

func (*CreateTransitGatewayOptions) SetName

SetName : Allow user to set Name

func (*CreateTransitGatewayOptions) SetResourceGroup

func (_options *CreateTransitGatewayOptions) SetResourceGroup(resourceGroup *ResourceGroupIdentity) *CreateTransitGatewayOptions

SetResourceGroup : Allow user to set ResourceGroup

type CreateTransitGatewayRouteReportOptions added in v0.24.0

type CreateTransitGatewayRouteReportOptions struct {
	// The Transit Gateway identifier.
	TransitGatewayID *string `json:"transit_gateway_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateTransitGatewayRouteReportOptions : The CreateTransitGatewayRouteReport options.

func (*CreateTransitGatewayRouteReportOptions) SetHeaders added in v0.24.0

SetHeaders : Allow user to set Headers

func (*CreateTransitGatewayRouteReportOptions) SetTransitGatewayID added in v0.24.0

func (_options *CreateTransitGatewayRouteReportOptions) SetTransitGatewayID(transitGatewayID string) *CreateTransitGatewayRouteReportOptions

SetTransitGatewayID : Allow user to set TransitGatewayID

type DeleteTransitGatewayConnectionOptions

type DeleteTransitGatewayConnectionOptions struct {
	// The Transit Gateway identifier.
	TransitGatewayID *string `json:"transit_gateway_id" validate:"required,ne="`

	// The connection identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteTransitGatewayConnectionOptions : The DeleteTransitGatewayConnection options.

func (*DeleteTransitGatewayConnectionOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*DeleteTransitGatewayConnectionOptions) SetID

SetID : Allow user to set ID

func (*DeleteTransitGatewayConnectionOptions) SetTransitGatewayID

func (_options *DeleteTransitGatewayConnectionOptions) SetTransitGatewayID(transitGatewayID string) *DeleteTransitGatewayConnectionOptions

SetTransitGatewayID : Allow user to set TransitGatewayID

type DeleteTransitGatewayConnectionPrefixFilterOptions added in v0.28.0

type DeleteTransitGatewayConnectionPrefixFilterOptions struct {
	// The Transit Gateway identifier.
	TransitGatewayID *string `json:"transit_gateway_id" validate:"required,ne="`

	// The connection identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Prefix filter identifier.
	FilterID *string `json:"filter_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteTransitGatewayConnectionPrefixFilterOptions : The DeleteTransitGatewayConnectionPrefixFilter options.

func (*DeleteTransitGatewayConnectionPrefixFilterOptions) SetFilterID added in v0.28.0

SetFilterID : Allow user to set FilterID

func (*DeleteTransitGatewayConnectionPrefixFilterOptions) SetHeaders added in v0.28.0

SetHeaders : Allow user to set Headers

func (*DeleteTransitGatewayConnectionPrefixFilterOptions) SetID added in v0.28.0

SetID : Allow user to set ID

func (*DeleteTransitGatewayConnectionPrefixFilterOptions) SetTransitGatewayID added in v0.28.0

SetTransitGatewayID : Allow user to set TransitGatewayID

type DeleteTransitGatewayOptions

type DeleteTransitGatewayOptions struct {
	// The Transit Gateway identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteTransitGatewayOptions : The DeleteTransitGateway options.

func (*DeleteTransitGatewayOptions) SetHeaders

func (options *DeleteTransitGatewayOptions) SetHeaders(param map[string]string) *DeleteTransitGatewayOptions

SetHeaders : Allow user to set Headers

func (*DeleteTransitGatewayOptions) SetID

SetID : Allow user to set ID

type DeleteTransitGatewayRouteReportOptions added in v0.24.0

type DeleteTransitGatewayRouteReportOptions struct {
	// The Transit Gateway identifier.
	TransitGatewayID *string `json:"transit_gateway_id" validate:"required,ne="`

	// Route report identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteTransitGatewayRouteReportOptions : The DeleteTransitGatewayRouteReport options.

func (*DeleteTransitGatewayRouteReportOptions) SetHeaders added in v0.24.0

SetHeaders : Allow user to set Headers

func (*DeleteTransitGatewayRouteReportOptions) SetID added in v0.24.0

SetID : Allow user to set ID

func (*DeleteTransitGatewayRouteReportOptions) SetTransitGatewayID added in v0.24.0

func (_options *DeleteTransitGatewayRouteReportOptions) SetTransitGatewayID(transitGatewayID string) *DeleteTransitGatewayRouteReportOptions

SetTransitGatewayID : Allow user to set TransitGatewayID

type GetGatewayLocationOptions added in v0.2.0

type GetGatewayLocationOptions struct {
	// The Transit Gateway location Name.
	Name *string `json:"name" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetGatewayLocationOptions : The GetGatewayLocation options.

func (*GetGatewayLocationOptions) SetHeaders added in v0.2.0

func (options *GetGatewayLocationOptions) SetHeaders(param map[string]string) *GetGatewayLocationOptions

SetHeaders : Allow user to set Headers

func (*GetGatewayLocationOptions) SetName added in v0.2.0

SetName : Allow user to set Name

type GetTransitGatewayConnectionOptions added in v0.2.0

type GetTransitGatewayConnectionOptions struct {
	// The Transit Gateway identifier.
	TransitGatewayID *string `json:"transit_gateway_id" validate:"required,ne="`

	// The connection identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetTransitGatewayConnectionOptions : The GetTransitGatewayConnection options.

func (*GetTransitGatewayConnectionOptions) SetHeaders added in v0.2.0

SetHeaders : Allow user to set Headers

func (*GetTransitGatewayConnectionOptions) SetID added in v0.2.0

SetID : Allow user to set ID

func (*GetTransitGatewayConnectionOptions) SetTransitGatewayID added in v0.2.0

func (_options *GetTransitGatewayConnectionOptions) SetTransitGatewayID(transitGatewayID string) *GetTransitGatewayConnectionOptions

SetTransitGatewayID : Allow user to set TransitGatewayID

type GetTransitGatewayConnectionPrefixFilterOptions added in v0.28.0

type GetTransitGatewayConnectionPrefixFilterOptions struct {
	// The Transit Gateway identifier.
	TransitGatewayID *string `json:"transit_gateway_id" validate:"required,ne="`

	// The connection identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Prefix filter identifier.
	FilterID *string `json:"filter_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetTransitGatewayConnectionPrefixFilterOptions : The GetTransitGatewayConnectionPrefixFilter options.

func (*GetTransitGatewayConnectionPrefixFilterOptions) SetFilterID added in v0.28.0

SetFilterID : Allow user to set FilterID

func (*GetTransitGatewayConnectionPrefixFilterOptions) SetHeaders added in v0.28.0

SetHeaders : Allow user to set Headers

func (*GetTransitGatewayConnectionPrefixFilterOptions) SetID added in v0.28.0

SetID : Allow user to set ID

func (*GetTransitGatewayConnectionPrefixFilterOptions) SetTransitGatewayID added in v0.28.0

SetTransitGatewayID : Allow user to set TransitGatewayID

type GetTransitGatewayOptions added in v0.2.0

type GetTransitGatewayOptions struct {
	// The Transit Gateway identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetTransitGatewayOptions : The GetTransitGateway options.

func (*GetTransitGatewayOptions) SetHeaders added in v0.2.0

func (options *GetTransitGatewayOptions) SetHeaders(param map[string]string) *GetTransitGatewayOptions

SetHeaders : Allow user to set Headers

func (*GetTransitGatewayOptions) SetID added in v0.2.0

SetID : Allow user to set ID

type GetTransitGatewayRouteReportOptions added in v0.24.0

type GetTransitGatewayRouteReportOptions struct {
	// The Transit Gateway identifier.
	TransitGatewayID *string `json:"transit_gateway_id" validate:"required,ne="`

	// Route report identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetTransitGatewayRouteReportOptions : The GetTransitGatewayRouteReport options.

func (*GetTransitGatewayRouteReportOptions) SetHeaders added in v0.24.0

SetHeaders : Allow user to set Headers

func (*GetTransitGatewayRouteReportOptions) SetID added in v0.24.0

SetID : Allow user to set ID

func (*GetTransitGatewayRouteReportOptions) SetTransitGatewayID added in v0.24.0

func (_options *GetTransitGatewayRouteReportOptions) SetTransitGatewayID(transitGatewayID string) *GetTransitGatewayRouteReportOptions

SetTransitGatewayID : Allow user to set TransitGatewayID

type ListConnectionsOptions added in v0.17.0

type ListConnectionsOptions struct {
	// The maximum number of resources to return per page.
	Limit *int64 `json:"limit,omitempty"`

	// A server supplied token determining which resource to start the page on.
	Start *string `json:"start,omitempty"`

	// Search for connections with the given network_id value.
	NetworkID *string `json:"network_id,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListConnectionsOptions : The ListConnections options.

func (*ListConnectionsOptions) SetHeaders added in v0.17.0

func (options *ListConnectionsOptions) SetHeaders(param map[string]string) *ListConnectionsOptions

SetHeaders : Allow user to set Headers

func (*ListConnectionsOptions) SetLimit added in v0.17.0

func (_options *ListConnectionsOptions) SetLimit(limit int64) *ListConnectionsOptions

SetLimit : Allow user to set Limit

func (*ListConnectionsOptions) SetNetworkID added in v0.17.0

func (_options *ListConnectionsOptions) SetNetworkID(networkID string) *ListConnectionsOptions

SetNetworkID : Allow user to set NetworkID

func (*ListConnectionsOptions) SetStart added in v0.17.0

func (_options *ListConnectionsOptions) SetStart(start string) *ListConnectionsOptions

SetStart : Allow user to set Start

type ListGatewayLocationsOptions

type ListGatewayLocationsOptions struct {

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListGatewayLocationsOptions : The ListGatewayLocations options.

func (*ListGatewayLocationsOptions) SetHeaders

func (options *ListGatewayLocationsOptions) SetHeaders(param map[string]string) *ListGatewayLocationsOptions

SetHeaders : Allow user to set Headers

type ListTransitGatewayConnectionPrefixFiltersOptions added in v0.28.0

type ListTransitGatewayConnectionPrefixFiltersOptions struct {
	// The Transit Gateway identifier.
	TransitGatewayID *string `json:"transit_gateway_id" validate:"required,ne="`

	// The connection identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListTransitGatewayConnectionPrefixFiltersOptions : The ListTransitGatewayConnectionPrefixFilters options.

func (*ListTransitGatewayConnectionPrefixFiltersOptions) SetHeaders added in v0.28.0

SetHeaders : Allow user to set Headers

func (*ListTransitGatewayConnectionPrefixFiltersOptions) SetID added in v0.28.0

SetID : Allow user to set ID

func (*ListTransitGatewayConnectionPrefixFiltersOptions) SetTransitGatewayID added in v0.28.0

SetTransitGatewayID : Allow user to set TransitGatewayID

type ListTransitGatewayConnectionsOptions

type ListTransitGatewayConnectionsOptions struct {
	// The Transit Gateway identifier.
	TransitGatewayID *string `json:"transit_gateway_id" validate:"required,ne="`

	// A server supplied token determining which resource to start the page on.
	Start *string `json:"start,omitempty"`

	// The maximum number of resources to return per page.
	Limit *int64 `json:"limit,omitempty"`

	// Search for connections with the given name.
	Name *string `json:"name,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListTransitGatewayConnectionsOptions : The ListTransitGatewayConnections options.

func (*ListTransitGatewayConnectionsOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ListTransitGatewayConnectionsOptions) SetLimit added in v0.44.0

SetLimit : Allow user to set Limit

func (*ListTransitGatewayConnectionsOptions) SetName added in v0.44.0

SetName : Allow user to set Name

func (*ListTransitGatewayConnectionsOptions) SetStart added in v0.44.0

SetStart : Allow user to set Start

func (*ListTransitGatewayConnectionsOptions) SetTransitGatewayID

func (_options *ListTransitGatewayConnectionsOptions) SetTransitGatewayID(transitGatewayID string) *ListTransitGatewayConnectionsOptions

SetTransitGatewayID : Allow user to set TransitGatewayID

type ListTransitGatewayRouteReportsOptions added in v0.24.0

type ListTransitGatewayRouteReportsOptions struct {
	// The Transit Gateway identifier.
	TransitGatewayID *string `json:"transit_gateway_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListTransitGatewayRouteReportsOptions : The ListTransitGatewayRouteReports options.

func (*ListTransitGatewayRouteReportsOptions) SetHeaders added in v0.24.0

SetHeaders : Allow user to set Headers

func (*ListTransitGatewayRouteReportsOptions) SetTransitGatewayID added in v0.24.0

func (_options *ListTransitGatewayRouteReportsOptions) SetTransitGatewayID(transitGatewayID string) *ListTransitGatewayRouteReportsOptions

SetTransitGatewayID : Allow user to set TransitGatewayID

type ListTransitGatewaysOptions

type ListTransitGatewaysOptions struct {
	// The maximum number of resources to return per page.
	Limit *int64 `json:"limit,omitempty"`

	// A server supplied token determining which resource to start the page on.
	Start *string `json:"start,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListTransitGatewaysOptions : The ListTransitGateways options.

func (*ListTransitGatewaysOptions) SetHeaders

func (options *ListTransitGatewaysOptions) SetHeaders(param map[string]string) *ListTransitGatewaysOptions

SetHeaders : Allow user to set Headers

func (*ListTransitGatewaysOptions) SetLimit added in v0.17.0

func (_options *ListTransitGatewaysOptions) SetLimit(limit int64) *ListTransitGatewaysOptions

SetLimit : Allow user to set Limit

func (*ListTransitGatewaysOptions) SetStart added in v0.17.0

SetStart : Allow user to set Start

type PaginationFirstConnection added in v0.44.0

type PaginationFirstConnection struct {
	// url.
	Href *string `json:"href" validate:"required"`
}

PaginationFirstConnection : A reference to the first page of resources.

type PaginationFirstTG added in v0.44.0

type PaginationFirstTG struct {
	// url.
	Href *string `json:"href" validate:"required"`
}

PaginationFirstTG : A reference to the first page of resources.

type PaginationFirstTGWConnection added in v0.44.0

type PaginationFirstTGWConnection struct {
	// url.
	Href *string `json:"href" validate:"required"`
}

PaginationFirstTGWConnection : A reference to the first page of resources. This will be returned when number of connections in response are greater than max page limit.

type PaginationNextConnection added in v0.44.0

type PaginationNextConnection struct {
	// url.
	Href *string `json:"href" validate:"required"`

	// server generated start token for next page of resources.
	Start *string `json:"start" validate:"required"`
}

PaginationNextConnection : A reference to the next page of resources; this reference is included for all pages except the last page.

type PaginationNextTG added in v0.44.0

type PaginationNextTG struct {
	// url.
	Href *string `json:"href" validate:"required"`

	// server generated start token for next page of resources.
	Start *string `json:"start" validate:"required"`
}

PaginationNextTG : A reference to the next page of resources; this reference is included for all pages except the last page.

type PaginationNextTGWConnection added in v0.44.0

type PaginationNextTGWConnection struct {
	// url.
	Href *string `json:"href" validate:"required"`

	// server generated start token for next page of resources.
	Start *string `json:"start" validate:"required"`
}

PaginationNextTGWConnection : A reference to the next page of resources; this reference is included for all pages except the last page.

type PrefixFilterCollection added in v0.28.0

type PrefixFilterCollection struct {
	// Array of prefix filters.
	PrefixFilters []PrefixFilterCust `json:"prefix_filters" validate:"required"`
}

PrefixFilterCollection : prefix filters.

type PrefixFilterCust added in v0.28.0

type PrefixFilterCust struct {
	// Whether or not this prefix filter should allow or deny prefixes matching this filter's prefix definition.
	Action *string `json:"action" validate:"required"`

	// A reference to the prefix filter that will be the next filter applied to the Transit Gateway connection.
	//
	// If this field is blank, this prefix filter will be the last rule applied before the connection's default rule.
	//
	// When a prefix filter is created with the same before field as an existing prefix filter, the existing filter will be
	// applied before the new filter, and the existing filter's before field will be updated accordingly.
	Before *string `json:"before,omitempty"`

	// The date and time that this prefix filter was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// Defines the minimum matched prefix precision. If this field is non-zero then the filter will match all routes within
	// the 'prefix' that have a prefix length greater or equal to this value.
	//
	// This value can be zero, or a non-negative number greater than or equal to the prefix length of the filter's prefix
	// or less then or equal to 32. If this value is set to zero, the filter will not use the 'ge' route matching behavior.
	// If the 'le' value is non-zero the the 'ge' value must between the prefix length and the
	// 'le' value, inclusive.
	Ge *int64 `json:"ge,omitempty"`

	// Prefix Filter identifier.
	ID *string `json:"id" validate:"required"`

	// Defines the maximum matched prefix precision. If this field is non-zero then the filter will match all routes within
	// the 'prefix' that have a prefix length less than or equal to this value.
	//
	// This value can be zero, or a non-negative number greater than or equal to the prefix length of the filter's prefix
	// or less then or equal to 32. If this value is set to zero, the filter will not use the 'le' route matching behavior.
	// If the 'ge' value is non-zero the the 'le' value must between the 'ge' value and 32, inclusive.
	Le *int64 `json:"le,omitempty"`

	// The IPv4 Prefix to be matched by this filter. If both the 'le' and 'ge' are zero, then this filter will only apply
	// to routes that exactly match this prefix, while a non-zero value for either 'le' or 'ge', this filter can apply to
	// multiple routes with different prefix lengths, but will still only apply to prefixes contained in the address space
	// defined by 'prefix'.
	Prefix *string `json:"prefix" validate:"required"`

	// The date and time that this prefix filter was last updated.
	UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"`
}

PrefixFilterCust : prefix filter.

type PrefixFilterPut added in v0.36.0

type PrefixFilterPut struct {
	// Whether or not this prefix filter should allow or deny prefixes matching this filter's prefix definition.
	Action *string `json:"action" validate:"required"`

	// Defines the minimum matched prefix precision. If this field is non-zero then the filter will match all routes within
	// the 'prefix' that have a prefix length greater or equal to this value.
	//
	// This value can be zero, or a non-negative number greater than or equal to the prefix length of the filter's prefix
	// or less then or equal to 32. If this value is set to zero, the filter will not use the 'ge' route matching behavior.
	// If the 'le' value is non-zero the the 'ge' value must between the prefix length and the
	// 'le' value, inclusive.
	Ge *int64 `json:"ge,omitempty"`

	// Defines the maximum matched prefix precision. If this field is non-zero then the filter will match all routes within
	// the 'prefix' that have a prefix length less than or equal to this value.
	//
	// This value can be zero, or a non-negative number greater than or equal to the prefix length of the filter's prefix
	// or less then or equal to 32. If this value is set to zero, the filter will not use the 'le' route matching behavior.
	// If the 'ge' value is non-zero the the 'le' value must between the 'ge' value and 32, inclusive.
	Le *int64 `json:"le,omitempty"`

	// The IPv4 Prefix to be matched by this filter. If both the 'le' and 'ge' are zero, then this filter will only apply
	// to routes that exactly match this prefix, while a non-zero value for either 'le' or 'ge', this filter can apply to
	// multiple routes with different prefix lengths, but will still only apply to prefixes contained in the address space
	// defined by 'prefix'.
	Prefix *string `json:"prefix" validate:"required"`
}

PrefixFilterPut : A prefix filter update template.

type ReplaceTransitGatewayConnectionPrefixFilterOptions added in v0.36.0

type ReplaceTransitGatewayConnectionPrefixFilterOptions struct {
	// The Transit Gateway identifier.
	TransitGatewayID *string `json:"transit_gateway_id" validate:"required,ne="`

	// The connection identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Array of prefix filters.
	PrefixFilters []PrefixFilterPut `json:"prefix_filters" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ReplaceTransitGatewayConnectionPrefixFilterOptions : The ReplaceTransitGatewayConnectionPrefixFilter options.

func (*ReplaceTransitGatewayConnectionPrefixFilterOptions) SetHeaders added in v0.36.0

SetHeaders : Allow user to set Headers

func (*ReplaceTransitGatewayConnectionPrefixFilterOptions) SetID added in v0.36.0

SetID : Allow user to set ID

func (*ReplaceTransitGatewayConnectionPrefixFilterOptions) SetPrefixFilters added in v0.36.0

SetPrefixFilters : Allow user to set PrefixFilters

func (*ReplaceTransitGatewayConnectionPrefixFilterOptions) SetTransitGatewayID added in v0.36.0

SetTransitGatewayID : Allow user to set TransitGatewayID

type ResourceGroupIdentity

type ResourceGroupIdentity struct {
	// The unique identifier for this resource group.
	ID *string `json:"id" validate:"required"`
}

ResourceGroupIdentity : The resource group to use. If unspecified, the account's [default resource group](https://console.bluemix.net/apidocs/resource-manager#introduction) is used.

type ResourceGroupReference

type ResourceGroupReference struct {
	// The unique identifier for this resource group.
	ID *string `json:"id" validate:"required"`

	// The URL for this resource group.
	Href *string `json:"href" validate:"required"`
}

ResourceGroupReference : The resource group to use. If unspecified, the account's [default resource group](https://console.bluemix.net/apidocs/resource-manager#introduction) is used.

type RouteReport added in v0.24.0

type RouteReport struct {
	// Array of connections with their routes.
	Connections []RouteReportConnection `json:"connections" validate:"required"`

	// Date and time route report was requested.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// Report identifier.
	ID *string `json:"id" validate:"required"`

	// Array of overlapping routes.
	OverlappingRoutes []RouteReportOverlappingRouteGroup `json:"overlapping_routes" validate:"required"`

	// Route report status. The list of enumerated values for this property may expand in the future. Code and processes
	// using this field must tolerate unexpected values.
	Status *string `json:"status" validate:"required"`

	// Date and time route report was last modified.
	UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"`
}

RouteReport : route report.

type RouteReportCollection added in v0.24.0

type RouteReportCollection struct {
	// Array of route reports.
	RouteReports []RouteReport `json:"route_reports" validate:"required"`
}

RouteReportCollection : route reports.

type RouteReportConnection added in v0.24.0

type RouteReportConnection struct {
	// Array of connection's bgps.
	Bgps []RouteReportConnectionBgp `json:"bgps,omitempty"`

	// connection ID.
	ID *string `json:"id,omitempty"`

	// connection name.
	Name *string `json:"name,omitempty"`

	// Array of connection's routes.
	Routes []RouteReportConnectionRoute `json:"routes,omitempty"`

	// connection type.
	Type *string `json:"type,omitempty"`
}

RouteReportConnection : route report connection.

type RouteReportConnectionBgp added in v0.24.0

type RouteReportConnectionBgp struct {
	// AS path.
	AsPath *string `json:"as_path,omitempty"`

	// Indicates whether current route is used or not.
	IsUsed *bool `json:"is_used,omitempty"`

	// local preference.
	LocalPreference *string `json:"local_preference,omitempty"`

	// prefix.
	Prefix *string `json:"prefix,omitempty"`
}

RouteReportConnectionBgp : connection bgp details.

type RouteReportConnectionRoute added in v0.24.0

type RouteReportConnectionRoute struct {
	// prefix.
	Prefix *string `json:"prefix,omitempty"`
}

RouteReportConnectionRoute : connection used route.

type RouteReportOverlappingRoute added in v0.24.0

type RouteReportOverlappingRoute struct {
	// connection ID.
	ConnectionID *string `json:"connection_id,omitempty"`

	// overlapping prefix.
	Prefix *string `json:"prefix,omitempty"`
}

RouteReportOverlappingRoute : overlapping route details.

type RouteReportOverlappingRouteGroup added in v0.24.0

type RouteReportOverlappingRouteGroup struct {
	// Array of overlapping connection/prefix pairs.
	Routes []RouteReportOverlappingRoute `json:"routes,omitempty"`
}

RouteReportOverlappingRouteGroup : Collection of overlapping route.

type TSCollection

type TSCollection struct {
	// Collection of Transit Gateway locations.
	Locations []TSLocationBasic `json:"locations" validate:"required"`
}

TSCollection : A list of Transit Gateway locations.

type TSLocalLocation

type TSLocalLocation struct {
	// A descriptive display name for the location.
	DisplayName *string `json:"display_name" validate:"required"`

	// The name of the location.
	Name *string `json:"name" validate:"required"`

	// Array of supported connection types.
	SupportedConnectionTypes []string `json:"supported_connection_types,omitempty"`

	// The type of the location, determining is this a multi-zone region, a single data center, or a point of presence. The
	// list of enumerated values for this property may expand in the future. Code and processes using this field must
	// tolerate unexpected values.
	Type *string `json:"type" validate:"required"`
}

TSLocalLocation : Details of a local connection location.

type TSLocation

type TSLocation struct {
	// The geographical location of this location, used for billing purposes.
	BillingLocation *string `json:"billing_location" validate:"required"`

	// Name of the Location.
	Name *string `json:"name" validate:"required"`

	// The type of the location, determining is this a multi-zone region, a single data center, or a point of presence.
	Type *string `json:"type" validate:"required"`

	// The set of network locations that are considered local for this Transit Gateway location.
	LocalConnectionLocations []TSLocalLocation `json:"local_connection_locations" validate:"required"`
}

TSLocation : Details of a Transit Gateway location.

type TSLocationBasic

type TSLocationBasic struct {
	// The geographical location of this location, used for billing purposes.
	BillingLocation *string `json:"billing_location" validate:"required"`

	// Name of the Location.
	Name *string `json:"name" validate:"required"`

	// The type of the location, determining is this a multi-zone region, a single data center, or a point of presence.
	Type *string `json:"type" validate:"required"`
}

TSLocationBasic : Details of a Transit Gateway location.

type TransitConnection added in v0.17.0

type TransitConnection struct {
	// network_type 'gre_tunnel' connections use 'base_connection_id' to specify the id of a network_type 'classic'
	// connection the tunnel is configured over. The specified connection must reside in the same transit gateway and be in
	// an active state. The 'classic' connection cannot be deleted until any 'gre_tunnel' connections using it are deleted.
	// This field only applies to and is required for network type 'gre_tunnel' connections.
	BaseConnectionID *string `json:"base_connection_id,omitempty"`

	// The date and time that this connection was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// The unique identifier for this connection.
	ID *string `json:"id" validate:"required"`

	// Local network BGP ASN.  This field only applies to network type 'gre_tunnel' connections.
	LocalBgpAsn *int64 `json:"local_bgp_asn,omitempty"`

	// Local gateway IP address.  This field only applies to network type 'gre_tunnel' connections.
	LocalGatewayIp *string `json:"local_gateway_ip,omitempty"`

	// Local tunnel IP address.  This field only applies to network type 'gre_tunnel' connections.
	LocalTunnelIp *string `json:"local_tunnel_ip,omitempty"`

	// GRE tunnel MTU.  This field only applies to network type 'gre_tunnel' connections.
	Mtu *int64 `json:"mtu,omitempty"`

	// The user-defined name for this transit gateway connection.
	Name *string `json:"name" validate:"required"`

	// The ID of the account which owns the connected network. Generally only used if the network is in a different IBM
	// Cloud account than the gateway.
	NetworkAccountID *string `json:"network_account_id,omitempty"`

	// The ID of the network being connected via this connection. This field is required for some types, such as 'vpc',
	// 'power_virtual_server' and 'directlink'. For network types 'vpc','power_virtual_server' and 'directlink' this is the
	// CRN of the VPC / PowerVS / Direct Link gateway respectively.
	NetworkID *string `json:"network_id,omitempty"`

	// Defines what type of network is connected via this connection. The list of enumerated values for this property may
	// expand in the future. Code and processes using this field must tolerate unexpected values.
	NetworkType *string `json:"network_type" validate:"required"`

	// Array of prefix route filters for a transit gateway connection. This is order dependent with those first in the
	// array being applied first, and those at the end of the array is applied last, or just before the default.
	PrefixFilters []TransitGatewayConnectionPrefixFilterReference `json:"prefix_filters,omitempty"`

	// Default setting of permit or deny which applies to any routes that don't match a specified filter.
	PrefixFiltersDefault *string `json:"prefix_filters_default" validate:"required"`

	// Remote network BGP ASN.  This field only applies to network type 'gre_tunnel' connections.
	RemoteBgpAsn *int64 `json:"remote_bgp_asn,omitempty"`

	// Remote gateway IP address.  This field only applies to network type 'gre_tunnel' connections.
	RemoteGatewayIp *string `json:"remote_gateway_ip,omitempty"`

	// Remote tunnel IP address.  This field only applies to network type 'gre_tunnel' connections.
	RemoteTunnelIp *string `json:"remote_tunnel_ip,omitempty"`

	// Only visible for cross account connections, this field represents the status of a connection request between IBM
	// Cloud accounts. The list of enumerated values for this property may expand in the future. Code and processes using
	// this field must tolerate unexpected values.
	RequestStatus *string `json:"request_status,omitempty"`

	// Connection state. The list of enumerated values for this property may expand in the future. Code and processes using
	// this field must tolerate unexpected values.
	Status *string `json:"status" validate:"required"`

	// Reference to the transit gateway that contains this connection.
	TransitGateway *TransitGatewayReference `json:"transit_gateway" validate:"required"`

	// The date and time that this connection was last updated.
	UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"`

	// Location of GRE tunnel.  This field only applies to network type 'gre_tunnel' connections.
	Zone *ZoneReference `json:"zone,omitempty"`
}

TransitConnection : Transit gateway connection.

type TransitConnectionCollection added in v0.17.0

type TransitConnectionCollection struct {
	// Array of transit gateway connections.
	Connections []TransitConnection `json:"connections" validate:"required"`

	// A reference to the first page of resources.
	First *PaginationFirstConnection `json:"first" validate:"required"`

	// The maximum number of connections returned on one request.
	Limit *int64 `json:"limit" validate:"required"`

	// A reference to the next page of resources; this reference is included for all pages except the last page.
	Next *PaginationNextConnection `json:"next,omitempty"`
}

TransitConnectionCollection : Transit gateway connections.

func (*TransitConnectionCollection) GetNextStart added in v0.23.1

func (resp *TransitConnectionCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type TransitGateway

type TransitGateway struct {
	// The unique identifier for this Transit Gateway.
	ID *string `json:"id" validate:"required"`

	// The CRN for this Transit Gateway.
	Crn *string `json:"crn" validate:"required"`

	// A human readable name for the transit gateway.
	Name *string `json:"name" validate:"required"`

	// Location of Transit Gateway Services.
	Location *string `json:"location" validate:"required"`

	// The date and time that this gateway was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// Allow global routing for a Transit Gateway.
	Global *bool `json:"global" validate:"required"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://console.bluemix.net/apidocs/resource-manager#introduction) is used.
	ResourceGroup *ResourceGroupReference `json:"resource_group,omitempty"`

	// The status of the Transit Gateway. The list of enumerated values for this property may expand in the future. Code
	// and processes using this field must tolerate unexpected values.
	Status *string `json:"status" validate:"required"`

	// The date and time that this gateway was last updated.
	UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"`
}

TransitGateway : Details of a Transit Gateway.

type TransitGatewayApisV1

type TransitGatewayApisV1 struct {
	Service *core.BaseService

	// 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.
	Version *string
}

TransitGatewayApisV1 : No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

API Version: __VERSION__

func NewTransitGatewayApisV1

func NewTransitGatewayApisV1(options *TransitGatewayApisV1Options) (service *TransitGatewayApisV1, err error)

NewTransitGatewayApisV1 : constructs an instance of TransitGatewayApisV1 with passed in options.

func NewTransitGatewayApisV1UsingExternalConfig

func NewTransitGatewayApisV1UsingExternalConfig(options *TransitGatewayApisV1Options) (transitGatewayApis *TransitGatewayApisV1, err error)

NewTransitGatewayApisV1UsingExternalConfig : constructs an instance of TransitGatewayApisV1 with passed in options and external configuration.

func (*TransitGatewayApisV1) Clone added in v0.23.1

func (transitGatewayApis *TransitGatewayApisV1) Clone() *TransitGatewayApisV1

Clone makes a copy of "transitGatewayApis" suitable for processing requests.

func (*TransitGatewayApisV1) CreateTransitGateway

func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGateway(createTransitGatewayOptions *CreateTransitGatewayOptions) (result *TransitGateway, response *core.DetailedResponse, err error)

CreateTransitGateway : Creates a Transit Gateway Create a Transit Gateway based on the supplied input template.

func (*TransitGatewayApisV1) CreateTransitGatewayConnection

func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayConnection(createTransitGatewayConnectionOptions *CreateTransitGatewayConnectionOptions) (result *TransitGatewayConnectionCust, response *core.DetailedResponse, err error)

CreateTransitGatewayConnection : Add connection to a Transit Gateway Add a connection to Transit Gateway.

func (*TransitGatewayApisV1) CreateTransitGatewayConnectionActions added in v0.2.0

func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayConnectionActions(createTransitGatewayConnectionActionsOptions *CreateTransitGatewayConnectionActionsOptions) (response *core.DetailedResponse, err error)

CreateTransitGatewayConnectionActions : Perform actions on a connection for a Transit Gateway Allow a network owner to approve or reject a cross-account connection request.

func (*TransitGatewayApisV1) CreateTransitGatewayConnectionActionsWithContext added in v0.23.1

func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayConnectionActionsWithContext(ctx context.Context, createTransitGatewayConnectionActionsOptions *CreateTransitGatewayConnectionActionsOptions) (response *core.DetailedResponse, err error)

CreateTransitGatewayConnectionActionsWithContext is an alternate form of the CreateTransitGatewayConnectionActions method which supports a Context parameter

func (*TransitGatewayApisV1) CreateTransitGatewayConnectionPrefixFilter added in v0.28.0

func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayConnectionPrefixFilter(createTransitGatewayConnectionPrefixFilterOptions *CreateTransitGatewayConnectionPrefixFilterOptions) (result *PrefixFilterCust, response *core.DetailedResponse, err error)

CreateTransitGatewayConnectionPrefixFilter : Add a prefix filter to a Transit Gateway Connection Add a prefix filter to a Transit Gateway Connection.

func (*TransitGatewayApisV1) CreateTransitGatewayConnectionPrefixFilterWithContext added in v0.28.0

func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayConnectionPrefixFilterWithContext(ctx context.Context, createTransitGatewayConnectionPrefixFilterOptions *CreateTransitGatewayConnectionPrefixFilterOptions) (result *PrefixFilterCust, response *core.DetailedResponse, err error)

CreateTransitGatewayConnectionPrefixFilterWithContext is an alternate form of the CreateTransitGatewayConnectionPrefixFilter method which supports a Context parameter

func (*TransitGatewayApisV1) CreateTransitGatewayConnectionWithContext added in v0.23.1

func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayConnectionWithContext(ctx context.Context, createTransitGatewayConnectionOptions *CreateTransitGatewayConnectionOptions) (result *TransitGatewayConnectionCust, response *core.DetailedResponse, err error)

CreateTransitGatewayConnectionWithContext is an alternate form of the CreateTransitGatewayConnection method which supports a Context parameter

func (*TransitGatewayApisV1) CreateTransitGatewayRouteReport added in v0.24.0

func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayRouteReport(createTransitGatewayRouteReportOptions *CreateTransitGatewayRouteReportOptions) (result *RouteReport, response *core.DetailedResponse, err error)

CreateTransitGatewayRouteReport : 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.

func (*TransitGatewayApisV1) CreateTransitGatewayRouteReportWithContext added in v0.24.0

func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayRouteReportWithContext(ctx context.Context, createTransitGatewayRouteReportOptions *CreateTransitGatewayRouteReportOptions) (result *RouteReport, response *core.DetailedResponse, err error)

CreateTransitGatewayRouteReportWithContext is an alternate form of the CreateTransitGatewayRouteReport method which supports a Context parameter

func (*TransitGatewayApisV1) CreateTransitGatewayWithContext added in v0.23.1

func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayWithContext(ctx context.Context, createTransitGatewayOptions *CreateTransitGatewayOptions) (result *TransitGateway, response *core.DetailedResponse, err error)

CreateTransitGatewayWithContext is an alternate form of the CreateTransitGateway method which supports a Context parameter

func (*TransitGatewayApisV1) DeleteTransitGateway

func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGateway(deleteTransitGatewayOptions *DeleteTransitGatewayOptions) (response *core.DetailedResponse, err error)

DeleteTransitGateway : Deletes specified Transit Gateway This request deletes a Transit Gateway. This operation cannot be reversed. For this request to succeed, the Transit Gateway must not contain connections.

func (*TransitGatewayApisV1) DeleteTransitGatewayConnection

func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayConnection(deleteTransitGatewayConnectionOptions *DeleteTransitGatewayConnectionOptions) (response *core.DetailedResponse, err error)

DeleteTransitGatewayConnection : Remove 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.

func (*TransitGatewayApisV1) DeleteTransitGatewayConnectionPrefixFilter added in v0.28.0

func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayConnectionPrefixFilter(deleteTransitGatewayConnectionPrefixFilterOptions *DeleteTransitGatewayConnectionPrefixFilterOptions) (response *core.DetailedResponse, err error)

DeleteTransitGatewayConnectionPrefixFilter : Remove prefix filter from Transit Gateway Connection Delete a prefix filter.

func (*TransitGatewayApisV1) DeleteTransitGatewayConnectionPrefixFilterWithContext added in v0.28.0

func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayConnectionPrefixFilterWithContext(ctx context.Context, deleteTransitGatewayConnectionPrefixFilterOptions *DeleteTransitGatewayConnectionPrefixFilterOptions) (response *core.DetailedResponse, err error)

DeleteTransitGatewayConnectionPrefixFilterWithContext is an alternate form of the DeleteTransitGatewayConnectionPrefixFilter method which supports a Context parameter

func (*TransitGatewayApisV1) DeleteTransitGatewayConnectionWithContext added in v0.23.1

func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayConnectionWithContext(ctx context.Context, deleteTransitGatewayConnectionOptions *DeleteTransitGatewayConnectionOptions) (response *core.DetailedResponse, err error)

DeleteTransitGatewayConnectionWithContext is an alternate form of the DeleteTransitGatewayConnection method which supports a Context parameter

func (*TransitGatewayApisV1) DeleteTransitGatewayRouteReport added in v0.24.0

func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayRouteReport(deleteTransitGatewayRouteReportOptions *DeleteTransitGatewayRouteReportOptions) (response *core.DetailedResponse, err error)

DeleteTransitGatewayRouteReport : Delete route report Delete a route report.

func (*TransitGatewayApisV1) DeleteTransitGatewayRouteReportWithContext added in v0.24.0

func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayRouteReportWithContext(ctx context.Context, deleteTransitGatewayRouteReportOptions *DeleteTransitGatewayRouteReportOptions) (response *core.DetailedResponse, err error)

DeleteTransitGatewayRouteReportWithContext is an alternate form of the DeleteTransitGatewayRouteReport method which supports a Context parameter

func (*TransitGatewayApisV1) DeleteTransitGatewayWithContext added in v0.23.1

func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayWithContext(ctx context.Context, deleteTransitGatewayOptions *DeleteTransitGatewayOptions) (response *core.DetailedResponse, err error)

DeleteTransitGatewayWithContext is an alternate form of the DeleteTransitGateway method which supports a Context parameter

func (*TransitGatewayApisV1) DisableRetries added in v0.23.1

func (transitGatewayApis *TransitGatewayApisV1) DisableRetries()

DisableRetries disables automatic retries for requests invoked for this service instance.

func (*TransitGatewayApisV1) EnableRetries added in v0.23.1

func (transitGatewayApis *TransitGatewayApisV1) EnableRetries(maxRetries int, maxRetryInterval time.Duration)

EnableRetries enables automatic retries for requests invoked for this service instance. If either parameter is specified as 0, then a default value is used instead.

func (*TransitGatewayApisV1) GetEnableGzipCompression added in v0.23.1

func (transitGatewayApis *TransitGatewayApisV1) GetEnableGzipCompression() bool

GetEnableGzipCompression returns the service's EnableGzipCompression field

func (*TransitGatewayApisV1) GetGatewayLocation added in v0.2.0

func (transitGatewayApis *TransitGatewayApisV1) GetGatewayLocation(getGatewayLocationOptions *GetGatewayLocationOptions) (result *TSLocation, response *core.DetailedResponse, err error)

GetGatewayLocation : Show the details of a given Transit Gateway location Get the details of a Transit Gateway Location.

func (*TransitGatewayApisV1) GetGatewayLocationWithContext added in v0.23.1

func (transitGatewayApis *TransitGatewayApisV1) GetGatewayLocationWithContext(ctx context.Context, getGatewayLocationOptions *GetGatewayLocationOptions) (result *TSLocation, response *core.DetailedResponse, err error)

GetGatewayLocationWithContext is an alternate form of the GetGatewayLocation method which supports a Context parameter

func (*TransitGatewayApisV1) GetServiceURL added in v0.23.1

func (transitGatewayApis *TransitGatewayApisV1) GetServiceURL() string

GetServiceURL returns the service URL

func (*TransitGatewayApisV1) GetTransitGateway added in v0.2.0

func (transitGatewayApis *TransitGatewayApisV1) GetTransitGateway(getTransitGatewayOptions *GetTransitGatewayOptions) (result *TransitGateway, response *core.DetailedResponse, err error)

GetTransitGateway : Retrieves specified Transit Gateway This request retrieves a single Transit Gateway specified by the identifier in the URL.

func (*TransitGatewayApisV1) GetTransitGatewayConnection added in v0.2.0

func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayConnection(getTransitGatewayConnectionOptions *GetTransitGatewayConnectionOptions) (result *TransitGatewayConnectionCust, response *core.DetailedResponse, err error)

GetTransitGatewayConnection : Retrieves specified Transit Gateway connection This request retrieves a connection from the Transit Gateway.

func (*TransitGatewayApisV1) GetTransitGatewayConnectionPrefixFilter added in v0.28.0

func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayConnectionPrefixFilter(getTransitGatewayConnectionPrefixFilterOptions *GetTransitGatewayConnectionPrefixFilterOptions) (result *PrefixFilterCust, response *core.DetailedResponse, err error)

GetTransitGatewayConnectionPrefixFilter : Retrieves specified Transit Gateway connection prefix filter This request retrieves a prefix filter from the Transit Gateway Connection.

func (*TransitGatewayApisV1) GetTransitGatewayConnectionPrefixFilterWithContext added in v0.28.0

func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayConnectionPrefixFilterWithContext(ctx context.Context, getTransitGatewayConnectionPrefixFilterOptions *GetTransitGatewayConnectionPrefixFilterOptions) (result *PrefixFilterCust, response *core.DetailedResponse, err error)

GetTransitGatewayConnectionPrefixFilterWithContext is an alternate form of the GetTransitGatewayConnectionPrefixFilter method which supports a Context parameter

func (*TransitGatewayApisV1) GetTransitGatewayConnectionWithContext added in v0.23.1

func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayConnectionWithContext(ctx context.Context, getTransitGatewayConnectionOptions *GetTransitGatewayConnectionOptions) (result *TransitGatewayConnectionCust, response *core.DetailedResponse, err error)

GetTransitGatewayConnectionWithContext is an alternate form of the GetTransitGatewayConnection method which supports a Context parameter

func (*TransitGatewayApisV1) GetTransitGatewayRouteReport added in v0.24.0

func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayRouteReport(getTransitGatewayRouteReportOptions *GetTransitGatewayRouteReportOptions) (result *RouteReport, response *core.DetailedResponse, err error)

GetTransitGatewayRouteReport : Retrieve route report Retrieve a route report.

func (*TransitGatewayApisV1) GetTransitGatewayRouteReportWithContext added in v0.24.0

func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayRouteReportWithContext(ctx context.Context, getTransitGatewayRouteReportOptions *GetTransitGatewayRouteReportOptions) (result *RouteReport, response *core.DetailedResponse, err error)

GetTransitGatewayRouteReportWithContext is an alternate form of the GetTransitGatewayRouteReport method which supports a Context parameter

func (*TransitGatewayApisV1) GetTransitGatewayWithContext added in v0.23.1

func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayWithContext(ctx context.Context, getTransitGatewayOptions *GetTransitGatewayOptions) (result *TransitGateway, response *core.DetailedResponse, err error)

GetTransitGatewayWithContext is an alternate form of the GetTransitGateway method which supports a Context parameter

func (*TransitGatewayApisV1) ListConnections added in v0.17.0

func (transitGatewayApis *TransitGatewayApisV1) ListConnections(listConnectionsOptions *ListConnectionsOptions) (result *TransitConnectionCollection, response *core.DetailedResponse, err error)

ListConnections : Retrieves all connections List all transit gateway connections associated with this account.

func (*TransitGatewayApisV1) ListConnectionsWithContext added in v0.23.1

func (transitGatewayApis *TransitGatewayApisV1) ListConnectionsWithContext(ctx context.Context, listConnectionsOptions *ListConnectionsOptions) (result *TransitConnectionCollection, response *core.DetailedResponse, err error)

ListConnectionsWithContext is an alternate form of the ListConnections method which supports a Context parameter

func (*TransitGatewayApisV1) ListGatewayLocations

func (transitGatewayApis *TransitGatewayApisV1) ListGatewayLocations(listGatewayLocationsOptions *ListGatewayLocationsOptions) (result *TSCollection, response *core.DetailedResponse, err error)

ListGatewayLocations : List all locations that support Transit Gateways List all locations that support Transit Gateways.

func (*TransitGatewayApisV1) ListGatewayLocationsWithContext added in v0.23.1

func (transitGatewayApis *TransitGatewayApisV1) ListGatewayLocationsWithContext(ctx context.Context, listGatewayLocationsOptions *ListGatewayLocationsOptions) (result *TSCollection, response *core.DetailedResponse, err error)

ListGatewayLocationsWithContext is an alternate form of the ListGatewayLocations method which supports a Context parameter

func (*TransitGatewayApisV1) ListTransitGatewayConnectionPrefixFilters added in v0.28.0

func (transitGatewayApis *TransitGatewayApisV1) ListTransitGatewayConnectionPrefixFilters(listTransitGatewayConnectionPrefixFiltersOptions *ListTransitGatewayConnectionPrefixFiltersOptions) (result *PrefixFilterCollection, response *core.DetailedResponse, err error)

ListTransitGatewayConnectionPrefixFilters : Retrieves all prefix filters in a Transit Gateway connection This request retrieves all prefix filters in a Transit Gateway connection.

func (*TransitGatewayApisV1) ListTransitGatewayConnectionPrefixFiltersWithContext added in v0.28.0

func (transitGatewayApis *TransitGatewayApisV1) ListTransitGatewayConnectionPrefixFiltersWithContext(ctx context.Context, listTransitGatewayConnectionPrefixFiltersOptions *ListTransitGatewayConnectionPrefixFiltersOptions) (result *PrefixFilterCollection, response *core.DetailedResponse, err error)

ListTransitGatewayConnectionPrefixFiltersWithContext is an alternate form of the ListTransitGatewayConnectionPrefixFilters method which supports a Context parameter

func (*TransitGatewayApisV1) ListTransitGatewayConnections

func (transitGatewayApis *TransitGatewayApisV1) ListTransitGatewayConnections(listTransitGatewayConnectionsOptions *ListTransitGatewayConnectionsOptions) (result *TransitGatewayConnectionCollection, response *core.DetailedResponse, err error)

ListTransitGatewayConnections : Retrieves all connections in a Transit Gateway This request retrieves all connections in a Transit Gateway.

func (*TransitGatewayApisV1) ListTransitGatewayConnectionsWithContext added in v0.23.1

func (transitGatewayApis *TransitGatewayApisV1) ListTransitGatewayConnectionsWithContext(ctx context.Context, listTransitGatewayConnectionsOptions *ListTransitGatewayConnectionsOptions) (result *TransitGatewayConnectionCollection, response *core.DetailedResponse, err error)

ListTransitGatewayConnectionsWithContext is an alternate form of the ListTransitGatewayConnections method which supports a Context parameter

func (*TransitGatewayApisV1) ListTransitGatewayRouteReports added in v0.24.0

func (transitGatewayApis *TransitGatewayApisV1) ListTransitGatewayRouteReports(listTransitGatewayRouteReportsOptions *ListTransitGatewayRouteReportsOptions) (result *RouteReportCollection, response *core.DetailedResponse, err error)

ListTransitGatewayRouteReports : List 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.

func (*TransitGatewayApisV1) ListTransitGatewayRouteReportsWithContext added in v0.24.0

func (transitGatewayApis *TransitGatewayApisV1) ListTransitGatewayRouteReportsWithContext(ctx context.Context, listTransitGatewayRouteReportsOptions *ListTransitGatewayRouteReportsOptions) (result *RouteReportCollection, response *core.DetailedResponse, err error)

ListTransitGatewayRouteReportsWithContext is an alternate form of the ListTransitGatewayRouteReports method which supports a Context parameter

func (*TransitGatewayApisV1) ListTransitGateways

func (transitGatewayApis *TransitGatewayApisV1) ListTransitGateways(listTransitGatewaysOptions *ListTransitGatewaysOptions) (result *TransitGatewayCollection, response *core.DetailedResponse, err error)

ListTransitGateways : Retrieves all Transit Gateways List all Transit Gateways in account the caller is authorized to view.

func (*TransitGatewayApisV1) ListTransitGatewaysWithContext added in v0.23.1

func (transitGatewayApis *TransitGatewayApisV1) ListTransitGatewaysWithContext(ctx context.Context, listTransitGatewaysOptions *ListTransitGatewaysOptions) (result *TransitGatewayCollection, response *core.DetailedResponse, err error)

ListTransitGatewaysWithContext is an alternate form of the ListTransitGateways method which supports a Context parameter

func (*TransitGatewayApisV1) NewConnectionsPager added in v0.44.0

func (transitGatewayApis *TransitGatewayApisV1) NewConnectionsPager(options *ListConnectionsOptions) (pager *ConnectionsPager, err error)

NewConnectionsPager returns a new ConnectionsPager instance.

func (*TransitGatewayApisV1) NewCreateTransitGatewayConnectionActionsOptions added in v0.2.0

func (*TransitGatewayApisV1) NewCreateTransitGatewayConnectionActionsOptions(transitGatewayID string, id string, action string) *CreateTransitGatewayConnectionActionsOptions

NewCreateTransitGatewayConnectionActionsOptions : Instantiate CreateTransitGatewayConnectionActionsOptions

func (*TransitGatewayApisV1) NewCreateTransitGatewayConnectionOptions

func (*TransitGatewayApisV1) NewCreateTransitGatewayConnectionOptions(transitGatewayID string, networkType string) *CreateTransitGatewayConnectionOptions

NewCreateTransitGatewayConnectionOptions : Instantiate CreateTransitGatewayConnectionOptions

func (*TransitGatewayApisV1) NewCreateTransitGatewayConnectionPrefixFilterOptions added in v0.28.0

func (*TransitGatewayApisV1) NewCreateTransitGatewayConnectionPrefixFilterOptions(transitGatewayID string, id string, action string, prefix string) *CreateTransitGatewayConnectionPrefixFilterOptions

NewCreateTransitGatewayConnectionPrefixFilterOptions : Instantiate CreateTransitGatewayConnectionPrefixFilterOptions

func (*TransitGatewayApisV1) NewCreateTransitGatewayOptions

func (*TransitGatewayApisV1) NewCreateTransitGatewayOptions(location string, name string) *CreateTransitGatewayOptions

NewCreateTransitGatewayOptions : Instantiate CreateTransitGatewayOptions

func (*TransitGatewayApisV1) NewCreateTransitGatewayRouteReportOptions added in v0.24.0

func (*TransitGatewayApisV1) NewCreateTransitGatewayRouteReportOptions(transitGatewayID string) *CreateTransitGatewayRouteReportOptions

NewCreateTransitGatewayRouteReportOptions : Instantiate CreateTransitGatewayRouteReportOptions

func (*TransitGatewayApisV1) NewDeleteTransitGatewayConnectionOptions

func (*TransitGatewayApisV1) NewDeleteTransitGatewayConnectionOptions(transitGatewayID string, id string) *DeleteTransitGatewayConnectionOptions

NewDeleteTransitGatewayConnectionOptions : Instantiate DeleteTransitGatewayConnectionOptions

func (*TransitGatewayApisV1) NewDeleteTransitGatewayConnectionPrefixFilterOptions added in v0.28.0

func (*TransitGatewayApisV1) NewDeleteTransitGatewayConnectionPrefixFilterOptions(transitGatewayID string, id string, filterID string) *DeleteTransitGatewayConnectionPrefixFilterOptions

NewDeleteTransitGatewayConnectionPrefixFilterOptions : Instantiate DeleteTransitGatewayConnectionPrefixFilterOptions

func (*TransitGatewayApisV1) NewDeleteTransitGatewayOptions

func (*TransitGatewayApisV1) NewDeleteTransitGatewayOptions(id string) *DeleteTransitGatewayOptions

NewDeleteTransitGatewayOptions : Instantiate DeleteTransitGatewayOptions

func (*TransitGatewayApisV1) NewDeleteTransitGatewayRouteReportOptions added in v0.24.0

func (*TransitGatewayApisV1) NewDeleteTransitGatewayRouteReportOptions(transitGatewayID string, id string) *DeleteTransitGatewayRouteReportOptions

NewDeleteTransitGatewayRouteReportOptions : Instantiate DeleteTransitGatewayRouteReportOptions

func (*TransitGatewayApisV1) NewGetGatewayLocationOptions added in v0.2.0

func (*TransitGatewayApisV1) NewGetGatewayLocationOptions(name string) *GetGatewayLocationOptions

NewGetGatewayLocationOptions : Instantiate GetGatewayLocationOptions

func (*TransitGatewayApisV1) NewGetTransitGatewayConnectionOptions added in v0.2.0

func (*TransitGatewayApisV1) NewGetTransitGatewayConnectionOptions(transitGatewayID string, id string) *GetTransitGatewayConnectionOptions

NewGetTransitGatewayConnectionOptions : Instantiate GetTransitGatewayConnectionOptions

func (*TransitGatewayApisV1) NewGetTransitGatewayConnectionPrefixFilterOptions added in v0.28.0

func (*TransitGatewayApisV1) NewGetTransitGatewayConnectionPrefixFilterOptions(transitGatewayID string, id string, filterID string) *GetTransitGatewayConnectionPrefixFilterOptions

NewGetTransitGatewayConnectionPrefixFilterOptions : Instantiate GetTransitGatewayConnectionPrefixFilterOptions

func (*TransitGatewayApisV1) NewGetTransitGatewayOptions added in v0.2.0

func (*TransitGatewayApisV1) NewGetTransitGatewayOptions(id string) *GetTransitGatewayOptions

NewGetTransitGatewayOptions : Instantiate GetTransitGatewayOptions

func (*TransitGatewayApisV1) NewGetTransitGatewayRouteReportOptions added in v0.24.0

func (*TransitGatewayApisV1) NewGetTransitGatewayRouteReportOptions(transitGatewayID string, id string) *GetTransitGatewayRouteReportOptions

NewGetTransitGatewayRouteReportOptions : Instantiate GetTransitGatewayRouteReportOptions

func (*TransitGatewayApisV1) NewListConnectionsOptions added in v0.17.0

func (*TransitGatewayApisV1) NewListConnectionsOptions() *ListConnectionsOptions

NewListConnectionsOptions : Instantiate ListConnectionsOptions

func (*TransitGatewayApisV1) NewListGatewayLocationsOptions

func (*TransitGatewayApisV1) NewListGatewayLocationsOptions() *ListGatewayLocationsOptions

NewListGatewayLocationsOptions : Instantiate ListGatewayLocationsOptions

func (*TransitGatewayApisV1) NewListTransitGatewayConnectionPrefixFiltersOptions added in v0.28.0

func (*TransitGatewayApisV1) NewListTransitGatewayConnectionPrefixFiltersOptions(transitGatewayID string, id string) *ListTransitGatewayConnectionPrefixFiltersOptions

NewListTransitGatewayConnectionPrefixFiltersOptions : Instantiate ListTransitGatewayConnectionPrefixFiltersOptions

func (*TransitGatewayApisV1) NewListTransitGatewayConnectionsOptions

func (*TransitGatewayApisV1) NewListTransitGatewayConnectionsOptions(transitGatewayID string) *ListTransitGatewayConnectionsOptions

NewListTransitGatewayConnectionsOptions : Instantiate ListTransitGatewayConnectionsOptions

func (*TransitGatewayApisV1) NewListTransitGatewayRouteReportsOptions added in v0.24.0

func (*TransitGatewayApisV1) NewListTransitGatewayRouteReportsOptions(transitGatewayID string) *ListTransitGatewayRouteReportsOptions

NewListTransitGatewayRouteReportsOptions : Instantiate ListTransitGatewayRouteReportsOptions

func (*TransitGatewayApisV1) NewListTransitGatewaysOptions

func (*TransitGatewayApisV1) NewListTransitGatewaysOptions() *ListTransitGatewaysOptions

NewListTransitGatewaysOptions : Instantiate ListTransitGatewaysOptions

func (*TransitGatewayApisV1) NewPrefixFilterPut added in v0.36.0

func (*TransitGatewayApisV1) NewPrefixFilterPut(action string, prefix string) (_model *PrefixFilterPut, err error)

NewPrefixFilterPut : Instantiate PrefixFilterPut (Generic Model Constructor)

func (*TransitGatewayApisV1) NewReplaceTransitGatewayConnectionPrefixFilterOptions added in v0.36.0

func (*TransitGatewayApisV1) NewReplaceTransitGatewayConnectionPrefixFilterOptions(transitGatewayID string, id string, prefixFilters []PrefixFilterPut) *ReplaceTransitGatewayConnectionPrefixFilterOptions

NewReplaceTransitGatewayConnectionPrefixFilterOptions : Instantiate ReplaceTransitGatewayConnectionPrefixFilterOptions

func (*TransitGatewayApisV1) NewResourceGroupIdentity

func (*TransitGatewayApisV1) NewResourceGroupIdentity(id string) (_model *ResourceGroupIdentity, err error)

NewResourceGroupIdentity : Instantiate ResourceGroupIdentity (Generic Model Constructor)

func (*TransitGatewayApisV1) NewTransitGatewayConnectionPrefixFilter added in v0.28.0

func (*TransitGatewayApisV1) NewTransitGatewayConnectionPrefixFilter(action string, prefix string) (_model *TransitGatewayConnectionPrefixFilter, err error)

NewTransitGatewayConnectionPrefixFilter : Instantiate TransitGatewayConnectionPrefixFilter (Generic Model Constructor)

func (*TransitGatewayApisV1) NewTransitGatewayConnectionsPager added in v0.44.0

func (transitGatewayApis *TransitGatewayApisV1) NewTransitGatewayConnectionsPager(options *ListTransitGatewayConnectionsOptions) (pager *TransitGatewayConnectionsPager, err error)

NewTransitGatewayConnectionsPager returns a new TransitGatewayConnectionsPager instance.

func (*TransitGatewayApisV1) NewTransitGatewaysPager added in v0.44.0

func (transitGatewayApis *TransitGatewayApisV1) NewTransitGatewaysPager(options *ListTransitGatewaysOptions) (pager *TransitGatewaysPager, err error)

NewTransitGatewaysPager returns a new TransitGatewaysPager instance.

func (*TransitGatewayApisV1) NewUpdateTransitGatewayConnectionOptions

func (*TransitGatewayApisV1) NewUpdateTransitGatewayConnectionOptions(transitGatewayID string, id string) *UpdateTransitGatewayConnectionOptions

NewUpdateTransitGatewayConnectionOptions : Instantiate UpdateTransitGatewayConnectionOptions

func (*TransitGatewayApisV1) NewUpdateTransitGatewayConnectionPrefixFilterOptions added in v0.28.0

func (*TransitGatewayApisV1) NewUpdateTransitGatewayConnectionPrefixFilterOptions(transitGatewayID string, id string, filterID string) *UpdateTransitGatewayConnectionPrefixFilterOptions

NewUpdateTransitGatewayConnectionPrefixFilterOptions : Instantiate UpdateTransitGatewayConnectionPrefixFilterOptions

func (*TransitGatewayApisV1) NewUpdateTransitGatewayOptions

func (*TransitGatewayApisV1) NewUpdateTransitGatewayOptions(id string) *UpdateTransitGatewayOptions

NewUpdateTransitGatewayOptions : Instantiate UpdateTransitGatewayOptions

func (*TransitGatewayApisV1) ReplaceTransitGatewayConnectionPrefixFilter added in v0.36.0

func (transitGatewayApis *TransitGatewayApisV1) ReplaceTransitGatewayConnectionPrefixFilter(replaceTransitGatewayConnectionPrefixFilterOptions *ReplaceTransitGatewayConnectionPrefixFilterOptions) (result *PrefixFilterCollection, response *core.DetailedResponse, err error)

ReplaceTransitGatewayConnectionPrefixFilter : Replaces the prefix filters of the Transit Gateway Connection Replaces the prefix filters of the Transit Gateway Connection.

func (*TransitGatewayApisV1) ReplaceTransitGatewayConnectionPrefixFilterWithContext added in v0.36.0

func (transitGatewayApis *TransitGatewayApisV1) ReplaceTransitGatewayConnectionPrefixFilterWithContext(ctx context.Context, replaceTransitGatewayConnectionPrefixFilterOptions *ReplaceTransitGatewayConnectionPrefixFilterOptions) (result *PrefixFilterCollection, response *core.DetailedResponse, err error)

ReplaceTransitGatewayConnectionPrefixFilterWithContext is an alternate form of the ReplaceTransitGatewayConnectionPrefixFilter method which supports a Context parameter

func (*TransitGatewayApisV1) SetDefaultHeaders added in v0.23.1

func (transitGatewayApis *TransitGatewayApisV1) SetDefaultHeaders(headers http.Header)

SetDefaultHeaders sets HTTP headers to be sent in every request

func (*TransitGatewayApisV1) SetEnableGzipCompression added in v0.23.1

func (transitGatewayApis *TransitGatewayApisV1) SetEnableGzipCompression(enableGzip bool)

SetEnableGzipCompression sets the service's EnableGzipCompression field

func (*TransitGatewayApisV1) SetServiceURL

func (transitGatewayApis *TransitGatewayApisV1) SetServiceURL(url string) error

SetServiceURL sets the service URL

func (*TransitGatewayApisV1) UpdateTransitGateway

func (transitGatewayApis *TransitGatewayApisV1) UpdateTransitGateway(updateTransitGatewayOptions *UpdateTransitGatewayOptions) (result *TransitGateway, response *core.DetailedResponse, err error)

UpdateTransitGateway : Updates specified Transit Gateway This request updates a Transit Gateway's name and/or global flag.

func (*TransitGatewayApisV1) UpdateTransitGatewayConnection

func (transitGatewayApis *TransitGatewayApisV1) UpdateTransitGatewayConnection(updateTransitGatewayConnectionOptions *UpdateTransitGatewayConnectionOptions) (result *TransitGatewayConnectionCust, response *core.DetailedResponse, err error)

UpdateTransitGatewayConnection : Updates specified Transit Gateway connection Update the name of a connection to a Transit Gateway.

func (*TransitGatewayApisV1) UpdateTransitGatewayConnectionPrefixFilter added in v0.28.0

func (transitGatewayApis *TransitGatewayApisV1) UpdateTransitGatewayConnectionPrefixFilter(updateTransitGatewayConnectionPrefixFilterOptions *UpdateTransitGatewayConnectionPrefixFilterOptions) (result *PrefixFilterCust, response *core.DetailedResponse, err error)

UpdateTransitGatewayConnectionPrefixFilter : Updates specified Transit Gateway connection prefix filter Update prefix filter for a Transit Gateway Connection.

func (*TransitGatewayApisV1) UpdateTransitGatewayConnectionPrefixFilterWithContext added in v0.28.0

func (transitGatewayApis *TransitGatewayApisV1) UpdateTransitGatewayConnectionPrefixFilterWithContext(ctx context.Context, updateTransitGatewayConnectionPrefixFilterOptions *UpdateTransitGatewayConnectionPrefixFilterOptions) (result *PrefixFilterCust, response *core.DetailedResponse, err error)

UpdateTransitGatewayConnectionPrefixFilterWithContext is an alternate form of the UpdateTransitGatewayConnectionPrefixFilter method which supports a Context parameter

func (*TransitGatewayApisV1) UpdateTransitGatewayConnectionWithContext added in v0.23.1

func (transitGatewayApis *TransitGatewayApisV1) UpdateTransitGatewayConnectionWithContext(ctx context.Context, updateTransitGatewayConnectionOptions *UpdateTransitGatewayConnectionOptions) (result *TransitGatewayConnectionCust, response *core.DetailedResponse, err error)

UpdateTransitGatewayConnectionWithContext is an alternate form of the UpdateTransitGatewayConnection method which supports a Context parameter

func (*TransitGatewayApisV1) UpdateTransitGatewayWithContext added in v0.23.1

func (transitGatewayApis *TransitGatewayApisV1) UpdateTransitGatewayWithContext(ctx context.Context, updateTransitGatewayOptions *UpdateTransitGatewayOptions) (result *TransitGateway, response *core.DetailedResponse, err error)

UpdateTransitGatewayWithContext is an alternate form of the UpdateTransitGateway method which supports a Context parameter

type TransitGatewayApisV1Options

type TransitGatewayApisV1Options struct {
	ServiceName   string
	URL           string
	Authenticator core.Authenticator

	// 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.
	Version *string `validate:"required"`
}

TransitGatewayApisV1Options : Service options

type TransitGatewayCollection

type TransitGatewayCollection struct {
	// A reference to the first page of resources.
	First *PaginationFirstTG `json:"first" validate:"required"`

	// The maximum number of gateways returned on one request.
	Limit *int64 `json:"limit" validate:"required"`

	// A reference to the next page of resources; this reference is included for all pages except the last page.
	Next *PaginationNextTG `json:"next,omitempty"`

	// Collection of Transit Services gateways.
	TransitGateways []TransitGateway `json:"transit_gateways" validate:"required"`
}

TransitGatewayCollection : A list of Transit Gateways.

func (*TransitGatewayCollection) GetNextStart added in v0.23.1

func (resp *TransitGatewayCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type TransitGatewayConnectionCollection

type TransitGatewayConnectionCollection struct {
	// Array of transit gateways network Connections.
	Connections []TransitGatewayConnectionCust `json:"connections" validate:"required"`

	// A reference to the first page of resources.
	// This will be returned when number of connections in response are greater than max page limit.
	First *PaginationFirstTGWConnection `json:"first,omitempty"`

	// The maximum number of connections returned on one request. This will be returned when number of connections in
	// response are greater than max page limit.
	Limit *int64 `json:"limit,omitempty"`

	// A reference to the next page of resources; this reference is included for all pages except the last page.
	Next *PaginationNextTGWConnection `json:"next,omitempty"`

	// total number of resources across all pages (considering the supplied query parameter filters).
	TotalCount *int64 `json:"total_count,omitempty"`
}

TransitGatewayConnectionCollection : A set of Transit Gateway network connections.

func (*TransitGatewayConnectionCollection) GetNextStart added in v0.44.0

func (resp *TransitGatewayConnectionCollection) GetNextStart() (*string, error)

Retrieve the value to be passed to a request to access the next page of results

type TransitGatewayConnectionCust

type TransitGatewayConnectionCust struct {
	// The type of network the GRE tunnel is targeting.
	BaseNetworkType *string `json:"base_network_type,omitempty"`

	// The user-defined name for this transit gateway connection.
	Name *string `json:"name" validate:"required"`

	// The ID of the network being connected via this connection. This field is required for some types, such as 'vpc',
	// 'power_virtual_server' and 'directlink'. For network types 'vpc','power_virtual_server' and 'directlink' this is the
	// CRN of the VPC / PowerVS / Direct Link gateway respectively.
	NetworkID *string `json:"network_id,omitempty"`

	// Defines what type of network is connected via this connection. The list of enumerated values for this property may
	// expand in the future. Code and processes using this field must tolerate unexpected values.
	NetworkType *string `json:"network_type" validate:"required"`

	// The unique identifier for this Transit Gateway Connection.
	ID *string `json:"id" validate:"required"`

	// network_type 'gre_tunnel' connections use 'base_connection_id' to specify the ID of a network_type 'classic'
	// connection the tunnel is configured over. The specified connection must reside in the same transit gateway and be in
	// an active state. The 'classic' connection cannot be deleted until any 'gre_tunnel' connections using it are deleted.
	// This field only applies to and is required for network type 'gre_tunnel' connections.
	// Deprecated: this field is deprecated and may be removed in a future release.
	BaseConnectionID *string `json:"base_connection_id,omitempty"`

	// The date and time that this connection was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// Local network BGP ASN.  This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections.
	LocalBgpAsn *int64 `json:"local_bgp_asn,omitempty"`

	// Local gateway IP address.  This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel'
	// connections.
	LocalGatewayIp *string `json:"local_gateway_ip,omitempty"`

	// Local tunnel IP address.  This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections.
	LocalTunnelIp *string `json:"local_tunnel_ip,omitempty"`

	// GRE tunnel MTU.  This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections.
	Mtu *int64 `json:"mtu,omitempty"`

	// The ID of the account which owns the connected network. Generally only used if the network is in a different IBM
	// Cloud account than the gateway.
	NetworkAccountID *string `json:"network_account_id,omitempty"`

	// Array of prefix route filters for a transit gateway connection. This is order dependent with those first in the
	// array being applied first, and those at the end of the array is applied last, or just before the default.
	PrefixFilters []TransitGatewayConnectionPrefixFilterReference `json:"prefix_filters,omitempty"`

	// Default setting of permit or deny which applies to any routes that don't match a specified filter.
	PrefixFiltersDefault *string `json:"prefix_filters_default" validate:"required"`

	// Remote network BGP ASN.  This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections.
	RemoteBgpAsn *int64 `json:"remote_bgp_asn,omitempty"`

	// Remote gateway IP address.  This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel'
	// connections.
	RemoteGatewayIp *string `json:"remote_gateway_ip,omitempty"`

	// Remote tunnel IP address.  This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel'
	// connections.
	RemoteTunnelIp *string `json:"remote_tunnel_ip,omitempty"`

	// Only visible for cross account connections, this field represents the status of a connection request between IBM
	// Cloud accounts. The list of enumerated values for this property may expand in the future. Code and processes using
	// this field must tolerate unexpected values.
	RequestStatus *string `json:"request_status,omitempty"`

	// Connection's current configuration state. The list of enumerated values for this property may expand in the future.
	// Code and processes using this field must tolerate unexpected values.
	Status *string `json:"status,omitempty"`

	// The date and time that this connection was last updated.
	UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"`

	// Location of GRE tunnel.  This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections.
	Zone *TransitGatewayConnectionCustZone `json:"zone,omitempty"`
}

TransitGatewayConnectionCust : Connection included in transit gateway.

type TransitGatewayConnectionCustZone added in v0.17.0

type TransitGatewayConnectionCustZone struct {
	// Availability zone name.
	Name *string `json:"name" validate:"required"`
}

TransitGatewayConnectionCustZone : Location of GRE tunnel. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections.

type TransitGatewayConnectionPrefixFilter added in v0.28.0

type TransitGatewayConnectionPrefixFilter struct {
	// Whether to permit or deny prefix filter.
	Action *string `json:"action" validate:"required"`

	// IP Prefix GE.
	Ge *int64 `json:"ge,omitempty"`

	// IP Prefix LE.
	Le *int64 `json:"le,omitempty"`

	// IP Prefix.
	Prefix *string `json:"prefix" validate:"required"`
}

TransitGatewayConnectionPrefixFilter : A prefix filter for a Transit Gateway connection.

type TransitGatewayConnectionPrefixFilterReference added in v0.28.0

type TransitGatewayConnectionPrefixFilterReference struct {
	// Whether to permit or deny prefix filter.
	Action *string `json:"action" validate:"required"`

	// Identifier of prefix filter that handles the ordering and follow semantics:
	// - When a filter reference another filter in it's before field, then the filter making the reference is applied
	// before
	//   the referenced filter. For example: if filter A references filter B in its before field, A is applied before B.
	// - When a new filter is added that has the same before as an existing filter, then the older filter will have its
	// before
	//   field updated to point to the new filter. Starting with the above example: if filter C is added and it references
	// B in its
	//   before field, then A's before field should be modified to point to C, so the order of application would be A, C
	// and finally B.
	// - A filter that has an empty before reference will be applied last (though the date order mentioned above will still
	// apply).
	//   So continuing the above examples, if filter B has an empty before field, then it will be applied last, but if
	// filter D
	//   is created with an empty before field, then B's before field will be modified to point to D, so B will be applied
	// before D.
	Before *string `json:"before,omitempty"`

	// The date and time that this prefix filter was created.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// IP Prefix GE.
	Ge *int64 `json:"ge,omitempty"`

	// Prefix Filter identifier.
	ID *string `json:"id" validate:"required"`

	// IP Prefix LE.
	Le *int64 `json:"le,omitempty"`

	// IP Prefix.
	Prefix *string `json:"prefix" validate:"required"`

	// The date and time that this prefix filter was last updated.
	UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"`
}

TransitGatewayConnectionPrefixFilterReference : A prefix filter reference object for a Transit Gateway connection.

type TransitGatewayConnectionsPager added in v0.44.0

type TransitGatewayConnectionsPager struct {
	// contains filtered or unexported fields
}

TransitGatewayConnectionsPager can be used to simplify the use of the "ListTransitGatewayConnections" method.

func (*TransitGatewayConnectionsPager) GetAll added in v0.44.0

func (pager *TransitGatewayConnectionsPager) GetAll() (allItems []TransitGatewayConnectionCust, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*TransitGatewayConnectionsPager) GetAllWithContext added in v0.44.0

func (pager *TransitGatewayConnectionsPager) GetAllWithContext(ctx context.Context) (allItems []TransitGatewayConnectionCust, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*TransitGatewayConnectionsPager) GetNext added in v0.44.0

func (pager *TransitGatewayConnectionsPager) GetNext() (page []TransitGatewayConnectionCust, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*TransitGatewayConnectionsPager) GetNextWithContext added in v0.44.0

func (pager *TransitGatewayConnectionsPager) GetNextWithContext(ctx context.Context) (page []TransitGatewayConnectionCust, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*TransitGatewayConnectionsPager) HasNext added in v0.44.0

func (pager *TransitGatewayConnectionsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type TransitGatewayReference added in v0.17.0

type TransitGatewayReference struct {
	// gateway CRN.
	Crn *string `json:"crn" validate:"required"`

	// gateway ID.
	ID *string `json:"id" validate:"required"`

	// transit gateway name.
	Name *string `json:"name" validate:"required"`
}

TransitGatewayReference : Transit gateway reference.

type TransitGatewaysPager added in v0.44.0

type TransitGatewaysPager struct {
	// contains filtered or unexported fields
}

TransitGatewaysPager can be used to simplify the use of the "ListTransitGateways" method.

func (*TransitGatewaysPager) GetAll added in v0.44.0

func (pager *TransitGatewaysPager) GetAll() (allItems []TransitGateway, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*TransitGatewaysPager) GetAllWithContext added in v0.44.0

func (pager *TransitGatewaysPager) GetAllWithContext(ctx context.Context) (allItems []TransitGateway, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*TransitGatewaysPager) GetNext added in v0.44.0

func (pager *TransitGatewaysPager) GetNext() (page []TransitGateway, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*TransitGatewaysPager) GetNextWithContext added in v0.44.0

func (pager *TransitGatewaysPager) GetNextWithContext(ctx context.Context) (page []TransitGateway, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*TransitGatewaysPager) HasNext added in v0.44.0

func (pager *TransitGatewaysPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type UpdateTransitGatewayConnectionOptions

type UpdateTransitGatewayConnectionOptions struct {
	// The Transit Gateway identifier.
	TransitGatewayID *string `json:"transit_gateway_id" validate:"required,ne="`

	// The connection identifier.
	ID *string `json:"id" validate:"required,ne="`

	// The user-defined name for this transit gateway. If specified as empty string or nil,  the name will be the network
	// name (the name of the VPC in the case of network type 'vpc',  and the word Classic, in the case of network type
	// 'classic').
	Name *string `json:"name,omitempty"`

	// Default setting of permit or deny which applies to any routes that don't match a specified filter.
	PrefixFiltersDefault *string `json:"prefix_filters_default,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateTransitGatewayConnectionOptions : The UpdateTransitGatewayConnection options.

func (*UpdateTransitGatewayConnectionOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*UpdateTransitGatewayConnectionOptions) SetID

SetID : Allow user to set ID

func (*UpdateTransitGatewayConnectionOptions) SetName

SetName : Allow user to set Name

func (*UpdateTransitGatewayConnectionOptions) SetPrefixFiltersDefault added in v0.28.0

func (_options *UpdateTransitGatewayConnectionOptions) SetPrefixFiltersDefault(prefixFiltersDefault string) *UpdateTransitGatewayConnectionOptions

SetPrefixFiltersDefault : Allow user to set PrefixFiltersDefault

func (*UpdateTransitGatewayConnectionOptions) SetTransitGatewayID

func (_options *UpdateTransitGatewayConnectionOptions) SetTransitGatewayID(transitGatewayID string) *UpdateTransitGatewayConnectionOptions

SetTransitGatewayID : Allow user to set TransitGatewayID

type UpdateTransitGatewayConnectionPrefixFilterOptions added in v0.28.0

type UpdateTransitGatewayConnectionPrefixFilterOptions struct {
	// The Transit Gateway identifier.
	TransitGatewayID *string `json:"transit_gateway_id" validate:"required,ne="`

	// The connection identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Prefix filter identifier.
	FilterID *string `json:"filter_id" validate:"required,ne="`

	// Whether or not this prefix filter should allow or deny prefixes matching this filter's prefix definition.
	Action *string `json:"action,omitempty"`

	// A reference to the prefix filter that will be the next filter applied to the Transit Gateway connection.
	//
	// If this field is blank, this prefix filter will be the last rule applied before the connection's default rule.
	//
	// When a prefix filter is created with the same before field as an existing prefix filter, the existing filter will be
	// applied before the new filter, and the existing filter's before field will be updated accordingly.
	Before *string `json:"before,omitempty"`

	// Defines the minimum matched prefix precision. If this field is non-zero then the filter will match all routes within
	// the 'prefix' that have a prefix length greater or equal to this value.
	//
	// This value can be zero, or a non-negative number greater than or equal to the prefix length of the filter's prefix
	// or less then or equal to 32. If this value is set to zero, the filter will not use the 'ge' route matching behavior.
	// If the 'le' value is non-zero the the 'ge' value must between the prefix length and the
	// 'le' value, inclusive.
	Ge *int64 `json:"ge,omitempty"`

	// Defines the maximum matched prefix precision. If this field is non-zero then the filter will match all routes within
	// the 'prefix' that have a prefix length less than or equal to this value.
	//
	// This value can be zero, or a non-negative number greater than or equal to the prefix length of the filter's prefix
	// or less then or equal to 32. If this value is set to zero, the filter will not use the 'le' route matching behavior.
	// If the 'ge' value is non-zero the the 'le' value must between the 'ge' value and 32, inclusive.
	Le *int64 `json:"le,omitempty"`

	// The IPv4 Prefix to be matched by this filter.
	Prefix *string `json:"prefix,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateTransitGatewayConnectionPrefixFilterOptions : The UpdateTransitGatewayConnectionPrefixFilter options.

func (*UpdateTransitGatewayConnectionPrefixFilterOptions) SetAction added in v0.28.0

SetAction : Allow user to set Action

func (*UpdateTransitGatewayConnectionPrefixFilterOptions) SetBefore added in v0.28.0

SetBefore : Allow user to set Before

func (*UpdateTransitGatewayConnectionPrefixFilterOptions) SetFilterID added in v0.28.0

SetFilterID : Allow user to set FilterID

func (*UpdateTransitGatewayConnectionPrefixFilterOptions) SetGe added in v0.28.0

SetGe : Allow user to set Ge

func (*UpdateTransitGatewayConnectionPrefixFilterOptions) SetHeaders added in v0.28.0

SetHeaders : Allow user to set Headers

func (*UpdateTransitGatewayConnectionPrefixFilterOptions) SetID added in v0.28.0

SetID : Allow user to set ID

func (*UpdateTransitGatewayConnectionPrefixFilterOptions) SetLe added in v0.28.0

SetLe : Allow user to set Le

func (*UpdateTransitGatewayConnectionPrefixFilterOptions) SetPrefix added in v0.28.0

SetPrefix : Allow user to set Prefix

func (*UpdateTransitGatewayConnectionPrefixFilterOptions) SetTransitGatewayID added in v0.28.0

SetTransitGatewayID : Allow user to set TransitGatewayID

type UpdateTransitGatewayOptions

type UpdateTransitGatewayOptions struct {
	// The Transit Gateway identifier.
	ID *string `json:"id" validate:"required,ne="`

	// Allow global routing for a Transit Gateway.
	Global *bool `json:"global,omitempty"`

	// The user-defined name for this transit gateway.
	Name *string `json:"name,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateTransitGatewayOptions : The UpdateTransitGateway options.

func (*UpdateTransitGatewayOptions) SetGlobal

func (_options *UpdateTransitGatewayOptions) SetGlobal(global bool) *UpdateTransitGatewayOptions

SetGlobal : Allow user to set Global

func (*UpdateTransitGatewayOptions) SetHeaders

func (options *UpdateTransitGatewayOptions) SetHeaders(param map[string]string) *UpdateTransitGatewayOptions

SetHeaders : Allow user to set Headers

func (*UpdateTransitGatewayOptions) SetID

SetID : Allow user to set ID

func (*UpdateTransitGatewayOptions) SetName

SetName : Allow user to set Name

type ZoneIdentity added in v0.17.0

type ZoneIdentity struct {
	// Availability zone name.
	Name *string `json:"name,omitempty"`
}

ZoneIdentity : ZoneIdentity struct Models which "extend" this model: - ZoneIdentityByName

type ZoneIdentityByName added in v0.17.0

type ZoneIdentityByName struct {
	// Availability zone name.
	Name *string `json:"name,omitempty"`
}

ZoneIdentityByName : Availability zone. This model "extends" ZoneIdentity

type ZoneIdentityIntf added in v0.17.0

type ZoneIdentityIntf interface {
	// contains filtered or unexported methods
}

type ZoneReference added in v0.17.0

type ZoneReference struct {
	// Availability zone name.
	Name *string `json:"name" validate:"required"`
}

ZoneReference : Availability zone reference.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL