1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getMonitorProductNamespace
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getMonitorProductNamespace

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query product namespace in monitor)

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const instances = tencentcloud.getMonitorProductNamespace({
        name: "Redis",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    instances = tencentcloud.get_monitor_product_namespace(name="Redis")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetMonitorProductNamespace(ctx, &tencentcloud.GetMonitorProductNamespaceArgs{
    			Name: pulumi.StringRef("Redis"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var instances = Tencentcloud.GetMonitorProductNamespace.Invoke(new()
        {
            Name = "Redis",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetMonitorProductNamespaceArgs;
    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 instances = TencentcloudFunctions.getMonitorProductNamespace(GetMonitorProductNamespaceArgs.builder()
                .name("Redis")
                .build());
    
        }
    }
    
    variables:
      instances:
        fn::invoke:
          function: tencentcloud:getMonitorProductNamespace
          arguments:
            name: Redis
    

    Using getMonitorProductNamespace

    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 getMonitorProductNamespace(args: GetMonitorProductNamespaceArgs, opts?: InvokeOptions): Promise<GetMonitorProductNamespaceResult>
    function getMonitorProductNamespaceOutput(args: GetMonitorProductNamespaceOutputArgs, opts?: InvokeOptions): Output<GetMonitorProductNamespaceResult>
    def get_monitor_product_namespace(id: Optional[str] = None,
                                      name: Optional[str] = None,
                                      result_output_file: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetMonitorProductNamespaceResult
    def get_monitor_product_namespace_output(id: Optional[pulumi.Input[str]] = None,
                                      name: Optional[pulumi.Input[str]] = None,
                                      result_output_file: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetMonitorProductNamespaceResult]
    func GetMonitorProductNamespace(ctx *Context, args *GetMonitorProductNamespaceArgs, opts ...InvokeOption) (*GetMonitorProductNamespaceResult, error)
    func GetMonitorProductNamespaceOutput(ctx *Context, args *GetMonitorProductNamespaceOutputArgs, opts ...InvokeOption) GetMonitorProductNamespaceResultOutput

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

    public static class GetMonitorProductNamespace 
    {
        public static Task<GetMonitorProductNamespaceResult> InvokeAsync(GetMonitorProductNamespaceArgs args, InvokeOptions? opts = null)
        public static Output<GetMonitorProductNamespaceResult> Invoke(GetMonitorProductNamespaceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMonitorProductNamespaceResult> getMonitorProductNamespace(GetMonitorProductNamespaceArgs args, InvokeOptions options)
    public static Output<GetMonitorProductNamespaceResult> getMonitorProductNamespace(GetMonitorProductNamespaceArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getMonitorProductNamespace:getMonitorProductNamespace
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Name string
    Name for filter, eg:Load Banlancer.
    ResultOutputFile string
    Used to store results.
    Id string
    Name string
    Name for filter, eg:Load Banlancer.
    ResultOutputFile string
    Used to store results.
    id String
    name String
    Name for filter, eg:Load Banlancer.
    resultOutputFile String
    Used to store results.
    id string
    name string
    Name for filter, eg:Load Banlancer.
    resultOutputFile string
    Used to store results.
    id str
    name str
    Name for filter, eg:Load Banlancer.
    result_output_file str
    Used to store results.
    id String
    name String
    Name for filter, eg:Load Banlancer.
    resultOutputFile String
    Used to store results.

    getMonitorProductNamespace Result

    The following output properties are available:

    Id string
    Lists List<GetMonitorProductNamespaceList>
    A list product namespaces. Each element contains the following attributes:
    Name string
    ResultOutputFile string
    Id string
    Lists []GetMonitorProductNamespaceList
    A list product namespaces. Each element contains the following attributes:
    Name string
    ResultOutputFile string
    id String
    lists List<GetMonitorProductNamespaceList>
    A list product namespaces. Each element contains the following attributes:
    name String
    resultOutputFile String
    id string
    lists GetMonitorProductNamespaceList[]
    A list product namespaces. Each element contains the following attributes:
    name string
    resultOutputFile string
    id str
    lists Sequence[GetMonitorProductNamespaceList]
    A list product namespaces. Each element contains the following attributes:
    name str
    result_output_file str
    id String
    lists List<Property Map>
    A list product namespaces. Each element contains the following attributes:
    name String
    resultOutputFile String

    Supporting Types

    GetMonitorProductNamespaceList

    Namespace string
    Namespace of each cloud product in monitor system.
    ProductChineseName string
    Chinese name of this product.
    ProductName string
    English name of this product.
    Namespace string
    Namespace of each cloud product in monitor system.
    ProductChineseName string
    Chinese name of this product.
    ProductName string
    English name of this product.
    namespace String
    Namespace of each cloud product in monitor system.
    productChineseName String
    Chinese name of this product.
    productName String
    English name of this product.
    namespace string
    Namespace of each cloud product in monitor system.
    productChineseName string
    Chinese name of this product.
    productName string
    English name of this product.
    namespace str
    Namespace of each cloud product in monitor system.
    product_chinese_name str
    Chinese name of this product.
    product_name str
    English name of this product.
    namespace String
    Namespace of each cloud product in monitor system.
    productChineseName String
    Chinese name of this product.
    productName String
    English name of this product.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack