tencentcloud.CosBatch
Provides a resource to create a cos bucket 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 cosBatch = new tencentcloud.CosBatch("cosBatch", {
    appid: 1308919341,
    confirmationRequired: true,
    description: "cos_batch",
    manifest: {
        location: {
            etag: "64357de8fd75a3abae2200135a2c9627",
            objectArn: "qcs::cos:ap-guangzhou:uid/1308919341:keep-test-1308919341/cos_bucket_inventory/1308919341/keep-test/test/20230621/manifest.json",
        },
        spec: {
            format: "COSInventoryReport_CSV_V1",
        },
    },
    operation: {
        cosPutObjectCopy: {
            accessControlDirective: "Copy",
            metadataDirective: "Copy",
            prefixReplace: false,
            storageClass: "STANDARD",
            taggingDirective: "Copy",
            targetResource: "qcs::cos:ap-guangzhou:uid/1308919341:cos-lock-1308919341",
        },
    },
    priority: 1,
    report: {
        bucket: "qcs::cos:ap-guangzhou:uid/1308919341:keep-test-1308919341",
        enabled: "true",
        format: "Report_CSV_V1",
        reportScope: "AllTasks",
    },
    roleArn: "qcs::cam::uin/100022975249:roleName/COSBatch_QCSRole",
    status: "Cancelled",
    uin: "100022975249",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
cos_batch = tencentcloud.CosBatch("cosBatch",
    appid=1308919341,
    confirmation_required=True,
    description="cos_batch",
    manifest={
        "location": {
            "etag": "64357de8fd75a3abae2200135a2c9627",
            "object_arn": "qcs::cos:ap-guangzhou:uid/1308919341:keep-test-1308919341/cos_bucket_inventory/1308919341/keep-test/test/20230621/manifest.json",
        },
        "spec": {
            "format": "COSInventoryReport_CSV_V1",
        },
    },
    operation={
        "cos_put_object_copy": {
            "access_control_directive": "Copy",
            "metadata_directive": "Copy",
            "prefix_replace": False,
            "storage_class": "STANDARD",
            "tagging_directive": "Copy",
            "target_resource": "qcs::cos:ap-guangzhou:uid/1308919341:cos-lock-1308919341",
        },
    },
    priority=1,
    report={
        "bucket": "qcs::cos:ap-guangzhou:uid/1308919341:keep-test-1308919341",
        "enabled": "true",
        "format": "Report_CSV_V1",
        "report_scope": "AllTasks",
    },
    role_arn="qcs::cam::uin/100022975249:roleName/COSBatch_QCSRole",
    status="Cancelled",
    uin="100022975249")
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.NewCosBatch(ctx, "cosBatch", &tencentcloud.CosBatchArgs{
			Appid:                pulumi.Float64(1308919341),
			ConfirmationRequired: pulumi.Bool(true),
			Description:          pulumi.String("cos_batch"),
			Manifest: &tencentcloud.CosBatchManifestArgs{
				Location: &tencentcloud.CosBatchManifestLocationArgs{
					Etag:      pulumi.String("64357de8fd75a3abae2200135a2c9627"),
					ObjectArn: pulumi.String("qcs::cos:ap-guangzhou:uid/1308919341:keep-test-1308919341/cos_bucket_inventory/1308919341/keep-test/test/20230621/manifest.json"),
				},
				Spec: &tencentcloud.CosBatchManifestSpecArgs{
					Format: pulumi.String("COSInventoryReport_CSV_V1"),
				},
			},
			Operation: &tencentcloud.CosBatchOperationArgs{
				CosPutObjectCopy: &tencentcloud.CosBatchOperationCosPutObjectCopyArgs{
					AccessControlDirective: pulumi.String("Copy"),
					MetadataDirective:      pulumi.String("Copy"),
					PrefixReplace:          pulumi.Bool(false),
					StorageClass:           pulumi.String("STANDARD"),
					TaggingDirective:       pulumi.String("Copy"),
					TargetResource:         pulumi.String("qcs::cos:ap-guangzhou:uid/1308919341:cos-lock-1308919341"),
				},
			},
			Priority: pulumi.Float64(1),
			Report: &tencentcloud.CosBatchReportArgs{
				Bucket:      pulumi.String("qcs::cos:ap-guangzhou:uid/1308919341:keep-test-1308919341"),
				Enabled:     pulumi.String("true"),
				Format:      pulumi.String("Report_CSV_V1"),
				ReportScope: pulumi.String("AllTasks"),
			},
			RoleArn: pulumi.String("qcs::cam::uin/100022975249:roleName/COSBatch_QCSRole"),
			Status:  pulumi.String("Cancelled"),
			Uin:     pulumi.String("100022975249"),
		})
		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 cosBatch = new Tencentcloud.CosBatch("cosBatch", new()
    {
        Appid = 1308919341,
        ConfirmationRequired = true,
        Description = "cos_batch",
        Manifest = new Tencentcloud.Inputs.CosBatchManifestArgs
        {
            Location = new Tencentcloud.Inputs.CosBatchManifestLocationArgs
            {
                Etag = "64357de8fd75a3abae2200135a2c9627",
                ObjectArn = "qcs::cos:ap-guangzhou:uid/1308919341:keep-test-1308919341/cos_bucket_inventory/1308919341/keep-test/test/20230621/manifest.json",
            },
            Spec = new Tencentcloud.Inputs.CosBatchManifestSpecArgs
            {
                Format = "COSInventoryReport_CSV_V1",
            },
        },
        Operation = new Tencentcloud.Inputs.CosBatchOperationArgs
        {
            CosPutObjectCopy = new Tencentcloud.Inputs.CosBatchOperationCosPutObjectCopyArgs
            {
                AccessControlDirective = "Copy",
                MetadataDirective = "Copy",
                PrefixReplace = false,
                StorageClass = "STANDARD",
                TaggingDirective = "Copy",
                TargetResource = "qcs::cos:ap-guangzhou:uid/1308919341:cos-lock-1308919341",
            },
        },
        Priority = 1,
        Report = new Tencentcloud.Inputs.CosBatchReportArgs
        {
            Bucket = "qcs::cos:ap-guangzhou:uid/1308919341:keep-test-1308919341",
            Enabled = "true",
            Format = "Report_CSV_V1",
            ReportScope = "AllTasks",
        },
        RoleArn = "qcs::cam::uin/100022975249:roleName/COSBatch_QCSRole",
        Status = "Cancelled",
        Uin = "100022975249",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.CosBatch;
import com.pulumi.tencentcloud.CosBatchArgs;
import com.pulumi.tencentcloud.inputs.CosBatchManifestArgs;
import com.pulumi.tencentcloud.inputs.CosBatchManifestLocationArgs;
import com.pulumi.tencentcloud.inputs.CosBatchManifestSpecArgs;
import com.pulumi.tencentcloud.inputs.CosBatchOperationArgs;
import com.pulumi.tencentcloud.inputs.CosBatchOperationCosPutObjectCopyArgs;
import com.pulumi.tencentcloud.inputs.CosBatchReportArgs;
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) {
        var cosBatch = new CosBatch("cosBatch", CosBatchArgs.builder()
            .appid("1308919341")
            .confirmationRequired(true)
            .description("cos_batch")
            .manifest(CosBatchManifestArgs.builder()
                .location(CosBatchManifestLocationArgs.builder()
                    .etag("64357de8fd75a3abae2200135a2c9627")
                    .objectArn("qcs::cos:ap-guangzhou:uid/1308919341:keep-test-1308919341/cos_bucket_inventory/1308919341/keep-test/test/20230621/manifest.json")
                    .build())
                .spec(CosBatchManifestSpecArgs.builder()
                    .format("COSInventoryReport_CSV_V1")
                    .build())
                .build())
            .operation(CosBatchOperationArgs.builder()
                .cosPutObjectCopy(CosBatchOperationCosPutObjectCopyArgs.builder()
                    .accessControlDirective("Copy")
                    .metadataDirective("Copy")
                    .prefixReplace(false)
                    .storageClass("STANDARD")
                    .taggingDirective("Copy")
                    .targetResource("qcs::cos:ap-guangzhou:uid/1308919341:cos-lock-1308919341")
                    .build())
                .build())
            .priority(1)
            .report(CosBatchReportArgs.builder()
                .bucket("qcs::cos:ap-guangzhou:uid/1308919341:keep-test-1308919341")
                .enabled("true")
                .format("Report_CSV_V1")
                .reportScope("AllTasks")
                .build())
            .roleArn("qcs::cam::uin/100022975249:roleName/COSBatch_QCSRole")
            .status("Cancelled")
            .uin("100022975249")
            .build());
    }
}
resources:
  cosBatch:
    type: tencentcloud:CosBatch
    properties:
      appid: '1308919341'
      confirmationRequired: true
      description: cos_batch
      manifest:
        location:
          etag: 64357de8fd75a3abae2200135a2c9627
          objectArn: qcs::cos:ap-guangzhou:uid/1308919341:keep-test-1308919341/cos_bucket_inventory/1308919341/keep-test/test/20230621/manifest.json
        spec:
          format: COSInventoryReport_CSV_V1
      operation:
        cosPutObjectCopy:
          accessControlDirective: Copy
          metadataDirective: Copy
          prefixReplace: false
          storageClass: STANDARD
          taggingDirective: Copy
          targetResource: qcs::cos:ap-guangzhou:uid/1308919341:cos-lock-1308919341
      priority: 1
      report:
        bucket: qcs::cos:ap-guangzhou:uid/1308919341:keep-test-1308919341
        enabled: 'true'
        format: Report_CSV_V1
        reportScope: AllTasks
      roleArn: qcs::cam::uin/100022975249:roleName/COSBatch_QCSRole
      status: Cancelled
      uin: '100022975249'
Create CosBatch Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CosBatch(name: string, args: CosBatchArgs, opts?: CustomResourceOptions);@overload
def CosBatch(resource_name: str,
             args: CosBatchArgs,
             opts: Optional[ResourceOptions] = None)
@overload
def CosBatch(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             appid: Optional[float] = None,
             manifest: Optional[CosBatchManifestArgs] = None,
             operation: Optional[CosBatchOperationArgs] = None,
             priority: Optional[float] = None,
             report: Optional[CosBatchReportArgs] = None,
             role_arn: Optional[str] = None,
             uin: Optional[str] = None,
             confirmation_required: Optional[bool] = None,
             cos_batch_id: Optional[str] = None,
             description: Optional[str] = None,
             status: Optional[str] = None)func NewCosBatch(ctx *Context, name string, args CosBatchArgs, opts ...ResourceOption) (*CosBatch, error)public CosBatch(string name, CosBatchArgs args, CustomResourceOptions? opts = null)
public CosBatch(String name, CosBatchArgs args)
public CosBatch(String name, CosBatchArgs args, CustomResourceOptions options)
type: tencentcloud:CosBatch
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CosBatchArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CosBatchArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CosBatchArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CosBatchArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CosBatchArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CosBatch Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CosBatch resource accepts the following input properties:
- Appid double
- Appid.
- Manifest
CosBatch Manifest 
- List of objects to be processed.
- Operation
CosBatch Operation 
- Select the action to be performed on the objects in the manifest file.
- Priority double
- Mission priority. The higher the value, the higher the priority of the task. Priority values range from 0 to 2147483647.
- Report
CosBatch Report 
- Task completion report.
- RoleArn string
- COS resource identifier, which is used to identify the role you created. You need this resource identifier to verify your identity.
- Uin string
- Uin.
- ConfirmationRequired bool
- Whether to confirm before performing the task. The default is false.
- CosBatch stringId 
- ID of the resource.
- Description string
- Mission description. If you configured this information when you created the task, the content is returned. The description length ranges from 0 to 256 bytes.
- Status string
- Current status of the task. Legal parameter values include Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended. For Update status, when you move a task to the Ready state, COS will assume that you have confirmed the task and will perform it. When you move a task to the Cancelled state, COS cancels the task. Optional parameters include: Ready, Cancelled.
- Appid float64
- Appid.
- Manifest
CosBatch Manifest Args 
- List of objects to be processed.
- Operation
CosBatch Operation Args 
- Select the action to be performed on the objects in the manifest file.
- Priority float64
- Mission priority. The higher the value, the higher the priority of the task. Priority values range from 0 to 2147483647.
- Report
CosBatch Report Args 
- Task completion report.
- RoleArn string
- COS resource identifier, which is used to identify the role you created. You need this resource identifier to verify your identity.
- Uin string
- Uin.
- ConfirmationRequired bool
- Whether to confirm before performing the task. The default is false.
- CosBatch stringId 
- ID of the resource.
- Description string
- Mission description. If you configured this information when you created the task, the content is returned. The description length ranges from 0 to 256 bytes.
- Status string
- Current status of the task. Legal parameter values include Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended. For Update status, when you move a task to the Ready state, COS will assume that you have confirmed the task and will perform it. When you move a task to the Cancelled state, COS cancels the task. Optional parameters include: Ready, Cancelled.
- appid Double
- Appid.
- manifest
CosBatch Manifest 
- List of objects to be processed.
- operation
CosBatch Operation 
- Select the action to be performed on the objects in the manifest file.
- priority Double
- Mission priority. The higher the value, the higher the priority of the task. Priority values range from 0 to 2147483647.
- report
CosBatch Report 
- Task completion report.
- roleArn String
- COS resource identifier, which is used to identify the role you created. You need this resource identifier to verify your identity.
- uin String
- Uin.
- confirmationRequired Boolean
- Whether to confirm before performing the task. The default is false.
- cosBatch StringId 
- ID of the resource.
- description String
- Mission description. If you configured this information when you created the task, the content is returned. The description length ranges from 0 to 256 bytes.
- status String
- Current status of the task. Legal parameter values include Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended. For Update status, when you move a task to the Ready state, COS will assume that you have confirmed the task and will perform it. When you move a task to the Cancelled state, COS cancels the task. Optional parameters include: Ready, Cancelled.
- appid number
- Appid.
- manifest
CosBatch Manifest 
- List of objects to be processed.
- operation
CosBatch Operation 
- Select the action to be performed on the objects in the manifest file.
- priority number
- Mission priority. The higher the value, the higher the priority of the task. Priority values range from 0 to 2147483647.
- report
CosBatch Report 
- Task completion report.
- roleArn string
- COS resource identifier, which is used to identify the role you created. You need this resource identifier to verify your identity.
- uin string
- Uin.
- confirmationRequired boolean
- Whether to confirm before performing the task. The default is false.
- cosBatch stringId 
- ID of the resource.
- description string
- Mission description. If you configured this information when you created the task, the content is returned. The description length ranges from 0 to 256 bytes.
- status string
- Current status of the task. Legal parameter values include Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended. For Update status, when you move a task to the Ready state, COS will assume that you have confirmed the task and will perform it. When you move a task to the Cancelled state, COS cancels the task. Optional parameters include: Ready, Cancelled.
- appid float
- Appid.
- manifest
CosBatch Manifest Args 
- List of objects to be processed.
- operation
CosBatch Operation Args 
- Select the action to be performed on the objects in the manifest file.
- priority float
- Mission priority. The higher the value, the higher the priority of the task. Priority values range from 0 to 2147483647.
- report
CosBatch Report Args 
- Task completion report.
- role_arn str
- COS resource identifier, which is used to identify the role you created. You need this resource identifier to verify your identity.
- uin str
- Uin.
- confirmation_required bool
- Whether to confirm before performing the task. The default is false.
- cos_batch_ strid 
- ID of the resource.
- description str
- Mission description. If you configured this information when you created the task, the content is returned. The description length ranges from 0 to 256 bytes.
- status str
- Current status of the task. Legal parameter values include Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended. For Update status, when you move a task to the Ready state, COS will assume that you have confirmed the task and will perform it. When you move a task to the Cancelled state, COS cancels the task. Optional parameters include: Ready, Cancelled.
- appid Number
- Appid.
- manifest Property Map
- List of objects to be processed.
- operation Property Map
- Select the action to be performed on the objects in the manifest file.
- priority Number
- Mission priority. The higher the value, the higher the priority of the task. Priority values range from 0 to 2147483647.
- report Property Map
- Task completion report.
- roleArn String
- COS resource identifier, which is used to identify the role you created. You need this resource identifier to verify your identity.
- uin String
- Uin.
- confirmationRequired Boolean
- Whether to confirm before performing the task. The default is false.
- cosBatch StringId 
- ID of the resource.
- description String
- Mission description. If you configured this information when you created the task, the content is returned. The description length ranges from 0 to 256 bytes.
- status String
- Current status of the task. Legal parameter values include Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended. For Update status, when you move a task to the Ready state, COS will assume that you have confirmed the task and will perform it. When you move a task to the Cancelled state, COS cancels the task. Optional parameters include: Ready, Cancelled.
Outputs
All input properties are implicitly available as output properties. Additionally, the CosBatch resource produces the following output properties:
Look up Existing CosBatch Resource
Get an existing CosBatch resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CosBatchState, opts?: CustomResourceOptions): CosBatch@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        appid: Optional[float] = None,
        confirmation_required: Optional[bool] = None,
        cos_batch_id: Optional[str] = None,
        description: Optional[str] = None,
        job_id: Optional[str] = None,
        manifest: Optional[CosBatchManifestArgs] = None,
        operation: Optional[CosBatchOperationArgs] = None,
        priority: Optional[float] = None,
        report: Optional[CosBatchReportArgs] = None,
        role_arn: Optional[str] = None,
        status: Optional[str] = None,
        uin: Optional[str] = None) -> CosBatchfunc GetCosBatch(ctx *Context, name string, id IDInput, state *CosBatchState, opts ...ResourceOption) (*CosBatch, error)public static CosBatch Get(string name, Input<string> id, CosBatchState? state, CustomResourceOptions? opts = null)public static CosBatch get(String name, Output<String> id, CosBatchState state, CustomResourceOptions options)resources:  _:    type: tencentcloud:CosBatch    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Appid double
