tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getTcrWebhookTriggerLogs
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 tencentcloud.getTcrWebhookTriggerLogs
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const myLogs = tencentcloud.getTcrWebhookTriggerLogs({
registryId: local.tcr_id,
namespace: _var.tcr_namespace,
triggerId: _var.trigger_id,
tags: {
createdBy: "terraform",
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
my_logs = tencentcloud.get_tcr_webhook_trigger_logs(registry_id=local["tcr_id"],
namespace=var["tcr_namespace"],
trigger_id=var["trigger_id"],
tags={
"createdBy": "terraform",
})
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.GetTcrWebhookTriggerLogs(ctx, &tencentcloud.GetTcrWebhookTriggerLogsArgs{
RegistryId: local.Tcr_id,
Namespace: _var.Tcr_namespace,
TriggerId: _var.Trigger_id,
Tags: map[string]interface{}{
"createdBy": "terraform",
},
}, 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 myLogs = Tencentcloud.GetTcrWebhookTriggerLogs.Invoke(new()
{
RegistryId = local.Tcr_id,
Namespace = @var.Tcr_namespace,
TriggerId = @var.Trigger_id,
Tags =
{
{ "createdBy", "terraform" },
},
});
});
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.GetTcrWebhookTriggerLogsArgs;
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 myLogs = TencentcloudFunctions.getTcrWebhookTriggerLogs(GetTcrWebhookTriggerLogsArgs.builder()
.registryId(local.tcr_id())
.namespace(var_.tcr_namespace())
.triggerId(var_.trigger_id())
.tags(Map.of("createdBy", "terraform"))
.build());
}
}
variables:
myLogs:
fn::invoke:
function: tencentcloud:getTcrWebhookTriggerLogs
arguments:
registryId: ${local.tcr_id}
namespace: ${var.tcr_namespace}
triggerId: ${var.trigger_id}
tags:
createdBy: terraform
Using getTcrWebhookTriggerLogs
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 getTcrWebhookTriggerLogs(args: GetTcrWebhookTriggerLogsArgs, opts?: InvokeOptions): Promise<GetTcrWebhookTriggerLogsResult>
function getTcrWebhookTriggerLogsOutput(args: GetTcrWebhookTriggerLogsOutputArgs, opts?: InvokeOptions): Output<GetTcrWebhookTriggerLogsResult>
def get_tcr_webhook_trigger_logs(id: Optional[str] = None,
namespace: Optional[str] = None,
registry_id: Optional[str] = None,
result_output_file: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
trigger_id: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetTcrWebhookTriggerLogsResult
def get_tcr_webhook_trigger_logs_output(id: Optional[pulumi.Input[str]] = None,
namespace: Optional[pulumi.Input[str]] = None,
registry_id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
trigger_id: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTcrWebhookTriggerLogsResult]
func GetTcrWebhookTriggerLogs(ctx *Context, args *GetTcrWebhookTriggerLogsArgs, opts ...InvokeOption) (*GetTcrWebhookTriggerLogsResult, error)
func GetTcrWebhookTriggerLogsOutput(ctx *Context, args *GetTcrWebhookTriggerLogsOutputArgs, opts ...InvokeOption) GetTcrWebhookTriggerLogsResultOutput
> Note: This function is named GetTcrWebhookTriggerLogs
in the Go SDK.
public static class GetTcrWebhookTriggerLogs
{
public static Task<GetTcrWebhookTriggerLogsResult> InvokeAsync(GetTcrWebhookTriggerLogsArgs args, InvokeOptions? opts = null)
public static Output<GetTcrWebhookTriggerLogsResult> Invoke(GetTcrWebhookTriggerLogsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTcrWebhookTriggerLogsResult> getTcrWebhookTriggerLogs(GetTcrWebhookTriggerLogsArgs args, InvokeOptions options)
public static Output<GetTcrWebhookTriggerLogsResult> getTcrWebhookTriggerLogs(GetTcrWebhookTriggerLogsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getTcrWebhookTriggerLogs:getTcrWebhookTriggerLogs
arguments:
# arguments dictionary
The following arguments are supported:
- Namespace string
- namespace.
- Registry
Id string - instance Id.
- Trigger
Id double - trigger id.
- Id string
- log id.
- Result
Output stringFile - Used to save results.
- Dictionary<string, string>
- Tag description list.
- Namespace string
- namespace.
- Registry
Id string - instance Id.
- Trigger
Id float64 - trigger id.
- Id string
- log id.
- Result
Output stringFile - Used to save results.
- map[string]string
- Tag description list.
- namespace String
- namespace.
- registry
Id String - instance Id.
- trigger
Id Double - trigger id.
- id String
- log id.
- result
Output StringFile - Used to save results.
- Map<String,String>
- Tag description list.
- namespace string
- namespace.
- registry
Id string - instance Id.
- trigger
Id number - trigger id.
- id string
- log id.
- result
Output stringFile - Used to save results.
- {[key: string]: string}
- Tag description list.
- namespace str
- namespace.
- registry_
id str - instance Id.
- trigger_
id float - trigger id.
- id str
- log id.
- result_
output_ strfile - Used to save results.
- Mapping[str, str]
- Tag description list.
- namespace String
- namespace.
- registry
Id String - instance Id.
- trigger
Id Number - trigger id.
- id String
- log id.
- result
Output StringFile - Used to save results.
- Map<String>
- Tag description list.
getTcrWebhookTriggerLogs Result
The following output properties are available:
- Id string
- log id.
- Logs
List<Get
Tcr Webhook Trigger Logs Log> - log list.
- Namespace string
- Registry
Id string - Trigger
Id double - trigger Id.
- Result
Output stringFile - Dictionary<string, string>
- Id string
- log id.
- Logs
[]Get
Tcr Webhook Trigger Logs Log - log list.
- Namespace string
- Registry
Id string - Trigger
Id float64 - trigger Id.
- Result
Output stringFile - map[string]string
- id String
- log id.
- logs
List<Get
Tcr Webhook Trigger Logs Log> - log list.
- namespace String
- registry
Id String - trigger
Id Double - trigger Id.
- result
Output StringFile - Map<String,String>
- id string
- log id.
- logs
Get
Tcr Webhook Trigger Logs Log[] - log list.
- namespace string
- registry
Id string - trigger
Id number - trigger Id.
- result
Output stringFile - {[key: string]: string}
- id str
- log id.
- logs
Sequence[Get
Tcr Webhook Trigger Logs Log] - log list.
- namespace str
- registry_
id str - trigger_
id float - trigger Id.
- result_
output_ strfile - Mapping[str, str]
- id String
- log id.
- logs List<Property Map>
- log list.
- namespace String
- registry
Id String - trigger
Id Number - trigger Id.
- result
Output StringFile - Map<String>
Supporting Types
GetTcrWebhookTriggerLogsLog
- Creation
Time string - creation time.
- Detail string
- webhook trigger detail.
- Event
Type string - event type.
- Id double
- log id.
- Notify
Type string - notification type.
- Status string
- status.
- Trigger
Id double - trigger id.
- Update
Time string - update time.
- Creation
Time string - creation time.
- Detail string
- webhook trigger detail.
- Event
Type string - event type.
- Id float64
- log id.
- Notify
Type string - notification type.
- Status string
- status.
- Trigger
Id float64 - trigger id.
- Update
Time string - update time.
- creation
Time String - creation time.
- detail String
- webhook trigger detail.
- event
Type String - event type.
- id Double
- log id.
- notify
Type String - notification type.
- status String
- status.
- trigger
Id Double - trigger id.
- update
Time String - update time.
- creation
Time string - creation time.
- detail string
- webhook trigger detail.
- event
Type string - event type.
- id number
- log id.
- notify
Type string - notification type.
- status string
- status.
- trigger
Id number - trigger id.
- update
Time string - update time.
- creation_
time str - creation time.
- detail str
- webhook trigger detail.
- event_
type str - event type.
- id float
- log id.
- notify_
type str - notification type.
- status str
- status.
- trigger_
id float - trigger id.
- update_
time str - update time.
- creation
Time String - creation time.
- detail String
- webhook trigger detail.
- event
Type String - event type.
- id Number
- log id.
- notify
Type String - notification type.
- status String
- status.
- trigger
Id Number - trigger id.
- update
Time String - update time.
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