get Network Sim
Get information about a Mobile Network Sim.
Example Usage
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.GetNetworkSimGroupArgs;
import com.pulumi.azure.mobile.inputs.GetNetworkSimArgs;
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.getNetworkSimGroup(GetNetworkSimGroupArgs.builder()
.name("example-mnsg")
.resourceGroupName("example-rg")
.build());
final var exampleGetNetworkSim = MobileFunctions.getNetworkSim(GetNetworkSimArgs.builder()
.name("example-sim")
.mobileNetworkSimGroupId(example.applyValue(getNetworkSimGroupResult -> getNetworkSimGroupResult.id()))
.build());
}
}
Content copied to clipboard
variables:
example:
fn::invoke:
function: azure:mobile:getNetworkSimGroup
arguments:
name: example-mnsg
resourceGroupName: example-rg
exampleGetNetworkSim:
fn::invoke:
function: azure:mobile:getNetworkSim
arguments:
name: example-sim
mobileNetworkSimGroupId: ${example.id}
Content copied to clipboard
Return
A collection of values returned by getNetworkSim.
Parameters
argument
A collection of arguments for invoking getNetworkSim.
Return
A collection of values returned by getNetworkSim.
Parameters
mobile Network Sim Group Id
The ID of the Mobile Network which the Mobile Network Sim belongs to.
name
The name which should be used for this Mobile Network Sim.
See also
suspend fun getNetworkSim(argument: suspend GetNetworkSimPlainArgsBuilder.() -> Unit): GetNetworkSimResult
Return
A collection of values returned by getNetworkSim.
Parameters
argument
Builder for com.pulumi.azure.mobile.kotlin.inputs.GetNetworkSimPlainArgs.