- Appid.
- ConfirmationRequired bool
- Whether to confirm before performing the task. The default is false.
- CosBatch stringId 
- ID of the resource.
- Description string
- Mission description. If you configured this information when you created the task, the content is returned. The description length ranges from 0 to 256 bytes.
- JobId string
- Job id.
- Manifest
CosBatch Manifest 
- List of objects to be processed.
- Operation
CosBatch Operation 
- Select the action to be performed on the objects in the manifest file.
- Priority double
- Mission priority. The higher the value, the higher the priority of the task. Priority values range from 0 to 2147483647.
- Report
CosBatch Report 
- Task completion report.
- RoleArn string
- COS resource identifier, which is used to identify the role you created. You need this resource identifier to verify your identity.
- Status string
- Current status of the task. Legal parameter values include Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended. For Update status, when you move a task to the Ready state, COS will assume that you have confirmed the task and will perform it. When you move a task to the Cancelled state, COS cancels the task. Optional parameters include: Ready, Cancelled.
- Uin string
- Uin.
- Appid float64
- Appid.
- ConfirmationRequired bool
- Whether to confirm before performing the task. The default is false.
- CosBatch stringId 
- ID of the resource.
- Description string
- Mission description. If you configured this information when you created the task, the content is returned. The description length ranges from 0 to 256 bytes.
- JobId string
- Job id.
- Manifest
CosBatch Manifest Args 
- List of objects to be processed.
- Operation
CosBatch Operation Args 
- Select the action to be performed on the objects in the manifest file.
- Priority float64
- Mission priority. The higher the value, the higher the priority of the task. Priority values range from 0 to 2147483647.
- Report
CosBatch Report Args 
- Task completion report.
- RoleArn string
- COS resource identifier, which is used to identify the role you created. You need this resource identifier to verify your identity.
- Status string
- Current status of the task. Legal parameter values include Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended. For Update status, when you move a task to the Ready state, COS will assume that you have confirmed the task and will perform it. When you move a task to the Cancelled state, COS cancels the task. Optional parameters include: Ready, Cancelled.
- Uin string
- Uin.
- appid Double
- Appid.
- confirmationRequired Boolean
- Whether to confirm before performing the task. The default is false.
- cosBatch StringId 
- ID of the resource.
- description String
- Mission description. If you configured this information when you created the task, the content is returned. The description length ranges from 0 to 256 bytes.
- jobId String
- Job id.
- manifest
CosBatch Manifest 
- List of objects to be processed.
- operation
CosBatch Operation 
- Select the action to be performed on the objects in the manifest file.
- priority Double
- Mission priority. The higher the value, the higher the priority of the task. Priority values range from 0 to 2147483647.
- report
CosBatch Report 
- Task completion report.
- roleArn String
- COS resource identifier, which is used to identify the role you created. You need this resource identifier to verify your identity.
- status String
- Current status of the task. Legal parameter values include Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended. For Update status, when you move a task to the Ready state, COS will assume that you have confirmed the task and will perform it. When you move a task to the Cancelled state, COS cancels the task. Optional parameters include: Ready, Cancelled.
- uin String
- Uin.
- appid number
- Appid.
- confirmationRequired boolean
- Whether to confirm before performing the task. The default is false.
- cosBatch stringId 
- ID of the resource.
- description string
- Mission description. If you configured this information when you created the task, the content is returned. The description length ranges from 0 to 256 bytes.
- jobId string
- Job id.
- manifest
CosBatch Manifest 
- List of objects to be processed.
- operation
CosBatch Operation 
- Select the action to be performed on the objects in the manifest file.
- priority number
- Mission priority. The higher the value, the higher the priority of the task. Priority values range from 0 to 2147483647.
- report
CosBatch Report 
- Task completion report.
- roleArn string
- COS resource identifier, which is used to identify the role you created. You need this resource identifier to verify your identity.
- status string
- Current status of the task. Legal parameter values include Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended. For Update status, when you move a task to the Ready state, COS will assume that you have confirmed the task and will perform it. When you move a task to the Cancelled state, COS cancels the task. Optional parameters include: Ready, Cancelled.
- uin string
- Uin.
- appid float
- Appid.
- confirmation_required bool
- Whether to confirm before performing the task. The default is false.
- cos_batch_ strid 
- ID of the resource.
- description str
- Mission description. If you configured this information when you created the task, the content is returned. The description length ranges from 0 to 256 bytes.
- job_id str
- Job id.
- manifest
CosBatch Manifest Args 
- List of objects to be processed.
- operation
CosBatch Operation Args 
- Select the action to be performed on the objects in the manifest file.
- priority float
- Mission priority. The higher the value, the higher the priority of the task. Priority values range from 0 to 2147483647.
- report
CosBatch Report Args 
- Task completion report.
- role_arn str
- COS resource identifier, which is used to identify the role you created. You need this resource identifier to verify your identity.
- status str
- Current status of the task. Legal parameter values include Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended. For Update status, when you move a task to the Ready state, COS will assume that you have confirmed the task and will perform it. When you move a task to the Cancelled state, COS cancels the task. Optional parameters include: Ready, Cancelled.
- uin str
- Uin.
- appid Number
- Appid.
- confirmationRequired Boolean
- Whether to confirm before performing the task. The default is false.
- cosBatch StringId 
- ID of the resource.
- description String
- Mission description. If you configured this information when you created the task, the content is returned. The description length ranges from 0 to 256 bytes.
- jobId String
- Job id.
- manifest Property Map
- List of objects to be processed.
- operation Property Map
- Select the action to be performed on the objects in the manifest file.
- priority Number
- Mission priority. The higher the value, the higher the priority of the task. Priority values range from 0 to 2147483647.
- report Property Map
- Task completion report.
- roleArn String
- COS resource identifier, which is used to identify the role you created. You need this resource identifier to verify your identity.
- status String
- Current status of the task. Legal parameter values include Active, Cancelled, Cancelling, Complete, Completing, Failed, Failing, New, Paused, Pausing, Preparing, Ready, Suspended. For Update status, when you move a task to the Ready state, COS will assume that you have confirmed the task and will perform it. When you move a task to the Cancelled state, COS cancels the task. Optional parameters include: Ready, Cancelled.
- uin String
- Uin.
Supporting Types
CosBatchManifest, CosBatchManifestArgs      
- Location
CosBatch Manifest Location 
- The location information of the list of objects.
- Spec
CosBatch Manifest Spec 
- Format information that describes the list of objects. If it is a CSV file, this element describes the fields contained in the manifest.
- Location
CosBatch Manifest Location 
- The location information of the list of objects.
- Spec
CosBatch Manifest Spec 
- Format information that describes the list of objects. If it is a CSV file, this element describes the fields contained in the manifest.
- location
CosBatch Manifest Location 
- The location information of the list of objects.
- spec
CosBatch Manifest Spec 
- Format information that describes the list of objects. If it is a CSV file, this element describes the fields contained in the manifest.
- location
CosBatch Manifest Location 
- The location information of the list of objects.
- spec
CosBatch Manifest Spec 
- Format information that describes the list of objects. If it is a CSV file, this element describes the fields contained in the manifest.
- location
CosBatch Manifest Location 
- The location information of the list of objects.
- spec
CosBatch Manifest Spec 
- Format information that describes the list of objects. If it is a CSV file, this element describes the fields contained in the manifest.
- location Property Map
- The location information of the list of objects.
- spec Property Map
- Format information that describes the list of objects. If it is a CSV file, this element describes the fields contained in the manifest.
CosBatchManifestLocation, CosBatchManifestLocationArgs        
- Etag string
- Specifies the etag of the object list. Length 1-1024 bytes.
- ObjectArn string
- Specifies the unique resource identifier of the object manifest, which is 1-1024 bytes long.
- ObjectVersion stringId 
- Specifies the version of the object manifest ID, which is 1-1024 bytes long.
- Etag string
- Specifies the etag of the object list. Length 1-1024 bytes.
- ObjectArn string
- Specifies the unique resource identifier of the object manifest, which is 1-1024 bytes long.
- ObjectVersion stringId 
- Specifies the version of the object manifest ID, which is 1-1024 bytes long.
- etag String
- Specifies the etag of the object list. Length 1-1024 bytes.
- objectArn String
- Specifies the unique resource identifier of the object manifest, which is 1-1024 bytes long.
- objectVersion StringId 
- Specifies the version of the object manifest ID, which is 1-1024 bytes long.
- etag string
- Specifies the etag of the object list. Length 1-1024 bytes.
- objectArn string
- Specifies the unique resource identifier of the object manifest, which is 1-1024 bytes long.
- objectVersion stringId 
- Specifies the version of the object manifest ID, which is 1-1024 bytes long.
- etag str
- Specifies the etag of the object list. Length 1-1024 bytes.
- object_arn str
- Specifies the unique resource identifier of the object manifest, which is 1-1024 bytes long.
- object_version_ strid 
- Specifies the version of the object manifest ID, which is 1-1024 bytes long.
- etag String
- Specifies the etag of the object list. Length 1-1024 bytes.
- objectArn String
- Specifies the unique resource identifier of the object manifest, which is 1-1024 bytes long.
- objectVersion StringId 
- Specifies the version of the object manifest ID, which is 1-1024 bytes long.
CosBatchManifestSpec, CosBatchManifestSpecArgs        
- Format string
- Specifies the format information for the list of objects. Legal fields are: COSBatchOperations_CSV_V1, COSInventoryReport_CSV_V1.
- Fields List<string>
- Describes the fields contained in the listing, which you need to use to specify CSV file fields when Format is COSBatchOperations_CSV_V1. Legal fields are: Ignore, Bucket, Key, VersionId.
- Format string
- Specifies the format information for the list of objects. Legal fields are: COSBatchOperations_CSV_V1, COSInventoryReport_CSV_V1.
- Fields []string
- Describes the fields contained in the listing, which you need to use to specify CSV file fields when Format is COSBatchOperations_CSV_V1. Legal fields are: Ignore, Bucket, Key, VersionId.
- format String
- Specifies the format information for the list of objects. Legal fields are: COSBatchOperations_CSV_V1, COSInventoryReport_CSV_V1.
- fields List<String>
- Describes the fields contained in the listing, which you need to use to specify CSV file fields when Format is COSBatchOperations_CSV_V1. Legal fields are: Ignore, Bucket, Key, VersionId.
- format string
- Specifies the format information for the list of objects. Legal fields are: COSBatchOperations_CSV_V1, COSInventoryReport_CSV_V1.
- fields string[]
- Describes the fields contained in the listing, which you need to use to specify CSV file fields when Format is COSBatchOperations_CSV_V1. Legal fields are: Ignore, Bucket, Key, VersionId.
- format str
- Specifies the format information for the list of objects. Legal fields are: COSBatchOperations_CSV_V1, COSInventoryReport_CSV_V1.
- fields Sequence[str]
- Describes the fields contained in the listing, which you need to use to specify CSV file fields when Format is COSBatchOperations_CSV_V1. Legal fields are: Ignore, Bucket, Key, VersionId.
- format String
- Specifies the format information for the list of objects. Legal fields are: COSBatchOperations_CSV_V1, COSInventoryReport_CSV_V1.
- fields List<String>
- Describes the fields contained in the listing, which you need to use to specify CSV file fields when Format is COSBatchOperations_CSV_V1. Legal fields are: Ignore, Bucket, Key, VersionId.
CosBatchOperation, CosBatchOperationArgs      
- CosInitiate CosRestore Object Batch Operation Cos Initiate Restore Object 
- Specifies the specific parameters for the batch restore operation for archive storage type objects in the inventory.
- CosPut CosObject Copy Batch Operation Cos Put Object Copy 
- Specifies the specific parameters for the batch copy operation on the objects in the list.
- CosInitiate CosRestore Object Batch Operation Cos Initiate Restore Object 
- Specifies the specific parameters for the batch restore operation for archive storage type objects in the inventory.
- CosPut CosObject Copy Batch Operation Cos Put Object Copy 
- Specifies the specific parameters for the batch copy operation on the objects in the list.
- cosInitiate CosRestore Object Batch Operation Cos Initiate Restore Object 
- Specifies the specific parameters for the batch restore operation for archive storage type objects in the inventory.
- cosPut CosObject Copy Batch Operation Cos Put Object Copy 
- Specifies the specific parameters for the batch copy operation on the objects in the list.
- cosInitiate CosRestore Object Batch Operation Cos Initiate Restore Object 
- Specifies the specific parameters for the batch restore operation for archive storage type objects in the inventory.
- cosPut CosObject Copy Batch Operation Cos Put Object Copy 
- Specifies the specific parameters for the batch copy operation on the objects in the list.
- cos_initiate_ Cosrestore_ object Batch Operation Cos Initiate Restore Object 
- Specifies the specific parameters for the batch restore operation for archive storage type objects in the inventory.
- cos_put_ Cosobject_ copy Batch Operation Cos Put Object Copy 
- Specifies the specific parameters for the batch copy operation on the objects in the list.
- cosInitiate Property MapRestore Object 
- Specifies the specific parameters for the batch restore operation for archive storage type objects in the inventory.
- cosPut Property MapObject Copy 
- Specifies the specific parameters for the batch copy operation on the objects in the list.
CosBatchOperationCosInitiateRestoreObject, CosBatchOperationCosInitiateRestoreObjectArgs              
- ExpirationIn doubleDays 
- Sets the number of days after which the copy will be automatically expired and deleted, an integer in the range of 1-365.
- JobTier string
- Select archive recovery model. Available values: Bulk, Standard.
- ExpirationIn float64Days 
- Sets the number of days after which the copy will be automatically expired and deleted, an integer in the range of 1-365.
- JobTier string
- Select archive recovery model. Available values: Bulk, Standard.
- expirationIn DoubleDays 
- Sets the number of days after which the copy will be automatically expired and deleted, an integer in the range of 1-365.
- jobTier String
- Select archive recovery model. Available values: Bulk, Standard.
- expirationIn numberDays 
- Sets the number of days after which the copy will be automatically expired and deleted, an integer in the range of 1-365.
- jobTier string
- Select archive recovery model. Available values: Bulk, Standard.
- expiration_in_ floatdays 
- Sets the number of days after which the copy will be automatically expired and deleted, an integer in the range of 1-365.
- job_tier str
- Select archive recovery model. Available values: Bulk, Standard.
- expirationIn NumberDays 
- Sets the number of days after which the copy will be automatically expired and deleted, an integer in the range of 1-365.
- jobTier String
- Select archive recovery model. Available values: Bulk, Standard.
CosBatchOperationCosPutObjectCopy, CosBatchOperationCosPutObjectCopyArgs              
- TargetResource string
- Sets the target bucket for the Copy. Use qcs to specify, for example, qcs::cos:ap-chengdu:uid/1250000000:examplebucket-1250000000.
- AccessControl stringDirective 
- This element specifies how ACL is copied. Valid values:- Copy: inherits the source object ACL
- Replaced: replace source ACL
- Add: add a new ACL based on the source ACL.
 
