1. Packages
  2. Azure Classic
  3. API Docs
  4. mobile
  5. NetworkSimPolicy

We recommend using Azure Native.

Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi

azure.mobile.NetworkSimPolicy

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi

    Manages a Mobile Network Sim Policy.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-resources",
        location: "West Europe",
    });
    const exampleNetwork = new azure.mobile.Network("example", {
        name: "example-mn",
        location: example.location,
        resourceGroupName: example.name,
        mobileCountryCode: "001",
        mobileNetworkCode: "01",
    });
    const exampleNetworkDataNetwork = new azure.mobile.NetworkDataNetwork("example", {
        name: "example-mndn",
        mobileNetworkId: exampleNetwork.id,
        location: example.location,
    });
    const exampleNetworkService = new azure.mobile.NetworkService("example", {
        name: "example-mns",
        mobileNetworkId: exampleNetwork.id,
        location: example.location,
        servicePrecedence: 0,
        pccRules: [{
            name: "default-rule",
            precedence: 1,
            trafficControlEnabled: true,
            serviceDataFlowTemplates: [{
                direction: "Uplink",
                name: "IP-to-server",
                ports: [],
                protocols: ["ip"],
                remoteIpLists: ["10.3.4.0/24"],
            }],
        }],
    });
    const exampleNetworkSlice = new azure.mobile.NetworkSlice("example", {
        name: "example-mns",
        mobileNetworkId: exampleNetwork.id,
        location: example.location,
        singleNetworkSliceSelectionAssistanceInformation: {
            sliceServiceType: 1,
        },
    });
    const exampleNetworkSimPolicy = new azure.mobile.NetworkSimPolicy("example", {
        name: "example-mnsp",
        mobileNetworkId: exampleNetwork.id,
        location: example.location,
        registrationTimerInSeconds: 3240,
        defaultSliceId: exampleNetworkSlice.id,
        slices: [{
            defaultDataNetworkId: exampleNetworkDataNetwork.id,
            sliceId: exampleNetworkSlice.id,
            dataNetworks: [{
                dataNetworkId: exampleNetworkDataNetwork.id,
                allocationAndRetentionPriorityLevel: 9,
                defaultSessionType: "IPv4",
                qosIndicator: 9,
                preemptionCapability: "NotPreempt",
                preemptionVulnerability: "Preemptable",
                allowedServicesIds: [exampleNetworkService.id],
                sessionAggregateMaximumBitRate: {
                    downlink: "1 Gbps",
                    uplink: "500 Mbps",
                },
            }],
        }],
        userEquipmentAggregateMaximumBitRate: {
            downlink: "1 Gbps",
            uplink: "500 Mbps",
        },
        tags: {
            key: "value",
        },
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    example_network = azure.mobile.Network("example",
        name="example-mn",
        location=example.location,
        resource_group_name=example.name,
        mobile_country_code="001",
        mobile_network_code="01")
    example_network_data_network = azure.mobile.NetworkDataNetwork("example",
        name="example-mndn",
        mobile_network_id=example_network.id,
        location=example.location)
    example_network_service = azure.mobile.NetworkService("example",
        name="example-mns",
        mobile_network_id=example_network.id,
        location=example.location,
        service_precedence=0,
        pcc_rules=[{
            "name": "default-rule",
            "precedence": 1,
            "traffic_control_enabled": True,
            "service_data_flow_templates": [{
                "direction": "Uplink",
                "name": "IP-to-server",
                "ports": [],
                "protocols": ["ip"],
                "remote_ip_lists": ["10.3.4.0/24"],
            }],
        }])
    example_network_slice = azure.mobile.NetworkSlice("example",
        name="example-mns",
        mobile_network_id=example_network.id,
        location=example.location,
        single_network_slice_selection_assistance_information={
            "slice_service_type": 1,
        })
    example_network_sim_policy = azure.mobile.NetworkSimPolicy("example",
        name="example-mnsp",
        mobile_network_id=example_network.id,
        location=example.location,
        registration_timer_in_seconds=3240,
        default_slice_id=example_network_slice.id,
        slices=[{
            "default_data_network_id": example_network_data_network.id,
            "slice_id": example_network_slice.id,
            "data_networks": [{
                "data_network_id": example_network_data_network.id,
                "allocation_and_retention_priority_level": 9,
                "default_session_type": "IPv4",
                "qos_indicator": 9,
                "preemption_capability": "NotPreempt",
                "preemption_vulnerability": "Preemptable",
                "allowed_services_ids": [example_network_service.id],
                "session_aggregate_maximum_bit_rate": {
                    "downlink": "1 Gbps",
                    "uplink": "500 Mbps",
                },
            }],
        }],
        user_equipment_aggregate_maximum_bit_rate={
            "downlink": "1 Gbps",
            "uplink": "500 Mbps",
        },
        tags={
            "key": "value",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/mobile"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleNetwork, err := mobile.NewNetwork(ctx, "example", &mobile.NetworkArgs{
    			Name:              pulumi.String("example-mn"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			MobileCountryCode: pulumi.String("001"),
    			MobileNetworkCode: pulumi.String("01"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleNetworkDataNetwork, err := mobile.NewNetworkDataNetwork(ctx, "example", &mobile.NetworkDataNetworkArgs{
    			Name:            pulumi.String("example-mndn"),
    			MobileNetworkId: exampleNetwork.ID(),
    			Location:        example.Location,
    		})
    		if err != nil {
    			return err
    		}
    		exampleNetworkService, err := mobile.NewNetworkService(ctx, "example", &mobile.NetworkServiceArgs{
    			Name:              pulumi.String("example-mns"),
    			MobileNetworkId:   exampleNetwork.ID(),
    			Location:          example.Location,
    			ServicePrecedence: pulumi.Int(0),
    			PccRules: mobile.NetworkServicePccRuleArray{
    				&mobile.NetworkServicePccRuleArgs{
    					Name:                  pulumi.String("default-rule"),
    					Precedence:            pulumi.Int(1),
    					TrafficControlEnabled: pulumi.Bool(true),
    					ServiceDataFlowTemplates: mobile.NetworkServicePccRuleServiceDataFlowTemplateArray{
    						&mobile.NetworkServicePccRuleServiceDataFlowTemplateArgs{
    							Direction: pulumi.String("Uplink"),
    							Name:      pulumi.String("IP-to-server"),
    							Ports:     pulumi.StringArray{},
    							Protocols: pulumi.StringArray{
    								pulumi.String("ip"),
    							},
    							RemoteIpLists: pulumi.StringArray{
    								pulumi.String("10.3.4.0/24"),
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleNetworkSlice, err := mobile.NewNetworkSlice(ctx, "example", &mobile.NetworkSliceArgs{
    			Name:            pulumi.String("example-mns"),
    			MobileNetworkId: exampleNetwork.ID(),
    			Location:        example.Location,
    			SingleNetworkSliceSelectionAssistanceInformation: &mobile.NetworkSliceSingleNetworkSliceSelectionAssistanceInformationArgs{
    				SliceServiceType: pulumi.Int(1),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = mobile.NewNetworkSimPolicy(ctx, "example", &mobile.NetworkSimPolicyArgs{
    			Name:                       pulumi.String("example-mnsp"),
    			MobileNetworkId:            exampleNetwork.ID(),
    			Location:                   example.Location,
    			RegistrationTimerInSeconds: pulumi.Int(3240),
    			DefaultSliceId:             exampleNetworkSlice.ID(),
    			Slices: mobile.NetworkSimPolicySliceArray{
    				&mobile.NetworkSimPolicySliceArgs{
    					DefaultDataNetworkId: exampleNetworkDataNetwork.ID(),
    					SliceId:              exampleNetworkSlice.ID(),
    					DataNetworks: mobile.NetworkSimPolicySliceDataNetworkArray{
    						&mobile.NetworkSimPolicySliceDataNetworkArgs{
    							DataNetworkId:                       exampleNetworkDataNetwork.ID(),
    							AllocationAndRetentionPriorityLevel: pulumi.Int(9),
    							DefaultSessionType:                  pulumi.String("IPv4"),
    							QosIndicator:                        pulumi.Int(9),
    							PreemptionCapability:                pulumi.String("NotPreempt"),
    							PreemptionVulnerability:             pulumi.String("Preemptable"),
    							AllowedServicesIds: pulumi.StringArray{
    								exampleNetworkService.ID(),
    							},
    							SessionAggregateMaximumBitRate: &mobile.NetworkSimPolicySliceDataNetworkSessionAggregateMaximumBitRateArgs{
    								Downlink: pulumi.String("1 Gbps"),
    								Uplink:   pulumi.String("500 Mbps"),
    							},
    						},
    					},
    				},
    			},
    			UserEquipmentAggregateMaximumBitRate: &mobile.NetworkSimPolicyUserEquipmentAggregateMaximumBitRateArgs{
    				Downlink: pulumi.String("1 Gbps"),
    				Uplink:   pulumi.String("500 Mbps"),
    			},
    			Tags: pulumi.StringMap{
    				"key": pulumi.String("value"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "West Europe",
        });
    
        var exampleNetwork = new Azure.Mobile.Network("example", new()
        {
            Name = "example-mn",
            Location = example.Location,
            ResourceGroupName = example.Name,
            MobileCountryCode = "001",
            MobileNetworkCode = "01",
        });
    
        var exampleNetworkDataNetwork = new Azure.Mobile.NetworkDataNetwork("example", new()
        {
            Name = "example-mndn",
            MobileNetworkId = exampleNetwork.Id,
            Location = example.Location,
        });
    
        var exampleNetworkService = new Azure.Mobile.NetworkService("example", new()
        {
            Name = "example-mns",
            MobileNetworkId = exampleNetwork.Id,
            Location = example.Location,
            ServicePrecedence = 0,
            PccRules = new[]
            {
                new Azure.Mobile.Inputs.NetworkServicePccRuleArgs
                {
                    Name = "default-rule",
                    Precedence = 1,
                    TrafficControlEnabled = true,
                    ServiceDataFlowTemplates = new[]
                    {
                        new Azure.Mobile.Inputs.NetworkServicePccRuleServiceDataFlowTemplateArgs
                        {
                            Direction = "Uplink",
                            Name = "IP-to-server",
                            Ports = new() { },
                            Protocols = new[]
                            {
                                "ip",
                            },
                            RemoteIpLists = new[]
                            {
                                "10.3.4.0/24",
                            },
                        },
                    },
                },
            },
        });
    
        var exampleNetworkSlice = new Azure.Mobile.NetworkSlice("example", new()
        {
            Name = "example-mns",
            MobileNetworkId = exampleNetwork.Id,
            Location = example.Location,
            SingleNetworkSliceSelectionAssistanceInformation = new Azure.Mobile.Inputs.NetworkSliceSingleNetworkSliceSelectionAssistanceInformationArgs
            {
                SliceServiceType = 1,
            },
        });
    
        var exampleNetworkSimPolicy = new Azure.Mobile.NetworkSimPolicy("example", new()
        {
            Name = "example-mnsp",
            MobileNetworkId = exampleNetwork.Id,
            Location = example.Location,
            RegistrationTimerInSeconds = 3240,
            DefaultSliceId = exampleNetworkSlice.Id,
            Slices = new[]
            {
                new Azure.Mobile.Inputs.NetworkSimPolicySliceArgs
                {
                    DefaultDataNetworkId = exampleNetworkDataNetwork.Id,
                    SliceId = exampleNetworkSlice.Id,
                    DataNetworks = new[]
                    {
                        new Azure.Mobile.Inputs.NetworkSimPolicySliceDataNetworkArgs
                        {
                            DataNetworkId = exampleNetworkDataNetwork.Id,
                            AllocationAndRetentionPriorityLevel = 9,
                            DefaultSessionType = "IPv4",
                            QosIndicator = 9,
                            PreemptionCapability = "NotPreempt",
                            PreemptionVulnerability = "Preemptable",
                            AllowedServicesIds = new[]
                            {
                                exampleNetworkService.Id,
                            },
                            SessionAggregateMaximumBitRate = new Azure.Mobile.Inputs.NetworkSimPolicySliceDataNetworkSessionAggregateMaximumBitRateArgs
                            {
                                Downlink = "1 Gbps",
                                Uplink = "500 Mbps",
                            },
                        },
                    },
                },
            },
            UserEquipmentAggregateMaximumBitRate = new Azure.Mobile.Inputs.NetworkSimPolicyUserEquipmentAggregateMaximumBitRateArgs
            {
                Downlink = "1 Gbps",
                Uplink = "500 Mbps",
            },
            Tags = 
            {
                { "key", "value" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.mobile.Network;
    import com.pulumi.azure.mobile.NetworkArgs;
    import com.pulumi.azure.mobile.NetworkDataNetwork;
    import com.pulumi.azure.mobile.NetworkDataNetworkArgs;
    import com.pulumi.azure.mobile.NetworkService;
    import com.pulumi.azure.mobile.NetworkServiceArgs;
    import com.pulumi.azure.mobile.inputs.NetworkServicePccRuleArgs;
    import com.pulumi.azure.mobile.NetworkSlice;
    import com.pulumi.azure.mobile.NetworkSliceArgs;
    import com.pulumi.azure.mobile.inputs.NetworkSliceSingleNetworkSliceSelectionAssistanceInformationArgs;
    import com.pulumi.azure.mobile.NetworkSimPolicy;
    import com.pulumi.azure.mobile.NetworkSimPolicyArgs;
    import com.pulumi.azure.mobile.inputs.NetworkSimPolicySliceArgs;
    import com.pulumi.azure.mobile.inputs.NetworkSimPolicyUserEquipmentAggregateMaximumBitRateArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ResourceGroup("example", ResourceGroupArgs.builder()
                .name("example-resources")
                .location("West Europe")
                .build());
    
            var exampleNetwork = new Network("exampleNetwork", NetworkArgs.builder()
                .name("example-mn")
                .location(example.location())
                .resourceGroupName(example.name())
                .mobileCountryCode("001")
                .mobileNetworkCode("01")
                .build());
    
            var exampleNetworkDataNetwork = new NetworkDataNetwork("exampleNetworkDataNetwork", NetworkDataNetworkArgs.builder()
                .name("example-mndn")
                .mobileNetworkId(exampleNetwork.id())
                .location(example.location())
                .build());
    
            var exampleNetworkService = new NetworkService("exampleNetworkService", NetworkServiceArgs.builder()
                .name("example-mns")
                .mobileNetworkId(exampleNetwork.id())
                .location(example.location())
                .servicePrecedence(0)
                .pccRules(NetworkServicePccRuleArgs.builder()
                    .name("default-rule")
                    .precedence(1)
                    .trafficControlEnabled(true)
                    .serviceDataFlowTemplates(NetworkServicePccRuleServiceDataFlowTemplateArgs.builder()
                        .direction("Uplink")
                        .name("IP-to-server")
                        .ports()
                        .protocols("ip")
                        .remoteIpLists("10.3.4.0/24")
                        .build())
                    .build())
                .build());
    
            var exampleNetworkSlice = new NetworkSlice("exampleNetworkSlice", NetworkSliceArgs.builder()
                .name("example-mns")
                .mobileNetworkId(exampleNetwork.id())
                .location(example.location())
                .singleNetworkSliceSelectionAssistanceInformation(NetworkSliceSingleNetworkSliceSelectionAssistanceInformationArgs.builder()
                    .sliceServiceType(1)
                    .build())
                .build());
    
            var exampleNetworkSimPolicy = new NetworkSimPolicy("exampleNetworkSimPolicy", NetworkSimPolicyArgs.builder()
                .name("example-mnsp")
                .mobileNetworkId(exampleNetwork.id())
                .location(example.location())
                .registrationTimerInSeconds(3240)
                .defaultSliceId(exampleNetworkSlice.id())
                .slices(NetworkSimPolicySliceArgs.builder()
                    .defaultDataNetworkId(exampleNetworkDataNetwork.id())
                    .sliceId(exampleNetworkSlice.id())
                    .dataNetworks(NetworkSimPolicySliceDataNetworkArgs.builder()
                        .dataNetworkId(exampleNetworkDataNetwork.id())
                        .allocationAndRetentionPriorityLevel(9)
                        .defaultSessionType("IPv4")
                        .qosIndicator(9)
                        .preemptionCapability("NotPreempt")
                        .preemptionVulnerability("Preemptable")
                        .allowedServicesIds(exampleNetworkService.id())
                        .sessionAggregateMaximumBitRate(NetworkSimPolicySliceDataNetworkSessionAggregateMaximumBitRateArgs.builder()
                            .downlink("1 Gbps")
                            .uplink("500 Mbps")
                            .build())
                        .build())
                    .build())
                .userEquipmentAggregateMaximumBitRate(NetworkSimPolicyUserEquipmentAggregateMaximumBitRateArgs.builder()
                    .downlink("1 Gbps")
                    .uplink("500 Mbps")
                    .build())
                .tags(Map.of("key", "value"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: West Europe
      exampleNetwork:
        type: azure:mobile:Network
        name: example
        properties:
          name: example-mn
          location: ${example.location}
          resourceGroupName: ${example.name}
          mobileCountryCode: '001'
          mobileNetworkCode: '01'
      exampleNetworkDataNetwork:
        type: azure:mobile:NetworkDataNetwork
        name: example
        properties:
          name: example-mndn
          mobileNetworkId: ${exampleNetwork.id}
          location: ${example.location}
      exampleNetworkService:
        type: azure:mobile:NetworkService
        name: example
        properties:
          name: example-mns
          mobileNetworkId: ${exampleNetwork.id}
          location: ${example.location}
          servicePrecedence: 0
          pccRules:
            - name: default-rule
              precedence: 1
              trafficControlEnabled: true
              serviceDataFlowTemplates:
                - direction: Uplink
                  name: IP-to-server
                  ports: []
                  protocols:
                    - ip
                  remoteIpLists:
                    - 10.3.4.0/24
      exampleNetworkSlice:
        type: azure:mobile:NetworkSlice
        name: example
        properties:
          name: example-mns
          mobileNetworkId: ${exampleNetwork.id}
          location: ${example.location}
          singleNetworkSliceSelectionAssistanceInformation:
            sliceServiceType: 1
      exampleNetworkSimPolicy:
        type: azure:mobile:NetworkSimPolicy
        name: example
        properties:
          name: example-mnsp
          mobileNetworkId: ${exampleNetwork.id}
          location: ${example.location}
          registrationTimerInSeconds: 3240
          defaultSliceId: ${exampleNetworkSlice.id}
          slices:
            - defaultDataNetworkId: ${exampleNetworkDataNetwork.id}
              sliceId: ${exampleNetworkSlice.id}
              dataNetworks:
                - dataNetworkId: ${exampleNetworkDataNetwork.id}
                  allocationAndRetentionPriorityLevel: 9
                  defaultSessionType: IPv4
                  qosIndicator: 9
                  preemptionCapability: NotPreempt
                  preemptionVulnerability: Preemptable
                  allowedServicesIds:
                    - ${exampleNetworkService.id}
                  sessionAggregateMaximumBitRate:
                    downlink: 1 Gbps
                    uplink: 500 Mbps
          userEquipmentAggregateMaximumBitRate:
            downlink: 1 Gbps
            uplink: 500 Mbps
          tags:
            key: value
    

    Create NetworkSimPolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new NetworkSimPolicy(name: string, args: NetworkSimPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def NetworkSimPolicy(resource_name: str,
                         args: NetworkSimPolicyArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def NetworkSimPolicy(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         default_slice_id: Optional[str] = None,
                         mobile_network_id: Optional[str] = None,
                         slices: Optional[Sequence[NetworkSimPolicySliceArgs]] = None,
                         user_equipment_aggregate_maximum_bit_rate: Optional[NetworkSimPolicyUserEquipmentAggregateMaximumBitRateArgs] = None,
                         location: Optional[str] = None,
                         name: Optional[str] = None,
                         rat_frequency_selection_priority_index: Optional[int] = None,
                         registration_timer_in_seconds: Optional[int] = None,
                         tags: Optional[Mapping[str, str]] = None)
    func NewNetworkSimPolicy(ctx *Context, name string, args NetworkSimPolicyArgs, opts ...ResourceOption) (*NetworkSimPolicy, error)
    public NetworkSimPolicy(string name, NetworkSimPolicyArgs args, CustomResourceOptions? opts = null)
    public NetworkSimPolicy(String name, NetworkSimPolicyArgs args)
    public NetworkSimPolicy(String name, NetworkSimPolicyArgs args, CustomResourceOptions options)
    
    type: azure:mobile:NetworkSimPolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args NetworkSimPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args NetworkSimPolicyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args NetworkSimPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NetworkSimPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NetworkSimPolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var networkSimPolicyResource = new Azure.Mobile.NetworkSimPolicy("networkSimPolicyResource", new()
    {
        DefaultSliceId = "string",
        MobileNetworkId = "string",
        Slices = new[]
        {
            new Azure.Mobile.Inputs.NetworkSimPolicySliceArgs
            {
                DataNetworks = new[]
                {
                    new Azure.Mobile.Inputs.NetworkSimPolicySliceDataNetworkArgs
                    {
                        AllowedServicesIds = new[]
                        {
                            "string",
                        },
                        DataNetworkId = "string",
                        QosIndicator = 0,
                        SessionAggregateMaximumBitRate = new Azure.Mobile.Inputs.NetworkSimPolicySliceDataNetworkSessionAggregateMaximumBitRateArgs
                        {
                            Downlink = "string",
                            Uplink = "string",
                        },
                        AdditionalAllowedSessionTypes = new[]
                        {
                            "string",
                        },
                        AllocationAndRetentionPriorityLevel = 0,
                        DefaultSessionType = "string",
                        MaxBufferedPackets = 0,
                        PreemptionCapability = "string",
                        PreemptionVulnerability = "string",
                    },
                },
                DefaultDataNetworkId = "string",
                SliceId = "string",
            },
        },
        UserEquipmentAggregateMaximumBitRate = new Azure.Mobile.Inputs.NetworkSimPolicyUserEquipmentAggregateMaximumBitRateArgs
        {
            Downlink = "string",
            Uplink = "string",
        },
        Location = "string",
        Name = "string",
        RatFrequencySelectionPriorityIndex = 0,
        RegistrationTimerInSeconds = 0,
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := mobile.NewNetworkSimPolicy(ctx, "networkSimPolicyResource", &mobile.NetworkSimPolicyArgs{
    	DefaultSliceId:  pulumi.String("string"),
    	MobileNetworkId: pulumi.String("string"),
    	Slices: mobile.NetworkSimPolicySliceArray{
    		&mobile.NetworkSimPolicySliceArgs{
    			DataNetworks: mobile.NetworkSimPolicySliceDataNetworkArray{
    				&mobile.NetworkSimPolicySliceDataNetworkArgs{
    					AllowedServicesIds: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					DataNetworkId: pulumi.String("string"),
    					QosIndicator:  pulumi.Int(0),
    					SessionAggregateMaximumBitRate: &mobile.NetworkSimPolicySliceDataNetworkSessionAggregateMaximumBitRateArgs{
    						Downlink: pulumi.String("string"),
    						Uplink:   pulumi.String("string"),
    					},
    					AdditionalAllowedSessionTypes: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					AllocationAndRetentionPriorityLevel: pulumi.Int(0),
    					DefaultSessionType:                  pulumi.String("string"),
    					MaxBufferedPackets:                  pulumi.Int(0),
    					PreemptionCapability:                pulumi.String("string"),
    					PreemptionVulnerability:             pulumi.String("string"),
    				},
    			},
    			DefaultDataNetworkId: pulumi.String("string"),
    			SliceId:              pulumi.String("string"),
    		},
    	},
    	UserEquipmentAggregateMaximumBitRate: &mobile.NetworkSimPolicyUserEquipmentAggregateMaximumBitRateArgs{
    		Downlink: pulumi.String("string"),
    		Uplink:   pulumi.String("string"),
    	},
    	Location:                           pulumi.String("string"),
    	Name:                               pulumi.String("string"),
    	RatFrequencySelectionPriorityIndex: pulumi.Int(0),
    	RegistrationTimerInSeconds:         pulumi.Int(0),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var networkSimPolicyResource = new NetworkSimPolicy("networkSimPolicyResource", NetworkSimPolicyArgs.builder()
        .defaultSliceId("string")
        .mobileNetworkId("string")
        .slices(NetworkSimPolicySliceArgs.builder()
            .dataNetworks(NetworkSimPolicySliceDataNetworkArgs.builder()
                .allowedServicesIds("string")
                .dataNetworkId("string")
                .qosIndicator(0)
                .sessionAggregateMaximumBitRate(NetworkSimPolicySliceDataNetworkSessionAggregateMaximumBitRateArgs.builder()
                    .downlink("string")
                    .uplink("string")
                    .build())
                .additionalAllowedSessionTypes("string")
                .allocationAndRetentionPriorityLevel(0)
                .defaultSessionType("string")
                .maxBufferedPackets(0)
                .preemptionCapability("string")
                .preemptionVulnerability("string")
                .build())
            .defaultDataNetworkId("string")
            .sliceId("string")
            .build())
        .userEquipmentAggregateMaximumBitRate(NetworkSimPolicyUserEquipmentAggregateMaximumBitRateArgs.builder()
            .downlink("string")
            .uplink("string")
            .build())
        .location("string")
        .name("string")
        .ratFrequencySelectionPriorityIndex(0)
        .registrationTimerInSeconds(0)
        .tags(Map.of("string", "string"))
        .build());
    
    network_sim_policy_resource = azure.mobile.NetworkSimPolicy("networkSimPolicyResource",
        default_slice_id="string",
        mobile_network_id="string",
        slices=[{
            "dataNetworks": [{
                "allowedServicesIds": ["string"],
                "dataNetworkId": "string",
                "qosIndicator": 0,
                "sessionAggregateMaximumBitRate": {
                    "downlink": "string",
                    "uplink": "string",
                },
                "additionalAllowedSessionTypes": ["string"],
                "allocationAndRetentionPriorityLevel": 0,
                "defaultSessionType": "string",
                "maxBufferedPackets": 0,
                "preemptionCapability": "string",
                "preemptionVulnerability": "string",
            }],
            "defaultDataNetworkId": "string",
            "sliceId": "string",
        }],
        user_equipment_aggregate_maximum_bit_rate={
            "downlink": "string",
            "uplink": "string",
        },
        location="string",
        name="string",
        rat_frequency_selection_priority_index=0,
        registration_timer_in_seconds=0,
        tags={
            "string": "string",
        })
    
    const networkSimPolicyResource = new azure.mobile.NetworkSimPolicy("networkSimPolicyResource", {
        defaultSliceId: "string",
        mobileNetworkId: "string",
        slices: [{
            dataNetworks: [{
                allowedServicesIds: ["string"],
                dataNetworkId: "string",
                qosIndicator: 0,
                sessionAggregateMaximumBitRate: {
                    downlink: "string",
                    uplink: "string",
                },
                additionalAllowedSessionTypes: ["string"],
                allocationAndRetentionPriorityLevel: 0,
                defaultSessionType: "string",
                maxBufferedPackets: 0,
                preemptionCapability: "string",
                preemptionVulnerability: "string",
            }],
            defaultDataNetworkId: "string",
            sliceId: "string",
        }],
        userEquipmentAggregateMaximumBitRate: {
            downlink: "string",
            uplink: "string",
        },
        location: "string",
        name: "string",
        ratFrequencySelectionPriorityIndex: 0,
        registrationTimerInSeconds: 0,
        tags: {
            string: "string",
        },
    });
    
    type: azure:mobile:NetworkSimPolicy
    properties:
        defaultSliceId: string
        location: string
        mobileNetworkId: string
        name: string
        ratFrequencySelectionPriorityIndex: 0
        registrationTimerInSeconds: 0
        slices:
            - dataNetworks:
                - additionalAllowedSessionTypes:
                    - string
                  allocationAndRetentionPriorityLevel: 0
                  allowedServicesIds:
                    - string
                  dataNetworkId: string
                  defaultSessionType: string
                  maxBufferedPackets: 0
                  preemptionCapability: string
                  preemptionVulnerability: string
                  qosIndicator: 0
                  sessionAggregateMaximumBitRate:
                    downlink: string
                    uplink: string
              defaultDataNetworkId: string
              sliceId: string
        tags:
            string: string
        userEquipmentAggregateMaximumBitRate:
            downlink: string
            uplink: string
    

    NetworkSimPolicy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The NetworkSimPolicy resource accepts the following input properties:

    DefaultSliceId string
    The ID of default slice to use if the UE does not explicitly specify it. This slice must exist in the slice block.
    MobileNetworkId string
    The ID of the Mobile Network which the Sim Policy belongs to. Changing this forces a new Mobile Network Sim Policies to be created.
    Slices List<NetworkSimPolicySlice>
    An array of slice block as defined below. The allowed slices and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
    UserEquipmentAggregateMaximumBitRate NetworkSimPolicyUserEquipmentAggregateMaximumBitRate
    A user_equipment_aggregate_maximum_bit_rate block as defined below.
    Location string
    Specifies the Azure Region where the Mobile Network Sim Policy should exist. Changing this forces a new Mobile Network Sim Policies to be created.
    Name string
    The name which should be used for this Mobile Network Sim Policies. Changing this forces a new Mobile Network Sim Policies to be created.
    RatFrequencySelectionPriorityIndex int
    RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
    RegistrationTimerInSeconds int
    Interval for the user equipment periodic registration update procedure. Defaults to 3240.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Mobile Network Sim Policies.
    DefaultSliceId string
    The ID of default slice to use if the UE does not explicitly specify it. This slice must exist in the slice block.
    MobileNetworkId string
    The ID of the Mobile Network which the Sim Policy belongs to. Changing this forces a new Mobile Network Sim Policies to be created.
    Slices []NetworkSimPolicySliceArgs
    An array of slice block as defined below. The allowed slices and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
    UserEquipmentAggregateMaximumBitRate NetworkSimPolicyUserEquipmentAggregateMaximumBitRateArgs
    A user_equipment_aggregate_maximum_bit_rate block as defined below.
    Location string
    Specifies the Azure Region where the Mobile Network Sim Policy should exist. Changing this forces a new Mobile Network Sim Policies to be created.
    Name string
    The name which should be used for this Mobile Network Sim Policies. Changing this forces a new Mobile Network Sim Policies to be created.
    RatFrequencySelectionPriorityIndex int
    RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
    RegistrationTimerInSeconds int
    Interval for the user equipment periodic registration update procedure. Defaults to 3240.
    Tags map[string]string
    A mapping of tags which should be assigned to the Mobile Network Sim Policies.
    defaultSliceId String
    The ID of default slice to use if the UE does not explicitly specify it. This slice must exist in the slice block.
    mobileNetworkId String
    The ID of the Mobile Network which the Sim Policy belongs to. Changing this forces a new Mobile Network Sim Policies to be created.
    slices List<NetworkSimPolicySlice>
    An array of slice block as defined below. The allowed slices and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
    userEquipmentAggregateMaximumBitRate NetworkSimPolicyUserEquipmentAggregateMaximumBitRate
    A user_equipment_aggregate_maximum_bit_rate block as defined below.
    location String
    Specifies the Azure Region where the Mobile Network Sim Policy should exist. Changing this forces a new Mobile Network Sim Policies to be created.
    name String
    The name which should be used for this Mobile Network Sim Policies. Changing this forces a new Mobile Network Sim Policies to be created.
    ratFrequencySelectionPriorityIndex Integer
    RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
    registrationTimerInSeconds Integer
    Interval for the user equipment periodic registration update procedure. Defaults to 3240.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Mobile Network Sim Policies.
    defaultSliceId string
    The ID of default slice to use if the UE does not explicitly specify it. This slice must exist in the slice block.
    mobileNetworkId string
    The ID of the Mobile Network which the Sim Policy belongs to. Changing this forces a new Mobile Network Sim Policies to be created.
    slices NetworkSimPolicySlice[]
    An array of slice block as defined below. The allowed slices and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
    userEquipmentAggregateMaximumBitRate NetworkSimPolicyUserEquipmentAggregateMaximumBitRate
    A user_equipment_aggregate_maximum_bit_rate block as defined below.
    location string
    Specifies the Azure Region where the Mobile Network Sim Policy should exist. Changing this forces a new Mobile Network Sim Policies to be created.
    name string
    The name which should be used for this Mobile Network Sim Policies. Changing this forces a new Mobile Network Sim Policies to be created.
    ratFrequencySelectionPriorityIndex number
    RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
    registrationTimerInSeconds number
    Interval for the user equipment periodic registration update procedure. Defaults to 3240.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Mobile Network Sim Policies.
    default_slice_id str
    The ID of default slice to use if the UE does not explicitly specify it. This slice must exist in the slice block.
    mobile_network_id str
    The ID of the Mobile Network which the Sim Policy belongs to. Changing this forces a new Mobile Network Sim Policies to be created.
    slices Sequence[NetworkSimPolicySliceArgs]
    An array of slice block as defined below. The allowed slices and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
    user_equipment_aggregate_maximum_bit_rate NetworkSimPolicyUserEquipmentAggregateMaximumBitRateArgs
    A user_equipment_aggregate_maximum_bit_rate block as defined below.
    location str
    Specifies the Azure Region where the Mobile Network Sim Policy should exist. Changing this forces a new Mobile Network Sim Policies to be created.
    name str
    The name which should be used for this Mobile Network Sim Policies. Changing this forces a new Mobile Network Sim Policies to be created.
    rat_frequency_selection_priority_index int
    RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
    registration_timer_in_seconds int
    Interval for the user equipment periodic registration update procedure. Defaults to 3240.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Mobile Network Sim Policies.
    defaultSliceId String
    The ID of default slice to use if the UE does not explicitly specify it. This slice must exist in the slice block.
    mobileNetworkId String
    The ID of the Mobile Network which the Sim Policy belongs to. Changing this forces a new Mobile Network Sim Policies to be created.
    slices List<Property Map>
    An array of slice block as defined below. The allowed slices and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
    userEquipmentAggregateMaximumBitRate Property Map
    A user_equipment_aggregate_maximum_bit_rate block as defined below.
    location String
    Specifies the Azure Region where the Mobile Network Sim Policy should exist. Changing this forces a new Mobile Network Sim Policies to be created.
    name String
    The name which should be used for this Mobile Network Sim Policies. Changing this forces a new Mobile Network Sim Policies to be created.
    ratFrequencySelectionPriorityIndex Number
    RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
    registrationTimerInSeconds Number
    Interval for the user equipment periodic registration update procedure. Defaults to 3240.
    tags Map<String>
    A mapping of tags which should be assigned to the Mobile Network Sim Policies.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the NetworkSimPolicy resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing NetworkSimPolicy Resource

    Get an existing NetworkSimPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: NetworkSimPolicyState, opts?: CustomResourceOptions): NetworkSimPolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            default_slice_id: Optional[str] = None,
            location: Optional[str] = None,
            mobile_network_id: Optional[str] = None,
            name: Optional[str] = None,
            rat_frequency_selection_priority_index: Optional[int] = None,
            registration_timer_in_seconds: Optional[int] = None,
            slices: Optional[Sequence[NetworkSimPolicySliceArgs]] = None,
            tags: Optional[Mapping[str, str]] = None,
            user_equipment_aggregate_maximum_bit_rate: Optional[NetworkSimPolicyUserEquipmentAggregateMaximumBitRateArgs] = None) -> NetworkSimPolicy
    func GetNetworkSimPolicy(ctx *Context, name string, id IDInput, state *NetworkSimPolicyState, opts ...ResourceOption) (*NetworkSimPolicy, error)
    public static NetworkSimPolicy Get(string name, Input<string> id, NetworkSimPolicyState? state, CustomResourceOptions? opts = null)
    public static NetworkSimPolicy get(String name, Output<String> id, NetworkSimPolicyState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    DefaultSliceId string
    The ID of default slice to use if the UE does not explicitly specify it. This slice must exist in the slice block.
    Location string
    Specifies the Azure Region where the Mobile Network Sim Policy should exist. Changing this forces a new Mobile Network Sim Policies to be created.
    MobileNetworkId string
    The ID of the Mobile Network which the Sim Policy belongs to. Changing this forces a new Mobile Network Sim Policies to be created.
    Name string
    The name which should be used for this Mobile Network Sim Policies. Changing this forces a new Mobile Network Sim Policies to be created.
    RatFrequencySelectionPriorityIndex int
    RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
    RegistrationTimerInSeconds int
    Interval for the user equipment periodic registration update procedure. Defaults to 3240.
    Slices List<NetworkSimPolicySlice>
    An array of slice block as defined below. The allowed slices and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Mobile Network Sim Policies.
    UserEquipmentAggregateMaximumBitRate NetworkSimPolicyUserEquipmentAggregateMaximumBitRate
    A user_equipment_aggregate_maximum_bit_rate block as defined below.
    DefaultSliceId string
    The ID of default slice to use if the UE does not explicitly specify it. This slice must exist in the slice block.
    Location string
    Specifies the Azure Region where the Mobile Network Sim Policy should exist. Changing this forces a new Mobile Network Sim Policies to be created.
    MobileNetworkId string
    The ID of the Mobile Network which the Sim Policy belongs to. Changing this forces a new Mobile Network Sim Policies to be created.
    Name string
    The name which should be used for this Mobile Network Sim Policies. Changing this forces a new Mobile Network Sim Policies to be created.
    RatFrequencySelectionPriorityIndex int
    RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
    RegistrationTimerInSeconds int
    Interval for the user equipment periodic registration update procedure. Defaults to 3240.
    Slices []NetworkSimPolicySliceArgs
    An array of slice block as defined below. The allowed slices and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
    Tags map[string]string
    A mapping of tags which should be assigned to the Mobile Network Sim Policies.
    UserEquipmentAggregateMaximumBitRate NetworkSimPolicyUserEquipmentAggregateMaximumBitRateArgs
    A user_equipment_aggregate_maximum_bit_rate block as defined below.
    defaultSliceId String
    The ID of default slice to use if the UE does not explicitly specify it. This slice must exist in the slice block.
    location String
    Specifies the Azure Region where the Mobile Network Sim Policy should exist. Changing this forces a new Mobile Network Sim Policies to be created.
    mobileNetworkId String
    The ID of the Mobile Network which the Sim Policy belongs to. Changing this forces a new Mobile Network Sim Policies to be created.
    name String
    The name which should be used for this Mobile Network Sim Policies. Changing this forces a new Mobile Network Sim Policies to be created.
    ratFrequencySelectionPriorityIndex Integer
    RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
    registrationTimerInSeconds Integer
    Interval for the user equipment periodic registration update procedure. Defaults to 3240.
    slices List<NetworkSimPolicySlice>
    An array of slice block as defined below. The allowed slices and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Mobile Network Sim Policies.
    userEquipmentAggregateMaximumBitRate NetworkSimPolicyUserEquipmentAggregateMaximumBitRate
    A user_equipment_aggregate_maximum_bit_rate block as defined below.
    defaultSliceId string
    The ID of default slice to use if the UE does not explicitly specify it. This slice must exist in the slice block.
    location string
    Specifies the Azure Region where the Mobile Network Sim Policy should exist. Changing this forces a new Mobile Network Sim Policies to be created.
    mobileNetworkId string
    The ID of the Mobile Network which the Sim Policy belongs to. Changing this forces a new Mobile Network Sim Policies to be created.
    name string
    The name which should be used for this Mobile Network Sim Policies. Changing this forces a new Mobile Network Sim Policies to be created.
    ratFrequencySelectionPriorityIndex number
    RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
    registrationTimerInSeconds number
    Interval for the user equipment periodic registration update procedure. Defaults to 3240.
    slices NetworkSimPolicySlice[]
    An array of slice block as defined below. The allowed slices and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Mobile Network Sim Policies.
    userEquipmentAggregateMaximumBitRate NetworkSimPolicyUserEquipmentAggregateMaximumBitRate
    A user_equipment_aggregate_maximum_bit_rate block as defined below.
    default_slice_id str
    The ID of default slice to use if the UE does not explicitly specify it. This slice must exist in the slice block.
    location str
    Specifies the Azure Region where the Mobile Network Sim Policy should exist. Changing this forces a new Mobile Network Sim Policies to be created.
    mobile_network_id str
    The ID of the Mobile Network which the Sim Policy belongs to. Changing this forces a new Mobile Network Sim Policies to be created.
    name str
    The name which should be used for this Mobile Network Sim Policies. Changing this forces a new Mobile Network Sim Policies to be created.
    rat_frequency_selection_priority_index int
    RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
    registration_timer_in_seconds int
    Interval for the user equipment periodic registration update procedure. Defaults to 3240.
    slices Sequence[NetworkSimPolicySliceArgs]
    An array of slice block as defined below. The allowed slices and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Mobile Network Sim Policies.
    user_equipment_aggregate_maximum_bit_rate NetworkSimPolicyUserEquipmentAggregateMaximumBitRateArgs
    A user_equipment_aggregate_maximum_bit_rate block as defined below.
    defaultSliceId String
    The ID of default slice to use if the UE does not explicitly specify it. This slice must exist in the slice block.
    location String
    Specifies the Azure Region where the Mobile Network Sim Policy should exist. Changing this forces a new Mobile Network Sim Policies to be created.
    mobileNetworkId String
    The ID of the Mobile Network which the Sim Policy belongs to. Changing this forces a new Mobile Network Sim Policies to be created.
    name String
    The name which should be used for this Mobile Network Sim Policies. Changing this forces a new Mobile Network Sim Policies to be created.
    ratFrequencySelectionPriorityIndex Number
    RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
    registrationTimerInSeconds Number
    Interval for the user equipment periodic registration update procedure. Defaults to 3240.
    slices List<Property Map>
    An array of slice block as defined below. The allowed slices and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
    tags Map<String>
    A mapping of tags which should be assigned to the Mobile Network Sim Policies.
    userEquipmentAggregateMaximumBitRate Property Map
    A user_equipment_aggregate_maximum_bit_rate block as defined below.

    Supporting Types

    NetworkSimPolicySlice, NetworkSimPolicySliceArgs

    DataNetworks List<NetworkSimPolicySliceDataNetwork>
    An array of data_network block as defined below.
    DefaultDataNetworkId string
    The ID of default data network to use if the user equipment does not explicitly specify it. Configuration for this object must exist in the data_network block.
    SliceId string
    The ID of the slice that these settings apply to.
    DataNetworks []NetworkSimPolicySliceDataNetwork
    An array of data_network block as defined below.
    DefaultDataNetworkId string
    The ID of default data network to use if the user equipment does not explicitly specify it. Configuration for this object must exist in the data_network block.
    SliceId string
    The ID of the slice that these settings apply to.
    dataNetworks List<NetworkSimPolicySliceDataNetwork>
    An array of data_network block as defined below.
    defaultDataNetworkId String
    The ID of default data network to use if the user equipment does not explicitly specify it. Configuration for this object must exist in the data_network block.
    sliceId String
    The ID of the slice that these settings apply to.
    dataNetworks NetworkSimPolicySliceDataNetwork[]
    An array of data_network block as defined below.
    defaultDataNetworkId string
    The ID of default data network to use if the user equipment does not explicitly specify it. Configuration for this object must exist in the data_network block.
    sliceId string
    The ID of the slice that these settings apply to.
    data_networks Sequence[NetworkSimPolicySliceDataNetwork]
    An array of data_network block as defined below.
    default_data_network_id str
    The ID of default data network to use if the user equipment does not explicitly specify it. Configuration for this object must exist in the data_network block.
    slice_id str
    The ID of the slice that these settings apply to.
    dataNetworks List<Property Map>
    An array of data_network block as defined below.
    defaultDataNetworkId String
    The ID of default data network to use if the user equipment does not explicitly specify it. Configuration for this object must exist in the data_network block.
    sliceId String
    The ID of the slice that these settings apply to.

    NetworkSimPolicySliceDataNetwork, NetworkSimPolicySliceDataNetworkArgs

    AllowedServicesIds List<string>
    An array of IDs of services that can be used as part of this SIM policy. The array must not contain duplicate items and must contain at least one item.
    DataNetworkId string
    The ID of Mobile Network Data Network which these settings apply to.
    QosIndicator int
    The QoS Indicator (5QI for 5G network /QCI for 4G net work) value identifies a set of QoS characteristics, it controls QoS forwarding treatment for QoS flows or EPS bearers. Recommended values: 5-9; 69-70; 79-80. Must be between 1 and 127.
    SessionAggregateMaximumBitRate NetworkSimPolicySliceDataNetworkSessionAggregateMaximumBitRate
    A session_aggregate_maximum_bit_rate block as defined below.
    AdditionalAllowedSessionTypes List<string>
    Allowed session types in addition to the default session type. Must not duplicate the default session type. Possible values are IPv4 and IPv6.
    AllocationAndRetentionPriorityLevel int
    Default QoS Flow allocation and retention priority (ARP) level. Flows with higher priority preempt flows with lower priority, if the settings of preemption_capability and preemption_vulnerability allow it. 1 is the highest level of priority. If this field is not specified then qos_indicator is used to derive the ARP value. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.
    DefaultSessionType string
    The default PDU session type, which is used if the user equipment does not request a specific session type. Possible values are IPv4 and IPv6. Defaults to IPv4.
    MaxBufferedPackets int
    The maximum number of downlink packets to buffer at the user plane for High Latency Communication - Extended Buffering. Defaults to 10, Must be at least 0, See 3GPP TS29.272 v15.10.0 section 7.3.188 for a full description. This maximum is not guaranteed because there is a internal limit on buffered packets across all PDU sessions.
    PreemptionCapability string
    The Preemption Capability of a QoS Flow, it controls whether it can preempt another QoS Flow with a lower priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters. Possible values are NotPreempt and MayPreempt, Defaults to NotPreempt.
    PreemptionVulnerability string
    The Preemption Vulnerability of a QoS Flow, it controls whether it can be preempted by QoS Flow with a higher priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters. Possible values are NotPreemptable and Preemptable. Defaults to NotPreemptable.
    AllowedServicesIds []string
    An array of IDs of services that can be used as part of this SIM policy. The array must not contain duplicate items and must contain at least one item.
    DataNetworkId string
    The ID of Mobile Network Data Network which these settings apply to.
    QosIndicator int
    The QoS Indicator (5QI for 5G network /QCI for 4G net work) value identifies a set of QoS characteristics, it controls QoS forwarding treatment for QoS flows or EPS bearers. Recommended values: 5-9; 69-70; 79-80. Must be between 1 and 127.
    SessionAggregateMaximumBitRate NetworkSimPolicySliceDataNetworkSessionAggregateMaximumBitRate
    A session_aggregate_maximum_bit_rate block as defined below.
    AdditionalAllowedSessionTypes []string
    Allowed session types in addition to the default session type. Must not duplicate the default session type. Possible values are IPv4 and IPv6.
    AllocationAndRetentionPriorityLevel int
    Default QoS Flow allocation and retention priority (ARP) level. Flows with higher priority preempt flows with lower priority, if the settings of preemption_capability and preemption_vulnerability allow it. 1 is the highest level of priority. If this field is not specified then qos_indicator is used to derive the ARP value. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.
    DefaultSessionType string
    The default PDU session type, which is used if the user equipment does not request a specific session type. Possible values are IPv4 and IPv6. Defaults to IPv4.
    MaxBufferedPackets int
    The maximum number of downlink packets to buffer at the user plane for High Latency Communication - Extended Buffering. Defaults to 10, Must be at least 0, See 3GPP TS29.272 v15.10.0 section 7.3.188 for a full description. This maximum is not guaranteed because there is a internal limit on buffered packets across all PDU sessions.
    PreemptionCapability string
    The Preemption Capability of a QoS Flow, it controls whether it can preempt another QoS Flow with a lower priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters. Possible values are NotPreempt and MayPreempt, Defaults to NotPreempt.
    PreemptionVulnerability string
    The Preemption Vulnerability of a QoS Flow, it controls whether it can be preempted by QoS Flow with a higher priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters. Possible values are NotPreemptable and Preemptable. Defaults to NotPreemptable.
    allowedServicesIds List<String>
    An array of IDs of services that can be used as part of this SIM policy. The array must not contain duplicate items and must contain at least one item.
    dataNetworkId String
    The ID of Mobile Network Data Network which these settings apply to.
    qosIndicator Integer
    The QoS Indicator (5QI for 5G network /QCI for 4G net work) value identifies a set of QoS characteristics, it controls QoS forwarding treatment for QoS flows or EPS bearers. Recommended values: 5-9; 69-70; 79-80. Must be between 1 and 127.
    sessionAggregateMaximumBitRate NetworkSimPolicySliceDataNetworkSessionAggregateMaximumBitRate
    A session_aggregate_maximum_bit_rate block as defined below.
    additionalAllowedSessionTypes List<String>
    Allowed session types in addition to the default session type. Must not duplicate the default session type. Possible values are IPv4 and IPv6.
    allocationAndRetentionPriorityLevel Integer
    Default QoS Flow allocation and retention priority (ARP) level. Flows with higher priority preempt flows with lower priority, if the settings of preemption_capability and preemption_vulnerability allow it. 1 is the highest level of priority. If this field is not specified then qos_indicator is used to derive the ARP value. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.
    defaultSessionType String
    The default PDU session type, which is used if the user equipment does not request a specific session type. Possible values are IPv4 and IPv6. Defaults to IPv4.
    maxBufferedPackets Integer
    The maximum number of downlink packets to buffer at the user plane for High Latency Communication - Extended Buffering. Defaults to 10, Must be at least 0, See 3GPP TS29.272 v15.10.0 section 7.3.188 for a full description. This maximum is not guaranteed because there is a internal limit on buffered packets across all PDU sessions.
    preemptionCapability String
    The Preemption Capability of a QoS Flow, it controls whether it can preempt another QoS Flow with a lower priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters. Possible values are NotPreempt and MayPreempt, Defaults to NotPreempt.
    preemptionVulnerability String
    The Preemption Vulnerability of a QoS Flow, it controls whether it can be preempted by QoS Flow with a higher priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters. Possible values are NotPreemptable and Preemptable. Defaults to NotPreemptable.
    allowedServicesIds string[]
    An array of IDs of services that can be used as part of this SIM policy. The array must not contain duplicate items and must contain at least one item.
    dataNetworkId string
    The ID of Mobile Network Data Network which these settings apply to.
    qosIndicator number
    The QoS Indicator (5QI for 5G network /QCI for 4G net work) value identifies a set of QoS characteristics, it controls QoS forwarding treatment for QoS flows or EPS bearers. Recommended values: 5-9; 69-70; 79-80. Must be between 1 and 127.
    sessionAggregateMaximumBitRate NetworkSimPolicySliceDataNetworkSessionAggregateMaximumBitRate
    A session_aggregate_maximum_bit_rate block as defined below.
    additionalAllowedSessionTypes string[]
    Allowed session types in addition to the default session type. Must not duplicate the default session type. Possible values are IPv4 and IPv6.
    allocationAndRetentionPriorityLevel number
    Default QoS Flow allocation and retention priority (ARP) level. Flows with higher priority preempt flows with lower priority, if the settings of preemption_capability and preemption_vulnerability allow it. 1 is the highest level of priority. If this field is not specified then qos_indicator is used to derive the ARP value. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.
    defaultSessionType string
    The default PDU session type, which is used if the user equipment does not request a specific session type. Possible values are IPv4 and IPv6. Defaults to IPv4.
    maxBufferedPackets number
    The maximum number of downlink packets to buffer at the user plane for High Latency Communication - Extended Buffering. Defaults to 10, Must be at least 0, See 3GPP TS29.272 v15.10.0 section 7.3.188 for a full description. This maximum is not guaranteed because there is a internal limit on buffered packets across all PDU sessions.
    preemptionCapability string
    The Preemption Capability of a QoS Flow, it controls whether it can preempt another QoS Flow with a lower priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters. Possible values are NotPreempt and MayPreempt, Defaults to NotPreempt.
    preemptionVulnerability string
    The Preemption Vulnerability of a QoS Flow, it controls whether it can be preempted by QoS Flow with a higher priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters. Possible values are NotPreemptable and Preemptable. Defaults to NotPreemptable.
    allowed_services_ids Sequence[str]
    An array of IDs of services that can be used as part of this SIM policy. The array must not contain duplicate items and must contain at least one item.
    data_network_id str
    The ID of Mobile Network Data Network which these settings apply to.
    qos_indicator int
    The QoS Indicator (5QI for 5G network /QCI for 4G net work) value identifies a set of QoS characteristics, it controls QoS forwarding treatment for QoS flows or EPS bearers. Recommended values: 5-9; 69-70; 79-80. Must be between 1 and 127.
    session_aggregate_maximum_bit_rate NetworkSimPolicySliceDataNetworkSessionAggregateMaximumBitRate
    A session_aggregate_maximum_bit_rate block as defined below.
    additional_allowed_session_types Sequence[str]
    Allowed session types in addition to the default session type. Must not duplicate the default session type. Possible values are IPv4 and IPv6.
    allocation_and_retention_priority_level int
    Default QoS Flow allocation and retention priority (ARP) level. Flows with higher priority preempt flows with lower priority, if the settings of preemption_capability and preemption_vulnerability allow it. 1 is the highest level of priority. If this field is not specified then qos_indicator is used to derive the ARP value. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.
    default_session_type str
    The default PDU session type, which is used if the user equipment does not request a specific session type. Possible values are IPv4 and IPv6. Defaults to IPv4.
    max_buffered_packets int
    The maximum number of downlink packets to buffer at the user plane for High Latency Communication - Extended Buffering. Defaults to 10, Must be at least 0, See 3GPP TS29.272 v15.10.0 section 7.3.188 for a full description. This maximum is not guaranteed because there is a internal limit on buffered packets across all PDU sessions.
    preemption_capability str
    The Preemption Capability of a QoS Flow, it controls whether it can preempt another QoS Flow with a lower priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters. Possible values are NotPreempt and MayPreempt, Defaults to NotPreempt.
    preemption_vulnerability str
    The Preemption Vulnerability of a QoS Flow, it controls whether it can be preempted by QoS Flow with a higher priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters. Possible values are NotPreemptable and Preemptable. Defaults to NotPreemptable.
    allowedServicesIds List<String>
    An array of IDs of services that can be used as part of this SIM policy. The array must not contain duplicate items and must contain at least one item.
    dataNetworkId String
    The ID of Mobile Network Data Network which these settings apply to.
    qosIndicator Number
    The QoS Indicator (5QI for 5G network /QCI for 4G net work) value identifies a set of QoS characteristics, it controls QoS forwarding treatment for QoS flows or EPS bearers. Recommended values: 5-9; 69-70; 79-80. Must be between 1 and 127.
    sessionAggregateMaximumBitRate Property Map
    A session_aggregate_maximum_bit_rate block as defined below.
    additionalAllowedSessionTypes List<String>
    Allowed session types in addition to the default session type. Must not duplicate the default session type. Possible values are IPv4 and IPv6.
    allocationAndRetentionPriorityLevel Number
    Default QoS Flow allocation and retention priority (ARP) level. Flows with higher priority preempt flows with lower priority, if the settings of preemption_capability and preemption_vulnerability allow it. 1 is the highest level of priority. If this field is not specified then qos_indicator is used to derive the ARP value. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.
    defaultSessionType String
    The default PDU session type, which is used if the user equipment does not request a specific session type. Possible values are IPv4 and IPv6. Defaults to IPv4.
    maxBufferedPackets Number
    The maximum number of downlink packets to buffer at the user plane for High Latency Communication - Extended Buffering. Defaults to 10, Must be at least 0, See 3GPP TS29.272 v15.10.0 section 7.3.188 for a full description. This maximum is not guaranteed because there is a internal limit on buffered packets across all PDU sessions.
    preemptionCapability String
    The Preemption Capability of a QoS Flow, it controls whether it can preempt another QoS Flow with a lower priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters. Possible values are NotPreempt and MayPreempt, Defaults to NotPreempt.
    preemptionVulnerability String
    The Preemption Vulnerability of a QoS Flow, it controls whether it can be preempted by QoS Flow with a higher priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters. Possible values are NotPreemptable and Preemptable. Defaults to NotPreemptable.

    NetworkSimPolicySliceDataNetworkSessionAggregateMaximumBitRate, NetworkSimPolicySliceDataNetworkSessionAggregateMaximumBitRateArgs

    Downlink string
    Downlink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.
    Uplink string
    Uplink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.
    Downlink string
    Downlink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.
    Uplink string
    Uplink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.
    downlink String
    Downlink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.
    uplink String
    Uplink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.
    downlink string
    Downlink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.
    uplink string
    Uplink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.
    downlink str
    Downlink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.
    uplink str
    Uplink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.
    downlink String
    Downlink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.
    uplink String
    Uplink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.

    NetworkSimPolicyUserEquipmentAggregateMaximumBitRate, NetworkSimPolicyUserEquipmentAggregateMaximumBitRateArgs

    Downlink string
    Downlink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.
    Uplink string
    Uplink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.
    Downlink string
    Downlink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.
    Uplink string
    Uplink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.
    downlink String
    Downlink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.
    uplink String
    Uplink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.
    downlink string
    Downlink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.
    uplink string
    Uplink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.
    downlink str
    Downlink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.
    uplink str
    Uplink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.
    downlink String
    Downlink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.
    uplink String
    Uplink bit rate. Must be a number followed by Kbps, Mbps, Gbps or Tbps.

    Import

    Mobile Network Sim Policies can be imported using the resource id, e.g.

    $ pulumi import azure:mobile/networkSimPolicy:NetworkSimPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.MobileNetwork/mobileNetworks/mobileNetwork1/simPolicies/simPolicy1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi