Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack
published on Monday, May 11, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack
published on Monday, May 11, 2026 by tencentcloudstack
Use this data source to query products that support region list queries.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getProducts({});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_products()
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.GetProducts(ctx, &tencentcloud.GetProductsArgs{}, 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 example = Tencentcloud.GetProducts.Invoke();
});
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.GetProductsArgs;
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 example = TencentcloudFunctions.getProducts(GetProductsArgs.builder()
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getProducts
arguments: {}
Example coming soon!
Using getProducts
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 getProducts(args: GetProductsArgs, opts?: InvokeOptions): Promise<GetProductsResult>
function getProductsOutput(args: GetProductsOutputArgs, opts?: InvokeOptions): Output<GetProductsResult>def get_products(id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProductsResult
def get_products_output(id: pulumi.Input[Optional[str]] = None,
result_output_file: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProductsResult]func GetProducts(ctx *Context, args *GetProductsArgs, opts ...InvokeOption) (*GetProductsResult, error)
func GetProductsOutput(ctx *Context, args *GetProductsOutputArgs, opts ...InvokeOption) GetProductsResultOutput> Note: This function is named GetProducts in the Go SDK.
public static class GetProducts
{
public static Task<GetProductsResult> InvokeAsync(GetProductsArgs args, InvokeOptions? opts = null)
public static Output<GetProductsResult> Invoke(GetProductsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProductsResult> getProducts(GetProductsArgs args, InvokeOptions options)
public static Output<GetProductsResult> getProducts(GetProductsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getProducts:getProducts
arguments:
# arguments dictionarydata "tencentcloud_getproducts" "name" {
# arguments
}The following arguments are supported:
- Id string
- Result
Output stringFile - Used to save results.
- Id string
- Result
Output stringFile - Used to save results.
- id string
- result_
output_ stringfile - Used to save results.
- id String
- result
Output StringFile - Used to save results.
- id string
- result
Output stringFile - Used to save results.
- id str
- result_
output_ strfile - Used to save results.
- id String
- result
Output StringFile - Used to save results.
getProducts Result
The following output properties are available:
- Id string
- Product
Lists List<GetProducts Product List> - Product list.
- Result
Output stringFile
- Id string
- Product
Lists []GetProducts Product List - Product list.
- Result
Output stringFile
- id string
- product_
lists list(object) - Product list.
- result_
output_ stringfile
- id String
- product
Lists List<GetProducts Product List> - Product list.
- result
Output StringFile
- id string
- product
Lists GetProducts Product List[] - Product list.
- result
Output stringFile
- id str
- product_
lists Sequence[GetProducts Product List] - Product list.
- result_
output_ strfile
- id String
- product
Lists List<Property Map> - Product list.
- result
Output StringFile
Supporting Types
GetProductsProductList
- Name string
- Product name, e.g.
cvm.
- Name string
- Product name, e.g.
cvm.
- name string
- Product name, e.g.
cvm.
- name String
- Product name, e.g.
cvm.
- name string
- Product name, e.g.
cvm.
- name str
- Product name, e.g.
cvm.
- name String
- Product name, e.g.
cvm.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack
published on Monday, May 11, 2026 by tencentcloudstack
