1. Packages
  2. Confluent Cloud
  3. API Docs
  4. getNetwork
Confluent v1.48.0 published on Friday, Jun 21, 2024 by Pulumi

confluentcloud.getNetwork

Explore with Pulumi AI

confluentcloud logo
Confluent v1.48.0 published on Friday, Jun 21, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as confluentcloud from "@pulumi/confluentcloud";
    
    export = async () => {
        const exampleUsingId = await confluentcloud.getNetwork({
            id: "n-abc123",
            environment: {
                id: "env-xyz456",
            },
        });
        const test_sa = new confluentcloud.ServiceAccount("test-sa", {
            displayName: "test_sa",
            description: `test_sa for ${exampleUsingId.displayName}`,
        });
        const exampleUsingName = await confluentcloud.getNetwork({
            displayName: "my_network",
            environment: {
                id: "env-xyz456",
            },
        });
        return {
            exampleUsingName: exampleUsingName,
        };
    }
    
    import pulumi
    import pulumi_confluentcloud as confluentcloud
    
    example_using_id = confluentcloud.get_network(id="n-abc123",
        environment=confluentcloud.GetNetworkEnvironmentArgs(
            id="env-xyz456",
        ))
    test_sa = confluentcloud.ServiceAccount("test-sa",
        display_name="test_sa",
        description=f"test_sa for {example_using_id.display_name}")
    example_using_name = confluentcloud.get_network(display_name="my_network",
        environment=confluentcloud.GetNetworkEnvironmentArgs(
            id="env-xyz456",
        ))
    pulumi.export("exampleUsingName", example_using_name)
    
    package main
    
    import (
    	"fmt"
    
    	"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 {
    		exampleUsingId, err := confluentcloud.LookupNetwork(ctx, &confluentcloud.LookupNetworkArgs{
    			Id: pulumi.StringRef("n-abc123"),
    			Environment: confluentcloud.GetNetworkEnvironment{
    				Id: "env-xyz456",
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = confluentcloud.NewServiceAccount(ctx, "test-sa", &confluentcloud.ServiceAccountArgs{
    			DisplayName: pulumi.String("test_sa"),
    			Description: pulumi.String(fmt.Sprintf("test_sa for %v", exampleUsingId.DisplayName)),
    		})
    		if err != nil {
    			return err
    		}
    		exampleUsingName, err := confluentcloud.LookupNetwork(ctx, &confluentcloud.LookupNetworkArgs{
    			DisplayName: pulumi.StringRef("my_network"),
    			Environment: confluentcloud.GetNetworkEnvironment{
    				Id: "env-xyz456",
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("exampleUsingName", exampleUsingName)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using ConfluentCloud = Pulumi.ConfluentCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleUsingId = ConfluentCloud.GetNetwork.Invoke(new()
        {
            Id = "n-abc123",
            Environment = new ConfluentCloud.Inputs.GetNetworkEnvironmentInputArgs
            {
                Id = "env-xyz456",
            },
        });
    
        var test_sa = new ConfluentCloud.ServiceAccount("test-sa", new()
        {
            DisplayName = "test_sa",
            Description = $"test_sa for {exampleUsingId.Apply(getNetworkResult => getNetworkResult.DisplayName)}",
        });
    
        var exampleUsingName = ConfluentCloud.GetNetwork.Invoke(new()
        {
            DisplayName = "my_network",
            Environment = new ConfluentCloud.Inputs.GetNetworkEnvironmentInputArgs
            {
                Id = "env-xyz456",
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["exampleUsingName"] = exampleUsingName,
        };
    });
    
    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.GetNetworkArgs;
    import com.pulumi.confluentcloud.inputs.GetNetworkEnvironmentArgs;
    import com.pulumi.confluentcloud.ServiceAccount;
    import com.pulumi.confluentcloud.ServiceAccountArgs;
    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 exampleUsingId = ConfluentcloudFunctions.getNetwork(GetNetworkArgs.builder()
                .id("n-abc123")
                .environment(GetNetworkEnvironmentArgs.builder()
                    .id("env-xyz456")
                    .build())
                .build());
    
            var test_sa = new ServiceAccount("test-sa", ServiceAccountArgs.builder()
                .displayName("test_sa")
                .description(String.format("test_sa for %s", exampleUsingId.applyValue(getNetworkResult -> getNetworkResult.displayName())))
                .build());
    
            final var exampleUsingName = ConfluentcloudFunctions.getNetwork(GetNetworkArgs.builder()
                .displayName("my_network")
                .environment(GetNetworkEnvironmentArgs.builder()
                    .id("env-xyz456")
                    .build())
                .build());
    
            ctx.export("exampleUsingName", exampleUsingName.applyValue(getNetworkResult -> getNetworkResult));
        }
    }
    
    resources:
      test-sa:
        type: confluentcloud:ServiceAccount
        properties:
          displayName: test_sa
          description: test_sa for ${exampleUsingId.displayName}
    variables:
      exampleUsingId:
        fn::invoke:
          Function: confluentcloud:getNetwork
          Arguments:
            id: n-abc123
            environment:
              id: env-xyz456
      exampleUsingName:
        fn::invoke:
          Function: confluentcloud:getNetwork
          Arguments:
            displayName: my_network
            environment:
              id: env-xyz456
    outputs:
      exampleUsingName: ${exampleUsingName}
    

    Using getNetwork

    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 getNetwork(args: GetNetworkArgs, opts?: InvokeOptions): Promise<GetNetworkResult>
    function getNetworkOutput(args: GetNetworkOutputArgs, opts?: InvokeOptions): Output<GetNetworkResult>
    def get_network(aws: Optional[Sequence[GetNetworkAw]] = None,
                    azures: Optional[Sequence[GetNetworkAzure]] = None,
                    display_name: Optional[str] = None,
                    dns_configs: Optional[Sequence[GetNetworkDnsConfig]] = None,
                    environment: Optional[GetNetworkEnvironment] = None,
                    gcps: Optional[Sequence[GetNetworkGcp]] = None,
                    id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetNetworkResult
    def get_network_output(aws: Optional[pulumi.Input[Sequence[pulumi.Input[GetNetworkAwArgs]]]] = None,
                    azures: Optional[pulumi.Input[Sequence[pulumi.Input[GetNetworkAzureArgs]]]] = None,
                    display_name: Optional[pulumi.Input[str]] = None,
                    dns_configs: Optional[pulumi.Input[Sequence[pulumi.Input[GetNetworkDnsConfigArgs]]]] = None,
                    environment: Optional[pulumi.Input[GetNetworkEnvironmentArgs]] = None,
                    gcps: Optional[pulumi.Input[Sequence[pulumi.Input[GetNetworkGcpArgs]]]] = None,
                    id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetNetworkResult]
    func LookupNetwork(ctx *Context, args *LookupNetworkArgs, opts ...InvokeOption) (*LookupNetworkResult, error)
    func LookupNetworkOutput(ctx *Context, args *LookupNetworkOutputArgs, opts ...InvokeOption) LookupNetworkResultOutput

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

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

    The following arguments are supported:

    Environment Pulumi.ConfluentCloud.Inputs.GetNetworkEnvironment
    Aws List<Pulumi.ConfluentCloud.Inputs.GetNetworkAw>
    (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
    Azures List<Pulumi.ConfluentCloud.Inputs.GetNetworkAzure>
    (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
    DisplayName string
    A human-readable name for the Network.
    DnsConfigs List<Pulumi.ConfluentCloud.Inputs.GetNetworkDnsConfig>
    (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:
    Gcps List<Pulumi.ConfluentCloud.Inputs.GetNetworkGcp>
    (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
    Id string
    The ID of the Network, for example, n-abc123.
    Environment GetNetworkEnvironment
    Aws []GetNetworkAw
    (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
    Azures []GetNetworkAzure
    (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
    DisplayName string
    A human-readable name for the Network.
    DnsConfigs []GetNetworkDnsConfig
    (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:
    Gcps []GetNetworkGcp
    (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
    Id string
    The ID of the Network, for example, n-abc123.
    environment GetNetworkEnvironment
    aws List<GetNetworkAw>
    (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
    azures List<GetNetworkAzure>
    (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
    displayName String
    A human-readable name for the Network.
    dnsConfigs List<GetNetworkDnsConfig>
    (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:
    gcps List<GetNetworkGcp>
    (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
    id String
    The ID of the Network, for example, n-abc123.
    environment GetNetworkEnvironment
    aws GetNetworkAw[]
    (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
    azures GetNetworkAzure[]
    (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
    displayName string
    A human-readable name for the Network.
    dnsConfigs GetNetworkDnsConfig[]
    (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:
    gcps GetNetworkGcp[]
    (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
    id string
    The ID of the Network, for example, n-abc123.
    environment GetNetworkEnvironment
    aws Sequence[GetNetworkAw]
    (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
    azures Sequence[GetNetworkAzure]
    (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
    display_name str
    A human-readable name for the Network.
    dns_configs Sequence[GetNetworkDnsConfig]
    (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:
    gcps Sequence[GetNetworkGcp]
    (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
    id str
    The ID of the Network, for example, n-abc123.
    environment Property Map
    aws List<Property Map>
    (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
    azures List<Property Map>
    (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
    displayName String
    A human-readable name for the Network.
    dnsConfigs List<Property Map>
    (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:
    gcps List<Property Map>
    (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
    id String
    The ID of the Network, for example, n-abc123.

    getNetwork Result

    The following output properties are available:

    Aws List<Pulumi.ConfluentCloud.Outputs.GetNetworkAw>
    (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
    Azures List<Pulumi.ConfluentCloud.Outputs.GetNetworkAzure>
    (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
    Cidr string
    (Required String) The IPv4 CIDR block to be used for the network. Must be /27. Required for VPC peering and AWS TransitGateway.
    Cloud string
    (Required String) The cloud service provider in which the network exists. Accepted values are: AWS, AZURE, and GCP.
    ConnectionTypes List<string>
    (Required List of String) The list of connection types that may be used with the network. Accepted connection types are: PEERING, TRANSITGATEWAY, and PRIVATELINK.
    DisplayName string
    (Required String) The name of the Network.
    DnsConfigs List<Pulumi.ConfluentCloud.Outputs.GetNetworkDnsConfig>
    (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:
    DnsDomain string
    Environment Pulumi.ConfluentCloud.Outputs.GetNetworkEnvironment
    Gateways List<Pulumi.ConfluentCloud.Outputs.GetNetworkGateway>
    (Optional Configuration Block) supports the following:
    Gcps List<Pulumi.ConfluentCloud.Outputs.GetNetworkGcp>
    (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
    Id string
    (Optional String) The ID of the Gateway, for example, gw-abc123.
    Region string
    (Required String) The cloud provider region where the network exists.
    ReservedCidr string
    (Required String) The reserved IPv4 CIDR block to be used for the network. Must be /24. If not specified, Confluent Cloud Network uses 172.20.255.0/24.
    ResourceName string
    (Required String) The Confluent Resource Name of the Network.
    ZonalSubdomains Dictionary<string, string>
    ZoneInfos List<Pulumi.ConfluentCloud.Outputs.GetNetworkZoneInfo>
    (Required Configuration Blocks) Each item represents information related to a single zone. It supports the following:
    Zones List<string>
    (Optional List of String) The 3 availability zones for this network. They can optionally be specified for AWS networks used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. On AWS, zones are AWS AZ IDs, for example, use1-az3. On GCP, zones are GCP zones, for example, us-central1-c. On Azure, zones are Confluent-chosen names (for example, 1, 2, 3) since Azure does not have universal zone identifiers.
    Aws []GetNetworkAw
    (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
    Azures []GetNetworkAzure
    (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
    Cidr string
    (Required String) The IPv4 CIDR block to be used for the network. Must be /27. Required for VPC peering and AWS TransitGateway.
    Cloud string
    (Required String) The cloud service provider in which the network exists. Accepted values are: AWS, AZURE, and GCP.
    ConnectionTypes []string
    (Required List of String) The list of connection types that may be used with the network. Accepted connection types are: PEERING, TRANSITGATEWAY, and PRIVATELINK.
    DisplayName string
    (Required String) The name of the Network.
    DnsConfigs []GetNetworkDnsConfig
    (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:
    DnsDomain string
    Environment GetNetworkEnvironment
    Gateways []GetNetworkGateway
    (Optional Configuration Block) supports the following:
    Gcps []GetNetworkGcp
    (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
    Id string
    (Optional String) The ID of the Gateway, for example, gw-abc123.
    Region string
    (Required String) The cloud provider region where the network exists.
    ReservedCidr string
    (Required String) The reserved IPv4 CIDR block to be used for the network. Must be /24. If not specified, Confluent Cloud Network uses 172.20.255.0/24.
    ResourceName string
    (Required String) The Confluent Resource Name of the Network.
    ZonalSubdomains map[string]string
    ZoneInfos []GetNetworkZoneInfo
    (Required Configuration Blocks) Each item represents information related to a single zone. It supports the following:
    Zones []string
    (Optional List of String) The 3 availability zones for this network. They can optionally be specified for AWS networks used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. On AWS, zones are AWS AZ IDs, for example, use1-az3. On GCP, zones are GCP zones, for example, us-central1-c. On Azure, zones are Confluent-chosen names (for example, 1, 2, 3) since Azure does not have universal zone identifiers.
    aws List<GetNetworkAw>
    (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
    azures List<GetNetworkAzure>
    (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
    cidr String
    (Required String) The IPv4 CIDR block to be used for the network. Must be /27. Required for VPC peering and AWS TransitGateway.
    cloud String
    (Required String) The cloud service provider in which the network exists. Accepted values are: AWS, AZURE, and GCP.
    connectionTypes List<String>
    (Required List of String) The list of connection types that may be used with the network. Accepted connection types are: PEERING, TRANSITGATEWAY, and PRIVATELINK.
    displayName String
    (Required String) The name of the Network.
    dnsConfigs List<GetNetworkDnsConfig>
    (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:
    dnsDomain String
    environment GetNetworkEnvironment
    gateways List<GetNetworkGateway>
    (Optional Configuration Block) supports the following:
    gcps List<GetNetworkGcp>
    (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
    id String
    (Optional String) The ID of the Gateway, for example, gw-abc123.
    region String
    (Required String) The cloud provider region where the network exists.
    reservedCidr String
    (Required String) The reserved IPv4 CIDR block to be used for the network. Must be /24. If not specified, Confluent Cloud Network uses 172.20.255.0/24.
    resourceName String
    (Required String) The Confluent Resource Name of the Network.
    zonalSubdomains Map<String,String>
    zoneInfos List<GetNetworkZoneInfo>
    (Required Configuration Blocks) Each item represents information related to a single zone. It supports the following:
    zones List<String>
    (Optional List of String) The 3 availability zones for this network. They can optionally be specified for AWS networks used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. On AWS, zones are AWS AZ IDs, for example, use1-az3. On GCP, zones are GCP zones, for example, us-central1-c. On Azure, zones are Confluent-chosen names (for example, 1, 2, 3) since Azure does not have universal zone identifiers.
    aws GetNetworkAw[]
    (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
    azures GetNetworkAzure[]
    (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
    cidr string
    (Required String) The IPv4 CIDR block to be used for the network. Must be /27. Required for VPC peering and AWS TransitGateway.
    cloud string
    (Required String) The cloud service provider in which the network exists. Accepted values are: AWS, AZURE, and GCP.
    connectionTypes string[]
    (Required List of String) The list of connection types that may be used with the network. Accepted connection types are: PEERING, TRANSITGATEWAY, and PRIVATELINK.
    displayName string
    (Required String) The name of the Network.
    dnsConfigs GetNetworkDnsConfig[]
    (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:
    dnsDomain string
    environment GetNetworkEnvironment
    gateways GetNetworkGateway[]
    (Optional Configuration Block) supports the following:
    gcps GetNetworkGcp[]
    (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
    id string
    (Optional String) The ID of the Gateway, for example, gw-abc123.
    region string
    (Required String) The cloud provider region where the network exists.
    reservedCidr string
    (Required String) The reserved IPv4 CIDR block to be used for the network. Must be /24. If not specified, Confluent Cloud Network uses 172.20.255.0/24.
    resourceName string
    (Required String) The Confluent Resource Name of the Network.
    zonalSubdomains {[key: string]: string}
    zoneInfos GetNetworkZoneInfo[]
    (Required Configuration Blocks) Each item represents information related to a single zone. It supports the following:
    zones string[]
    (Optional List of String) The 3 availability zones for this network. They can optionally be specified for AWS networks used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. On AWS, zones are AWS AZ IDs, for example, use1-az3. On GCP, zones are GCP zones, for example, us-central1-c. On Azure, zones are Confluent-chosen names (for example, 1, 2, 3) since Azure does not have universal zone identifiers.
    aws Sequence[GetNetworkAw]
    (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
    azures Sequence[GetNetworkAzure]
    (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
    cidr str
    (Required String) The IPv4 CIDR block to be used for the network. Must be /27. Required for VPC peering and AWS TransitGateway.
    cloud str
    (Required String) The cloud service provider in which the network exists. Accepted values are: AWS, AZURE, and GCP.
    connection_types Sequence[str]
    (Required List of String) The list of connection types that may be used with the network. Accepted connection types are: PEERING, TRANSITGATEWAY, and PRIVATELINK.
    display_name str
    (Required String) The name of the Network.
    dns_configs Sequence[GetNetworkDnsConfig]
    (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:
    dns_domain str
    environment GetNetworkEnvironment
    gateways Sequence[GetNetworkGateway]
    (Optional Configuration Block) supports the following:
    gcps Sequence[GetNetworkGcp]
    (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
    id str
    (Optional String) The ID of the Gateway, for example, gw-abc123.
    region str
    (Required String) The cloud provider region where the network exists.
    reserved_cidr str
    (Required String) The reserved IPv4 CIDR block to be used for the network. Must be /24. If not specified, Confluent Cloud Network uses 172.20.255.0/24.
    resource_name str
    (Required String) The Confluent Resource Name of the Network.
    zonal_subdomains Mapping[str, str]
    zone_infos Sequence[GetNetworkZoneInfo]
    (Required Configuration Blocks) Each item represents information related to a single zone. It supports the following:
    zones Sequence[str]
    (Optional List of String) The 3 availability zones for this network. They can optionally be specified for AWS networks used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. On AWS, zones are AWS AZ IDs, for example, use1-az3. On GCP, zones are GCP zones, for example, us-central1-c. On Azure, zones are Confluent-chosen names (for example, 1, 2, 3) since Azure does not have universal zone identifiers.
    aws List<Property Map>
    (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
    azures List<Property Map>
    (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
    cidr String
    (Required String) The IPv4 CIDR block to be used for the network. Must be /27. Required for VPC peering and AWS TransitGateway.
    cloud String
    (Required String) The cloud service provider in which the network exists. Accepted values are: AWS, AZURE, and GCP.
    connectionTypes List<String>
    (Required List of String) The list of connection types that may be used with the network. Accepted connection types are: PEERING, TRANSITGATEWAY, and PRIVATELINK.
    displayName String
    (Required String) The name of the Network.
    dnsConfigs List<Property Map>
    (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:
    dnsDomain String
    environment Property Map
    gateways List<Property Map>
    (Optional Configuration Block) supports the following:
    gcps List<Property Map>
    (Optional Configuration Block) The GCP-specific network details if available. It supports the following:
    id String
    (Optional String) The ID of the Gateway, for example, gw-abc123.
    region String
    (Required String) The cloud provider region where the network exists.
    reservedCidr String
    (Required String) The reserved IPv4 CIDR block to be used for the network. Must be /24. If not specified, Confluent Cloud Network uses 172.20.255.0/24.
    resourceName String
    (Required String) The Confluent Resource Name of the Network.
    zonalSubdomains Map<String>
    zoneInfos List<Property Map>
    (Required Configuration Blocks) Each item represents information related to a single zone. It supports the following:
    zones List<String>
    (Optional List of String) The 3 availability zones for this network. They can optionally be specified for AWS networks used with PrivateLink, for GCP networks used with Private Service Connect, and for AWS and GCP networks used with Peering. Otherwise, they are automatically chosen by Confluent Cloud. On AWS, zones are AWS AZ IDs, for example, use1-az3. On GCP, zones are GCP zones, for example, us-central1-c. On Azure, zones are Confluent-chosen names (for example, 1, 2, 3) since Azure does not have universal zone identifiers.

    Supporting Types

    GetNetworkAw

    Account string
    (Required String) The AWS account ID associated with the Confluent Cloud VPC.
    PrivateLinkEndpointService string
    (Optional String) The endpoint service of the Confluent Cloud VPC (used for PrivateLink) if available.
    Vpc string
    (Required String) The Confluent Cloud VPC ID.
    Account string
    (Required String) The AWS account ID associated with the Confluent Cloud VPC.
    PrivateLinkEndpointService string
    (Optional String) The endpoint service of the Confluent Cloud VPC (used for PrivateLink) if available.
    Vpc string
    (Required String) The Confluent Cloud VPC ID.
    account String
    (Required String) The AWS account ID associated with the Confluent Cloud VPC.
    privateLinkEndpointService String
    (Optional String) The endpoint service of the Confluent Cloud VPC (used for PrivateLink) if available.
    vpc String
    (Required String) The Confluent Cloud VPC ID.
    account string
    (Required String) The AWS account ID associated with the Confluent Cloud VPC.
    privateLinkEndpointService string
    (Optional String) The endpoint service of the Confluent Cloud VPC (used for PrivateLink) if available.
    vpc string
    (Required String) The Confluent Cloud VPC ID.
    account str
    (Required String) The AWS account ID associated with the Confluent Cloud VPC.
    private_link_endpoint_service str
    (Optional String) The endpoint service of the Confluent Cloud VPC (used for PrivateLink) if available.
    vpc str
    (Required String) The Confluent Cloud VPC ID.
    account String
    (Required String) The AWS account ID associated with the Confluent Cloud VPC.
    privateLinkEndpointService String
    (Optional String) The endpoint service of the Confluent Cloud VPC (used for PrivateLink) if available.
    vpc String
    (Required String) The Confluent Cloud VPC ID.

    GetNetworkAzure

    PrivateLinkServiceAliases Dictionary<string, string>
    (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zones and values are Azure Private Link Service Aliases.
    PrivateLinkServiceAliases map[string]string
    (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zones and values are Azure Private Link Service Aliases.
    privateLinkServiceAliases Map<String,String>
    (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zones and values are Azure Private Link Service Aliases.
    privateLinkServiceAliases {[key: string]: string}
    (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zones and values are Azure Private Link Service Aliases.
    private_link_service_aliases Mapping[str, str]
    (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zones and values are Azure Private Link Service Aliases.
    privateLinkServiceAliases Map<String>
    (Optional Map) The mapping of zones to Private Link Service Aliases if available. Keys are zones and values are Azure Private Link Service Aliases.

    GetNetworkDnsConfig

    Resolution string
    (Required String) Network DNS resolution. When resolution is CHASED_PRIVATE, clusters in this network require both public and private DNS to resolve cluster endpoints. When resolution is PRIVATE, clusters in this network only require private DNS to resolve cluster endpoints.
    Resolution string
    (Required String) Network DNS resolution. When resolution is CHASED_PRIVATE, clusters in this network require both public and private DNS to resolve cluster endpoints. When resolution is PRIVATE, clusters in this network only require private DNS to resolve cluster endpoints.
    resolution String
    (Required String) Network DNS resolution. When resolution is CHASED_PRIVATE, clusters in this network require both public and private DNS to resolve cluster endpoints. When resolution is PRIVATE, clusters in this network only require private DNS to resolve cluster endpoints.
    resolution string
    (Required String) Network DNS resolution. When resolution is CHASED_PRIVATE, clusters in this network require both public and private DNS to resolve cluster endpoints. When resolution is PRIVATE, clusters in this network only require private DNS to resolve cluster endpoints.
    resolution str
    (Required String) Network DNS resolution. When resolution is CHASED_PRIVATE, clusters in this network require both public and private DNS to resolve cluster endpoints. When resolution is PRIVATE, clusters in this network only require private DNS to resolve cluster endpoints.
    resolution String
    (Required String) Network DNS resolution. When resolution is CHASED_PRIVATE, clusters in this network require both public and private DNS to resolve cluster endpoints. When resolution is PRIVATE, clusters in this network only require private DNS to resolve cluster endpoints.

    GetNetworkEnvironment

    Id string

    The ID of the Environment that the Network belongs to, for example, env-xyz456.

    Note: Exactly one from the id and display_name attributes must be specified.

    Id string

    The ID of the Environment that the Network belongs to, for example, env-xyz456.

    Note: Exactly one from the id and display_name attributes must be specified.

    id String

    The ID of the Environment that the Network belongs to, for example, env-xyz456.

    Note: Exactly one from the id and display_name attributes must be specified.

    id string

    The ID of the Environment that the Network belongs to, for example, env-xyz456.

    Note: Exactly one from the id and display_name attributes must be specified.

    id str

    The ID of the Environment that the Network belongs to, for example, env-xyz456.

    Note: Exactly one from the id and display_name attributes must be specified.

    id String

    The ID of the Environment that the Network belongs to, for example, env-xyz456.

    Note: Exactly one from the id and display_name attributes must be specified.

    GetNetworkGateway

    Id string
    The ID of the Network, for example, n-abc123.
    Id string
    The ID of the Network, for example, n-abc123.
    id String
    The ID of the Network, for example, n-abc123.
    id string
    The ID of the Network, for example, n-abc123.
    id str
    The ID of the Network, for example, n-abc123.
    id String
    The ID of the Network, for example, n-abc123.

    GetNetworkGcp

    PrivateServiceConnectServiceAttachments Dictionary<string, string>
    (Optional Map) The mapping of zones to Private Service Connect Service Attachments if available. Keys are zones and values are GCP Private Service Connect service attachment.
    Project string
    (Required String) The GCP Project ID associated with the Confluent Cloud VPC.
    VpcNetwork string
    (Required String) The network name of the Confluent Cloud VPC.
    PrivateServiceConnectServiceAttachments map[string]string
    (Optional Map) The mapping of zones to Private Service Connect Service Attachments if available. Keys are zones and values are GCP Private Service Connect service attachment.
    Project string
    (Required String) The GCP Project ID associated with the Confluent Cloud VPC.
    VpcNetwork string
    (Required String) The network name of the Confluent Cloud VPC.
    privateServiceConnectServiceAttachments Map<String,String>
    (Optional Map) The mapping of zones to Private Service Connect Service Attachments if available. Keys are zones and values are GCP Private Service Connect service attachment.
    project String
    (Required String) The GCP Project ID associated with the Confluent Cloud VPC.
    vpcNetwork String
    (Required String) The network name of the Confluent Cloud VPC.
    privateServiceConnectServiceAttachments {[key: string]: string}
    (Optional Map) The mapping of zones to Private Service Connect Service Attachments if available. Keys are zones and values are GCP Private Service Connect service attachment.
    project string
    (Required String) The GCP Project ID associated with the Confluent Cloud VPC.
    vpcNetwork string
    (Required String) The network name of the Confluent Cloud VPC.
    private_service_connect_service_attachments Mapping[str, str]
    (Optional Map) The mapping of zones to Private Service Connect Service Attachments if available. Keys are zones and values are GCP Private Service Connect service attachment.
    project str
    (Required String) The GCP Project ID associated with the Confluent Cloud VPC.
    vpc_network str
    (Required String) The network name of the Confluent Cloud VPC.
    privateServiceConnectServiceAttachments Map<String>
    (Optional Map) The mapping of zones to Private Service Connect Service Attachments if available. Keys are zones and values are GCP Private Service Connect service attachment.
    project String
    (Required String) The GCP Project ID associated with the Confluent Cloud VPC.
    vpcNetwork String
    (Required String) The network name of the Confluent Cloud VPC.

    GetNetworkZoneInfo

    Cidr string
    (Required String) The IPv4 CIDR block to be used for the network. Must be /27. Required for VPC peering and AWS TransitGateway.
    ZoneId string
    (Required String) Cloud provider zone ID.
    Cidr string
    (Required String) The IPv4 CIDR block to be used for the network. Must be /27. Required for VPC peering and AWS TransitGateway.
    ZoneId string
    (Required String) Cloud provider zone ID.
    cidr String
    (Required String) The IPv4 CIDR block to be used for the network. Must be /27. Required for VPC peering and AWS TransitGateway.
    zoneId String
    (Required String) Cloud provider zone ID.
    cidr string
    (Required String) The IPv4 CIDR block to be used for the network. Must be /27. Required for VPC peering and AWS TransitGateway.
    zoneId string
    (Required String) Cloud provider zone ID.
    cidr str
    (Required String) The IPv4 CIDR block to be used for the network. Must be /27. Required for VPC peering and AWS TransitGateway.
    zone_id str
    (Required String) Cloud provider zone ID.
    cidr String
    (Required String) The IPv4 CIDR block to be used for the network. Must be /27. Required for VPC peering and AWS TransitGateway.
    zoneId String
    (Required String) Cloud provider zone ID.

    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.48.0 published on Friday, Jun 21, 2024 by Pulumi