1. Packages
  2. Packages
  3. Redpanda Provider
  4. API Docs
  5. getRegion
Viewing docs for redpanda 2.1.0
published on Wednesday, Jun 24, 2026 by redpanda-data
Viewing docs for redpanda 2.1.0
published on Wednesday, Jun 24, 2026 by redpanda-data

    Data source for a Redpanda Cloud region

    Using getRegion

    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 getRegion(args: GetRegionArgs, opts?: InvokeOptions): Promise<GetRegionResult>
    function getRegionOutput(args: GetRegionOutputArgs, opts?: InvokeOptions): Output<GetRegionResult>
    def get_region(cloud_provider: Optional[str] = None,
                   name: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetRegionResult
    def get_region_output(cloud_provider: pulumi.Input[Optional[str]] = None,
                   name: pulumi.Input[Optional[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetRegionResult]
    func GetRegion(ctx *Context, args *GetRegionArgs, opts ...InvokeOption) (*GetRegionResult, error)
    func GetRegionOutput(ctx *Context, args *GetRegionOutputArgs, opts ...InvokeOption) GetRegionResultOutput

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

    public static class GetRegion 
    {
        public static Task<GetRegionResult> InvokeAsync(GetRegionArgs args, InvokeOptions? opts = null)
        public static Output<GetRegionResult> Invoke(GetRegionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRegionResult> getRegion(GetRegionArgs args, InvokeOptions options)
    public static Output<GetRegionResult> getRegion(GetRegionArgs args, InvokeOptions options)
    
    fn::invoke:
      function: redpanda:index/getRegion:getRegion
      arguments:
        # arguments dictionary
    data "redpanda_getregion" "name" {
        # arguments
    }

    The following arguments are supported:

    CloudProvider string
    Cloud provider where resources are created.
    Name string
    name is the name of the region, as given by the cloud provider. e.g. europe-west3
    CloudProvider string
    Cloud provider where resources are created.
    Name string
    name is the name of the region, as given by the cloud provider. e.g. europe-west3
    cloud_provider string
    Cloud provider where resources are created.
    name string
    name is the name of the region, as given by the cloud provider. e.g. europe-west3
    cloudProvider String
    Cloud provider where resources are created.
    name String
    name is the name of the region, as given by the cloud provider. e.g. europe-west3
    cloudProvider string
    Cloud provider where resources are created.
    name string
    name is the name of the region, as given by the cloud provider. e.g. europe-west3
    cloud_provider str
    Cloud provider where resources are created.
    name str
    name is the name of the region, as given by the cloud provider. e.g. europe-west3
    cloudProvider String
    Cloud provider where resources are created.
    name String
    name is the name of the region, as given by the cloud provider. e.g. europe-west3

    getRegion Result

    The following output properties are available:

    CloudProvider string
    Cloud provider where resources are created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    name is the name of the region, as given by the cloud provider. e.g. europe-west3
    Zones List<string>
    zones is the list of zones that existing in this region.
    CloudProvider string
    Cloud provider where resources are created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    name is the name of the region, as given by the cloud provider. e.g. europe-west3
    Zones []string
    zones is the list of zones that existing in this region.
    cloud_provider string
    Cloud provider where resources are created.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    name is the name of the region, as given by the cloud provider. e.g. europe-west3
    zones list(string)
    zones is the list of zones that existing in this region.
    cloudProvider String
    Cloud provider where resources are created.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    name is the name of the region, as given by the cloud provider. e.g. europe-west3
    zones List<String>
    zones is the list of zones that existing in this region.
    cloudProvider string
    Cloud provider where resources are created.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    name is the name of the region, as given by the cloud provider. e.g. europe-west3
    zones string[]
    zones is the list of zones that existing in this region.
    cloud_provider str
    Cloud provider where resources are created.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    name is the name of the region, as given by the cloud provider. e.g. europe-west3
    zones Sequence[str]
    zones is the list of zones that existing in this region.
    cloudProvider String
    Cloud provider where resources are created.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    name is the name of the region, as given by the cloud provider. e.g. europe-west3
    zones List<String>
    zones is the list of zones that existing in this region.

    Package Details

    Repository
    redpanda redpanda-data/terraform-provider-redpanda
    License
    Notes
    This Pulumi package is based on the redpanda Terraform Provider.
    Viewing docs for redpanda 2.1.0
    published on Wednesday, Jun 24, 2026 by redpanda-data

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial