1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getCosBuckets
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack

tencentcloud.getCosBuckets

Explore with Pulumi AI

Use this data source to query the COS buckets of the current Tencent Cloud user.

Example Usage

Query all cos buckets

import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";

const example = tencentcloud.getCosBuckets({});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

example = tencentcloud.get_cos_buckets()
Copy
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.GetCosBuckets(ctx, &tencentcloud.GetCosBucketsArgs{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;

return await Deployment.RunAsync(() => 
{
    var example = Tencentcloud.GetCosBuckets.Invoke();

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetCosBucketsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = TencentcloudFunctions.getCosBuckets();

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: tencentcloud:getCosBuckets
      arguments: {}
Copy

Query cos buckets by filters

import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";

const example = tencentcloud.getCosBuckets({
    bucketPrefix: "tf-example-prefix",
    tags: {
        createBy: "Terraform",
    },
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

example = tencentcloud.get_cos_buckets(bucket_prefix="tf-example-prefix",
    tags={
        "createBy": "Terraform",
    })
Copy
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.GetCosBuckets(ctx, &tencentcloud.GetCosBucketsArgs{
			BucketPrefix: pulumi.StringRef("tf-example-prefix"),
			Tags: map[string]interface{}{
				"createBy": "Terraform",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;

return await Deployment.RunAsync(() => 
{
    var example = Tencentcloud.GetCosBuckets.Invoke(new()
    {
        BucketPrefix = "tf-example-prefix",
        Tags = 
        {
            { "createBy", "Terraform" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetCosBucketsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = TencentcloudFunctions.getCosBuckets(GetCosBucketsArgs.builder()
            .bucketPrefix("tf-example-prefix")
            .tags(Map.of("createBy", "Terraform"))
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: tencentcloud:getCosBuckets
      arguments:
        bucketPrefix: tf-example-prefix
        tags:
          createBy: Terraform
Copy

Using getCosBuckets

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getCosBuckets(args: GetCosBucketsArgs, opts?: InvokeOptions): Promise<GetCosBucketsResult>
function getCosBucketsOutput(args: GetCosBucketsOutputArgs, opts?: InvokeOptions): Output<GetCosBucketsResult>
Copy
def get_cos_buckets(bucket_prefix: Optional[str] = None,
                    id: Optional[str] = None,
                    result_output_file: Optional[str] = None,
                    tags: Optional[Mapping[str, str]] = None,
                    opts: Optional[InvokeOptions] = None) -> GetCosBucketsResult
def get_cos_buckets_output(bucket_prefix: Optional[pulumi.Input[str]] = None,
                    id: Optional[pulumi.Input[str]] = None,
                    result_output_file: Optional[pulumi.Input[str]] = None,
                    tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetCosBucketsResult]
Copy
func GetCosBuckets(ctx *Context, args *GetCosBucketsArgs, opts ...InvokeOption) (*GetCosBucketsResult, error)
func GetCosBucketsOutput(ctx *Context, args *GetCosBucketsOutputArgs, opts ...InvokeOption) GetCosBucketsResultOutput
Copy

> Note: This function is named GetCosBuckets in the Go SDK.

public static class GetCosBuckets 
{
    public static Task<GetCosBucketsResult> InvokeAsync(GetCosBucketsArgs args, InvokeOptions? opts = null)
    public static Output<GetCosBucketsResult> Invoke(GetCosBucketsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetCosBucketsResult> getCosBuckets(GetCosBucketsArgs args, InvokeOptions options)
public static Output<GetCosBucketsResult> getCosBuckets(GetCosBucketsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getCosBuckets:getCosBuckets
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

BucketPrefix string
A prefix string to filter results by bucket name.
Id string
ResultOutputFile string
Used to save results.
Tags Dictionary<string, string>
Tags to filter bucket.
BucketPrefix string
A prefix string to filter results by bucket name.
Id string
ResultOutputFile string
Used to save results.
Tags map[string]string
Tags to filter bucket.
bucketPrefix String
A prefix string to filter results by bucket name.
id String
resultOutputFile String
Used to save results.
tags Map<String,String>
Tags to filter bucket.
bucketPrefix string
A prefix string to filter results by bucket name.
id string
resultOutputFile string
Used to save results.
tags {[key: string]: string}
Tags to filter bucket.
bucket_prefix str
A prefix string to filter results by bucket name.
id str
result_output_file str
Used to save results.
tags Mapping[str, str]
Tags to filter bucket.
bucketPrefix String
A prefix string to filter results by bucket name.
id String
resultOutputFile String
Used to save results.
tags Map<String>
Tags to filter bucket.

getCosBuckets Result

The following output properties are available:

BucketLists List<GetCosBucketsBucketList>
A list of bucket. Each element contains the following attributes:
Id string
BucketPrefix string
ResultOutputFile string
Tags Dictionary<string, string>
The tags of a bucket.
BucketLists []GetCosBucketsBucketList
A list of bucket. Each element contains the following attributes:
Id string
BucketPrefix string
ResultOutputFile string
Tags map[string]string
The tags of a bucket.
bucketLists List<GetCosBucketsBucketList>
A list of bucket. Each element contains the following attributes:
id String
bucketPrefix String
resultOutputFile String
tags Map<String,String>
The tags of a bucket.
bucketLists GetCosBucketsBucketList[]
A list of bucket. Each element contains the following attributes:
id string
bucketPrefix string
resultOutputFile string
tags {[key: string]: string}
The tags of a bucket.
bucket_lists Sequence[GetCosBucketsBucketList]
A list of bucket. Each element contains the following attributes:
id str
bucket_prefix str
result_output_file str
tags Mapping[str, str]
The tags of a bucket.
bucketLists List<Property Map>
A list of bucket. Each element contains the following attributes:
id String
bucketPrefix String
resultOutputFile String
tags Map<String>
The tags of a bucket.

Supporting Types

GetCosBucketsBucketList

Acl This property is required. string
Bucket access control configurations.
AclBody This property is required. string
Bucket verbose acl configurations.
Bucket This property is required. string
Bucket name, the format likes <bucket>-<appid>.
CorsRules This property is required. List<GetCosBucketsBucketListCorsRule>
A list of CORS rule configurations.
CosBucketUrl This property is required. string
The URL of this cos bucket.
LifecycleRules This property is required. List<GetCosBucketsBucketListLifecycleRule>
The lifecycle configuration of a bucket.
OriginDomainRules This property is required. List<GetCosBucketsBucketListOriginDomainRule>
Bucket origin domain rules.
OriginPullRules This property is required. List<GetCosBucketsBucketListOriginPullRule>
Bucket Origin-Pull rules.
Tags This property is required. Dictionary<string, string>
Tags to filter bucket.
Websites This property is required. List<GetCosBucketsBucketListWebsite>
A list of one element containing configuration parameters used when the bucket is used as a website.
Acl This property is required. string
Bucket access control configurations.
AclBody This property is required. string
Bucket verbose acl configurations.
Bucket This property is required. string
Bucket name, the format likes <bucket>-<appid>.
CorsRules This property is required. []GetCosBucketsBucketListCorsRule
A list of CORS rule configurations.
CosBucketUrl This property is required. string
The URL of this cos bucket.
LifecycleRules This property is required. []GetCosBucketsBucketListLifecycleRule
The lifecycle configuration of a bucket.
OriginDomainRules This property is required. []GetCosBucketsBucketListOriginDomainRule
Bucket origin domain rules.
OriginPullRules This property is required. []GetCosBucketsBucketListOriginPullRule
Bucket Origin-Pull rules.
Tags This property is required. map[string]string
Tags to filter bucket.
Websites This property is required. []GetCosBucketsBucketListWebsite
A list of one element containing configuration parameters used when the bucket is used as a website.
acl This property is required. String
Bucket access control configurations.
aclBody This property is required. String
Bucket verbose acl configurations.
bucket This property is required. String
Bucket name, the format likes <bucket>-<appid>.
corsRules This property is required. List<GetCosBucketsBucketListCorsRule>
A list of CORS rule configurations.
cosBucketUrl This property is required. String
The URL of this cos bucket.
lifecycleRules This property is required. List<GetCosBucketsBucketListLifecycleRule>
The lifecycle configuration of a bucket.
originDomainRules This property is required. List<GetCosBucketsBucketListOriginDomainRule>
Bucket origin domain rules.
originPullRules This property is required. List<GetCosBucketsBucketListOriginPullRule>
Bucket Origin-Pull rules.
tags This property is required. Map<String,String>
Tags to filter bucket.
websites This property is required. List<GetCosBucketsBucketListWebsite>
A list of one element containing configuration parameters used when the bucket is used as a website.
acl This property is required. string
Bucket access control configurations.
aclBody This property is required. string
Bucket verbose acl configurations.
bucket This property is required. string
Bucket name, the format likes <bucket>-<appid>.
corsRules This property is required. GetCosBucketsBucketListCorsRule[]
A list of CORS rule configurations.
cosBucketUrl This property is required. string
The URL of this cos bucket.
lifecycleRules This property is required. GetCosBucketsBucketListLifecycleRule[]
The lifecycle configuration of a bucket.
originDomainRules This property is required. GetCosBucketsBucketListOriginDomainRule[]
Bucket origin domain rules.
originPullRules This property is required. GetCosBucketsBucketListOriginPullRule[]
Bucket Origin-Pull rules.
tags This property is required. {[key: string]: string}
Tags to filter bucket.
websites This property is required. GetCosBucketsBucketListWebsite[]
A list of one element containing configuration parameters used when the bucket is used as a website.
acl This property is required. str
Bucket access control configurations.
acl_body This property is required. str
Bucket verbose acl configurations.
bucket This property is required. str
Bucket name, the format likes <bucket>-<appid>.
cors_rules This property is required. Sequence[GetCosBucketsBucketListCorsRule]
A list of CORS rule configurations.
cos_bucket_url This property is required. str
The URL of this cos bucket.
lifecycle_rules This property is required. Sequence[GetCosBucketsBucketListLifecycleRule]
The lifecycle configuration of a bucket.
origin_domain_rules This property is required. Sequence[GetCosBucketsBucketListOriginDomainRule]
Bucket origin domain rules.
origin_pull_rules This property is required. Sequence[GetCosBucketsBucketListOriginPullRule]
Bucket Origin-Pull rules.
tags This property is required. Mapping[str, str]
Tags to filter bucket.
websites This property is required. Sequence[GetCosBucketsBucketListWebsite]
A list of one element containing configuration parameters used when the bucket is used as a website.
acl This property is required. String
Bucket access control configurations.
aclBody This property is required. String
Bucket verbose acl configurations.
bucket This property is required. String
Bucket name, the format likes <bucket>-<appid>.
corsRules This property is required. List<Property Map>
A list of CORS rule configurations.
cosBucketUrl This property is required. String
The URL of this cos bucket.
lifecycleRules This property is required. List<Property Map>
The lifecycle configuration of a bucket.
originDomainRules This property is required. List<Property Map>
Bucket origin domain rules.
originPullRules This property is required. List<Property Map>
Bucket Origin-Pull rules.
tags This property is required. Map<String>
Tags to filter bucket.
websites This property is required. List<Property Map>
A list of one element containing configuration parameters used when the bucket is used as a website.

GetCosBucketsBucketListCorsRule

AllowedHeaders This property is required. List<string>
Specifies which headers are allowed.
AllowedMethods This property is required. List<string>
Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.
AllowedOrigins This property is required. List<string>
Specifies which origins are allowed.
ExposeHeaders This property is required. List<string>
Specifies expose header in the response.
MaxAgeSeconds This property is required. double
Specifies time in seconds that browser can cache the response for a preflight request.
AllowedHeaders This property is required. []string
Specifies which headers are allowed.
AllowedMethods This property is required. []string
Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.
AllowedOrigins This property is required. []string
Specifies which origins are allowed.
ExposeHeaders This property is required. []string
Specifies expose header in the response.
MaxAgeSeconds This property is required. float64
Specifies time in seconds that browser can cache the response for a preflight request.
allowedHeaders This property is required. List<String>
Specifies which headers are allowed.
allowedMethods This property is required. List<String>
Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.
allowedOrigins This property is required. List<String>
Specifies which origins are allowed.
exposeHeaders This property is required. List<String>
Specifies expose header in the response.
maxAgeSeconds This property is required. Double
Specifies time in seconds that browser can cache the response for a preflight request.
allowedHeaders This property is required. string[]
Specifies which headers are allowed.
allowedMethods This property is required. string[]
Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.
allowedOrigins This property is required. string[]
Specifies which origins are allowed.
exposeHeaders This property is required. string[]
Specifies expose header in the response.
maxAgeSeconds This property is required. number
Specifies time in seconds that browser can cache the response for a preflight request.
allowed_headers This property is required. Sequence[str]
Specifies which headers are allowed.
allowed_methods This property is required. Sequence[str]
Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.
allowed_origins This property is required. Sequence[str]
Specifies which origins are allowed.
expose_headers This property is required. Sequence[str]
Specifies expose header in the response.
max_age_seconds This property is required. float
Specifies time in seconds that browser can cache the response for a preflight request.
allowedHeaders This property is required. List<String>
Specifies which headers are allowed.
allowedMethods This property is required. List<String>
Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.
allowedOrigins This property is required. List<String>
Specifies which origins are allowed.
exposeHeaders This property is required. List<String>
Specifies expose header in the response.
maxAgeSeconds This property is required. Number
Specifies time in seconds that browser can cache the response for a preflight request.

GetCosBucketsBucketListLifecycleRule

AbortIncompleteMultipartUploads This property is required. List<GetCosBucketsBucketListLifecycleRuleAbortIncompleteMultipartUpload>
Set the maximum time a multipart upload is allowed to remain running.
Expirations This property is required. List<GetCosBucketsBucketListLifecycleRuleExpiration>
Specifies a period in the object's expire.
FilterPrefix This property is required. string
Object key prefix identifying one or more objects to which the rule applies.
NonCurrentExpirations This property is required. List<GetCosBucketsBucketListLifecycleRuleNonCurrentExpiration>
Specifies when non current object versions shall expire.
NonCurrentTransitions This property is required. List<GetCosBucketsBucketListLifecycleRuleNonCurrentTransition>
Specifies when to transition objects of non current versions and the target storage class.
Transitions This property is required. List<GetCosBucketsBucketListLifecycleRuleTransition>
Specifies a period in the object's transitions.
AbortIncompleteMultipartUploads This property is required. []GetCosBucketsBucketListLifecycleRuleAbortIncompleteMultipartUpload
Set the maximum time a multipart upload is allowed to remain running.
Expirations This property is required. []GetCosBucketsBucketListLifecycleRuleExpiration
Specifies a period in the object's expire.
FilterPrefix This property is required. string
Object key prefix identifying one or more objects to which the rule applies.
NonCurrentExpirations This property is required. []GetCosBucketsBucketListLifecycleRuleNonCurrentExpiration
Specifies when non current object versions shall expire.
NonCurrentTransitions This property is required. []GetCosBucketsBucketListLifecycleRuleNonCurrentTransition
Specifies when to transition objects of non current versions and the target storage class.
Transitions This property is required. []GetCosBucketsBucketListLifecycleRuleTransition
Specifies a period in the object's transitions.
abortIncompleteMultipartUploads This property is required. List<GetCosBucketsBucketListLifecycleRuleAbortIncompleteMultipartUpload>
Set the maximum time a multipart upload is allowed to remain running.
expirations This property is required. List<GetCosBucketsBucketListLifecycleRuleExpiration>
Specifies a period in the object's expire.
filterPrefix This property is required. String
Object key prefix identifying one or more objects to which the rule applies.
nonCurrentExpirations This property is required. List<GetCosBucketsBucketListLifecycleRuleNonCurrentExpiration>
Specifies when non current object versions shall expire.
nonCurrentTransitions This property is required. List<GetCosBucketsBucketListLifecycleRuleNonCurrentTransition>
Specifies when to transition objects of non current versions and the target storage class.
transitions This property is required. List<GetCosBucketsBucketListLifecycleRuleTransition>
Specifies a period in the object's transitions.
abortIncompleteMultipartUploads This property is required. GetCosBucketsBucketListLifecycleRuleAbortIncompleteMultipartUpload[]
Set the maximum time a multipart upload is allowed to remain running.
expirations This property is required. GetCosBucketsBucketListLifecycleRuleExpiration[]
Specifies a period in the object's expire.
filterPrefix This property is required. string
Object key prefix identifying one or more objects to which the rule applies.
nonCurrentExpirations This property is required. GetCosBucketsBucketListLifecycleRuleNonCurrentExpiration[]
Specifies when non current object versions shall expire.
nonCurrentTransitions This property is required. GetCosBucketsBucketListLifecycleRuleNonCurrentTransition[]
Specifies when to transition objects of non current versions and the target storage class.
transitions This property is required. GetCosBucketsBucketListLifecycleRuleTransition[]
Specifies a period in the object's transitions.
abort_incomplete_multipart_uploads This property is required. Sequence[GetCosBucketsBucketListLifecycleRuleAbortIncompleteMultipartUpload]
Set the maximum time a multipart upload is allowed to remain running.
expirations This property is required. Sequence[GetCosBucketsBucketListLifecycleRuleExpiration]
Specifies a period in the object's expire.
filter_prefix This property is required. str
Object key prefix identifying one or more objects to which the rule applies.
non_current_expirations This property is required. Sequence[GetCosBucketsBucketListLifecycleRuleNonCurrentExpiration]
Specifies when non current object versions shall expire.
non_current_transitions This property is required. Sequence[GetCosBucketsBucketListLifecycleRuleNonCurrentTransition]
Specifies when to transition objects of non current versions and the target storage class.
transitions This property is required. Sequence[GetCosBucketsBucketListLifecycleRuleTransition]
Specifies a period in the object's transitions.
abortIncompleteMultipartUploads This property is required. List<Property Map>
Set the maximum time a multipart upload is allowed to remain running.
expirations This property is required. List<Property Map>
Specifies a period in the object's expire.
filterPrefix This property is required. String
Object key prefix identifying one or more objects to which the rule applies.
nonCurrentExpirations This property is required. List<Property Map>
Specifies when non current object versions shall expire.
nonCurrentTransitions This property is required. List<Property Map>
Specifies when to transition objects of non current versions and the target storage class.
transitions This property is required. List<Property Map>
Specifies a period in the object's transitions.

GetCosBucketsBucketListLifecycleRuleAbortIncompleteMultipartUpload

DaysAfterInitiation This property is required. double
Specifies the number of days after the multipart upload starts that the upload must be completed. The maximum value is 3650.
DaysAfterInitiation This property is required. float64
Specifies the number of days after the multipart upload starts that the upload must be completed. The maximum value is 3650.
daysAfterInitiation This property is required. Double
Specifies the number of days after the multipart upload starts that the upload must be completed. The maximum value is 3650.
daysAfterInitiation This property is required. number
Specifies the number of days after the multipart upload starts that the upload must be completed. The maximum value is 3650.
days_after_initiation This property is required. float
Specifies the number of days after the multipart upload starts that the upload must be completed. The maximum value is 3650.
daysAfterInitiation This property is required. Number
Specifies the number of days after the multipart upload starts that the upload must be completed. The maximum value is 3650.

GetCosBucketsBucketListLifecycleRuleExpiration

Date This property is required. string
Specifies the date after which you want the corresponding action to take effect.
Days This property is required. double
Specifies the number of days after object creation when the specific rule action takes effect.
Date This property is required. string
Specifies the date after which you want the corresponding action to take effect.
Days This property is required. float64
Specifies the number of days after object creation when the specific rule action takes effect.
date This property is required. String
Specifies the date after which you want the corresponding action to take effect.
days This property is required. Double
Specifies the number of days after object creation when the specific rule action takes effect.
date This property is required. string
Specifies the date after which you want the corresponding action to take effect.
days This property is required. number
Specifies the number of days after object creation when the specific rule action takes effect.
date This property is required. str
Specifies the date after which you want the corresponding action to take effect.
days This property is required. float
Specifies the number of days after object creation when the specific rule action takes effect.
date This property is required. String
Specifies the date after which you want the corresponding action to take effect.
days This property is required. Number
Specifies the number of days after object creation when the specific rule action takes effect.

GetCosBucketsBucketListLifecycleRuleNonCurrentExpiration

NonCurrentDays This property is required. double
Number of days after non current object creation when the specific rule action takes effect.
NonCurrentDays This property is required. float64
Number of days after non current object creation when the specific rule action takes effect.
nonCurrentDays This property is required. Double
Number of days after non current object creation when the specific rule action takes effect.
nonCurrentDays This property is required. number
Number of days after non current object creation when the specific rule action takes effect.
non_current_days This property is required. float
Number of days after non current object creation when the specific rule action takes effect.
nonCurrentDays This property is required. Number
Number of days after non current object creation when the specific rule action takes effect.

GetCosBucketsBucketListLifecycleRuleNonCurrentTransition

NonCurrentDays This property is required. double
Number of days after non current object creation when the specific rule action takes effect.
StorageClass This property is required. string
Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
NonCurrentDays This property is required. float64
Number of days after non current object creation when the specific rule action takes effect.
StorageClass This property is required. string
Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
nonCurrentDays This property is required. Double
Number of days after non current object creation when the specific rule action takes effect.
storageClass This property is required. String
Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
nonCurrentDays This property is required. number
Number of days after non current object creation when the specific rule action takes effect.
storageClass This property is required. string
Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
non_current_days This property is required. float
Number of days after non current object creation when the specific rule action takes effect.
storage_class This property is required. str
Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
nonCurrentDays This property is required. Number
Number of days after non current object creation when the specific rule action takes effect.
storageClass This property is required. String
Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.

GetCosBucketsBucketListLifecycleRuleTransition

Date This property is required. string
Specifies the date after which you want the corresponding action to take effect.
Days This property is required. double
Specifies the number of days after object creation when the specific rule action takes effect.
StorageClass This property is required. string
Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
Date This property is required. string
Specifies the date after which you want the corresponding action to take effect.
Days This property is required. float64
Specifies the number of days after object creation when the specific rule action takes effect.
StorageClass This property is required. string
Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
date This property is required. String
Specifies the date after which you want the corresponding action to take effect.
days This property is required. Double
Specifies the number of days after object creation when the specific rule action takes effect.
storageClass This property is required. String
Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
date This property is required. string
Specifies the date after which you want the corresponding action to take effect.
days This property is required. number
Specifies the number of days after object creation when the specific rule action takes effect.
storageClass This property is required. string
Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
date This property is required. str
Specifies the date after which you want the corresponding action to take effect.
days This property is required. float
Specifies the number of days after object creation when the specific rule action takes effect.
storage_class This property is required. str
Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
date This property is required. String
Specifies the date after which you want the corresponding action to take effect.
days This property is required. Number
Specifies the number of days after object creation when the specific rule action takes effect.
storageClass This property is required. String
Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.

GetCosBucketsBucketListOriginDomainRule

Domain This property is required. string
Status This property is required. string
Type This property is required. string
Domain This property is required. string
Status This property is required. string
Type This property is required. string
domain This property is required. String
status This property is required. String
type This property is required. String
domain This property is required. string
status This property is required. string
type This property is required. string
domain This property is required. str
status This property is required. str
type This property is required. str
domain This property is required. String
status This property is required. String
type This property is required. String

GetCosBucketsBucketListOriginPullRule

CustomHttpHeaders This property is required. Dictionary<string, string>
FollowHttpHeaders This property is required. List<string>
FollowQueryString This property is required. bool
FollowRedirection This property is required. bool
Host This property is required. string
Prefix This property is required. string
Priority This property is required. double
Protocol This property is required. string
SyncBackToSource This property is required. bool
CustomHttpHeaders This property is required. map[string]string
FollowHttpHeaders This property is required. []string
FollowQueryString This property is required. bool
FollowRedirection This property is required. bool
Host This property is required. string
Prefix This property is required. string
Priority This property is required. float64
Protocol This property is required. string
SyncBackToSource This property is required. bool
customHttpHeaders This property is required. Map<String,String>
followHttpHeaders This property is required. List<String>
followQueryString This property is required. Boolean
followRedirection This property is required. Boolean
host This property is required. String
prefix This property is required. String
priority This property is required. Double
protocol This property is required. String
syncBackToSource This property is required. Boolean
customHttpHeaders This property is required. {[key: string]: string}
followHttpHeaders This property is required. string[]
followQueryString This property is required. boolean
followRedirection This property is required. boolean
host This property is required. string
prefix This property is required. string
priority This property is required. number
protocol This property is required. string
syncBackToSource This property is required. boolean
custom_http_headers This property is required. Mapping[str, str]
follow_http_headers This property is required. Sequence[str]
follow_query_string This property is required. bool
follow_redirection This property is required. bool
host This property is required. str
prefix This property is required. str
priority This property is required. float
protocol This property is required. str
sync_back_to_source This property is required. bool
customHttpHeaders This property is required. Map<String>
followHttpHeaders This property is required. List<String>
followQueryString This property is required. Boolean
followRedirection This property is required. Boolean
host This property is required. String
prefix This property is required. String
priority This property is required. Number
protocol This property is required. String
syncBackToSource This property is required. Boolean

GetCosBucketsBucketListWebsite

ErrorDocument This property is required. string
An absolute path to the document to return in case of a 4XX error.
IndexDocument This property is required. string
COS returns this index document when requests are made to the root domain or any of the subfolders.
ErrorDocument This property is required. string
An absolute path to the document to return in case of a 4XX error.
IndexDocument This property is required. string
COS returns this index document when requests are made to the root domain or any of the subfolders.
errorDocument This property is required. String
An absolute path to the document to return in case of a 4XX error.
indexDocument This property is required. String
COS returns this index document when requests are made to the root domain or any of the subfolders.
errorDocument This property is required. string
An absolute path to the document to return in case of a 4XX error.
indexDocument This property is required. string
COS returns this index document when requests are made to the root domain or any of the subfolders.
error_document This property is required. str
An absolute path to the document to return in case of a 4XX error.
index_document This property is required. str
COS returns this index document when requests are made to the root domain or any of the subfolders.
errorDocument This property is required. String
An absolute path to the document to return in case of a 4XX error.
indexDocument This property is required. String
COS returns this index document when requests are made to the root domain or any of the subfolders.

Package Details

Repository
tencentcloud tencentcloudstack/terraform-provider-tencentcloud
License
Notes
This Pulumi package is based on the tencentcloud Terraform Provider.