Skip Navigation

Create a sim policy

Last updated: 3/10/2022

This template creates a service and sim policy for an existing mobile network.

This Azure Resource Manager template was created by a member of the community and not by Microsoft. Each Resource Manager template is licensed to you under a license agreement by its owner, not Microsoft. Microsoft is not responsible for Resource Manager templates provided and licensed by community members and does not screen for security, compatibility, or performance. Community Resource Manager templates are not supported under any Microsoft support program or service, and are made available AS IS without warranty of any kind.

Parameters

Parameter Name Description
location Region where the Mobile Network will be deployed (must match the resource group region)
existingMobileNetworkName Name of the Mobile Network to add a SIM policy to
existingSliceName Name of the existing slice to use for the SIM policy
existingDataNetworkName Name of the existing data network to use for the SIM policy
serviceName The name of the service
serviceMaximumBitRateUplink The maximum bit rate (MBR) for uploads across all service data flows that match data flow policy rules configured on the generic service
serviceMaximumBitRateDownlink The maximum bit rate (MBR) for downloads across all service data flows that match data flow policy rules configured on the generic service
servicePrecedence The precedence value for the service being deployed.
dataFlowPolicyRuleName The name of the data flow policy rule that will be created for this service.
dataFlowPolicyRulePrecedence The precedence value for the data flow policy rule being created.
dataFlowPolicyRuleTrafficControl Whether flows matching this data flow policy rule are permitted or blocked.
dataFlowTemplateProtocols Which protocols match this data flow policy rule. This should be either a list of IANA protocol numbers or the special value "ip"
dataFlowTemplateName The name of the data flow template that will be created for this service.
dataFlowTemplateDirection The direction of the flow to match with this data flow policy rule.
dataFlowTemplateRemoteIps The remote IP addresses that UEs will connect to for this flow. This should be either a list of IP addresses or the special value "any"
simPolicyName The name of the SIM policy
totalBandwidthAllowedUplink The UE aggregated maximum bit rate (UE-AMBR) for uploads across all non-GBR QoS flows for a particular UE
totalBandwidthAllowedDownlink The UE aggregated maximum bit rate (UE-AMBR) for downloads across all non-GBR QoS flows for a particular UE
sessionAggregateMaximumBitRateUplink The session aggregated maximum bit rate (Session-AMBR) for uploads across all non-GBR QoS flows of an individual PDU session involving a particular UE
sessionAggregateMaximumBitRateDownlink The session aggregated maximum bit rate (Session-AMBR) for downloads across all non-GBR QoS flows of an individual PDU session involving a particular UE

Use the template

PowerShell

New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deployment
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.mobilenetwork/mobilenetwork-create-sim-policy/azuredeploy.json
Install and configure Azure PowerShell

Command line

az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deployment
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.mobilenetwork/mobilenetwork-create-sim-policy/azuredeploy.json
Install and Configure the Azure Cross-Platform Command-Line Interface