opentelekomcloud 1.36.47 published on Thursday, Sep 4, 2025 by opentelekomcloud
opentelekomcloud.getTmsResourceTypesV1
Explore with Pulumi AI
opentelekomcloud 1.36.47 published on Thursday, Sep 4, 2025 by opentelekomcloud
Using this data source to query supported resource types information that used to manage resource tags within OpenTelekomCloud.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const supportedRegion = config.requireObject("supportedRegion");
const test = opentelekomcloud.getTmsResourceTypesV1({
region: supportedRegion,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
supported_region = config.require_object("supportedRegion")
test = opentelekomcloud.get_tms_resource_types_v1(region=supported_region)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
supportedRegion := cfg.RequireObject("supportedRegion")
_, err := opentelekomcloud.GetTmsResourceTypesV1(ctx, &opentelekomcloud.GetTmsResourceTypesV1Args{
Region: pulumi.StringRef(supportedRegion),
}, 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 config = new Config();
var supportedRegion = config.RequireObject<dynamic>("supportedRegion");
var test = Opentelekomcloud.GetTmsResourceTypesV1.Invoke(new()
{
Region = supportedRegion,
});
});
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.GetTmsResourceTypesV1Args;
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 config = ctx.config();
final var supportedRegion = config.get("supportedRegion");
final var test = OpentelekomcloudFunctions.getTmsResourceTypesV1(GetTmsResourceTypesV1Args.builder()
.region(supportedRegion)
.build());
}
}
configuration:
supportedRegion:
type: dynamic
variables:
test:
fn::invoke:
function: opentelekomcloud:getTmsResourceTypesV1
arguments:
region: ${supportedRegion}
Using getTmsResourceTypesV1
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 getTmsResourceTypesV1(args: GetTmsResourceTypesV1Args, opts?: InvokeOptions): Promise<GetTmsResourceTypesV1Result>
function getTmsResourceTypesV1Output(args: GetTmsResourceTypesV1OutputArgs, opts?: InvokeOptions): Output<GetTmsResourceTypesV1Result>
def get_tms_resource_types_v1(id: Optional[str] = None,
region: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTmsResourceTypesV1Result
def get_tms_resource_types_v1_output(id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTmsResourceTypesV1Result]
func GetTmsResourceTypesV1(ctx *Context, args *GetTmsResourceTypesV1Args, opts ...InvokeOption) (*GetTmsResourceTypesV1Result, error)
func GetTmsResourceTypesV1Output(ctx *Context, args *GetTmsResourceTypesV1OutputArgs, opts ...InvokeOption) GetTmsResourceTypesV1ResultOutput
> Note: This function is named GetTmsResourceTypesV1
in the Go SDK.
public static class GetTmsResourceTypesV1
{
public static Task<GetTmsResourceTypesV1Result> InvokeAsync(GetTmsResourceTypesV1Args args, InvokeOptions? opts = null)
public static Output<GetTmsResourceTypesV1Result> Invoke(GetTmsResourceTypesV1InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTmsResourceTypesV1Result> getTmsResourceTypesV1(GetTmsResourceTypesV1Args args, InvokeOptions options)
public static Output<GetTmsResourceTypesV1Result> getTmsResourceTypesV1(GetTmsResourceTypesV1Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getTmsResourceTypesV1:getTmsResourceTypesV1
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The data source ID.
- Region string
- Specifies the region name used to filter resource types information
- Service
Name string - Specifies the service name used to filter resource types information.
- Id string
- The data source ID.
- Region string
- Specifies the region name used to filter resource types information
- Service
Name string - Specifies the service name used to filter resource types information.
- id String
- The data source ID.
- region String
- Specifies the region name used to filter resource types information
- service
Name String - Specifies the service name used to filter resource types information.
- id string
- The data source ID.
- region string
- Specifies the region name used to filter resource types information
- service
Name string - Specifies the service name used to filter resource types information.
- id str
- The data source ID.
- region str
- Specifies the region name used to filter resource types information
- service_
name str - Specifies the service name used to filter resource types information.
- id String
- The data source ID.
- region String
- Specifies the region name used to filter resource types information
- service
Name String - Specifies the service name used to filter resource types information.
getTmsResourceTypesV1 Result
The following output properties are available:
- Id string
- The data source ID.
- Types
List<Get
Tms Resource Types V1Type> - All resource types that match the filter parameters. The types structure is documented below.
- Region string
- Service
Name string - The name of the service to which the resource type belong.
- Id string
- The data source ID.
- Types
[]Get
Tms Resource Types V1Type - All resource types that match the filter parameters. The types structure is documented below.
- Region string
- Service
Name string - The name of the service to which the resource type belong.
- id String
- The data source ID.
- types
List<Get
Tms Resource Types V1Type> - All resource types that match the filter parameters. The types structure is documented below.
- region String
- service
Name String - The name of the service to which the resource type belong.
- id string
- The data source ID.
- types
Get
Tms Resource Types V1Type[] - All resource types that match the filter parameters. The types structure is documented below.
- region string
- service
Name string - The name of the service to which the resource type belong.
- id str
- The data source ID.
- types
Sequence[Get
Tms Resource Types V1Type] - All resource types that match the filter parameters. The types structure is documented below.
- region str
- service_
name str - The name of the service to which the resource type belong.
- id String
- The data source ID.
- types List<Property Map>
- All resource types that match the filter parameters. The types structure is documented below.
- region String
- service
Name String - The name of the service to which the resource type belong.
Supporting Types
GetTmsResourceTypesV1Type
- Display
Name string - The service display name of the resource type.
- Is
Global bool - Whether the resource corresponding to this type is a global resource.
- Name string
- The resource type name.
- Service
Name string - Specifies the service name used to filter resource types information.
- Display
Name string - The service display name of the resource type.
- Is
Global bool - Whether the resource corresponding to this type is a global resource.
- Name string
- The resource type name.
- Service
Name string - Specifies the service name used to filter resource types information.
- display
Name String - The service display name of the resource type.
- is
Global Boolean - Whether the resource corresponding to this type is a global resource.
- name String
- The resource type name.
- service
Name String - Specifies the service name used to filter resource types information.
- display
Name string - The service display name of the resource type.
- is
Global boolean - Whether the resource corresponding to this type is a global resource.
- name string
- The resource type name.
- service
Name string - Specifies the service name used to filter resource types information.
- display_
name str - The service display name of the resource type.
- is_
global bool - Whether the resource corresponding to this type is a global resource.
- name str
- The resource type name.
- service_
name str - Specifies the service name used to filter resource types information.
- display
Name String - The service display name of the resource type.
- is
Global Boolean - Whether the resource corresponding to this type is a global resource.
- name String
- The resource type name.
- service
Name String - Specifies the service name used to filter resource types information.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.
opentelekomcloud 1.36.47 published on Thursday, Sep 4, 2025 by opentelekomcloud