跳过导航

Azure 快速入门模板目前提供英文版

Create a sim policy

rainbowFi 提供
上次更新时间: 2022/3/10

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

此 Azure Resource Manager (ARM) 模板由社区的某个成员(而不是由 Microsoft)创建。每个 ARM 模板都根据其所有者(不是 Microsoft)的许可协议向你授予许可。Microsoft 不对由社区成员提供并授予许可的 ARM 模板负责,并且不针对安全性、兼容性和性能进行筛选。社区 ARM 模板不由任何 Microsoft 支持计划或服务提供支持,按“原样”提供,没有任何种类的担保。

参数

参数名 说明
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

使用模板

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
安装和配置 Azure PowerShell

命令行

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
安装和配置 Azure 跨平台命令行界面