confluentcloud.getNetwork
Explore with Pulumi AI
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.
Confluent Cloud. Inputs. Get Network Environment - Aws
List<Pulumi.
Confluent Cloud. Inputs. Get Network Aw> - (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
- Azures
List<Pulumi.
Confluent Cloud. Inputs. Get Network Azure> - (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
- Display
Name string - A human-readable name for the Network.
- Dns
Configs List<Pulumi.Confluent Cloud. Inputs. Get Network Dns Config> - (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:
- Gcps
List<Pulumi.
Confluent Cloud. Inputs. Get Network Gcp> - (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
Get
Network Environment - Aws
[]Get
Network Aw - (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
- Azures
[]Get
Network Azure - (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
- Display
Name string - A human-readable name for the Network.
- Dns
Configs []GetNetwork Dns Config - (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:
- Gcps
[]Get
Network Gcp - (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
Get
Network Environment - aws
List<Get
Network Aw> - (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
- azures
List<Get
Network Azure> - (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
- display
Name String - A human-readable name for the Network.
- dns
Configs List<GetNetwork Dns Config> - (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:
- gcps
List<Get
Network Gcp> - (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
Get
Network Environment - aws
Get
Network Aw[] - (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
- azures
Get
Network Azure[] - (Optional Configuration Block) The Azure-specific network details if available. It supports the following:
- display
Name string - A human-readable name for the Network.
- dns
Configs GetNetwork Dns Config[] - (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:
- gcps
Get
Network Gcp[] - (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
Get
Network Environment - aws
Sequence[Get
Network Aw] - (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
- azures
Sequence[Get
Network Azure] - (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[GetNetwork Dns Config] - (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:
- gcps
Sequence[Get
Network Gcp] - (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:
- display
Name String - A human-readable name for the Network.
- dns
Configs 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.
Confluent Cloud. Outputs. Get Network Aw> - (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
- Azures
List<Pulumi.
Confluent Cloud. Outputs. Get Network Azure> - (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
, andGCP
. - Connection
Types List<string> - (Required List of String) The list of connection types that may be used with the network. Accepted connection types are:
PEERING
,TRANSITGATEWAY
, andPRIVATELINK
. - Display
Name string - (Required String) The name of the Network.
- Dns
Configs List<Pulumi.Confluent Cloud. Outputs. Get Network Dns Config> - (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:
- Dns
Domain string - Environment
Pulumi.
Confluent Cloud. Outputs. Get Network Environment - Gateways
List<Pulumi.
Confluent Cloud. Outputs. Get Network Gateway> - (Optional Configuration Block) supports the following:
- Gcps
List<Pulumi.
Confluent Cloud. Outputs. Get Network Gcp> - (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.
- Reserved
Cidr string - (Required String) The reserved IPv4 CIDR block to be used for the network. Must be
/24
. If not specified, Confluent Cloud Network uses172.20.255.0/24
. - Resource
Name string - (Required String) The Confluent Resource Name of the Network.
- Zonal
Subdomains Dictionary<string, string> - Zone
Infos List<Pulumi.Confluent Cloud. Outputs. Get Network Zone Info> - (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
[]Get
Network Aw - (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
- Azures
[]Get
Network Azure - (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
, andGCP
. - Connection
Types []string - (Required List of String) The list of connection types that may be used with the network. Accepted connection types are:
PEERING
,TRANSITGATEWAY
, andPRIVATELINK
. - Display
Name string - (Required String) The name of the Network.
- Dns
Configs []GetNetwork Dns Config - (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:
- Dns
Domain string - Environment
Get
Network Environment - Gateways
[]Get
Network Gateway - (Optional Configuration Block) supports the following:
- Gcps
[]Get
Network Gcp - (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.
- Reserved
Cidr string - (Required String) The reserved IPv4 CIDR block to be used for the network. Must be
/24
. If not specified, Confluent Cloud Network uses172.20.255.0/24
. - Resource
Name string - (Required String) The Confluent Resource Name of the Network.
- Zonal
Subdomains map[string]string - Zone
Infos []GetNetwork Zone Info - (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<Get
Network Aw> - (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
- azures
List<Get
Network Azure> - (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
, andGCP
. - connection
Types List<String> - (Required List of String) The list of connection types that may be used with the network. Accepted connection types are:
PEERING
,TRANSITGATEWAY
, andPRIVATELINK
. - display
Name String - (Required String) The name of the Network.
- dns
Configs List<GetNetwork Dns Config> - (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:
- dns
Domain String - environment
Get
Network Environment - gateways
List<Get
Network Gateway> - (Optional Configuration Block) supports the following:
- gcps
List<Get
Network Gcp> - (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.
- reserved
Cidr String - (Required String) The reserved IPv4 CIDR block to be used for the network. Must be
/24
. If not specified, Confluent Cloud Network uses172.20.255.0/24
. - resource
Name String - (Required String) The Confluent Resource Name of the Network.
- zonal
Subdomains Map<String,String> - zone
Infos List<GetNetwork Zone Info> - (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
Get
Network Aw[] - (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
- azures
Get
Network Azure[] - (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
, andGCP
. - connection
Types string[] - (Required List of String) The list of connection types that may be used with the network. Accepted connection types are:
PEERING
,TRANSITGATEWAY
, andPRIVATELINK
. - display
Name string - (Required String) The name of the Network.
- dns
Configs GetNetwork Dns Config[] - (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:
- dns
Domain string - environment
Get
Network Environment - gateways
Get
Network Gateway[] - (Optional Configuration Block) supports the following:
- gcps
Get
Network Gcp[] - (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.
- reserved
Cidr string - (Required String) The reserved IPv4 CIDR block to be used for the network. Must be
/24
. If not specified, Confluent Cloud Network uses172.20.255.0/24
. - resource
Name string - (Required String) The Confluent Resource Name of the Network.
- zonal
Subdomains {[key: string]: string} - zone
Infos GetNetwork Zone Info[] - (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[Get
Network Aw] - (Optional Configuration Block) The AWS-specific network details if available. It supports the following:
- azures
Sequence[Get
Network Azure] - (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
, andGCP
. - 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
, andPRIVATELINK
. - display_
name str - (Required String) The name of the Network.
- dns_
configs Sequence[GetNetwork Dns Config] - (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:
- dns_
domain str - environment
Get
Network Environment - gateways
Sequence[Get
Network Gateway] - (Optional Configuration Block) supports the following:
- gcps
Sequence[Get
Network Gcp] - (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 uses172.20.255.0/24
. - resource_
name str - (Required String) The Confluent Resource Name of the Network.
- zonal_
subdomains Mapping[str, str] - zone_
infos Sequence[GetNetwork Zone Info] - (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
, andGCP
. - connection
Types List<String> - (Required List of String) The list of connection types that may be used with the network. Accepted connection types are:
PEERING
,TRANSITGATEWAY
, andPRIVATELINK
. - display
Name String - (Required String) The name of the Network.
- dns
Configs List<Property Map> - (Optional Configuration Block) Network DNS config. It applies only to the PRIVATELINK network connection type. It supports the following:
- dns
Domain 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.
- reserved
Cidr String - (Required String) The reserved IPv4 CIDR block to be used for the network. Must be
/24
. If not specified, Confluent Cloud Network uses172.20.255.0/24
. - resource
Name String - (Required String) The Confluent Resource Name of the Network.
- zonal
Subdomains Map<String> - zone
Infos 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.
- Private
Link stringEndpoint Service - (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.
- Private
Link stringEndpoint Service - (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.
- private
Link StringEndpoint Service - (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.
- private
Link stringEndpoint Service - (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_ strendpoint_ service - (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.
- private
Link StringEndpoint Service - (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
- Private
Link Dictionary<string, string>Service Aliases - (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 map[string]stringService Aliases - (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 Map<String,String>Service Aliases - (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 {[key: string]: string}Service Aliases - (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_ Mapping[str, str]service_ aliases - (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 Map<String>Service Aliases - (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 isPRIVATE
, 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 isPRIVATE
, 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 isPRIVATE
, 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 isPRIVATE
, 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 isPRIVATE
, 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 isPRIVATE
, 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
anddisplay_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
anddisplay_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
anddisplay_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
anddisplay_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
anddisplay_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
anddisplay_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
- Private
Service Dictionary<string, string>Connect Service Attachments - (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.
- Vpc
Network string - (Required String) The network name of the Confluent Cloud VPC.
- Private
Service map[string]stringConnect Service Attachments - (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.
- Vpc
Network string - (Required String) The network name of the Confluent Cloud VPC.
- private
Service Map<String,String>Connect Service Attachments - (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.
- vpc
Network String - (Required String) The network name of the Confluent Cloud VPC.
- private
Service {[key: string]: string}Connect Service Attachments - (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.
- vpc
Network string - (Required String) The network name of the Confluent Cloud VPC.
- private_
service_ Mapping[str, str]connect_ service_ attachments - (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.
- private
Service Map<String>Connect Service Attachments - (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.
- vpc
Network String - (Required String) The network name of the Confluent Cloud VPC.
GetNetworkZoneInfo
Package Details
- Repository
- Confluent Cloud pulumi/pulumi-confluentcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
confluent
Terraform Provider.