We recommend using Azure Native.
azure.mobile.NetworkSimPolicy
Explore with Pulumi AI
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=[{
"data_networks": [{
"allowed_services_ids": ["string"],
"data_network_id": "string",
"qos_indicator": 0,
"session_aggregate_maximum_bit_rate": {
"downlink": "string",
"uplink": "string",
},
"additional_allowed_session_types": ["string"],
"allocation_and_retention_priority_level": 0,
"default_session_type": "string",
"max_buffered_packets": 0,
"preemption_capability": "string",
"preemption_vulnerability": "string",
}],
"default_data_network_id": "string",
"slice_id": "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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The NetworkSimPolicy resource accepts the following input properties:
- Default
Slice stringId - 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 stringId - 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<Network
Sim Policy Slice> - 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 NetworkAggregate Maximum Bit Rate Sim Policy User Equipment Aggregate Maximum Bit Rate - 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.
- Rat
Frequency intSelection Priority Index - RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
- Registration
Timer intIn Seconds - Interval for the user equipment periodic registration update procedure. Defaults to
3240
. - Dictionary<string, string>
- A mapping of tags which should be assigned to the Mobile Network Sim Policies.
- Default
Slice stringId - 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 stringId - 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
[]Network
Sim Policy Slice Args - 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 NetworkAggregate Maximum Bit Rate Sim Policy User Equipment Aggregate Maximum Bit Rate Args - 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.
- Rat
Frequency intSelection Priority Index - RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
- Registration
Timer intIn Seconds - Interval for the user equipment periodic registration update procedure. Defaults to
3240
. - map[string]string
- A mapping of tags which should be assigned to the Mobile Network Sim Policies.
- default
Slice StringId - 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 StringId - 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<Network
Sim Policy Slice> - 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 NetworkAggregate Maximum Bit Rate Sim Policy User Equipment Aggregate Maximum Bit Rate - 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.
- rat
Frequency IntegerSelection Priority Index - RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
- registration
Timer IntegerIn Seconds - Interval for the user equipment periodic registration update procedure. Defaults to
3240
. - Map<String,String>
- A mapping of tags which should be assigned to the Mobile Network Sim Policies.
- default
Slice stringId - 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 stringId - 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
Network
Sim Policy Slice[] - 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 NetworkAggregate Maximum Bit Rate Sim Policy User Equipment Aggregate Maximum Bit Rate - 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.
- rat
Frequency numberSelection Priority Index - RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
- registration
Timer numberIn Seconds - Interval for the user equipment periodic registration update procedure. Defaults to
3240
. - {[key: string]: string}
- A mapping of tags which should be assigned to the Mobile Network Sim Policies.
- default_
slice_ strid - 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_ strid - 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[Network
Sim Policy Slice Args] - 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_ Networkaggregate_ maximum_ bit_ rate Sim Policy User Equipment Aggregate Maximum Bit Rate Args - 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_ intselection_ priority_ index - RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
- registration_
timer_ intin_ seconds - Interval for the user equipment periodic registration update procedure. Defaults to
3240
. - Mapping[str, str]
- A mapping of tags which should be assigned to the Mobile Network Sim Policies.
- default
Slice StringId - 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 StringId - 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. - user
Equipment Property MapAggregate Maximum Bit Rate - 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.
- rat
Frequency NumberSelection Priority Index - RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
- registration
Timer NumberIn Seconds - Interval for the user equipment periodic registration update procedure. Defaults to
3240
. - 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.
- Default
Slice stringId - 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.
- Mobile
Network stringId - 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.
- Rat
Frequency intSelection Priority Index - RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
- Registration
Timer intIn Seconds - Interval for the user equipment periodic registration update procedure. Defaults to
3240
. - Slices
List<Network
Sim Policy Slice> - 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. - Dictionary<string, string>
- A mapping of tags which should be assigned to the Mobile Network Sim Policies.
- User
Equipment NetworkAggregate Maximum Bit Rate Sim Policy User Equipment Aggregate Maximum Bit Rate - A
user_equipment_aggregate_maximum_bit_rate
block as defined below.
- Default
Slice stringId - 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.
- Mobile
Network stringId - 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.
- Rat
Frequency intSelection Priority Index - RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
- Registration
Timer intIn Seconds - Interval for the user equipment periodic registration update procedure. Defaults to
3240
. - Slices
[]Network
Sim Policy Slice Args - 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. - map[string]string
- A mapping of tags which should be assigned to the Mobile Network Sim Policies.
- User
Equipment NetworkAggregate Maximum Bit Rate Sim Policy User Equipment Aggregate Maximum Bit Rate Args - A
user_equipment_aggregate_maximum_bit_rate
block as defined below.
- default
Slice StringId - 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.
- mobile
Network StringId - 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.
- rat
Frequency IntegerSelection Priority Index - RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
- registration
Timer IntegerIn Seconds - Interval for the user equipment periodic registration update procedure. Defaults to
3240
. - slices
List<Network
Sim Policy Slice> - 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. - Map<String,String>
- A mapping of tags which should be assigned to the Mobile Network Sim Policies.
- user
Equipment NetworkAggregate Maximum Bit Rate Sim Policy User Equipment Aggregate Maximum Bit Rate - A
user_equipment_aggregate_maximum_bit_rate
block as defined below.
- default
Slice stringId - 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.
- mobile
Network stringId - 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.
- rat
Frequency numberSelection Priority Index - RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
- registration
Timer numberIn Seconds - Interval for the user equipment periodic registration update procedure. Defaults to
3240
. - slices
Network
Sim Policy Slice[] - 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. - {[key: string]: string}
- A mapping of tags which should be assigned to the Mobile Network Sim Policies.
- user
Equipment NetworkAggregate Maximum Bit Rate Sim Policy User Equipment Aggregate Maximum Bit Rate - A
user_equipment_aggregate_maximum_bit_rate
block as defined below.
- default_
slice_ strid - 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_ strid - 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_ intselection_ priority_ index - RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
- registration_
timer_ intin_ seconds - Interval for the user equipment periodic registration update procedure. Defaults to
3240
. - slices
Sequence[Network
Sim Policy Slice Args] - 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. - Mapping[str, str]
- A mapping of tags which should be assigned to the Mobile Network Sim Policies.
- user_
equipment_ Networkaggregate_ maximum_ bit_ rate Sim Policy User Equipment Aggregate Maximum Bit Rate Args - A
user_equipment_aggregate_maximum_bit_rate
block as defined below.
- default
Slice StringId - 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.
- mobile
Network StringId - 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.
- rat
Frequency NumberSelection Priority Index - RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
- registration
Timer NumberIn Seconds - 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. - Map<String>
- A mapping of tags which should be assigned to the Mobile Network Sim Policies.
- user
Equipment Property MapAggregate Maximum Bit Rate - A
user_equipment_aggregate_maximum_bit_rate
block as defined below.
Supporting Types
NetworkSimPolicySlice, NetworkSimPolicySliceArgs
- Data
Networks List<NetworkSim Policy Slice Data Network> - An array of
data_network
block as defined below. - Default
Data stringNetwork Id - 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 string - The ID of the slice that these settings apply to.
- Data
Networks []NetworkSim Policy Slice Data Network - An array of
data_network
block as defined below. - Default
Data stringNetwork Id - 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 string - The ID of the slice that these settings apply to.
- data
Networks List<NetworkSim Policy Slice Data Network> - An array of
data_network
block as defined below. - default
Data StringNetwork Id - 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 String - The ID of the slice that these settings apply to.
- data
Networks NetworkSim Policy Slice Data Network[] - An array of
data_network
block as defined below. - default
Data stringNetwork Id - 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 string - The ID of the slice that these settings apply to.
- data_
networks Sequence[NetworkSim Policy Slice Data Network] - An array of
data_network
block as defined below. - default_
data_ strnetwork_ id - 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.
- data
Networks List<Property Map> - An array of
data_network
block as defined below. - default
Data StringNetwork Id - 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 String - The ID of the slice that these settings apply to.
NetworkSimPolicySliceDataNetwork, NetworkSimPolicySliceDataNetworkArgs
- Allowed
Services List<string>Ids - 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 stringId - 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
and127
. - Session
Aggregate NetworkMaximum Bit Rate Sim Policy Slice Data Network Session Aggregate Maximum Bit Rate - A
session_aggregate_maximum_bit_rate
block as defined below. - Additional
Allowed List<string>Session Types - Allowed session types in addition to the default session type. Must not duplicate the default session type. Possible values are
IPv4
andIPv6
. - Allocation
And intRetention Priority Level - Default QoS Flow allocation and retention priority (ARP) level. Flows with higher priority preempt flows with lower priority, if the settings of
preemption_capability
andpreemption_vulnerability
allow it.1
is the highest level of priority. If this field is not specified thenqos_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 stringType - The default PDU session type, which is used if the user equipment does not request a specific session type. Possible values are
IPv4
andIPv6
. Defaults toIPv4
. - Max
Buffered intPackets - The maximum number of downlink packets to buffer at the user plane for High Latency Communication - Extended Buffering. Defaults to
10
, Must be at least0
, 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 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
andMayPreempt
, Defaults toNotPreempt
. - Preemption
Vulnerability 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
andPreemptable
. Defaults toNotPreemptable
.
- Allowed
Services []stringIds - 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 stringId - 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
and127
. - Session
Aggregate NetworkMaximum Bit Rate Sim Policy Slice Data Network Session Aggregate Maximum Bit Rate - A
session_aggregate_maximum_bit_rate
block as defined below. - Additional
Allowed []stringSession Types - Allowed session types in addition to the default session type. Must not duplicate the default session type. Possible values are
IPv4
andIPv6
. - Allocation
And intRetention Priority Level - Default QoS Flow allocation and retention priority (ARP) level. Flows with higher priority preempt flows with lower priority, if the settings of
preemption_capability
andpreemption_vulnerability
allow it.1
is the highest level of priority. If this field is not specified thenqos_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 stringType - The default PDU session type, which is used if the user equipment does not request a specific session type. Possible values are
IPv4
andIPv6
. Defaults toIPv4
. - Max
Buffered intPackets - The maximum number of downlink packets to buffer at the user plane for High Latency Communication - Extended Buffering. Defaults to
10
, Must be at least0
, 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 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
andMayPreempt
, Defaults toNotPreempt
. - Preemption
Vulnerability 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
andPreemptable
. Defaults toNotPreemptable
.
- allowed
Services List<String>Ids - 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 StringId - The ID of Mobile Network Data Network which these settings apply to.
- qos
Indicator 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
and127
. - session
Aggregate NetworkMaximum Bit Rate Sim Policy Slice Data Network Session Aggregate Maximum Bit Rate - A
session_aggregate_maximum_bit_rate
block as defined below. - additional
Allowed List<String>Session Types - Allowed session types in addition to the default session type. Must not duplicate the default session type. Possible values are
IPv4
andIPv6
. - allocation
And IntegerRetention Priority Level - Default QoS Flow allocation and retention priority (ARP) level. Flows with higher priority preempt flows with lower priority, if the settings of
preemption_capability
andpreemption_vulnerability
allow it.1
is the highest level of priority. If this field is not specified thenqos_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 StringType - The default PDU session type, which is used if the user equipment does not request a specific session type. Possible values are
IPv4
andIPv6
. Defaults toIPv4
. - max
Buffered IntegerPackets - The maximum number of downlink packets to buffer at the user plane for High Latency Communication - Extended Buffering. Defaults to
10
, Must be at least0
, 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 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
andMayPreempt
, Defaults toNotPreempt
. - preemption
Vulnerability 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
andPreemptable
. Defaults toNotPreemptable
.
- allowed
Services string[]Ids - 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 stringId - The ID of Mobile Network Data Network which these settings apply to.
- qos
Indicator 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
and127
. - session
Aggregate NetworkMaximum Bit Rate Sim Policy Slice Data Network Session Aggregate Maximum Bit Rate - A
session_aggregate_maximum_bit_rate
block as defined below. - additional
Allowed string[]Session Types - Allowed session types in addition to the default session type. Must not duplicate the default session type. Possible values are
IPv4
andIPv6
. - allocation
And numberRetention Priority Level - Default QoS Flow allocation and retention priority (ARP) level. Flows with higher priority preempt flows with lower priority, if the settings of
preemption_capability
andpreemption_vulnerability
allow it.1
is the highest level of priority. If this field is not specified thenqos_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 stringType - The default PDU session type, which is used if the user equipment does not request a specific session type. Possible values are
IPv4
andIPv6
. Defaults toIPv4
. - max
Buffered numberPackets - The maximum number of downlink packets to buffer at the user plane for High Latency Communication - Extended Buffering. Defaults to
10
, Must be at least0
, 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 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
andMayPreempt
, Defaults toNotPreempt
. - preemption
Vulnerability 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
andPreemptable
. Defaults toNotPreemptable
.
- allowed_
services_ Sequence[str]ids - 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_ strid - 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
and127
. - session_
aggregate_ Networkmaximum_ bit_ rate Sim Policy Slice Data Network Session Aggregate Maximum Bit Rate - A
session_aggregate_maximum_bit_rate
block as defined below. - additional_
allowed_ Sequence[str]session_ types - Allowed session types in addition to the default session type. Must not duplicate the default session type. Possible values are
IPv4
andIPv6
. - allocation_
and_ intretention_ priority_ level - Default QoS Flow allocation and retention priority (ARP) level. Flows with higher priority preempt flows with lower priority, if the settings of
preemption_capability
andpreemption_vulnerability
allow it.1
is the highest level of priority. If this field is not specified thenqos_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_ strtype - The default PDU session type, which is used if the user equipment does not request a specific session type. Possible values are
IPv4
andIPv6
. Defaults toIPv4
. - max_
buffered_ intpackets - The maximum number of downlink packets to buffer at the user plane for High Latency Communication - Extended Buffering. Defaults to
10
, Must be at least0
, 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
andMayPreempt
, Defaults toNotPreempt
. - 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
andPreemptable
. Defaults toNotPreemptable
.
- allowed
Services List<String>Ids - 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 StringId - The ID of Mobile Network Data Network which these settings apply to.
- qos
Indicator 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
and127
. - session
Aggregate Property MapMaximum Bit Rate - A
session_aggregate_maximum_bit_rate
block as defined below. - additional
Allowed List<String>Session Types - Allowed session types in addition to the default session type. Must not duplicate the default session type. Possible values are
IPv4
andIPv6
. - allocation
And NumberRetention Priority Level - Default QoS Flow allocation and retention priority (ARP) level. Flows with higher priority preempt flows with lower priority, if the settings of
preemption_capability
andpreemption_vulnerability
allow it.1
is the highest level of priority. If this field is not specified thenqos_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 StringType - The default PDU session type, which is used if the user equipment does not request a specific session type. Possible values are
IPv4
andIPv6
. Defaults toIPv4
. - max
Buffered NumberPackets - The maximum number of downlink packets to buffer at the user plane for High Latency Communication - Extended Buffering. Defaults to
10
, Must be at least0
, 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 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
andMayPreempt
, Defaults toNotPreempt
. - preemption
Vulnerability 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
andPreemptable
. Defaults toNotPreemptable
.
NetworkSimPolicySliceDataNetworkSessionAggregateMaximumBitRate, NetworkSimPolicySliceDataNetworkSessionAggregateMaximumBitRateArgs
NetworkSimPolicyUserEquipmentAggregateMaximumBitRate, NetworkSimPolicyUserEquipmentAggregateMaximumBitRateArgs
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.