1. Packages
  2. Redpanda Provider
  3. API Docs
  4. getRegions
redpanda 0.15.1 published on Wednesday, Apr 16, 2025 by redpanda-data

redpanda.getRegions

Explore with Pulumi AI

redpanda 0.15.1 published on Wednesday, Apr 16, 2025 by redpanda-data

Data source for a list of Redpanda Cloud regions

Using getRegions

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 getRegions(args: GetRegionsArgs, opts?: InvokeOptions): Promise<GetRegionsResult>
function getRegionsOutput(args: GetRegionsOutputArgs, opts?: InvokeOptions): Output<GetRegionsResult>
Copy
def get_regions(cloud_provider: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetRegionsResult
def get_regions_output(cloud_provider: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetRegionsResult]
Copy
func GetRegions(ctx *Context, args *GetRegionsArgs, opts ...InvokeOption) (*GetRegionsResult, error)
func GetRegionsOutput(ctx *Context, args *GetRegionsOutputArgs, opts ...InvokeOption) GetRegionsResultOutput
Copy

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

public static class GetRegions 
{
    public static Task<GetRegionsResult> InvokeAsync(GetRegionsArgs args, InvokeOptions? opts = null)
    public static Output<GetRegionsResult> Invoke(GetRegionsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetRegionsResult> getRegions(GetRegionsArgs args, InvokeOptions options)
public static Output<GetRegionsResult> getRegions(GetRegionsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: redpanda:index/getRegions:getRegions
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CloudProvider This property is required. string
Cloud provider where the regions exist
CloudProvider This property is required. string
Cloud provider where the regions exist
cloudProvider This property is required. String
Cloud provider where the regions exist
cloudProvider This property is required. string
Cloud provider where the regions exist
cloud_provider This property is required. str
Cloud provider where the regions exist
cloudProvider This property is required. String
Cloud provider where the regions exist

getRegions Result

The following output properties are available:

CloudProvider string
Cloud provider where the regions exist
Id string
The provider-assigned unique ID for this managed resource.
Regions List<GetRegionsRegion>
Regions available for the cloud provider
CloudProvider string
Cloud provider where the regions exist
Id string
The provider-assigned unique ID for this managed resource.
Regions []GetRegionsRegion
Regions available for the cloud provider
cloudProvider String
Cloud provider where the regions exist
id String
The provider-assigned unique ID for this managed resource.
regions List<GetRegionsRegion>
Regions available for the cloud provider
cloudProvider string
Cloud provider where the regions exist
id string
The provider-assigned unique ID for this managed resource.
regions GetRegionsRegion[]
Regions available for the cloud provider
cloud_provider str
Cloud provider where the regions exist
id str
The provider-assigned unique ID for this managed resource.
regions Sequence[GetRegionsRegion]
Regions available for the cloud provider
cloudProvider String
Cloud provider where the regions exist
id String
The provider-assigned unique ID for this managed resource.
regions List<Property Map>
Regions available for the cloud provider

Supporting Types

GetRegionsRegion

Name This property is required. string
Name of the region
Zones This property is required. List<string>
Zones available in the region
Name This property is required. string
Name of the region
Zones This property is required. []string
Zones available in the region
name This property is required. String
Name of the region
zones This property is required. List<String>
Zones available in the region
name This property is required. string
Name of the region
zones This property is required. string[]
Zones available in the region
name This property is required. str
Name of the region
zones This property is required. Sequence[str]
Zones available in the region
name This property is required. String
Name of the region
zones This property is required. List<String>
Zones available in the region

Package Details

Repository
redpanda redpanda-data/terraform-provider-redpanda
License
Notes
This Pulumi package is based on the redpanda Terraform Provider.
redpanda 0.15.1 published on Wednesday, Apr 16, 2025 by redpanda-data