Documentation ¶
Overview ¶
Package transitgatewayapisv1 : Operations and models for the TransitGatewayApisV1 service
Index ¶
- Constants
- func GetServiceURLForRegion(region string) (string, error)
- func UnmarshalGreTunnelZoneReference(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPaginationFirstConnection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPaginationFirstTG(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPaginationFirstTGWConnection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPaginationNextConnection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPaginationNextTG(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPaginationNextTGWConnection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPrefixFilterCollection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPrefixFilterCust(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPrefixFilterPut(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRedundantGRETunnelCollection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRedundantGRETunnelReference(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalResourceGroupIdentity(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalResourceGroupReference(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRgreTunnelZoneReference(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRouteReport(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRouteReportCollection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRouteReportConnection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRouteReportConnectionBgp(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRouteReportConnectionRoute(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRouteReportOverlappingRoute(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRouteReportOverlappingRouteGroup(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTSCollection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTSLocalLocation(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTSLocation(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTSLocationBasic(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTransitConnection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTransitConnectionCollection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTransitGateway(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTransitGatewayCollection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTransitGatewayConnectionCollection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTransitGatewayConnectionCust(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTransitGatewayConnectionPrefixFilter(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTransitGatewayConnectionPrefixFilterReference(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTransitGatewayRedundantGRETunnelReference(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTransitGatewayRedundantGRETunnelTemplate(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTransitGatewayReference(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalZoneIdentity(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalZoneIdentityByName(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalZoneReference(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalZoneReferenceCollection(m map[string]json.RawMessage, result interface{}) (err error)
- type ConnectionsPager
- func (pager *ConnectionsPager) GetAll() (allItems []TransitConnection, err error)
- func (pager *ConnectionsPager) GetAllWithContext(ctx context.Context) (allItems []TransitConnection, err error)
- func (pager *ConnectionsPager) GetNext() (page []TransitConnection, err error)
- func (pager *ConnectionsPager) GetNextWithContext(ctx context.Context) (page []TransitConnection, err error)
- func (pager *ConnectionsPager) HasNext() bool
- type CreateTransitGatewayConnectionActionsOptions
- func (_options *CreateTransitGatewayConnectionActionsOptions) SetAction(action string) *CreateTransitGatewayConnectionActionsOptions
- func (options *CreateTransitGatewayConnectionActionsOptions) SetHeaders(param map[string]string) *CreateTransitGatewayConnectionActionsOptions
- func (_options *CreateTransitGatewayConnectionActionsOptions) SetID(id string) *CreateTransitGatewayConnectionActionsOptions
- func (_options *CreateTransitGatewayConnectionActionsOptions) SetTransitGatewayID(transitGatewayID string) *CreateTransitGatewayConnectionActionsOptions
- type CreateTransitGatewayConnectionOptions
- func (_options *CreateTransitGatewayConnectionOptions) SetBaseConnectionID(baseConnectionID string) *CreateTransitGatewayConnectionOptions
- func (_options *CreateTransitGatewayConnectionOptions) SetBaseNetworkType(baseNetworkType string) *CreateTransitGatewayConnectionOptions
- func (options *CreateTransitGatewayConnectionOptions) SetHeaders(param map[string]string) *CreateTransitGatewayConnectionOptions
- func (_options *CreateTransitGatewayConnectionOptions) SetLocalGatewayIp(localGatewayIp string) *CreateTransitGatewayConnectionOptions
- func (_options *CreateTransitGatewayConnectionOptions) SetLocalTunnelIp(localTunnelIp string) *CreateTransitGatewayConnectionOptions
- func (_options *CreateTransitGatewayConnectionOptions) SetName(name string) *CreateTransitGatewayConnectionOptions
- func (_options *CreateTransitGatewayConnectionOptions) SetNetworkAccountID(networkAccountID string) *CreateTransitGatewayConnectionOptions
- func (_options *CreateTransitGatewayConnectionOptions) SetNetworkID(networkID string) *CreateTransitGatewayConnectionOptions
- func (_options *CreateTransitGatewayConnectionOptions) SetNetworkType(networkType string) *CreateTransitGatewayConnectionOptions
- func (_options *CreateTransitGatewayConnectionOptions) SetPrefixFilters(prefixFilters []TransitGatewayConnectionPrefixFilter) *CreateTransitGatewayConnectionOptions
- func (_options *CreateTransitGatewayConnectionOptions) SetPrefixFiltersDefault(prefixFiltersDefault string) *CreateTransitGatewayConnectionOptions
- func (_options *CreateTransitGatewayConnectionOptions) SetRemoteBgpAsn(remoteBgpAsn int64) *CreateTransitGatewayConnectionOptions
- func (_options *CreateTransitGatewayConnectionOptions) SetRemoteGatewayIp(remoteGatewayIp string) *CreateTransitGatewayConnectionOptions
- func (_options *CreateTransitGatewayConnectionOptions) SetRemoteTunnelIp(remoteTunnelIp string) *CreateTransitGatewayConnectionOptions
- func (_options *CreateTransitGatewayConnectionOptions) SetTransitGatewayID(transitGatewayID string) *CreateTransitGatewayConnectionOptions
- func (_options *CreateTransitGatewayConnectionOptions) SetTunnels(tunnels []TransitGatewayRedundantGRETunnelTemplate) *CreateTransitGatewayConnectionOptions
- func (_options *CreateTransitGatewayConnectionOptions) SetZone(zone ZoneIdentityIntf) *CreateTransitGatewayConnectionOptions
- type CreateTransitGatewayConnectionPrefixFilterOptions
- func (_options *CreateTransitGatewayConnectionPrefixFilterOptions) SetAction(action string) *CreateTransitGatewayConnectionPrefixFilterOptions
- func (_options *CreateTransitGatewayConnectionPrefixFilterOptions) SetBefore(before string) *CreateTransitGatewayConnectionPrefixFilterOptions
- func (_options *CreateTransitGatewayConnectionPrefixFilterOptions) SetGe(ge int64) *CreateTransitGatewayConnectionPrefixFilterOptions
- func (options *CreateTransitGatewayConnectionPrefixFilterOptions) SetHeaders(param map[string]string) *CreateTransitGatewayConnectionPrefixFilterOptions
- func (_options *CreateTransitGatewayConnectionPrefixFilterOptions) SetID(id string) *CreateTransitGatewayConnectionPrefixFilterOptions
- func (_options *CreateTransitGatewayConnectionPrefixFilterOptions) SetLe(le int64) *CreateTransitGatewayConnectionPrefixFilterOptions
- func (_options *CreateTransitGatewayConnectionPrefixFilterOptions) SetPrefix(prefix string) *CreateTransitGatewayConnectionPrefixFilterOptions
- func (_options *CreateTransitGatewayConnectionPrefixFilterOptions) SetTransitGatewayID(transitGatewayID string) *CreateTransitGatewayConnectionPrefixFilterOptions
- type CreateTransitGatewayGreTunnelOptions
- func (options *CreateTransitGatewayGreTunnelOptions) SetHeaders(param map[string]string) *CreateTransitGatewayGreTunnelOptions
- func (_options *CreateTransitGatewayGreTunnelOptions) SetID(id string) *CreateTransitGatewayGreTunnelOptions
- func (_options *CreateTransitGatewayGreTunnelOptions) SetLocalGatewayIp(localGatewayIp string) *CreateTransitGatewayGreTunnelOptions
- func (_options *CreateTransitGatewayGreTunnelOptions) SetLocalTunnelIp(localTunnelIp string) *CreateTransitGatewayGreTunnelOptions
- func (_options *CreateTransitGatewayGreTunnelOptions) SetName(name string) *CreateTransitGatewayGreTunnelOptions
- func (_options *CreateTransitGatewayGreTunnelOptions) SetRemoteBgpAsn(remoteBgpAsn int64) *CreateTransitGatewayGreTunnelOptions
- func (_options *CreateTransitGatewayGreTunnelOptions) SetRemoteGatewayIp(remoteGatewayIp string) *CreateTransitGatewayGreTunnelOptions
- func (_options *CreateTransitGatewayGreTunnelOptions) SetRemoteTunnelIp(remoteTunnelIp string) *CreateTransitGatewayGreTunnelOptions
- func (_options *CreateTransitGatewayGreTunnelOptions) SetTransitGatewayID(transitGatewayID string) *CreateTransitGatewayGreTunnelOptions
- func (_options *CreateTransitGatewayGreTunnelOptions) SetZone(zone ZoneIdentityIntf) *CreateTransitGatewayGreTunnelOptions
- type CreateTransitGatewayOptions
- func (_options *CreateTransitGatewayOptions) SetGlobal(global bool) *CreateTransitGatewayOptions
- func (options *CreateTransitGatewayOptions) SetHeaders(param map[string]string) *CreateTransitGatewayOptions
- func (_options *CreateTransitGatewayOptions) SetLocation(location string) *CreateTransitGatewayOptions
- func (_options *CreateTransitGatewayOptions) SetName(name string) *CreateTransitGatewayOptions
- func (_options *CreateTransitGatewayOptions) SetResourceGroup(resourceGroup *ResourceGroupIdentity) *CreateTransitGatewayOptions
- type CreateTransitGatewayRouteReportOptions
- type DeleteTransitGatewayConnectionOptions
- func (options *DeleteTransitGatewayConnectionOptions) SetHeaders(param map[string]string) *DeleteTransitGatewayConnectionOptions
- func (_options *DeleteTransitGatewayConnectionOptions) SetID(id string) *DeleteTransitGatewayConnectionOptions
- func (_options *DeleteTransitGatewayConnectionOptions) SetTransitGatewayID(transitGatewayID string) *DeleteTransitGatewayConnectionOptions
- type DeleteTransitGatewayConnectionPrefixFilterOptions
- func (_options *DeleteTransitGatewayConnectionPrefixFilterOptions) SetFilterID(filterID string) *DeleteTransitGatewayConnectionPrefixFilterOptions
- func (options *DeleteTransitGatewayConnectionPrefixFilterOptions) SetHeaders(param map[string]string) *DeleteTransitGatewayConnectionPrefixFilterOptions
- func (_options *DeleteTransitGatewayConnectionPrefixFilterOptions) SetID(id string) *DeleteTransitGatewayConnectionPrefixFilterOptions
- func (_options *DeleteTransitGatewayConnectionPrefixFilterOptions) SetTransitGatewayID(transitGatewayID string) *DeleteTransitGatewayConnectionPrefixFilterOptions
- type DeleteTransitGatewayConnectionTunnelsOptions
- func (_options *DeleteTransitGatewayConnectionTunnelsOptions) SetGreTunnelID(greTunnelID string) *DeleteTransitGatewayConnectionTunnelsOptions
- func (options *DeleteTransitGatewayConnectionTunnelsOptions) SetHeaders(param map[string]string) *DeleteTransitGatewayConnectionTunnelsOptions
- func (_options *DeleteTransitGatewayConnectionTunnelsOptions) SetID(id string) *DeleteTransitGatewayConnectionTunnelsOptions
- func (_options *DeleteTransitGatewayConnectionTunnelsOptions) SetTransitGatewayID(transitGatewayID string) *DeleteTransitGatewayConnectionTunnelsOptions
- type DeleteTransitGatewayOptions
- type DeleteTransitGatewayRouteReportOptions
- func (options *DeleteTransitGatewayRouteReportOptions) SetHeaders(param map[string]string) *DeleteTransitGatewayRouteReportOptions
- func (_options *DeleteTransitGatewayRouteReportOptions) SetID(id string) *DeleteTransitGatewayRouteReportOptions
- func (_options *DeleteTransitGatewayRouteReportOptions) SetTransitGatewayID(transitGatewayID string) *DeleteTransitGatewayRouteReportOptions
- type GetGatewayLocationOptions
- type GetTransitGatewayConnectionOptions
- func (options *GetTransitGatewayConnectionOptions) SetHeaders(param map[string]string) *GetTransitGatewayConnectionOptions
- func (_options *GetTransitGatewayConnectionOptions) SetID(id string) *GetTransitGatewayConnectionOptions
- func (_options *GetTransitGatewayConnectionOptions) SetTransitGatewayID(transitGatewayID string) *GetTransitGatewayConnectionOptions
- type GetTransitGatewayConnectionPrefixFilterOptions
- func (_options *GetTransitGatewayConnectionPrefixFilterOptions) SetFilterID(filterID string) *GetTransitGatewayConnectionPrefixFilterOptions
- func (options *GetTransitGatewayConnectionPrefixFilterOptions) SetHeaders(param map[string]string) *GetTransitGatewayConnectionPrefixFilterOptions
- func (_options *GetTransitGatewayConnectionPrefixFilterOptions) SetID(id string) *GetTransitGatewayConnectionPrefixFilterOptions
- func (_options *GetTransitGatewayConnectionPrefixFilterOptions) SetTransitGatewayID(transitGatewayID string) *GetTransitGatewayConnectionPrefixFilterOptions
- type GetTransitGatewayConnectionTunnelsOptions
- func (_options *GetTransitGatewayConnectionTunnelsOptions) SetGreTunnelID(greTunnelID string) *GetTransitGatewayConnectionTunnelsOptions
- func (options *GetTransitGatewayConnectionTunnelsOptions) SetHeaders(param map[string]string) *GetTransitGatewayConnectionTunnelsOptions
- func (_options *GetTransitGatewayConnectionTunnelsOptions) SetID(id string) *GetTransitGatewayConnectionTunnelsOptions
- func (_options *GetTransitGatewayConnectionTunnelsOptions) SetTransitGatewayID(transitGatewayID string) *GetTransitGatewayConnectionTunnelsOptions
- type GetTransitGatewayGreTunnelOptions
- func (options *GetTransitGatewayGreTunnelOptions) SetHeaders(param map[string]string) *GetTransitGatewayGreTunnelOptions
- func (_options *GetTransitGatewayGreTunnelOptions) SetID(id string) *GetTransitGatewayGreTunnelOptions
- func (_options *GetTransitGatewayGreTunnelOptions) SetTransitGatewayID(transitGatewayID string) *GetTransitGatewayGreTunnelOptions
- type GetTransitGatewayOptions
- type GetTransitGatewayRouteReportOptions
- func (options *GetTransitGatewayRouteReportOptions) SetHeaders(param map[string]string) *GetTransitGatewayRouteReportOptions
- func (_options *GetTransitGatewayRouteReportOptions) SetID(id string) *GetTransitGatewayRouteReportOptions
- func (_options *GetTransitGatewayRouteReportOptions) SetTransitGatewayID(transitGatewayID string) *GetTransitGatewayRouteReportOptions
- type GreTunnelZoneReference
- type ListConnectionsOptions
- func (options *ListConnectionsOptions) SetHeaders(param map[string]string) *ListConnectionsOptions
- func (_options *ListConnectionsOptions) SetLimit(limit int64) *ListConnectionsOptions
- func (_options *ListConnectionsOptions) SetNetworkID(networkID string) *ListConnectionsOptions
- func (_options *ListConnectionsOptions) SetStart(start string) *ListConnectionsOptions
- type ListGatewayLocationsOptions
- type ListTransitGatewayConnectionPrefixFiltersOptions
- func (options *ListTransitGatewayConnectionPrefixFiltersOptions) SetHeaders(param map[string]string) *ListTransitGatewayConnectionPrefixFiltersOptions
- func (_options *ListTransitGatewayConnectionPrefixFiltersOptions) SetID(id string) *ListTransitGatewayConnectionPrefixFiltersOptions
- func (_options *ListTransitGatewayConnectionPrefixFiltersOptions) SetTransitGatewayID(transitGatewayID string) *ListTransitGatewayConnectionPrefixFiltersOptions
- type ListTransitGatewayConnectionsOptions
- func (options *ListTransitGatewayConnectionsOptions) SetHeaders(param map[string]string) *ListTransitGatewayConnectionsOptions
- func (_options *ListTransitGatewayConnectionsOptions) SetLimit(limit int64) *ListTransitGatewayConnectionsOptions
- func (_options *ListTransitGatewayConnectionsOptions) SetName(name string) *ListTransitGatewayConnectionsOptions
- func (_options *ListTransitGatewayConnectionsOptions) SetStart(start string) *ListTransitGatewayConnectionsOptions
- func (_options *ListTransitGatewayConnectionsOptions) SetTransitGatewayID(transitGatewayID string) *ListTransitGatewayConnectionsOptions
- type ListTransitGatewayRouteReportsOptions
- type ListTransitGatewaysOptions
- type PaginationFirstConnection
- type PaginationFirstTG
- type PaginationFirstTGWConnection
- type PaginationNextConnection
- type PaginationNextTG
- type PaginationNextTGWConnection
- type PrefixFilterCollection
- type PrefixFilterCust
- type PrefixFilterPut
- type RedundantGRETunnelCollection
- type RedundantGRETunnelReference
- type ReplaceTransitGatewayConnectionPrefixFilterOptions
- func (options *ReplaceTransitGatewayConnectionPrefixFilterOptions) SetHeaders(param map[string]string) *ReplaceTransitGatewayConnectionPrefixFilterOptions
- func (_options *ReplaceTransitGatewayConnectionPrefixFilterOptions) SetID(id string) *ReplaceTransitGatewayConnectionPrefixFilterOptions
- func (_options *ReplaceTransitGatewayConnectionPrefixFilterOptions) SetPrefixFilters(prefixFilters []PrefixFilterPut) *ReplaceTransitGatewayConnectionPrefixFilterOptions
- func (_options *ReplaceTransitGatewayConnectionPrefixFilterOptions) SetTransitGatewayID(transitGatewayID string) *ReplaceTransitGatewayConnectionPrefixFilterOptions
- type ResourceGroupIdentity
- type ResourceGroupReference
- type RgreTunnelZoneReference
- type RouteReport
- type RouteReportCollection
- type RouteReportConnection
- type RouteReportConnectionBgp
- type RouteReportConnectionRoute
- type RouteReportOverlappingRoute
- type RouteReportOverlappingRouteGroup
- type TSCollection
- type TSLocalLocation
- type TSLocation
- type TSLocationBasic
- type TransitConnection
- type TransitConnectionCollection
- type TransitGateway
- type TransitGatewayApisV1
- func (transitGatewayApis *TransitGatewayApisV1) Clone() *TransitGatewayApisV1
- func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGateway(createTransitGatewayOptions *CreateTransitGatewayOptions) (result *TransitGateway, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayConnection(createTransitGatewayConnectionOptions *CreateTransitGatewayConnectionOptions) (result *TransitGatewayConnectionCust, response *core.DetailedResponse, ...)
- func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayConnectionActions(...) (response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayConnectionActionsWithContext(ctx context.Context, ...) (response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayConnectionPrefixFilter(...) (result *PrefixFilterCust, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayConnectionPrefixFilterWithContext(ctx context.Context, ...) (result *PrefixFilterCust, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayConnectionWithContext(ctx context.Context, ...) (result *TransitGatewayConnectionCust, response *core.DetailedResponse, ...)
- func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayGreTunnel(createTransitGatewayGreTunnelOptions *CreateTransitGatewayGreTunnelOptions) (result *RedundantGRETunnelReference, response *core.DetailedResponse, ...)
- func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayGreTunnelWithContext(ctx context.Context, ...) (result *RedundantGRETunnelReference, response *core.DetailedResponse, ...)
- func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayRouteReport(createTransitGatewayRouteReportOptions *CreateTransitGatewayRouteReportOptions) (result *RouteReport, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayRouteReportWithContext(ctx context.Context, ...) (result *RouteReport, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayWithContext(ctx context.Context, createTransitGatewayOptions *CreateTransitGatewayOptions) (result *TransitGateway, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGateway(deleteTransitGatewayOptions *DeleteTransitGatewayOptions) (response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayConnection(deleteTransitGatewayConnectionOptions *DeleteTransitGatewayConnectionOptions) (response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayConnectionPrefixFilter(...) (response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayConnectionPrefixFilterWithContext(ctx context.Context, ...) (response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayConnectionTunnels(...) (response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayConnectionTunnelsWithContext(ctx context.Context, ...) (response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayConnectionWithContext(ctx context.Context, ...) (response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayRouteReport(deleteTransitGatewayRouteReportOptions *DeleteTransitGatewayRouteReportOptions) (response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayRouteReportWithContext(ctx context.Context, ...) (response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayWithContext(ctx context.Context, deleteTransitGatewayOptions *DeleteTransitGatewayOptions) (response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) DisableRetries()
- func (transitGatewayApis *TransitGatewayApisV1) EnableRetries(maxRetries int, maxRetryInterval time.Duration)
- func (transitGatewayApis *TransitGatewayApisV1) GetEnableGzipCompression() bool
- func (transitGatewayApis *TransitGatewayApisV1) GetGatewayLocation(getGatewayLocationOptions *GetGatewayLocationOptions) (result *TSLocation, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) GetGatewayLocationWithContext(ctx context.Context, getGatewayLocationOptions *GetGatewayLocationOptions) (result *TSLocation, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) GetServiceURL() string
- func (transitGatewayApis *TransitGatewayApisV1) GetTransitGateway(getTransitGatewayOptions *GetTransitGatewayOptions) (result *TransitGateway, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayConnection(getTransitGatewayConnectionOptions *GetTransitGatewayConnectionOptions) (result *TransitGatewayConnectionCust, response *core.DetailedResponse, ...)
- func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayConnectionPrefixFilter(...) (result *PrefixFilterCust, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayConnectionPrefixFilterWithContext(ctx context.Context, ...) (result *PrefixFilterCust, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayConnectionTunnels(...) (result *RedundantGRETunnelReference, response *core.DetailedResponse, ...)
- func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayConnectionTunnelsWithContext(ctx context.Context, ...) (result *RedundantGRETunnelReference, response *core.DetailedResponse, ...)
- func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayConnectionWithContext(ctx context.Context, ...) (result *TransitGatewayConnectionCust, response *core.DetailedResponse, ...)
- func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayGreTunnel(getTransitGatewayGreTunnelOptions *GetTransitGatewayGreTunnelOptions) (result *RedundantGRETunnelCollection, response *core.DetailedResponse, ...)
- func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayGreTunnelWithContext(ctx context.Context, ...) (result *RedundantGRETunnelCollection, response *core.DetailedResponse, ...)
- func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayRouteReport(getTransitGatewayRouteReportOptions *GetTransitGatewayRouteReportOptions) (result *RouteReport, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayRouteReportWithContext(ctx context.Context, ...) (result *RouteReport, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayWithContext(ctx context.Context, getTransitGatewayOptions *GetTransitGatewayOptions) (result *TransitGateway, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) ListConnections(listConnectionsOptions *ListConnectionsOptions) (result *TransitConnectionCollection, response *core.DetailedResponse, ...)
- func (transitGatewayApis *TransitGatewayApisV1) ListConnectionsWithContext(ctx context.Context, listConnectionsOptions *ListConnectionsOptions) (result *TransitConnectionCollection, response *core.DetailedResponse, ...)
- func (transitGatewayApis *TransitGatewayApisV1) ListGatewayLocations(listGatewayLocationsOptions *ListGatewayLocationsOptions) (result *TSCollection, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) ListGatewayLocationsWithContext(ctx context.Context, listGatewayLocationsOptions *ListGatewayLocationsOptions) (result *TSCollection, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) ListTransitGatewayConnectionPrefixFilters(...) (result *PrefixFilterCollection, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) ListTransitGatewayConnectionPrefixFiltersWithContext(ctx context.Context, ...) (result *PrefixFilterCollection, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) ListTransitGatewayConnections(listTransitGatewayConnectionsOptions *ListTransitGatewayConnectionsOptions) (result *TransitGatewayConnectionCollection, response *core.DetailedResponse, ...)
- func (transitGatewayApis *TransitGatewayApisV1) ListTransitGatewayConnectionsWithContext(ctx context.Context, ...) (result *TransitGatewayConnectionCollection, response *core.DetailedResponse, ...)
- func (transitGatewayApis *TransitGatewayApisV1) ListTransitGatewayRouteReports(listTransitGatewayRouteReportsOptions *ListTransitGatewayRouteReportsOptions) (result *RouteReportCollection, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) ListTransitGatewayRouteReportsWithContext(ctx context.Context, ...) (result *RouteReportCollection, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) ListTransitGateways(listTransitGatewaysOptions *ListTransitGatewaysOptions) (result *TransitGatewayCollection, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) ListTransitGatewaysWithContext(ctx context.Context, listTransitGatewaysOptions *ListTransitGatewaysOptions) (result *TransitGatewayCollection, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) NewConnectionsPager(options *ListConnectionsOptions) (pager *ConnectionsPager, err error)
- func (*TransitGatewayApisV1) NewCreateTransitGatewayConnectionActionsOptions(transitGatewayID string, id string, action string) *CreateTransitGatewayConnectionActionsOptions
- func (*TransitGatewayApisV1) NewCreateTransitGatewayConnectionOptions(transitGatewayID string, networkType string) *CreateTransitGatewayConnectionOptions
- func (*TransitGatewayApisV1) NewCreateTransitGatewayConnectionPrefixFilterOptions(transitGatewayID string, id string, action string, prefix string) *CreateTransitGatewayConnectionPrefixFilterOptions
- func (*TransitGatewayApisV1) NewCreateTransitGatewayGreTunnelOptions(transitGatewayID string, id string, localGatewayIp string, ...) *CreateTransitGatewayGreTunnelOptions
- func (*TransitGatewayApisV1) NewCreateTransitGatewayOptions(location string, name string) *CreateTransitGatewayOptions
- func (*TransitGatewayApisV1) NewCreateTransitGatewayRouteReportOptions(transitGatewayID string) *CreateTransitGatewayRouteReportOptions
- func (*TransitGatewayApisV1) NewDeleteTransitGatewayConnectionOptions(transitGatewayID string, id string) *DeleteTransitGatewayConnectionOptions
- func (*TransitGatewayApisV1) NewDeleteTransitGatewayConnectionPrefixFilterOptions(transitGatewayID string, id string, filterID string) *DeleteTransitGatewayConnectionPrefixFilterOptions
- func (*TransitGatewayApisV1) NewDeleteTransitGatewayConnectionTunnelsOptions(transitGatewayID string, id string, greTunnelID string) *DeleteTransitGatewayConnectionTunnelsOptions
- func (*TransitGatewayApisV1) NewDeleteTransitGatewayOptions(id string) *DeleteTransitGatewayOptions
- func (*TransitGatewayApisV1) NewDeleteTransitGatewayRouteReportOptions(transitGatewayID string, id string) *DeleteTransitGatewayRouteReportOptions
- func (*TransitGatewayApisV1) NewGetGatewayLocationOptions(name string) *GetGatewayLocationOptions
- func (*TransitGatewayApisV1) NewGetTransitGatewayConnectionOptions(transitGatewayID string, id string) *GetTransitGatewayConnectionOptions
- func (*TransitGatewayApisV1) NewGetTransitGatewayConnectionPrefixFilterOptions(transitGatewayID string, id string, filterID string) *GetTransitGatewayConnectionPrefixFilterOptions
- func (*TransitGatewayApisV1) NewGetTransitGatewayConnectionTunnelsOptions(transitGatewayID string, id string, greTunnelID string) *GetTransitGatewayConnectionTunnelsOptions
- func (*TransitGatewayApisV1) NewGetTransitGatewayGreTunnelOptions(transitGatewayID string, id string) *GetTransitGatewayGreTunnelOptions
- func (*TransitGatewayApisV1) NewGetTransitGatewayOptions(id string) *GetTransitGatewayOptions
- func (*TransitGatewayApisV1) NewGetTransitGatewayRouteReportOptions(transitGatewayID string, id string) *GetTransitGatewayRouteReportOptions
- func (*TransitGatewayApisV1) NewListConnectionsOptions() *ListConnectionsOptions
- func (*TransitGatewayApisV1) NewListGatewayLocationsOptions() *ListGatewayLocationsOptions
- func (*TransitGatewayApisV1) NewListTransitGatewayConnectionPrefixFiltersOptions(transitGatewayID string, id string) *ListTransitGatewayConnectionPrefixFiltersOptions
- func (*TransitGatewayApisV1) NewListTransitGatewayConnectionsOptions(transitGatewayID string) *ListTransitGatewayConnectionsOptions
- func (*TransitGatewayApisV1) NewListTransitGatewayRouteReportsOptions(transitGatewayID string) *ListTransitGatewayRouteReportsOptions
- func (*TransitGatewayApisV1) NewListTransitGatewaysOptions() *ListTransitGatewaysOptions
- func (*TransitGatewayApisV1) NewPrefixFilterPut(action string, prefix string) (_model *PrefixFilterPut, err error)
- func (*TransitGatewayApisV1) NewReplaceTransitGatewayConnectionPrefixFilterOptions(transitGatewayID string, id string, prefixFilters []PrefixFilterPut) *ReplaceTransitGatewayConnectionPrefixFilterOptions
- func (*TransitGatewayApisV1) NewResourceGroupIdentity(id string) (_model *ResourceGroupIdentity, err error)
- func (*TransitGatewayApisV1) NewTransitGatewayConnectionPrefixFilter(action string, prefix string) (_model *TransitGatewayConnectionPrefixFilter, err error)
- func (transitGatewayApis *TransitGatewayApisV1) NewTransitGatewayConnectionsPager(options *ListTransitGatewayConnectionsOptions) (pager *TransitGatewayConnectionsPager, err error)
- func (*TransitGatewayApisV1) NewTransitGatewayRedundantGRETunnelTemplate(localGatewayIp string, localTunnelIp string, name string, ...) (_model *TransitGatewayRedundantGRETunnelTemplate, err error)
- func (transitGatewayApis *TransitGatewayApisV1) NewTransitGatewaysPager(options *ListTransitGatewaysOptions) (pager *TransitGatewaysPager, err error)
- func (*TransitGatewayApisV1) NewUpdateTransitGatewayConnectionOptions(transitGatewayID string, id string) *UpdateTransitGatewayConnectionOptions
- func (*TransitGatewayApisV1) NewUpdateTransitGatewayConnectionPrefixFilterOptions(transitGatewayID string, id string, filterID string) *UpdateTransitGatewayConnectionPrefixFilterOptions
- func (*TransitGatewayApisV1) NewUpdateTransitGatewayConnectionTunnelsOptions(transitGatewayID string, id string, greTunnelID string) *UpdateTransitGatewayConnectionTunnelsOptions
- func (*TransitGatewayApisV1) NewUpdateTransitGatewayOptions(id string) *UpdateTransitGatewayOptions
- func (transitGatewayApis *TransitGatewayApisV1) ReplaceTransitGatewayConnectionPrefixFilter(...) (result *PrefixFilterCollection, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) ReplaceTransitGatewayConnectionPrefixFilterWithContext(ctx context.Context, ...) (result *PrefixFilterCollection, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) SetDefaultHeaders(headers http.Header)
- func (transitGatewayApis *TransitGatewayApisV1) SetEnableGzipCompression(enableGzip bool)
- func (transitGatewayApis *TransitGatewayApisV1) SetServiceURL(url string) error
- func (transitGatewayApis *TransitGatewayApisV1) UpdateTransitGateway(updateTransitGatewayOptions *UpdateTransitGatewayOptions) (result *TransitGateway, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) UpdateTransitGatewayConnection(updateTransitGatewayConnectionOptions *UpdateTransitGatewayConnectionOptions) (result *TransitGatewayConnectionCust, response *core.DetailedResponse, ...)
- func (transitGatewayApis *TransitGatewayApisV1) UpdateTransitGatewayConnectionPrefixFilter(...) (result *PrefixFilterCust, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) UpdateTransitGatewayConnectionPrefixFilterWithContext(ctx context.Context, ...) (result *PrefixFilterCust, response *core.DetailedResponse, err error)
- func (transitGatewayApis *TransitGatewayApisV1) UpdateTransitGatewayConnectionTunnels(...) (result *RedundantGRETunnelReference, response *core.DetailedResponse, ...)
- func (transitGatewayApis *TransitGatewayApisV1) UpdateTransitGatewayConnectionTunnelsWithContext(ctx context.Context, ...) (result *RedundantGRETunnelReference, response *core.DetailedResponse, ...)
- func (transitGatewayApis *TransitGatewayApisV1) UpdateTransitGatewayConnectionWithContext(ctx context.Context, ...) (result *TransitGatewayConnectionCust, response *core.DetailedResponse, ...)
- func (transitGatewayApis *TransitGatewayApisV1) UpdateTransitGatewayWithContext(ctx context.Context, updateTransitGatewayOptions *UpdateTransitGatewayOptions) (result *TransitGateway, response *core.DetailedResponse, err error)
- type TransitGatewayApisV1Options
- type TransitGatewayCollection
- type TransitGatewayConnectionCollection
- type TransitGatewayConnectionCust
- type TransitGatewayConnectionPrefixFilter
- type TransitGatewayConnectionPrefixFilterReference
- type TransitGatewayConnectionsPager
- func (pager *TransitGatewayConnectionsPager) GetAll() (allItems []TransitGatewayConnectionCust, err error)
- func (pager *TransitGatewayConnectionsPager) GetAllWithContext(ctx context.Context) (allItems []TransitGatewayConnectionCust, err error)
- func (pager *TransitGatewayConnectionsPager) GetNext() (page []TransitGatewayConnectionCust, err error)
- func (pager *TransitGatewayConnectionsPager) GetNextWithContext(ctx context.Context) (page []TransitGatewayConnectionCust, err error)
- func (pager *TransitGatewayConnectionsPager) HasNext() bool
- type TransitGatewayRedundantGRETunnelReference
- type TransitGatewayRedundantGRETunnelTemplate
- type TransitGatewayReference
- type TransitGatewaysPager
- func (pager *TransitGatewaysPager) GetAll() (allItems []TransitGateway, err error)
- func (pager *TransitGatewaysPager) GetAllWithContext(ctx context.Context) (allItems []TransitGateway, err error)
- func (pager *TransitGatewaysPager) GetNext() (page []TransitGateway, err error)
- func (pager *TransitGatewaysPager) GetNextWithContext(ctx context.Context) (page []TransitGateway, err error)
- func (pager *TransitGatewaysPager) HasNext() bool
- type UpdateTransitGatewayConnectionOptions
- func (options *UpdateTransitGatewayConnectionOptions) SetHeaders(param map[string]string) *UpdateTransitGatewayConnectionOptions
- func (_options *UpdateTransitGatewayConnectionOptions) SetID(id string) *UpdateTransitGatewayConnectionOptions
- func (_options *UpdateTransitGatewayConnectionOptions) SetName(name string) *UpdateTransitGatewayConnectionOptions
- func (_options *UpdateTransitGatewayConnectionOptions) SetPrefixFiltersDefault(prefixFiltersDefault string) *UpdateTransitGatewayConnectionOptions
- func (_options *UpdateTransitGatewayConnectionOptions) SetTransitGatewayID(transitGatewayID string) *UpdateTransitGatewayConnectionOptions
- type UpdateTransitGatewayConnectionPrefixFilterOptions
- func (_options *UpdateTransitGatewayConnectionPrefixFilterOptions) SetAction(action string) *UpdateTransitGatewayConnectionPrefixFilterOptions
- func (_options *UpdateTransitGatewayConnectionPrefixFilterOptions) SetBefore(before string) *UpdateTransitGatewayConnectionPrefixFilterOptions
- func (_options *UpdateTransitGatewayConnectionPrefixFilterOptions) SetFilterID(filterID string) *UpdateTransitGatewayConnectionPrefixFilterOptions
- func (_options *UpdateTransitGatewayConnectionPrefixFilterOptions) SetGe(ge int64) *UpdateTransitGatewayConnectionPrefixFilterOptions
- func (options *UpdateTransitGatewayConnectionPrefixFilterOptions) SetHeaders(param map[string]string) *UpdateTransitGatewayConnectionPrefixFilterOptions
- func (_options *UpdateTransitGatewayConnectionPrefixFilterOptions) SetID(id string) *UpdateTransitGatewayConnectionPrefixFilterOptions
- func (_options *UpdateTransitGatewayConnectionPrefixFilterOptions) SetLe(le int64) *UpdateTransitGatewayConnectionPrefixFilterOptions
- func (_options *UpdateTransitGatewayConnectionPrefixFilterOptions) SetPrefix(prefix string) *UpdateTransitGatewayConnectionPrefixFilterOptions
- func (_options *UpdateTransitGatewayConnectionPrefixFilterOptions) SetTransitGatewayID(transitGatewayID string) *UpdateTransitGatewayConnectionPrefixFilterOptions
- type UpdateTransitGatewayConnectionTunnelsOptions
- func (_options *UpdateTransitGatewayConnectionTunnelsOptions) SetGreTunnelID(greTunnelID string) *UpdateTransitGatewayConnectionTunnelsOptions
- func (options *UpdateTransitGatewayConnectionTunnelsOptions) SetHeaders(param map[string]string) *UpdateTransitGatewayConnectionTunnelsOptions
- func (_options *UpdateTransitGatewayConnectionTunnelsOptions) SetID(id string) *UpdateTransitGatewayConnectionTunnelsOptions
- func (_options *UpdateTransitGatewayConnectionTunnelsOptions) SetName(name string) *UpdateTransitGatewayConnectionTunnelsOptions
- func (_options *UpdateTransitGatewayConnectionTunnelsOptions) SetTransitGatewayID(transitGatewayID string) *UpdateTransitGatewayConnectionTunnelsOptions
- type UpdateTransitGatewayOptions
- func (_options *UpdateTransitGatewayOptions) SetGlobal(global bool) *UpdateTransitGatewayOptions
- func (options *UpdateTransitGatewayOptions) SetHeaders(param map[string]string) *UpdateTransitGatewayOptions
- func (_options *UpdateTransitGatewayOptions) SetID(id string) *UpdateTransitGatewayOptions
- func (_options *UpdateTransitGatewayOptions) SetName(name string) *UpdateTransitGatewayOptions
- type ZoneIdentity
- type ZoneIdentityByName
- type ZoneIdentityIntf
- type ZoneReference
- type ZoneReferenceCollection
Constants ¶
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.
const ( CreateTransitGatewayConnectionOptions_NetworkType_Classic = "classic" CreateTransitGatewayConnectionOptions_NetworkType_Directlink = "directlink" CreateTransitGatewayConnectionOptions_NetworkType_GreTunnel = "gre_tunnel" CreateTransitGatewayConnectionOptions_NetworkType_PowerVirtualServer = "power_virtual_server" CreateTransitGatewayConnectionOptions_NetworkType_RedundantGre = "redundant_gre" 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.
const ( CreateTransitGatewayConnectionOptions_BaseNetworkType_Classic = "classic" CreateTransitGatewayConnectionOptions_BaseNetworkType_Vpc = "vpc" )
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' and must be set to 'classic'. For a 'redundant_gre' network type, the value is required and can be either VPC or Classic. This field is required to be unspecified for network type 'classic', 'directlink', 'vpc', 'power_virtual_server' and 'gre_tunnel' connections.
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', 'unbound_gre_tunnel' and 'redundant_gre' connections.
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.
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.
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.
const ( RedundantGRETunnelReference_BaseNetworkType_Classic = "classic" RedundantGRETunnelReference_BaseNetworkType_Vpc = "vpc" )
Constants associated with the RedundantGRETunnelReference.BaseNetworkType property. The type of network the redundant GRE tunnel is targeting.
const ( RedundantGRETunnelReference_Status_Attached = "attached" RedundantGRETunnelReference_Status_Deleting = "deleting" RedundantGRETunnelReference_Status_Detached = "detached" RedundantGRETunnelReference_Status_Detaching = "detaching" RedundantGRETunnelReference_Status_Failed = "failed" RedundantGRETunnelReference_Status_Pending = "pending" RedundantGRETunnelReference_Status_Suspended = "suspended" RedundantGRETunnelReference_Status_Suspending = "suspending" )
Constants associated with the RedundantGRETunnelReference.Status property. Tunnel'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.
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.
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.
const ( TransitConnection_BaseNetworkType_Classic = "classic" TransitConnection_BaseNetworkType_Vpc = "vpc" )
Constants associated with the TransitConnection.BaseNetworkType property. The type of network the GRE tunnel is targeting.
const ( TransitConnection_NetworkType_Classic = "classic" TransitConnection_NetworkType_Directlink = "directlink" TransitConnection_NetworkType_GreTunnel = "gre_tunnel" TransitConnection_NetworkType_PowerVirtualServer = "power_virtual_server" TransitConnection_NetworkType_RedundantGre = "redundant_gre" 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.
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.
This field does not apply to the 'redundant_gre' network type.
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.
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'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.
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.
const ( TransitGatewayConnectionCust_BaseNetworkType_Classic = "classic" TransitGatewayConnectionCust_BaseNetworkType_Vpc = "vpc" )
Constants associated with the TransitGatewayConnectionCust.BaseNetworkType property. The type of network the GRE tunnel is targeting.
const ( TransitGatewayConnectionCust_NetworkType_Classic = "classic" TransitGatewayConnectionCust_NetworkType_Directlink = "directlink" TransitGatewayConnectionCust_NetworkType_GreTunnel = "gre_tunnel" TransitGatewayConnectionCust_NetworkType_PowerVirtualServer = "power_virtual_server" TransitGatewayConnectionCust_NetworkType_RedundantGre = "redundant_gre" 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.
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. This field does not apply to the 'redundant_gre' network type.
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.
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.
const ( TransitGatewayConnectionPrefixFilter_Action_Deny = "deny" TransitGatewayConnectionPrefixFilter_Action_Permit = "permit" )
Constants associated with the TransitGatewayConnectionPrefixFilter.Action property. Whether to permit or deny prefix filter.
const ( TransitGatewayConnectionPrefixFilterReference_Action_Deny = "deny" TransitGatewayConnectionPrefixFilterReference_Action_Permit = "permit" )
Constants associated with the TransitGatewayConnectionPrefixFilterReference.Action property. Whether to permit or deny prefix filter.
const ( TransitGatewayRedundantGRETunnelReference_Status_Attached = "attached" TransitGatewayRedundantGRETunnelReference_Status_Deleting = "deleting" TransitGatewayRedundantGRETunnelReference_Status_Detached = "detached" TransitGatewayRedundantGRETunnelReference_Status_Detaching = "detaching" TransitGatewayRedundantGRETunnelReference_Status_Failed = "failed" TransitGatewayRedundantGRETunnelReference_Status_Pending = "pending" TransitGatewayRedundantGRETunnelReference_Status_Suspended = "suspended" TransitGatewayRedundantGRETunnelReference_Status_Suspending = "suspending" )
Constants associated with the TransitGatewayRedundantGRETunnelReference.Status property. Tunnel'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.
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.
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.
const DefaultServiceName = "transit_gateway_apis"
DefaultServiceName is the default key used to find external configuration information.
const DefaultServiceURL = "https://transit.cloud.ibm.com/v1"
DefaultServiceURL is the default URL to make service requests to.
Variables ¶
This section is empty.
Functions ¶
func GetServiceURLForRegion ¶ added in v0.23.1
GetServiceURLForRegion returns the service URL to be used for the specified region
func UnmarshalGreTunnelZoneReference ¶ added in v0.47.0
func UnmarshalGreTunnelZoneReference(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGreTunnelZoneReference unmarshals an instance of GreTunnelZoneReference from the specified map of raw messages.
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 UnmarshalRedundantGRETunnelCollection ¶ added in v0.47.0
func UnmarshalRedundantGRETunnelCollection(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRedundantGRETunnelCollection unmarshals an instance of RedundantGRETunnelCollection from the specified map of raw messages.
func UnmarshalRedundantGRETunnelReference ¶ added in v0.47.0
func UnmarshalRedundantGRETunnelReference(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRedundantGRETunnelReference unmarshals an instance of RedundantGRETunnelReference 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 UnmarshalRgreTunnelZoneReference ¶ added in v0.47.0
func UnmarshalRgreTunnelZoneReference(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRgreTunnelZoneReference unmarshals an instance of RgreTunnelZoneReference 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 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 UnmarshalTransitGatewayRedundantGRETunnelReference ¶ added in v0.47.0
func UnmarshalTransitGatewayRedundantGRETunnelReference(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTransitGatewayRedundantGRETunnelReference unmarshals an instance of TransitGatewayRedundantGRETunnelReference from the specified map of raw messages.
func UnmarshalTransitGatewayRedundantGRETunnelTemplate ¶ added in v0.47.0
func UnmarshalTransitGatewayRedundantGRETunnelTemplate(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTransitGatewayRedundantGRETunnelTemplate unmarshals an instance of TransitGatewayRedundantGRETunnelTemplate 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.
func UnmarshalZoneReferenceCollection ¶ added in v0.47.0
func UnmarshalZoneReferenceCollection(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalZoneReferenceCollection unmarshals an instance of ZoneReferenceCollection 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
func (_options *CreateTransitGatewayConnectionActionsOptions) SetAction(action string) *CreateTransitGatewayConnectionActionsOptions
SetAction : Allow user to set Action
func (*CreateTransitGatewayConnectionActionsOptions) SetHeaders ¶ added in v0.2.0
func (options *CreateTransitGatewayConnectionActionsOptions) SetHeaders(param map[string]string) *CreateTransitGatewayConnectionActionsOptions
SetHeaders : Allow user to set Headers
func (*CreateTransitGatewayConnectionActionsOptions) SetID ¶ added in v0.2.0
func (_options *CreateTransitGatewayConnectionActionsOptions) SetID(id string) *CreateTransitGatewayConnectionActionsOptions
SetID : Allow user to set ID
func (*CreateTransitGatewayConnectionActionsOptions) SetTransitGatewayID ¶ added in v0.2.0
func (_options *CreateTransitGatewayConnectionActionsOptions) SetTransitGatewayID(transitGatewayID string) *CreateTransitGatewayConnectionActionsOptions
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. 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', 'unbound_gre_tunnel' and 'redundant_gre' 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' and must be set to 'classic'. For a 'redundant_gre' network type, the value is required and // can be either VPC or Classic. 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', 'power_virtual_server' and // 'redundant_gre' 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', 'power_virtual_server' and // 'redundant_gre' 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', 'unbound_gre_tunnel' and 'redundant_gre' 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' or network_type is 'redundant_gre' 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. It is also required for 'redundant_gre' // connections when the base_network_type is set to VPC. 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', 'unbound_gre_tunnel' and 'redundant_gre' 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', 'unbound_gre_tunnel' and 'redundant_gre' 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', 'power_virtual_server' and // 'gre_tunnel' 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', // 'power_virtual_server' and 'redundant_gre' 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', 'power_virtual_server' // and 'redundant_gre' connections. RemoteTunnelIp *string `json:"remote_tunnel_ip,omitempty"` // Array of GRE tunnels for a transit gateway redundant GRE tunnel connection. This field is required for // 'redundant_gre' connections. Tunnels []TransitGatewayRedundantGRETunnelTemplate `json:"tunnels,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', 'power_virtual_server' and // 'redundant_gre' 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 ¶
func (options *CreateTransitGatewayConnectionOptions) SetHeaders(param map[string]string) *CreateTransitGatewayConnectionOptions
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 ¶
func (_options *CreateTransitGatewayConnectionOptions) SetName(name string) *CreateTransitGatewayConnectionOptions
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 ¶
func (_options *CreateTransitGatewayConnectionOptions) SetNetworkID(networkID string) *CreateTransitGatewayConnectionOptions
SetNetworkID : Allow user to set NetworkID
func (*CreateTransitGatewayConnectionOptions) SetNetworkType ¶
func (_options *CreateTransitGatewayConnectionOptions) SetNetworkType(networkType string) *CreateTransitGatewayConnectionOptions
SetNetworkType : Allow user to set NetworkType
func (*CreateTransitGatewayConnectionOptions) SetPrefixFilters ¶ added in v0.28.0
func (_options *CreateTransitGatewayConnectionOptions) SetPrefixFilters(prefixFilters []TransitGatewayConnectionPrefixFilter) *CreateTransitGatewayConnectionOptions
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
func (_options *CreateTransitGatewayConnectionOptions) SetRemoteBgpAsn(remoteBgpAsn int64) *CreateTransitGatewayConnectionOptions
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) SetTunnels ¶ added in v0.47.0
func (_options *CreateTransitGatewayConnectionOptions) SetTunnels(tunnels []TransitGatewayRedundantGRETunnelTemplate) *CreateTransitGatewayConnectionOptions
SetTunnels : Allow user to set Tunnels
func (*CreateTransitGatewayConnectionOptions) SetZone ¶ added in v0.17.0
func (_options *CreateTransitGatewayConnectionOptions) SetZone(zone ZoneIdentityIntf) *CreateTransitGatewayConnectionOptions
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
func (_options *CreateTransitGatewayConnectionPrefixFilterOptions) SetAction(action string) *CreateTransitGatewayConnectionPrefixFilterOptions
SetAction : Allow user to set Action
func (*CreateTransitGatewayConnectionPrefixFilterOptions) SetBefore ¶ added in v0.28.0
func (_options *CreateTransitGatewayConnectionPrefixFilterOptions) SetBefore(before string) *CreateTransitGatewayConnectionPrefixFilterOptions
SetBefore : Allow user to set Before
func (*CreateTransitGatewayConnectionPrefixFilterOptions) SetGe ¶ added in v0.28.0
func (_options *CreateTransitGatewayConnectionPrefixFilterOptions) SetGe(ge int64) *CreateTransitGatewayConnectionPrefixFilterOptions
SetGe : Allow user to set Ge
func (*CreateTransitGatewayConnectionPrefixFilterOptions) SetHeaders ¶ added in v0.28.0
func (options *CreateTransitGatewayConnectionPrefixFilterOptions) SetHeaders(param map[string]string) *CreateTransitGatewayConnectionPrefixFilterOptions
SetHeaders : Allow user to set Headers
func (*CreateTransitGatewayConnectionPrefixFilterOptions) SetID ¶ added in v0.28.0
func (_options *CreateTransitGatewayConnectionPrefixFilterOptions) SetID(id string) *CreateTransitGatewayConnectionPrefixFilterOptions
SetID : Allow user to set ID
func (*CreateTransitGatewayConnectionPrefixFilterOptions) SetLe ¶ added in v0.28.0
func (_options *CreateTransitGatewayConnectionPrefixFilterOptions) SetLe(le int64) *CreateTransitGatewayConnectionPrefixFilterOptions
SetLe : Allow user to set Le
func (*CreateTransitGatewayConnectionPrefixFilterOptions) SetPrefix ¶ added in v0.28.0
func (_options *CreateTransitGatewayConnectionPrefixFilterOptions) SetPrefix(prefix string) *CreateTransitGatewayConnectionPrefixFilterOptions
SetPrefix : Allow user to set Prefix
func (*CreateTransitGatewayConnectionPrefixFilterOptions) SetTransitGatewayID ¶ added in v0.28.0
func (_options *CreateTransitGatewayConnectionPrefixFilterOptions) SetTransitGatewayID(transitGatewayID string) *CreateTransitGatewayConnectionPrefixFilterOptions
SetTransitGatewayID : Allow user to set TransitGatewayID
type CreateTransitGatewayGreTunnelOptions ¶ added in v0.47.0
type CreateTransitGatewayGreTunnelOptions struct { // The Transit Gateway identifier. TransitGatewayID *string `json:"transit_gateway_id" validate:"required,ne="` // The connection identifier. ID *string `json:"id" validate:"required,ne="` // Local gateway IP address. LocalGatewayIp *string `json:"local_gateway_ip" validate:"required"` // 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. LocalTunnelIp *string `json:"local_tunnel_ip" validate:"required"` // The user-defined name for this tunnel connection. Name *string `json:"name" validate:"required"` // Remote gateway IP address. RemoteGatewayIp *string `json:"remote_gateway_ip" validate:"required"` // 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. RemoteTunnelIp *string `json:"remote_tunnel_ip" validate:"required"` // 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. Zone ZoneIdentityIntf `json:"zone" validate:"required"` // 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 create requests, IBM // will assign an ASN. RemoteBgpAsn *int64 `json:"remote_bgp_asn,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
CreateTransitGatewayGreTunnelOptions : The CreateTransitGatewayGreTunnel options.
func (*CreateTransitGatewayGreTunnelOptions) SetHeaders ¶ added in v0.47.0
func (options *CreateTransitGatewayGreTunnelOptions) SetHeaders(param map[string]string) *CreateTransitGatewayGreTunnelOptions
SetHeaders : Allow user to set Headers
func (*CreateTransitGatewayGreTunnelOptions) SetID ¶ added in v0.47.0
func (_options *CreateTransitGatewayGreTunnelOptions) SetID(id string) *CreateTransitGatewayGreTunnelOptions
SetID : Allow user to set ID
func (*CreateTransitGatewayGreTunnelOptions) SetLocalGatewayIp ¶ added in v0.47.0
func (_options *CreateTransitGatewayGreTunnelOptions) SetLocalGatewayIp(localGatewayIp string) *CreateTransitGatewayGreTunnelOptions
SetLocalGatewayIp : Allow user to set LocalGatewayIp
func (*CreateTransitGatewayGreTunnelOptions) SetLocalTunnelIp ¶ added in v0.47.0
func (_options *CreateTransitGatewayGreTunnelOptions) SetLocalTunnelIp(localTunnelIp string) *CreateTransitGatewayGreTunnelOptions
SetLocalTunnelIp : Allow user to set LocalTunnelIp
func (*CreateTransitGatewayGreTunnelOptions) SetName ¶ added in v0.47.0
func (_options *CreateTransitGatewayGreTunnelOptions) SetName(name string) *CreateTransitGatewayGreTunnelOptions
SetName : Allow user to set Name
func (*CreateTransitGatewayGreTunnelOptions) SetRemoteBgpAsn ¶ added in v0.47.0
func (_options *CreateTransitGatewayGreTunnelOptions) SetRemoteBgpAsn(remoteBgpAsn int64) *CreateTransitGatewayGreTunnelOptions
SetRemoteBgpAsn : Allow user to set RemoteBgpAsn
func (*CreateTransitGatewayGreTunnelOptions) SetRemoteGatewayIp ¶ added in v0.47.0
func (_options *CreateTransitGatewayGreTunnelOptions) SetRemoteGatewayIp(remoteGatewayIp string) *CreateTransitGatewayGreTunnelOptions
SetRemoteGatewayIp : Allow user to set RemoteGatewayIp
func (*CreateTransitGatewayGreTunnelOptions) SetRemoteTunnelIp ¶ added in v0.47.0
func (_options *CreateTransitGatewayGreTunnelOptions) SetRemoteTunnelIp(remoteTunnelIp string) *CreateTransitGatewayGreTunnelOptions
SetRemoteTunnelIp : Allow user to set RemoteTunnelIp
func (*CreateTransitGatewayGreTunnelOptions) SetTransitGatewayID ¶ added in v0.47.0
func (_options *CreateTransitGatewayGreTunnelOptions) SetTransitGatewayID(transitGatewayID string) *CreateTransitGatewayGreTunnelOptions
SetTransitGatewayID : Allow user to set TransitGatewayID
func (*CreateTransitGatewayGreTunnelOptions) SetZone ¶ added in v0.47.0
func (_options *CreateTransitGatewayGreTunnelOptions) SetZone(zone ZoneIdentityIntf) *CreateTransitGatewayGreTunnelOptions
SetZone : Allow user to set Zone
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 ¶
func (_options *CreateTransitGatewayOptions) SetName(name string) *CreateTransitGatewayOptions
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
func (options *CreateTransitGatewayRouteReportOptions) SetHeaders(param map[string]string) *CreateTransitGatewayRouteReportOptions
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 ¶
func (options *DeleteTransitGatewayConnectionOptions) SetHeaders(param map[string]string) *DeleteTransitGatewayConnectionOptions
SetHeaders : Allow user to set Headers
func (*DeleteTransitGatewayConnectionOptions) SetID ¶
func (_options *DeleteTransitGatewayConnectionOptions) SetID(id string) *DeleteTransitGatewayConnectionOptions
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
func (_options *DeleteTransitGatewayConnectionPrefixFilterOptions) SetFilterID(filterID string) *DeleteTransitGatewayConnectionPrefixFilterOptions
SetFilterID : Allow user to set FilterID
func (*DeleteTransitGatewayConnectionPrefixFilterOptions) SetHeaders ¶ added in v0.28.0
func (options *DeleteTransitGatewayConnectionPrefixFilterOptions) SetHeaders(param map[string]string) *DeleteTransitGatewayConnectionPrefixFilterOptions
SetHeaders : Allow user to set Headers
func (*DeleteTransitGatewayConnectionPrefixFilterOptions) SetID ¶ added in v0.28.0
func (_options *DeleteTransitGatewayConnectionPrefixFilterOptions) SetID(id string) *DeleteTransitGatewayConnectionPrefixFilterOptions
SetID : Allow user to set ID
func (*DeleteTransitGatewayConnectionPrefixFilterOptions) SetTransitGatewayID ¶ added in v0.28.0
func (_options *DeleteTransitGatewayConnectionPrefixFilterOptions) SetTransitGatewayID(transitGatewayID string) *DeleteTransitGatewayConnectionPrefixFilterOptions
SetTransitGatewayID : Allow user to set TransitGatewayID
type DeleteTransitGatewayConnectionTunnelsOptions ¶ added in v0.47.0
type DeleteTransitGatewayConnectionTunnelsOptions 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 tunnel identifier. GreTunnelID *string `json:"gre_tunnel_id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
DeleteTransitGatewayConnectionTunnelsOptions : The DeleteTransitGatewayConnectionTunnels options.
func (*DeleteTransitGatewayConnectionTunnelsOptions) SetGreTunnelID ¶ added in v0.47.0
func (_options *DeleteTransitGatewayConnectionTunnelsOptions) SetGreTunnelID(greTunnelID string) *DeleteTransitGatewayConnectionTunnelsOptions
SetGreTunnelID : Allow user to set GreTunnelID
func (*DeleteTransitGatewayConnectionTunnelsOptions) SetHeaders ¶ added in v0.47.0
func (options *DeleteTransitGatewayConnectionTunnelsOptions) SetHeaders(param map[string]string) *DeleteTransitGatewayConnectionTunnelsOptions
SetHeaders : Allow user to set Headers
func (*DeleteTransitGatewayConnectionTunnelsOptions) SetID ¶ added in v0.47.0
func (_options *DeleteTransitGatewayConnectionTunnelsOptions) SetID(id string) *DeleteTransitGatewayConnectionTunnelsOptions
SetID : Allow user to set ID
func (*DeleteTransitGatewayConnectionTunnelsOptions) SetTransitGatewayID ¶ added in v0.47.0
func (_options *DeleteTransitGatewayConnectionTunnelsOptions) SetTransitGatewayID(transitGatewayID string) *DeleteTransitGatewayConnectionTunnelsOptions
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 ¶
func (_options *DeleteTransitGatewayOptions) SetID(id string) *DeleteTransitGatewayOptions
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
func (options *DeleteTransitGatewayRouteReportOptions) SetHeaders(param map[string]string) *DeleteTransitGatewayRouteReportOptions
SetHeaders : Allow user to set Headers
func (*DeleteTransitGatewayRouteReportOptions) SetID ¶ added in v0.24.0
func (_options *DeleteTransitGatewayRouteReportOptions) SetID(id string) *DeleteTransitGatewayRouteReportOptions
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
func (_options *GetGatewayLocationOptions) SetName(name string) *GetGatewayLocationOptions
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
func (options *GetTransitGatewayConnectionOptions) SetHeaders(param map[string]string) *GetTransitGatewayConnectionOptions
SetHeaders : Allow user to set Headers
func (*GetTransitGatewayConnectionOptions) SetID ¶ added in v0.2.0
func (_options *GetTransitGatewayConnectionOptions) SetID(id string) *GetTransitGatewayConnectionOptions
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
func (_options *GetTransitGatewayConnectionPrefixFilterOptions) SetFilterID(filterID string) *GetTransitGatewayConnectionPrefixFilterOptions
SetFilterID : Allow user to set FilterID
func (*GetTransitGatewayConnectionPrefixFilterOptions) SetHeaders ¶ added in v0.28.0
func (options *GetTransitGatewayConnectionPrefixFilterOptions) SetHeaders(param map[string]string) *GetTransitGatewayConnectionPrefixFilterOptions
SetHeaders : Allow user to set Headers
func (*GetTransitGatewayConnectionPrefixFilterOptions) SetID ¶ added in v0.28.0
func (_options *GetTransitGatewayConnectionPrefixFilterOptions) SetID(id string) *GetTransitGatewayConnectionPrefixFilterOptions
SetID : Allow user to set ID
func (*GetTransitGatewayConnectionPrefixFilterOptions) SetTransitGatewayID ¶ added in v0.28.0
func (_options *GetTransitGatewayConnectionPrefixFilterOptions) SetTransitGatewayID(transitGatewayID string) *GetTransitGatewayConnectionPrefixFilterOptions
SetTransitGatewayID : Allow user to set TransitGatewayID
type GetTransitGatewayConnectionTunnelsOptions ¶ added in v0.47.0
type GetTransitGatewayConnectionTunnelsOptions 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 tunnel identifier. GreTunnelID *string `json:"gre_tunnel_id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
GetTransitGatewayConnectionTunnelsOptions : The GetTransitGatewayConnectionTunnels options.
func (*GetTransitGatewayConnectionTunnelsOptions) SetGreTunnelID ¶ added in v0.47.0
func (_options *GetTransitGatewayConnectionTunnelsOptions) SetGreTunnelID(greTunnelID string) *GetTransitGatewayConnectionTunnelsOptions
SetGreTunnelID : Allow user to set GreTunnelID
func (*GetTransitGatewayConnectionTunnelsOptions) SetHeaders ¶ added in v0.47.0
func (options *GetTransitGatewayConnectionTunnelsOptions) SetHeaders(param map[string]string) *GetTransitGatewayConnectionTunnelsOptions
SetHeaders : Allow user to set Headers
func (*GetTransitGatewayConnectionTunnelsOptions) SetID ¶ added in v0.47.0
func (_options *GetTransitGatewayConnectionTunnelsOptions) SetID(id string) *GetTransitGatewayConnectionTunnelsOptions
SetID : Allow user to set ID
func (*GetTransitGatewayConnectionTunnelsOptions) SetTransitGatewayID ¶ added in v0.47.0
func (_options *GetTransitGatewayConnectionTunnelsOptions) SetTransitGatewayID(transitGatewayID string) *GetTransitGatewayConnectionTunnelsOptions
SetTransitGatewayID : Allow user to set TransitGatewayID
type GetTransitGatewayGreTunnelOptions ¶ added in v0.47.0
type GetTransitGatewayGreTunnelOptions 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 }
GetTransitGatewayGreTunnelOptions : The GetTransitGatewayGreTunnel options.
func (*GetTransitGatewayGreTunnelOptions) SetHeaders ¶ added in v0.47.0
func (options *GetTransitGatewayGreTunnelOptions) SetHeaders(param map[string]string) *GetTransitGatewayGreTunnelOptions
SetHeaders : Allow user to set Headers
func (*GetTransitGatewayGreTunnelOptions) SetID ¶ added in v0.47.0
func (_options *GetTransitGatewayGreTunnelOptions) SetID(id string) *GetTransitGatewayGreTunnelOptions
SetID : Allow user to set ID
func (*GetTransitGatewayGreTunnelOptions) SetTransitGatewayID ¶ added in v0.47.0
func (_options *GetTransitGatewayGreTunnelOptions) SetTransitGatewayID(transitGatewayID string) *GetTransitGatewayGreTunnelOptions
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
func (_options *GetTransitGatewayOptions) SetID(id string) *GetTransitGatewayOptions
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
func (options *GetTransitGatewayRouteReportOptions) SetHeaders(param map[string]string) *GetTransitGatewayRouteReportOptions
SetHeaders : Allow user to set Headers
func (*GetTransitGatewayRouteReportOptions) SetID ¶ added in v0.24.0
func (_options *GetTransitGatewayRouteReportOptions) SetID(id string) *GetTransitGatewayRouteReportOptions
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 GreTunnelZoneReference ¶ added in v0.47.0
type GreTunnelZoneReference struct { // Availability zone name. Name *string `json:"name" validate:"required"` }
GreTunnelZoneReference : Location of GRE tunnel. This field only applies to network type 'gre_tunnel' connections.
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
func (options *ListTransitGatewayConnectionPrefixFiltersOptions) SetHeaders(param map[string]string) *ListTransitGatewayConnectionPrefixFiltersOptions
SetHeaders : Allow user to set Headers
func (*ListTransitGatewayConnectionPrefixFiltersOptions) SetID ¶ added in v0.28.0
func (_options *ListTransitGatewayConnectionPrefixFiltersOptions) SetID(id string) *ListTransitGatewayConnectionPrefixFiltersOptions
SetID : Allow user to set ID
func (*ListTransitGatewayConnectionPrefixFiltersOptions) SetTransitGatewayID ¶ added in v0.28.0
func (_options *ListTransitGatewayConnectionPrefixFiltersOptions) SetTransitGatewayID(transitGatewayID string) *ListTransitGatewayConnectionPrefixFiltersOptions
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 ¶
func (options *ListTransitGatewayConnectionsOptions) SetHeaders(param map[string]string) *ListTransitGatewayConnectionsOptions
SetHeaders : Allow user to set Headers
func (*ListTransitGatewayConnectionsOptions) SetLimit ¶ added in v0.44.0
func (_options *ListTransitGatewayConnectionsOptions) SetLimit(limit int64) *ListTransitGatewayConnectionsOptions
SetLimit : Allow user to set Limit
func (*ListTransitGatewayConnectionsOptions) SetName ¶ added in v0.44.0
func (_options *ListTransitGatewayConnectionsOptions) SetName(name string) *ListTransitGatewayConnectionsOptions
SetName : Allow user to set Name
func (*ListTransitGatewayConnectionsOptions) SetStart ¶ added in v0.44.0
func (_options *ListTransitGatewayConnectionsOptions) SetStart(start string) *ListTransitGatewayConnectionsOptions
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
func (options *ListTransitGatewayRouteReportsOptions) SetHeaders(param map[string]string) *ListTransitGatewayRouteReportsOptions
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
func (_options *ListTransitGatewaysOptions) SetStart(start string) *ListTransitGatewaysOptions
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 RedundantGRETunnelCollection ¶ added in v0.47.0
type RedundantGRETunnelCollection struct { // Collection of all tunnels for redundant gre connection. Tunnels []RedundantGRETunnelReference `json:"tunnels" validate:"required"` }
RedundantGRETunnelCollection : Collection of all tunnels for redundant gre connection.
type RedundantGRETunnelReference ¶ added in v0.47.0
type RedundantGRETunnelReference struct { // The type of network the redundant GRE tunnel is targeting. BaseNetworkType *string `json:"base_network_type" validate:"required"` // The date and time that this GRE tunnel was created. CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"` // The unique identifier for this redundant GRE tunnel. ID *string `json:"id" validate:"required"` // Local network BGP ASN. It is assigned by IBM when the tunnel is created. LocalBgpAsn *int64 `json:"local_bgp_asn" validate:"required"` // Local gateway IP address. LocalGatewayIp *string `json:"local_gateway_ip" validate:"required"` // 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. LocalTunnelIp *string `json:"local_tunnel_ip" validate:"required"` // GRE tunnel MTU. Mtu *int64 `json:"mtu" validate:"required"` // The user-defined name for this tunnel. Name *string `json:"name" validate:"required"` // The ID of the account for cross account Classic connections. This field is required when the GRE tunnel is in a // different account than the gateway and the base network is Classic. NetworkAccountID *string `json:"network_account_id,omitempty"` // The ID of the network VPC being connected via this connection. NetworkID *string `json:"network_id,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 create requests, IBM // will assign an ASN. RemoteBgpAsn *int64 `json:"remote_bgp_asn" validate:"required"` // Remote gateway IP address. RemoteGatewayIp *string `json:"remote_gateway_ip" validate:"required"` // 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. RemoteTunnelIp *string `json:"remote_tunnel_ip" validate:"required"` // Tunnel'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" validate:"required"` // The date and time that this tunnel was last updated. UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"` // The tunnel'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. Zone *RgreTunnelZoneReference `json:"zone" validate:"required"` }
RedundantGRETunnelReference : Details for a redundant GRE tunnel.
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
func (options *ReplaceTransitGatewayConnectionPrefixFilterOptions) SetHeaders(param map[string]string) *ReplaceTransitGatewayConnectionPrefixFilterOptions
SetHeaders : Allow user to set Headers
func (*ReplaceTransitGatewayConnectionPrefixFilterOptions) SetID ¶ added in v0.36.0
func (_options *ReplaceTransitGatewayConnectionPrefixFilterOptions) SetID(id string) *ReplaceTransitGatewayConnectionPrefixFilterOptions
SetID : Allow user to set ID
func (*ReplaceTransitGatewayConnectionPrefixFilterOptions) SetPrefixFilters ¶ added in v0.36.0
func (_options *ReplaceTransitGatewayConnectionPrefixFilterOptions) SetPrefixFilters(prefixFilters []PrefixFilterPut) *ReplaceTransitGatewayConnectionPrefixFilterOptions
SetPrefixFilters : Allow user to set PrefixFilters
func (*ReplaceTransitGatewayConnectionPrefixFilterOptions) SetTransitGatewayID ¶ added in v0.36.0
func (_options *ReplaceTransitGatewayConnectionPrefixFilterOptions) SetTransitGatewayID(transitGatewayID string) *ReplaceTransitGatewayConnectionPrefixFilterOptions
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 URL for this resource group. Href *string `json:"href" validate:"required"` // The unique identifier for this resource group. ID *string `json:"id" 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 RgreTunnelZoneReference ¶ added in v0.47.0
type RgreTunnelZoneReference struct { // Availability zone name. Name *string `json:"name" validate:"required"` }
RgreTunnelZoneReference : The tunnel'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.
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"` // List of valid zones for GRE tunnels. Zones []ZoneReferenceCollection `json:"zones" 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 { // 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', 'directlink' and 'redundant_gre'. For network types 'vpc', 'redundant_gre', // '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. // // This field does not apply to the 'redundant_gre' network type. PrefixFilters []TransitGatewayConnectionPrefixFilterReference `json:"prefix_filters,omitempty"` // Default setting of permit or deny which applies to any routes that don't match a specified filter. // // This field does not apply to the 'redundant_gre' network type. PrefixFiltersDefault *string `json:"prefix_filters_default,omitempty"` // 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" validate:"required"` // 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" validate:"required"` // Transit gateway reference. TransitGateway *TransitGatewayReference `json:"transit_gateway" validate:"required"` // Collection of all tunnels for 'redundant_gre' connection. Tunnels []TransitGatewayRedundantGRETunnelReference `json:"tunnels,omitempty"` // The date and time that this connection was last updated. UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"` // Location of GRE tunnel. This field only applies to network type 'gre_tunnel' connections. Zone *GreTunnelZoneReference `json:"zone,omitempty"` }
TransitConnection : Connection included in transit gateway.
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) CreateTransitGatewayGreTunnel ¶ added in v0.47.0
func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayGreTunnel(createTransitGatewayGreTunnelOptions *CreateTransitGatewayGreTunnelOptions) (result *RedundantGRETunnelReference, response *core.DetailedResponse, err error)
CreateTransitGatewayGreTunnel : Create Transit Gateway redundant GRE tunnel Add a tunnel to an existing Redundant GRE connection.
func (*TransitGatewayApisV1) CreateTransitGatewayGreTunnelWithContext ¶ added in v0.47.0
func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayGreTunnelWithContext(ctx context.Context, createTransitGatewayGreTunnelOptions *CreateTransitGatewayGreTunnelOptions) (result *RedundantGRETunnelReference, response *core.DetailedResponse, err error)
CreateTransitGatewayGreTunnelWithContext is an alternate form of the CreateTransitGatewayGreTunnel 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) DeleteTransitGatewayConnectionTunnels ¶ added in v0.47.0
func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayConnectionTunnels(deleteTransitGatewayConnectionTunnelsOptions *DeleteTransitGatewayConnectionTunnelsOptions) (response *core.DetailedResponse, err error)
DeleteTransitGatewayConnectionTunnels : Delete specified Transit Gateway redundant GRE tunnel Remove a tunnel from a redundant GRE connection.
func (*TransitGatewayApisV1) DeleteTransitGatewayConnectionTunnelsWithContext ¶ added in v0.47.0
func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayConnectionTunnelsWithContext(ctx context.Context, deleteTransitGatewayConnectionTunnelsOptions *DeleteTransitGatewayConnectionTunnelsOptions) (response *core.DetailedResponse, err error)
DeleteTransitGatewayConnectionTunnelsWithContext is an alternate form of the DeleteTransitGatewayConnectionTunnels 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) GetTransitGatewayConnectionTunnels ¶ added in v0.47.0
func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayConnectionTunnels(getTransitGatewayConnectionTunnelsOptions *GetTransitGatewayConnectionTunnelsOptions) (result *RedundantGRETunnelReference, response *core.DetailedResponse, err error)
GetTransitGatewayConnectionTunnels : Retrieves specified Transit Gateway connection tunnel This request retrieves a connection tunnel from the Transit Gateway Connection.
func (*TransitGatewayApisV1) GetTransitGatewayConnectionTunnelsWithContext ¶ added in v0.47.0
func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayConnectionTunnelsWithContext(ctx context.Context, getTransitGatewayConnectionTunnelsOptions *GetTransitGatewayConnectionTunnelsOptions) (result *RedundantGRETunnelReference, response *core.DetailedResponse, err error)
GetTransitGatewayConnectionTunnelsWithContext is an alternate form of the GetTransitGatewayConnectionTunnels 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) GetTransitGatewayGreTunnel ¶ added in v0.47.0
func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayGreTunnel(getTransitGatewayGreTunnelOptions *GetTransitGatewayGreTunnelOptions) (result *RedundantGRETunnelCollection, response *core.DetailedResponse, err error)
GetTransitGatewayGreTunnel : Retrieves specified Transit Gateway redundant gre connection tunnels This request retrieves a list of all the tunnels for the redundant gre conneciton.
func (*TransitGatewayApisV1) GetTransitGatewayGreTunnelWithContext ¶ added in v0.47.0
func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayGreTunnelWithContext(ctx context.Context, getTransitGatewayGreTunnelOptions *GetTransitGatewayGreTunnelOptions) (result *RedundantGRETunnelCollection, response *core.DetailedResponse, err error)
GetTransitGatewayGreTunnelWithContext is an alternate form of the GetTransitGatewayGreTunnel 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) NewCreateTransitGatewayGreTunnelOptions ¶ added in v0.47.0
func (*TransitGatewayApisV1) NewCreateTransitGatewayGreTunnelOptions(transitGatewayID string, id string, localGatewayIp string, localTunnelIp string, name string, remoteGatewayIp string, remoteTunnelIp string, zone ZoneIdentityIntf) *CreateTransitGatewayGreTunnelOptions
NewCreateTransitGatewayGreTunnelOptions : Instantiate CreateTransitGatewayGreTunnelOptions
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) NewDeleteTransitGatewayConnectionTunnelsOptions ¶ added in v0.47.0
func (*TransitGatewayApisV1) NewDeleteTransitGatewayConnectionTunnelsOptions(transitGatewayID string, id string, greTunnelID string) *DeleteTransitGatewayConnectionTunnelsOptions
NewDeleteTransitGatewayConnectionTunnelsOptions : Instantiate DeleteTransitGatewayConnectionTunnelsOptions
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) NewGetTransitGatewayConnectionTunnelsOptions ¶ added in v0.47.0
func (*TransitGatewayApisV1) NewGetTransitGatewayConnectionTunnelsOptions(transitGatewayID string, id string, greTunnelID string) *GetTransitGatewayConnectionTunnelsOptions
NewGetTransitGatewayConnectionTunnelsOptions : Instantiate GetTransitGatewayConnectionTunnelsOptions
func (*TransitGatewayApisV1) NewGetTransitGatewayGreTunnelOptions ¶ added in v0.47.0
func (*TransitGatewayApisV1) NewGetTransitGatewayGreTunnelOptions(transitGatewayID string, id string) *GetTransitGatewayGreTunnelOptions
NewGetTransitGatewayGreTunnelOptions : Instantiate GetTransitGatewayGreTunnelOptions
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) NewTransitGatewayRedundantGRETunnelTemplate ¶ added in v0.47.0
func (*TransitGatewayApisV1) NewTransitGatewayRedundantGRETunnelTemplate(localGatewayIp string, localTunnelIp string, name string, remoteGatewayIp string, remoteTunnelIp string, zone ZoneIdentityIntf) (_model *TransitGatewayRedundantGRETunnelTemplate, err error)
NewTransitGatewayRedundantGRETunnelTemplate : Instantiate TransitGatewayRedundantGRETunnelTemplate (Generic Model Constructor)
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) NewUpdateTransitGatewayConnectionTunnelsOptions ¶ added in v0.47.0
func (*TransitGatewayApisV1) NewUpdateTransitGatewayConnectionTunnelsOptions(transitGatewayID string, id string, greTunnelID string) *UpdateTransitGatewayConnectionTunnelsOptions
NewUpdateTransitGatewayConnectionTunnelsOptions : Instantiate UpdateTransitGatewayConnectionTunnelsOptions
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) UpdateTransitGatewayConnectionTunnels ¶ added in v0.47.0
func (transitGatewayApis *TransitGatewayApisV1) UpdateTransitGatewayConnectionTunnels(updateTransitGatewayConnectionTunnelsOptions *UpdateTransitGatewayConnectionTunnelsOptions) (result *RedundantGRETunnelReference, response *core.DetailedResponse, err error)
UpdateTransitGatewayConnectionTunnels : Updates specified Transit Gateway redundant GRE tunnel Update the name of a connection tunnel.
func (*TransitGatewayApisV1) UpdateTransitGatewayConnectionTunnelsWithContext ¶ added in v0.47.0
func (transitGatewayApis *TransitGatewayApisV1) UpdateTransitGatewayConnectionTunnelsWithContext(ctx context.Context, updateTransitGatewayConnectionTunnelsOptions *UpdateTransitGatewayConnectionTunnelsOptions) (result *RedundantGRETunnelReference, response *core.DetailedResponse, err error)
UpdateTransitGatewayConnectionTunnelsWithContext is an alternate form of the UpdateTransitGatewayConnectionTunnels 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" validate:"required"` // 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" validate:"required"` // 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" validate:"required"` }
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', 'directlink' and 'redundant_gre'. For network types 'vpc', 'redundant_gre', // '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. This field // does not apply to the 'redundant_gre' network type. PrefixFilters []TransitGatewayConnectionPrefixFilterReference `json:"prefix_filters,omitempty"` // Default setting of permit or deny which applies to any routes that don't match a specified filter. This field does // not apply to the 'redundant_gre' network type. PrefixFiltersDefault *string `json:"prefix_filters_default,omitempty"` // 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" validate:"required"` // 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" validate:"required"` // Collection of all tunnels for 'redundant_gre' connection. Tunnels []TransitGatewayRedundantGRETunnelReference `json:"tunnels,omitempty"` // The date and time that this connection was last updated. UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"` // Location of GRE tunnel. This field only applies to network type 'gre_tunnel' connections. Zone *GreTunnelZoneReference `json:"zone,omitempty"` }
TransitGatewayConnectionCust : Connection included in transit gateway.
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 TransitGatewayRedundantGRETunnelReference ¶ added in v0.47.0
type TransitGatewayRedundantGRETunnelReference struct { // The date and time that this GRE tunnel was created. CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"` // The unique identifier for this redundant GRE tunnel. ID *string `json:"id" validate:"required"` // Local network BGP ASN. It is assigned by IBM when the tunnel is created. LocalBgpAsn *int64 `json:"local_bgp_asn" validate:"required"` // Local gateway IP address. LocalGatewayIp *string `json:"local_gateway_ip" validate:"required"` // 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. LocalTunnelIp *string `json:"local_tunnel_ip" validate:"required"` // GRE tunnel MTU. Mtu *int64 `json:"mtu" validate:"required"` // The user-defined name for this tunnel. Name *string `json:"name" validate:"required"` // 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 create requests, IBM // will assign an ASN. RemoteBgpAsn *int64 `json:"remote_bgp_asn" validate:"required"` // Remote gateway IP address. RemoteGatewayIp *string `json:"remote_gateway_ip" validate:"required"` // 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. RemoteTunnelIp *string `json:"remote_tunnel_ip" validate:"required"` // Tunnel'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" validate:"required"` // The date and time that this tunnel was last updated. UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"` // The tunnel'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. Zone *RgreTunnelZoneReference `json:"zone" validate:"required"` }
TransitGatewayRedundantGRETunnelReference : Details for a redundant GRE tunnel.
type TransitGatewayRedundantGRETunnelTemplate ¶ added in v0.47.0
type TransitGatewayRedundantGRETunnelTemplate struct { // Local gateway IP address. LocalGatewayIp *string `json:"local_gateway_ip" validate:"required"` // 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. LocalTunnelIp *string `json:"local_tunnel_ip" validate:"required"` // The user-defined name for this tunnel connection. Name *string `json:"name" validate:"required"` // 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 create requests, IBM // will assign an ASN. RemoteBgpAsn *int64 `json:"remote_bgp_asn,omitempty"` // Remote gateway IP address. RemoteGatewayIp *string `json:"remote_gateway_ip" validate:"required"` // 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. RemoteTunnelIp *string `json:"remote_tunnel_ip" validate:"required"` // 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. Zone ZoneIdentityIntf `json:"zone" validate:"required"` }
TransitGatewayRedundantGRETunnelTemplate : A create template with information for redundant GRE tunnel.
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 ¶
func (options *UpdateTransitGatewayConnectionOptions) SetHeaders(param map[string]string) *UpdateTransitGatewayConnectionOptions
SetHeaders : Allow user to set Headers
func (*UpdateTransitGatewayConnectionOptions) SetID ¶
func (_options *UpdateTransitGatewayConnectionOptions) SetID(id string) *UpdateTransitGatewayConnectionOptions
SetID : Allow user to set ID
func (*UpdateTransitGatewayConnectionOptions) SetName ¶
func (_options *UpdateTransitGatewayConnectionOptions) SetName(name string) *UpdateTransitGatewayConnectionOptions
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
func (_options *UpdateTransitGatewayConnectionPrefixFilterOptions) SetAction(action string) *UpdateTransitGatewayConnectionPrefixFilterOptions
SetAction : Allow user to set Action
func (*UpdateTransitGatewayConnectionPrefixFilterOptions) SetBefore ¶ added in v0.28.0
func (_options *UpdateTransitGatewayConnectionPrefixFilterOptions) SetBefore(before string) *UpdateTransitGatewayConnectionPrefixFilterOptions
SetBefore : Allow user to set Before
func (*UpdateTransitGatewayConnectionPrefixFilterOptions) SetFilterID ¶ added in v0.28.0
func (_options *UpdateTransitGatewayConnectionPrefixFilterOptions) SetFilterID(filterID string) *UpdateTransitGatewayConnectionPrefixFilterOptions
SetFilterID : Allow user to set FilterID
func (*UpdateTransitGatewayConnectionPrefixFilterOptions) SetGe ¶ added in v0.28.0
func (_options *UpdateTransitGatewayConnectionPrefixFilterOptions) SetGe(ge int64) *UpdateTransitGatewayConnectionPrefixFilterOptions
SetGe : Allow user to set Ge
func (*UpdateTransitGatewayConnectionPrefixFilterOptions) SetHeaders ¶ added in v0.28.0
func (options *UpdateTransitGatewayConnectionPrefixFilterOptions) SetHeaders(param map[string]string) *UpdateTransitGatewayConnectionPrefixFilterOptions
SetHeaders : Allow user to set Headers
func (*UpdateTransitGatewayConnectionPrefixFilterOptions) SetID ¶ added in v0.28.0
func (_options *UpdateTransitGatewayConnectionPrefixFilterOptions) SetID(id string) *UpdateTransitGatewayConnectionPrefixFilterOptions
SetID : Allow user to set ID
func (*UpdateTransitGatewayConnectionPrefixFilterOptions) SetLe ¶ added in v0.28.0
func (_options *UpdateTransitGatewayConnectionPrefixFilterOptions) SetLe(le int64) *UpdateTransitGatewayConnectionPrefixFilterOptions
SetLe : Allow user to set Le
func (*UpdateTransitGatewayConnectionPrefixFilterOptions) SetPrefix ¶ added in v0.28.0
func (_options *UpdateTransitGatewayConnectionPrefixFilterOptions) SetPrefix(prefix string) *UpdateTransitGatewayConnectionPrefixFilterOptions
SetPrefix : Allow user to set Prefix
func (*UpdateTransitGatewayConnectionPrefixFilterOptions) SetTransitGatewayID ¶ added in v0.28.0
func (_options *UpdateTransitGatewayConnectionPrefixFilterOptions) SetTransitGatewayID(transitGatewayID string) *UpdateTransitGatewayConnectionPrefixFilterOptions
SetTransitGatewayID : Allow user to set TransitGatewayID
type UpdateTransitGatewayConnectionTunnelsOptions ¶ added in v0.47.0
type UpdateTransitGatewayConnectionTunnelsOptions 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 tunnel identifier. GreTunnelID *string `json:"gre_tunnel_id" validate:"required,ne="` // The user-defined name for this connection tunnel. Name *string `json:"name,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
UpdateTransitGatewayConnectionTunnelsOptions : The UpdateTransitGatewayConnectionTunnels options.
func (*UpdateTransitGatewayConnectionTunnelsOptions) SetGreTunnelID ¶ added in v0.47.0
func (_options *UpdateTransitGatewayConnectionTunnelsOptions) SetGreTunnelID(greTunnelID string) *UpdateTransitGatewayConnectionTunnelsOptions
SetGreTunnelID : Allow user to set GreTunnelID
func (*UpdateTransitGatewayConnectionTunnelsOptions) SetHeaders ¶ added in v0.47.0
func (options *UpdateTransitGatewayConnectionTunnelsOptions) SetHeaders(param map[string]string) *UpdateTransitGatewayConnectionTunnelsOptions
SetHeaders : Allow user to set Headers
func (*UpdateTransitGatewayConnectionTunnelsOptions) SetID ¶ added in v0.47.0
func (_options *UpdateTransitGatewayConnectionTunnelsOptions) SetID(id string) *UpdateTransitGatewayConnectionTunnelsOptions
SetID : Allow user to set ID
func (*UpdateTransitGatewayConnectionTunnelsOptions) SetName ¶ added in v0.47.0
func (_options *UpdateTransitGatewayConnectionTunnelsOptions) SetName(name string) *UpdateTransitGatewayConnectionTunnelsOptions
SetName : Allow user to set Name
func (*UpdateTransitGatewayConnectionTunnelsOptions) SetTransitGatewayID ¶ added in v0.47.0
func (_options *UpdateTransitGatewayConnectionTunnelsOptions) SetTransitGatewayID(transitGatewayID string) *UpdateTransitGatewayConnectionTunnelsOptions
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 ¶
func (_options *UpdateTransitGatewayOptions) SetID(id string) *UpdateTransitGatewayOptions
SetID : Allow user to set ID
func (*UpdateTransitGatewayOptions) SetName ¶
func (_options *UpdateTransitGatewayOptions) SetName(name string) *UpdateTransitGatewayOptions
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.
type ZoneReferenceCollection ¶ added in v0.47.0
type ZoneReferenceCollection struct { // Array of valid zones for GRE tunnels. Zones []ZoneReference `json:"zones" validate:"required"` }
ZoneReferenceCollection : Collection of availability zones.