tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getDomains
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Provide a datasource to query Domains.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const foo = tencentcloud.getDomains({});
import pulumi
import pulumi_tencentcloud as tencentcloud
foo = tencentcloud.get_domains()
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.GetDomains(ctx, &tencentcloud.GetDomainsArgs{}, 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 foo = Tencentcloud.GetDomains.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.GetDomainsArgs;
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 foo = TencentcloudFunctions.getDomains();
}
}
variables:
foo:
fn::invoke:
function: tencentcloud:getDomains
arguments: {}
Using getDomains
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 getDomains(args: GetDomainsArgs, opts?: InvokeOptions): Promise<GetDomainsResult>
function getDomainsOutput(args: GetDomainsOutputArgs, opts?: InvokeOptions): Output<GetDomainsResult>
def get_domains(id: Optional[str] = None,
limit: Optional[float] = None,
offset: Optional[float] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDomainsResult
def get_domains_output(id: Optional[pulumi.Input[str]] = None,
limit: Optional[pulumi.Input[float]] = None,
offset: Optional[pulumi.Input[float]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDomainsResult]
func GetDomains(ctx *Context, args *GetDomainsArgs, opts ...InvokeOption) (*GetDomainsResult, error)
func GetDomainsOutput(ctx *Context, args *GetDomainsOutputArgs, opts ...InvokeOption) GetDomainsResultOutput
> Note: This function is named GetDomains
in the Go SDK.
public static class GetDomains
{
public static Task<GetDomainsResult> InvokeAsync(GetDomainsArgs args, InvokeOptions? opts = null)
public static Output<GetDomainsResult> Invoke(GetDomainsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDomainsResult> getDomains(GetDomainsArgs args, InvokeOptions options)
public static Output<GetDomainsResult> getDomains(GetDomainsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getDomains:getDomains
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Limit double
- Specify data limit in range [1, 100]. Default: 20.
- Offset double
- Specify data offset. Default: 0.
- Result
Output stringFile - Used for save response as file locally.
- Id string
- Limit float64
- Specify data limit in range [1, 100]. Default: 20.
- Offset float64
- Specify data offset. Default: 0.
- Result
Output stringFile - Used for save response as file locally.
- id String
- limit Double
- Specify data limit in range [1, 100]. Default: 20.
- offset Double
- Specify data offset. Default: 0.
- result
Output StringFile - Used for save response as file locally.
- id string
- limit number
- Specify data limit in range [1, 100]. Default: 20.
- offset number
- Specify data offset. Default: 0.
- result
Output stringFile - Used for save response as file locally.
- id str
- limit float
- Specify data limit in range [1, 100]. Default: 20.
- offset float
- Specify data offset. Default: 0.
- result_
output_ strfile - Used for save response as file locally.
- id String
- limit Number
- Specify data limit in range [1, 100]. Default: 20.
- offset Number
- Specify data offset. Default: 0.
- result
Output StringFile - Used for save response as file locally.
getDomains Result
The following output properties are available:
- Id string
- Lists
List<Get
Domains List> - Domain result list.
- Limit double
- Offset double
- Result
Output stringFile
- Id string
- Lists
[]Get
Domains List - Domain result list.
- Limit float64
- Offset float64
- Result
Output stringFile
- id String
- lists
List<Get
Domains List> - Domain result list.
- limit Double
- offset Double
- result
Output StringFile
- id string
- lists
Get
Domains List[] - Domain result list.
- limit number
- offset number
- result
Output stringFile
- id str
- lists
Sequence[Get
Domains List] - Domain result list.
- limit float
- offset float
- result_
output_ strfile
- id String
- lists List<Property Map>
- Domain result list.
- limit Number
- offset Number
- result
Output StringFile
Supporting Types
GetDomainsList
- Auto
Renew double - Whether the domain auto renew, 0 - manual renew, 1 - auto renew.
- Buy
Status string - Domain buy status.
- Code
Tld string - Domain code ltd.
- Creation
Date string - Domain create time.
- Domain
Id string - Domain ID.
- Domain
Name string - Domain name.
- Expiration
Date string - Domain expiration date.
- bool
- Whether the domain is premium.
- Tld string
- Domain ltd.
- Auto
Renew float64 - Whether the domain auto renew, 0 - manual renew, 1 - auto renew.
- Buy
Status string - Domain buy status.
- Code
Tld string - Domain code ltd.
- Creation
Date string - Domain create time.
- Domain
Id string - Domain ID.
- Domain
Name string - Domain name.
- Expiration
Date string - Domain expiration date.
- bool
- Whether the domain is premium.
- Tld string
- Domain ltd.
- auto
Renew Double - Whether the domain auto renew, 0 - manual renew, 1 - auto renew.
- buy
Status String - Domain buy status.
- code
Tld String - Domain code ltd.
- creation
Date String - Domain create time.
- domain
Id String - Domain ID.
- domain
Name String - Domain name.
- expiration
Date String - Domain expiration date.
- Boolean
- Whether the domain is premium.
- tld String
- Domain ltd.
- auto
Renew number - Whether the domain auto renew, 0 - manual renew, 1 - auto renew.
- buy
Status string - Domain buy status.
- code
Tld string - Domain code ltd.
- creation
Date string - Domain create time.
- domain
Id string - Domain ID.
- domain
Name string - Domain name.
- expiration
Date string - Domain expiration date.
- boolean
- Whether the domain is premium.
- tld string
- Domain ltd.
- auto_
renew float - Whether the domain auto renew, 0 - manual renew, 1 - auto renew.
- buy_
status str - Domain buy status.
- code_
tld str - Domain code ltd.
- creation_
date str - Domain create time.
- domain_
id str - Domain ID.
- domain_
name str - Domain name.
- expiration_
date str - Domain expiration date.
- bool
- Whether the domain is premium.
- tld str
- Domain ltd.
- auto
Renew Number - Whether the domain auto renew, 0 - manual renew, 1 - auto renew.
- buy
Status String - Domain buy status.
- code
Tld String - Domain code ltd.
- creation
Date String - Domain create time.
- domain
Id String - Domain ID.
- domain
Name String - Domain name.
- expiration
Date String - Domain expiration date.
- Boolean
- Whether the domain is premium.
- tld String
- Domain ltd.
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