tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getTcrTagRetentionExecutions
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query detailed information of tcr tag_retention_executions
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const tagRetentionExecutions = tencentcloud.getTcrTagRetentionExecutions({
registryId: "tcr_ins_id",
retentionId: 1,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
tag_retention_executions = tencentcloud.get_tcr_tag_retention_executions(registry_id="tcr_ins_id",
retention_id=1)
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.GetTcrTagRetentionExecutions(ctx, &tencentcloud.GetTcrTagRetentionExecutionsArgs{
RegistryId: "tcr_ins_id",
RetentionId: 1,
}, 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 tagRetentionExecutions = Tencentcloud.GetTcrTagRetentionExecutions.Invoke(new()
{
RegistryId = "tcr_ins_id",
RetentionId = 1,
});
});
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.GetTcrTagRetentionExecutionsArgs;
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 tagRetentionExecutions = TencentcloudFunctions.getTcrTagRetentionExecutions(GetTcrTagRetentionExecutionsArgs.builder()
.registryId("tcr_ins_id")
.retentionId(1)
.build());
}
}
variables:
tagRetentionExecutions:
fn::invoke:
function: tencentcloud:getTcrTagRetentionExecutions
arguments:
registryId: tcr_ins_id
retentionId: 1
Using getTcrTagRetentionExecutions
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 getTcrTagRetentionExecutions(args: GetTcrTagRetentionExecutionsArgs, opts?: InvokeOptions): Promise<GetTcrTagRetentionExecutionsResult>
function getTcrTagRetentionExecutionsOutput(args: GetTcrTagRetentionExecutionsOutputArgs, opts?: InvokeOptions): Output<GetTcrTagRetentionExecutionsResult>
def get_tcr_tag_retention_executions(id: Optional[str] = None,
registry_id: Optional[str] = None,
result_output_file: Optional[str] = None,
retention_id: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetTcrTagRetentionExecutionsResult
def get_tcr_tag_retention_executions_output(id: Optional[pulumi.Input[str]] = None,
registry_id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
retention_id: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTcrTagRetentionExecutionsResult]
func GetTcrTagRetentionExecutions(ctx *Context, args *GetTcrTagRetentionExecutionsArgs, opts ...InvokeOption) (*GetTcrTagRetentionExecutionsResult, error)
func GetTcrTagRetentionExecutionsOutput(ctx *Context, args *GetTcrTagRetentionExecutionsOutputArgs, opts ...InvokeOption) GetTcrTagRetentionExecutionsResultOutput
> Note: This function is named GetTcrTagRetentionExecutions
in the Go SDK.
public static class GetTcrTagRetentionExecutions
{
public static Task<GetTcrTagRetentionExecutionsResult> InvokeAsync(GetTcrTagRetentionExecutionsArgs args, InvokeOptions? opts = null)
public static Output<GetTcrTagRetentionExecutionsResult> Invoke(GetTcrTagRetentionExecutionsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTcrTagRetentionExecutionsResult> getTcrTagRetentionExecutions(GetTcrTagRetentionExecutionsArgs args, InvokeOptions options)
public static Output<GetTcrTagRetentionExecutionsResult> getTcrTagRetentionExecutions(GetTcrTagRetentionExecutionsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getTcrTagRetentionExecutions:getTcrTagRetentionExecutions
arguments:
# arguments dictionary
The following arguments are supported:
- Registry
Id string - instance id.
- Retention
Id double - retention id.
- Id string
- Result
Output stringFile - Used to save results.
- Registry
Id string - instance id.
- Retention
Id float64 - retention id.
- Id string
- Result
Output stringFile - Used to save results.
- registry
Id String - instance id.
- retention
Id Double - retention id.
- id String
- result
Output StringFile - Used to save results.
- registry
Id string - instance id.
- retention
Id number - retention id.
- id string
- result
Output stringFile - Used to save results.
- registry_
id str - instance id.
- retention_
id float - retention id.
- id str
- result_
output_ strfile - Used to save results.
- registry
Id String - instance id.
- retention
Id Number - retention id.
- id String
- result
Output StringFile - Used to save results.
getTcrTagRetentionExecutions Result
The following output properties are available:
- Id string
- Registry
Id string - Retention
Execution List<GetLists Tcr Tag Retention Executions Retention Execution List> - list of version retention execution records.
- Retention
Id double - retention id.
- Result
Output stringFile
- Id string
- Registry
Id string - Retention
Execution []GetLists Tcr Tag Retention Executions Retention Execution List - list of version retention execution records.
- Retention
Id float64 - retention id.
- Result
Output stringFile
- id String
- registry
Id String - retention
Execution List<GetLists Tcr Tag Retention Executions Retention Execution List> - list of version retention execution records.
- retention
Id Double - retention id.
- result
Output StringFile
- id string
- registry
Id string - retention
Execution GetLists Tcr Tag Retention Executions Retention Execution List[] - list of version retention execution records.
- retention
Id number - retention id.
- result
Output stringFile
- id str
- registry_
id str - retention_
execution_ Sequence[Getlists Tcr Tag Retention Executions Retention Execution List] - list of version retention execution records.
- retention_
id float - retention id.
- result_
output_ strfile
- id String
- registry
Id String - retention
Execution List<Property Map>Lists - list of version retention execution records.
- retention
Id Number - retention id.
- result
Output StringFile
Supporting Types
GetTcrTagRetentionExecutionsRetentionExecutionList
- End
Time string - execution end time.
- Execution
Id double - execution id.
- Retention
Id double - retention id.
- Start
Time string - execution start time.
- Status string
- execution status: Failed, Succeed, Stopped, InProgress.
- End
Time string - execution end time.
- Execution
Id float64 - execution id.
- Retention
Id float64 - retention id.
- Start
Time string - execution start time.
- Status string
- execution status: Failed, Succeed, Stopped, InProgress.
- end
Time String - execution end time.
- execution
Id Double - execution id.
- retention
Id Double - retention id.
- start
Time String - execution start time.
- status String
- execution status: Failed, Succeed, Stopped, InProgress.
- end
Time string - execution end time.
- execution
Id number - execution id.
- retention
Id number - retention id.
- start
Time string - execution start time.
- status string
- execution status: Failed, Succeed, Stopped, InProgress.
- end_
time str - execution end time.
- execution_
id float - execution id.
- retention_
id float - retention id.
- start_
time str - execution start time.
- status str
- execution status: Failed, Succeed, Stopped, InProgress.
- end
Time String - execution end time.
- execution
Id Number - execution id.
- retention
Id Number - retention id.
- start
Time String - execution start time.
- status String
- execution status: Failed, Succeed, Stopped, InProgress.
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