tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getTcrInstances
Start a Neo task
Explain and create a tencentcloud.getTcrInstances resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of TCR instances.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const name = tencentcloud.getTcrInstances({
name: "test",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
name = tencentcloud.get_tcr_instances(name="test")
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.GetTcrInstances(ctx, &tencentcloud.GetTcrInstancesArgs{
Name: pulumi.StringRef("test"),
}, 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 name = Tencentcloud.GetTcrInstances.Invoke(new()
{
Name = "test",
});
});
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.GetTcrInstancesArgs;
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 name = TencentcloudFunctions.getTcrInstances(GetTcrInstancesArgs.builder()
.name("test")
.build());
}
}
variables:
name:
fn::invoke:
function: tencentcloud:getTcrInstances
arguments:
name: test
Using getTcrInstances
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 getTcrInstances(args: GetTcrInstancesArgs, opts?: InvokeOptions): Promise<GetTcrInstancesResult>
function getTcrInstancesOutput(args: GetTcrInstancesOutputArgs, opts?: InvokeOptions): Output<GetTcrInstancesResult>def get_tcr_instances(id: Optional[str] = None,
instance_id: Optional[str] = None,
name: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTcrInstancesResult
def get_tcr_instances_output(id: Optional[pulumi.Input[str]] = None,
instance_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[GetTcrInstancesResult]func GetTcrInstances(ctx *Context, args *GetTcrInstancesArgs, opts ...InvokeOption) (*GetTcrInstancesResult, error)
func GetTcrInstancesOutput(ctx *Context, args *GetTcrInstancesOutputArgs, opts ...InvokeOption) GetTcrInstancesResultOutput> Note: This function is named GetTcrInstances in the Go SDK.
public static class GetTcrInstances
{
public static Task<GetTcrInstancesResult> InvokeAsync(GetTcrInstancesArgs args, InvokeOptions? opts = null)
public static Output<GetTcrInstancesResult> Invoke(GetTcrInstancesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTcrInstancesResult> getTcrInstances(GetTcrInstancesArgs args, InvokeOptions options)
public static Output<GetTcrInstancesResult> getTcrInstances(GetTcrInstancesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getTcrInstances:getTcrInstances
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- ID of the TCR instance.
- Instance
Id string - ID of the TCR instance to query.
- Name string
- Name of the TCR instance to query.
- Result
Output stringFile - Used to save results.
- Id string
- ID of the TCR instance.
- Instance
Id string - ID of the TCR instance to query.
- Name string
- Name of the TCR instance to query.
- Result
Output stringFile - Used to save results.
- id String
- ID of the TCR instance.
- instance
Id String - ID of the TCR instance to query.
- name String
- Name of the TCR instance to query.
- result
Output StringFile - Used to save results.
- id string
- ID of the TCR instance.
- instance
Id string - ID of the TCR instance to query.
- name string
- Name of the TCR instance to query.
- result
Output stringFile - Used to save results.
- id str
- ID of the TCR instance.
- instance_
id str - ID of the TCR instance to query.
- name str
- Name of the TCR instance to query.
- result_
output_ strfile - Used to save results.
- id String
- ID of the TCR instance.
- instance
Id String - ID of the TCR instance to query.
- name String
- Name of the TCR instance to query.
- result
Output StringFile - Used to save results.
getTcrInstances Result
The following output properties are available:
- Id string
- ID of the TCR instance.
- Instance
Lists List<GetTcr Instances Instance List> - Information list of the dedicated TCR instances.
- Instance
Id string - Name string
- Name of TCR instance.
- Result
Output stringFile
- Id string
- ID of the TCR instance.
- Instance
Lists []GetTcr Instances Instance List - Information list of the dedicated TCR instances.
- Instance
Id string - Name string
- Name of TCR instance.
- Result
Output stringFile
- id String
- ID of the TCR instance.
- instance
Lists List<GetTcr Instances Instance List> - Information list of the dedicated TCR instances.
- instance
Id String - name String
- Name of TCR instance.
- result
Output StringFile
- id string
- ID of the TCR instance.
- instance
Lists GetTcr Instances Instance List[] - Information list of the dedicated TCR instances.
- instance
Id string - name string
- Name of TCR instance.
- result
Output stringFile
- id str
- ID of the TCR instance.
- instance_
lists Sequence[GetTcr Instances Instance List] - Information list of the dedicated TCR instances.
- instance_
id str - name str
- Name of TCR instance.
- result_
output_ strfile
- id String
- ID of the TCR instance.
- instance
Lists List<Property Map> - Information list of the dedicated TCR instances.
- instance
Id String - name String
- Name of TCR instance.
- result
Output StringFile
Supporting Types
GetTcrInstancesInstanceList
- Id string
- ID of the TCR instance.
- Instance
Type string - Instance type.
- Internal
End stringPoint - Internal address for access of the TCR instance.
- Name string
- Name of the TCR instance to query.
- Public
Domain string - Public address for access of the TCR instance.
- Status string
- Status of the TCR instance.
- Dictionary<string, string>
- Tags of the TCR instance.
- Id string
- ID of the TCR instance.
- Instance
Type string - Instance type.
- Internal
End stringPoint - Internal address for access of the TCR instance.
- Name string
- Name of the TCR instance to query.
- Public
Domain string - Public address for access of the TCR instance.
- Status string
- Status of the TCR instance.
- map[string]string
- Tags of the TCR instance.
- id String
- ID of the TCR instance.
- instance
Type String - Instance type.
- internal
End StringPoint - Internal address for access of the TCR instance.
- name String
- Name of the TCR instance to query.
- public
Domain String - Public address for access of the TCR instance.
- status String
- Status of the TCR instance.
- Map<String,String>
- Tags of the TCR instance.
- id string
- ID of the TCR instance.
- instance
Type string - Instance type.
- internal
End stringPoint - Internal address for access of the TCR instance.
- name string
- Name of the TCR instance to query.
- public
Domain string - Public address for access of the TCR instance.
- status string
- Status of the TCR instance.
- {[key: string]: string}
- Tags of the TCR instance.
- id str
- ID of the TCR instance.
- instance_
type str - Instance type.
- internal_
end_ strpoint - Internal address for access of the TCR instance.
- name str
- Name of the TCR instance to query.
- public_
domain str - Public address for access of the TCR instance.
- status str
- Status of the TCR instance.
- Mapping[str, str]
- Tags of the TCR instance.
- id String
- ID of the TCR instance.
- instance
Type String - Instance type.
- internal
End StringPoint - Internal address for access of the TCR instance.
- name String
- Name of the TCR instance to query.
- public
Domain String - Public address for access of the TCR instance.
- status String
- Status of the TCR instance.
- Map<String>
- Tags of the TCR instance.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