- AccessControl CosGrants Batch Operation Cos Put Object Copy Access Control Grants 
- Controls the specific access to the object.
- CannedAccess stringControl List 
- Defines the ACL property of the object. Valid values: private, public-read.
- MetadataDirective string
- This element specifies whether to copy object metadata from the source object or replace it with metadata in the < NewObjectMetadata > element. Valid values are: Copy, Replaced, Add. Copy: inherit source object metadata; Replaced: replace source metadata; Add: add new metadata based on source metadata.
- ModifiedSince doubleConstraint 
- When the object is modified after the specified time, the operation is performed, otherwise 412 is returned.
- NewObject CosMetadata Batch Operation Cos Put Object Copy New Object Metadata 
- Configure the metadata for the object.
- NewObject List<CosTaggings Batch Operation Cos Put Object Copy New Object Tagging> 
- The label of the configuration object, which must be specified when the < TaggingDirective > value is Replace or Add.
- PrefixReplace bool
- Specifies whether the prefix of the source object needs to be replaced. A value of true indicates the replacement object prefix, which needs to be used with and . Default value: false.
- ResourcesPrefix string
- This field is valid only when the < PrefixReplace > value is true. Specify the source object prefix to be replaced, and the replacement directory should end with /. Can be empty with a maximum length of 1024 bytes.
- StorageClass string
- Sets the storage level of the object. Enumerated value: STANDARD,STANDARD_IA. Default value: STANDARD.
- TaggingDirective string
- This element specifies whether to copy the object tag from the source object or replace it with the tag in the < NewObjectTagging > element. Valid values are: Copy, Replaced, Add. Copy: inherits the source object tag; Replaced: replaces the source tag; Add: adds a new tag based on the source tag.
- TargetKey stringPrefix 
- This field is valid only when the value is true. This value represents the replaced prefix, and the replacement directory should end with /. Can be empty with a maximum length of 1024 bytes.
- UnmodifiedSince doubleConstraint 
- When the object has not been modified after the specified time, the operation is performed, otherwise 412 is returned.
- TargetResource string
- Sets the target bucket for the Copy. Use qcs to specify, for example, qcs::cos:ap-chengdu:uid/1250000000:examplebucket-1250000000.
- AccessControl stringDirective 
- This element specifies how ACL is copied. Valid values:- Copy: inherits the source object ACL
- Replaced: replace source ACL
- Add: add a new ACL based on the source ACL.
 
