We recommend using Azure Native.
Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi
azure.mobile.getNetworkPacketCoreDataPlane
Explore with Pulumi AI
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,
}));
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)
package main
import (
	"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 := 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
	})
}
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),
    });
});
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.applyValue(getNetworkPacketCoreControlPlaneResult -> getNetworkPacketCoreControlPlaneResult.id()))
            .build());
    }
}
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}
Using getNetworkPacketCoreDataPlane
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 getNetworkPacketCoreDataPlane(args: GetNetworkPacketCoreDataPlaneArgs, opts?: InvokeOptions): Promise<GetNetworkPacketCoreDataPlaneResult>
function getNetworkPacketCoreDataPlaneOutput(args: GetNetworkPacketCoreDataPlaneOutputArgs, opts?: InvokeOptions): Output<GetNetworkPacketCoreDataPlaneResult>def get_network_packet_core_data_plane(mobile_network_packet_core_control_plane_id: Optional[str] = None,
                                       name: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetNetworkPacketCoreDataPlaneResult
def get_network_packet_core_data_plane_output(mobile_network_packet_core_control_plane_id: Optional[pulumi.Input[str]] = None,
                                       name: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetNetworkPacketCoreDataPlaneResult]func LookupNetworkPacketCoreDataPlane(ctx *Context, args *LookupNetworkPacketCoreDataPlaneArgs, opts ...InvokeOption) (*LookupNetworkPacketCoreDataPlaneResult, error)
func LookupNetworkPacketCoreDataPlaneOutput(ctx *Context, args *LookupNetworkPacketCoreDataPlaneOutputArgs, opts ...InvokeOption) LookupNetworkPacketCoreDataPlaneResultOutput> Note: This function is named LookupNetworkPacketCoreDataPlane in the Go SDK.
public static class GetNetworkPacketCoreDataPlane 
{
    public static Task<GetNetworkPacketCoreDataPlaneResult> InvokeAsync(GetNetworkPacketCoreDataPlaneArgs args, InvokeOptions? opts = null)
    public static Output<GetNetworkPacketCoreDataPlaneResult> Invoke(GetNetworkPacketCoreDataPlaneInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNetworkPacketCoreDataPlaneResult> getNetworkPacketCoreDataPlane(GetNetworkPacketCoreDataPlaneArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: azure:mobile/getNetworkPacketCoreDataPlane:getNetworkPacketCoreDataPlane
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Mobile
Network stringPacket Core Control Plane Id  - The ID of the Mobile Network Packet Core Data Plane.
 - Name string
 - The name of the Mobile Network Packet Core Data Plane.
 
- Mobile
Network stringPacket Core Control Plane Id  - The ID of the Mobile Network Packet Core Data Plane.
 - Name string
 - The name of the Mobile Network Packet Core Data Plane.
 
- mobile
Network StringPacket Core Control Plane Id  - The ID of the Mobile Network Packet Core Data Plane.
 - name String
 - The name of the Mobile Network Packet Core Data Plane.
 
- mobile
Network stringPacket Core Control Plane Id  - The ID of the Mobile Network Packet Core Data Plane.
 - name string
 - The name of the Mobile Network Packet Core Data Plane.
 
- mobile_
network_ strpacket_ core_ control_ plane_ id  - The ID of the Mobile Network Packet Core Data Plane.
 - name str
 - The name of the Mobile Network Packet Core Data Plane.
 
- mobile
Network StringPacket Core Control Plane Id  - The ID of the Mobile Network Packet Core Data Plane.
 - name String
 - The name of the Mobile Network Packet Core Data Plane.
 
getNetworkPacketCoreDataPlane Result
The following output properties are available:
- Id string
 - The provider-assigned unique ID for this managed resource.
 - Location string
 - The Azure Region where the Mobile Network Packet Core Data Plane should exist.
 - Mobile
Network stringPacket Core Control Plane Id  - Name string
 - Dictionary<string, string>
 - A mapping of tags which should be assigned to the Mobile Network Packet Core Data Plane.
 - User
Plane stringAccess Ipv4Address  - The IPv4 address for the user plane interface.
 - User
Plane stringAccess Ipv4Gateway  - The default IPv4 gateway for the user plane interface.
 - User
Plane stringAccess Ipv4Subnet  - The IPv4 subnet for the user plane interface.
 - User
Plane stringAccess Name  - The logical name for thie user plane interface.
 
- Id string
 - The provider-assigned unique ID for this managed resource.
 - Location string
 - The Azure Region where the Mobile Network Packet Core Data Plane should exist.
 - Mobile
Network stringPacket Core Control Plane Id  - Name string
 - map[string]string
 - A mapping of tags which should be assigned to the Mobile Network Packet Core Data Plane.
 - User
Plane stringAccess Ipv4Address  - The IPv4 address for the user plane interface.
 - User
Plane stringAccess Ipv4Gateway  - The default IPv4 gateway for the user plane interface.
 - User
Plane stringAccess Ipv4Subnet  - The IPv4 subnet for the user plane interface.
 - User
Plane stringAccess Name  - The logical name for thie user plane interface.
 
- id String
 - The provider-assigned unique ID for this managed resource.
 - location String
 - The Azure Region where the Mobile Network Packet Core Data Plane should exist.
 - mobile
Network StringPacket Core Control Plane Id  - name String
 - Map<String,String>
 - A mapping of tags which should be assigned to the Mobile Network Packet Core Data Plane.
 - user
Plane StringAccess Ipv4Address  - The IPv4 address for the user plane interface.
 - user
Plane StringAccess Ipv4Gateway  - The default IPv4 gateway for the user plane interface.
 - user
Plane StringAccess Ipv4Subnet  - The IPv4 subnet for the user plane interface.
 - user
Plane StringAccess Name  - The logical name for thie user plane interface.
 
- id string
 - The provider-assigned unique ID for this managed resource.
 - location string
 - The Azure Region where the Mobile Network Packet Core Data Plane should exist.
 - mobile
Network stringPacket Core Control Plane Id  - name string
 - {[key: string]: string}
 - A mapping of tags which should be assigned to the Mobile Network Packet Core Data Plane.
 - user
Plane stringAccess Ipv4Address  - The IPv4 address for the user plane interface.
 - user
Plane stringAccess Ipv4Gateway  - The default IPv4 gateway for the user plane interface.
 - user
Plane stringAccess Ipv4Subnet  - The IPv4 subnet for the user plane interface.
 - user
Plane stringAccess Name  - The logical name for thie user plane interface.
 
- id str
 - The provider-assigned unique ID for this managed resource.
 - location str
 - The Azure Region where the Mobile Network Packet Core Data Plane should exist.
 - mobile_
network_ strpacket_ core_ control_ plane_ id  - name str
 - Mapping[str, str]
 - A mapping of tags which should be assigned to the Mobile Network Packet Core Data Plane.
 - user_
plane_ straccess_ ipv4_ address  - The IPv4 address for the user plane interface.
 - user_
plane_ straccess_ ipv4_ gateway  - The default IPv4 gateway for the user plane interface.
 - user_
plane_ straccess_ ipv4_ subnet  - The IPv4 subnet for the user plane interface.
 - user_
plane_ straccess_ name  - The logical name for thie user plane interface.
 
- id String
 - The provider-assigned unique ID for this managed resource.
 - location String
 - The Azure Region where the Mobile Network Packet Core Data Plane should exist.
 - mobile
Network StringPacket Core Control Plane Id  - name String
 - Map<String>
 - A mapping of tags which should be assigned to the Mobile Network Packet Core Data Plane.
 - user
Plane StringAccess Ipv4Address  - The IPv4 address for the user plane interface.
 - user
Plane StringAccess Ipv4Gateway  - The default IPv4 gateway for the user plane interface.
 - user
Plane StringAccess Ipv4Subnet  - The IPv4 subnet for the user plane interface.
 - user
Plane StringAccess Name  - The logical name for thie user plane interface.
 
Package Details
- Repository
 - Azure Classic pulumi/pulumi-azure
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
azurermTerraform Provider.