README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/mobilenetwork/2022-11-01/simpolicies
Documentation
The simpolicies
SDK allows for interaction with the Azure Resource Manager Service mobilenetwork
(API Version 2022-11-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/2022-11-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", "mobileNetworkValue")
// 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 ListByMobileNetworkOperationResponse
- type MobileNetworkId
- type PduSessionType
- type PreemptionCapability
- type PreemptionVulnerability
- type ProvisioningState
- type SIMPoliciesClient
- func (c SIMPoliciesClient) ListByMobileNetwork(ctx context.Context, id MobileNetworkId) (resp 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) (resp 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 ListByMobileNetworkCompleteResult ¶
type ListByMobileNetworkCompleteResult struct {
Items []SimPolicy
}
type ListByMobileNetworkOperationResponse ¶
type ListByMobileNetworkOperationResponse struct { HttpResponse *http.Response Model *[]SimPolicy // contains filtered or unexported fields }
func (ListByMobileNetworkOperationResponse) HasMore ¶
func (r ListByMobileNetworkOperationResponse) HasMore() bool
func (ListByMobileNetworkOperationResponse) LoadMore ¶
func (r ListByMobileNetworkOperationResponse) LoadMore(ctx context.Context) (resp ListByMobileNetworkOperationResponse, err error)
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) 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" )
type PreemptionCapability ¶
type PreemptionCapability string
const ( PreemptionCapabilityMayPreempt PreemptionCapability = "MayPreempt" PreemptionCapabilityNotPreempt PreemptionCapability = "NotPreempt" )
type PreemptionVulnerability ¶
type PreemptionVulnerability string
const ( PreemptionVulnerabilityNotPreemptable PreemptionVulnerability = "NotPreemptable" PreemptionVulnerabilityPreemptable PreemptionVulnerability = "Preemptable" )
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" )
type SIMPoliciesClient ¶
func NewSIMPoliciesClientWithBaseURI ¶
func NewSIMPoliciesClientWithBaseURI(endpoint string) SIMPoliciesClient
func (SIMPoliciesClient) ListByMobileNetwork ¶
func (c SIMPoliciesClient) ListByMobileNetwork(ctx context.Context, id MobileNetworkId) (resp ListByMobileNetworkOperationResponse, err error)
ListByMobileNetwork ...
func (SIMPoliciesClient) ListByMobileNetworkComplete ¶
func (c SIMPoliciesClient) ListByMobileNetworkComplete(ctx context.Context, id MobileNetworkId) (ListByMobileNetworkCompleteResult, error)
ListByMobileNetworkComplete retrieves all of the results into a single object
func (SIMPoliciesClient) ListByMobileNetworkCompleteMatchingPredicate ¶
func (c SIMPoliciesClient) ListByMobileNetworkCompleteMatchingPredicate(ctx context.Context, id MobileNetworkId, predicate SimPolicyOperationPredicate) (resp ListByMobileNetworkCompleteResult, err error)
ListByMobileNetworkCompleteMatchingPredicate retrieves all of the results and then applied 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" )
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_autorest.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