tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getCosBatchs
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query the COS batch.
NOTE: The current resource does not support
cos_domain
.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const cosBatchs = tencentcloud.getCosBatchs({
appid: "xxxxxx",
uin: "xxxxxx",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
cos_batchs = tencentcloud.get_cos_batchs(appid="xxxxxx",
uin="xxxxxx")
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.GetCosBatchs(ctx, &tencentcloud.GetCosBatchsArgs{
Appid: "xxxxxx",
Uin: "xxxxxx",
}, 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 cosBatchs = Tencentcloud.GetCosBatchs.Invoke(new()
{
Appid = "xxxxxx",
Uin = "xxxxxx",
});
});
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.GetCosBatchsArgs;
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 cosBatchs = TencentcloudFunctions.getCosBatchs(GetCosBatchsArgs.builder()
.appid("xxxxxx")
.uin("xxxxxx")
.build());
}
}
variables:
cosBatchs:
fn::invoke:
function: tencentcloud:getCosBatchs
arguments:
appid: xxxxxx
uin: xxxxxx
Using getCosBatchs
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 getCosBatchs(args: GetCosBatchsArgs, opts?: InvokeOptions): Promise<GetCosBatchsResult>
function getCosBatchsOutput(args: GetCosBatchsOutputArgs, opts?: InvokeOptions): Output<GetCosBatchsResult>
def get_cos_batchs(appid: Optional[float] = None,
id: Optional[str] = None,
job_statuses: Optional[str] = None,
result_output_file: Optional[str] = None,
uin: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCosBatchsResult
def get_cos_batchs_output(appid: Optional[pulumi.Input[float]] = None,
id: Optional[pulumi.Input[str]] = None,
job_statuses: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
uin: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCosBatchsResult]
func GetCosBatchs(ctx *Context, args *GetCosBatchsArgs, opts ...InvokeOption) (*GetCosBatchsResult, error)
func GetCosBatchsOutput(ctx *Context, args *GetCosBatchsOutputArgs, opts ...InvokeOption) GetCosBatchsResultOutput
> Note: This function is named GetCosBatchs
in the Go SDK.
public static class GetCosBatchs
{
public static Task<GetCosBatchsResult> InvokeAsync(GetCosBatchsArgs args, InvokeOptions? opts = null)
public static Output<GetCosBatchsResult> Invoke(GetCosBatchsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCosBatchsResult> getCosBatchs(GetCosBatchsArgs args, InvokeOptions options)
public static Output<GetCosBatchsResult> getCosBatchs(GetCosBatchsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getCosBatchs:getCosBatchs
arguments:
# arguments dictionary
The following arguments are supported:
- Appid double
- Appid.
- Uin string
- Uin.
- Id string
- Job
Statuses string - The task status information you need to query. If you do not specify a task status, COS returns the status of all tasks that have been executed, including those that are in progress. If you specify a task status, COS returns the task in the specified state. Optional task states include: Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended.
- Result
Output stringFile - Used to save results.
- Appid float64
- Appid.
- Uin string
- Uin.
- Id string
- Job
Statuses string - The task status information you need to query. If you do not specify a task status, COS returns the status of all tasks that have been executed, including those that are in progress. If you specify a task status, COS returns the task in the specified state. Optional task states include: Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended.
- Result
Output stringFile - Used to save results.
- appid Double
- Appid.
- uin String
- Uin.
- id String
- job
Statuses String - The task status information you need to query. If you do not specify a task status, COS returns the status of all tasks that have been executed, including those that are in progress. If you specify a task status, COS returns the task in the specified state. Optional task states include: Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended.
- result
Output StringFile - Used to save results.
- appid number
- Appid.
- uin string
- Uin.
- id string
- job
Statuses string - The task status information you need to query. If you do not specify a task status, COS returns the status of all tasks that have been executed, including those that are in progress. If you specify a task status, COS returns the task in the specified state. Optional task states include: Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended.
- result
Output stringFile - Used to save results.
- appid float
- Appid.
- uin str
- Uin.
- id str
- job_
statuses str - The task status information you need to query. If you do not specify a task status, COS returns the status of all tasks that have been executed, including those that are in progress. If you specify a task status, COS returns the task in the specified state. Optional task states include: Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended.
- result_
output_ strfile - Used to save results.
- appid Number
- Appid.
- uin String
- Uin.
- id String
- job
Statuses String - The task status information you need to query. If you do not specify a task status, COS returns the status of all tasks that have been executed, including those that are in progress. If you specify a task status, COS returns the task in the specified state. Optional task states include: Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended.
- result
Output StringFile - Used to save results.
getCosBatchs Result
The following output properties are available:
- Appid double
- Id string
- Jobs
List<Get
Cos Batchs Job> - Multiple batch processing task information.
- Uin string
- Job
Statuses string - Result
Output stringFile
- Appid float64
- Id string
- Jobs
[]Get
Cos Batchs Job - Multiple batch processing task information.
- Uin string
- Job
Statuses string - Result
Output stringFile
- appid Double
- id String
- jobs
List<Get
Cos Batchs Job> - Multiple batch processing task information.
- uin String
- job
Statuses String - result
Output StringFile
- appid number
- id string
- jobs
Get
Cos Batchs Job[] - Multiple batch processing task information.
- uin string
- job
Statuses string - result
Output stringFile
- appid float
- id str
- jobs
Sequence[Get
Cos Batchs Job] - Multiple batch processing task information.
- uin str
- job_
statuses str - result_
output_ strfile
- appid Number
- id String
- jobs List<Property Map>
- Multiple batch processing task information.
- uin String
- job
Statuses String - result
Output StringFile
Supporting Types
GetCosBatchsJob
- Creation
Time string - Job creation time.
- Description string
- Mission description. The length is limited to 0-256 bytes.
- Job
Id string - Job ID. The length is limited to 1-64 bytes.
- Operation string
- Actions performed on objects in a batch processing job. For example, COSPutObjectCopy.
- Priority double
- Mission priority. Tasks with higher values will be given priority. The priority size is limited to 0-2147483647.
- Progress
Summaries List<GetCos Batchs Job Progress Summary> - Summary of the status of task implementation. Describe the total number of operations performed in this task, the number of successful operations, and the number of failed operations.
- Status string
- Task execution status. Legal parameter values include Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended.
- Termination
Date string - The end time of the batch processing job.
- Creation
Time string - Job creation time.
- Description string
- Mission description. The length is limited to 0-256 bytes.
- Job
Id string - Job ID. The length is limited to 1-64 bytes.
- Operation string
- Actions performed on objects in a batch processing job. For example, COSPutObjectCopy.
- Priority float64
- Mission priority. Tasks with higher values will be given priority. The priority size is limited to 0-2147483647.
- Progress
Summaries []GetCos Batchs Job Progress Summary - Summary of the status of task implementation. Describe the total number of operations performed in this task, the number of successful operations, and the number of failed operations.
- Status string
- Task execution status. Legal parameter values include Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended.
- Termination
Date string - The end time of the batch processing job.
- creation
Time String - Job creation time.
- description String
- Mission description. The length is limited to 0-256 bytes.
- job
Id String - Job ID. The length is limited to 1-64 bytes.
- operation String
- Actions performed on objects in a batch processing job. For example, COSPutObjectCopy.
- priority Double
- Mission priority. Tasks with higher values will be given priority. The priority size is limited to 0-2147483647.
- progress
Summaries List<GetCos Batchs Job Progress Summary> - Summary of the status of task implementation. Describe the total number of operations performed in this task, the number of successful operations, and the number of failed operations.
- status String
- Task execution status. Legal parameter values include Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended.
- termination
Date String - The end time of the batch processing job.
- creation
Time string - Job creation time.
- description string
- Mission description. The length is limited to 0-256 bytes.
- job
Id string - Job ID. The length is limited to 1-64 bytes.
- operation string
- Actions performed on objects in a batch processing job. For example, COSPutObjectCopy.
- priority number
- Mission priority. Tasks with higher values will be given priority. The priority size is limited to 0-2147483647.
- progress
Summaries GetCos Batchs Job Progress Summary[] - Summary of the status of task implementation. Describe the total number of operations performed in this task, the number of successful operations, and the number of failed operations.
- status string
- Task execution status. Legal parameter values include Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended.
- termination
Date string - The end time of the batch processing job.
- creation_
time str - Job creation time.
- description str
- Mission description. The length is limited to 0-256 bytes.
- job_
id str - Job ID. The length is limited to 1-64 bytes.
- operation str
- Actions performed on objects in a batch processing job. For example, COSPutObjectCopy.
- priority float
- Mission priority. Tasks with higher values will be given priority. The priority size is limited to 0-2147483647.
- progress_
summaries Sequence[GetCos Batchs Job Progress Summary] - Summary of the status of task implementation. Describe the total number of operations performed in this task, the number of successful operations, and the number of failed operations.
- status str
- Task execution status. Legal parameter values include Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended.
- termination_
date str - The end time of the batch processing job.
- creation
Time String - Job creation time.
- description String
- Mission description. The length is limited to 0-256 bytes.
- job
Id String - Job ID. The length is limited to 1-64 bytes.
- operation String
- Actions performed on objects in a batch processing job. For example, COSPutObjectCopy.
- priority Number
- Mission priority. Tasks with higher values will be given priority. The priority size is limited to 0-2147483647.
- progress
Summaries List<Property Map> - Summary of the status of task implementation. Describe the total number of operations performed in this task, the number of successful operations, and the number of failed operations.
- status String
- Task execution status. Legal parameter values include Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended.
- termination
Date String - The end time of the batch processing job.
GetCosBatchsJobProgressSummary
- Number
Of doubleTasks Failed - The current failed Operand.
- Number
Of doubleTasks Succeeded - The current successful Operand.
- Total
Number doubleOf Tasks - Total Operand.
- Number
Of float64Tasks Failed - The current failed Operand.
- Number
Of float64Tasks Succeeded - The current successful Operand.
- Total
Number float64Of Tasks - Total Operand.
- number
Of DoubleTasks Failed - The current failed Operand.
- number
Of DoubleTasks Succeeded - The current successful Operand.
- total
Number DoubleOf Tasks - Total Operand.
- number
Of numberTasks Failed - The current failed Operand.
- number
Of numberTasks Succeeded - The current successful Operand.
- total
Number numberOf Tasks - Total Operand.
- number_
of_ floattasks_ failed - The current failed Operand.
- number_
of_ floattasks_ succeeded - The current successful Operand.
- total_
number_ floatof_ tasks - Total Operand.
- number
Of NumberTasks Failed - The current failed Operand.
- number
Of NumberTasks Succeeded - The current successful Operand.
- total
Number NumberOf Tasks - Total Operand.
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