Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidatePacketCoreControlPlaneID(input interface{}, key string) (warnings []string, errors []error)
- type InterfaceProperties
- type ListByPacketCoreControlPlaneCompleteResult
- type ListByPacketCoreControlPlaneCustomPager
- type ListByPacketCoreControlPlaneOperationResponse
- type PacketCoreControlPlaneId
- type PacketCoreDataPlane
- type PacketCoreDataPlaneOperationPredicate
- type PacketCoreDataPlanePropertiesFormat
- type PacketCoreDataPlanesClient
- func (c PacketCoreDataPlanesClient) ListByPacketCoreControlPlane(ctx context.Context, id PacketCoreControlPlaneId) (result ListByPacketCoreControlPlaneOperationResponse, err error)
- func (c PacketCoreDataPlanesClient) ListByPacketCoreControlPlaneComplete(ctx context.Context, id PacketCoreControlPlaneId) (ListByPacketCoreControlPlaneCompleteResult, error)
- func (c PacketCoreDataPlanesClient) ListByPacketCoreControlPlaneCompleteMatchingPredicate(ctx context.Context, id PacketCoreControlPlaneId, ...) (result ListByPacketCoreControlPlaneCompleteResult, err error)
- type ProvisioningState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
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 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 ListByPacketCoreControlPlaneCompleteResult ¶
type ListByPacketCoreControlPlaneCompleteResult struct { LatestHttpResponse *http.Response Items []PacketCoreDataPlane }
type ListByPacketCoreControlPlaneCustomPager ¶ added in v0.20240628.1153531
func (*ListByPacketCoreControlPlaneCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByPacketCoreControlPlaneCustomPager) NextPageLink() *odata.Link
type ListByPacketCoreControlPlaneOperationResponse ¶
type ListByPacketCoreControlPlaneOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PacketCoreDataPlane }
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 PacketCoreDataPlane ¶
type PacketCoreDataPlane struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties PacketCoreDataPlanePropertiesFormat `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type PacketCoreDataPlaneOperationPredicate ¶
type PacketCoreDataPlaneOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (PacketCoreDataPlaneOperationPredicate) Matches ¶
func (p PacketCoreDataPlaneOperationPredicate) Matches(input PacketCoreDataPlane) bool
type PacketCoreDataPlanePropertiesFormat ¶
type PacketCoreDataPlanePropertiesFormat struct { ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` UserPlaneAccessInterface InterfaceProperties `json:"userPlaneAccessInterface"` UserPlaneAccessVirtualIPv4Addresses *[]string `json:"userPlaneAccessVirtualIpv4Addresses,omitempty"` }
type PacketCoreDataPlanesClient ¶
type PacketCoreDataPlanesClient struct {
Client *resourcemanager.Client
}
func NewPacketCoreDataPlanesClientWithBaseURI ¶
func NewPacketCoreDataPlanesClientWithBaseURI(sdkApi sdkEnv.Api) (*PacketCoreDataPlanesClient, error)
func (PacketCoreDataPlanesClient) ListByPacketCoreControlPlane ¶
func (c PacketCoreDataPlanesClient) ListByPacketCoreControlPlane(ctx context.Context, id PacketCoreControlPlaneId) (result ListByPacketCoreControlPlaneOperationResponse, err error)
ListByPacketCoreControlPlane ...
func (PacketCoreDataPlanesClient) ListByPacketCoreControlPlaneComplete ¶
func (c PacketCoreDataPlanesClient) ListByPacketCoreControlPlaneComplete(ctx context.Context, id PacketCoreControlPlaneId) (ListByPacketCoreControlPlaneCompleteResult, error)
ListByPacketCoreControlPlaneComplete retrieves all the results into a single object
func (PacketCoreDataPlanesClient) ListByPacketCoreControlPlaneCompleteMatchingPredicate ¶
func (c PacketCoreDataPlanesClient) ListByPacketCoreControlPlaneCompleteMatchingPredicate(ctx context.Context, id PacketCoreControlPlaneId, predicate PacketCoreDataPlaneOperationPredicate) (result ListByPacketCoreControlPlaneCompleteResult, err error)
ListByPacketCoreControlPlaneCompleteMatchingPredicate retrieves all the results and then applies the predicate
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