We recommend using Azure Native.
Azure v6.21.0 published on Friday, Mar 7, 2025 by Pulumi
azure.mobile.getNetworkSimPolicy
Explore with Pulumi AI
Get information about a Mobile Network Sim Policy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.mobile.getNetwork({
    name: "example-mn",
    resourceGroupName: "example-rg",
});
const exampleGetNetworkSimPolicy = example.then(example => azure.mobile.getNetworkSimPolicy({
    name: "example-mnsp",
    mobileNetworkId: example.id,
}));
import pulumi
import pulumi_azure as azure
example = azure.mobile.get_network(name="example-mn",
    resource_group_name="example-rg")
example_get_network_sim_policy = azure.mobile.get_network_sim_policy(name="example-mnsp",
    mobile_network_id=example.id)
package main
import (
	"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 := mobile.LookupNetwork(ctx, &mobile.LookupNetworkArgs{
			Name:              "example-mn",
			ResourceGroupName: "example-rg",
		}, nil)
		if err != nil {
			return err
		}
		_, err = mobile.LookupNetworkSimPolicy(ctx, &mobile.LookupNetworkSimPolicyArgs{
			Name:            "example-mnsp",
			MobileNetworkId: example.Id,
		}, nil)
		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 = Azure.Mobile.GetNetwork.Invoke(new()
    {
        Name = "example-mn",
        ResourceGroupName = "example-rg",
    });
    var exampleGetNetworkSimPolicy = Azure.Mobile.GetNetworkSimPolicy.Invoke(new()
    {
        Name = "example-mnsp",
        MobileNetworkId = example.Apply(getNetworkResult => getNetworkResult.Id),
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.mobile.MobileFunctions;
import com.pulumi.azure.mobile.inputs.GetNetworkArgs;
import com.pulumi.azure.mobile.inputs.GetNetworkSimPolicyArgs;
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) {
        final var example = MobileFunctions.getNetwork(GetNetworkArgs.builder()
            .name("example-mn")
            .resourceGroupName("example-rg")
            .build());
        final var exampleGetNetworkSimPolicy = MobileFunctions.getNetworkSimPolicy(GetNetworkSimPolicyArgs.builder()
            .name("example-mnsp")
            .mobileNetworkId(example.applyValue(getNetworkResult -> getNetworkResult.id()))
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: azure:mobile:getNetwork
      arguments:
        name: example-mn
        resourceGroupName: example-rg
  exampleGetNetworkSimPolicy:
    fn::invoke:
      function: azure:mobile:getNetworkSimPolicy
      arguments:
        name: example-mnsp
        mobileNetworkId: ${example.id}
Using getNetworkSimPolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNetworkSimPolicy(args: GetNetworkSimPolicyArgs, opts?: InvokeOptions): Promise<GetNetworkSimPolicyResult>
function getNetworkSimPolicyOutput(args: GetNetworkSimPolicyOutputArgs, opts?: InvokeOptions): Output<GetNetworkSimPolicyResult>def get_network_sim_policy(mobile_network_id: Optional[str] = None,
                           name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetNetworkSimPolicyResult
def get_network_sim_policy_output(mobile_network_id: Optional[pulumi.Input[str]] = None,
                           name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetNetworkSimPolicyResult]func LookupNetworkSimPolicy(ctx *Context, args *LookupNetworkSimPolicyArgs, opts ...InvokeOption) (*LookupNetworkSimPolicyResult, error)
func LookupNetworkSimPolicyOutput(ctx *Context, args *LookupNetworkSimPolicyOutputArgs, opts ...InvokeOption) LookupNetworkSimPolicyResultOutput> Note: This function is named LookupNetworkSimPolicy in the Go SDK.
public static class GetNetworkSimPolicy 
{
    public static Task<GetNetworkSimPolicyResult> InvokeAsync(GetNetworkSimPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetNetworkSimPolicyResult> Invoke(GetNetworkSimPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNetworkSimPolicyResult> getNetworkSimPolicy(GetNetworkSimPolicyArgs args, InvokeOptions options)
public static Output<GetNetworkSimPolicyResult> getNetworkSimPolicy(GetNetworkSimPolicyArgs args, InvokeOptions options)
fn::invoke:
  function: azure:mobile/getNetworkSimPolicy:getNetworkSimPolicy
  arguments:
    # arguments dictionaryThe following arguments are supported:
- MobileNetwork stringId 
- The ID of the Mobile Network which the Sim Policy belongs to.
- Name string
- The name which should be used for this Mobile Network Sim Policies.
- MobileNetwork stringId 
- The ID of the Mobile Network which the Sim Policy belongs to.
- Name string
- The name which should be used for this Mobile Network Sim Policies.
- mobileNetwork StringId 
- The ID of the Mobile Network which the Sim Policy belongs to.
- name String
- The name which should be used for this Mobile Network Sim Policies.
- mobileNetwork stringId 
- The ID of the Mobile Network which the Sim Policy belongs to.
- name string
- The name which should be used for this Mobile Network Sim Policies.
- mobile_network_ strid 
- The ID of the Mobile Network which the Sim Policy belongs to.
- name str
- The name which should be used for this Mobile Network Sim Policies.
- mobileNetwork StringId 
- The ID of the Mobile Network which the Sim Policy belongs to.
- name String
- The name which should be used for this Mobile Network Sim Policies.
getNetworkSimPolicy Result
The following output properties are available:
- DefaultSlice stringId 
- The ID of default slice to use if the UE does not explicitly specify it.
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The Azure Region where the Mobile Network Sim Policy should exist.
- MobileNetwork stringId 
- Name string
- RatFrequency intSelection Priority Index 
- RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
- RegistrationTimer intIn Seconds 
- Interval for the UE periodic registration update procedure.
- Slices
List<GetNetwork Sim Policy Slice> 
- An array of sliceblock as defined below. The allowed slices and the settings to use for them.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Mobile Network Sim Policies.
- UserEquipment List<GetAggregate Maximum Bit Rates Network Sim Policy User Equipment Aggregate Maximum Bit Rate> 
- A user_equipment_aggregate_maximum_bit_rateblock as defined below.
- DefaultSlice stringId 
- The ID of default slice to use if the UE does not explicitly specify it.
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The Azure Region where the Mobile Network Sim Policy should exist.
- MobileNetwork stringId 
- Name string
- RatFrequency intSelection Priority Index 
- RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
- RegistrationTimer intIn Seconds 
- Interval for the UE periodic registration update procedure.
- Slices
[]GetNetwork Sim Policy Slice 
- An array of sliceblock as defined below. The allowed slices and the settings to use for them.
- map[string]string
- A mapping of tags which should be assigned to the Mobile Network Sim Policies.
- UserEquipment []GetAggregate Maximum Bit Rates Network Sim Policy User Equipment Aggregate Maximum Bit Rate 
- A user_equipment_aggregate_maximum_bit_rateblock as defined below.
- defaultSlice StringId 
- The ID of default slice to use if the UE does not explicitly specify it.
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- The Azure Region where the Mobile Network Sim Policy should exist.
- mobileNetwork StringId 
- name String
- ratFrequency IntegerSelection Priority Index 
- RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
- registrationTimer IntegerIn Seconds 
- Interval for the UE periodic registration update procedure.
- slices
List<GetNetwork Sim Policy Slice> 
- An array of sliceblock as defined below. The allowed slices and the settings to use for them.
- Map<String,String>
- A mapping of tags which should be assigned to the Mobile Network Sim Policies.
- userEquipment List<GetAggregate Maximum Bit Rates Network Sim Policy User Equipment Aggregate Maximum Bit Rate> 
- A user_equipment_aggregate_maximum_bit_rateblock as defined below.
- defaultSlice stringId 
- The ID of default slice to use if the UE does not explicitly specify it.
- id string
- The provider-assigned unique ID for this managed resource.
- location string
- The Azure Region where the Mobile Network Sim Policy should exist.
- mobileNetwork stringId 
- name string
- ratFrequency numberSelection Priority Index 
- RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
- registrationTimer numberIn Seconds 
- Interval for the UE periodic registration update procedure.
- slices
GetNetwork Sim Policy Slice[] 
- An array of sliceblock as defined below. The allowed slices and the settings to use for them.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Mobile Network Sim Policies.
- userEquipment GetAggregate Maximum Bit Rates Network Sim Policy User Equipment Aggregate Maximum Bit Rate[] 
- A user_equipment_aggregate_maximum_bit_rateblock as defined below.
- default_slice_ strid 
- The ID of default slice to use if the UE does not explicitly specify it.
- id str
- The provider-assigned unique ID for this managed resource.
- location str
- The Azure Region where the Mobile Network Sim Policy should exist.
- mobile_network_ strid 
- name str
- rat_frequency_ intselection_ priority_ index 
- RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
- registration_timer_ intin_ seconds 
- Interval for the UE periodic registration update procedure.
- slices
Sequence[GetNetwork Sim Policy Slice] 
- An array of sliceblock as defined below. The allowed slices and the settings to use for them.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Mobile Network Sim Policies.
- user_equipment_ Sequence[Getaggregate_ maximum_ bit_ rates Network Sim Policy User Equipment Aggregate Maximum Bit Rate] 
- A user_equipment_aggregate_maximum_bit_rateblock as defined below.
- defaultSlice StringId 
- The ID of default slice to use if the UE does not explicitly specify it.
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- The Azure Region where the Mobile Network Sim Policy should exist.
- mobileNetwork StringId 
- name String
- ratFrequency NumberSelection Priority Index 
- RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
- registrationTimer NumberIn Seconds 
- Interval for the UE periodic registration update procedure.
- slices List<Property Map>
- An array of sliceblock as defined below. The allowed slices and the settings to use for them.
- Map<String>
- A mapping of tags which should be assigned to the Mobile Network Sim Policies.
- userEquipment List<Property Map>Aggregate Maximum Bit Rates 
- A user_equipment_aggregate_maximum_bit_rateblock as defined below.
Supporting Types
GetNetworkSimPolicySlice    
- DataNetworks List<GetNetwork Sim Policy Slice Data Network> 
- An array of data_networkblock as defined below.
- DefaultData stringNetwork Id 
- The ID of default data network to use if the UE does not explicitly specify it.
- SliceId string
- The ID of the slice that these settings apply to.
- DataNetworks []GetNetwork Sim Policy Slice Data Network 
- An array of data_networkblock as defined below.
- DefaultData stringNetwork Id 
- The ID of default data network to use if the UE does not explicitly specify it.
- SliceId string
- The ID of the slice that these settings apply to.
- dataNetworks List<GetNetwork Sim Policy Slice Data Network> 
- An array of data_networkblock as defined below.
- defaultData StringNetwork Id 
- The ID of default data network to use if the UE does not explicitly specify it.
- sliceId String
- The ID of the slice that these settings apply to.
- dataNetworks GetNetwork Sim Policy Slice Data Network[] 
- An array of data_networkblock as defined below.
- defaultData stringNetwork Id 
- The ID of default data network to use if the UE does not explicitly specify it.
- sliceId string
- The ID of the slice that these settings apply to.
- data_networks Sequence[GetNetwork Sim Policy Slice Data Network] 
- An array of data_networkblock as defined below.
- default_data_ strnetwork_ id 
- The ID of default data network to use if the UE does not explicitly specify it.
- slice_id str
- The ID of the slice that these settings apply to.
- dataNetworks List<Property Map>
- An array of data_networkblock as defined below.
- defaultData StringNetwork Id 
- The ID of default data network to use if the UE does not explicitly specify it.
- sliceId String
- The ID of the slice that these settings apply to.
GetNetworkSimPolicySliceDataNetwork      
- AdditionalAllowed List<string>Session Types 
- Allowed session types in addition to the default session type.
- AllocationAnd 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_capabilityandpreemption_vulnerabilityallow it. 1 is the highest level of priority. If this field is not specified thenqos_indicatoris used to derive the ARP value. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.
- AllowedServices List<string>Ids 
- An array of IDs of services that can be used as part of this SIM policy.
- DataNetwork stringId 
- The ID of Mobile Network Data Network which these settings apply to.
- DefaultSession stringType 
- The default PDU session type, which is used if the UE does not request a specific session type.
- MaxBuffered intPackets 
- The maximum number of downlink packets to buffer at the user plane for High Latency Communication - Extended Buffering.
- PreemptionCapability string
- The Preemption Capability of a QoS Flow 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.
- PreemptionVulnerability string
- The Preemption Vulnerability of a QoS Flow 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.
- QosIndicator int
- The QoS Indicator (5QI for 5G network /QCI for 4G net work) value identifies a set of QoS characteristics that control QoS forwarding treatment for QoS flows or EPS bearers.
- SessionAggregate List<GetMaximum Bit Rates Network Sim Policy Slice Data Network Session Aggregate Maximum Bit Rate> 
- A session_aggregate_maximum_bit_rateblock as defined below.
- AdditionalAllowed []stringSession Types 
- Allowed session types in addition to the default session type.
- AllocationAnd 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_capabilityandpreemption_vulnerabilityallow it. 1 is the highest level of priority. If this field is not specified thenqos_indicatoris used to derive the ARP value. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.
- AllowedServices []stringIds 
- An array of IDs of services that can be used as part of this SIM policy.
- DataNetwork stringId 
- The ID of Mobile Network Data Network which these settings apply to.
- DefaultSession stringType 
- The default PDU session type, which is used if the UE does not request a specific session type.
- MaxBuffered intPackets 
- The maximum number of downlink packets to buffer at the user plane for High Latency Communication - Extended Buffering.
- PreemptionCapability string
- The Preemption Capability of a QoS Flow 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.
- PreemptionVulnerability string
- The Preemption Vulnerability of a QoS Flow 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.
- QosIndicator int
- The QoS Indicator (5QI for 5G network /QCI for 4G net work) value identifies a set of QoS characteristics that control QoS forwarding treatment for QoS flows or EPS bearers.
- SessionAggregate []GetMaximum Bit Rates Network Sim Policy Slice Data Network Session Aggregate Maximum Bit Rate 
- A session_aggregate_maximum_bit_rateblock as defined below.
- additionalAllowed List<String>Session Types 
- Allowed session types in addition to the default session type.
- allocationAnd 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_capabilityandpreemption_vulnerabilityallow it. 1 is the highest level of priority. If this field is not specified thenqos_indicatoris used to derive the ARP value. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.
- allowedServices List<String>Ids 
- An array of IDs of services that can be used as part of this SIM policy.
- dataNetwork StringId 
- The ID of Mobile Network Data Network which these settings apply to.
- defaultSession StringType 
- The default PDU session type, which is used if the UE does not request a specific session type.
- maxBuffered IntegerPackets 
- The maximum number of downlink packets to buffer at the user plane for High Latency Communication - Extended Buffering.
- preemptionCapability String
- The Preemption Capability of a QoS Flow 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.
- preemptionVulnerability String
- The Preemption Vulnerability of a QoS Flow 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.
- qosIndicator Integer
- The QoS Indicator (5QI for 5G network /QCI for 4G net work) value identifies a set of QoS characteristics that control QoS forwarding treatment for QoS flows or EPS bearers.
- sessionAggregate List<GetMaximum Bit Rates Network Sim Policy Slice Data Network Session Aggregate Maximum Bit Rate> 
- A session_aggregate_maximum_bit_rateblock as defined below.
- additionalAllowed string[]Session Types 
- Allowed session types in addition to the default session type.
- allocationAnd 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_capabilityandpreemption_vulnerabilityallow it. 1 is the highest level of priority. If this field is not specified thenqos_indicatoris used to derive the ARP value. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.
- allowedServices string[]Ids 
- An array of IDs of services that can be used as part of this SIM policy.
- dataNetwork stringId 
- The ID of Mobile Network Data Network which these settings apply to.
- defaultSession stringType 
- The default PDU session type, which is used if the UE does not request a specific session type.
- maxBuffered numberPackets 
- The maximum number of downlink packets to buffer at the user plane for High Latency Communication - Extended Buffering.
- preemptionCapability string
- The Preemption Capability of a QoS Flow 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.
- preemptionVulnerability string
- The Preemption Vulnerability of a QoS Flow 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.
- qosIndicator number
- The QoS Indicator (5QI for 5G network /QCI for 4G net work) value identifies a set of QoS characteristics that control QoS forwarding treatment for QoS flows or EPS bearers.
- sessionAggregate GetMaximum Bit Rates Network Sim Policy Slice Data Network Session Aggregate Maximum Bit Rate[] 
- A session_aggregate_maximum_bit_rateblock as defined below.
- additional_allowed_ Sequence[str]session_ types 
- Allowed session types in addition to the default session type.
- 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_capabilityandpreemption_vulnerabilityallow it. 1 is the highest level of priority. If this field is not specified thenqos_indicatoris used to derive the ARP value. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.
- allowed_services_ Sequence[str]ids 
- An array of IDs of services that can be used as part of this SIM policy.
- data_network_ strid 
- The ID of Mobile Network Data Network which these settings apply to.
- default_session_ strtype 
- The default PDU session type, which is used if the UE does not request a specific session type.
- max_buffered_ intpackets 
- The maximum number of downlink packets to buffer at the user plane for High Latency Communication - Extended Buffering.
- preemption_capability str
- The Preemption Capability of a QoS Flow 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.
- preemption_vulnerability str
- The Preemption Vulnerability of a QoS Flow 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.
- qos_indicator int
- The QoS Indicator (5QI for 5G network /QCI for 4G net work) value identifies a set of QoS characteristics that control QoS forwarding treatment for QoS flows or EPS bearers.
- session_aggregate_ Sequence[Getmaximum_ bit_ rates Network Sim Policy Slice Data Network Session Aggregate Maximum Bit Rate] 
- A session_aggregate_maximum_bit_rateblock as defined below.
- additionalAllowed List<String>Session Types 
- Allowed session types in addition to the default session type.
- allocationAnd 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_capabilityandpreemption_vulnerabilityallow it. 1 is the highest level of priority. If this field is not specified thenqos_indicatoris used to derive the ARP value. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.
- allowedServices List<String>Ids 
- An array of IDs of services that can be used as part of this SIM policy.
- dataNetwork StringId 
- The ID of Mobile Network Data Network which these settings apply to.
- defaultSession StringType 
- The default PDU session type, which is used if the UE does not request a specific session type.
- maxBuffered NumberPackets 
- The maximum number of downlink packets to buffer at the user plane for High Latency Communication - Extended Buffering.
- preemptionCapability String
- The Preemption Capability of a QoS Flow 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.
- preemptionVulnerability String
- The Preemption Vulnerability of a QoS Flow 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.
- qosIndicator Number
- The QoS Indicator (5QI for 5G network /QCI for 4G net work) value identifies a set of QoS characteristics that control QoS forwarding treatment for QoS flows or EPS bearers.
- sessionAggregate List<Property Map>Maximum Bit Rates 
- A session_aggregate_maximum_bit_rateblock as defined below.
GetNetworkSimPolicySliceDataNetworkSessionAggregateMaximumBitRate           
GetNetworkSimPolicyUserEquipmentAggregateMaximumBitRate         
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.