tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getTcrImages
Start a Neo task
Explain and create a tencentcloud.getTcrImages resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of tcr images
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const images = tencentcloud.getTcrImages({
registryId: "tcr-xxx",
namespaceName: "ns",
repositoryName: "repo",
imageVersion: "v1",
digest: "sha256:xxxxx",
exactMatch: false,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
images = tencentcloud.get_tcr_images(registry_id="tcr-xxx",
namespace_name="ns",
repository_name="repo",
image_version="v1",
digest="sha256:xxxxx",
exact_match=False)
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.GetTcrImages(ctx, &tencentcloud.GetTcrImagesArgs{
RegistryId: "tcr-xxx",
NamespaceName: "ns",
RepositoryName: "repo",
ImageVersion: pulumi.StringRef("v1"),
Digest: pulumi.StringRef("sha256:xxxxx"),
ExactMatch: pulumi.BoolRef(false),
}, 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 images = Tencentcloud.GetTcrImages.Invoke(new()
{
RegistryId = "tcr-xxx",
NamespaceName = "ns",
RepositoryName = "repo",
ImageVersion = "v1",
Digest = "sha256:xxxxx",
ExactMatch = false,
});
});
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.GetTcrImagesArgs;
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 images = TencentcloudFunctions.getTcrImages(GetTcrImagesArgs.builder()
.registryId("tcr-xxx")
.namespaceName("ns")
.repositoryName("repo")
.imageVersion("v1")
.digest("sha256:xxxxx")
.exactMatch(false)
.build());
}
}
variables:
images:
fn::invoke:
function: tencentcloud:getTcrImages
arguments:
registryId: tcr-xxx
namespaceName: ns
repositoryName: repo
imageVersion: v1
digest: sha256:xxxxx
exactMatch: false
Using getTcrImages
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 getTcrImages(args: GetTcrImagesArgs, opts?: InvokeOptions): Promise<GetTcrImagesResult>
function getTcrImagesOutput(args: GetTcrImagesOutputArgs, opts?: InvokeOptions): Output<GetTcrImagesResult>def get_tcr_images(digest: Optional[str] = None,
exact_match: Optional[bool] = None,
id: Optional[str] = None,
image_version: Optional[str] = None,
namespace_name: Optional[str] = None,
registry_id: Optional[str] = None,
repository_name: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTcrImagesResult
def get_tcr_images_output(digest: Optional[pulumi.Input[str]] = None,
exact_match: Optional[pulumi.Input[bool]] = None,
id: Optional[pulumi.Input[str]] = None,
image_version: Optional[pulumi.Input[str]] = None,
namespace_name: Optional[pulumi.Input[str]] = None,
registry_id: Optional[pulumi.Input[str]] = None,
repository_name: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTcrImagesResult]func GetTcrImages(ctx *Context, args *GetTcrImagesArgs, opts ...InvokeOption) (*GetTcrImagesResult, error)
func GetTcrImagesOutput(ctx *Context, args *GetTcrImagesOutputArgs, opts ...InvokeOption) GetTcrImagesResultOutput> Note: This function is named GetTcrImages in the Go SDK.
public static class GetTcrImages
{
public static Task<GetTcrImagesResult> InvokeAsync(GetTcrImagesArgs args, InvokeOptions? opts = null)
public static Output<GetTcrImagesResult> Invoke(GetTcrImagesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTcrImagesResult> getTcrImages(GetTcrImagesArgs args, InvokeOptions options)
public static Output<GetTcrImagesResult> getTcrImages(GetTcrImagesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getTcrImages:getTcrImages
arguments:
# arguments dictionaryThe following arguments are supported:
- Namespace
Name string - namespace name.
- Registry
Id string - instance id.
- Repository
Name string - repository name.
- Digest string
- specify image digest for lookup.
- Exact
Match bool - specifies whether it is an exact match, true is an exact match, and not filled is a fuzzy match.
- Id string
- Image
Version string - image version name, default is fuzzy match.
- Result
Output stringFile - Used to save results.
- Namespace
Name string - namespace name.
- Registry
Id string - instance id.
- Repository
Name string - repository name.
- Digest string
- specify image digest for lookup.
- Exact
Match bool - specifies whether it is an exact match, true is an exact match, and not filled is a fuzzy match.
- Id string
- Image
Version string - image version name, default is fuzzy match.
- Result
Output stringFile - Used to save results.
- namespace
Name String - namespace name.
- registry
Id String - instance id.
- repository
Name String - repository name.
- digest String
- specify image digest for lookup.
- exact
Match Boolean - specifies whether it is an exact match, true is an exact match, and not filled is a fuzzy match.
- id String
- image
Version String - image version name, default is fuzzy match.
- result
Output StringFile - Used to save results.
- namespace
Name string - namespace name.
- registry
Id string - instance id.
- repository
Name string - repository name.
- digest string
- specify image digest for lookup.
- exact
Match boolean - specifies whether it is an exact match, true is an exact match, and not filled is a fuzzy match.
- id string
- image
Version string - image version name, default is fuzzy match.
- result
Output stringFile - Used to save results.
- namespace_
name str - namespace name.
- registry_
id str - instance id.
- repository_
name str - repository name.
- digest str
- specify image digest for lookup.
- exact_
match bool - specifies whether it is an exact match, true is an exact match, and not filled is a fuzzy match.
- id str
- image_
version str - image version name, default is fuzzy match.
- result_
output_ strfile - Used to save results.
- namespace
Name String - namespace name.
- registry
Id String - instance id.
- repository
Name String - repository name.
- digest String
- specify image digest for lookup.
- exact
Match Boolean - specifies whether it is an exact match, true is an exact match, and not filled is a fuzzy match.
- id String
- image
Version String - image version name, default is fuzzy match.
- result
Output StringFile - Used to save results.
getTcrImages Result
The following output properties are available:
- Id string
- Image
Info List<GetLists Tcr Images Image Info List> - container image information list.
- Namespace
Name string - Registry
Id string - Repository
Name string - Digest string
- hash value.
- Exact
Match bool - Image
Version string - tag name.
- Result
Output stringFile
- Id string
- Image
Info []GetLists Tcr Images Image Info List - container image information list.
- Namespace
Name string - Registry
Id string - Repository
Name string - Digest string
- hash value.
- Exact
Match bool - Image
Version string - tag name.
- Result
Output stringFile
- id String
- image
Info List<GetLists Tcr Images Image Info List> - container image information list.
- namespace
Name String - registry
Id String - repository
Name String - digest String
- hash value.
- exact
Match Boolean - image
Version String - tag name.
- result
Output StringFile
- id string
- image
Info GetLists Tcr Images Image Info List[] - container image information list.
- namespace
Name string - registry
Id string - repository
Name string - digest string
- hash value.
- exact
Match boolean - image
Version string - tag name.
- result
Output stringFile
- id str
- image_
info_ Sequence[Getlists Tcr Images Image Info List] - container image information list.
- namespace_
name str - registry_
id str - repository_
name str - digest str
- hash value.
- exact_
match bool - image_
version str - tag name.
- result_
output_ strfile
- id String
- image
Info List<Property Map>Lists - container image information list.
- namespace
Name String - registry
Id String - repository
Name String - digest String
- hash value.
- exact
Match Boolean - image
Version String - tag name.
- result
Output StringFile
Supporting Types
GetTcrImagesImageInfoList
- Digest string
- specify image digest for lookup.
- Image
Version string - image version name, default is fuzzy match.
- Kind string
- product type,note: this field may return null, indicating that no valid value can be obtained.
- Kms
Signature string - kms signature information,note: this field may return null, indicating that no valid value can be obtained.
- Size double
- image size (unit: byte).
- Update
Time string - update time.
- Digest string
- specify image digest for lookup.
- Image
Version string - image version name, default is fuzzy match.
- Kind string
- product type,note: this field may return null, indicating that no valid value can be obtained.
- Kms
Signature string - kms signature information,note: this field may return null, indicating that no valid value can be obtained.
- Size float64
- image size (unit: byte).
- Update
Time string - update time.
- digest String
- specify image digest for lookup.
- image
Version String - image version name, default is fuzzy match.
- kind String
- product type,note: this field may return null, indicating that no valid value can be obtained.
- kms
Signature String - kms signature information,note: this field may return null, indicating that no valid value can be obtained.
- size Double
- image size (unit: byte).
- update
Time String - update time.
- digest string
- specify image digest for lookup.
- image
Version string - image version name, default is fuzzy match.
- kind string
- product type,note: this field may return null, indicating that no valid value can be obtained.
- kms
Signature string - kms signature information,note: this field may return null, indicating that no valid value can be obtained.
- size number
- image size (unit: byte).
- update
Time string - update time.
- digest str
- specify image digest for lookup.
- image_
version str - image version name, default is fuzzy match.
- kind str
- product type,note: this field may return null, indicating that no valid value can be obtained.
- kms_
signature str - kms signature information,note: this field may return null, indicating that no valid value can be obtained.
- size float
- image size (unit: byte).
- update_
time str - update time.
- digest String
- specify image digest for lookup.
- image
Version String - image version name, default is fuzzy match.
- kind String
- product type,note: this field may return null, indicating that no valid value can be obtained.
- kms
Signature String - kms signature information,note: this field may return null, indicating that no valid value can be obtained.
- size Number
- image size (unit: byte).
- update
Time String - update time.
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
