Documentation ¶
Index ¶
- func PossibleValuesForNaptEnabled() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateAttachedDataNetworkID(input interface{}, key string) (warnings []string, errors []error)
- type AttachedDataNetwork
- type AttachedDataNetworkClient
- func (c AttachedDataNetworkClient) CreateOrUpdate(ctx context.Context, id AttachedDataNetworkId, input AttachedDataNetwork) (result CreateOrUpdateOperationResponse, err error)
- func (c AttachedDataNetworkClient) CreateOrUpdateThenPoll(ctx context.Context, id AttachedDataNetworkId, input AttachedDataNetwork) error
- func (c AttachedDataNetworkClient) Delete(ctx context.Context, id AttachedDataNetworkId) (result DeleteOperationResponse, err error)
- func (c AttachedDataNetworkClient) DeleteThenPoll(ctx context.Context, id AttachedDataNetworkId) error
- func (c AttachedDataNetworkClient) Get(ctx context.Context, id AttachedDataNetworkId) (result GetOperationResponse, err error)
- func (c AttachedDataNetworkClient) UpdateTags(ctx context.Context, id AttachedDataNetworkId, input TagsObject) (result UpdateTagsOperationResponse, err error)
- type AttachedDataNetworkId
- type AttachedDataNetworkPropertiesFormat
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type InterfaceProperties
- type NaptConfiguration
- type NaptEnabled
- type PinholeTimeouts
- type PortRange
- type PortReuseHoldTimes
- type ProvisioningState
- type TagsObject
- type UpdateTagsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForNaptEnabled ¶
func PossibleValuesForNaptEnabled() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateAttachedDataNetworkID ¶
func ValidateAttachedDataNetworkID(input interface{}, key string) (warnings []string, errors []error)
ValidateAttachedDataNetworkID checks that 'input' can be parsed as a Attached Data Network 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 AttachedDataNetworkClient ¶
type AttachedDataNetworkClient struct {
Client *resourcemanager.Client
}
func NewAttachedDataNetworkClientWithBaseURI ¶
func NewAttachedDataNetworkClientWithBaseURI(sdkApi sdkEnv.Api) (*AttachedDataNetworkClient, error)
func (AttachedDataNetworkClient) CreateOrUpdate ¶
func (c AttachedDataNetworkClient) CreateOrUpdate(ctx context.Context, id AttachedDataNetworkId, input AttachedDataNetwork) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AttachedDataNetworkClient) CreateOrUpdateThenPoll ¶
func (c AttachedDataNetworkClient) CreateOrUpdateThenPoll(ctx context.Context, id AttachedDataNetworkId, input AttachedDataNetwork) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (AttachedDataNetworkClient) Delete ¶
func (c AttachedDataNetworkClient) Delete(ctx context.Context, id AttachedDataNetworkId) (result DeleteOperationResponse, err error)
Delete ...
func (AttachedDataNetworkClient) DeleteThenPoll ¶
func (c AttachedDataNetworkClient) DeleteThenPoll(ctx context.Context, id AttachedDataNetworkId) error
DeleteThenPoll performs Delete then polls until it's completed
func (AttachedDataNetworkClient) Get ¶
func (c AttachedDataNetworkClient) Get(ctx context.Context, id AttachedDataNetworkId) (result GetOperationResponse, err error)
Get ...
func (AttachedDataNetworkClient) UpdateTags ¶
func (c AttachedDataNetworkClient) UpdateTags(ctx context.Context, id AttachedDataNetworkId, input TagsObject) (result UpdateTagsOperationResponse, err error)
UpdateTags ...
type AttachedDataNetworkId ¶
type AttachedDataNetworkId struct { SubscriptionId string ResourceGroupName string PacketCoreControlPlaneName string PacketCoreDataPlaneName string AttachedDataNetworkName string }
AttachedDataNetworkId is a struct representing the Resource ID for a Attached Data Network
func NewAttachedDataNetworkID ¶
func NewAttachedDataNetworkID(subscriptionId string, resourceGroupName string, packetCoreControlPlaneName string, packetCoreDataPlaneName string, attachedDataNetworkName string) AttachedDataNetworkId
NewAttachedDataNetworkID returns a new AttachedDataNetworkId struct
func ParseAttachedDataNetworkID ¶
func ParseAttachedDataNetworkID(input string) (*AttachedDataNetworkId, error)
ParseAttachedDataNetworkID parses 'input' into a AttachedDataNetworkId
func ParseAttachedDataNetworkIDInsensitively ¶
func ParseAttachedDataNetworkIDInsensitively(input string) (*AttachedDataNetworkId, error)
ParseAttachedDataNetworkIDInsensitively parses 'input' case-insensitively into a AttachedDataNetworkId note: this method should only be used for API response data and not user input
func (*AttachedDataNetworkId) FromParseResult ¶
func (id *AttachedDataNetworkId) FromParseResult(input resourceids.ParseResult) error
func (AttachedDataNetworkId) ID ¶
func (id AttachedDataNetworkId) ID() string
ID returns the formatted Attached Data Network ID
func (AttachedDataNetworkId) Segments ¶
func (id AttachedDataNetworkId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Attached Data Network ID
func (AttachedDataNetworkId) String ¶
func (id AttachedDataNetworkId) String() string
String returns a human-readable description of this Attached Data Network ID
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 DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AttachedDataNetwork }
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 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 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
type TagsObject ¶
type UpdateTagsOperationResponse ¶
type UpdateTagsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AttachedDataNetwork }
Source Files ¶
- client.go
- constants.go
- id_attacheddatanetwork.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_updatetags.go
- model_attacheddatanetwork.go
- model_attacheddatanetworkpropertiesformat.go
- model_interfaceproperties.go
- model_naptconfiguration.go
- model_pinholetimeouts.go
- model_portrange.go
- model_portreuseholdtimes.go
- model_tagsobject.go
- version.go