get Network Packet Core Data Plane
suspend fun getNetworkPacketCoreDataPlane(argument: GetNetworkPacketCoreDataPlanePlainArgs): GetNetworkPacketCoreDataPlaneResult
Get information a Mobile Network Packet Core Data Plane.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.mobile.getNetworkPacketCoreControlPlane({
name: "example-mnpccp",
resourceGroupName: "example-rg",
});
const exampleGetNetworkPacketCoreDataPlane = example.then(example => azure.mobile.getNetworkPacketCoreDataPlane({
name: "example-mnpcdp",
mobileNetworkPacketCoreControlPlaneId: example.id,
}));
Content copied to clipboard
import pulumi
import pulumi_azure as azure
example = azure.mobile.get_network_packet_core_control_plane(name="example-mnpccp",
resource_group_name="example-rg")
example_get_network_packet_core_data_plane = azure.mobile.get_network_packet_core_data_plane(name="example-mnpcdp",
mobile_network_packet_core_control_plane_id=example.id)
Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = Azure.Mobile.GetNetworkPacketCoreControlPlane.Invoke(new()
{
Name = "example-mnpccp",
ResourceGroupName = "example-rg",
});
var exampleGetNetworkPacketCoreDataPlane = Azure.Mobile.GetNetworkPacketCoreDataPlane.Invoke(new()
{
Name = "example-mnpcdp",
MobileNetworkPacketCoreControlPlaneId = example.Apply(getNetworkPacketCoreControlPlaneResult => getNetworkPacketCoreControlPlaneResult.Id),
});
});
Content copied to clipboard
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.LookupNetworkPacketCoreControlPlane(ctx, &mobile.LookupNetworkPacketCoreControlPlaneArgs{
Name: "example-mnpccp",
ResourceGroupName: "example-rg",
}, nil)
if err != nil {
return err
}
_, err = mobile.LookupNetworkPacketCoreDataPlane(ctx, &mobile.LookupNetworkPacketCoreDataPlaneArgs{
Name: "example-mnpcdp",
MobileNetworkPacketCoreControlPlaneId: example.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
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.GetNetworkPacketCoreControlPlaneArgs;
import com.pulumi.azure.mobile.inputs.GetNetworkPacketCoreDataPlaneArgs;
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.getNetworkPacketCoreControlPlane(GetNetworkPacketCoreControlPlaneArgs.builder()
.name("example-mnpccp")
.resourceGroupName("example-rg")
.build());
final var exampleGetNetworkPacketCoreDataPlane = MobileFunctions.getNetworkPacketCoreDataPlane(GetNetworkPacketCoreDataPlaneArgs.builder()
.name("example-mnpcdp")
.mobileNetworkPacketCoreControlPlaneId(example.id())
.build());
}
}
Content copied to clipboard
variables:
example:
fn::invoke:
function: azure:mobile:getNetworkPacketCoreControlPlane
arguments:
name: example-mnpccp
resourceGroupName: example-rg
exampleGetNetworkPacketCoreDataPlane:
fn::invoke:
function: azure:mobile:getNetworkPacketCoreDataPlane
arguments:
name: example-mnpcdp
mobileNetworkPacketCoreControlPlaneId: ${example.id}
Content copied to clipboard
API Providers
This data source uses the following Azure API Providers:
Microsoft.MobileNetwork
: 2022-11-01
Return
A collection of values returned by getNetworkPacketCoreDataPlane.
Parameters
argument
A collection of arguments for invoking getNetworkPacketCoreDataPlane.
suspend fun getNetworkPacketCoreDataPlane(mobileNetworkPacketCoreControlPlaneId: String, name: String): GetNetworkPacketCoreDataPlaneResult
Return
A collection of values returned by getNetworkPacketCoreDataPlane.
Parameters
mobile Network Packet Core Control Plane Id
The ID of the Mobile Network Packet Core Data Plane.
name
The name of the Mobile Network Packet Core Data Plane.
See also
suspend fun getNetworkPacketCoreDataPlane(argument: suspend GetNetworkPacketCoreDataPlanePlainArgsBuilder.() -> Unit): GetNetworkPacketCoreDataPlaneResult
Return
A collection of values returned by getNetworkPacketCoreDataPlane.
Parameters
argument
Builder for com.pulumi.azure.mobile.kotlin.inputs.GetNetworkPacketCoreDataPlanePlainArgs.