Documentation ¶
Index ¶
- func PossibleValuesForNaptEnabled() []string
- func PossibleValuesForProvisioningState() []string
- func ValidatePacketCoreDataPlaneID(input interface{}, key string) (warnings []string, errors []error)
- type AttachedDataNetwork
- type AttachedDataNetworkOperationPredicate
- type AttachedDataNetworkPropertiesFormat
- type AttachedDataNetworksClient
- func (c AttachedDataNetworksClient) ListByPacketCoreDataPlane(ctx context.Context, id PacketCoreDataPlaneId) (result ListByPacketCoreDataPlaneOperationResponse, err error)
- func (c AttachedDataNetworksClient) ListByPacketCoreDataPlaneComplete(ctx context.Context, id PacketCoreDataPlaneId) (ListByPacketCoreDataPlaneCompleteResult, error)
- func (c AttachedDataNetworksClient) ListByPacketCoreDataPlaneCompleteMatchingPredicate(ctx context.Context, id PacketCoreDataPlaneId, ...) (result ListByPacketCoreDataPlaneCompleteResult, err error)
- type InterfaceProperties
- type ListByPacketCoreDataPlaneCompleteResult
- type ListByPacketCoreDataPlaneOperationResponse
- type NaptConfiguration
- type NaptEnabled
- type PacketCoreDataPlaneId
- type PinholeTimeouts
- type PortRange
- type PortReuseHoldTimes
- type ProvisioningState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForNaptEnabled ¶
func PossibleValuesForNaptEnabled() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidatePacketCoreDataPlaneID ¶
func ValidatePacketCoreDataPlaneID(input interface{}, key string) (warnings []string, errors []error)
ValidatePacketCoreDataPlaneID checks that 'input' can be parsed as a Packet Core Data Plane ID
Types ¶
type AttachedDataNetwork ¶
type AttachedDataNetwork struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties AttachedDataNetworkPropertiesFormat `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type AttachedDataNetworkOperationPredicate ¶
type AttachedDataNetworkOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (AttachedDataNetworkOperationPredicate) Matches ¶
func (p AttachedDataNetworkOperationPredicate) Matches(input AttachedDataNetwork) bool
type AttachedDataNetworkPropertiesFormat ¶
type AttachedDataNetworkPropertiesFormat struct { DnsAddresses []string `json:"dnsAddresses"` NaptConfiguration *NaptConfiguration `json:"naptConfiguration,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` UserEquipmentAddressPoolPrefix *[]string `json:"userEquipmentAddressPoolPrefix,omitempty"` UserEquipmentStaticAddressPoolPrefix *[]string `json:"userEquipmentStaticAddressPoolPrefix,omitempty"` UserPlaneDataInterface InterfaceProperties `json:"userPlaneDataInterface"` }
type AttachedDataNetworksClient ¶
type AttachedDataNetworksClient struct {
Client *resourcemanager.Client
}
func NewAttachedDataNetworksClientWithBaseURI ¶
func NewAttachedDataNetworksClientWithBaseURI(sdkApi sdkEnv.Api) (*AttachedDataNetworksClient, error)
func (AttachedDataNetworksClient) ListByPacketCoreDataPlane ¶
func (c AttachedDataNetworksClient) ListByPacketCoreDataPlane(ctx context.Context, id PacketCoreDataPlaneId) (result ListByPacketCoreDataPlaneOperationResponse, err error)
ListByPacketCoreDataPlane ...
func (AttachedDataNetworksClient) ListByPacketCoreDataPlaneComplete ¶
func (c AttachedDataNetworksClient) ListByPacketCoreDataPlaneComplete(ctx context.Context, id PacketCoreDataPlaneId) (ListByPacketCoreDataPlaneCompleteResult, error)
ListByPacketCoreDataPlaneComplete retrieves all the results into a single object
func (AttachedDataNetworksClient) ListByPacketCoreDataPlaneCompleteMatchingPredicate ¶
func (c AttachedDataNetworksClient) ListByPacketCoreDataPlaneCompleteMatchingPredicate(ctx context.Context, id PacketCoreDataPlaneId, predicate AttachedDataNetworkOperationPredicate) (result ListByPacketCoreDataPlaneCompleteResult, err error)
ListByPacketCoreDataPlaneCompleteMatchingPredicate retrieves all the results and then applies the predicate
type InterfaceProperties ¶
type InterfaceProperties struct { BfdIPv4Endpoints *[]string `json:"bfdIpv4Endpoints,omitempty"` IPv4Address *string `json:"ipv4Address,omitempty"` IPv4AddressList *[]string `json:"ipv4AddressList,omitempty"` IPv4Gateway *string `json:"ipv4Gateway,omitempty"` IPv4Subnet *string `json:"ipv4Subnet,omitempty"` Name *string `json:"name,omitempty"` VlanId *int64 `json:"vlanId,omitempty"` }
type ListByPacketCoreDataPlaneCompleteResult ¶
type ListByPacketCoreDataPlaneCompleteResult struct { LatestHttpResponse *http.Response Items []AttachedDataNetwork }
type ListByPacketCoreDataPlaneOperationResponse ¶
type ListByPacketCoreDataPlaneOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AttachedDataNetwork }
type NaptConfiguration ¶
type NaptConfiguration struct { Enabled *NaptEnabled `json:"enabled,omitempty"` PinholeLimits *int64 `json:"pinholeLimits,omitempty"` PinholeTimeouts *PinholeTimeouts `json:"pinholeTimeouts,omitempty"` PortRange *PortRange `json:"portRange,omitempty"` PortReuseHoldTime *PortReuseHoldTimes `json:"portReuseHoldTime,omitempty"` }
type NaptEnabled ¶
type NaptEnabled string
const ( NaptEnabledDisabled NaptEnabled = "Disabled" NaptEnabledEnabled NaptEnabled = "Enabled" )
func (*NaptEnabled) UnmarshalJSON ¶
func (s *NaptEnabled) UnmarshalJSON(bytes []byte) error
type PacketCoreDataPlaneId ¶
type PacketCoreDataPlaneId struct { SubscriptionId string ResourceGroupName string PacketCoreControlPlaneName string PacketCoreDataPlaneName string }
PacketCoreDataPlaneId is a struct representing the Resource ID for a Packet Core Data Plane
func NewPacketCoreDataPlaneID ¶
func NewPacketCoreDataPlaneID(subscriptionId string, resourceGroupName string, packetCoreControlPlaneName string, packetCoreDataPlaneName string) PacketCoreDataPlaneId
NewPacketCoreDataPlaneID returns a new PacketCoreDataPlaneId struct
func ParsePacketCoreDataPlaneID ¶
func ParsePacketCoreDataPlaneID(input string) (*PacketCoreDataPlaneId, error)
ParsePacketCoreDataPlaneID parses 'input' into a PacketCoreDataPlaneId
func ParsePacketCoreDataPlaneIDInsensitively ¶
func ParsePacketCoreDataPlaneIDInsensitively(input string) (*PacketCoreDataPlaneId, error)
ParsePacketCoreDataPlaneIDInsensitively parses 'input' case-insensitively into a PacketCoreDataPlaneId note: this method should only be used for API response data and not user input
func (*PacketCoreDataPlaneId) FromParseResult ¶
func (id *PacketCoreDataPlaneId) FromParseResult(input resourceids.ParseResult) error
func (PacketCoreDataPlaneId) ID ¶
func (id PacketCoreDataPlaneId) ID() string
ID returns the formatted Packet Core Data Plane ID
func (PacketCoreDataPlaneId) Segments ¶
func (id PacketCoreDataPlaneId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Packet Core Data Plane ID
func (PacketCoreDataPlaneId) String ¶
func (id PacketCoreDataPlaneId) String() string
String returns a human-readable description of this Packet Core Data Plane ID
type PinholeTimeouts ¶
type PortReuseHoldTimes ¶
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUnknown ProvisioningState = "Unknown" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_packetcoredataplane.go
- method_listbypacketcoredataplane.go
- model_attacheddatanetwork.go
- model_attacheddatanetworkpropertiesformat.go
- model_interfaceproperties.go
- model_naptconfiguration.go
- model_pinholetimeouts.go
- model_portrange.go
- model_portreuseholdtimes.go
- predicates.go
- version.go