tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getCosBuckets
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
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({});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_cos_buckets()
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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = Tencentcloud.GetCosBuckets.Invoke();
});
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();
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getCosBuckets
arguments: {}
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",
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_cos_buckets(bucket_prefix="tf-example-prefix",
tags={
"createBy": "Terraform",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetCosBuckets(ctx, &tencentcloud.GetCosBucketsArgs{
BucketPrefix: pulumi.StringRef("tf-example-prefix"),
Tags: map[string]interface{}{
"createBy": "Terraform",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = Tencentcloud.GetCosBuckets.Invoke(new()
{
BucketPrefix = "tf-example-prefix",
Tags =
{
{ "createBy", "Terraform" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.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());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getCosBuckets
arguments:
bucketPrefix: tf-example-prefix
tags:
createBy: Terraform
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>
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]
func GetCosBuckets(ctx *Context, args *GetCosBucketsArgs, opts ...InvokeOption) (*GetCosBucketsResult, error)
func GetCosBucketsOutput(ctx *Context, args *GetCosBucketsOutputArgs, opts ...InvokeOption) GetCosBucketsResultOutput
> 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)
}
public static CompletableFuture<GetCosBucketsResult> getCosBuckets(GetCosBucketsArgs args, InvokeOptions options)
public static Output<GetCosBucketsResult> getCosBuckets(GetCosBucketsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getCosBuckets:getCosBuckets
arguments:
# arguments dictionary
The following arguments are supported:
- Bucket
Prefix string - A prefix string to filter results by bucket name.
- Id string
- Result
Output stringFile - Used to save results.
- Dictionary<string, string>
- Tags to filter bucket.
- Bucket
Prefix string - A prefix string to filter results by bucket name.
- Id string
- Result
Output stringFile - Used to save results.
- map[string]string
- Tags to filter bucket.
- bucket
Prefix String - A prefix string to filter results by bucket name.
- id String
- result
Output StringFile - Used to save results.
- Map<String,String>
- Tags to filter bucket.
- bucket
Prefix string - A prefix string to filter results by bucket name.
- id string
- result
Output stringFile - Used to save results.
- {[key: string]: string}
- Tags to filter bucket.
- bucket_
prefix str - A prefix string to filter results by bucket name.
- id str
- result_
output_ strfile - Used to save results.
- Mapping[str, str]
- Tags to filter bucket.
- bucket
Prefix String - A prefix string to filter results by bucket name.
- id String
- result
Output StringFile - Used to save results.
- Map<String>
- Tags to filter bucket.
getCosBuckets Result
The following output properties are available:
- Bucket
Lists List<GetCos Buckets Bucket List> - A list of bucket. Each element contains the following attributes:
- Id string
- Bucket
Prefix string - Result
Output stringFile - Dictionary<string, string>
- The tags of a bucket.
- Bucket
Lists []GetCos Buckets Bucket List - A list of bucket. Each element contains the following attributes:
- Id string
- Bucket
Prefix string - Result
Output stringFile - map[string]string
- The tags of a bucket.
- bucket
Lists List<GetCos Buckets Bucket List> - A list of bucket. Each element contains the following attributes:
- id String
- bucket
Prefix String - result
Output StringFile - Map<String,String>
- The tags of a bucket.
- bucket
Lists GetCos Buckets Bucket List[] - A list of bucket. Each element contains the following attributes:
- id string
- bucket
Prefix string - result
Output stringFile - {[key: string]: string}
- The tags of a bucket.
- bucket_
lists Sequence[GetCos Buckets Bucket List] - A list of bucket. Each element contains the following attributes:
- id str
- bucket_
prefix str - result_
output_ strfile - Mapping[str, str]
- The tags of a bucket.
- bucket
Lists List<Property Map> - A list of bucket. Each element contains the following attributes:
- id String
- bucket
Prefix String - result
Output StringFile - Map<String>
- The tags of a bucket.
Supporting Types
GetCosBucketsBucketList
- Acl string
- Bucket access control configurations.
- Acl
Body string - Bucket verbose acl configurations.
- Bucket string
- Bucket name, the format likes
<bucket>-<appid>
. - Cors
Rules List<GetCos Buckets Bucket List Cors Rule> - A list of CORS rule configurations.
- Cos
Bucket stringUrl - The URL of this cos bucket.
- Lifecycle
Rules List<GetCos Buckets Bucket List Lifecycle Rule> - The lifecycle configuration of a bucket.
- Origin
Domain List<GetRules Cos Buckets Bucket List Origin Domain Rule> - Bucket origin domain rules.
- Origin
Pull List<GetRules Cos Buckets Bucket List Origin Pull Rule> - Bucket Origin-Pull rules.
- Dictionary<string, string>
- Tags to filter bucket.
- Websites
List<Get
Cos Buckets Bucket List Website> - A list of one element containing configuration parameters used when the bucket is used as a website.
- Acl string
- Bucket access control configurations.
- Acl
Body string - Bucket verbose acl configurations.
- Bucket string
- Bucket name, the format likes
<bucket>-<appid>
. - Cors
Rules []GetCos Buckets Bucket List Cors Rule - A list of CORS rule configurations.
- Cos
Bucket stringUrl - The URL of this cos bucket.
- Lifecycle
Rules []GetCos Buckets Bucket List Lifecycle Rule - The lifecycle configuration of a bucket.
- Origin
Domain []GetRules Cos Buckets Bucket List Origin Domain Rule - Bucket origin domain rules.
- Origin
Pull []GetRules Cos Buckets Bucket List Origin Pull Rule - Bucket Origin-Pull rules.
- map[string]string
- Tags to filter bucket.
- Websites
[]Get
Cos Buckets Bucket List Website - A list of one element containing configuration parameters used when the bucket is used as a website.
- acl String
- Bucket access control configurations.
- acl
Body String - Bucket verbose acl configurations.
- bucket String
- Bucket name, the format likes
<bucket>-<appid>
. - cors
Rules List<GetCos Buckets Bucket List Cors Rule> - A list of CORS rule configurations.
- cos
Bucket StringUrl - The URL of this cos bucket.
- lifecycle
Rules List<GetCos Buckets Bucket List Lifecycle Rule> - The lifecycle configuration of a bucket.
- origin
Domain List<GetRules Cos Buckets Bucket List Origin Domain Rule> - Bucket origin domain rules.
- origin
Pull List<GetRules Cos Buckets Bucket List Origin Pull Rule> - Bucket Origin-Pull rules.
- Map<String,String>
- Tags to filter bucket.
- websites
List<Get
Cos Buckets Bucket List Website> - A list of one element containing configuration parameters used when the bucket is used as a website.
- acl string
- Bucket access control configurations.
- acl
Body string - Bucket verbose acl configurations.
- bucket string
- Bucket name, the format likes
<bucket>-<appid>
. - cors
Rules GetCos Buckets Bucket List Cors Rule[] - A list of CORS rule configurations.
- cos
Bucket stringUrl - The URL of this cos bucket.
- lifecycle
Rules GetCos Buckets Bucket List Lifecycle Rule[] - The lifecycle configuration of a bucket.
- origin
Domain GetRules Cos Buckets Bucket List Origin Domain Rule[] - Bucket origin domain rules.
- origin
Pull GetRules Cos Buckets Bucket List Origin Pull Rule[] - Bucket Origin-Pull rules.
- {[key: string]: string}
- Tags to filter bucket.
- websites
Get
Cos Buckets Bucket List Website[] - A list of one element containing configuration parameters used when the bucket is used as a website.
- acl str
- Bucket access control configurations.
- acl_
body str - Bucket verbose acl configurations.
- bucket str
- Bucket name, the format likes
<bucket>-<appid>
. - cors_
rules Sequence[GetCos Buckets Bucket List Cors Rule] - A list of CORS rule configurations.
- cos_
bucket_ strurl - The URL of this cos bucket.
- lifecycle_
rules Sequence[GetCos Buckets Bucket List Lifecycle Rule] - The lifecycle configuration of a bucket.
- origin_
domain_ Sequence[Getrules Cos Buckets Bucket List Origin Domain Rule] - Bucket origin domain rules.
- origin_
pull_ Sequence[Getrules Cos Buckets Bucket List Origin Pull Rule] - Bucket Origin-Pull rules.
- Mapping[str, str]
- Tags to filter bucket.
- websites
Sequence[Get
Cos Buckets Bucket List Website] - A list of one element containing configuration parameters used when the bucket is used as a website.
- acl String
- Bucket access control configurations.
- acl
Body String - Bucket verbose acl configurations.
- bucket String
- Bucket name, the format likes
<bucket>-<appid>
. - cors
Rules List<Property Map> - A list of CORS rule configurations.
- cos
Bucket StringUrl - The URL of this cos bucket.
- lifecycle
Rules List<Property Map> - The lifecycle configuration of a bucket.
- origin
Domain List<Property Map>Rules - Bucket origin domain rules.
- origin
Pull List<Property Map>Rules - Bucket Origin-Pull rules.
- Map<String>
- Tags to filter bucket.
- websites List<Property Map>
- A list of one element containing configuration parameters used when the bucket is used as a website.
GetCosBucketsBucketListCorsRule
- Allowed
Headers List<string> - Specifies which headers are allowed.
- Allowed
Methods List<string> - Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.
- Allowed
Origins List<string> - Specifies which origins are allowed.
- Expose
Headers List<string> - Specifies expose header in the response.
- Max
Age doubleSeconds - Specifies time in seconds that browser can cache the response for a preflight request.
- Allowed
Headers []string - Specifies which headers are allowed.
- Allowed
Methods []string - Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.
- Allowed
Origins []string - Specifies which origins are allowed.
- Expose
Headers []string - Specifies expose header in the response.
- Max
Age float64Seconds - Specifies time in seconds that browser can cache the response for a preflight request.
- allowed
Headers List<String> - Specifies which headers are allowed.
- allowed
Methods List<String> - Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.
- allowed
Origins List<String> - Specifies which origins are allowed.
- expose
Headers List<String> - Specifies expose header in the response.
- max
Age DoubleSeconds - Specifies time in seconds that browser can cache the response for a preflight request.
- allowed
Headers string[] - Specifies which headers are allowed.
- allowed
Methods string[] - Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.
- allowed
Origins string[] - Specifies which origins are allowed.
- expose
Headers string[] - Specifies expose header in the response.
- max
Age numberSeconds - Specifies time in seconds that browser can cache the response for a preflight request.
- allowed_
headers Sequence[str] - Specifies which headers are allowed.
- allowed_
methods Sequence[str] - Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.
- allowed_
origins Sequence[str] - Specifies which origins are allowed.
- expose_
headers Sequence[str] - Specifies expose header in the response.
- max_
age_ floatseconds - Specifies time in seconds that browser can cache the response for a preflight request.
- allowed
Headers List<String> - Specifies which headers are allowed.
- allowed
Methods List<String> - Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.
- allowed
Origins List<String> - Specifies which origins are allowed.
- expose
Headers List<String> - Specifies expose header in the response.
- max
Age NumberSeconds - Specifies time in seconds that browser can cache the response for a preflight request.
GetCosBucketsBucketListLifecycleRule
- Abort
Incomplete List<GetMultipart Uploads Cos Buckets Bucket List Lifecycle Rule Abort Incomplete Multipart Upload> - Set the maximum time a multipart upload is allowed to remain running.
- Expirations
List<Get
Cos Buckets Bucket List Lifecycle Rule Expiration> - Specifies a period in the object's expire.
- Filter
Prefix string - Object key prefix identifying one or more objects to which the rule applies.
- Non
Current List<GetExpirations Cos Buckets Bucket List Lifecycle Rule Non Current Expiration> - Specifies when non current object versions shall expire.
- Non
Current List<GetTransitions Cos Buckets Bucket List Lifecycle Rule Non Current Transition> - Specifies when to transition objects of non current versions and the target storage class.
- Transitions
List<Get
Cos Buckets Bucket List Lifecycle Rule Transition> - Specifies a period in the object's transitions.
- Abort
Incomplete []GetMultipart Uploads Cos Buckets Bucket List Lifecycle Rule Abort Incomplete Multipart Upload - Set the maximum time a multipart upload is allowed to remain running.
- Expirations
[]Get
Cos Buckets Bucket List Lifecycle Rule Expiration - Specifies a period in the object's expire.
- Filter
Prefix string - Object key prefix identifying one or more objects to which the rule applies.
- Non
Current []GetExpirations Cos Buckets Bucket List Lifecycle Rule Non Current Expiration - Specifies when non current object versions shall expire.
- Non
Current []GetTransitions Cos Buckets Bucket List Lifecycle Rule Non Current Transition - Specifies when to transition objects of non current versions and the target storage class.
- Transitions
[]Get
Cos Buckets Bucket List Lifecycle Rule Transition - Specifies a period in the object's transitions.
- abort
Incomplete List<GetMultipart Uploads Cos Buckets Bucket List Lifecycle Rule Abort Incomplete Multipart Upload> - Set the maximum time a multipart upload is allowed to remain running.
- expirations
List<Get
Cos Buckets Bucket List Lifecycle Rule Expiration> - Specifies a period in the object's expire.
- filter
Prefix String - Object key prefix identifying one or more objects to which the rule applies.
- non
Current List<GetExpirations Cos Buckets Bucket List Lifecycle Rule Non Current Expiration> - Specifies when non current object versions shall expire.
- non
Current List<GetTransitions Cos Buckets Bucket List Lifecycle Rule Non Current Transition> - Specifies when to transition objects of non current versions and the target storage class.
- transitions
List<Get
Cos Buckets Bucket List Lifecycle Rule Transition> - Specifies a period in the object's transitions.
- abort
Incomplete GetMultipart Uploads Cos Buckets Bucket List Lifecycle Rule Abort Incomplete Multipart Upload[] - Set the maximum time a multipart upload is allowed to remain running.
- expirations
Get
Cos Buckets Bucket List Lifecycle Rule Expiration[] - Specifies a period in the object's expire.
- filter
Prefix string - Object key prefix identifying one or more objects to which the rule applies.
- non
Current GetExpirations Cos Buckets Bucket List Lifecycle Rule Non Current Expiration[] - Specifies when non current object versions shall expire.
- non
Current GetTransitions Cos Buckets Bucket List Lifecycle Rule Non Current Transition[] - Specifies when to transition objects of non current versions and the target storage class.
- transitions
Get
Cos Buckets Bucket List Lifecycle Rule Transition[] - Specifies a period in the object's transitions.
- abort_
incomplete_ Sequence[Getmultipart_ uploads Cos Buckets Bucket List Lifecycle Rule Abort Incomplete Multipart Upload] - Set the maximum time a multipart upload is allowed to remain running.
- expirations
Sequence[Get
Cos Buckets Bucket List Lifecycle Rule Expiration] - Specifies a period in the object's expire.
- filter_
prefix str - Object key prefix identifying one or more objects to which the rule applies.
- non_
current_ Sequence[Getexpirations Cos Buckets Bucket List Lifecycle Rule Non Current Expiration] - Specifies when non current object versions shall expire.
- non_
current_ Sequence[Gettransitions Cos Buckets Bucket List Lifecycle Rule Non Current Transition] - Specifies when to transition objects of non current versions and the target storage class.
- transitions
Sequence[Get
Cos Buckets Bucket List Lifecycle Rule Transition] - Specifies a period in the object's transitions.
- abort
Incomplete List<Property Map>Multipart Uploads - Set the maximum time a multipart upload is allowed to remain running.
- expirations List<Property Map>
- Specifies a period in the object's expire.
- filter
Prefix String - Object key prefix identifying one or more objects to which the rule applies.
- non
Current List<Property Map>Expirations - Specifies when non current object versions shall expire.
- non
Current List<Property Map>Transitions - Specifies when to transition objects of non current versions and the target storage class.
- transitions List<Property Map>
- Specifies a period in the object's transitions.
GetCosBucketsBucketListLifecycleRuleAbortIncompleteMultipartUpload
- Days
After doubleInitiation - Specifies the number of days after the multipart upload starts that the upload must be completed. The maximum value is 3650.
- Days
After float64Initiation - Specifies the number of days after the multipart upload starts that the upload must be completed. The maximum value is 3650.
- days
After DoubleInitiation - Specifies the number of days after the multipart upload starts that the upload must be completed. The maximum value is 3650.
- days
After numberInitiation - Specifies the number of days after the multipart upload starts that the upload must be completed. The maximum value is 3650.
- days_
after_ floatinitiation - Specifies the number of days after the multipart upload starts that the upload must be completed. The maximum value is 3650.
- days
After NumberInitiation - Specifies the number of days after the multipart upload starts that the upload must be completed. The maximum value is 3650.
GetCosBucketsBucketListLifecycleRuleExpiration
GetCosBucketsBucketListLifecycleRuleNonCurrentExpiration
- Non
Current doubleDays - Number of days after non current object creation when the specific rule action takes effect.
- Non
Current float64Days - Number of days after non current object creation when the specific rule action takes effect.
- non
Current DoubleDays - Number of days after non current object creation when the specific rule action takes effect.
- non
Current numberDays - Number of days after non current object creation when the specific rule action takes effect.
- non_
current_ floatdays - Number of days after non current object creation when the specific rule action takes effect.
- non
Current NumberDays - Number of days after non current object creation when the specific rule action takes effect.
GetCosBucketsBucketListLifecycleRuleNonCurrentTransition
- Non
Current doubleDays - Number of days after non current object creation when the specific rule action takes effect.
- Storage
Class string - Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
- Non
Current float64Days - Number of days after non current object creation when the specific rule action takes effect.
- Storage
Class string - Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
- non
Current DoubleDays - Number of days after non current object creation when the specific rule action takes effect.
- storage
Class String - Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
- non
Current numberDays - Number of days after non current object creation when the specific rule action takes effect.
- storage
Class string - Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
- non_
current_ floatdays - Number of days after non current object creation when the specific rule action takes effect.
- storage_
class str - Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
- non
Current NumberDays - Number of days after non current object creation when the specific rule action takes effect.
- storage
Class String - Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
GetCosBucketsBucketListLifecycleRuleTransition
- Date string
- Specifies the date after which you want the corresponding action to take effect.
- Days double
- Specifies the number of days after object creation when the specific rule action takes effect.
- Storage
Class string - Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
- Date string
- Specifies the date after which you want the corresponding action to take effect.
- Days float64
- Specifies the number of days after object creation when the specific rule action takes effect.
- Storage
Class string - Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
- date String
- Specifies the date after which you want the corresponding action to take effect.
- days Double
- Specifies the number of days after object creation when the specific rule action takes effect.
- storage
Class String - Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
- date string
- Specifies the date after which you want the corresponding action to take effect.
- days number
- Specifies the number of days after object creation when the specific rule action takes effect.
- storage
Class string - Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
- date str
- Specifies the date after which you want the corresponding action to take effect.
- days float
- Specifies the number of days after object creation when the specific rule action takes effect.
- storage_
class str - Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
- date String
- Specifies the date after which you want the corresponding action to take effect.
- days Number
- Specifies the number of days after object creation when the specific rule action takes effect.
- storage
Class String - Specifies the storage class to which you want the object to transition. Available values include STANDARD, STANDARD_IA and ARCHIVE.
GetCosBucketsBucketListOriginDomainRule
GetCosBucketsBucketListOriginPullRule
- Custom
Http Dictionary<string, string>Headers - Follow
Http List<string>Headers - Follow
Query boolString - Follow
Redirection bool - Host string
- Prefix string
- Priority double
- Protocol string
- Sync
Back boolTo Source
- Custom
Http map[string]stringHeaders - Follow
Http []stringHeaders - Follow
Query boolString - Follow
Redirection bool - Host string
- Prefix string
- Priority float64
- Protocol string
- Sync
Back boolTo Source
- custom
Http Map<String,String>Headers - follow
Http List<String>Headers - follow
Query BooleanString - follow
Redirection Boolean - host String
- prefix String
- priority Double
- protocol String
- sync
Back BooleanTo Source
- custom
Http {[key: string]: string}Headers - follow
Http string[]Headers - follow
Query booleanString - follow
Redirection boolean - host string
- prefix string
- priority number
- protocol string
- sync
Back booleanTo Source
- custom_
http_ Mapping[str, str]headers - follow_
http_ Sequence[str]headers - follow_
query_ boolstring - follow_
redirection bool - host str
- prefix str
- priority float
- protocol str
- sync_
back_ boolto_ source
- custom
Http Map<String>Headers - follow
Http List<String>Headers - follow
Query BooleanString - follow
Redirection Boolean - host String
- prefix String
- priority Number
- protocol String
- sync
Back BooleanTo Source
GetCosBucketsBucketListWebsite
- Error
Document string - An absolute path to the document to return in case of a 4XX error.
- Index
Document string - COS returns this index document when requests are made to the root domain or any of the subfolders.
- Error
Document string - An absolute path to the document to return in case of a 4XX error.
- Index
Document string - COS returns this index document when requests are made to the root domain or any of the subfolders.
- error
Document String - An absolute path to the document to return in case of a 4XX error.
- index
Document String - COS returns this index document when requests are made to the root domain or any of the subfolders.
- error
Document string - An absolute path to the document to return in case of a 4XX error.
- index
Document string - COS returns this index document when requests are made to the root domain or any of the subfolders.
- error_
document str - An absolute path to the document to return in case of a 4XX error.
- index_
document str - COS returns this index document when requests are made to the root domain or any of the subfolders.
- error
Document String - An absolute path to the document to return in case of a 4XX error.
- index
Document 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.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack