Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidatePacketCoreDataPlaneID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type InterfaceProperties
- type PacketCoreDataPlane
- type PacketCoreDataPlaneClient
- func (c PacketCoreDataPlaneClient) CreateOrUpdate(ctx context.Context, id PacketCoreDataPlaneId, input PacketCoreDataPlane) (result CreateOrUpdateOperationResponse, err error)
- func (c PacketCoreDataPlaneClient) CreateOrUpdateThenPoll(ctx context.Context, id PacketCoreDataPlaneId, input PacketCoreDataPlane) error
- func (c PacketCoreDataPlaneClient) Delete(ctx context.Context, id PacketCoreDataPlaneId) (result DeleteOperationResponse, err error)
- func (c PacketCoreDataPlaneClient) DeleteThenPoll(ctx context.Context, id PacketCoreDataPlaneId) error
- func (c PacketCoreDataPlaneClient) Get(ctx context.Context, id PacketCoreDataPlaneId) (result GetOperationResponse, err error)
- func (c PacketCoreDataPlaneClient) UpdateTags(ctx context.Context, id PacketCoreDataPlaneId, input TagsObject) (result UpdateTagsOperationResponse, err error)
- type PacketCoreDataPlaneId
- type PacketCoreDataPlanePropertiesFormat
- type ProvisioningState
- type TagsObject
- type UpdateTagsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PacketCoreDataPlane }
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 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 PacketCoreDataPlaneClient ¶
type PacketCoreDataPlaneClient struct {
Client *resourcemanager.Client
}
func NewPacketCoreDataPlaneClientWithBaseURI ¶
func NewPacketCoreDataPlaneClientWithBaseURI(sdkApi sdkEnv.Api) (*PacketCoreDataPlaneClient, error)
func (PacketCoreDataPlaneClient) CreateOrUpdate ¶
func (c PacketCoreDataPlaneClient) CreateOrUpdate(ctx context.Context, id PacketCoreDataPlaneId, input PacketCoreDataPlane) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (PacketCoreDataPlaneClient) CreateOrUpdateThenPoll ¶
func (c PacketCoreDataPlaneClient) CreateOrUpdateThenPoll(ctx context.Context, id PacketCoreDataPlaneId, input PacketCoreDataPlane) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (PacketCoreDataPlaneClient) Delete ¶
func (c PacketCoreDataPlaneClient) Delete(ctx context.Context, id PacketCoreDataPlaneId) (result DeleteOperationResponse, err error)
Delete ...
func (PacketCoreDataPlaneClient) DeleteThenPoll ¶
func (c PacketCoreDataPlaneClient) DeleteThenPoll(ctx context.Context, id PacketCoreDataPlaneId) error
DeleteThenPoll performs Delete then polls until it's completed
func (PacketCoreDataPlaneClient) Get ¶
func (c PacketCoreDataPlaneClient) Get(ctx context.Context, id PacketCoreDataPlaneId) (result GetOperationResponse, err error)
Get ...
func (PacketCoreDataPlaneClient) UpdateTags ¶
func (c PacketCoreDataPlaneClient) UpdateTags(ctx context.Context, id PacketCoreDataPlaneId, input TagsObject) (result UpdateTagsOperationResponse, err error)
UpdateTags ...
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 PacketCoreDataPlanePropertiesFormat ¶
type PacketCoreDataPlanePropertiesFormat struct { ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` UserPlaneAccessInterface InterfaceProperties `json:"userPlaneAccessInterface"` UserPlaneAccessVirtualIPv4Addresses *[]string `json:"userPlaneAccessVirtualIpv4Addresses,omitempty"` }
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
type TagsObject ¶
type UpdateTagsOperationResponse ¶
type UpdateTagsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PacketCoreDataPlane }