1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getRmsRegionsV1
opentelekomcloud 1.36.45 published on Friday, Aug 15, 2025 by opentelekomcloud

opentelekomcloud.getRmsRegionsV1

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.45 published on Friday, Aug 15, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for RMS regions you can get at documentation portal

    Manages an RMS regions data source, used to query regions visible to you, within OpenTelekomCloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const test = opentelekomcloud.getRmsRegionsV1({});
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    test = opentelekomcloud.get_rms_regions_v1()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := opentelekomcloud.GetRmsRegionsV1(ctx, &opentelekomcloud.GetRmsRegionsV1Args{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var test = Opentelekomcloud.GetRmsRegionsV1.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
    import com.pulumi.opentelekomcloud.inputs.GetRmsRegionsV1Args;
    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 test = OpentelekomcloudFunctions.getRmsRegionsV1();
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: opentelekomcloud:getRmsRegionsV1
          arguments: {}
    

    Using getRmsRegionsV1

    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 getRmsRegionsV1(args: GetRmsRegionsV1Args, opts?: InvokeOptions): Promise<GetRmsRegionsV1Result>
    function getRmsRegionsV1Output(args: GetRmsRegionsV1OutputArgs, opts?: InvokeOptions): Output<GetRmsRegionsV1Result>
    def get_rms_regions_v1(id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetRmsRegionsV1Result
    def get_rms_regions_v1_output(id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetRmsRegionsV1Result]
    func GetRmsRegionsV1(ctx *Context, args *GetRmsRegionsV1Args, opts ...InvokeOption) (*GetRmsRegionsV1Result, error)
    func GetRmsRegionsV1Output(ctx *Context, args *GetRmsRegionsV1OutputArgs, opts ...InvokeOption) GetRmsRegionsV1ResultOutput

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

    public static class GetRmsRegionsV1 
    {
        public static Task<GetRmsRegionsV1Result> InvokeAsync(GetRmsRegionsV1Args args, InvokeOptions? opts = null)
        public static Output<GetRmsRegionsV1Result> Invoke(GetRmsRegionsV1InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRmsRegionsV1Result> getRmsRegionsV1(GetRmsRegionsV1Args args, InvokeOptions options)
    public static Output<GetRmsRegionsV1Result> getRmsRegionsV1(GetRmsRegionsV1Args args, InvokeOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getRmsRegionsV1:getRmsRegionsV1
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Id string
    id String
    id string
    id str
    id String

    getRmsRegionsV1 Result

    The following output properties are available:

    Id string
    Regions List<GetRmsRegionsV1Region>
    Specifies the list of region information. The structure is documented below:
    Id string
    Regions []GetRmsRegionsV1Region
    Specifies the list of region information. The structure is documented below:
    id String
    regions List<GetRmsRegionsV1Region>
    Specifies the list of region information. The structure is documented below:
    id string
    regions GetRmsRegionsV1Region[]
    Specifies the list of region information. The structure is documented below:
    id str
    regions Sequence[GetRmsRegionsV1Region]
    Specifies the list of region information. The structure is documented below:
    id String
    regions List<Property Map>
    Specifies the list of region information. The structure is documented below:

    Supporting Types

    GetRmsRegionsV1Region

    DisplayName string
    Specifies the display name.
    RegionId string
    Specifies the region ID.
    DisplayName string
    Specifies the display name.
    RegionId string
    Specifies the region ID.
    displayName String
    Specifies the display name.
    regionId String
    Specifies the region ID.
    displayName string
    Specifies the display name.
    regionId string
    Specifies the region ID.
    display_name str
    Specifies the display name.
    region_id str
    Specifies the region ID.
    displayName String
    Specifies the display name.
    regionId String
    Specifies the region ID.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.45 published on Friday, Aug 15, 2025 by opentelekomcloud