Confluent Cloud
getPrivateLinkAccess
confluentcloud.PrivateLinkAccess
describes a Network data source.
Example Usage
using Pulumi;
using ConfluentCloud = Pulumi.ConfluentCloud;
class MyStack : Stack
{
public MyStack()
{
var exampleUsingIdPrivateLinkAccess = Output.Create(ConfluentCloud.GetPrivateLinkAccess.InvokeAsync(new ConfluentCloud.GetPrivateLinkAccessArgs
{
Id = "pla-abc123",
Environment = new ConfluentCloud.Inputs.GetPrivateLinkAccessEnvironmentArgs
{
Id = "env-xyz456",
},
}));
this.ExampleUsingId = exampleUsingIdPrivateLinkAccess;
var exampleUsingNamePrivateLinkAccess = Output.Create(ConfluentCloud.GetPrivateLinkAccess.InvokeAsync(new ConfluentCloud.GetPrivateLinkAccessArgs
{
DisplayName = "my_pla",
Environment = new ConfluentCloud.Inputs.GetPrivateLinkAccessEnvironmentArgs
{
Id = "env-xyz456",
},
}));
this.ExampleUsingName = exampleUsingNamePrivateLinkAccess;
}
[Output("exampleUsingId")]
public Output<string> ExampleUsingId { get; set; }
[Output("exampleUsingName")]
public Output<string> ExampleUsingName { get; set; }
}
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 {
exampleUsingIdPrivateLinkAccess, err := confluentcloud.LookupPrivateLinkAccess(ctx, &GetPrivateLinkAccessArgs{
Id: pulumi.StringRef("pla-abc123"),
Environment: GetPrivateLinkAccessEnvironment{
Id: "env-xyz456",
},
}, nil)
if err != nil {
return err
}
ctx.Export("exampleUsingId", exampleUsingIdPrivateLinkAccess)
exampleUsingNamePrivateLinkAccess, err := confluentcloud.LookupPrivateLinkAccess(ctx, &GetPrivateLinkAccessArgs{
DisplayName: pulumi.StringRef("my_pla"),
Environment: GetPrivateLinkAccessEnvironment{
Id: "env-xyz456",
},
}, nil)
if err != nil {
return err
}
ctx.Export("exampleUsingName", exampleUsingNamePrivateLinkAccess)
return nil
})
}
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.GetPrivateLinkAccessArgs;
import com.pulumi.confluentcloud.inputs.GetPrivateLinkAccessEnvironmentArgs;
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 exampleUsingIdPrivateLinkAccess = ConfluentcloudFunctions.getPrivateLinkAccess(GetPrivateLinkAccessArgs.builder()
.id("pla-abc123")
.environment(GetPrivateLinkAccessEnvironmentArgs.builder()
.id("env-xyz456")
.build())
.build());
ctx.export("exampleUsingId", exampleUsingIdPrivateLinkAccess.applyValue(getPrivateLinkAccessResult -> getPrivateLinkAccessResult));
final var exampleUsingNamePrivateLinkAccess = ConfluentcloudFunctions.getPrivateLinkAccess(GetPrivateLinkAccessArgs.builder()
.displayName("my_pla")
.environment(GetPrivateLinkAccessEnvironmentArgs.builder()
.id("env-xyz456")
.build())
.build());
ctx.export("exampleUsingName", exampleUsingNamePrivateLinkAccess.applyValue(getPrivateLinkAccessResult -> getPrivateLinkAccessResult));
}
}
import pulumi
import pulumi_confluentcloud as confluentcloud
example_using_id_private_link_access = confluentcloud.get_private_link_access(id="pla-abc123",
environment=confluentcloud.GetPrivateLinkAccessEnvironmentArgs(
id="env-xyz456",
))
pulumi.export("exampleUsingId", example_using_id_private_link_access)
example_using_name_private_link_access = confluentcloud.get_private_link_access(display_name="my_pla",
environment=confluentcloud.GetPrivateLinkAccessEnvironmentArgs(
id="env-xyz456",
))
pulumi.export("exampleUsingName", example_using_name_private_link_access)
import * as pulumi from "@pulumi/pulumi";
import * as confluentcloud from "@pulumi/confluentcloud";
const exampleUsingIdPrivateLinkAccess = confluentcloud.getPrivateLinkAccess({
id: "pla-abc123",
environment: {
id: "env-xyz456",
},
});
export const exampleUsingId = exampleUsingIdPrivateLinkAccess;
const exampleUsingNamePrivateLinkAccess = confluentcloud.getPrivateLinkAccess({
displayName: "my_pla",
environment: {
id: "env-xyz456",
},
});
export const exampleUsingName = exampleUsingNamePrivateLinkAccess;
variables:
exampleUsingIdPrivateLinkAccess:
Fn::Invoke:
Function: confluentcloud:getPrivateLinkAccess
Arguments:
id: pla-abc123
environment:
id: env-xyz456
exampleUsingNamePrivateLinkAccess:
Fn::Invoke:
Function: confluentcloud:getPrivateLinkAccess
Arguments:
displayName: my_pla
environment:
id: env-xyz456
outputs:
exampleUsingId: ${exampleUsingIdPrivateLinkAccess}
exampleUsingName: ${exampleUsingNamePrivateLinkAccess}
Using getPrivateLinkAccess
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 getPrivateLinkAccess(args: GetPrivateLinkAccessArgs, opts?: InvokeOptions): Promise<GetPrivateLinkAccessResult>
function getPrivateLinkAccessOutput(args: GetPrivateLinkAccessOutputArgs, opts?: InvokeOptions): Output<GetPrivateLinkAccessResult>
def get_private_link_access(display_name: Optional[str] = None,
environment: Optional[GetPrivateLinkAccessEnvironment] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrivateLinkAccessResult
def get_private_link_access_output(display_name: Optional[pulumi.Input[str]] = None,
environment: Optional[pulumi.Input[GetPrivateLinkAccessEnvironmentArgs]] = None,
id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPrivateLinkAccessResult]
func LookupPrivateLinkAccess(ctx *Context, args *LookupPrivateLinkAccessArgs, opts ...InvokeOption) (*LookupPrivateLinkAccessResult, error)
func LookupPrivateLinkAccessOutput(ctx *Context, args *LookupPrivateLinkAccessOutputArgs, opts ...InvokeOption) LookupPrivateLinkAccessResultOutput
> Note: This function is named LookupPrivateLinkAccess
in the Go SDK.
public static class GetPrivateLinkAccess
{
public static Task<GetPrivateLinkAccessResult> InvokeAsync(GetPrivateLinkAccessArgs args, InvokeOptions? opts = null)
public static Output<GetPrivateLinkAccessResult> Invoke(GetPrivateLinkAccessInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPrivateLinkAccessResult> getPrivateLinkAccess(GetPrivateLinkAccessArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: confluentcloud:index/getPrivateLinkAccess:getPrivateLinkAccess
Arguments:
# Arguments dictionary
The following arguments are supported:
- Environment
Pulumi.
Confluent Cloud. Inputs. Get Private Link Access Environment - Display
Name string A human-readable name for the Private Link Access.
- Id string
The ID of the Environment that the Private Link Access belongs to, for example,
env-xyz456
.
- Environment
Get
Private Link Access Environment - Display
Name string A human-readable name for the Private Link Access.
- Id string
The ID of the Environment that the Private Link Access belongs to, for example,
env-xyz456
.
- environment
Get
Private Link Access Environment - display
Name String A human-readable name for the Private Link Access.
- id String
The ID of the Environment that the Private Link Access belongs to, for example,
env-xyz456
.
- environment
Get
Private Link Access Environment - display
Name string A human-readable name for the Private Link Access.
- id string
The ID of the Environment that the Private Link Access belongs to, for example,
env-xyz456
.
- environment
Get
Private Link Access Environment - display_
name str A human-readable name for the Private Link Access.
- id str
The ID of the Environment that the Private Link Access belongs to, for example,
env-xyz456
.
- environment Property Map
- display
Name String A human-readable name for the Private Link Access.
- id String
The ID of the Environment that the Private Link Access belongs to, for example,
env-xyz456
.
getPrivateLinkAccess Result
The following output properties are available:
- Aws
List<Pulumi.
Confluent Cloud. Outputs. Get Private Link Access Aw> (Optional Configuration Block) The AWS-specific Private Link Access details if available. It supports the following:
- Azures
List<Pulumi.
Confluent Cloud. Outputs. Get Private Link Access Azure> (Optional Configuration Block) The Azure-specific Private Link Access details if available. It supports the following:
- Display
Name string (Optional String) The name of the Private Link Access.
environment
(Required Configuration Block) supports the following:
- Environment
Pulumi.
Confluent Cloud. Outputs. Get Private Link Access Environment - Id string
(Required String) The ID of the Network that the Private Link Access belongs to, for example,
n-abc123
.- Networks
List<Pulumi.
Confluent Cloud. Outputs. Get Private Link Access Network>
- Aws
[]Get
Private Link Access Aw (Optional Configuration Block) The AWS-specific Private Link Access details if available. It supports the following:
- Azures
[]Get
Private Link Access Azure (Optional Configuration Block) The Azure-specific Private Link Access details if available. It supports the following:
- Display
Name string (Optional String) The name of the Private Link Access.
environment
(Required Configuration Block) supports the following:
- Environment
Get
Private Link Access Environment - Id string
(Required String) The ID of the Network that the Private Link Access belongs to, for example,
n-abc123
.- Networks
[]Get
Private Link Access Network
- aws
List<Get
Private Link Access Aw> (Optional Configuration Block) The AWS-specific Private Link Access details if available. It supports the following:
- azures
List<Get
Private Link Access Azure> (Optional Configuration Block) The Azure-specific Private Link Access details if available. It supports the following:
- display
Name String (Optional String) The name of the Private Link Access.
environment
(Required Configuration Block) supports the following:
- environment
Get
Private Link Access Environment - id String
(Required String) The ID of the Network that the Private Link Access belongs to, for example,
n-abc123
.- networks
List<Get
Private Link Access Network>
- aws
Get
Private Link Access Aw[] (Optional Configuration Block) The AWS-specific Private Link Access details if available. It supports the following:
- azures
Get
Private Link Access Azure[] (Optional Configuration Block) The Azure-specific Private Link Access details if available. It supports the following:
- display
Name string (Optional String) The name of the Private Link Access.
environment
(Required Configuration Block) supports the following:
- environment
Get
Private Link Access Environment - id string
(Required String) The ID of the Network that the Private Link Access belongs to, for example,
n-abc123
.- networks
Get
Private Link Access Network[]
- aws
Sequence[Get
Private Link Access Aw] (Optional Configuration Block) The AWS-specific Private Link Access details if available. It supports the following:
- azures
Sequence[Get
Private Link Access Azure] (Optional Configuration Block) The Azure-specific Private Link Access details if available. It supports the following:
- display_
name str (Optional String) The name of the Private Link Access.
environment
(Required Configuration Block) supports the following:
- environment
Get
Private Link Access Environment - id str
(Required String) The ID of the Network that the Private Link Access belongs to, for example,
n-abc123
.- networks
Sequence[Get
Private Link Access Network]
- aws List<Property Map>
(Optional Configuration Block) The AWS-specific Private Link Access details if available. It supports the following:
- azures List<Property Map>
(Optional Configuration Block) The Azure-specific Private Link Access details if available. It supports the following:
- display
Name String (Optional String) The name of the Private Link Access.
environment
(Required Configuration Block) supports the following:
- environment Property Map
- id String
(Required String) The ID of the Network that the Private Link Access belongs to, for example,
n-abc123
.- networks List<Property Map>
Supporting Types
GetPrivateLinkAccessAw
GetPrivateLinkAccessAzure
- Subscription string
(Required String) The Azure subscription ID to enable for the Private Link Access. You can find your Azure subscription ID in the subscription section of your Microsoft Azure Portal. Must be a valid 32 character UUID string.
- Subscription string
(Required String) The Azure subscription ID to enable for the Private Link Access. You can find your Azure subscription ID in the subscription section of your Microsoft Azure Portal. Must be a valid 32 character UUID string.
- subscription String
(Required String) The Azure subscription ID to enable for the Private Link Access. You can find your Azure subscription ID in the subscription section of your Microsoft Azure Portal. Must be a valid 32 character UUID string.
- subscription string
(Required String) The Azure subscription ID to enable for the Private Link Access. You can find your Azure subscription ID in the subscription section of your Microsoft Azure Portal. Must be a valid 32 character UUID string.
- subscription str
(Required String) The Azure subscription ID to enable for the Private Link Access. You can find your Azure subscription ID in the subscription section of your Microsoft Azure Portal. Must be a valid 32 character UUID string.
- subscription String
(Required String) The Azure subscription ID to enable for the Private Link Access. You can find your Azure subscription ID in the subscription section of your Microsoft Azure Portal. Must be a valid 32 character UUID string.
GetPrivateLinkAccessEnvironment
- Id string
The ID of the Environment that the Private Link Access belongs to, for example,
env-xyz456
.
- Id string
The ID of the Environment that the Private Link Access belongs to, for example,
env-xyz456
.
- id String
The ID of the Environment that the Private Link Access belongs to, for example,
env-xyz456
.
- id string
The ID of the Environment that the Private Link Access belongs to, for example,
env-xyz456
.
- id str
The ID of the Environment that the Private Link Access belongs to, for example,
env-xyz456
.
- id String
The ID of the Environment that the Private Link Access belongs to, for example,
env-xyz456
.
GetPrivateLinkAccessNetwork
- Id string
The ID of the Environment that the Private Link Access belongs to, for example,
env-xyz456
.
- Id string
The ID of the Environment that the Private Link Access belongs to, for example,
env-xyz456
.
- id String
The ID of the Environment that the Private Link Access belongs to, for example,
env-xyz456
.
- id string
The ID of the Environment that the Private Link Access belongs to, for example,
env-xyz456
.
- id str
The ID of the Environment that the Private Link Access belongs to, for example,
env-xyz456
.
- id String
The ID of the Environment that the Private Link Access belongs to, for example,
env-xyz456
.
Package Details
- Repository
- https://github.com/pulumi/pulumi-confluentcloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
confluent
Terraform Provider.