- AccessControl CosGrants Batch Operation Cos Put Object Copy Access Control Grants 
- Controls the specific access to the object.
- CannedAccess stringControl List 
- Defines the ACL property of the object. Valid values: private, public-read.
- MetadataDirective string
- This element specifies whether to copy object metadata from the source object or replace it with metadata in the < NewObjectMetadata > element. Valid values are: Copy, Replaced, Add. Copy: inherit source object metadata; Replaced: replace source metadata; Add: add new metadata based on source metadata.
- ModifiedSince float64Constraint 
- When the object is modified after the specified time, the operation is performed, otherwise 412 is returned.
- NewObject CosMetadata Batch Operation Cos Put Object Copy New Object Metadata 
- Configure the metadata for the object.
- NewObject []CosTaggings Batch Operation Cos Put Object Copy New Object Tagging 
- The label of the configuration object, which must be specified when the < TaggingDirective > value is Replace or Add.
- PrefixReplace bool
- Specifies whether the prefix of the source object needs to be replaced. A value of true indicates the replacement object prefix, which needs to be used with and . Default value: false.
- ResourcesPrefix string
- This field is valid only when the < PrefixReplace > value is true. Specify the source object prefix to be replaced, and the replacement directory should end with /. Can be empty with a maximum length of 1024 bytes.
- StorageClass string
- Sets the storage level of the object. Enumerated value: STANDARD,STANDARD_IA. Default value: STANDARD.
- TaggingDirective string
- This element specifies whether to copy the object tag from the source object or replace it with the tag in the < NewObjectTagging > element. Valid values are: Copy, Replaced, Add. Copy: inherits the source object tag; Replaced: replaces the source tag; Add: adds a new tag based on the source tag.
- TargetKey stringPrefix 
- This field is valid only when the value is true. This value represents the replaced prefix, and the replacement directory should end with /. Can be empty with a maximum length of 1024 bytes.
- UnmodifiedSince float64Constraint 
- When the object has not been modified after the specified time, the operation is performed, otherwise 412 is returned.
- targetResource String
- Sets the target bucket for the Copy. Use qcs to specify, for example, qcs::cos:ap-chengdu:uid/1250000000:examplebucket-1250000000.
- accessControl StringDirective 
- This element specifies how ACL is copied. Valid values:- Copy: inherits the source object ACL
- Replaced: replace source ACL
- Add: add a new ACL based on the source ACL.
 
- accessControl CosGrants Batch Operation Cos Put Object Copy Access Control Grants 
- Controls the specific access to the object.
- cannedAccess StringControl List 
- Defines the ACL property of the object. Valid values: private, public-read.
- metadataDirective String
- This element specifies whether to copy object metadata from the source object or replace it with metadata in the < NewObjectMetadata > element. Valid values are: Copy, Replaced, Add. Copy: inherit source object metadata; Replaced: replace source metadata; Add: add new metadata based on source metadata.
- modifiedSince DoubleConstraint 
- When the object is modified after the specified time, the operation is performed, otherwise 412 is returned.
- newObject CosMetadata Batch Operation Cos Put Object Copy New Object Metadata 
- Configure the metadata for the object.
- newObject List<CosTaggings Batch Operation Cos Put Object Copy New Object Tagging> 
- The label of the configuration object, which must be specified when the < TaggingDirective > value is Replace or Add.
- prefixReplace Boolean
- Specifies whether the prefix of the source object needs to be replaced. A value of true indicates the replacement object prefix, which needs to be used with and . Default value: false.
- resourcesPrefix String
- This field is valid only when the < PrefixReplace > value is true. Specify the source object prefix to be replaced, and the replacement directory should end with /. Can be empty with a maximum length of 1024 bytes.
- storageClass String
- Sets the storage level of the object. Enumerated value: STANDARD,STANDARD_IA. Default value: STANDARD.
- taggingDirective String
- This element specifies whether to copy the object tag from the source object or replace it with the tag in the < NewObjectTagging > element. Valid values are: Copy, Replaced, Add. Copy: inherits the source object tag; Replaced: replaces the source tag; Add: adds a new tag based on the source tag.
- targetKey StringPrefix 
- This field is valid only when the value is true. This value represents the replaced prefix, and the replacement directory should end with /. Can be empty with a maximum length of 1024 bytes.
- unmodifiedSince DoubleConstraint 
- When the object has not been modified after the specified time, the operation is performed, otherwise 412 is returned.
- targetResource string
- Sets the target bucket for the Copy. Use qcs to specify, for example, qcs::cos:ap-chengdu:uid/1250000000:examplebucket-1250000000.
- accessControl stringDirective 
- This element specifies how ACL is copied. Valid values:- Copy: inherits the source object ACL
- Replaced: replace source ACL
- Add: add a new ACL based on the source ACL.
 
