extendedueinformation

package
v0.20240612.1122027 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2024 License: MPL-2.0 Imports: 14 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/mobilenetwork/2024-02-01/extendedueinformation Documentation

The extendedueinformation SDK allows for interaction with the Azure Resource Manager Service mobilenetwork (API Version 2024-02-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/mobilenetwork/2024-02-01/extendedueinformation"

Client Initialization

client := extendedueinformation.NewExtendedUeInformationClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ExtendedUeInformationClient.Get

ctx := context.TODO()
id := extendedueinformation.NewUeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "packetCoreControlPlaneValue", "ueIdValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForPdnType

func PossibleValuesForPdnType() []string

func PossibleValuesForRatType

func PossibleValuesForRatType() []string

func PossibleValuesForRrcEstablishmentCause

func PossibleValuesForRrcEstablishmentCause() []string

func PossibleValuesForUeState

func PossibleValuesForUeState() []string

func PossibleValuesForUeUsageSetting

func PossibleValuesForUeUsageSetting() []string

func ValidateUeID

func ValidateUeID(input interface{}, key string) (warnings []string, errors []error)

ValidateUeID checks that 'input' can be parsed as a Ue ID

Types

type Ambr

type Ambr struct {
	Downlink string `json:"downlink"`
	Uplink   string `json:"uplink"`
}

type AmfId

type AmfId struct {
	Pointer  int64 `json:"pointer"`
	RegionId int64 `json:"regionId"`
	SetId    int64 `json:"setId"`
}

type ExtendedUeInfo

type ExtendedUeInfo struct {
	Id         *string                  `json:"id,omitempty"`
	Name       *string                  `json:"name,omitempty"`
	Properties ExtendedUeInfoProperties `json:"properties"`
	SystemData *systemdata.SystemData   `json:"systemData,omitempty"`
	Type       *string                  `json:"type,omitempty"`
}

func (*ExtendedUeInfo) UnmarshalJSON

func (s *ExtendedUeInfo) UnmarshalJSON(bytes []byte) error

type ExtendedUeInfoProperties

type ExtendedUeInfoProperties interface {
}

type ExtendedUeInformationClient

type ExtendedUeInformationClient struct {
	Client *resourcemanager.Client
}

func NewExtendedUeInformationClientWithBaseURI

func NewExtendedUeInformationClientWithBaseURI(sdkApi sdkEnv.Api) (*ExtendedUeInformationClient, error)

func (ExtendedUeInformationClient) Get

Get ...

type GNbId

type GNbId struct {
	BitLength *int64  `json:"bitLength,omitempty"`
	GNBValue  *string `json:"gNBValue,omitempty"`
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ExtendedUeInfo
}

type GlobalRanNodeId

type GlobalRanNodeId struct {
	ENbId   *string `json:"eNbId,omitempty"`
	GNbId   *GNbId  `json:"gNbId,omitempty"`
	N3IwfId *string `json:"n3IwfId,omitempty"`
	NgeNbId *string `json:"ngeNbId,omitempty"`
	Nid     *string `json:"nid,omitempty"`
	PlmnId  PlmnId  `json:"plmnId"`
	TngfId  *string `json:"tngfId,omitempty"`
	WagfId  *string `json:"wagfId,omitempty"`
}

type Guti4G

type Guti4G struct {
	MTmsi int64  `json:"mTmsi"`
	MmeId MmeId  `json:"mmeId"`
	Plmn  PlmnId `json:"plmn"`
}

type Guti5G

type Guti5G struct {
	AmfId     AmfId  `json:"amfId"`
	FivegTmsi int64  `json:"fivegTmsi"`
	Plmn      PlmnId `json:"plmn"`
}

type MmeId

type MmeId struct {
	Code    int64 `json:"code"`
	GroupId int64 `json:"groupId"`
}

type PdnType

type PdnType string
const (
	PdnTypeIPVFour PdnType = "IPV4"
)

func (*PdnType) UnmarshalJSON

func (s *PdnType) UnmarshalJSON(bytes []byte) error

type PlmnId

type PlmnId struct {
	Mcc string `json:"mcc"`
	Mnc string `json:"mnc"`
}

type RatType

type RatType string
const (
	RatTypeFiveG RatType = "5G"
	RatTypeFourG RatType = "4G"
)

func (*RatType) UnmarshalJSON

func (s *RatType) UnmarshalJSON(bytes []byte) error

type RawExtendedUeInfoPropertiesImpl

type RawExtendedUeInfoPropertiesImpl struct {
	Type   string
	Values map[string]interface{}
}

RawExtendedUeInfoPropertiesImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RrcEstablishmentCause

type RrcEstablishmentCause string
const (
	RrcEstablishmentCauseEmergency                 RrcEstablishmentCause = "Emergency"
	RrcEstablishmentCauseMobileOriginatedData      RrcEstablishmentCause = "MobileOriginatedData"
	RrcEstablishmentCauseMobileOriginatedSignaling RrcEstablishmentCause = "MobileOriginatedSignaling"
	RrcEstablishmentCauseMobileTerminatedData      RrcEstablishmentCause = "MobileTerminatedData"
	RrcEstablishmentCauseMobileTerminatedSignaling RrcEstablishmentCause = "MobileTerminatedSignaling"
	RrcEstablishmentCauseSMS                       RrcEstablishmentCause = "SMS"
)

func (*RrcEstablishmentCause) UnmarshalJSON

func (s *RrcEstablishmentCause) UnmarshalJSON(bytes []byte) error

type Snssai

type Snssai struct {
	Sd  *string `json:"sd,omitempty"`
	Sst int64   `json:"sst"`
}

type UeConnectionInfo4G

type UeConnectionInfo4G struct {
	EnbS1apId             int64                 `json:"enbS1apId"`
	GlobalRanNodeId       GlobalRanNodeId       `json:"globalRanNodeId"`
	LastActivityTime      *string               `json:"lastActivityTime,omitempty"`
	LastVisitedTai        *string               `json:"lastVisitedTai,omitempty"`
	LocationInfo          *UeLocationInfo       `json:"locationInfo,omitempty"`
	MmeS1apId             int64                 `json:"mmeS1apId"`
	PerUeTnla             *string               `json:"perUeTnla,omitempty"`
	RrcEstablishmentCause RrcEstablishmentCause `json:"rrcEstablishmentCause"`
	UeState               UeState               `json:"ueState"`
	UeUsageSetting        *UeUsageSetting       `json:"ueUsageSetting,omitempty"`
}

func (*UeConnectionInfo4G) GetLastActivityTimeAsTime

func (o *UeConnectionInfo4G) GetLastActivityTimeAsTime() (*time.Time, error)

func (*UeConnectionInfo4G) SetLastActivityTimeAsTime

func (o *UeConnectionInfo4G) SetLastActivityTimeAsTime(input time.Time)

type UeConnectionInfo5G

type UeConnectionInfo5G struct {
	AllowedNssai          *[]Snssai             `json:"allowedNssai,omitempty"`
	AmfUeNgapId           int64                 `json:"amfUeNgapId"`
	GlobalRanNodeId       GlobalRanNodeId       `json:"globalRanNodeId"`
	LastActivityTime      *string               `json:"lastActivityTime,omitempty"`
	LastVisitedTai        *string               `json:"lastVisitedTai,omitempty"`
	LocationInfo          *UeLocationInfo       `json:"locationInfo,omitempty"`
	PerUeTnla             *string               `json:"perUeTnla,omitempty"`
	RanUeNgapId           int64                 `json:"ranUeNgapId"`
	RrcEstablishmentCause RrcEstablishmentCause `json:"rrcEstablishmentCause"`
	UeState               UeState               `json:"ueState"`
	UeUsageSetting        *UeUsageSetting       `json:"ueUsageSetting,omitempty"`
}

func (*UeConnectionInfo5G) GetLastActivityTimeAsTime

func (o *UeConnectionInfo5G) GetLastActivityTimeAsTime() (*time.Time, error)

func (*UeConnectionInfo5G) SetLastActivityTimeAsTime

func (o *UeConnectionInfo5G) SetLastActivityTimeAsTime(input time.Time)

type UeIPAddress

type UeIPAddress struct {
	IPV4Addr *string `json:"ipV4Addr,omitempty"`
}

type UeId

type UeId struct {
	SubscriptionId             string
	ResourceGroupName          string
	PacketCoreControlPlaneName string
	UeId                       string
}

UeId is a struct representing the Resource ID for a Ue

func NewUeID

func NewUeID(subscriptionId string, resourceGroupName string, packetCoreControlPlaneName string, ueId string) UeId

NewUeID returns a new UeId struct

func ParseUeID

func ParseUeID(input string) (*UeId, error)

ParseUeID parses 'input' into a UeId

func ParseUeIDInsensitively

func ParseUeIDInsensitively(input string) (*UeId, error)

ParseUeIDInsensitively parses 'input' case-insensitively into a UeId note: this method should only be used for API response data and not user input

func (*UeId) FromParseResult

func (id *UeId) FromParseResult(input resourceids.ParseResult) error

func (UeId) ID

func (id UeId) ID() string

ID returns the formatted Ue ID

func (UeId) Segments

func (id UeId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Ue ID

func (UeId) String

func (id UeId) String() string

String returns a human-readable description of this Ue ID

type UeInfo4G

type UeInfo4G struct {
	Info UeInfo4GProperties `json:"info"`

	// Fields inherited from ExtendedUeInfoProperties
	LastReadAt *string `json:"lastReadAt,omitempty"`
}

func (*UeInfo4G) GetLastReadAtAsTime

func (o *UeInfo4G) GetLastReadAtAsTime() (*time.Time, error)

func (UeInfo4G) MarshalJSON

func (s UeInfo4G) MarshalJSON() ([]byte, error)

func (*UeInfo4G) SetLastReadAtAsTime

func (o *UeInfo4G) SetLastReadAtAsTime(input time.Time)

type UeInfo4GProperties

type UeInfo4GProperties struct {
	ConnectionInfo *UeConnectionInfo4G `json:"connectionInfo,omitempty"`
	Guti           Guti4G              `json:"guti"`
	Imei           *string             `json:"imei,omitempty"`
	Imeisv         *string             `json:"imeisv,omitempty"`
	Imsi           string              `json:"imsi"`
	SessionInfo    *[]UeSessionInfo4G  `json:"sessionInfo,omitempty"`
}

type UeInfo5G

type UeInfo5G struct {
	Info UeInfo5GProperties `json:"info"`

	// Fields inherited from ExtendedUeInfoProperties
	LastReadAt *string `json:"lastReadAt,omitempty"`
}

func (*UeInfo5G) GetLastReadAtAsTime

func (o *UeInfo5G) GetLastReadAtAsTime() (*time.Time, error)

func (UeInfo5G) MarshalJSON

func (s UeInfo5G) MarshalJSON() ([]byte, error)

func (*UeInfo5G) SetLastReadAtAsTime

func (o *UeInfo5G) SetLastReadAtAsTime(input time.Time)

type UeInfo5GProperties

type UeInfo5GProperties struct {
	ConnectionInfo *UeConnectionInfo5G `json:"connectionInfo,omitempty"`
	FivegGuti      Guti5G              `json:"fivegGuti"`
	Pei            *string             `json:"pei,omitempty"`
	SessionInfo    *[]UeSessionInfo5G  `json:"sessionInfo,omitempty"`
	Supi           string              `json:"supi"`
}

type UeLocationInfo

type UeLocationInfo struct {
	LocationType string `json:"locationType"`
	Plmn         PlmnId `json:"plmn"`
	Tac          string `json:"tac"`
}

type UeQOSFlow

type UeQOSFlow struct {
	Fiveqi int64 `json:"fiveqi"`
	Gbr    *Ambr `json:"gbr,omitempty"`
	Mbr    *Ambr `json:"mbr,omitempty"`
	Qfi    int64 `json:"qfi"`
}

type UeSessionInfo4G

type UeSessionInfo4G struct {
	Apn         string      `json:"apn"`
	Ebi         int64       `json:"ebi"`
	PdnType     PdnType     `json:"pdnType"`
	UeIPAddress UeIPAddress `json:"ueIpAddress"`
}

type UeSessionInfo5G

type UeSessionInfo5G struct {
	Ambr         Ambr        `json:"ambr"`
	Dnn          string      `json:"dnn"`
	PdnType      PdnType     `json:"pdnType"`
	PduSessionId int64       `json:"pduSessionId"`
	QosFlow      []UeQOSFlow `json:"qosFlow"`
	Snssai       Snssai      `json:"snssai"`
	UeIPAddress  UeIPAddress `json:"ueIpAddress"`
}

type UeState

type UeState string
const (
	UeStateConnected    UeState = "Connected"
	UeStateDeregistered UeState = "Deregistered"
	UeStateDetached     UeState = "Detached"
	UeStateIdle         UeState = "Idle"
	UeStateUnknown      UeState = "Unknown"
)

func (*UeState) UnmarshalJSON

func (s *UeState) UnmarshalJSON(bytes []byte) error

type UeUsageSetting

type UeUsageSetting string
const (
	UeUsageSettingDataCentric  UeUsageSetting = "DataCentric"
	UeUsageSettingVoiceCentric UeUsageSetting = "VoiceCentric"
)

func (*UeUsageSetting) UnmarshalJSON

func (s *UeUsageSetting) UnmarshalJSON(bytes []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL