Confluent v2.10.0 published on Wednesday, Nov 20, 2024 by Pulumi
confluentcloud.getNetworkLinkEndpoint
Explore with Pulumi AI
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={
"id": "env-1234",
})
pulumi.export("networkLinkEndpoint", nle)
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
})
}
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.
Confluent Cloud. Inputs. Get Network Link Endpoint Environment - Id string
- The ID of the Network Link Endpoint, for example,
nle-zyw30
.
- Environment
Get
Network Link Endpoint Environment - Id string
- The ID of the Network Link Endpoint, for example,
nle-zyw30
.
- environment
Get
Network Link Endpoint Environment - id String
- The ID of the Network Link Endpoint, for example,
nle-zyw30
.
- environment
Get
Network Link Endpoint Environment - id string
- The ID of the Network Link Endpoint, for example,
nle-zyw30
.
- environment
Get
Network Link Endpoint Environment - 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.
- Display
Name string - (Optional String) The name of the Network Link Endpoint.
- Environment
Pulumi.
Confluent Cloud. Outputs. Get Network Link Endpoint Environment - Id string
- (Required String) The ID of the Network Link Service
- Network
Link List<Pulumi.Services Confluent Cloud. Outputs. Get Network Link Endpoint Network Link Service> - (Required Configuration Block) supports the following:
- Networks
List<Pulumi.
Confluent Cloud. Outputs. Get Network Link Endpoint Network> - (Required Configuration Block) supports the following:
- Resource
Name string - (Required String) The Confluent Resource Name of the Network Link Endpoint.
- Description string
- (Optional String) The description of the Network Link Endpoint.
- Display
Name string - (Optional String) The name of the Network Link Endpoint.
- Environment
Get
Network Link Endpoint Environment - Id string
- (Required String) The ID of the Network Link Service
- Network
Link []GetServices Network Link Endpoint Network Link Service - (Required Configuration Block) supports the following:
- Networks
[]Get
Network Link Endpoint Network - (Required Configuration Block) supports the following:
- Resource
Name string - (Required String) The Confluent Resource Name of the Network Link Endpoint.
- description String
- (Optional String) The description of the Network Link Endpoint.
- display
Name String - (Optional String) The name of the Network Link Endpoint.
- environment
Get
Network Link Endpoint Environment - id String
- (Required String) The ID of the Network Link Service
- network
Link List<GetServices Network Link Endpoint Network Link Service> - (Required Configuration Block) supports the following:
- networks
List<Get
Network Link Endpoint Network> - (Required Configuration Block) supports the following:
- resource
Name String - (Required String) The Confluent Resource Name of the Network Link Endpoint.
- description string
- (Optional String) The description of the Network Link Endpoint.
- display
Name string - (Optional String) The name of the Network Link Endpoint.
- environment
Get
Network Link Endpoint Environment - id string
- (Required String) The ID of the Network Link Service
- network
Link GetServices Network Link Endpoint Network Link Service[] - (Required Configuration Block) supports the following:
- networks
Get
Network Link Endpoint Network[] - (Required Configuration Block) supports the following:
- resource
Name 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
Get
Network Link Endpoint Environment - id str
- (Required String) The ID of the Network Link Service
- network_
link_ Sequence[Getservices Network Link Endpoint Network Link Service] - (Required Configuration Block) supports the following:
- networks
Sequence[Get
Network Link Endpoint Network] - (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.
- display
Name String - (Optional String) The name of the Network Link Endpoint.
- environment Property Map
- id String
- (Required String) The ID of the Network Link Service
- network
Link List<Property Map>Services - (Required Configuration Block) supports the following:
- networks List<Property Map>
- (Required Configuration Block) supports the following:
- resource
Name 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.