- accessControl CosGrants Batch Operation Cos Put Object Copy Access Control Grants 
- Controls the specific access to the object.
- cannedAccess stringControl List 
- Defines the ACL property of the object. Valid values: private, public-read.
- metadataDirective string
- This element specifies whether to copy object metadata from the source object or replace it with metadata in the < NewObjectMetadata > element. Valid values are: Copy, Replaced, Add. Copy: inherit source object metadata; Replaced: replace source metadata; Add: add new metadata based on source metadata.
- modifiedSince numberConstraint 
- When the object is modified after the specified time, the operation is performed, otherwise 412 is returned.
- newObject CosMetadata Batch Operation Cos Put Object Copy New Object Metadata 
- Configure the metadata for the object.
- newObject CosTaggings Batch Operation Cos Put Object Copy New Object Tagging[] 
- The label of the configuration object, which must be specified when the < TaggingDirective > value is Replace or Add.
- prefixReplace boolean
- Specifies whether the prefix of the source object needs to be replaced. A value of true indicates the replacement object prefix, which needs to be used with and . Default value: false.
- resourcesPrefix string
- This field is valid only when the < PrefixReplace > value is true. Specify the source object prefix to be replaced, and the replacement directory should end with /. Can be empty with a maximum length of 1024 bytes.
- storageClass string
- Sets the storage level of the object. Enumerated value: STANDARD,STANDARD_IA. Default value: STANDARD.
- taggingDirective string
- This element specifies whether to copy the object tag from the source object or replace it with the tag in the < NewObjectTagging > element. Valid values are: Copy, Replaced, Add. Copy: inherits the source object tag; Replaced: replaces the source tag; Add: adds a new tag based on the source tag.
- targetKey stringPrefix 
- This field is valid only when the value is true. This value represents the replaced prefix, and the replacement directory should end with /. Can be empty with a maximum length of 1024 bytes.
- unmodifiedSince numberConstraint 
- When the object has not been modified after the specified time, the operation is performed, otherwise 412 is returned.
- target_resource str
- Sets the target bucket for the Copy. Use qcs to specify, for example, qcs::cos:ap-chengdu:uid/1250000000:examplebucket-1250000000.
- access_control_ strdirective 
- This element specifies how ACL is copied. Valid values:- Copy: inherits the source object ACL
- Replaced: replace source ACL
- Add: add a new ACL based on the source ACL.
 
