Documentation ¶
Overview ¶
Package transitgatewayapisv1 : Operations and models for the TransitGatewayApisV1 service
Index ¶
- Constants
- func GetServiceURLForRegion(region string) (string, 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 UnmarshalResourceGroupIdentity(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalResourceGroupReference(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 UnmarshalTransitConnectionCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTransitConnectionCollectionNext(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 UnmarshalTransitGatewayCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTransitGatewayCollectionNext(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 UnmarshalTransitGatewayConnectionCustZone(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 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)
- 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) 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 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 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 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 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
- type ListTransitGatewayRouteReportsOptions
- type ListTransitGatewaysOptions
- type PrefixFilterCollection
- type PrefixFilterCust
- type PrefixFilterPut
- 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 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 TransitConnectionCollectionFirst
- type TransitConnectionCollectionNext
- 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) 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) 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) GetTransitGatewayConnectionWithContext(ctx context.Context, ...) (result *TransitGatewayConnectionCust, 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 (*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) 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) 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) 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 (*TransitGatewayApisV1) NewUpdateTransitGatewayConnectionOptions(transitGatewayID string, id string) *UpdateTransitGatewayConnectionOptions
- func (*TransitGatewayApisV1) NewUpdateTransitGatewayConnectionPrefixFilterOptions(transitGatewayID string, id string, filterID string) *UpdateTransitGatewayConnectionPrefixFilterOptions
- 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) 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 TransitGatewayCollectionFirst
- type TransitGatewayCollectionNext
- type TransitGatewayConnectionCollection
- type TransitGatewayConnectionCust
- type TransitGatewayConnectionCustZone
- type TransitGatewayConnectionPrefixFilter
- type TransitGatewayConnectionPrefixFilterReference
- type TransitGatewayReference
- 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 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
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_UnboundGreTunnel = "unbound_gre_tunnel" CreateTransitGatewayConnectionOptions_NetworkType_Vpc = "vpc" )
Constants associated with the CreateTransitGatewayConnectionOptions.NetworkType property. Defines what type of network is connected via this connection. For access to gre_tunnel or unbound_gre_tunnel connections contact IBM support.
const ( CreateTransitGatewayConnectionOptions_PrefixFiltersDefault_Deny = "deny" CreateTransitGatewayConnectionOptions_PrefixFiltersDefault_Permit = "permit" )
Constants associated with the CreateTransitGatewayConnectionOptions.PrefixFiltersDefault property. Default setting of permit or deny which applies to any routes that don't match a specified filter. This field is optional for network type 'classic', 'vpc', 'directlink', and 'power_virtual_server' connections. This field is required to be unspecified for network type 'gre_tunnel' and 'unbound_gre_tunnel' connections.
const ( CreateTransitGatewayConnectionPrefixFilterOptions_Action_Deny = "deny" CreateTransitGatewayConnectionPrefixFilterOptions_Action_Permit = "permit" )
Constants associated with the CreateTransitGatewayConnectionPrefixFilterOptions.Action property. Whether to permit or deny prefix filter.
const ( PrefixFilterCust_Action_Deny = "deny" PrefixFilterCust_Action_Permit = "permit" )
Constants associated with the PrefixFilterCust.Action property. Whether to permit or deny prefix filter.
const ( PrefixFilterPut_Action_Deny = "deny" PrefixFilterPut_Action_Permit = "permit" )
Constants associated with the PrefixFilterPut.Action property. Whether to permit or deny prefix filter.
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_NetworkType_Classic = "classic" TransitConnection_NetworkType_Directlink = "directlink" TransitConnection_NetworkType_GreTunnel = "gre_tunnel" TransitConnection_NetworkType_PowerVirtualServer = "power_virtual_server" TransitConnection_NetworkType_UnboundGreTunnel = "unbound_gre_tunnel" TransitConnection_NetworkType_Vpc = "vpc" )
Constants associated with the TransitConnection.NetworkType property. Defines what type of network is connected via this connection. The list of enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values.
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.
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_Pending = "pending" TransitConnection_Status_Suspended = "suspended" TransitConnection_Status_Suspending = "suspending" )
Constants associated with the TransitConnection.Status property. Connection state. The list of enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values.
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_NetworkType_Classic = "classic" TransitGatewayConnectionCust_NetworkType_Directlink = "directlink" TransitGatewayConnectionCust_NetworkType_GreTunnel = "gre_tunnel" TransitGatewayConnectionCust_NetworkType_PowerVirtualServer = "power_virtual_server" TransitGatewayConnectionCust_NetworkType_UnboundGreTunnel = "unbound_gre_tunnel" TransitGatewayConnectionCust_NetworkType_Vpc = "vpc" )
Constants associated with the TransitGatewayConnectionCust.NetworkType property. Defines what type of network is connected via this connection. The list of enumerated values for this property may expand in the future. Code and processes using this field must tolerate unexpected values.
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.
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_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 ( 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 to permit or deny prefix filter.
const (
CreateTransitGatewayConnectionOptions_BaseNetworkType_Classic = "classic"
)
Constants associated with the CreateTransitGatewayConnectionOptions.BaseNetworkType property. The type of network the Unbound GRE tunnel is targeting. This field is required for network type 'unbound_gre_tunnel' connections. This field is required to be unspecified for network type 'classic', 'directlink', 'vpc', 'power_virtual_server' and 'gre_tunnel' connections.
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.
const (
TransitGatewayConnectionCust_BaseNetworkType_Classic = "classic"
)
Constants associated with the TransitGatewayConnectionCust.BaseNetworkType property. The type of network the GRE tunnel is targeting.
Variables ¶
This section is empty.
Functions ¶
func GetServiceURLForRegion ¶ added in v0.23.1
GetServiceURLForRegion returns the service URL to be used for the specified region
func UnmarshalPrefixFilterCollection ¶ added in v0.28.0
func UnmarshalPrefixFilterCollection(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPrefixFilterCollection unmarshals an instance of PrefixFilterCollection from the specified map of raw messages.
func UnmarshalPrefixFilterCust ¶ added in v0.28.0
func UnmarshalPrefixFilterCust(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPrefixFilterCust unmarshals an instance of PrefixFilterCust from the specified map of raw messages.
func UnmarshalPrefixFilterPut ¶ added in v0.36.0
func UnmarshalPrefixFilterPut(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPrefixFilterPut unmarshals an instance of PrefixFilterPut from the specified map of raw messages.
func UnmarshalResourceGroupIdentity ¶
func UnmarshalResourceGroupIdentity(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalResourceGroupIdentity unmarshals an instance of ResourceGroupIdentity from the specified map of raw messages.
func UnmarshalResourceGroupReference ¶
func UnmarshalResourceGroupReference(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalResourceGroupReference unmarshals an instance of ResourceGroupReference from the specified map of raw messages.
func UnmarshalRouteReport ¶ added in v0.24.0
func UnmarshalRouteReport(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRouteReport unmarshals an instance of RouteReport from the specified map of raw messages.
func UnmarshalRouteReportCollection ¶ added in v0.24.0
func UnmarshalRouteReportCollection(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRouteReportCollection unmarshals an instance of RouteReportCollection from the specified map of raw messages.
func UnmarshalRouteReportConnection ¶ added in v0.24.0
func UnmarshalRouteReportConnection(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRouteReportConnection unmarshals an instance of RouteReportConnection from the specified map of raw messages.
func UnmarshalRouteReportConnectionBgp ¶ added in v0.24.0
func UnmarshalRouteReportConnectionBgp(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRouteReportConnectionBgp unmarshals an instance of RouteReportConnectionBgp from the specified map of raw messages.
func UnmarshalRouteReportConnectionRoute ¶ added in v0.24.0
func UnmarshalRouteReportConnectionRoute(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRouteReportConnectionRoute unmarshals an instance of RouteReportConnectionRoute from the specified map of raw messages.
func UnmarshalRouteReportOverlappingRoute ¶ added in v0.24.0
func UnmarshalRouteReportOverlappingRoute(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRouteReportOverlappingRoute unmarshals an instance of RouteReportOverlappingRoute from the specified map of raw messages.
func UnmarshalRouteReportOverlappingRouteGroup ¶ added in v0.24.0
func UnmarshalRouteReportOverlappingRouteGroup(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRouteReportOverlappingRouteGroup unmarshals an instance of RouteReportOverlappingRouteGroup from the specified map of raw messages.
func UnmarshalTSCollection ¶
func UnmarshalTSCollection(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTSCollection unmarshals an instance of TSCollection from the specified map of raw messages.
func UnmarshalTSLocalLocation ¶
func UnmarshalTSLocalLocation(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTSLocalLocation unmarshals an instance of TSLocalLocation from the specified map of raw messages.
func UnmarshalTSLocation ¶
func UnmarshalTSLocation(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTSLocation unmarshals an instance of TSLocation from the specified map of raw messages.
func UnmarshalTSLocationBasic ¶
func UnmarshalTSLocationBasic(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTSLocationBasic unmarshals an instance of TSLocationBasic from the specified map of raw messages.
func UnmarshalTransitConnection ¶ added in v0.17.0
func UnmarshalTransitConnection(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTransitConnection unmarshals an instance of TransitConnection from the specified map of raw messages.
func UnmarshalTransitConnectionCollection ¶ added in v0.17.0
func UnmarshalTransitConnectionCollection(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTransitConnectionCollection unmarshals an instance of TransitConnectionCollection from the specified map of raw messages.
func UnmarshalTransitConnectionCollectionFirst ¶ added in v0.17.0
func UnmarshalTransitConnectionCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTransitConnectionCollectionFirst unmarshals an instance of TransitConnectionCollectionFirst from the specified map of raw messages.
func UnmarshalTransitConnectionCollectionNext ¶ added in v0.17.0
func UnmarshalTransitConnectionCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTransitConnectionCollectionNext unmarshals an instance of TransitConnectionCollectionNext 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 UnmarshalTransitGatewayCollectionFirst ¶ added in v0.17.0
func UnmarshalTransitGatewayCollectionFirst(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTransitGatewayCollectionFirst unmarshals an instance of TransitGatewayCollectionFirst from the specified map of raw messages.
func UnmarshalTransitGatewayCollectionNext ¶ added in v0.17.0
func UnmarshalTransitGatewayCollectionNext(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTransitGatewayCollectionNext unmarshals an instance of TransitGatewayCollectionNext from the specified map of raw messages.
func UnmarshalTransitGatewayConnectionCollection ¶
func UnmarshalTransitGatewayConnectionCollection(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTransitGatewayConnectionCollection unmarshals an instance of TransitGatewayConnectionCollection from the specified map of raw messages.
func UnmarshalTransitGatewayConnectionCust ¶
func UnmarshalTransitGatewayConnectionCust(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTransitGatewayConnectionCust unmarshals an instance of TransitGatewayConnectionCust from the specified map of raw messages.
func UnmarshalTransitGatewayConnectionCustZone ¶ added in v0.17.0
func UnmarshalTransitGatewayConnectionCustZone(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTransitGatewayConnectionCustZone unmarshals an instance of TransitGatewayConnectionCustZone from the specified map of raw messages.
func UnmarshalTransitGatewayConnectionPrefixFilter ¶ added in v0.28.0
func UnmarshalTransitGatewayConnectionPrefixFilter(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTransitGatewayConnectionPrefixFilter unmarshals an instance of TransitGatewayConnectionPrefixFilter from the specified map of raw messages.
func UnmarshalTransitGatewayConnectionPrefixFilterReference ¶ added in v0.28.0
func UnmarshalTransitGatewayConnectionPrefixFilterReference(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTransitGatewayConnectionPrefixFilterReference unmarshals an instance of TransitGatewayConnectionPrefixFilterReference from the specified map of raw messages.
func UnmarshalTransitGatewayReference ¶ added in v0.17.0
func UnmarshalTransitGatewayReference(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTransitGatewayReference unmarshals an instance of TransitGatewayReference from the specified map of raw messages.
func UnmarshalZoneIdentity ¶ added in v0.17.0
func UnmarshalZoneIdentity(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalZoneIdentity unmarshals an instance of ZoneIdentity from the specified map of raw messages.
func UnmarshalZoneIdentityByName ¶ added in v0.17.0
func UnmarshalZoneIdentityByName(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalZoneIdentityByName unmarshals an instance of ZoneIdentityByName from the specified map of raw messages.
func UnmarshalZoneReference ¶ added in v0.17.0
func UnmarshalZoneReference(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalZoneReference unmarshals an instance of ZoneReference from the specified map of raw messages.
Types ¶
type 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. For access to gre_tunnel or unbound_gre_tunnel // connections contact IBM support. NetworkType *string `json:"network_type" validate:"required"` // network_type 'gre_tunnel' connections must be created over an existing network_type 'classic' connection. This field // must specify the ID of an active transit gateway network_type 'classic' connection in the same transit gateway. // // This field is required for network type 'gre_tunnel' connections. // // This field is required to be unspecified for network type 'classic', 'directlink', 'vpc', 'power_virtual_server' and // 'unbound_gre_tunnel' connections. BaseConnectionID *string `json:"base_connection_id,omitempty"` // The type of network the Unbound GRE tunnel is targeting. This field is required for network type // 'unbound_gre_tunnel' connections. This field is required to be unspecified for network type 'classic', 'directlink', // 'vpc', 'power_virtual_server' and 'gre_tunnel' connections. BaseNetworkType *string `json:"base_network_type,omitempty"` // Local gateway IP address. This field is required for network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. // This field is required to be unspecified for network type 'classic', 'directlink', 'vpc' and 'power_virtual_server' // connections. LocalGatewayIp *string `json:"local_gateway_ip,omitempty"` // Local tunnel IP address. The local_tunnel_ip and remote_tunnel_ip addresses must be in the same /30 network. Neither // can be the network nor broadcast addresses. // // This field is required for network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. // // This field is required to be unspecified for network type 'classic', 'directlink', 'vpc' and 'power_virtual_server' // connections. LocalTunnelIp *string `json:"local_tunnel_ip,omitempty"` // The user-defined name for this transit gateway connection. Network type 'vpc' connections are defaulted to the name // of the VPC. Network type 'classic' connections are named 'Classic'. // // This field is required for network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. // // This field is optional for network type 'classic', 'directlink', 'vpc' and 'power_virtual_server' connections. Name *string `json:"name,omitempty"` // The ID of the account which owns the network that is being connected. Generally only used if the network is in a // different account than the gateway. This field is required for type 'unbound_gre_tunnel' when the // associated_network_type is 'classic' and the GRE tunnel is in a different account than the gateway. NetworkAccountID *string `json:"network_account_id,omitempty"` // The ID of the network being connected via this connection. For network types 'vpc','power_virtual_server' and // 'directlink' this is the CRN of the VPC / PowerVS / Direct Link gateway respectively. This field is required for // network type 'vpc', 'power_virtual_server' and 'directlink' connections. This field is required to be unspecified // for network type 'classic', 'gre_tunnel' and 'unbound_gre_tunnel' connections. NetworkID *string `json:"network_id,omitempty"` // Array of prefix route filters for a transit gateway connection. Prefix filters can be specified for netowrk type // 'vpc', 'classic', 'power_virtual_server' and 'directlink' connections. They are not allowed for type 'gre_tunnel' // connections. This is order dependent with those first in the array being applied first, and those at the end of the // array being applied last, or just before applying the default. This field is optional for network type 'classic', // 'vpc', 'directlink', and 'power_virtual_server' connections. This field is required to be unspecified for network // type 'gre_tunnel' and 'unbound_gre_tunnel' connections. PrefixFilters []TransitGatewayConnectionPrefixFilter `json:"prefix_filters,omitempty"` // Default setting of permit or deny which applies to any routes that don't match a specified filter. This field is // optional for network type 'classic', 'vpc', 'directlink', and 'power_virtual_server' connections. This field is // required to be unspecified for network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. PrefixFiltersDefault *string `json:"prefix_filters_default,omitempty"` // Remote network BGP ASN. The following ASN values are reserved and unavailable 64512-64513, 65100, 65201-65234, // 65402-65433, 65500 and 4201065000-4201065999. If 'remote_bgp_asn' is omitted on gre_tunnel or unbound_gre_tunnel // connection create requests IBM will assign an ASN. // // This field is optional for network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. // // This field is required to be unspecified for network type 'classic', 'directlink', 'vpc' and 'power_virtual_server' // connections. RemoteBgpAsn *int64 `json:"remote_bgp_asn,omitempty"` // Remote gateway IP address. This field is required for network type 'gre_tunnel' and 'unbound_gre_tunnel' // connections. This field is required to be unspecified for network type 'classic', 'directlink', 'vpc' and // 'power_virtual_server' connections. RemoteGatewayIp *string `json:"remote_gateway_ip,omitempty"` // Remote tunnel IP address. The local_tunnel_ip and remote_tunnel_ip addresses must be in the same /30 network. // Neither can be the network nor broadcast addresses. // // This field is required for network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. // // This field is required to be unspecified for network type 'classic', 'directlink', 'vpc' and 'power_virtual_server' // connections. RemoteTunnelIp *string `json:"remote_tunnel_ip,omitempty"` // Specify the connection's location. The specified availability zone must reside in the gateway's region. // Use the IBM Cloud global catalog to list zones within the desired region. // // This field is required for network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. // // This field is required to be unspecified for network type 'classic', 'directlink', 'vpc' and 'power_virtual_server' // connections. Zone ZoneIdentityIntf `json:"zone,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
CreateTransitGatewayConnectionOptions : The CreateTransitGatewayConnection options.
func (*CreateTransitGatewayConnectionOptions) SetBaseConnectionID ¶ added in v0.17.0
func (_options *CreateTransitGatewayConnectionOptions) SetBaseConnectionID(baseConnectionID string) *CreateTransitGatewayConnectionOptions
SetBaseConnectionID : Allow user to set BaseConnectionID
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) 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 to permit or deny prefix filter. Action *string `json:"action" validate:"required"` // IP Prefix. Prefix *string `json:"prefix" validate:"required"` // Identifier of prefix filter to handle 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"` // IP Prefix GE. Ge *int64 `json:"ge,omitempty"` // IP Prefix LE. 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 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 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 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 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="` // 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) 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 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 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"` }
PrefixFilterCust : prefix filter.
type PrefixFilterPut ¶ added in v0.36.0
type PrefixFilterPut 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"` }
PrefixFilterPut : A prefix filter create template.
type ReplaceTransitGatewayConnectionPrefixFilterOptions ¶ added in v0.36.0
type ReplaceTransitGatewayConnectionPrefixFilterOptions struct { // The Transit Gateway identifier. TransitGatewayID *string `json:"transit_gateway_id" validate:"required,ne="` // The connection identifier. ID *string `json:"id" validate:"required,ne="` // Array of prefix filters. PrefixFilters []PrefixFilterPut `json:"prefix_filters" validate:"required"` // Allows users to set headers on API requests Headers map[string]string }
ReplaceTransitGatewayConnectionPrefixFilterOptions : The ReplaceTransitGatewayConnectionPrefixFilter options.
func (*ReplaceTransitGatewayConnectionPrefixFilterOptions) SetHeaders ¶ added in v0.36.0
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 unique identifier for this resource group. ID *string `json:"id" validate:"required"` // The URL for this resource group. Href *string `json:"href" validate:"required"` }
ResourceGroupReference : The resource group to use. If unspecified, the account's [default resource group](https://console.bluemix.net/apidocs/resource-manager#introduction) is used.
type RouteReport ¶ added in v0.24.0
type RouteReport struct { // Array of connections with their routes. Connections []RouteReportConnection `json:"connections" validate:"required"` // Date and time route report was requested. CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"` // Report identifier. ID *string `json:"id" validate:"required"` // Array of overlapping routes. OverlappingRoutes []RouteReportOverlappingRouteGroup `json:"overlapping_routes" validate:"required"` // Route report status. The list of enumerated values for this property may expand in the future. Code and processes // using this field must tolerate unexpected values. Status *string `json:"status" validate:"required"` // Date and time route report was last modified. UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"` }
RouteReport : route report.
type RouteReportCollection ¶ added in v0.24.0
type RouteReportCollection struct { // Array of route reports. RouteReports []RouteReport `json:"route_reports" validate:"required"` }
RouteReportCollection : route reports.
type RouteReportConnection ¶ added in v0.24.0
type RouteReportConnection struct { // Array of connection's bgps. Bgps []RouteReportConnectionBgp `json:"bgps,omitempty"` // connection ID. ID *string `json:"id,omitempty"` // connection name. Name *string `json:"name,omitempty"` // Array of connection's routes. Routes []RouteReportConnectionRoute `json:"routes,omitempty"` // connection type. Type *string `json:"type,omitempty"` }
RouteReportConnection : route report connection.
type RouteReportConnectionBgp ¶ added in v0.24.0
type RouteReportConnectionBgp struct { // AS path. AsPath *string `json:"as_path,omitempty"` // Indicates whether current route is used or not. IsUsed *bool `json:"is_used,omitempty"` // local preference. LocalPreference *string `json:"local_preference,omitempty"` // prefix. Prefix *string `json:"prefix,omitempty"` }
RouteReportConnectionBgp : connection bgp details.
type RouteReportConnectionRoute ¶ added in v0.24.0
type RouteReportConnectionRoute struct { // prefix. Prefix *string `json:"prefix,omitempty"` }
RouteReportConnectionRoute : connection used route.
type RouteReportOverlappingRoute ¶ added in v0.24.0
type RouteReportOverlappingRoute struct { // connection ID. ConnectionID *string `json:"connection_id,omitempty"` // overlapping prefix. Prefix *string `json:"prefix,omitempty"` }
RouteReportOverlappingRoute : overlapping route details.
type RouteReportOverlappingRouteGroup ¶ added in v0.24.0
type RouteReportOverlappingRouteGroup struct { // Array of overlapping connection/prefix pairs. Routes []RouteReportOverlappingRoute `json:"routes,omitempty"` }
RouteReportOverlappingRouteGroup : Collection of overlapping route.
type TSCollection ¶
type TSCollection struct { // Collection of Transit Gateway locations. Locations []TSLocationBasic `json:"locations" validate:"required"` }
TSCollection : A list of Transit Gateway locations.
type TSLocalLocation ¶
type TSLocalLocation struct { // A descriptive display name for the location. DisplayName *string `json:"display_name,omitempty"` // The name of the location. Name *string `json:"name,omitempty"` // 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,omitempty"` }
TSLocalLocation : Details of a local connection location.
type TSLocation ¶
type TSLocation struct { // The geographical location of this location, used for billing purposes. BillingLocation *string `json:"billing_location" validate:"required"` // Name of the Location. Name *string `json:"name" validate:"required"` // The type of the location, determining is this a multi-zone region, a single data center, or a point of presence. Type *string `json:"type" validate:"required"` // The set of network locations that are considered local for this Transit Gateway location. LocalConnectionLocations []TSLocalLocation `json:"local_connection_locations" validate:"required"` }
TSLocation : Details of a Transit Gateway location.
type TSLocationBasic ¶
type TSLocationBasic struct { // The geographical location of this location, used for billing purposes. BillingLocation *string `json:"billing_location" validate:"required"` // Name of the Location. Name *string `json:"name" validate:"required"` // The type of the location, determining is this a multi-zone region, a single data center, or a point of presence. Type *string `json:"type" validate:"required"` }
TSLocationBasic : Details of a Transit Gateway location.
type TransitConnection ¶ added in v0.17.0
type TransitConnection struct { // network_type 'gre_tunnel' connections use 'base_connection_id' to specify the id of a network_type 'classic' // connection the tunnel is configured over. The specified connection must reside in the same transit gateway and be in // an active state. The 'classic' connection cannot be deleted until any 'gre_tunnel' connections using it are deleted. // This field only applies to and is required for network type 'gre_tunnel' connections. BaseConnectionID *string `json:"base_connection_id,omitempty"` // The date and time that this connection was created. CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"` // The unique identifier for this connection. ID *string `json:"id" validate:"required"` // Local network BGP ASN. This field only applies to network type 'gre_tunnel' connections. LocalBgpAsn *int64 `json:"local_bgp_asn,omitempty"` // Local gateway IP address. This field only applies to network type 'gre_tunnel' connections. LocalGatewayIp *string `json:"local_gateway_ip,omitempty"` // Local tunnel IP address. This field only applies to network type 'gre_tunnel' connections. LocalTunnelIp *string `json:"local_tunnel_ip,omitempty"` // GRE tunnel MTU. This field only applies to network type 'gre_tunnel' connections. Mtu *int64 `json:"mtu,omitempty"` // The user-defined name for this transit gateway connection. Name *string `json:"name" validate:"required"` // The ID of the account which owns the connected network. Generally only used if the network is in a different IBM // Cloud account than the gateway. NetworkAccountID *string `json:"network_account_id,omitempty"` // The ID of the network being connected via this connection. This field is required for some types, such as 'vpc', // 'power_virtual_server' and 'directlink'. For network types 'vpc','power_virtual_server' and 'directlink' this is the // CRN of the VPC / PowerVS / Direct Link gateway respectively. NetworkID *string `json:"network_id,omitempty"` // Defines what type of network is connected via this connection. The list of enumerated values for this property may // expand in the future. Code and processes using this field must tolerate unexpected values. NetworkType *string `json:"network_type" validate:"required"` // Array of prefix route filters for a transit gateway connection. This is order dependent with those first in the // array being applied first, and those at the end of the array is applied last, or just before the default. PrefixFilters []TransitGatewayConnectionPrefixFilterReference `json:"prefix_filters,omitempty"` // Default setting of permit or deny which applies to any routes that don't match a specified filter. PrefixFiltersDefault *string `json:"prefix_filters_default" validate:"required"` // Remote network BGP ASN. This field only applies to network type 'gre_tunnel' connections. RemoteBgpAsn *int64 `json:"remote_bgp_asn,omitempty"` // Remote gateway IP address. This field only applies to network type 'gre_tunnel' connections. RemoteGatewayIp *string `json:"remote_gateway_ip,omitempty"` // Remote tunnel IP address. This field only applies to network type 'gre_tunnel' connections. RemoteTunnelIp *string `json:"remote_tunnel_ip,omitempty"` // Only visible for cross account connections, this field represents the status of a connection request between IBM // Cloud accounts. The list of enumerated values for this property may expand in the future. Code and processes using // this field must tolerate unexpected values. RequestStatus *string `json:"request_status,omitempty"` // Connection state. The list of enumerated values for this property may expand in the future. Code and processes using // this field must tolerate unexpected values. Status *string `json:"status" validate:"required"` // Reference to the transit gateway that contains this connection. TransitGateway *TransitGatewayReference `json:"transit_gateway" validate:"required"` // The date and time that this connection was last updated. UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"` // Location of GRE tunnel. This field only applies to network type 'gre_tunnel' connections. Zone *ZoneReference `json:"zone,omitempty"` }
TransitConnection : Transit gateway connection.
type TransitConnectionCollection ¶ added in v0.17.0
type TransitConnectionCollection struct { // Array of transit gateway connections. Connections []TransitConnection `json:"connections" validate:"required"` // A reference to the first page of resources. First *TransitConnectionCollectionFirst `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 *TransitConnectionCollectionNext `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 TransitConnectionCollectionFirst ¶ added in v0.17.0
type TransitConnectionCollectionFirst struct { // url. Href *string `json:"href" validate:"required"` }
TransitConnectionCollectionFirst : A reference to the first page of resources.
type TransitConnectionCollectionNext ¶ added in v0.17.0
type TransitConnectionCollectionNext struct { // url. Href *string `json:"href,omitempty"` // server generated start token for next page of resources. Start *string `json:"start,omitempty"` }
TransitConnectionCollectionNext : A reference to the next page of resources; this reference is included for all pages except the last page.
type TransitGateway ¶
type TransitGateway struct { // The unique identifier for this Transit Gateway. ID *string `json:"id" validate:"required"` // The CRN for this Transit Gateway. Crn *string `json:"crn" validate:"required"` // A human readable name for the transit gateway. Name *string `json:"name" validate:"required"` // Location of Transit Gateway Services. Location *string `json:"location" validate:"required"` // The date and time that this gateway was created. CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"` // Allow global routing for a Transit Gateway. Global *bool `json:"global" validate:"required"` // The resource group to use. If unspecified, the account's [default resource // group](https://console.bluemix.net/apidocs/resource-manager#introduction) is used. ResourceGroup *ResourceGroupReference `json:"resource_group,omitempty"` // The status of the Transit Gateway. The list of enumerated values for this property may expand in the future. Code // and processes using this field must tolerate unexpected values. Status *string `json:"status" validate:"required"` // The date and time that this gateway was last updated. UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"` }
TransitGateway : Details of a Transit Gateway.
type TransitGatewayApisV1 ¶
type TransitGatewayApisV1 struct { Service *core.BaseService // Requests the version of the API as of a date in the format `YYYY-MM-DD`. Any date up to the current date may be // provided. Specify the current date to request the latest version. Version *string }
TransitGatewayApisV1 : No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
API Version: __VERSION__
func NewTransitGatewayApisV1 ¶
func NewTransitGatewayApisV1(options *TransitGatewayApisV1Options) (service *TransitGatewayApisV1, err error)
NewTransitGatewayApisV1 : constructs an instance of TransitGatewayApisV1 with passed in options.
func NewTransitGatewayApisV1UsingExternalConfig ¶
func NewTransitGatewayApisV1UsingExternalConfig(options *TransitGatewayApisV1Options) (transitGatewayApis *TransitGatewayApisV1, err error)
NewTransitGatewayApisV1UsingExternalConfig : constructs an instance of TransitGatewayApisV1 with passed in options and external configuration.
func (*TransitGatewayApisV1) Clone ¶ added in v0.23.1
func (transitGatewayApis *TransitGatewayApisV1) Clone() *TransitGatewayApisV1
Clone makes a copy of "transitGatewayApis" suitable for processing requests.
func (*TransitGatewayApisV1) CreateTransitGateway ¶
func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGateway(createTransitGatewayOptions *CreateTransitGatewayOptions) (result *TransitGateway, response *core.DetailedResponse, err error)
CreateTransitGateway : Creates a Transit Gateway Create a Transit Gateway based on the supplied input template.
func (*TransitGatewayApisV1) CreateTransitGatewayConnection ¶
func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayConnection(createTransitGatewayConnectionOptions *CreateTransitGatewayConnectionOptions) (result *TransitGatewayConnectionCust, response *core.DetailedResponse, err error)
CreateTransitGatewayConnection : Add connection to a Transit Gateway Add a connection to Transit Gateway.
func (*TransitGatewayApisV1) CreateTransitGatewayConnectionActions ¶ added in v0.2.0
func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayConnectionActions(createTransitGatewayConnectionActionsOptions *CreateTransitGatewayConnectionActionsOptions) (response *core.DetailedResponse, err error)
CreateTransitGatewayConnectionActions : Perform actions on a connection for a Transit Gateway Allow a network owner to approve or reject a cross-account connection request.
func (*TransitGatewayApisV1) CreateTransitGatewayConnectionActionsWithContext ¶ added in v0.23.1
func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayConnectionActionsWithContext(ctx context.Context, createTransitGatewayConnectionActionsOptions *CreateTransitGatewayConnectionActionsOptions) (response *core.DetailedResponse, err error)
CreateTransitGatewayConnectionActionsWithContext is an alternate form of the CreateTransitGatewayConnectionActions method which supports a Context parameter
func (*TransitGatewayApisV1) CreateTransitGatewayConnectionPrefixFilter ¶ added in v0.28.0
func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayConnectionPrefixFilter(createTransitGatewayConnectionPrefixFilterOptions *CreateTransitGatewayConnectionPrefixFilterOptions) (result *PrefixFilterCust, response *core.DetailedResponse, err error)
CreateTransitGatewayConnectionPrefixFilter : Add a prefix filter to a Transit Gateway Connection Add a prefix filter to a Transit Gateway Connection.
func (*TransitGatewayApisV1) CreateTransitGatewayConnectionPrefixFilterWithContext ¶ added in v0.28.0
func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayConnectionPrefixFilterWithContext(ctx context.Context, createTransitGatewayConnectionPrefixFilterOptions *CreateTransitGatewayConnectionPrefixFilterOptions) (result *PrefixFilterCust, response *core.DetailedResponse, err error)
CreateTransitGatewayConnectionPrefixFilterWithContext is an alternate form of the CreateTransitGatewayConnectionPrefixFilter method which supports a Context parameter
func (*TransitGatewayApisV1) CreateTransitGatewayConnectionWithContext ¶ added in v0.23.1
func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayConnectionWithContext(ctx context.Context, createTransitGatewayConnectionOptions *CreateTransitGatewayConnectionOptions) (result *TransitGatewayConnectionCust, response *core.DetailedResponse, err error)
CreateTransitGatewayConnectionWithContext is an alternate form of the CreateTransitGatewayConnection method which supports a Context parameter
func (*TransitGatewayApisV1) CreateTransitGatewayRouteReport ¶ added in v0.24.0
func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayRouteReport(createTransitGatewayRouteReportOptions *CreateTransitGatewayRouteReportOptions) (result *RouteReport, response *core.DetailedResponse, err error)
CreateTransitGatewayRouteReport : Request a route report Request route report generation. While report generation is in progress, additional requests to generate a report are ignored and return the current pending report.
func (*TransitGatewayApisV1) CreateTransitGatewayRouteReportWithContext ¶ added in v0.24.0
func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayRouteReportWithContext(ctx context.Context, createTransitGatewayRouteReportOptions *CreateTransitGatewayRouteReportOptions) (result *RouteReport, response *core.DetailedResponse, err error)
CreateTransitGatewayRouteReportWithContext is an alternate form of the CreateTransitGatewayRouteReport method which supports a Context parameter
func (*TransitGatewayApisV1) CreateTransitGatewayWithContext ¶ added in v0.23.1
func (transitGatewayApis *TransitGatewayApisV1) CreateTransitGatewayWithContext(ctx context.Context, createTransitGatewayOptions *CreateTransitGatewayOptions) (result *TransitGateway, response *core.DetailedResponse, err error)
CreateTransitGatewayWithContext is an alternate form of the CreateTransitGateway method which supports a Context parameter
func (*TransitGatewayApisV1) DeleteTransitGateway ¶
func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGateway(deleteTransitGatewayOptions *DeleteTransitGatewayOptions) (response *core.DetailedResponse, err error)
DeleteTransitGateway : Deletes specified Transit Gateway This request deletes a Transit Gateway. This operation cannot be reversed. For this request to succeed, the Transit Gateway must not contain connections.
func (*TransitGatewayApisV1) DeleteTransitGatewayConnection ¶
func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayConnection(deleteTransitGatewayConnectionOptions *DeleteTransitGatewayConnectionOptions) (response *core.DetailedResponse, err error)
DeleteTransitGatewayConnection : Remove connection from Transit Gateway After the specified connection is detached, entities still within the Transit Gateway will no longer be able to communicate directly to it through the IBM Cloud private backbone.
func (*TransitGatewayApisV1) DeleteTransitGatewayConnectionPrefixFilter ¶ added in v0.28.0
func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayConnectionPrefixFilter(deleteTransitGatewayConnectionPrefixFilterOptions *DeleteTransitGatewayConnectionPrefixFilterOptions) (response *core.DetailedResponse, err error)
DeleteTransitGatewayConnectionPrefixFilter : Remove prefix filter from Transit Gateway Connection Delete a prefix filter.
func (*TransitGatewayApisV1) DeleteTransitGatewayConnectionPrefixFilterWithContext ¶ added in v0.28.0
func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayConnectionPrefixFilterWithContext(ctx context.Context, deleteTransitGatewayConnectionPrefixFilterOptions *DeleteTransitGatewayConnectionPrefixFilterOptions) (response *core.DetailedResponse, err error)
DeleteTransitGatewayConnectionPrefixFilterWithContext is an alternate form of the DeleteTransitGatewayConnectionPrefixFilter method which supports a Context parameter
func (*TransitGatewayApisV1) DeleteTransitGatewayConnectionWithContext ¶ added in v0.23.1
func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayConnectionWithContext(ctx context.Context, deleteTransitGatewayConnectionOptions *DeleteTransitGatewayConnectionOptions) (response *core.DetailedResponse, err error)
DeleteTransitGatewayConnectionWithContext is an alternate form of the DeleteTransitGatewayConnection method which supports a Context parameter
func (*TransitGatewayApisV1) DeleteTransitGatewayRouteReport ¶ added in v0.24.0
func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayRouteReport(deleteTransitGatewayRouteReportOptions *DeleteTransitGatewayRouteReportOptions) (response *core.DetailedResponse, err error)
DeleteTransitGatewayRouteReport : Delete route report Delete a route report.
func (*TransitGatewayApisV1) DeleteTransitGatewayRouteReportWithContext ¶ added in v0.24.0
func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayRouteReportWithContext(ctx context.Context, deleteTransitGatewayRouteReportOptions *DeleteTransitGatewayRouteReportOptions) (response *core.DetailedResponse, err error)
DeleteTransitGatewayRouteReportWithContext is an alternate form of the DeleteTransitGatewayRouteReport method which supports a Context parameter
func (*TransitGatewayApisV1) DeleteTransitGatewayWithContext ¶ added in v0.23.1
func (transitGatewayApis *TransitGatewayApisV1) DeleteTransitGatewayWithContext(ctx context.Context, deleteTransitGatewayOptions *DeleteTransitGatewayOptions) (response *core.DetailedResponse, err error)
DeleteTransitGatewayWithContext is an alternate form of the DeleteTransitGateway method which supports a Context parameter
func (*TransitGatewayApisV1) DisableRetries ¶ added in v0.23.1
func (transitGatewayApis *TransitGatewayApisV1) DisableRetries()
DisableRetries disables automatic retries for requests invoked for this service instance.
func (*TransitGatewayApisV1) EnableRetries ¶ added in v0.23.1
func (transitGatewayApis *TransitGatewayApisV1) EnableRetries(maxRetries int, maxRetryInterval time.Duration)
EnableRetries enables automatic retries for requests invoked for this service instance. If either parameter is specified as 0, then a default value is used instead.
func (*TransitGatewayApisV1) GetEnableGzipCompression ¶ added in v0.23.1
func (transitGatewayApis *TransitGatewayApisV1) GetEnableGzipCompression() bool
GetEnableGzipCompression returns the service's EnableGzipCompression field
func (*TransitGatewayApisV1) GetGatewayLocation ¶ added in v0.2.0
func (transitGatewayApis *TransitGatewayApisV1) GetGatewayLocation(getGatewayLocationOptions *GetGatewayLocationOptions) (result *TSLocation, response *core.DetailedResponse, err error)
GetGatewayLocation : Show the details of a given Transit Gateway location Get the details of a Transit Gateway Location.
func (*TransitGatewayApisV1) GetGatewayLocationWithContext ¶ added in v0.23.1
func (transitGatewayApis *TransitGatewayApisV1) GetGatewayLocationWithContext(ctx context.Context, getGatewayLocationOptions *GetGatewayLocationOptions) (result *TSLocation, response *core.DetailedResponse, err error)
GetGatewayLocationWithContext is an alternate form of the GetGatewayLocation method which supports a Context parameter
func (*TransitGatewayApisV1) GetServiceURL ¶ added in v0.23.1
func (transitGatewayApis *TransitGatewayApisV1) GetServiceURL() string
GetServiceURL returns the service URL
func (*TransitGatewayApisV1) GetTransitGateway ¶ added in v0.2.0
func (transitGatewayApis *TransitGatewayApisV1) GetTransitGateway(getTransitGatewayOptions *GetTransitGatewayOptions) (result *TransitGateway, response *core.DetailedResponse, err error)
GetTransitGateway : Retrieves specified Transit Gateway This request retrieves a single Transit Gateway specified by the identifier in the URL.
func (*TransitGatewayApisV1) GetTransitGatewayConnection ¶ added in v0.2.0
func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayConnection(getTransitGatewayConnectionOptions *GetTransitGatewayConnectionOptions) (result *TransitGatewayConnectionCust, response *core.DetailedResponse, err error)
GetTransitGatewayConnection : Retrieves specified Transit Gateway connection This request retrieves a connection from the Transit Gateway.
func (*TransitGatewayApisV1) GetTransitGatewayConnectionPrefixFilter ¶ added in v0.28.0
func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayConnectionPrefixFilter(getTransitGatewayConnectionPrefixFilterOptions *GetTransitGatewayConnectionPrefixFilterOptions) (result *PrefixFilterCust, response *core.DetailedResponse, err error)
GetTransitGatewayConnectionPrefixFilter : Retrieves specified Transit Gateway connection prefix filter This request retrieves a prefix filter from the Transit Gateway Connection.
func (*TransitGatewayApisV1) GetTransitGatewayConnectionPrefixFilterWithContext ¶ added in v0.28.0
func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayConnectionPrefixFilterWithContext(ctx context.Context, getTransitGatewayConnectionPrefixFilterOptions *GetTransitGatewayConnectionPrefixFilterOptions) (result *PrefixFilterCust, response *core.DetailedResponse, err error)
GetTransitGatewayConnectionPrefixFilterWithContext is an alternate form of the GetTransitGatewayConnectionPrefixFilter method which supports a Context parameter
func (*TransitGatewayApisV1) GetTransitGatewayConnectionWithContext ¶ added in v0.23.1
func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayConnectionWithContext(ctx context.Context, getTransitGatewayConnectionOptions *GetTransitGatewayConnectionOptions) (result *TransitGatewayConnectionCust, response *core.DetailedResponse, err error)
GetTransitGatewayConnectionWithContext is an alternate form of the GetTransitGatewayConnection method which supports a Context parameter
func (*TransitGatewayApisV1) GetTransitGatewayRouteReport ¶ added in v0.24.0
func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayRouteReport(getTransitGatewayRouteReportOptions *GetTransitGatewayRouteReportOptions) (result *RouteReport, response *core.DetailedResponse, err error)
GetTransitGatewayRouteReport : Retrieve route report Retrieve a route report.
func (*TransitGatewayApisV1) GetTransitGatewayRouteReportWithContext ¶ added in v0.24.0
func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayRouteReportWithContext(ctx context.Context, getTransitGatewayRouteReportOptions *GetTransitGatewayRouteReportOptions) (result *RouteReport, response *core.DetailedResponse, err error)
GetTransitGatewayRouteReportWithContext is an alternate form of the GetTransitGatewayRouteReport method which supports a Context parameter
func (*TransitGatewayApisV1) GetTransitGatewayWithContext ¶ added in v0.23.1
func (transitGatewayApis *TransitGatewayApisV1) GetTransitGatewayWithContext(ctx context.Context, getTransitGatewayOptions *GetTransitGatewayOptions) (result *TransitGateway, response *core.DetailedResponse, err error)
GetTransitGatewayWithContext is an alternate form of the GetTransitGateway method which supports a Context parameter
func (*TransitGatewayApisV1) ListConnections ¶ added in v0.17.0
func (transitGatewayApis *TransitGatewayApisV1) ListConnections(listConnectionsOptions *ListConnectionsOptions) (result *TransitConnectionCollection, response *core.DetailedResponse, err error)
ListConnections : Retrieves all connections List all transit gateway connections associated with this account.
func (*TransitGatewayApisV1) ListConnectionsWithContext ¶ added in v0.23.1
func (transitGatewayApis *TransitGatewayApisV1) ListConnectionsWithContext(ctx context.Context, listConnectionsOptions *ListConnectionsOptions) (result *TransitConnectionCollection, response *core.DetailedResponse, err error)
ListConnectionsWithContext is an alternate form of the ListConnections method which supports a Context parameter
func (*TransitGatewayApisV1) ListGatewayLocations ¶
func (transitGatewayApis *TransitGatewayApisV1) ListGatewayLocations(listGatewayLocationsOptions *ListGatewayLocationsOptions) (result *TSCollection, response *core.DetailedResponse, err error)
ListGatewayLocations : List all locations that support Transit Gateways List all locations that support Transit Gateways.
func (*TransitGatewayApisV1) ListGatewayLocationsWithContext ¶ added in v0.23.1
func (transitGatewayApis *TransitGatewayApisV1) ListGatewayLocationsWithContext(ctx context.Context, listGatewayLocationsOptions *ListGatewayLocationsOptions) (result *TSCollection, response *core.DetailedResponse, err error)
ListGatewayLocationsWithContext is an alternate form of the ListGatewayLocations method which supports a Context parameter
func (*TransitGatewayApisV1) ListTransitGatewayConnectionPrefixFilters ¶ added in v0.28.0
func (transitGatewayApis *TransitGatewayApisV1) ListTransitGatewayConnectionPrefixFilters(listTransitGatewayConnectionPrefixFiltersOptions *ListTransitGatewayConnectionPrefixFiltersOptions) (result *PrefixFilterCollection, response *core.DetailedResponse, err error)
ListTransitGatewayConnectionPrefixFilters : Retrieves all prefix filters in a Transit Gateway connection This request retrieves all prefix filters in a Transit Gateway connection.
func (*TransitGatewayApisV1) ListTransitGatewayConnectionPrefixFiltersWithContext ¶ added in v0.28.0
func (transitGatewayApis *TransitGatewayApisV1) ListTransitGatewayConnectionPrefixFiltersWithContext(ctx context.Context, listTransitGatewayConnectionPrefixFiltersOptions *ListTransitGatewayConnectionPrefixFiltersOptions) (result *PrefixFilterCollection, response *core.DetailedResponse, err error)
ListTransitGatewayConnectionPrefixFiltersWithContext is an alternate form of the ListTransitGatewayConnectionPrefixFilters method which supports a Context parameter
func (*TransitGatewayApisV1) ListTransitGatewayConnections ¶
func (transitGatewayApis *TransitGatewayApisV1) ListTransitGatewayConnections(listTransitGatewayConnectionsOptions *ListTransitGatewayConnectionsOptions) (result *TransitGatewayConnectionCollection, response *core.DetailedResponse, err error)
ListTransitGatewayConnections : Retrieves all connections in a Transit Gateway This request retrieves all connections in a Transit Gateway.
func (*TransitGatewayApisV1) ListTransitGatewayConnectionsWithContext ¶ added in v0.23.1
func (transitGatewayApis *TransitGatewayApisV1) ListTransitGatewayConnectionsWithContext(ctx context.Context, listTransitGatewayConnectionsOptions *ListTransitGatewayConnectionsOptions) (result *TransitGatewayConnectionCollection, response *core.DetailedResponse, err error)
ListTransitGatewayConnectionsWithContext is an alternate form of the ListTransitGatewayConnections method which supports a Context parameter
func (*TransitGatewayApisV1) ListTransitGatewayRouteReports ¶ added in v0.24.0
func (transitGatewayApis *TransitGatewayApisV1) ListTransitGatewayRouteReports(listTransitGatewayRouteReportsOptions *ListTransitGatewayRouteReportsOptions) (result *RouteReportCollection, response *core.DetailedResponse, err error)
ListTransitGatewayRouteReports : List route reports Retrieve all route reports for the specified Transit Gateway. There will normally be at most one completed report and one pending report. Additionally, completed route reports are written to IBM Cloud Activity Tracker.
func (*TransitGatewayApisV1) ListTransitGatewayRouteReportsWithContext ¶ added in v0.24.0
func (transitGatewayApis *TransitGatewayApisV1) ListTransitGatewayRouteReportsWithContext(ctx context.Context, listTransitGatewayRouteReportsOptions *ListTransitGatewayRouteReportsOptions) (result *RouteReportCollection, response *core.DetailedResponse, err error)
ListTransitGatewayRouteReportsWithContext is an alternate form of the ListTransitGatewayRouteReports method which supports a Context parameter
func (*TransitGatewayApisV1) ListTransitGateways ¶
func (transitGatewayApis *TransitGatewayApisV1) ListTransitGateways(listTransitGatewaysOptions *ListTransitGatewaysOptions) (result *TransitGatewayCollection, response *core.DetailedResponse, err error)
ListTransitGateways : Retrieves all Transit Gateways List all Transit Gateways in account the caller is authorized to view.
func (*TransitGatewayApisV1) ListTransitGatewaysWithContext ¶ added in v0.23.1
func (transitGatewayApis *TransitGatewayApisV1) ListTransitGatewaysWithContext(ctx context.Context, listTransitGatewaysOptions *ListTransitGatewaysOptions) (result *TransitGatewayCollection, response *core.DetailedResponse, err error)
ListTransitGatewaysWithContext is an alternate form of the ListTransitGateways method which supports a Context parameter
func (*TransitGatewayApisV1) NewCreateTransitGatewayConnectionActionsOptions ¶ added in v0.2.0
func (*TransitGatewayApisV1) NewCreateTransitGatewayConnectionActionsOptions(transitGatewayID string, id string, action string) *CreateTransitGatewayConnectionActionsOptions
NewCreateTransitGatewayConnectionActionsOptions : Instantiate CreateTransitGatewayConnectionActionsOptions
func (*TransitGatewayApisV1) NewCreateTransitGatewayConnectionOptions ¶
func (*TransitGatewayApisV1) NewCreateTransitGatewayConnectionOptions(transitGatewayID string, networkType string) *CreateTransitGatewayConnectionOptions
NewCreateTransitGatewayConnectionOptions : Instantiate CreateTransitGatewayConnectionOptions
func (*TransitGatewayApisV1) NewCreateTransitGatewayConnectionPrefixFilterOptions ¶ added in v0.28.0
func (*TransitGatewayApisV1) NewCreateTransitGatewayConnectionPrefixFilterOptions(transitGatewayID string, id string, action string, prefix string) *CreateTransitGatewayConnectionPrefixFilterOptions
NewCreateTransitGatewayConnectionPrefixFilterOptions : Instantiate CreateTransitGatewayConnectionPrefixFilterOptions
func (*TransitGatewayApisV1) NewCreateTransitGatewayOptions ¶
func (*TransitGatewayApisV1) NewCreateTransitGatewayOptions(location string, name string) *CreateTransitGatewayOptions
NewCreateTransitGatewayOptions : Instantiate CreateTransitGatewayOptions
func (*TransitGatewayApisV1) NewCreateTransitGatewayRouteReportOptions ¶ added in v0.24.0
func (*TransitGatewayApisV1) NewCreateTransitGatewayRouteReportOptions(transitGatewayID string) *CreateTransitGatewayRouteReportOptions
NewCreateTransitGatewayRouteReportOptions : Instantiate CreateTransitGatewayRouteReportOptions
func (*TransitGatewayApisV1) NewDeleteTransitGatewayConnectionOptions ¶
func (*TransitGatewayApisV1) NewDeleteTransitGatewayConnectionOptions(transitGatewayID string, id string) *DeleteTransitGatewayConnectionOptions
NewDeleteTransitGatewayConnectionOptions : Instantiate DeleteTransitGatewayConnectionOptions
func (*TransitGatewayApisV1) NewDeleteTransitGatewayConnectionPrefixFilterOptions ¶ added in v0.28.0
func (*TransitGatewayApisV1) NewDeleteTransitGatewayConnectionPrefixFilterOptions(transitGatewayID string, id string, filterID string) *DeleteTransitGatewayConnectionPrefixFilterOptions
NewDeleteTransitGatewayConnectionPrefixFilterOptions : Instantiate DeleteTransitGatewayConnectionPrefixFilterOptions
func (*TransitGatewayApisV1) NewDeleteTransitGatewayOptions ¶
func (*TransitGatewayApisV1) NewDeleteTransitGatewayOptions(id string) *DeleteTransitGatewayOptions
NewDeleteTransitGatewayOptions : Instantiate DeleteTransitGatewayOptions
func (*TransitGatewayApisV1) NewDeleteTransitGatewayRouteReportOptions ¶ added in v0.24.0
func (*TransitGatewayApisV1) NewDeleteTransitGatewayRouteReportOptions(transitGatewayID string, id string) *DeleteTransitGatewayRouteReportOptions
NewDeleteTransitGatewayRouteReportOptions : Instantiate DeleteTransitGatewayRouteReportOptions
func (*TransitGatewayApisV1) NewGetGatewayLocationOptions ¶ added in v0.2.0
func (*TransitGatewayApisV1) NewGetGatewayLocationOptions(name string) *GetGatewayLocationOptions
NewGetGatewayLocationOptions : Instantiate GetGatewayLocationOptions
func (*TransitGatewayApisV1) NewGetTransitGatewayConnectionOptions ¶ added in v0.2.0
func (*TransitGatewayApisV1) NewGetTransitGatewayConnectionOptions(transitGatewayID string, id string) *GetTransitGatewayConnectionOptions
NewGetTransitGatewayConnectionOptions : Instantiate GetTransitGatewayConnectionOptions
func (*TransitGatewayApisV1) NewGetTransitGatewayConnectionPrefixFilterOptions ¶ added in v0.28.0
func (*TransitGatewayApisV1) NewGetTransitGatewayConnectionPrefixFilterOptions(transitGatewayID string, id string, filterID string) *GetTransitGatewayConnectionPrefixFilterOptions
NewGetTransitGatewayConnectionPrefixFilterOptions : Instantiate GetTransitGatewayConnectionPrefixFilterOptions
func (*TransitGatewayApisV1) NewGetTransitGatewayOptions ¶ added in v0.2.0
func (*TransitGatewayApisV1) NewGetTransitGatewayOptions(id string) *GetTransitGatewayOptions
NewGetTransitGatewayOptions : Instantiate GetTransitGatewayOptions
func (*TransitGatewayApisV1) NewGetTransitGatewayRouteReportOptions ¶ added in v0.24.0
func (*TransitGatewayApisV1) NewGetTransitGatewayRouteReportOptions(transitGatewayID string, id string) *GetTransitGatewayRouteReportOptions
NewGetTransitGatewayRouteReportOptions : Instantiate GetTransitGatewayRouteReportOptions
func (*TransitGatewayApisV1) NewListConnectionsOptions ¶ added in v0.17.0
func (*TransitGatewayApisV1) NewListConnectionsOptions() *ListConnectionsOptions
NewListConnectionsOptions : Instantiate ListConnectionsOptions
func (*TransitGatewayApisV1) NewListGatewayLocationsOptions ¶
func (*TransitGatewayApisV1) NewListGatewayLocationsOptions() *ListGatewayLocationsOptions
NewListGatewayLocationsOptions : Instantiate ListGatewayLocationsOptions
func (*TransitGatewayApisV1) NewListTransitGatewayConnectionPrefixFiltersOptions ¶ added in v0.28.0
func (*TransitGatewayApisV1) NewListTransitGatewayConnectionPrefixFiltersOptions(transitGatewayID string, id string) *ListTransitGatewayConnectionPrefixFiltersOptions
NewListTransitGatewayConnectionPrefixFiltersOptions : Instantiate ListTransitGatewayConnectionPrefixFiltersOptions
func (*TransitGatewayApisV1) NewListTransitGatewayConnectionsOptions ¶
func (*TransitGatewayApisV1) NewListTransitGatewayConnectionsOptions(transitGatewayID string) *ListTransitGatewayConnectionsOptions
NewListTransitGatewayConnectionsOptions : Instantiate ListTransitGatewayConnectionsOptions
func (*TransitGatewayApisV1) NewListTransitGatewayRouteReportsOptions ¶ added in v0.24.0
func (*TransitGatewayApisV1) NewListTransitGatewayRouteReportsOptions(transitGatewayID string) *ListTransitGatewayRouteReportsOptions
NewListTransitGatewayRouteReportsOptions : Instantiate ListTransitGatewayRouteReportsOptions
func (*TransitGatewayApisV1) NewListTransitGatewaysOptions ¶
func (*TransitGatewayApisV1) NewListTransitGatewaysOptions() *ListTransitGatewaysOptions
NewListTransitGatewaysOptions : Instantiate ListTransitGatewaysOptions
func (*TransitGatewayApisV1) NewPrefixFilterPut ¶ added in v0.36.0
func (*TransitGatewayApisV1) NewPrefixFilterPut(action string, prefix string) (_model *PrefixFilterPut, err error)
NewPrefixFilterPut : Instantiate PrefixFilterPut (Generic Model Constructor)
func (*TransitGatewayApisV1) NewReplaceTransitGatewayConnectionPrefixFilterOptions ¶ added in v0.36.0
func (*TransitGatewayApisV1) NewReplaceTransitGatewayConnectionPrefixFilterOptions(transitGatewayID string, id string, prefixFilters []PrefixFilterPut) *ReplaceTransitGatewayConnectionPrefixFilterOptions
NewReplaceTransitGatewayConnectionPrefixFilterOptions : Instantiate ReplaceTransitGatewayConnectionPrefixFilterOptions
func (*TransitGatewayApisV1) NewResourceGroupIdentity ¶
func (*TransitGatewayApisV1) NewResourceGroupIdentity(id string) (_model *ResourceGroupIdentity, err error)
NewResourceGroupIdentity : Instantiate ResourceGroupIdentity (Generic Model Constructor)
func (*TransitGatewayApisV1) NewTransitGatewayConnectionPrefixFilter ¶ added in v0.28.0
func (*TransitGatewayApisV1) NewTransitGatewayConnectionPrefixFilter(action string, prefix string) (_model *TransitGatewayConnectionPrefixFilter, err error)
NewTransitGatewayConnectionPrefixFilter : Instantiate TransitGatewayConnectionPrefixFilter (Generic Model Constructor)
func (*TransitGatewayApisV1) NewUpdateTransitGatewayConnectionOptions ¶
func (*TransitGatewayApisV1) NewUpdateTransitGatewayConnectionOptions(transitGatewayID string, id string) *UpdateTransitGatewayConnectionOptions
NewUpdateTransitGatewayConnectionOptions : Instantiate UpdateTransitGatewayConnectionOptions
func (*TransitGatewayApisV1) NewUpdateTransitGatewayConnectionPrefixFilterOptions ¶ added in v0.28.0
func (*TransitGatewayApisV1) NewUpdateTransitGatewayConnectionPrefixFilterOptions(transitGatewayID string, id string, filterID string) *UpdateTransitGatewayConnectionPrefixFilterOptions
NewUpdateTransitGatewayConnectionPrefixFilterOptions : Instantiate UpdateTransitGatewayConnectionPrefixFilterOptions
func (*TransitGatewayApisV1) NewUpdateTransitGatewayOptions ¶
func (*TransitGatewayApisV1) NewUpdateTransitGatewayOptions(id string) *UpdateTransitGatewayOptions
NewUpdateTransitGatewayOptions : Instantiate UpdateTransitGatewayOptions
func (*TransitGatewayApisV1) ReplaceTransitGatewayConnectionPrefixFilter ¶ added in v0.36.0
func (transitGatewayApis *TransitGatewayApisV1) ReplaceTransitGatewayConnectionPrefixFilter(replaceTransitGatewayConnectionPrefixFilterOptions *ReplaceTransitGatewayConnectionPrefixFilterOptions) (result *PrefixFilterCollection, response *core.DetailedResponse, err error)
ReplaceTransitGatewayConnectionPrefixFilter : Replaces the prefix filters of the Transit Gateway Connection Replaces the prefix filters of the Transit Gateway Connection.
func (*TransitGatewayApisV1) ReplaceTransitGatewayConnectionPrefixFilterWithContext ¶ added in v0.36.0
func (transitGatewayApis *TransitGatewayApisV1) ReplaceTransitGatewayConnectionPrefixFilterWithContext(ctx context.Context, replaceTransitGatewayConnectionPrefixFilterOptions *ReplaceTransitGatewayConnectionPrefixFilterOptions) (result *PrefixFilterCollection, response *core.DetailedResponse, err error)
ReplaceTransitGatewayConnectionPrefixFilterWithContext is an alternate form of the ReplaceTransitGatewayConnectionPrefixFilter method which supports a Context parameter
func (*TransitGatewayApisV1) SetDefaultHeaders ¶ added in v0.23.1
func (transitGatewayApis *TransitGatewayApisV1) SetDefaultHeaders(headers http.Header)
SetDefaultHeaders sets HTTP headers to be sent in every request
func (*TransitGatewayApisV1) SetEnableGzipCompression ¶ added in v0.23.1
func (transitGatewayApis *TransitGatewayApisV1) SetEnableGzipCompression(enableGzip bool)
SetEnableGzipCompression sets the service's EnableGzipCompression field
func (*TransitGatewayApisV1) SetServiceURL ¶
func (transitGatewayApis *TransitGatewayApisV1) SetServiceURL(url string) error
SetServiceURL sets the service URL
func (*TransitGatewayApisV1) UpdateTransitGateway ¶
func (transitGatewayApis *TransitGatewayApisV1) UpdateTransitGateway(updateTransitGatewayOptions *UpdateTransitGatewayOptions) (result *TransitGateway, response *core.DetailedResponse, err error)
UpdateTransitGateway : Updates specified Transit Gateway This request updates a Transit Gateway's name and/or global flag.
func (*TransitGatewayApisV1) UpdateTransitGatewayConnection ¶
func (transitGatewayApis *TransitGatewayApisV1) UpdateTransitGatewayConnection(updateTransitGatewayConnectionOptions *UpdateTransitGatewayConnectionOptions) (result *TransitGatewayConnectionCust, response *core.DetailedResponse, err error)
UpdateTransitGatewayConnection : Updates specified Transit Gateway connection Update the name of a connection to a Transit Gateway.
func (*TransitGatewayApisV1) UpdateTransitGatewayConnectionPrefixFilter ¶ added in v0.28.0
func (transitGatewayApis *TransitGatewayApisV1) UpdateTransitGatewayConnectionPrefixFilter(updateTransitGatewayConnectionPrefixFilterOptions *UpdateTransitGatewayConnectionPrefixFilterOptions) (result *PrefixFilterCust, response *core.DetailedResponse, err error)
UpdateTransitGatewayConnectionPrefixFilter : Updates specified Transit Gateway connection prefix filter Update prefix filter for a Transit Gateway Connection.
func (*TransitGatewayApisV1) UpdateTransitGatewayConnectionPrefixFilterWithContext ¶ added in v0.28.0
func (transitGatewayApis *TransitGatewayApisV1) UpdateTransitGatewayConnectionPrefixFilterWithContext(ctx context.Context, updateTransitGatewayConnectionPrefixFilterOptions *UpdateTransitGatewayConnectionPrefixFilterOptions) (result *PrefixFilterCust, response *core.DetailedResponse, err error)
UpdateTransitGatewayConnectionPrefixFilterWithContext is an alternate form of the UpdateTransitGatewayConnectionPrefixFilter method which supports a Context parameter
func (*TransitGatewayApisV1) UpdateTransitGatewayConnectionWithContext ¶ added in v0.23.1
func (transitGatewayApis *TransitGatewayApisV1) UpdateTransitGatewayConnectionWithContext(ctx context.Context, updateTransitGatewayConnectionOptions *UpdateTransitGatewayConnectionOptions) (result *TransitGatewayConnectionCust, response *core.DetailedResponse, err error)
UpdateTransitGatewayConnectionWithContext is an alternate form of the UpdateTransitGatewayConnection method which supports a Context parameter
func (*TransitGatewayApisV1) UpdateTransitGatewayWithContext ¶ added in v0.23.1
func (transitGatewayApis *TransitGatewayApisV1) UpdateTransitGatewayWithContext(ctx context.Context, updateTransitGatewayOptions *UpdateTransitGatewayOptions) (result *TransitGateway, response *core.DetailedResponse, err error)
UpdateTransitGatewayWithContext is an alternate form of the UpdateTransitGateway method which supports a Context parameter
type TransitGatewayApisV1Options ¶
type TransitGatewayApisV1Options struct { ServiceName string URL string Authenticator core.Authenticator // Requests the version of the API as of a date in the format `YYYY-MM-DD`. Any date up to the current date may be // provided. Specify the current date to request the latest version. Version *string `validate:"required"` }
TransitGatewayApisV1Options : Service options
type TransitGatewayCollection ¶
type TransitGatewayCollection struct { // A reference to the first page of resources. First *TransitGatewayCollectionFirst `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 *TransitGatewayCollectionNext `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 TransitGatewayCollectionFirst ¶ added in v0.17.0
type TransitGatewayCollectionFirst struct { // url. Href *string `json:"href" validate:"required"` }
TransitGatewayCollectionFirst : A reference to the first page of resources.
type TransitGatewayCollectionNext ¶ added in v0.17.0
type TransitGatewayCollectionNext struct { // url. Href *string `json:"href" validate:"required"` // server generated start token for next page of resources. Start *string `json:"start" validate:"required"` }
TransitGatewayCollectionNext : A reference to the next page of resources; this reference is included for all pages except the last page.
type TransitGatewayConnectionCollection ¶
type TransitGatewayConnectionCollection struct { // Array of transit gateways network Connections. Connections []TransitGatewayConnectionCust `json:"connections" validate:"required"` }
TransitGatewayConnectionCollection : A set of Transit Gateway network connections.
type TransitGatewayConnectionCust ¶
type TransitGatewayConnectionCust struct { // The type of network the GRE tunnel is targeting. BaseNetworkType *string `json:"base_network_type,omitempty"` // The user-defined name for this transit gateway connection. Name *string `json:"name" validate:"required"` // The ID of the network being connected via this connection. This field is required for some types, such as 'vpc', // 'power_virtual_server' and 'directlink'. For network types 'vpc','power_virtual_server' and 'directlink' this is the // CRN of the VPC / PowerVS / Direct Link gateway respectively. NetworkID *string `json:"network_id,omitempty"` // Defines what type of network is connected via this connection. The list of enumerated values for this property may // expand in the future. Code and processes using this field must tolerate unexpected values. NetworkType *string `json:"network_type" validate:"required"` // The unique identifier for this Transit Gateway Connection. ID *string `json:"id" validate:"required"` // network_type 'gre_tunnel' connections use 'base_connection_id' to specify the ID of a network_type 'classic' // connection the tunnel is configured over. The specified connection must reside in the same transit gateway and be in // an active state. The 'classic' connection cannot be deleted until any 'gre_tunnel' connections using it are deleted. // This field only applies to and is required for network type 'gre_tunnel' connections. BaseConnectionID *string `json:"base_connection_id,omitempty"` // The date and time that this connection was created. CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"` // Local network BGP ASN. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. LocalBgpAsn *int64 `json:"local_bgp_asn,omitempty"` // Local gateway IP address. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' // connections. LocalGatewayIp *string `json:"local_gateway_ip,omitempty"` // Local tunnel IP address. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. LocalTunnelIp *string `json:"local_tunnel_ip,omitempty"` // GRE tunnel MTU. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. Mtu *int64 `json:"mtu,omitempty"` // The ID of the account which owns the connected network. Generally only used if the network is in a different IBM // Cloud account than the gateway. NetworkAccountID *string `json:"network_account_id,omitempty"` // Array of prefix route filters for a transit gateway connection. This is order dependent with those first in the // array being applied first, and those at the end of the array is applied last, or just before the default. PrefixFilters []TransitGatewayConnectionPrefixFilterReference `json:"prefix_filters,omitempty"` // Default setting of permit or deny which applies to any routes that don't match a specified filter. PrefixFiltersDefault *string `json:"prefix_filters_default" validate:"required"` // Remote network BGP ASN. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. RemoteBgpAsn *int64 `json:"remote_bgp_asn,omitempty"` // Remote gateway IP address. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' // connections. RemoteGatewayIp *string `json:"remote_gateway_ip,omitempty"` // Remote tunnel IP address. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' // connections. RemoteTunnelIp *string `json:"remote_tunnel_ip,omitempty"` // Only visible for cross account connections, this field represents the status of a connection request between IBM // Cloud accounts. The list of enumerated values for this property may expand in the future. Code and processes using // this field must tolerate unexpected values. RequestStatus *string `json:"request_status,omitempty"` // Connection's current configuration state. The list of enumerated values for this property may expand in the future. // Code and processes using this field must tolerate unexpected values. Status *string `json:"status,omitempty"` // The date and time that this connection was last updated. UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"` // Location of GRE tunnel. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. Zone *TransitGatewayConnectionCustZone `json:"zone,omitempty"` }
TransitGatewayConnectionCust : Connection included in transit gateway.
type TransitGatewayConnectionCustZone ¶ added in v0.17.0
type TransitGatewayConnectionCustZone struct { // Availability zone name. Name *string `json:"name" validate:"required"` }
TransitGatewayConnectionCustZone : Location of GRE tunnel. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections.
type TransitGatewayConnectionPrefixFilter ¶ added in v0.28.0
type TransitGatewayConnectionPrefixFilter struct { // Whether to permit or deny prefix filter. Action *string `json:"action" validate:"required"` // IP Prefix GE. Ge *int64 `json:"ge,omitempty"` // IP Prefix LE. Le *int64 `json:"le,omitempty"` // IP Prefix. Prefix *string `json:"prefix" validate:"required"` }
TransitGatewayConnectionPrefixFilter : A prefix filter for a Transit Gateway connection.
type TransitGatewayConnectionPrefixFilterReference ¶ added in v0.28.0
type TransitGatewayConnectionPrefixFilterReference struct { // Whether to permit or deny prefix filter. Action *string `json:"action" validate:"required"` // Identifier of prefix filter that handles the ordering and follow semantics: // - When a filter reference another filter in it's before field, then the filter making the reference is applied // before // the referenced filter. For example: if filter A references filter B in its before field, A is applied before B. // - When a new filter is added that has the same before as an existing filter, then the older filter will have its // before // field updated to point to the new filter. Starting with the above example: if filter C is added and it references // B in its // before field, then A's before field should be modified to point to C, so the order of application would be A, C // and finally B. // - A filter that has an empty before reference will be applied last (though the date order mentioned above will still // apply). // So continuing the above examples, if filter B has an empty before field, then it will be applied last, but if // filter D // is created with an empty before field, then B's before field will be modified to point to D, so B will be applied // before D. Before *string `json:"before,omitempty"` // The date and time that this prefix filter was created. CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"` // IP Prefix GE. Ge *int64 `json:"ge,omitempty"` // Prefix Filter identifier. ID *string `json:"id" validate:"required"` // IP Prefix LE. Le *int64 `json:"le,omitempty"` // IP Prefix. Prefix *string `json:"prefix" validate:"required"` // The date and time that this prefix filter was last updated. UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"` }
TransitGatewayConnectionPrefixFilterReference : A prefix filter reference object for a Transit Gateway connection.
type 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 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 to permit or deny prefix filter. Action *string `json:"action,omitempty"` // Identifier of prefix filter to handle 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"` // IP Prefix GE. Ge *int64 `json:"ge,omitempty"` // IP Prefix LE. Le *int64 `json:"le,omitempty"` // IP Prefix. 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 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.