1. Packages
  2. Confluent Provider
  3. API Docs
  4. getNetworkLinkEndpoint
Confluent v2.23.0 published on Tuesday, Apr 1, 2025 by Pulumi

confluentcloud.getNetworkLinkEndpoint

Explore with Pulumi AI

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;
Copy
import pulumi
import pulumi_confluentcloud as confluentcloud

nle = confluentcloud.get_network_link_endpoint(id="nle-1357",
    environment={
        "id": "env-1234",
    })
pulumi.export("networkLinkEndpoint", nle)
Copy
package main

import (
	"github.com/pulumi/pulumi-confluentcloud/sdk/v2/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
	})
}
Copy
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,
    };
});
Copy
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));
    }
}
Copy
variables:
  nle:
    fn::invoke:
      function: confluentcloud:getNetworkLinkEndpoint
      arguments:
        id: nle-1357
        environment:
          id: env-1234
outputs:
  networkLinkEndpoint: ${nle}
Copy

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>
Copy
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]
Copy
func LookupNetworkLinkEndpoint(ctx *Context, args *LookupNetworkLinkEndpointArgs, opts ...InvokeOption) (*LookupNetworkLinkEndpointResult, error)
func LookupNetworkLinkEndpointOutput(ctx *Context, args *LookupNetworkLinkEndpointOutputArgs, opts ...InvokeOption) LookupNetworkLinkEndpointResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetNetworkLinkEndpointResult> getNetworkLinkEndpoint(GetNetworkLinkEndpointArgs args, InvokeOptions options)
public static Output<GetNetworkLinkEndpointResult> getNetworkLinkEndpoint(GetNetworkLinkEndpointArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: confluentcloud:index/getNetworkLinkEndpoint:getNetworkLinkEndpoint
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Environment This property is required. Pulumi.ConfluentCloud.Inputs.GetNetworkLinkEndpointEnvironment
Id This property is required. string
The ID of the Network Link Endpoint, for example, nle-zyw30.
Environment This property is required. GetNetworkLinkEndpointEnvironment
Id This property is required. string
The ID of the Network Link Endpoint, for example, nle-zyw30.
environment This property is required. GetNetworkLinkEndpointEnvironment
id This property is required. String
The ID of the Network Link Endpoint, for example, nle-zyw30.
environment This property is required. GetNetworkLinkEndpointEnvironment
id This property is required. string
The ID of the Network Link Endpoint, for example, nle-zyw30.
environment This property is required. GetNetworkLinkEndpointEnvironment
id This property is required. str
The ID of the Network Link Endpoint, for example, nle-zyw30.
environment This property is required. Property Map
id This property is required. 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 This property is required. string
The ID of the Environment that the Network Link Endpoint belongs to, for example, env-xyz456.
Id This property is required. string
The ID of the Environment that the Network Link Endpoint belongs to, for example, env-xyz456.
id This property is required. String
The ID of the Environment that the Network Link Endpoint belongs to, for example, env-xyz456.
id This property is required. string
The ID of the Environment that the Network Link Endpoint belongs to, for example, env-xyz456.
id This property is required. str
The ID of the Environment that the Network Link Endpoint belongs to, for example, env-xyz456.
id This property is required. String
The ID of the Environment that the Network Link Endpoint belongs to, for example, env-xyz456.

GetNetworkLinkEndpointNetwork

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

GetNetworkLinkEndpointNetworkLinkService

Id This property is required. string
The ID of the Network Link Endpoint, for example, nle-zyw30.
Id This property is required. string
The ID of the Network Link Endpoint, for example, nle-zyw30.
id This property is required. String
The ID of the Network Link Endpoint, for example, nle-zyw30.
id This property is required. string
The ID of the Network Link Endpoint, for example, nle-zyw30.
id This property is required. str
The ID of the Network Link Endpoint, for example, nle-zyw30.
id This property is required. 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.