- access_control_ Cosgrants Batch Operation Cos Put Object Copy Access Control Grants 
- Controls the specific access to the object.
- canned_access_ strcontrol_ list 
- Defines the ACL property of the object. Valid values: private, public-read.
- metadata_directive str
- This element specifies whether to copy object metadata from the source object or replace it with metadata in the < NewObjectMetadata > element. Valid values are: Copy, Replaced, Add. Copy: inherit source object metadata; Replaced: replace source metadata; Add: add new metadata based on source metadata.
- modified_since_ floatconstraint 
- When the object is modified after the specified time, the operation is performed, otherwise 412 is returned.
- new_object_ Cosmetadata Batch Operation Cos Put Object Copy New Object Metadata 
- Configure the metadata for the object.
- new_object_ Sequence[Costaggings Batch Operation Cos Put Object Copy New Object Tagging] 
- The label of the configuration object, which must be specified when the < TaggingDirective > value is Replace or Add.
- prefix_replace bool
- Specifies whether the prefix of the source object needs to be replaced. A value of true indicates the replacement object prefix, which needs to be used with and . Default value: false.
- resources_prefix str
- This field is valid only when the < PrefixReplace > value is true. Specify the source object prefix to be replaced, and the replacement directory should end with /. Can be empty with a maximum length of 1024 bytes.
- storage_class str
- Sets the storage level of the object. Enumerated value: STANDARD,STANDARD_IA. Default value: STANDARD.
- tagging_directive str
- This element specifies whether to copy the object tag from the source object or replace it with the tag in the < NewObjectTagging > element. Valid values are: Copy, Replaced, Add. Copy: inherits the source object tag; Replaced: replaces the source tag; Add: adds a new tag based on the source tag.
- target_key_ strprefix 
- This field is valid only when the value is true. This value represents the replaced prefix, and the replacement directory should end with /. Can be empty with a maximum length of 1024 bytes.
- unmodified_since_ floatconstraint 
- When the object has not been modified after the specified time, the operation is performed, otherwise 412 is returned.
- targetResource String
- Sets the target bucket for the Copy. Use qcs to specify, for example, qcs::cos:ap-chengdu:uid/1250000000:examplebucket-1250000000.
- accessControl StringDirective 
- This element specifies how ACL is copied. Valid values:- Copy: inherits the source object ACL
- Replaced: replace source ACL
- Add: add a new ACL based on the source ACL.
 
