We recommend using Azure Native.
azure.mobile.NetworkSim
Explore with Pulumi AI
Manages a Mobile Network Sim.
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 exampleNetworkSimGroup = new azure.mobile.NetworkSimGroup("example", {
name: "example-mnsg",
location: example.location,
mobileNetworkId: exampleNetwork.id,
});
const exampleNetworkSlice = new azure.mobile.NetworkSlice("example", {
name: "example-slice",
mobileNetworkId: exampleNetwork.id,
location: example.location,
singleNetworkSliceSelectionAssistanceInformation: {
sliceServiceType: 1,
},
});
const exampleNetworkAttachedDataNetwork = new azure.mobile.NetworkAttachedDataNetwork("example", {
mobileNetworkDataNetworkName: exampleAzurermMobileNetworkDataNetwork.name,
mobileNetworkPacketCoreDataPlaneId: exampleAzurermMobileNetworkPacketCoreDataPlane.id,
location: example.location,
dnsAddresses: ["1.1.1.1"],
userEquipmentAddressPoolPrefixes: ["2.4.0.0/24"],
userEquipmentStaticAddressPoolPrefixes: ["2.4.1.0/24"],
userPlaneAccessName: "test",
userPlaneAccessIpv4Address: "10.204.141.4",
userPlaneAccessIpv4Gateway: "10.204.141.1",
userPlaneAccessIpv4Subnet: "10.204.141.0/24",
});
const exampleNetworkSim = new azure.mobile.NetworkSim("example", {
name: "example-sim",
mobileNetworkSimGroupId: exampleNetworkSimGroup.id,
authenticationKey: "00000000000000000000000000000000",
integratedCircuitCardIdentifier: "8900000000000000000",
internationalMobileSubscriberIdentity: "000000000000000",
operatorKeyCode: "00000000000000000000000000000000",
staticIpConfigurations: [{
attachedDataNetworkId: test.id,
sliceId: testAzurermMobileNetworkSlice.id,
staticIpv4Address: "2.4.0.1",
}],
});
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_sim_group = azure.mobile.NetworkSimGroup("example",
name="example-mnsg",
location=example.location,
mobile_network_id=example_network.id)
example_network_slice = azure.mobile.NetworkSlice("example",
name="example-slice",
mobile_network_id=example_network.id,
location=example.location,
single_network_slice_selection_assistance_information=azure.mobile.NetworkSliceSingleNetworkSliceSelectionAssistanceInformationArgs(
slice_service_type=1,
))
example_network_attached_data_network = azure.mobile.NetworkAttachedDataNetwork("example",
mobile_network_data_network_name=example_azurerm_mobile_network_data_network["name"],
mobile_network_packet_core_data_plane_id=example_azurerm_mobile_network_packet_core_data_plane["id"],
location=example.location,
dns_addresses=["1.1.1.1"],
user_equipment_address_pool_prefixes=["2.4.0.0/24"],
user_equipment_static_address_pool_prefixes=["2.4.1.0/24"],
user_plane_access_name="test",
user_plane_access_ipv4_address="10.204.141.4",
user_plane_access_ipv4_gateway="10.204.141.1",
user_plane_access_ipv4_subnet="10.204.141.0/24")
example_network_sim = azure.mobile.NetworkSim("example",
name="example-sim",
mobile_network_sim_group_id=example_network_sim_group.id,
authentication_key="00000000000000000000000000000000",
integrated_circuit_card_identifier="8900000000000000000",
international_mobile_subscriber_identity="000000000000000",
operator_key_code="00000000000000000000000000000000",
static_ip_configurations=[azure.mobile.NetworkSimStaticIpConfigurationArgs(
attached_data_network_id=test["id"],
slice_id=test_azurerm_mobile_network_slice["id"],
static_ipv4_address="2.4.0.1",
)])
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/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
}
exampleNetworkSimGroup, err := mobile.NewNetworkSimGroup(ctx, "example", &mobile.NetworkSimGroupArgs{
Name: pulumi.String("example-mnsg"),
Location: example.Location,
MobileNetworkId: exampleNetwork.ID(),
})
if err != nil {
return err
}
_, err = mobile.NewNetworkSlice(ctx, "example", &mobile.NetworkSliceArgs{
Name: pulumi.String("example-slice"),
MobileNetworkId: exampleNetwork.ID(),
Location: example.Location,
SingleNetworkSliceSelectionAssistanceInformation: &mobile.NetworkSliceSingleNetworkSliceSelectionAssistanceInformationArgs{
SliceServiceType: pulumi.Int(1),
},
})
if err != nil {
return err
}
_, err = mobile.NewNetworkAttachedDataNetwork(ctx, "example", &mobile.NetworkAttachedDataNetworkArgs{
MobileNetworkDataNetworkName: pulumi.Any(exampleAzurermMobileNetworkDataNetwork.Name),
MobileNetworkPacketCoreDataPlaneId: pulumi.Any(exampleAzurermMobileNetworkPacketCoreDataPlane.Id),
Location: example.Location,
DnsAddresses: pulumi.StringArray{
pulumi.String("1.1.1.1"),
},
UserEquipmentAddressPoolPrefixes: pulumi.StringArray{
pulumi.String("2.4.0.0/24"),
},
UserEquipmentStaticAddressPoolPrefixes: pulumi.StringArray{
pulumi.String("2.4.1.0/24"),
},
UserPlaneAccessName: pulumi.String("test"),
UserPlaneAccessIpv4Address: pulumi.String("10.204.141.4"),
UserPlaneAccessIpv4Gateway: pulumi.String("10.204.141.1"),
UserPlaneAccessIpv4Subnet: pulumi.String("10.204.141.0/24"),
})
if err != nil {
return err
}
_, err = mobile.NewNetworkSim(ctx, "example", &mobile.NetworkSimArgs{
Name: pulumi.String("example-sim"),
MobileNetworkSimGroupId: exampleNetworkSimGroup.ID(),
AuthenticationKey: pulumi.String("00000000000000000000000000000000"),
IntegratedCircuitCardIdentifier: pulumi.String("8900000000000000000"),
InternationalMobileSubscriberIdentity: pulumi.String("000000000000000"),
OperatorKeyCode: pulumi.String("00000000000000000000000000000000"),
StaticIpConfigurations: mobile.NetworkSimStaticIpConfigurationArray{
&mobile.NetworkSimStaticIpConfigurationArgs{
AttachedDataNetworkId: pulumi.Any(test.Id),
SliceId: pulumi.Any(testAzurermMobileNetworkSlice.Id),
StaticIpv4Address: pulumi.String("2.4.0.1"),
},
},
})
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 exampleNetworkSimGroup = new Azure.Mobile.NetworkSimGroup("example", new()
{
Name = "example-mnsg",
Location = example.Location,
MobileNetworkId = exampleNetwork.Id,
});
var exampleNetworkSlice = new Azure.Mobile.NetworkSlice("example", new()
{
Name = "example-slice",
MobileNetworkId = exampleNetwork.Id,
Location = example.Location,
SingleNetworkSliceSelectionAssistanceInformation = new Azure.Mobile.Inputs.NetworkSliceSingleNetworkSliceSelectionAssistanceInformationArgs
{
SliceServiceType = 1,
},
});
var exampleNetworkAttachedDataNetwork = new Azure.Mobile.NetworkAttachedDataNetwork("example", new()
{
MobileNetworkDataNetworkName = exampleAzurermMobileNetworkDataNetwork.Name,
MobileNetworkPacketCoreDataPlaneId = exampleAzurermMobileNetworkPacketCoreDataPlane.Id,
Location = example.Location,
DnsAddresses = new[]
{
"1.1.1.1",
},
UserEquipmentAddressPoolPrefixes = new[]
{
"2.4.0.0/24",
},
UserEquipmentStaticAddressPoolPrefixes = new[]
{
"2.4.1.0/24",
},
UserPlaneAccessName = "test",
UserPlaneAccessIpv4Address = "10.204.141.4",
UserPlaneAccessIpv4Gateway = "10.204.141.1",
UserPlaneAccessIpv4Subnet = "10.204.141.0/24",
});
var exampleNetworkSim = new Azure.Mobile.NetworkSim("example", new()
{
Name = "example-sim",
MobileNetworkSimGroupId = exampleNetworkSimGroup.Id,
AuthenticationKey = "00000000000000000000000000000000",
IntegratedCircuitCardIdentifier = "8900000000000000000",
InternationalMobileSubscriberIdentity = "000000000000000",
OperatorKeyCode = "00000000000000000000000000000000",
StaticIpConfigurations = new[]
{
new Azure.Mobile.Inputs.NetworkSimStaticIpConfigurationArgs
{
AttachedDataNetworkId = test.Id,
SliceId = testAzurermMobileNetworkSlice.Id,
StaticIpv4Address = "2.4.0.1",
},
},
});
});
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.NetworkSimGroup;
import com.pulumi.azure.mobile.NetworkSimGroupArgs;
import com.pulumi.azure.mobile.NetworkSlice;
import com.pulumi.azure.mobile.NetworkSliceArgs;
import com.pulumi.azure.mobile.inputs.NetworkSliceSingleNetworkSliceSelectionAssistanceInformationArgs;
import com.pulumi.azure.mobile.NetworkAttachedDataNetwork;
import com.pulumi.azure.mobile.NetworkAttachedDataNetworkArgs;
import com.pulumi.azure.mobile.NetworkSim;
import com.pulumi.azure.mobile.NetworkSimArgs;
import com.pulumi.azure.mobile.inputs.NetworkSimStaticIpConfigurationArgs;
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 exampleNetworkSimGroup = new NetworkSimGroup("exampleNetworkSimGroup", NetworkSimGroupArgs.builder()
.name("example-mnsg")
.location(example.location())
.mobileNetworkId(exampleNetwork.id())
.build());
var exampleNetworkSlice = new NetworkSlice("exampleNetworkSlice", NetworkSliceArgs.builder()
.name("example-slice")
.mobileNetworkId(exampleNetwork.id())
.location(example.location())
.singleNetworkSliceSelectionAssistanceInformation(NetworkSliceSingleNetworkSliceSelectionAssistanceInformationArgs.builder()
.sliceServiceType(1)
.build())
.build());
var exampleNetworkAttachedDataNetwork = new NetworkAttachedDataNetwork("exampleNetworkAttachedDataNetwork", NetworkAttachedDataNetworkArgs.builder()
.mobileNetworkDataNetworkName(exampleAzurermMobileNetworkDataNetwork.name())
.mobileNetworkPacketCoreDataPlaneId(exampleAzurermMobileNetworkPacketCoreDataPlane.id())
.location(example.location())
.dnsAddresses("1.1.1.1")
.userEquipmentAddressPoolPrefixes("2.4.0.0/24")
.userEquipmentStaticAddressPoolPrefixes("2.4.1.0/24")
.userPlaneAccessName("test")
.userPlaneAccessIpv4Address("10.204.141.4")
.userPlaneAccessIpv4Gateway("10.204.141.1")
.userPlaneAccessIpv4Subnet("10.204.141.0/24")
.build());
var exampleNetworkSim = new NetworkSim("exampleNetworkSim", NetworkSimArgs.builder()
.name("example-sim")
.mobileNetworkSimGroupId(exampleNetworkSimGroup.id())
.authenticationKey("00000000000000000000000000000000")
.integratedCircuitCardIdentifier("8900000000000000000")
.internationalMobileSubscriberIdentity("000000000000000")
.operatorKeyCode("00000000000000000000000000000000")
.staticIpConfigurations(NetworkSimStaticIpConfigurationArgs.builder()
.attachedDataNetworkId(test.id())
.sliceId(testAzurermMobileNetworkSlice.id())
.staticIpv4Address("2.4.0.1")
.build())
.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'
exampleNetworkSimGroup:
type: azure:mobile:NetworkSimGroup
name: example
properties:
name: example-mnsg
location: ${example.location}
mobileNetworkId: ${exampleNetwork.id}
exampleNetworkSlice:
type: azure:mobile:NetworkSlice
name: example
properties:
name: example-slice
mobileNetworkId: ${exampleNetwork.id}
location: ${example.location}
singleNetworkSliceSelectionAssistanceInformation:
sliceServiceType: 1
exampleNetworkAttachedDataNetwork:
type: azure:mobile:NetworkAttachedDataNetwork
name: example
properties:
mobileNetworkDataNetworkName: ${exampleAzurermMobileNetworkDataNetwork.name}
mobileNetworkPacketCoreDataPlaneId: ${exampleAzurermMobileNetworkPacketCoreDataPlane.id}
location: ${example.location}
dnsAddresses:
- 1.1.1.1
userEquipmentAddressPoolPrefixes:
- 2.4.0.0/24
userEquipmentStaticAddressPoolPrefixes:
- 2.4.1.0/24
userPlaneAccessName: test
userPlaneAccessIpv4Address: 10.204.141.4
userPlaneAccessIpv4Gateway: 10.204.141.1
userPlaneAccessIpv4Subnet: 10.204.141.0/24
exampleNetworkSim:
type: azure:mobile:NetworkSim
name: example
properties:
name: example-sim
mobileNetworkSimGroupId: ${exampleNetworkSimGroup.id}
authenticationKey: '00000000000000000000000000000000'
integratedCircuitCardIdentifier: '8900000000000000000'
internationalMobileSubscriberIdentity: '000000000000000'
operatorKeyCode: '00000000000000000000000000000000'
staticIpConfigurations:
- attachedDataNetworkId: ${test.id}
sliceId: ${testAzurermMobileNetworkSlice.id}
staticIpv4Address: 2.4.0.1
Create NetworkSim Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NetworkSim(name: string, args: NetworkSimArgs, opts?: CustomResourceOptions);
@overload
def NetworkSim(resource_name: str,
args: NetworkSimArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NetworkSim(resource_name: str,
opts: Optional[ResourceOptions] = None,
authentication_key: Optional[str] = None,
integrated_circuit_card_identifier: Optional[str] = None,
international_mobile_subscriber_identity: Optional[str] = None,
mobile_network_sim_group_id: Optional[str] = None,
operator_key_code: Optional[str] = None,
device_type: Optional[str] = None,
name: Optional[str] = None,
sim_policy_id: Optional[str] = None,
static_ip_configurations: Optional[Sequence[NetworkSimStaticIpConfigurationArgs]] = None)
func NewNetworkSim(ctx *Context, name string, args NetworkSimArgs, opts ...ResourceOption) (*NetworkSim, error)
public NetworkSim(string name, NetworkSimArgs args, CustomResourceOptions? opts = null)
public NetworkSim(String name, NetworkSimArgs args)
public NetworkSim(String name, NetworkSimArgs args, CustomResourceOptions options)
type: azure:mobile:NetworkSim
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 NetworkSimArgs
- 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 NetworkSimArgs
- 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 NetworkSimArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetworkSimArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NetworkSimArgs
- 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 networkSimResource = new Azure.Mobile.NetworkSim("networkSimResource", new()
{
AuthenticationKey = "string",
IntegratedCircuitCardIdentifier = "string",
InternationalMobileSubscriberIdentity = "string",
MobileNetworkSimGroupId = "string",
OperatorKeyCode = "string",
DeviceType = "string",
Name = "string",
SimPolicyId = "string",
StaticIpConfigurations = new[]
{
new Azure.Mobile.Inputs.NetworkSimStaticIpConfigurationArgs
{
AttachedDataNetworkId = "string",
SliceId = "string",
StaticIpv4Address = "string",
},
},
});
example, err := mobile.NewNetworkSim(ctx, "networkSimResource", &mobile.NetworkSimArgs{
AuthenticationKey: pulumi.String("string"),
IntegratedCircuitCardIdentifier: pulumi.String("string"),
InternationalMobileSubscriberIdentity: pulumi.String("string"),
MobileNetworkSimGroupId: pulumi.String("string"),
OperatorKeyCode: pulumi.String("string"),
DeviceType: pulumi.String("string"),
Name: pulumi.String("string"),
SimPolicyId: pulumi.String("string"),
StaticIpConfigurations: mobile.NetworkSimStaticIpConfigurationArray{
&mobile.NetworkSimStaticIpConfigurationArgs{
AttachedDataNetworkId: pulumi.String("string"),
SliceId: pulumi.String("string"),
StaticIpv4Address: pulumi.String("string"),
},
},
})
var networkSimResource = new NetworkSim("networkSimResource", NetworkSimArgs.builder()
.authenticationKey("string")
.integratedCircuitCardIdentifier("string")
.internationalMobileSubscriberIdentity("string")
.mobileNetworkSimGroupId("string")
.operatorKeyCode("string")
.deviceType("string")
.name("string")
.simPolicyId("string")
.staticIpConfigurations(NetworkSimStaticIpConfigurationArgs.builder()
.attachedDataNetworkId("string")
.sliceId("string")
.staticIpv4Address("string")
.build())
.build());
network_sim_resource = azure.mobile.NetworkSim("networkSimResource",
authentication_key="string",
integrated_circuit_card_identifier="string",
international_mobile_subscriber_identity="string",
mobile_network_sim_group_id="string",
operator_key_code="string",
device_type="string",
name="string",
sim_policy_id="string",
static_ip_configurations=[azure.mobile.NetworkSimStaticIpConfigurationArgs(
attached_data_network_id="string",
slice_id="string",
static_ipv4_address="string",
)])
const networkSimResource = new azure.mobile.NetworkSim("networkSimResource", {
authenticationKey: "string",
integratedCircuitCardIdentifier: "string",
internationalMobileSubscriberIdentity: "string",
mobileNetworkSimGroupId: "string",
operatorKeyCode: "string",
deviceType: "string",
name: "string",
simPolicyId: "string",
staticIpConfigurations: [{
attachedDataNetworkId: "string",
sliceId: "string",
staticIpv4Address: "string",
}],
});
type: azure:mobile:NetworkSim
properties:
authenticationKey: string
deviceType: string
integratedCircuitCardIdentifier: string
internationalMobileSubscriberIdentity: string
mobileNetworkSimGroupId: string
name: string
operatorKeyCode: string
simPolicyId: string
staticIpConfigurations:
- attachedDataNetworkId: string
sliceId: string
staticIpv4Address: string
NetworkSim Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The NetworkSim resource accepts the following input properties:
- Authentication
Key string - The Ki value for the SIM.
- Integrated
Circuit stringCard Identifier - The integrated circuit card ID (ICCID) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- International
Mobile stringSubscriber Identity - The international mobile subscriber identity (IMSI) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- Mobile
Network stringSim Group Id - The ID of the Mobile Network which the Mobile Network Sim belongs to. Changing this forces a new Mobile Network Sim to be created.
- Operator
Key stringCode - The Opc value for the SIM.
- Device
Type string - An optional free-form text field that can be used to record the device type this SIM is associated with, for example
Video camera
. The Azure portal allows SIMs to be grouped and filtered based on this value. - Name string
- The name which should be used for this Mobile Network Sim. Changing this forces a new Mobile Network Sim to be created.
- Sim
Policy stringId - The ID of SIM policy used by this SIM.
- Static
Ip List<NetworkConfigurations Sim Static Ip Configuration> - A
static_ip_configuration
block as defined below.
- Authentication
Key string - The Ki value for the SIM.
- Integrated
Circuit stringCard Identifier - The integrated circuit card ID (ICCID) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- International
Mobile stringSubscriber Identity - The international mobile subscriber identity (IMSI) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- Mobile
Network stringSim Group Id - The ID of the Mobile Network which the Mobile Network Sim belongs to. Changing this forces a new Mobile Network Sim to be created.
- Operator
Key stringCode - The Opc value for the SIM.
- Device
Type string - An optional free-form text field that can be used to record the device type this SIM is associated with, for example
Video camera
. The Azure portal allows SIMs to be grouped and filtered based on this value. - Name string
- The name which should be used for this Mobile Network Sim. Changing this forces a new Mobile Network Sim to be created.
- Sim
Policy stringId - The ID of SIM policy used by this SIM.
- Static
Ip []NetworkConfigurations Sim Static Ip Configuration Args - A
static_ip_configuration
block as defined below.
- authentication
Key String - The Ki value for the SIM.
- integrated
Circuit StringCard Identifier - The integrated circuit card ID (ICCID) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- international
Mobile StringSubscriber Identity - The international mobile subscriber identity (IMSI) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- mobile
Network StringSim Group Id - The ID of the Mobile Network which the Mobile Network Sim belongs to. Changing this forces a new Mobile Network Sim to be created.
- operator
Key StringCode - The Opc value for the SIM.
- device
Type String - An optional free-form text field that can be used to record the device type this SIM is associated with, for example
Video camera
. The Azure portal allows SIMs to be grouped and filtered based on this value. - name String
- The name which should be used for this Mobile Network Sim. Changing this forces a new Mobile Network Sim to be created.
- sim
Policy StringId - The ID of SIM policy used by this SIM.
- static
Ip List<NetworkConfigurations Sim Static Ip Configuration> - A
static_ip_configuration
block as defined below.
- authentication
Key string - The Ki value for the SIM.
- integrated
Circuit stringCard Identifier - The integrated circuit card ID (ICCID) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- international
Mobile stringSubscriber Identity - The international mobile subscriber identity (IMSI) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- mobile
Network stringSim Group Id - The ID of the Mobile Network which the Mobile Network Sim belongs to. Changing this forces a new Mobile Network Sim to be created.
- operator
Key stringCode - The Opc value for the SIM.
- device
Type string - An optional free-form text field that can be used to record the device type this SIM is associated with, for example
Video camera
. The Azure portal allows SIMs to be grouped and filtered based on this value. - name string
- The name which should be used for this Mobile Network Sim. Changing this forces a new Mobile Network Sim to be created.
- sim
Policy stringId - The ID of SIM policy used by this SIM.
- static
Ip NetworkConfigurations Sim Static Ip Configuration[] - A
static_ip_configuration
block as defined below.
- authentication_
key str - The Ki value for the SIM.
- integrated_
circuit_ strcard_ identifier - The integrated circuit card ID (ICCID) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- international_
mobile_ strsubscriber_ identity - The international mobile subscriber identity (IMSI) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- mobile_
network_ strsim_ group_ id - The ID of the Mobile Network which the Mobile Network Sim belongs to. Changing this forces a new Mobile Network Sim to be created.
- operator_
key_ strcode - The Opc value for the SIM.
- device_
type str - An optional free-form text field that can be used to record the device type this SIM is associated with, for example
Video camera
. The Azure portal allows SIMs to be grouped and filtered based on this value. - name str
- The name which should be used for this Mobile Network Sim. Changing this forces a new Mobile Network Sim to be created.
- sim_
policy_ strid - The ID of SIM policy used by this SIM.
- static_
ip_ Sequence[Networkconfigurations Sim Static Ip Configuration Args] - A
static_ip_configuration
block as defined below.
- authentication
Key String - The Ki value for the SIM.
- integrated
Circuit StringCard Identifier - The integrated circuit card ID (ICCID) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- international
Mobile StringSubscriber Identity - The international mobile subscriber identity (IMSI) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- mobile
Network StringSim Group Id - The ID of the Mobile Network which the Mobile Network Sim belongs to. Changing this forces a new Mobile Network Sim to be created.
- operator
Key StringCode - The Opc value for the SIM.
- device
Type String - An optional free-form text field that can be used to record the device type this SIM is associated with, for example
Video camera
. The Azure portal allows SIMs to be grouped and filtered based on this value. - name String
- The name which should be used for this Mobile Network Sim. Changing this forces a new Mobile Network Sim to be created.
- sim
Policy StringId - The ID of SIM policy used by this SIM.
- static
Ip List<Property Map>Configurations - A
static_ip_configuration
block as defined below.
Outputs
All input properties are implicitly available as output properties. Additionally, the NetworkSim resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Sim
State string - The state of the SIM resource.
- Vendor
Key stringFingerprint - The public key fingerprint of the SIM vendor who provided this SIM, if any.
- Vendor
Name string - The name of the SIM vendor who provided this SIM, if any.
- Id string
- The provider-assigned unique ID for this managed resource.
- Sim
State string - The state of the SIM resource.
- Vendor
Key stringFingerprint - The public key fingerprint of the SIM vendor who provided this SIM, if any.
- Vendor
Name string - The name of the SIM vendor who provided this SIM, if any.
- id String
- The provider-assigned unique ID for this managed resource.
- sim
State String - The state of the SIM resource.
- vendor
Key StringFingerprint - The public key fingerprint of the SIM vendor who provided this SIM, if any.
- vendor
Name String - The name of the SIM vendor who provided this SIM, if any.
- id string
- The provider-assigned unique ID for this managed resource.
- sim
State string - The state of the SIM resource.
- vendor
Key stringFingerprint - The public key fingerprint of the SIM vendor who provided this SIM, if any.
- vendor
Name string - The name of the SIM vendor who provided this SIM, if any.
- id str
- The provider-assigned unique ID for this managed resource.
- sim_
state str - The state of the SIM resource.
- vendor_
key_ strfingerprint - The public key fingerprint of the SIM vendor who provided this SIM, if any.
- vendor_
name str - The name of the SIM vendor who provided this SIM, if any.
- id String
- The provider-assigned unique ID for this managed resource.
- sim
State String - The state of the SIM resource.
- vendor
Key StringFingerprint - The public key fingerprint of the SIM vendor who provided this SIM, if any.
- vendor
Name String - The name of the SIM vendor who provided this SIM, if any.
Look up Existing NetworkSim Resource
Get an existing NetworkSim 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?: NetworkSimState, opts?: CustomResourceOptions): NetworkSim
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
authentication_key: Optional[str] = None,
device_type: Optional[str] = None,
integrated_circuit_card_identifier: Optional[str] = None,
international_mobile_subscriber_identity: Optional[str] = None,
mobile_network_sim_group_id: Optional[str] = None,
name: Optional[str] = None,
operator_key_code: Optional[str] = None,
sim_policy_id: Optional[str] = None,
sim_state: Optional[str] = None,
static_ip_configurations: Optional[Sequence[NetworkSimStaticIpConfigurationArgs]] = None,
vendor_key_fingerprint: Optional[str] = None,
vendor_name: Optional[str] = None) -> NetworkSim
func GetNetworkSim(ctx *Context, name string, id IDInput, state *NetworkSimState, opts ...ResourceOption) (*NetworkSim, error)
public static NetworkSim Get(string name, Input<string> id, NetworkSimState? state, CustomResourceOptions? opts = null)
public static NetworkSim get(String name, Output<String> id, NetworkSimState 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.
- Authentication
Key string - The Ki value for the SIM.
- Device
Type string - An optional free-form text field that can be used to record the device type this SIM is associated with, for example
Video camera
. The Azure portal allows SIMs to be grouped and filtered based on this value. - Integrated
Circuit stringCard Identifier - The integrated circuit card ID (ICCID) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- International
Mobile stringSubscriber Identity - The international mobile subscriber identity (IMSI) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- Mobile
Network stringSim Group Id - The ID of the Mobile Network which the Mobile Network Sim belongs to. Changing this forces a new Mobile Network Sim to be created.
- Name string
- The name which should be used for this Mobile Network Sim. Changing this forces a new Mobile Network Sim to be created.
- Operator
Key stringCode - The Opc value for the SIM.
- Sim
Policy stringId - The ID of SIM policy used by this SIM.
- Sim
State string - The state of the SIM resource.
- Static
Ip List<NetworkConfigurations Sim Static Ip Configuration> - A
static_ip_configuration
block as defined below. - Vendor
Key stringFingerprint - The public key fingerprint of the SIM vendor who provided this SIM, if any.
- Vendor
Name string - The name of the SIM vendor who provided this SIM, if any.
- Authentication
Key string - The Ki value for the SIM.
- Device
Type string - An optional free-form text field that can be used to record the device type this SIM is associated with, for example
Video camera
. The Azure portal allows SIMs to be grouped and filtered based on this value. - Integrated
Circuit stringCard Identifier - The integrated circuit card ID (ICCID) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- International
Mobile stringSubscriber Identity - The international mobile subscriber identity (IMSI) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- Mobile
Network stringSim Group Id - The ID of the Mobile Network which the Mobile Network Sim belongs to. Changing this forces a new Mobile Network Sim to be created.
- Name string
- The name which should be used for this Mobile Network Sim. Changing this forces a new Mobile Network Sim to be created.
- Operator
Key stringCode - The Opc value for the SIM.
- Sim
Policy stringId - The ID of SIM policy used by this SIM.
- Sim
State string - The state of the SIM resource.
- Static
Ip []NetworkConfigurations Sim Static Ip Configuration Args - A
static_ip_configuration
block as defined below. - Vendor
Key stringFingerprint - The public key fingerprint of the SIM vendor who provided this SIM, if any.
- Vendor
Name string - The name of the SIM vendor who provided this SIM, if any.
- authentication
Key String - The Ki value for the SIM.
- device
Type String - An optional free-form text field that can be used to record the device type this SIM is associated with, for example
Video camera
. The Azure portal allows SIMs to be grouped and filtered based on this value. - integrated
Circuit StringCard Identifier - The integrated circuit card ID (ICCID) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- international
Mobile StringSubscriber Identity - The international mobile subscriber identity (IMSI) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- mobile
Network StringSim Group Id - The ID of the Mobile Network which the Mobile Network Sim belongs to. Changing this forces a new Mobile Network Sim to be created.
- name String
- The name which should be used for this Mobile Network Sim. Changing this forces a new Mobile Network Sim to be created.
- operator
Key StringCode - The Opc value for the SIM.
- sim
Policy StringId - The ID of SIM policy used by this SIM.
- sim
State String - The state of the SIM resource.
- static
Ip List<NetworkConfigurations Sim Static Ip Configuration> - A
static_ip_configuration
block as defined below. - vendor
Key StringFingerprint - The public key fingerprint of the SIM vendor who provided this SIM, if any.
- vendor
Name String - The name of the SIM vendor who provided this SIM, if any.
- authentication
Key string - The Ki value for the SIM.
- device
Type string - An optional free-form text field that can be used to record the device type this SIM is associated with, for example
Video camera
. The Azure portal allows SIMs to be grouped and filtered based on this value. - integrated
Circuit stringCard Identifier - The integrated circuit card ID (ICCID) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- international
Mobile stringSubscriber Identity - The international mobile subscriber identity (IMSI) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- mobile
Network stringSim Group Id - The ID of the Mobile Network which the Mobile Network Sim belongs to. Changing this forces a new Mobile Network Sim to be created.
- name string
- The name which should be used for this Mobile Network Sim. Changing this forces a new Mobile Network Sim to be created.
- operator
Key stringCode - The Opc value for the SIM.
- sim
Policy stringId - The ID of SIM policy used by this SIM.
- sim
State string - The state of the SIM resource.
- static
Ip NetworkConfigurations Sim Static Ip Configuration[] - A
static_ip_configuration
block as defined below. - vendor
Key stringFingerprint - The public key fingerprint of the SIM vendor who provided this SIM, if any.
- vendor
Name string - The name of the SIM vendor who provided this SIM, if any.
- authentication_
key str - The Ki value for the SIM.
- device_
type str - An optional free-form text field that can be used to record the device type this SIM is associated with, for example
Video camera
. The Azure portal allows SIMs to be grouped and filtered based on this value. - integrated_
circuit_ strcard_ identifier - The integrated circuit card ID (ICCID) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- international_
mobile_ strsubscriber_ identity - The international mobile subscriber identity (IMSI) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- mobile_
network_ strsim_ group_ id - The ID of the Mobile Network which the Mobile Network Sim belongs to. Changing this forces a new Mobile Network Sim to be created.
- name str
- The name which should be used for this Mobile Network Sim. Changing this forces a new Mobile Network Sim to be created.
- operator_
key_ strcode - The Opc value for the SIM.
- sim_
policy_ strid - The ID of SIM policy used by this SIM.
- sim_
state str - The state of the SIM resource.
- static_
ip_ Sequence[Networkconfigurations Sim Static Ip Configuration Args] - A
static_ip_configuration
block as defined below. - vendor_
key_ strfingerprint - The public key fingerprint of the SIM vendor who provided this SIM, if any.
- vendor_
name str - The name of the SIM vendor who provided this SIM, if any.
- authentication
Key String - The Ki value for the SIM.
- device
Type String - An optional free-form text field that can be used to record the device type this SIM is associated with, for example
Video camera
. The Azure portal allows SIMs to be grouped and filtered based on this value. - integrated
Circuit StringCard Identifier - The integrated circuit card ID (ICCID) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- international
Mobile StringSubscriber Identity - The international mobile subscriber identity (IMSI) for the SIM. Changing this forces a new Mobile Network Sim to be created.
- mobile
Network StringSim Group Id - The ID of the Mobile Network which the Mobile Network Sim belongs to. Changing this forces a new Mobile Network Sim to be created.
- name String
- The name which should be used for this Mobile Network Sim. Changing this forces a new Mobile Network Sim to be created.
- operator
Key StringCode - The Opc value for the SIM.
- sim
Policy StringId - The ID of SIM policy used by this SIM.
- sim
State String - The state of the SIM resource.
- static
Ip List<Property Map>Configurations - A
static_ip_configuration
block as defined below. - vendor
Key StringFingerprint - The public key fingerprint of the SIM vendor who provided this SIM, if any.
- vendor
Name String - The name of the SIM vendor who provided this SIM, if any.
Supporting Types
NetworkSimStaticIpConfiguration, NetworkSimStaticIpConfigurationArgs
- Attached
Data stringNetwork Id - The ID of attached data network on which the static IP address will be used. The combination of attached data network and slice defines the network scope of the IP address.
- Slice
Id string - The ID of network slice on which the static IP address will be used. The combination of attached data network and slice defines the network scope of the IP address.
- Static
Ipv4Address string - The IPv4 address assigned to the SIM at this network scope. This address must be in the userEquipmentStaticAddressPoolPrefix defined in the attached data network.
- Attached
Data stringNetwork Id - The ID of attached data network on which the static IP address will be used. The combination of attached data network and slice defines the network scope of the IP address.
- Slice
Id string - The ID of network slice on which the static IP address will be used. The combination of attached data network and slice defines the network scope of the IP address.
- Static
Ipv4Address string - The IPv4 address assigned to the SIM at this network scope. This address must be in the userEquipmentStaticAddressPoolPrefix defined in the attached data network.
- attached
Data StringNetwork Id - The ID of attached data network on which the static IP address will be used. The combination of attached data network and slice defines the network scope of the IP address.
- slice
Id String - The ID of network slice on which the static IP address will be used. The combination of attached data network and slice defines the network scope of the IP address.
- static
Ipv4Address String - The IPv4 address assigned to the SIM at this network scope. This address must be in the userEquipmentStaticAddressPoolPrefix defined in the attached data network.
- attached
Data stringNetwork Id - The ID of attached data network on which the static IP address will be used. The combination of attached data network and slice defines the network scope of the IP address.
- slice
Id string - The ID of network slice on which the static IP address will be used. The combination of attached data network and slice defines the network scope of the IP address.
- static
Ipv4Address string - The IPv4 address assigned to the SIM at this network scope. This address must be in the userEquipmentStaticAddressPoolPrefix defined in the attached data network.
- attached_
data_ strnetwork_ id - The ID of attached data network on which the static IP address will be used. The combination of attached data network and slice defines the network scope of the IP address.
- slice_
id str - The ID of network slice on which the static IP address will be used. The combination of attached data network and slice defines the network scope of the IP address.
- static_
ipv4_ straddress - The IPv4 address assigned to the SIM at this network scope. This address must be in the userEquipmentStaticAddressPoolPrefix defined in the attached data network.
- attached
Data StringNetwork Id - The ID of attached data network on which the static IP address will be used. The combination of attached data network and slice defines the network scope of the IP address.
- slice
Id String - The ID of network slice on which the static IP address will be used. The combination of attached data network and slice defines the network scope of the IP address.
- static
Ipv4Address String - The IPv4 address assigned to the SIM at this network scope. This address must be in the userEquipmentStaticAddressPoolPrefix defined in the attached data network.
Import
Mobile Network Sim can be imported using the resource id
, e.g.
$ pulumi import azure:mobile/networkSim:NetworkSim example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.MobileNetwork/simGroups/simGroup1/sims/sim1
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.