tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getMonitorProductNamespace
Explore with Pulumi AI
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
. - Result
Output stringFile - Used to store results.
- Id string
- Name string
- Name for filter, eg:
Load Banlancer
. - Result
Output stringFile - Used to store results.
- id String
- name String
- Name for filter, eg:
Load Banlancer
. - result
Output StringFile - Used to store results.
- id string
- name string
- Name for filter, eg:
Load Banlancer
. - result
Output stringFile - Used to store results.
- id str
- name str
- Name for filter, eg:
Load Banlancer
. - result_
output_ strfile - Used to store results.
- id String
- name String
- Name for filter, eg:
Load Banlancer
. - result
Output StringFile - Used to store results.
getMonitorProductNamespace Result
The following output properties are available:
- Id string
- Lists
List<Get
Monitor Product Namespace List> - A list product namespaces. Each element contains the following attributes:
- Name string
- Result
Output stringFile
- Id string
- Lists
[]Get
Monitor Product Namespace List - A list product namespaces. Each element contains the following attributes:
- Name string
- Result
Output stringFile
- id String
- lists
List<Get
Monitor Product Namespace List> - A list product namespaces. Each element contains the following attributes:
- name String
- result
Output StringFile
- id string
- lists
Get
Monitor Product Namespace List[] - A list product namespaces. Each element contains the following attributes:
- name string
- result
Output stringFile
- id str
- lists
Sequence[Get
Monitor Product Namespace List] - A list product namespaces. Each element contains the following attributes:
- name str
- result_
output_ strfile
- id String
- lists List<Property Map>
- A list product namespaces. Each element contains the following attributes:
- name String
- result
Output StringFile
Supporting Types
GetMonitorProductNamespaceList
- Namespace string
- Namespace of each cloud product in monitor system.
- Product
Chinese stringName - Chinese name of this product.
- Product
Name string - English name of this product.
- Namespace string
- Namespace of each cloud product in monitor system.
- Product
Chinese stringName - Chinese name of this product.
- Product
Name string - English name of this product.
- namespace String
- Namespace of each cloud product in monitor system.
- product
Chinese StringName - Chinese name of this product.
- product
Name String - English name of this product.
- namespace string
- Namespace of each cloud product in monitor system.
- product
Chinese stringName - Chinese name of this product.
- product
Name string - English name of this product.
- namespace str
- Namespace of each cloud product in monitor system.
- product_
chinese_ strname - Chinese name of this product.
- product_
name str - English name of this product.
- namespace String
- Namespace of each cloud product in monitor system.
- product
Chinese StringName - Chinese name of this product.
- product
Name 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 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack