tencentcloud.CosBatch
Explore with Pulumi AI
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
Cos
Batch Manifest - List of objects to be processed.
- Operation
Cos
Batch 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
Cos
Batch Report - Task completion report.
- Role
Arn 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.
- Confirmation
Required bool - Whether to confirm before performing the task. The default is false.
- Cos
Batch 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
Cos
Batch Manifest Args - List of objects to be processed.
- Operation
Cos
Batch 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
Cos
Batch Report Args - Task completion report.
- Role
Arn 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.
- Confirmation
Required bool - Whether to confirm before performing the task. The default is false.
- Cos
Batch 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
Cos
Batch Manifest - List of objects to be processed.
- operation
Cos
Batch 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
Cos
Batch Report - Task completion report.
- role
Arn 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.
- confirmation
Required Boolean - Whether to confirm before performing the task. The default is false.
- cos
Batch 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
Cos
Batch Manifest - List of objects to be processed.
- operation
Cos
Batch 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
Cos
Batch Report - Task completion report.
- role
Arn 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.
- confirmation
Required boolean - Whether to confirm before performing the task. The default is false.
- cos
Batch 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
Cos
Batch Manifest Args - List of objects to be processed.
- operation
Cos
Batch 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
Cos
Batch 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.
- role
Arn 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.
- confirmation
Required Boolean - Whether to confirm before performing the task. The default is false.
- cos
Batch 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) -> CosBatch
func 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.
- Confirmation
Required bool - Whether to confirm before performing the task. The default is false.
- Cos
Batch 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.
- Job
Id string - Job id.
- Manifest
Cos
Batch Manifest - List of objects to be processed.
- Operation
Cos
Batch 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
Cos
Batch Report - Task completion report.
- Role
Arn 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.
- Confirmation
Required bool - Whether to confirm before performing the task. The default is false.
- Cos
Batch 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.
- Job
Id string - Job id.
- Manifest
Cos
Batch Manifest Args - List of objects to be processed.
- Operation
Cos
Batch 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
Cos
Batch Report Args - Task completion report.
- Role
Arn 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.
- confirmation
Required Boolean - Whether to confirm before performing the task. The default is false.
- cos
Batch 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.
- job
Id String - Job id.
- manifest
Cos
Batch Manifest - List of objects to be processed.
- operation
Cos
Batch 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
Cos
Batch Report - Task completion report.
- role
Arn 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.
- confirmation
Required boolean - Whether to confirm before performing the task. The default is false.
- cos
Batch 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.
- job
Id string - Job id.
- manifest
Cos
Batch Manifest - List of objects to be processed.
- operation
Cos
Batch 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
Cos
Batch Report - Task completion report.
- role
Arn 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
Cos
Batch Manifest Args - List of objects to be processed.
- operation
Cos
Batch 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
Cos
Batch 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.
- confirmation
Required Boolean - Whether to confirm before performing the task. The default is false.
- cos
Batch 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.
- job
Id 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.
- role
Arn 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
Cos
Batch Manifest Location - The location information of the list of objects.
- Spec
Cos
Batch 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
Cos
Batch Manifest Location - The location information of the list of objects.
- Spec
Cos
Batch 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
Cos
Batch Manifest Location - The location information of the list of objects.
- spec
Cos
Batch 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
Cos
Batch Manifest Location - The location information of the list of objects.
- spec
Cos
Batch 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
Cos
Batch Manifest Location - The location information of the list of objects.
- spec
Cos
Batch 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.
- Object
Arn string - Specifies the unique resource identifier of the object manifest, which is 1-1024 bytes long.
- Object
Version 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.
- Object
Arn string - Specifies the unique resource identifier of the object manifest, which is 1-1024 bytes long.
- Object
Version 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.
- object
Arn String - Specifies the unique resource identifier of the object manifest, which is 1-1024 bytes long.
- object
Version 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.
- object
Arn string - Specifies the unique resource identifier of the object manifest, which is 1-1024 bytes long.
- object
Version 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.
- object
Arn String - Specifies the unique resource identifier of the object manifest, which is 1-1024 bytes long.
- object
Version 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
- 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.
- 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.
- 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.
- 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.
- 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.
- cos
Initiate Property MapRestore Object - Specifies the specific parameters for the batch restore operation for archive storage type objects in the inventory.
- cos
Put Property MapObject Copy - Specifies the specific parameters for the batch copy operation on the objects in the list.
CosBatchOperationCosInitiateRestoreObject, CosBatchOperationCosInitiateRestoreObjectArgs
- Expiration
In doubleDays - 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 string - Select archive recovery model. Available values: Bulk, Standard.
- Expiration
In float64Days - 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 string - Select archive recovery model. Available values: Bulk, Standard.
- expiration
In DoubleDays - 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 String - Select archive recovery model. Available values: Bulk, Standard.
- expiration
In numberDays - 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 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.
- expiration
In NumberDays - 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 String - Select archive recovery model. Available values: Bulk, Standard.
CosBatchOperationCosPutObjectCopy, CosBatchOperationCosPutObjectCopyArgs
- Target
Resource string - Sets the target bucket for the Copy. Use qcs to specify, for example, qcs::cos:ap-chengdu:uid/1250000000:examplebucket-1250000000.
- Access
Control 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.
- Access
Control CosGrants Batch Operation Cos Put Object Copy Access Control Grants - Controls the specific access to the object.
- Canned
Access stringControl List - Defines the ACL property of the object. Valid values: private, public-read.
- Metadata
Directive 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.
- Modified
Since doubleConstraint - 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 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.
- 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 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. - Storage
Class string - Sets the storage level of the object. Enumerated value: STANDARD,STANDARD_IA. Default value: STANDARD.
- Tagging
Directive 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.
- Target
Key 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.
- Unmodified
Since doubleConstraint - When the object has not been modified after the specified time, the operation is performed, otherwise 412 is returned.
- Target
Resource string - Sets the target bucket for the Copy. Use qcs to specify, for example, qcs::cos:ap-chengdu:uid/1250000000:examplebucket-1250000000.
- Access
Control 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.
- Access
Control CosGrants Batch Operation Cos Put Object Copy Access Control Grants - Controls the specific access to the object.
- Canned
Access stringControl List - Defines the ACL property of the object. Valid values: private, public-read.
- Metadata
Directive 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.
- Modified
Since float64Constraint - 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 []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 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. - Storage
Class string - Sets the storage level of the object. Enumerated value: STANDARD,STANDARD_IA. Default value: STANDARD.
- Tagging
Directive 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.
- Target
Key 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.
- Unmodified
Since float64Constraint - When the object has not been modified after the specified time, the operation is performed, otherwise 412 is returned.
- target
Resource String - Sets the target bucket for the Copy. Use qcs to specify, for example, qcs::cos:ap-chengdu:uid/1250000000:examplebucket-1250000000.
- access
Control 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.
- access
Control CosGrants Batch Operation Cos Put Object Copy Access Control Grants - Controls the specific access to the object.
- canned
Access StringControl List - Defines the ACL property of the object. Valid values: private, public-read.
- metadata
Directive 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.
- modified
Since DoubleConstraint - 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 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.
- prefix
Replace 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.
- resources
Prefix 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. - storage
Class String - Sets the storage level of the object. Enumerated value: STANDARD,STANDARD_IA. Default value: STANDARD.
- tagging
Directive 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.
- target
Key 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.
- unmodified
Since DoubleConstraint - When the object has not been modified after the specified time, the operation is performed, otherwise 412 is returned.
- target
Resource string - Sets the target bucket for the Copy. Use qcs to specify, for example, qcs::cos:ap-chengdu:uid/1250000000:examplebucket-1250000000.
- access
Control 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.
- access
Control CosGrants Batch Operation Cos Put Object Copy Access Control Grants - Controls the specific access to the object.
- canned
Access stringControl List - Defines the ACL property of the object. Valid values: private, public-read.
- metadata
Directive 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.
- modified
Since numberConstraint - 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 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 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.
- resources
Prefix 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. - storage
Class string - Sets the storage level of the object. Enumerated value: STANDARD,STANDARD_IA. Default value: STANDARD.
- tagging
Directive 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.
- target
Key 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.
- unmodified
Since 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.
- target
Resource String - Sets the target bucket for the Copy. Use qcs to specify, for example, qcs::cos:ap-chengdu:uid/1250000000:examplebucket-1250000000.
- access
Control 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.
- access
Control Property MapGrants - Controls the specific access to the object.
- canned
Access StringControl List - Defines the ACL property of the object. Valid values: private, public-read.
- metadata
Directive 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.
- modified
Since NumberConstraint - When the object is modified after the specified time, the operation is performed, otherwise 412 is returned.
- new
Object Property MapMetadata - Configure the metadata for the object.
- new
Object List<Property Map>Taggings - The label of the configuration object, which must be specified when the < TaggingDirective > value is Replace or Add.
- prefix
Replace 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.
- resources
Prefix 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. - storage
Class String - Sets the storage level of the object. Enumerated value: STANDARD,STANDARD_IA. Default value: STANDARD.
- tagging
Directive 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.
- target
Key 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.
- unmodified
Since 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.
- Type
Identifier string - Specifies the type of Identifier. Currently, only user ID is supported. Enumerated value: ID.
- Display
Name 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.
- Type
Identifier string - Specifies the type of Identifier. Currently, only user ID is supported. Enumerated value: ID.
- Display
Name 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.
- type
Identifier String - Specifies the type of Identifier. Currently, only user ID is supported. Enumerated value: ID.
- display
Name 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.
- type
Identifier string - Specifies the type of Identifier. Currently, only user ID is supported. Enumerated value: ID.
- display
Name 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.
- type
Identifier String - Specifies the type of Identifier. Currently, only user ID is supported. Enumerated value: ID.
- display
Name String - User name.
CosBatchOperationCosPutObjectCopyNewObjectMetadata, CosBatchOperationCosPutObjectCopyNewObjectMetadataArgs
- Cache
Control string - The caching instructions defined in RFC 2616 are saved as object metadata.
- Content
Disposition string - The file name defined in RFC 2616 is saved as object metadata.
- Content
Encoding string - The encoding format defined in RFC 2616 is saved as object metadata.
- Content
Type string - The content types defined in RFC 2616 are saved as object metadata.
- Http
Expires stringDate - The cache expiration time defined in RFC 2616 is saved as object metadata.
- Sse
Algorithm string - Server encryption algorithm. Currently, only AES256 is supported.
- User
Metadatas List<CosBatch Operation Cos Put Object Copy New Object Metadata User Metadata> - Includes user-defined metadata.
- Cache
Control string - The caching instructions defined in RFC 2616 are saved as object metadata.
- Content
Disposition string - The file name defined in RFC 2616 is saved as object metadata.
- Content
Encoding string - The encoding format defined in RFC 2616 is saved as object metadata.
- Content
Type string - The content types defined in RFC 2616 are saved as object metadata.
- Http
Expires stringDate - The cache expiration time defined in RFC 2616 is saved as object metadata.
- Sse
Algorithm string - Server encryption algorithm. Currently, only AES256 is supported.
- User
Metadatas []CosBatch Operation Cos Put Object Copy New Object Metadata User Metadata - Includes user-defined metadata.
- cache
Control String - The caching instructions defined in RFC 2616 are saved as object metadata.
- content
Disposition String - The file name defined in RFC 2616 is saved as object metadata.
- content
Encoding String - The encoding format defined in RFC 2616 is saved as object metadata.
- content
Type String - The content types defined in RFC 2616 are saved as object metadata.
- http
Expires StringDate - The cache expiration time defined in RFC 2616 is saved as object metadata.
- sse
Algorithm String - Server encryption algorithm. Currently, only AES256 is supported.
- user
Metadatas List<CosBatch Operation Cos Put Object Copy New Object Metadata User Metadata> - Includes user-defined metadata.
- cache
Control string - The caching instructions defined in RFC 2616 are saved as object metadata.
- content
Disposition string - The file name defined in RFC 2616 is saved as object metadata.
- content
Encoding string - The encoding format defined in RFC 2616 is saved as object metadata.
- content
Type string - The content types defined in RFC 2616 are saved as object metadata.
- http
Expires stringDate - The cache expiration time defined in RFC 2616 is saved as object metadata.
- sse
Algorithm string - Server encryption algorithm. Currently, only AES256 is supported.
- user
Metadatas 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.
- cache
Control String - The caching instructions defined in RFC 2616 are saved as object metadata.
- content
Disposition String - The file name defined in RFC 2616 is saved as object metadata.
- content
Encoding String - The encoding format defined in RFC 2616 is saved as object metadata.
- content
Type String - The content types defined in RFC 2616 are saved as object metadata.
- http
Expires StringDate - The cache expiration time defined in RFC 2616 is saved as object metadata.
- sse
Algorithm String - Server encryption algorithm. Currently, only AES256 is supported.
- user
Metadatas 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.
- Report
Scope 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.
- Report
Scope 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.
- report
Scope 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.
- report
Scope 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.
- report
Scope 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
tencentcloud
Terraform Provider.