- accessControl Property MapGrants 
- Controls the specific access to the object.
- cannedAccess StringControl List 
- Defines the ACL property of the object. Valid values: private, public-read.
- metadataDirective String
- This element specifies whether to copy object metadata from the source object or replace it with metadata in the < NewObjectMetadata > element. Valid values are: Copy, Replaced, Add. Copy: inherit source object metadata; Replaced: replace source metadata; Add: add new metadata based on source metadata.
- modifiedSince NumberConstraint 
- When the object is modified after the specified time, the operation is performed, otherwise 412 is returned.
- newObject Property MapMetadata 
- Configure the metadata for the object.
- newObject List<Property Map>Taggings 
- The label of the configuration object, which must be specified when the < TaggingDirective > value is Replace or Add.
- prefixReplace Boolean
- Specifies whether the prefix of the source object needs to be replaced. A value of true indicates the replacement object prefix, which needs to be used with and . Default value: false.
- resourcesPrefix String
- This field is valid only when the < PrefixReplace > value is true. Specify the source object prefix to be replaced, and the replacement directory should end with /. Can be empty with a maximum length of 1024 bytes.
- storageClass String
- Sets the storage level of the object. Enumerated value: STANDARD,STANDARD_IA. Default value: STANDARD.
- taggingDirective String
- This element specifies whether to copy the object tag from the source object or replace it with the tag in the < NewObjectTagging > element. Valid values are: Copy, Replaced, Add. Copy: inherits the source object tag; Replaced: replaces the source tag; Add: adds a new tag based on the source tag.
- targetKey StringPrefix 
- This field is valid only when the value is true. This value represents the replaced prefix, and the replacement directory should end with /. Can be empty with a maximum length of 1024 bytes.
- unmodifiedSince NumberConstraint 
- When the object has not been modified after the specified time, the operation is performed, otherwise 412 is returned.
CosBatchOperationCosPutObjectCopyAccessControlGrants, CosBatchOperationCosPutObjectCopyAccessControlGrantsArgs                    
- Identifier string
- User ID (UIN) in qcs format. For example: qcs::cam::uin/100000000001:uin/100000000001.
- Permission string
- Specify a permission to be granted. Enumerated value: READ,WRITE,FULL_CONTROL.
- TypeIdentifier string
- Specifies the type of Identifier. Currently, only user ID is supported. Enumerated value: ID.
- DisplayName string
- User name.
- Identifier string
- User ID (UIN) in qcs format. For example: qcs::cam::uin/100000000001:uin/100000000001.
- Permission string
- Specify a permission to be granted. Enumerated value: READ,WRITE,FULL_CONTROL.
- TypeIdentifier string
- Specifies the type of Identifier. Currently, only user ID is supported. Enumerated value: ID.
- DisplayName string
- User name.
- identifier String
- User ID (UIN) in qcs format. For example: qcs::cam::uin/100000000001:uin/100000000001.
- permission String
- Specify a permission to be granted. Enumerated value: READ,WRITE,FULL_CONTROL.
- typeIdentifier String
- Specifies the type of Identifier. Currently, only user ID is supported. Enumerated value: ID.
- displayName String
- User name.
- identifier string
- User ID (UIN) in qcs format. For example: qcs::cam::uin/100000000001:uin/100000000001.
- permission string
- Specify a permission to be granted. Enumerated value: READ,WRITE,FULL_CONTROL.
- typeIdentifier string
- Specifies the type of Identifier. Currently, only user ID is supported. Enumerated value: ID.
- displayName string
- User name.
- identifier str
- User ID (UIN) in qcs format. For example: qcs::cam::uin/100000000001:uin/100000000001.
- permission str
- Specify a permission to be granted. Enumerated value: READ,WRITE,FULL_CONTROL.
- type_identifier str
- Specifies the type of Identifier. Currently, only user ID is supported. Enumerated value: ID.
- display_name str
- User name.
- identifier String
- User ID (UIN) in qcs format. For example: qcs::cam::uin/100000000001:uin/100000000001.
- permission String
- Specify a permission to be granted. Enumerated value: READ,WRITE,FULL_CONTROL.
- typeIdentifier String
- Specifies the type of Identifier. Currently, only user ID is supported. Enumerated value: ID.
- displayName String
- User name.
CosBatchOperationCosPutObjectCopyNewObjectMetadata, CosBatchOperationCosPutObjectCopyNewObjectMetadataArgs                    
- CacheControl string
- The caching instructions defined in RFC 2616 are saved as object metadata.
- ContentDisposition string
- The file name defined in RFC 2616 is saved as object metadata.
- ContentEncoding string
- The encoding format defined in RFC 2616 is saved as object metadata.
- ContentType string
- The content types defined in RFC 2616 are saved as object metadata.
- HttpExpires stringDate 
- The cache expiration time defined in RFC 2616 is saved as object metadata.
- SseAlgorithm string
- Server encryption algorithm. Currently, only AES256 is supported.
- UserMetadatas List<CosBatch Operation Cos Put Object Copy New Object Metadata User Metadata> 
- Includes user-defined metadata.
- CacheControl string
- The caching instructions defined in RFC 2616 are saved as object metadata.
- ContentDisposition string
- The file name defined in RFC 2616 is saved as object metadata.
- ContentEncoding string
- The encoding format defined in RFC 2616 is saved as object metadata.
- ContentType string
- The content types defined in RFC 2616 are saved as object metadata.
- HttpExpires stringDate 
- The cache expiration time defined in RFC 2616 is saved as object metadata.
- SseAlgorithm string
- Server encryption algorithm. Currently, only AES256 is supported.
- UserMetadatas []CosBatch Operation Cos Put Object Copy New Object Metadata User Metadata 
- Includes user-defined metadata.
- cacheControl String
- The caching instructions defined in RFC 2616 are saved as object metadata.
- contentDisposition String
- The file name defined in RFC 2616 is saved as object metadata.
- contentEncoding String
- The encoding format defined in RFC 2616 is saved as object metadata.
- contentType String
- The content types defined in RFC 2616 are saved as object metadata.
- httpExpires StringDate 
- The cache expiration time defined in RFC 2616 is saved as object metadata.
- sseAlgorithm String
- Server encryption algorithm. Currently, only AES256 is supported.
- userMetadatas List<CosBatch Operation Cos Put Object Copy New Object Metadata User Metadata> 
- Includes user-defined metadata.
- cacheControl string
- The caching instructions defined in RFC 2616 are saved as object metadata.
- contentDisposition string
- The file name defined in RFC 2616 is saved as object metadata.
- contentEncoding string
- The encoding format defined in RFC 2616 is saved as object metadata.
- contentType string
- The content types defined in RFC 2616 are saved as object metadata.
- httpExpires stringDate 
- The cache expiration time defined in RFC 2616 is saved as object metadata.
- sseAlgorithm string
- Server encryption algorithm. Currently, only AES256 is supported.
- userMetadatas CosBatch Operation Cos Put Object Copy New Object Metadata User Metadata[] 
- Includes user-defined metadata.
- cache_control str
- The caching instructions defined in RFC 2616 are saved as object metadata.
- content_disposition str
- The file name defined in RFC 2616 is saved as object metadata.
- content_encoding str
- The encoding format defined in RFC 2616 is saved as object metadata.
- content_type str
- The content types defined in RFC 2616 are saved as object metadata.
- http_expires_ strdate 
- The cache expiration time defined in RFC 2616 is saved as object metadata.
- sse_algorithm str
- Server encryption algorithm. Currently, only AES256 is supported.
- user_metadatas Sequence[CosBatch Operation Cos Put Object Copy New Object Metadata User Metadata] 
- Includes user-defined metadata.
- cacheControl String
- The caching instructions defined in RFC 2616 are saved as object metadata.
- contentDisposition String
- The file name defined in RFC 2616 is saved as object metadata.
- contentEncoding String
- The encoding format defined in RFC 2616 is saved as object metadata.
- contentType String
- The content types defined in RFC 2616 are saved as object metadata.
- httpExpires StringDate 
- The cache expiration time defined in RFC 2616 is saved as object metadata.
- sseAlgorithm String
- Server encryption algorithm. Currently, only AES256 is supported.
- userMetadatas List<Property Map>
- Includes user-defined metadata.
CosBatchOperationCosPutObjectCopyNewObjectMetadataUserMetadata, CosBatchOperationCosPutObjectCopyNewObjectMetadataUserMetadataArgs                        
CosBatchOperationCosPutObjectCopyNewObjectTagging, CosBatchOperationCosPutObjectCopyNewObjectTaggingArgs                    
CosBatchReport, CosBatchReportArgs      
- Bucket string
- Delivery bucket for task completion reports.
- Enabled string
- Whether to output the task completion report.
- Format string
- Task completion report format information. Legal value: Report_CSV_V1.
- ReportScope string
- Task completion report the task information that needs to be recorded to determine whether to record the execution information of all operations or the information of failed operations. Legal values: AllTasks, FailedTasksOnly.
- Prefix string
- Prefix information for the task completion report. Length 0-256 bytes.
- Bucket string
- Delivery bucket for task completion reports.
- Enabled string
- Whether to output the task completion report.
- Format string
- Task completion report format information. Legal value: Report_CSV_V1.
- ReportScope string
- Task completion report the task information that needs to be recorded to determine whether to record the execution information of all operations or the information of failed operations. Legal values: AllTasks, FailedTasksOnly.
- Prefix string
- Prefix information for the task completion report. Length 0-256 bytes.
- bucket String
- Delivery bucket for task completion reports.
- enabled String
- Whether to output the task completion report.
- format String
- Task completion report format information. Legal value: Report_CSV_V1.
- reportScope String
- Task completion report the task information that needs to be recorded to determine whether to record the execution information of all operations or the information of failed operations. Legal values: AllTasks, FailedTasksOnly.
- prefix String
- Prefix information for the task completion report. Length 0-256 bytes.
- bucket string
- Delivery bucket for task completion reports.
- enabled string
- Whether to output the task completion report.
- format string
- Task completion report format information. Legal value: Report_CSV_V1.
- reportScope string
- Task completion report the task information that needs to be recorded to determine whether to record the execution information of all operations or the information of failed operations. Legal values: AllTasks, FailedTasksOnly.
- prefix string
- Prefix information for the task completion report. Length 0-256 bytes.
- bucket str
- Delivery bucket for task completion reports.
- enabled str
- Whether to output the task completion report.
- format str
- Task completion report format information. Legal value: Report_CSV_V1.
- report_scope str
- Task completion report the task information that needs to be recorded to determine whether to record the execution information of all operations or the information of failed operations. Legal values: AllTasks, FailedTasksOnly.
- prefix str
- Prefix information for the task completion report. Length 0-256 bytes.
- bucket String
- Delivery bucket for task completion reports.
- enabled String
- Whether to output the task completion report.
- format String
- Task completion report format information. Legal value: Report_CSV_V1.
- reportScope String
- Task completion report the task information that needs to be recorded to determine whether to record the execution information of all operations or the information of failed operations. Legal values: AllTasks, FailedTasksOnly.
- prefix String
- Prefix information for the task completion report. Length 0-256 bytes.
Import
cos bucket batch can be imported using the id, e.g.
$ pulumi import tencentcloud:index/cosBatch:CosBatch cos_batch ${uin}#${appid}#{job_id}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the tencentcloudTerraform Provider.
