tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getTcrTagRetentionExecutionTasks
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_execution_tasks
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const tasks = tencentcloud.getTcrTagRetentionExecutionTasks({
executionId: 1,
registryId: "tcr_ins_id",
retentionId: 1,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
tasks = tencentcloud.get_tcr_tag_retention_execution_tasks(execution_id=1,
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.GetTcrTagRetentionExecutionTasks(ctx, &tencentcloud.GetTcrTagRetentionExecutionTasksArgs{
ExecutionId: 1,
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 tasks = Tencentcloud.GetTcrTagRetentionExecutionTasks.Invoke(new()
{
ExecutionId = 1,
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.GetTcrTagRetentionExecutionTasksArgs;
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 tasks = TencentcloudFunctions.getTcrTagRetentionExecutionTasks(GetTcrTagRetentionExecutionTasksArgs.builder()
.executionId(1)
.registryId("tcr_ins_id")
.retentionId(1)
.build());
}
}
variables:
tasks:
fn::invoke:
function: tencentcloud:getTcrTagRetentionExecutionTasks
arguments:
executionId: 1
registryId: tcr_ins_id
retentionId: 1
Using getTcrTagRetentionExecutionTasks
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 getTcrTagRetentionExecutionTasks(args: GetTcrTagRetentionExecutionTasksArgs, opts?: InvokeOptions): Promise<GetTcrTagRetentionExecutionTasksResult>
function getTcrTagRetentionExecutionTasksOutput(args: GetTcrTagRetentionExecutionTasksOutputArgs, opts?: InvokeOptions): Output<GetTcrTagRetentionExecutionTasksResult>
def get_tcr_tag_retention_execution_tasks(execution_id: Optional[float] = None,
id: Optional[str] = None,
registry_id: Optional[str] = None,
result_output_file: Optional[str] = None,
retention_id: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetTcrTagRetentionExecutionTasksResult
def get_tcr_tag_retention_execution_tasks_output(execution_id: Optional[pulumi.Input[float]] = None,
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[GetTcrTagRetentionExecutionTasksResult]
func GetTcrTagRetentionExecutionTasks(ctx *Context, args *GetTcrTagRetentionExecutionTasksArgs, opts ...InvokeOption) (*GetTcrTagRetentionExecutionTasksResult, error)
func GetTcrTagRetentionExecutionTasksOutput(ctx *Context, args *GetTcrTagRetentionExecutionTasksOutputArgs, opts ...InvokeOption) GetTcrTagRetentionExecutionTasksResultOutput
> Note: This function is named GetTcrTagRetentionExecutionTasks
in the Go SDK.
public static class GetTcrTagRetentionExecutionTasks
{
public static Task<GetTcrTagRetentionExecutionTasksResult> InvokeAsync(GetTcrTagRetentionExecutionTasksArgs args, InvokeOptions? opts = null)
public static Output<GetTcrTagRetentionExecutionTasksResult> Invoke(GetTcrTagRetentionExecutionTasksInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTcrTagRetentionExecutionTasksResult> getTcrTagRetentionExecutionTasks(GetTcrTagRetentionExecutionTasksArgs args, InvokeOptions options)
public static Output<GetTcrTagRetentionExecutionTasksResult> getTcrTagRetentionExecutionTasks(GetTcrTagRetentionExecutionTasksArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getTcrTagRetentionExecutionTasks:getTcrTagRetentionExecutionTasks
arguments:
# arguments dictionary
The following arguments are supported:
- Execution
Id double - execution id.
- Registry
Id string - instance id.
- Retention
Id double - retention id.
- Id string
- Result
Output stringFile - Used to save results.
- Execution
Id float64 - execution id.
- Registry
Id string - instance id.
- Retention
Id float64 - retention id.
- Id string
- Result
Output stringFile - Used to save results.
- execution
Id Double - execution id.
- registry
Id String - instance id.
- retention
Id Double - retention id.
- id String
- result
Output StringFile - Used to save results.
- execution
Id number - execution id.
- registry
Id string - instance id.
- retention
Id number - retention id.
- id string
- result
Output stringFile - Used to save results.
- execution_
id float - execution id.
- registry_
id str - instance id.
- retention_
id float - retention id.
- id str
- result_
output_ strfile - Used to save results.
- execution
Id Number - execution id.
- registry
Id String - instance id.
- retention
Id Number - retention id.
- id String
- result
Output StringFile - Used to save results.
getTcrTagRetentionExecutionTasks Result
The following output properties are available:
- Execution
Id double - the rule execution id.
- Id string
- Registry
Id string - Retention
Id double - Retention
Task List<GetLists Tcr Tag Retention Execution Tasks Retention Task List> - list of version retention tasks.
- Result
Output stringFile
- Execution
Id float64 - the rule execution id.
- Id string
- Registry
Id string - Retention
Id float64 - Retention
Task []GetLists Tcr Tag Retention Execution Tasks Retention Task List - list of version retention tasks.
- Result
Output stringFile
- execution
Id Double - the rule execution id.
- id String
- registry
Id String - retention
Id Double - retention
Task List<GetLists Tcr Tag Retention Execution Tasks Retention Task List> - list of version retention tasks.
- result
Output StringFile
- execution
Id number - the rule execution id.
- id string
- registry
Id string - retention
Id number - retention
Task GetLists Tcr Tag Retention Execution Tasks Retention Task List[] - list of version retention tasks.
- result
Output stringFile
- execution_
id float - the rule execution id.
- id str
- registry_
id str - retention_
id float - retention_
task_ Sequence[Getlists Tcr Tag Retention Execution Tasks Retention Task List] - list of version retention tasks.
- result_
output_ strfile
- execution
Id Number - the rule execution id.
- id String
- registry
Id String - retention
Id Number - retention
Task List<Property Map>Lists - list of version retention tasks.
- result
Output StringFile
Supporting Types
GetTcrTagRetentionExecutionTasksRetentionTaskList
- End
Time string - task end time.
- Execution
Id double - execution id.
- Repository string
- repository name.
- Retained double
- Total number of retained tags.
- Start
Time string - task start time.
- Status string
- the execution status of the task: Failed, Succeed, Stopped, InProgress.
- Task
Id double - task id.
- Total double
- Total number of tags.
- End
Time string - task end time.
- Execution
Id float64 - execution id.
- Repository string
- repository name.
- Retained float64
- Total number of retained tags.
- Start
Time string - task start time.
- Status string
- the execution status of the task: Failed, Succeed, Stopped, InProgress.
- Task
Id float64 - task id.
- Total float64
- Total number of tags.
- end
Time String - task end time.
- execution
Id Double - execution id.
- repository String
- repository name.
- retained Double
- Total number of retained tags.
- start
Time String - task start time.
- status String
- the execution status of the task: Failed, Succeed, Stopped, InProgress.
- task
Id Double - task id.
- total Double
- Total number of tags.
- end
Time string - task end time.
- execution
Id number - execution id.
- repository string
- repository name.
- retained number
- Total number of retained tags.
- start
Time string - task start time.
- status string
- the execution status of the task: Failed, Succeed, Stopped, InProgress.
- task
Id number - task id.
- total number
- Total number of tags.
- end_
time str - task end time.
- execution_
id float - execution id.
- repository str
- repository name.
- retained float
- Total number of retained tags.
- start_
time str - task start time.
- status str
- the execution status of the task: Failed, Succeed, Stopped, InProgress.
- task_
id float - task id.
- total float
- Total number of tags.
- end
Time String - task end time.
- execution
Id Number - execution id.
- repository String
- repository name.
- retained Number
- Total number of retained tags.
- start
Time String - task start time.
- status String
- the execution status of the task: Failed, Succeed, Stopped, InProgress.
- task
Id Number - task id.
- total Number
- Total number of tags.
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