redpanda 0.13.0 published on Monday, Mar 17, 2025 by redpanda-data
redpanda.getNetwork
Explore with Pulumi AI
redpanda 0.13.0 published on Monday, Mar 17, 2025 by redpanda-data
Data source for a Redpanda Cloud network
Usage
import * as pulumi from "@pulumi/pulumi";
import * as redpanda from "@pulumi/redpanda";
const example = redpanda.getNetwork({
    id: "network_id",
});
import pulumi
import pulumi_redpanda as redpanda
example = redpanda.get_network(id="network_id")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/redpanda/redpanda"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := redpanda.LookupNetwork(ctx, &redpanda.LookupNetworkArgs{
			Id: "network_id",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Redpanda = Pulumi.Redpanda;
return await Deployment.RunAsync(() => 
{
    var example = Redpanda.GetNetwork.Invoke(new()
    {
        Id = "network_id",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.redpanda.RedpandaFunctions;
import com.pulumi.redpanda.inputs.GetNetworkArgs;
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 example = RedpandaFunctions.getNetwork(GetNetworkArgs.builder()
            .id("network_id")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: redpanda:getNetwork
      arguments:
        id: network_id
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(id: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetNetworkResult
def get_network_output(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)
public static Output<GetNetworkResult> getNetwork(GetNetworkArgs args, InvokeOptions options)
fn::invoke:
  function: redpanda:index/getNetwork:getNetwork
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Id string
- UUID of the network
- Id string
- UUID of the network
- id String
- UUID of the network
- id string
- UUID of the network
- id str
- UUID of the network
- id String
- UUID of the network
getNetwork Result
The following output properties are available:
- CidrBlock string
- The cidr_block to create the network in
- CloudProvider string
- The cloud provider to create the network in. Can also be set at the provider level
- ClusterType string
- The type of cluster this network is associated with, can be one of dedicated or cloud
- CustomerManaged GetResources Network Customer Managed Resources 
- Id string
- UUID of the network
- Name string
- Name of the network
- Region string
- The region to create the network in. Can also be set at the provider level
- ResourceGroup stringId 
- The ID of the resource group in which to create the network
- CidrBlock string
- The cidr_block to create the network in
- CloudProvider string
- The cloud provider to create the network in. Can also be set at the provider level
- ClusterType string
- The type of cluster this network is associated with, can be one of dedicated or cloud
- CustomerManaged GetResources Network Customer Managed Resources 
- Id string
- UUID of the network
- Name string
- Name of the network
- Region string
- The region to create the network in. Can also be set at the provider level
- ResourceGroup stringId 
- The ID of the resource group in which to create the network
- cidrBlock String
- The cidr_block to create the network in
- cloudProvider String
- The cloud provider to create the network in. Can also be set at the provider level
- clusterType String
- The type of cluster this network is associated with, can be one of dedicated or cloud
- customerManaged GetResources Network Customer Managed Resources 
- id String
- UUID of the network
- name String
- Name of the network
- region String
- The region to create the network in. Can also be set at the provider level
- resourceGroup StringId 
- The ID of the resource group in which to create the network
- cidrBlock string
- The cidr_block to create the network in
- cloudProvider string
- The cloud provider to create the network in. Can also be set at the provider level
- clusterType string
- The type of cluster this network is associated with, can be one of dedicated or cloud
- customerManaged GetResources Network Customer Managed Resources 
- id string
- UUID of the network
- name string
- Name of the network
- region string
- The region to create the network in. Can also be set at the provider level
- resourceGroup stringId 
- The ID of the resource group in which to create the network
- cidr_block str
- The cidr_block to create the network in
- cloud_provider str
- The cloud provider to create the network in. Can also be set at the provider level
- cluster_type str
- The type of cluster this network is associated with, can be one of dedicated or cloud
- customer_managed_ Getresources Network Customer Managed Resources 
- id str
- UUID of the network
- name str
- Name of the network
- region str
- The region to create the network in. Can also be set at the provider level
- resource_group_ strid 
- The ID of the resource group in which to create the network
- cidrBlock String
- The cidr_block to create the network in
- cloudProvider String
- The cloud provider to create the network in. Can also be set at the provider level
- clusterType String
- The type of cluster this network is associated with, can be one of dedicated or cloud
- customerManaged Property MapResources 
- id String
- UUID of the network
- name String
- Name of the network
- region String
- The region to create the network in. Can also be set at the provider level
- resourceGroup StringId 
- The ID of the resource group in which to create the network
Supporting Types
GetNetworkCustomerManagedResources    
GetNetworkCustomerManagedResourcesAws     
GetNetworkCustomerManagedResourcesAwsDynamodbTable       
- Arn string
- AWS DynamoDB table identifier
- Arn string
- AWS DynamoDB table identifier
- arn String
- AWS DynamoDB table identifier
- arn string
- AWS DynamoDB table identifier
- arn str
- AWS DynamoDB table identifier
- arn String
- AWS DynamoDB table identifier
GetNetworkCustomerManagedResourcesAwsManagementBucket       
- Arn string
- AWS storage bucket identifier
- Arn string
- AWS storage bucket identifier
- arn String
- AWS storage bucket identifier
- arn string
- AWS storage bucket identifier
- arn str
- AWS storage bucket identifier
- arn String
- AWS storage bucket identifier
GetNetworkCustomerManagedResourcesAwsPrivateSubnets       
- Arns List<string>
- AWS private subnet identifiers
- Arns []string
- AWS private subnet identifiers
- arns List<String>
- AWS private subnet identifiers
- arns string[]
- AWS private subnet identifiers
- arns Sequence[str]
- AWS private subnet identifiers
- arns List<String>
- AWS private subnet identifiers
GetNetworkCustomerManagedResourcesAwsVpc      
- Arn string
- AWS VPC identifier
- Arn string
- AWS VPC identifier
- arn String
- AWS VPC identifier
- arn string
- AWS VPC identifier
- arn str
- AWS VPC identifier
- arn String
- AWS VPC identifier
Package Details
- Repository
- redpanda redpanda-data/terraform-provider-redpanda
- License
- Notes
- This Pulumi package is based on the redpandaTerraform Provider.
redpanda 0.13.0 published on Monday, Mar 17, 2025 by redpanda-data