We recommend using Azure Native.
Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi
azure.mobile.getNetworkSimGroup
Explore with Pulumi AI
Get information about a Mobile Network Sim Group.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.mobile.getNetwork({
name: "example-mn",
resourceGroupName: exampleAzurermResourceGroup.name,
});
const exampleGetNetworkSimGroup = example.then(example => azure.mobile.getNetworkSimGroup({
name: "example-mnsg",
mobileNetworkId: example.id,
}));
import pulumi
import pulumi_azure as azure
example = azure.mobile.get_network(name="example-mn",
resource_group_name=example_azurerm_resource_group["name"])
example_get_network_sim_group = azure.mobile.get_network_sim_group(name="example-mnsg",
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: exampleAzurermResourceGroup.Name,
}, nil)
if err != nil {
return err
}
_, err = mobile.LookupNetworkSimGroup(ctx, &mobile.LookupNetworkSimGroupArgs{
Name: "example-mnsg",
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 = exampleAzurermResourceGroup.Name,
});
var exampleGetNetworkSimGroup = Azure.Mobile.GetNetworkSimGroup.Invoke(new()
{
Name = "example-mnsg",
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.GetNetworkSimGroupArgs;
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(exampleAzurermResourceGroup.name())
.build());
final var exampleGetNetworkSimGroup = MobileFunctions.getNetworkSimGroup(GetNetworkSimGroupArgs.builder()
.name("example-mnsg")
.mobileNetworkId(example.applyValue(getNetworkResult -> getNetworkResult.id()))
.build());
}
}
variables:
example:
fn::invoke:
Function: azure:mobile:getNetwork
Arguments:
name: example-mn
resourceGroupName: ${exampleAzurermResourceGroup.name}
exampleGetNetworkSimGroup:
fn::invoke:
Function: azure:mobile:getNetworkSimGroup
Arguments:
name: example-mnsg
mobileNetworkId: ${example.id}
Using getNetworkSimGroup
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 getNetworkSimGroup(args: GetNetworkSimGroupArgs, opts?: InvokeOptions): Promise<GetNetworkSimGroupResult>
function getNetworkSimGroupOutput(args: GetNetworkSimGroupOutputArgs, opts?: InvokeOptions): Output<GetNetworkSimGroupResult>
def get_network_sim_group(mobile_network_id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNetworkSimGroupResult
def get_network_sim_group_output(mobile_network_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNetworkSimGroupResult]
func LookupNetworkSimGroup(ctx *Context, args *LookupNetworkSimGroupArgs, opts ...InvokeOption) (*LookupNetworkSimGroupResult, error)
func LookupNetworkSimGroupOutput(ctx *Context, args *LookupNetworkSimGroupOutputArgs, opts ...InvokeOption) LookupNetworkSimGroupResultOutput
> Note: This function is named LookupNetworkSimGroup
in the Go SDK.
public static class GetNetworkSimGroup
{
public static Task<GetNetworkSimGroupResult> InvokeAsync(GetNetworkSimGroupArgs args, InvokeOptions? opts = null)
public static Output<GetNetworkSimGroupResult> Invoke(GetNetworkSimGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNetworkSimGroupResult> getNetworkSimGroup(GetNetworkSimGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure:mobile/getNetworkSimGroup:getNetworkSimGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Mobile
Network stringId - The ID of Mobile Network which the Mobile Network Sim Group belongs to.
- Name string
- Specifies the name which should be used for this Mobile Network Sim Groups.
- Mobile
Network stringId - The ID of Mobile Network which the Mobile Network Sim Group belongs to.
- Name string
- Specifies the name which should be used for this Mobile Network Sim Groups.
- mobile
Network StringId - The ID of Mobile Network which the Mobile Network Sim Group belongs to.
- name String
- Specifies the name which should be used for this Mobile Network Sim Groups.
- mobile
Network stringId - The ID of Mobile Network which the Mobile Network Sim Group belongs to.
- name string
- Specifies the name which should be used for this Mobile Network Sim Groups.
- mobile_
network_ strid - The ID of Mobile Network which the Mobile Network Sim Group belongs to.
- name str
- Specifies the name which should be used for this Mobile Network Sim Groups.
- mobile
Network StringId - The ID of Mobile Network which the Mobile Network Sim Group belongs to.
- name String
- Specifies the name which should be used for this Mobile Network Sim Groups.
getNetworkSimGroup Result
The following output properties are available:
- Encryption
Key stringUrl - A key to encrypt the SIM data that belongs to this SIM group.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identities
List<Get
Network Sim Group Identity> - An
identity
block as defined below. - Location string
- The Azure Region where the Mobile Network Sim Groups should exist.
- Mobile
Network stringId - Name string
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Mobile Network Sim Groups.
- Encryption
Key stringUrl - A key to encrypt the SIM data that belongs to this SIM group.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identities
[]Get
Network Sim Group Identity - An
identity
block as defined below. - Location string
- The Azure Region where the Mobile Network Sim Groups should exist.
- Mobile
Network stringId - Name string
- map[string]string
- A mapping of tags which should be assigned to the Mobile Network Sim Groups.
- encryption
Key StringUrl - A key to encrypt the SIM data that belongs to this SIM group.
- id String
- The provider-assigned unique ID for this managed resource.
- identities
List<Get
Network Sim Group Identity> - An
identity
block as defined below. - location String
- The Azure Region where the Mobile Network Sim Groups should exist.
- mobile
Network StringId - name String
- Map<String,String>
- A mapping of tags which should be assigned to the Mobile Network Sim Groups.
- encryption
Key stringUrl - A key to encrypt the SIM data that belongs to this SIM group.
- id string
- The provider-assigned unique ID for this managed resource.
- identities
Get
Network Sim Group Identity[] - An
identity
block as defined below. - location string
- The Azure Region where the Mobile Network Sim Groups should exist.
- mobile
Network stringId - name string
- {[key: string]: string}
- A mapping of tags which should be assigned to the Mobile Network Sim Groups.
- encryption_
key_ strurl - A key to encrypt the SIM data that belongs to this SIM group.
- id str
- The provider-assigned unique ID for this managed resource.
- identities
Sequence[Get
Network Sim Group Identity] - An
identity
block as defined below. - location str
- The Azure Region where the Mobile Network Sim Groups should exist.
- mobile_
network_ strid - name str
- Mapping[str, str]
- A mapping of tags which should be assigned to the Mobile Network Sim Groups.
- encryption
Key StringUrl - A key to encrypt the SIM data that belongs to this SIM group.
- id String
- The provider-assigned unique ID for this managed resource.
- identities List<Property Map>
- An
identity
block as defined below. - location String
- The Azure Region where the Mobile Network Sim Groups should exist.
- mobile
Network StringId - name String
- Map<String>
- A mapping of tags which should be assigned to the Mobile Network Sim Groups.
Supporting Types
GetNetworkSimGroupIdentity
- Identity
Ids List<string> - A list of User Assigned Managed Identity IDs assigned to this resource.
- Principal
Id string - Tenant
Id string - Type string
- The type of Managed Service Identity. Possible values are
SystemAssigned
,UserAssigned
.
- Identity
Ids []string - A list of User Assigned Managed Identity IDs assigned to this resource.
- Principal
Id string - Tenant
Id string - Type string
- The type of Managed Service Identity. Possible values are
SystemAssigned
,UserAssigned
.
- identity
Ids List<String> - A list of User Assigned Managed Identity IDs assigned to this resource.
- principal
Id String - tenant
Id String - type String
- The type of Managed Service Identity. Possible values are
SystemAssigned
,UserAssigned
.
- identity
Ids string[] - A list of User Assigned Managed Identity IDs assigned to this resource.
- principal
Id string - tenant
Id string - type string
- The type of Managed Service Identity. Possible values are
SystemAssigned
,UserAssigned
.
- identity_
ids Sequence[str] - A list of User Assigned Managed Identity IDs assigned to this resource.
- principal_
id str - tenant_
id str - type str
- The type of Managed Service Identity. Possible values are
SystemAssigned
,UserAssigned
.
- identity
Ids List<String> - A list of User Assigned Managed Identity IDs assigned to this resource.
- principal
Id String - tenant
Id String - type String
- The type of Managed Service Identity. Possible values are
SystemAssigned
,UserAssigned
.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.