README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/mobilenetwork/2024-02-01/simpolicies
Documentation
The simpolicies
SDK allows for interaction with Azure Resource Manager 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/simpolicies"
Client Initialization
client := simpolicies.NewSIMPoliciesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: SIMPoliciesClient.ListByMobileNetwork
ctx := context.TODO()
id := simpolicies.NewMobileNetworkID("12345678-1234-9876-4563-123456789012", "example-resource-group", "mobileNetworkName")
// alternatively `client.ListByMobileNetwork(ctx, id)` can be used to do batched pagination
items, err := client.ListByMobileNetworkComplete(ctx, id)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Documentation ¶
Index ¶
- func PossibleValuesForPduSessionType() []string
- func PossibleValuesForPreemptionCapability() []string
- func PossibleValuesForPreemptionVulnerability() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSiteProvisioningState() []string
- func ValidateMobileNetworkID(input interface{}, key string) (warnings []string, errors []error)
- type Ambr
- type DataNetworkConfiguration
- type DataNetworkResourceId
- type ListByMobileNetworkCompleteResult
- type ListByMobileNetworkCustomPager
- type ListByMobileNetworkOperationResponse
- type MobileNetworkId
- type PduSessionType
- type PreemptionCapability
- type PreemptionVulnerability
- type ProvisioningState
- type SIMPoliciesClient
- func (c SIMPoliciesClient) ListByMobileNetwork(ctx context.Context, id MobileNetworkId) (result ListByMobileNetworkOperationResponse, err error)
- func (c SIMPoliciesClient) ListByMobileNetworkComplete(ctx context.Context, id MobileNetworkId) (ListByMobileNetworkCompleteResult, error)
- func (c SIMPoliciesClient) ListByMobileNetworkCompleteMatchingPredicate(ctx context.Context, id MobileNetworkId, predicate SimPolicyOperationPredicate) (result ListByMobileNetworkCompleteResult, err error)
- type ServiceResourceId
- type SimPolicy
- type SimPolicyOperationPredicate
- type SimPolicyPropertiesFormat
- type SiteProvisioningState
- type SliceConfiguration
- type SliceResourceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForPduSessionType ¶
func PossibleValuesForPduSessionType() []string
func PossibleValuesForPreemptionCapability ¶
func PossibleValuesForPreemptionCapability() []string
func PossibleValuesForPreemptionVulnerability ¶
func PossibleValuesForPreemptionVulnerability() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForSiteProvisioningState ¶
func PossibleValuesForSiteProvisioningState() []string
func ValidateMobileNetworkID ¶
ValidateMobileNetworkID checks that 'input' can be parsed as a Mobile Network ID
Types ¶
type DataNetworkConfiguration ¶
type DataNetworkConfiguration struct { AdditionalAllowedSessionTypes *[]PduSessionType `json:"additionalAllowedSessionTypes,omitempty"` AllocationAndRetentionPriorityLevel *int64 `json:"allocationAndRetentionPriorityLevel,omitempty"` AllowedServices []ServiceResourceId `json:"allowedServices"` DataNetwork DataNetworkResourceId `json:"dataNetwork"` DefaultSessionType *PduSessionType `json:"defaultSessionType,omitempty"` Fiveqi *int64 `json:"5qi,omitempty"` MaximumNumberOfBufferedPackets *int64 `json:"maximumNumberOfBufferedPackets,omitempty"` PreemptionCapability *PreemptionCapability `json:"preemptionCapability,omitempty"` PreemptionVulnerability *PreemptionVulnerability `json:"preemptionVulnerability,omitempty"` SessionAmbr Ambr `json:"sessionAmbr"` }
type DataNetworkResourceId ¶
type DataNetworkResourceId struct {
Id string `json:"id"`
}
type ListByMobileNetworkCustomPager ¶
func (*ListByMobileNetworkCustomPager) NextPageLink ¶
func (p *ListByMobileNetworkCustomPager) NextPageLink() *odata.Link
type MobileNetworkId ¶
type MobileNetworkId struct { SubscriptionId string ResourceGroupName string MobileNetworkName string }
MobileNetworkId is a struct representing the Resource ID for a Mobile Network
func NewMobileNetworkID ¶
func NewMobileNetworkID(subscriptionId string, resourceGroupName string, mobileNetworkName string) MobileNetworkId
NewMobileNetworkID returns a new MobileNetworkId struct
func ParseMobileNetworkID ¶
func ParseMobileNetworkID(input string) (*MobileNetworkId, error)
ParseMobileNetworkID parses 'input' into a MobileNetworkId
func ParseMobileNetworkIDInsensitively ¶
func ParseMobileNetworkIDInsensitively(input string) (*MobileNetworkId, error)
ParseMobileNetworkIDInsensitively parses 'input' case-insensitively into a MobileNetworkId note: this method should only be used for API response data and not user input
func (*MobileNetworkId) FromParseResult ¶
func (id *MobileNetworkId) FromParseResult(input resourceids.ParseResult) error
func (MobileNetworkId) ID ¶
func (id MobileNetworkId) ID() string
ID returns the formatted Mobile Network ID
func (MobileNetworkId) Segments ¶
func (id MobileNetworkId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Mobile Network ID
func (MobileNetworkId) String ¶
func (id MobileNetworkId) String() string
String returns a human-readable description of this Mobile Network ID
type PduSessionType ¶
type PduSessionType string
const ( PduSessionTypeIPvFour PduSessionType = "IPv4" PduSessionTypeIPvSix PduSessionType = "IPv6" )
func (*PduSessionType) UnmarshalJSON ¶
func (s *PduSessionType) UnmarshalJSON(bytes []byte) error
type PreemptionCapability ¶
type PreemptionCapability string
const ( PreemptionCapabilityMayPreempt PreemptionCapability = "MayPreempt" PreemptionCapabilityNotPreempt PreemptionCapability = "NotPreempt" )
func (*PreemptionCapability) UnmarshalJSON ¶
func (s *PreemptionCapability) UnmarshalJSON(bytes []byte) error
type PreemptionVulnerability ¶
type PreemptionVulnerability string
const ( PreemptionVulnerabilityNotPreemptable PreemptionVulnerability = "NotPreemptable" PreemptionVulnerabilityPreemptable PreemptionVulnerability = "Preemptable" )
func (*PreemptionVulnerability) UnmarshalJSON ¶
func (s *PreemptionVulnerability) UnmarshalJSON(bytes []byte) error
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 SIMPoliciesClient ¶
type SIMPoliciesClient struct {
Client *resourcemanager.Client
}
func NewSIMPoliciesClientWithBaseURI ¶
func NewSIMPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*SIMPoliciesClient, error)
func (SIMPoliciesClient) ListByMobileNetwork ¶
func (c SIMPoliciesClient) ListByMobileNetwork(ctx context.Context, id MobileNetworkId) (result ListByMobileNetworkOperationResponse, err error)
ListByMobileNetwork ...
func (SIMPoliciesClient) ListByMobileNetworkComplete ¶
func (c SIMPoliciesClient) ListByMobileNetworkComplete(ctx context.Context, id MobileNetworkId) (ListByMobileNetworkCompleteResult, error)
ListByMobileNetworkComplete retrieves all the results into a single object
func (SIMPoliciesClient) ListByMobileNetworkCompleteMatchingPredicate ¶
func (c SIMPoliciesClient) ListByMobileNetworkCompleteMatchingPredicate(ctx context.Context, id MobileNetworkId, predicate SimPolicyOperationPredicate) (result ListByMobileNetworkCompleteResult, err error)
ListByMobileNetworkCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ServiceResourceId ¶
type ServiceResourceId struct {
Id string `json:"id"`
}
type SimPolicy ¶
type SimPolicy struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties SimPolicyPropertiesFormat `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type SimPolicyOperationPredicate ¶
func (SimPolicyOperationPredicate) Matches ¶
func (p SimPolicyOperationPredicate) Matches(input SimPolicy) bool
type SimPolicyPropertiesFormat ¶
type SimPolicyPropertiesFormat struct { DefaultSlice SliceResourceId `json:"defaultSlice"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` RegistrationTimer *int64 `json:"registrationTimer,omitempty"` RfspIndex *int64 `json:"rfspIndex,omitempty"` SiteProvisioningState *map[string]SiteProvisioningState `json:"siteProvisioningState,omitempty"` SliceConfigurations []SliceConfiguration `json:"sliceConfigurations"` UeAmbr Ambr `json:"ueAmbr"` }
type SiteProvisioningState ¶
type SiteProvisioningState string
const ( SiteProvisioningStateAdding SiteProvisioningState = "Adding" SiteProvisioningStateDeleting SiteProvisioningState = "Deleting" SiteProvisioningStateFailed SiteProvisioningState = "Failed" SiteProvisioningStateNotApplicable SiteProvisioningState = "NotApplicable" SiteProvisioningStateProvisioned SiteProvisioningState = "Provisioned" SiteProvisioningStateUpdating SiteProvisioningState = "Updating" )
func (*SiteProvisioningState) UnmarshalJSON ¶
func (s *SiteProvisioningState) UnmarshalJSON(bytes []byte) error
type SliceConfiguration ¶
type SliceConfiguration struct { DataNetworkConfigurations []DataNetworkConfiguration `json:"dataNetworkConfigurations"` DefaultDataNetwork DataNetworkResourceId `json:"defaultDataNetwork"` Slice SliceResourceId `json:"slice"` }
type SliceResourceId ¶
type SliceResourceId struct {
Id string `json:"id"`
}
Source Files ¶
- client.go
- constants.go
- id_mobilenetwork.go
- method_listbymobilenetwork.go
- model_ambr.go
- model_datanetworkconfiguration.go
- model_datanetworkresourceid.go
- model_serviceresourceid.go
- model_simpolicy.go
- model_simpolicypropertiesformat.go
- model_sliceconfiguration.go
- model_sliceresourceid.go
- predicates.go
- version.go