Documentation ¶
Index ¶
- func ValidatePacketCoreControlPlaneID(input interface{}, key string) (warnings []string, errors []error)
- type AttachedDataNetworkResourceId
- type GetOperationResponse
- type IPv4Route
- type IPv4RouteNextHop
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type PacketCoreControlPlaneId
- type RoutingInfoClient
- func (c RoutingInfoClient) Get(ctx context.Context, id PacketCoreControlPlaneId) (result GetOperationResponse, err error)
- func (c RoutingInfoClient) List(ctx context.Context, id PacketCoreControlPlaneId) (result ListOperationResponse, err error)
- func (c RoutingInfoClient) ListComplete(ctx context.Context, id PacketCoreControlPlaneId) (ListCompleteResult, error)
- func (c RoutingInfoClient) ListCompleteMatchingPredicate(ctx context.Context, id PacketCoreControlPlaneId, ...) (result ListCompleteResult, err error)
- type RoutingInfoModel
- type RoutingInfoModelOperationPredicate
- type RoutingInfoPropertiesFormat
- type UserPlaneDataRoutesUserPlaneDataRoutesInlined
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidatePacketCoreControlPlaneID ¶
func ValidatePacketCoreControlPlaneID(input interface{}, key string) (warnings []string, errors []error)
ValidatePacketCoreControlPlaneID checks that 'input' can be parsed as a Packet Core Control Plane ID
Types ¶
type AttachedDataNetworkResourceId ¶
type AttachedDataNetworkResourceId struct {
Id string `json:"id"`
}
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RoutingInfoModel }
type IPv4Route ¶
type IPv4Route struct { Destination *string `json:"destination,omitempty"` NextHops *[]IPv4RouteNextHop `json:"nextHops,omitempty"` }
type IPv4RouteNextHop ¶
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []RoutingInfoModel }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RoutingInfoModel }
type PacketCoreControlPlaneId ¶
type PacketCoreControlPlaneId struct { SubscriptionId string ResourceGroupName string PacketCoreControlPlaneName string }
PacketCoreControlPlaneId is a struct representing the Resource ID for a Packet Core Control Plane
func NewPacketCoreControlPlaneID ¶
func NewPacketCoreControlPlaneID(subscriptionId string, resourceGroupName string, packetCoreControlPlaneName string) PacketCoreControlPlaneId
NewPacketCoreControlPlaneID returns a new PacketCoreControlPlaneId struct
func ParsePacketCoreControlPlaneID ¶
func ParsePacketCoreControlPlaneID(input string) (*PacketCoreControlPlaneId, error)
ParsePacketCoreControlPlaneID parses 'input' into a PacketCoreControlPlaneId
func ParsePacketCoreControlPlaneIDInsensitively ¶
func ParsePacketCoreControlPlaneIDInsensitively(input string) (*PacketCoreControlPlaneId, error)
ParsePacketCoreControlPlaneIDInsensitively parses 'input' case-insensitively into a PacketCoreControlPlaneId note: this method should only be used for API response data and not user input
func (*PacketCoreControlPlaneId) FromParseResult ¶
func (id *PacketCoreControlPlaneId) FromParseResult(input resourceids.ParseResult) error
func (PacketCoreControlPlaneId) ID ¶
func (id PacketCoreControlPlaneId) ID() string
ID returns the formatted Packet Core Control Plane ID
func (PacketCoreControlPlaneId) Segments ¶
func (id PacketCoreControlPlaneId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Packet Core Control Plane ID
func (PacketCoreControlPlaneId) String ¶
func (id PacketCoreControlPlaneId) String() string
String returns a human-readable description of this Packet Core Control Plane ID
type RoutingInfoClient ¶
type RoutingInfoClient struct {
Client *resourcemanager.Client
}
func NewRoutingInfoClientWithBaseURI ¶
func NewRoutingInfoClientWithBaseURI(sdkApi sdkEnv.Api) (*RoutingInfoClient, error)
func (RoutingInfoClient) Get ¶
func (c RoutingInfoClient) Get(ctx context.Context, id PacketCoreControlPlaneId) (result GetOperationResponse, err error)
Get ...
func (RoutingInfoClient) List ¶
func (c RoutingInfoClient) List(ctx context.Context, id PacketCoreControlPlaneId) (result ListOperationResponse, err error)
List ...
func (RoutingInfoClient) ListComplete ¶
func (c RoutingInfoClient) ListComplete(ctx context.Context, id PacketCoreControlPlaneId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (RoutingInfoClient) ListCompleteMatchingPredicate ¶
func (c RoutingInfoClient) ListCompleteMatchingPredicate(ctx context.Context, id PacketCoreControlPlaneId, predicate RoutingInfoModelOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type RoutingInfoModel ¶
type RoutingInfoModel struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties RoutingInfoPropertiesFormat `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type RoutingInfoModelOperationPredicate ¶
func (RoutingInfoModelOperationPredicate) Matches ¶
func (p RoutingInfoModelOperationPredicate) Matches(input RoutingInfoModel) bool
type RoutingInfoPropertiesFormat ¶
type RoutingInfoPropertiesFormat struct { ControlPlaneAccessRoutes *[]IPv4Route `json:"controlPlaneAccessRoutes,omitempty"` UserPlaneAccessRoutes *[]IPv4Route `json:"userPlaneAccessRoutes,omitempty"` UserPlaneDataRoutes *[]UserPlaneDataRoutesUserPlaneDataRoutesInlined `json:"userPlaneDataRoutes,omitempty"` }
type UserPlaneDataRoutesUserPlaneDataRoutesInlined ¶
type UserPlaneDataRoutesUserPlaneDataRoutesInlined struct { AttachedDataNetwork *AttachedDataNetworkResourceId `json:"attachedDataNetwork,omitempty"` Routes *[]IPv4Route `json:"routes,omitempty"` }