We recommend using Azure Native.
Azure Classic v6.2.0 published on Friday, Sep 27, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure:mobile/getNetworkSimPolicy:getNetworkSimPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Mobile
Network 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 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 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 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.
- mobile
Network 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:
- Default
Slice 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.
- Mobile
Network stringId - Name string
- 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
List<Get
Network Sim Policy Slice> - An array of
slice
block 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.
- User
Equipment List<GetAggregate Maximum Bit Rates Network 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The Azure Region where the Mobile Network Sim Policy should exist.
- Mobile
Network stringId - Name string
- 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
[]Get
Network Sim Policy Slice - An array of
slice
block 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.
- User
Equipment []GetAggregate Maximum Bit Rates Network 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.
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- The Azure Region where the Mobile Network Sim Policy should exist.
- mobile
Network StringId - name String
- rat
Frequency IntegerSelection Priority Index - RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
- registration
Timer IntegerIn Seconds - Interval for the UE periodic registration update procedure.
- slices
List<Get
Network Sim Policy Slice> - An array of
slice
block 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.
- user
Equipment List<GetAggregate Maximum Bit Rates Network 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.
- id string
- The provider-assigned unique ID for this managed resource.
- location string
- The Azure Region where the Mobile Network Sim Policy should exist.
- mobile
Network stringId - name string
- rat
Frequency numberSelection Priority Index - RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
- registration
Timer numberIn Seconds - Interval for the UE periodic registration update procedure.
- slices
Get
Network Sim Policy Slice[] - An array of
slice
block 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.
- user
Equipment GetAggregate Maximum Bit Rates Network 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.
- 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[Get
Network Sim Policy Slice] - An array of
slice
block 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_rate
block as defined below.
- default
Slice 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.
- mobile
Network StringId - name String
- rat
Frequency NumberSelection Priority Index - RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413.
- registration
Timer NumberIn Seconds - Interval for the UE periodic registration update procedure.
- slices List<Property Map>
- An array of
slice
block 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.
- user
Equipment List<Property Map>Aggregate Maximum Bit Rates - A
user_equipment_aggregate_maximum_bit_rate
block as defined below.
Supporting Types
GetNetworkSimPolicySlice
- Data
Networks List<GetNetwork Sim 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 UE does not explicitly specify it.
- Slice
Id string - The ID of the slice that these settings apply to.
- Data
Networks []GetNetwork Sim 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 UE does not explicitly specify it.
- Slice
Id string - The ID of the slice that these settings apply to.
- data
Networks List<GetNetwork Sim 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 UE does not explicitly specify it.
- slice
Id String - The ID of the slice that these settings apply to.
- data
Networks GetNetwork Sim 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 UE does not explicitly specify it.
- slice
Id string - The ID of the slice that these settings apply to.
- data_
networks Sequence[GetNetwork Sim 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 UE does not explicitly specify it.
- 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 UE does not explicitly specify it.
- slice
Id String - The ID of the slice that these settings apply to.
GetNetworkSimPolicySliceDataNetwork
- Additional
Allowed List<string>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_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. - Allowed
Services List<string>Ids - An array of IDs of services that can be used as part of this SIM policy.
- Data
Network stringId - The ID of Mobile Network Data Network which these settings apply to.
- Default
Session stringType - 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 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.
- Preemption
Vulnerability 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.
- 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 List<GetMaximum Bit Rates Network 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.
- 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. - Allowed
Services []stringIds - An array of IDs of services that can be used as part of this SIM policy.
- Data
Network stringId - The ID of Mobile Network Data Network which these settings apply to.
- Default
Session stringType - 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 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.
- Preemption
Vulnerability 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.
- 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 []GetMaximum Bit Rates Network 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.
- 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. - allowed
Services List<String>Ids - An array of IDs of services that can be used as part of this SIM policy.
- data
Network StringId - The ID of Mobile Network Data Network which these settings apply to.
- default
Session StringType - The default PDU session type, which is used if the UE does not request a specific session type.
- max
Buffered IntegerPackets - The maximum number of downlink packets to buffer at the user plane for High Latency Communication - Extended Buffering.
- preemption
Capability 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.
- preemption
Vulnerability 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.
- qos
Indicator 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.
- session
Aggregate List<GetMaximum Bit Rates Network 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.
- 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. - allowed
Services string[]Ids - An array of IDs of services that can be used as part of this SIM policy.
- data
Network stringId - The ID of Mobile Network Data Network which these settings apply to.
- default
Session stringType - The default PDU session type, which is used if the UE does not request a specific session type.
- max
Buffered numberPackets - The maximum number of downlink packets to buffer at the user plane for High Latency Communication - Extended Buffering.
- preemption
Capability 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.
- preemption
Vulnerability 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.
- qos
Indicator 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.
- session
Aggregate GetMaximum Bit Rates Network 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.
- 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. - 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_rate
block as defined below.
- additional
Allowed List<String>Session Types - Allowed session types in addition to the default session type.
- 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. - allowed
Services List<String>Ids - An array of IDs of services that can be used as part of this SIM policy.
- data
Network StringId - The ID of Mobile Network Data Network which these settings apply to.
- default
Session StringType - The default PDU session type, which is used if the UE does not request a specific session type.
- max
Buffered NumberPackets - The maximum number of downlink packets to buffer at the user plane for High Latency Communication - Extended Buffering.
- preemption
Capability 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.
- preemption
Vulnerability 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.
- qos
Indicator 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.
- session
Aggregate List<Property Map>Maximum Bit Rates - A
session_aggregate_maximum_bit_rate
block 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
azurerm
Terraform Provider.