1. Packages
  2. Azure Classic
  3. API Docs
  4. mobile
  5. getNetworkPacketCoreDataPlane

We recommend using Azure Native.

Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi

azure.mobile.getNetworkPacketCoreDataPlane

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi

    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/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
    	})
    }
    
    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 dictionary

    The following arguments are supported:

    MobileNetworkPacketCoreControlPlaneId string
    The ID of the Mobile Network Packet Core Data Plane.
    Name string
    The name of the Mobile Network Packet Core Data Plane.
    MobileNetworkPacketCoreControlPlaneId string
    The ID of the Mobile Network Packet Core Data Plane.
    Name string
    The name of the Mobile Network Packet Core Data Plane.
    mobileNetworkPacketCoreControlPlaneId String
    The ID of the Mobile Network Packet Core Data Plane.
    name String
    The name of the Mobile Network Packet Core Data Plane.
    mobileNetworkPacketCoreControlPlaneId string
    The ID of the Mobile Network Packet Core Data Plane.
    name string
    The name of the Mobile Network Packet Core Data Plane.
    mobile_network_packet_core_control_plane_id str
    The ID of the Mobile Network Packet Core Data Plane.
    name str
    The name of the Mobile Network Packet Core Data Plane.
    mobileNetworkPacketCoreControlPlaneId String
    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.
    MobileNetworkPacketCoreControlPlaneId string
    Name string
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Mobile Network Packet Core Data Plane.
    UserPlaneAccessIpv4Address string
    The IPv4 address for the user plane interface.
    UserPlaneAccessIpv4Gateway string
    The default IPv4 gateway for the user plane interface.
    UserPlaneAccessIpv4Subnet string
    The IPv4 subnet for the user plane interface.
    UserPlaneAccessName string
    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.
    MobileNetworkPacketCoreControlPlaneId string
    Name string
    Tags map[string]string
    A mapping of tags which should be assigned to the Mobile Network Packet Core Data Plane.
    UserPlaneAccessIpv4Address string
    The IPv4 address for the user plane interface.
    UserPlaneAccessIpv4Gateway string
    The default IPv4 gateway for the user plane interface.
    UserPlaneAccessIpv4Subnet string
    The IPv4 subnet for the user plane interface.
    UserPlaneAccessName string
    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.
    mobileNetworkPacketCoreControlPlaneId String
    name String
    tags Map<String,String>
    A mapping of tags which should be assigned to the Mobile Network Packet Core Data Plane.
    userPlaneAccessIpv4Address String
    The IPv4 address for the user plane interface.
    userPlaneAccessIpv4Gateway String
    The default IPv4 gateway for the user plane interface.
    userPlaneAccessIpv4Subnet String
    The IPv4 subnet for the user plane interface.
    userPlaneAccessName String
    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.
    mobileNetworkPacketCoreControlPlaneId string
    name string
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Mobile Network Packet Core Data Plane.
    userPlaneAccessIpv4Address string
    The IPv4 address for the user plane interface.
    userPlaneAccessIpv4Gateway string
    The default IPv4 gateway for the user plane interface.
    userPlaneAccessIpv4Subnet string
    The IPv4 subnet for the user plane interface.
    userPlaneAccessName string
    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_packet_core_control_plane_id str
    name str
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Mobile Network Packet Core Data Plane.
    user_plane_access_ipv4_address str
    The IPv4 address for the user plane interface.
    user_plane_access_ipv4_gateway str
    The default IPv4 gateway for the user plane interface.
    user_plane_access_ipv4_subnet str
    The IPv4 subnet for the user plane interface.
    user_plane_access_name str
    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.
    mobileNetworkPacketCoreControlPlaneId String
    name String
    tags Map<String>
    A mapping of tags which should be assigned to the Mobile Network Packet Core Data Plane.
    userPlaneAccessIpv4Address String
    The IPv4 address for the user plane interface.
    userPlaneAccessIpv4Gateway String
    The default IPv4 gateway for the user plane interface.
    userPlaneAccessIpv4Subnet String
    The IPv4 subnet for the user plane interface.
    userPlaneAccessName String
    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 azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi