1. Packages
  2. Confluent Cloud
  3. API Docs
  4. getNetworkLinkEndpoint
Confluent v1.43.0 published on Thursday, Apr 25, 2024 by Pulumi

confluentcloud.getNetworkLinkEndpoint

Explore with Pulumi AI

confluentcloud logo
Confluent v1.43.0 published on Thursday, Apr 25, 2024 by Pulumi

    General Availability

    confluentcloud.NetworkLinkEndpoint describes a Network Link Endpoint data source.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as confluentcloud from "@pulumi/confluentcloud";
    
    const nle = confluentcloud.getNetworkLinkEndpoint({
        id: "nle-1357",
        environment: {
            id: "env-1234",
        },
    });
    export const networkLinkEndpoint = nle;
    
    import pulumi
    import pulumi_confluentcloud as confluentcloud
    
    nle = confluentcloud.get_network_link_endpoint(id="nle-1357",
        environment=confluentcloud.GetNetworkLinkEndpointEnvironmentArgs(
            id="env-1234",
        ))
    pulumi.export("networkLinkEndpoint", nle)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		nle, err := confluentcloud.LookupNetworkLinkEndpoint(ctx, &confluentcloud.LookupNetworkLinkEndpointArgs{
    			Id: "nle-1357",
    			Environment: confluentcloud.GetNetworkLinkEndpointEnvironment{
    				Id: "env-1234",
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("networkLinkEndpoint", nle)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using ConfluentCloud = Pulumi.ConfluentCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var nle = ConfluentCloud.GetNetworkLinkEndpoint.Invoke(new()
        {
            Id = "nle-1357",
            Environment = new ConfluentCloud.Inputs.GetNetworkLinkEndpointEnvironmentInputArgs
            {
                Id = "env-1234",
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["networkLinkEndpoint"] = nle,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.confluentcloud.ConfluentcloudFunctions;
    import com.pulumi.confluentcloud.inputs.GetNetworkLinkEndpointArgs;
    import com.pulumi.confluentcloud.inputs.GetNetworkLinkEndpointEnvironmentArgs;
    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 nle = ConfluentcloudFunctions.getNetworkLinkEndpoint(GetNetworkLinkEndpointArgs.builder()
                .id("nle-1357")
                .environment(GetNetworkLinkEndpointEnvironmentArgs.builder()
                    .id("env-1234")
                    .build())
                .build());
    
            ctx.export("networkLinkEndpoint", nle.applyValue(getNetworkLinkEndpointResult -> getNetworkLinkEndpointResult));
        }
    }
    
    variables:
      nle:
        fn::invoke:
          Function: confluentcloud:getNetworkLinkEndpoint
          Arguments:
            id: nle-1357
            environment:
              id: env-1234
    outputs:
      networkLinkEndpoint: ${nle}
    

    Using getNetworkLinkEndpoint

    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 getNetworkLinkEndpoint(args: GetNetworkLinkEndpointArgs, opts?: InvokeOptions): Promise<GetNetworkLinkEndpointResult>
    function getNetworkLinkEndpointOutput(args: GetNetworkLinkEndpointOutputArgs, opts?: InvokeOptions): Output<GetNetworkLinkEndpointResult>
    def get_network_link_endpoint(environment: Optional[GetNetworkLinkEndpointEnvironment] = None,
                                  id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetNetworkLinkEndpointResult
    def get_network_link_endpoint_output(environment: Optional[pulumi.Input[GetNetworkLinkEndpointEnvironmentArgs]] = None,
                                  id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetNetworkLinkEndpointResult]
    func LookupNetworkLinkEndpoint(ctx *Context, args *LookupNetworkLinkEndpointArgs, opts ...InvokeOption) (*LookupNetworkLinkEndpointResult, error)
    func LookupNetworkLinkEndpointOutput(ctx *Context, args *LookupNetworkLinkEndpointOutputArgs, opts ...InvokeOption) LookupNetworkLinkEndpointResultOutput

    > Note: This function is named LookupNetworkLinkEndpoint in the Go SDK.

    public static class GetNetworkLinkEndpoint 
    {
        public static Task<GetNetworkLinkEndpointResult> InvokeAsync(GetNetworkLinkEndpointArgs args, InvokeOptions? opts = null)
        public static Output<GetNetworkLinkEndpointResult> Invoke(GetNetworkLinkEndpointInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNetworkLinkEndpointResult> getNetworkLinkEndpoint(GetNetworkLinkEndpointArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: confluentcloud:index/getNetworkLinkEndpoint:getNetworkLinkEndpoint
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Environment Pulumi.ConfluentCloud.Inputs.GetNetworkLinkEndpointEnvironment
    Id string
    The ID of the Network Link Endpoint, for example, nle-zyw30.
    Environment GetNetworkLinkEndpointEnvironment
    Id string
    The ID of the Network Link Endpoint, for example, nle-zyw30.
    environment GetNetworkLinkEndpointEnvironment
    id String
    The ID of the Network Link Endpoint, for example, nle-zyw30.
    environment GetNetworkLinkEndpointEnvironment
    id string
    The ID of the Network Link Endpoint, for example, nle-zyw30.
    environment GetNetworkLinkEndpointEnvironment
    id str
    The ID of the Network Link Endpoint, for example, nle-zyw30.
    environment Property Map
    id String
    The ID of the Network Link Endpoint, for example, nle-zyw30.

    getNetworkLinkEndpoint Result

    The following output properties are available:

    Description string
    (Optional String) The description of the Network Link Endpoint.
    DisplayName string
    (Optional String) The name of the Network Link Endpoint.
    Environment Pulumi.ConfluentCloud.Outputs.GetNetworkLinkEndpointEnvironment
    Id string
    (Required String) The ID of the Network Link Service
    NetworkLinkServices List<Pulumi.ConfluentCloud.Outputs.GetNetworkLinkEndpointNetworkLinkService>
    (Required Configuration Block) supports the following:
    Networks List<Pulumi.ConfluentCloud.Outputs.GetNetworkLinkEndpointNetwork>
    (Required Configuration Block) supports the following:
    ResourceName string
    (Required String) The Confluent Resource Name of the Network Link Endpoint.
    Description string
    (Optional String) The description of the Network Link Endpoint.
    DisplayName string
    (Optional String) The name of the Network Link Endpoint.
    Environment GetNetworkLinkEndpointEnvironment
    Id string
    (Required String) The ID of the Network Link Service
    NetworkLinkServices []GetNetworkLinkEndpointNetworkLinkService
    (Required Configuration Block) supports the following:
    Networks []GetNetworkLinkEndpointNetwork
    (Required Configuration Block) supports the following:
    ResourceName string
    (Required String) The Confluent Resource Name of the Network Link Endpoint.
    description String
    (Optional String) The description of the Network Link Endpoint.
    displayName String
    (Optional String) The name of the Network Link Endpoint.
    environment GetNetworkLinkEndpointEnvironment
    id String
    (Required String) The ID of the Network Link Service
    networkLinkServices List<GetNetworkLinkEndpointNetworkLinkService>
    (Required Configuration Block) supports the following:
    networks List<GetNetworkLinkEndpointNetwork>
    (Required Configuration Block) supports the following:
    resourceName String
    (Required String) The Confluent Resource Name of the Network Link Endpoint.
    description string
    (Optional String) The description of the Network Link Endpoint.
    displayName string
    (Optional String) The name of the Network Link Endpoint.
    environment GetNetworkLinkEndpointEnvironment
    id string
    (Required String) The ID of the Network Link Service
    networkLinkServices GetNetworkLinkEndpointNetworkLinkService[]
    (Required Configuration Block) supports the following:
    networks GetNetworkLinkEndpointNetwork[]
    (Required Configuration Block) supports the following:
    resourceName string
    (Required String) The Confluent Resource Name of the Network Link Endpoint.
    description str
    (Optional String) The description of the Network Link Endpoint.
    display_name str
    (Optional String) The name of the Network Link Endpoint.
    environment GetNetworkLinkEndpointEnvironment
    id str
    (Required String) The ID of the Network Link Service
    network_link_services Sequence[GetNetworkLinkEndpointNetworkLinkService]
    (Required Configuration Block) supports the following:
    networks Sequence[GetNetworkLinkEndpointNetwork]
    (Required Configuration Block) supports the following:
    resource_name str
    (Required String) The Confluent Resource Name of the Network Link Endpoint.
    description String
    (Optional String) The description of the Network Link Endpoint.
    displayName String
    (Optional String) The name of the Network Link Endpoint.
    environment Property Map
    id String
    (Required String) The ID of the Network Link Service
    networkLinkServices List<Property Map>
    (Required Configuration Block) supports the following:
    networks List<Property Map>
    (Required Configuration Block) supports the following:
    resourceName String
    (Required String) The Confluent Resource Name of the Network Link Endpoint.

    Supporting Types

    GetNetworkLinkEndpointEnvironment

    Id string
    The ID of the Environment that the Network Link Endpoint belongs to, for example, env-xyz456.
    Id string
    The ID of the Environment that the Network Link Endpoint belongs to, for example, env-xyz456.
    id String
    The ID of the Environment that the Network Link Endpoint belongs to, for example, env-xyz456.
    id string
    The ID of the Environment that the Network Link Endpoint belongs to, for example, env-xyz456.
    id str
    The ID of the Environment that the Network Link Endpoint belongs to, for example, env-xyz456.
    id String
    The ID of the Environment that the Network Link Endpoint belongs to, for example, env-xyz456.

    GetNetworkLinkEndpointNetwork

    Id string
    The ID of the Network Link Endpoint, for example, nle-zyw30.
    Id string
    The ID of the Network Link Endpoint, for example, nle-zyw30.
    id String
    The ID of the Network Link Endpoint, for example, nle-zyw30.
    id string
    The ID of the Network Link Endpoint, for example, nle-zyw30.
    id str
    The ID of the Network Link Endpoint, for example, nle-zyw30.
    id String
    The ID of the Network Link Endpoint, for example, nle-zyw30.

    GetNetworkLinkEndpointNetworkLinkService

    Id string
    The ID of the Network Link Endpoint, for example, nle-zyw30.
    Id string
    The ID of the Network Link Endpoint, for example, nle-zyw30.
    id String
    The ID of the Network Link Endpoint, for example, nle-zyw30.
    id string
    The ID of the Network Link Endpoint, for example, nle-zyw30.
    id str
    The ID of the Network Link Endpoint, for example, nle-zyw30.
    id String
    The ID of the Network Link Endpoint, for example, nle-zyw30.

    Package Details

    Repository
    Confluent Cloud pulumi/pulumi-confluentcloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the confluent Terraform Provider.
    confluentcloud logo
    Confluent v1.43.0 published on Thursday, Apr 25, 2024 by Pulumi