tencent cloud

Cloud Object Storage

Release Notes and Announcements
Release Notes
Announcements
Product Introduction
Overview
Features
Use Cases
Strengths
Concepts
Regions and Access Endpoints
Specifications and Limits
Service Regions and Service Providers
Billing
Billing Overview
Billing Method
Billable Items
Free Tier
Billing Examples
Viewing and Downloading Bill
Payment Overdue
FAQs
Getting Started
Console
Getting Started with COSBrowser
User Guide
Creating Request
Bucket
Object
Data Management
Batch Operation
Global Acceleration
Monitoring and Alarms
Operations Center
Data Processing
Content Moderation
Smart Toolbox
Data Processing Workflow
Application Integration
User Tools
Tool Overview
Installation and Configuration of Environment
COSBrowser
COSCLI (Beta)
COSCMD
COS Migration
FTP Server
Hadoop
COSDistCp
HDFS TO COS
GooseFS-Lite
Online Tools
Diagnostic Tool
Use Cases
Overview
Access Control and Permission Management
Performance Optimization
Accessing COS with AWS S3 SDK
Data Disaster Recovery and Backup
Domain Name Management Practice
Image Processing
Audio/Video Practices
Workflow
Direct Data Upload
Content Moderation
Data Security
Data Verification
Big Data Practice
COS Cost Optimization Solutions
Using COS in the Third-party Applications
Migration Guide
Migrating Local Data to COS
Migrating Data from Third-Party Cloud Storage Service to COS
Migrating Data from URL to COS
Migrating Data Within COS
Migrating Data Between HDFS and COS
Data Lake Storage
Cloud Native Datalake Storage
Metadata Accelerator
GooseFS
Data Processing
Data Processing Overview
Image Processing
Media Processing
Content Moderation
File Processing Service
File Preview
Troubleshooting
Obtaining RequestId
Slow Upload over Public Network
403 Error for COS Access
Resource Access Error
POST Object Common Exceptions
API Documentation
Introduction
Common Request Headers
Common Response Headers
Error Codes
Request Signature
Action List
Service APIs
Bucket APIs
Object APIs
Batch Operation APIs
Data Processing APIs
Job and Workflow
Content Moderation APIs
Cloud Antivirus API
SDK Documentation
SDK Overview
Preparations
Android SDK
C SDK
C++ SDK
.NET(C#) SDK
Flutter SDK
Go SDK
iOS SDK
Java SDK
JavaScript SDK
Node.js SDK
PHP SDK
Python SDK
React Native SDK
Mini Program SDK
Error Codes
Harmony SDK
Endpoint SDK Quality Optimization
Security and Compliance
Data Disaster Recovery
Data Security
Cloud Access Management
FAQs
Popular Questions
General
Billing
Domain Name Compliance Issues
Bucket Configuration
Domain Names and CDN
Object Operations
Logging and Monitoring
Permission Management
Data Processing
Data Security
Pre-signed URL Issues
SDKs
Tools
APIs
Agreements
Service Level Agreement
Privacy Policy
Data Processing And Security Agreement
Contact Us
Glossary

LIST Bucket IntelligentTiering Configurations

PDF
Mode fokus
Ukuran font
Terakhir diperbarui: 2024-11-19 17:46:17

Description

The List Bucket IntelligentTiering Configurations API returns all intelligent tiering configurations in a bucket, including low-frequency tier rules (id is default), archiving, and deep archive tier rules (id is not default). Up to 1000 rules can be configured in each bucket.
Note:
When calling this request, please ensure that you have sufficient permissions to operate the intelligent tiering configurations of the bucket.
The bucket owner has such permission by default. If you do not have the permission, you can request it from the bucket owner.

Request

Sample request

GET /?intelligent-tiering HTTP/1.1
Host: <BucketName-APPID>.cos.<Region>.myqcloud.com
Date: GMT Date
Authorization: Auth String
Note
Host: <BucketName-APPID>.cos.<Region>.myqcloud.com, where <BucketName-APPID> is the bucket name with the APPID suffix, for example, examplebucket-1250000000. For more information, refer to Bucket Overview>Basic Information and Bucket Overview>Bucket Naming Conventions documentation; <Region> refers to the available regions of COS, for details refer to Regions and Access Endpoints documentation.
Authorization: Auth String (for more details, please refer to the Request Signature documentation).

Request parameters

This API has no request parameter.

Request headers

This interface uses only common request headers. For more details, please refer to the Common Request Headers documentation.

Request body

The request body of this request is empty.

Response

Response headers

This API only returns common response headers. For more information, see Common Response Headers.

Response body

The response body returns application/xml data, showcasing the contents as follows:
<ListBucketIntelligentTieringConfigurationOutput>
<IntelligentTieringConfiguration>
<Id>default</Id>
<Status>Enabled</Status>
<Tiering>
<AccessTier>INFREQUENT</AccessTier>
<Days>30</Days>
<RequestFrequent>1</RequestFrequent>
</Tiering>
</IntelligentTieringConfiguration>
<IntelligentTieringConfiguration>
<Id></Id>
<Status></Status>
<Filter>
<And>
<Prefix>string</Prefix>
<Tag>
<Key>string</Key>
<Value>string</Value>
</Tag>
<Tag>
<Key>string</Key>
<Value>string</Value>
</Tag>
</And>
</Filter>
<Tiering>
<AccessTier>ARCHIVE_ACCESS</AccessTier>
<Days></Days>
</Tiering>
<Tiering>
<AccessTier>DEEP_ARCHIVE_ACCESS</AccessTier>
<Days></Days>
</Tiering>
</IntelligentTieringConfiguration>
<IntelligentTieringConfiguration>
<Id></Id>
<Status></Status>
<Filter>
<And>
<Prefix>string</Prefix>
<Tag>
<Key>string</Key>
<Value>string</Value>
</Tag>
<Tag>
<Key>string</Key>
<Value>string</Value>
</Tag>
</And>
</Filter>
<Tiering>
<AccessTier>ARCHIVE_ACCESS</AccessTier>
<Days></Days>
</Tiering>
<Tiering>
<AccessTier>DEEP_ARCHIVE_ACCESS</AccessTier>
<Days></Days>
</Tiering>
</IntelligentTieringConfiguration>
</ListBucketIntelligentTieringConfigurationOutput>
The nodes are described as follows:
Name
Parent Node
Description
Type
ListBucketIntelligentTieringConfigurationOutput
No
List of all intelligent tiering configuration rules in the bucket
Container
IntelligentTieringConfiguration
ListBucketIntelligentTieringConfigurationOutput
Detailed information on intelligent tiering configuration, see the XML structure in
Container

Error code

This API adheres to standardized error responses and codes. For more details, see the Error Codes document.

Real-world case

Request

The following request example demonstrates how to obtain intelligent tiering configuration rules from bucket examplebucket-1250000000.
GET /?intelligent-tiering HTTP/1.1
Date: Mon, 28 Aug 2018 02:53:38 GMT
Authorization: q-sign-algorithm=sha1&q-ak=************************************&q-sign-time=1503895278;1503895638&q-key-time=1503895278;1503895638&q-header-list=host&q-url-param-list=inventory&q-signature=****************************************
Host: examplebucket-1250000000.cos.ap-beijing.myqcloud.com

Response

After the request, COS returns the following response, indicating that there are currently the low-frequency tier rule default, and archiving and deep archive tier rules rule1 and rule2 within this bucket.
Low-frequency rule default
After 30 consecutive days without access, objects in intelligent tiering move from the frequent access tier to the infrequent access tier.
Archiving and deep archiving tier rules rule1
Effective for intelligent tiering objects in bucket examplebucket-1250000000, with the prefix folder1.
After 100 consecutive days without access, intelligent tiering objects move from the infrequent access tier to the archive tier.
After 200 consecutive days without access, intelligent tiering objects move from the archive tier to the deep archive tier.
Archiving and deep archiving tier rules rule2
Effective for intelligent tiering objects with the prefix folder2 in the bucket examplebucket-1250000000.
After 91 consecutive days without access, intelligent tiering objects move from the infrequent access tier to the archive tier.
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: 331
Date: Mon, 28 Aug 2018 02:53:39 GMT
Server: tencent-cos
x-cos-request-id: NTlhMzg1ZWVfMjQ4OGY3MGFfMWE1NF8****

<ListBucketIntelligentTieringConfigurationOutput>
<IntelligentTieringConfiguration>
<Id>default</Id>
<Status>Enabled</Status>
<Tiering>
<AccessTier>INFREQUENT</AccessTier>
<Days>30</Days>
<RequestFrequent>1</RequestFrequent>
</Tiering>
</IntelligentTieringConfiguration>
<IntelligentTieringConfiguration>
<Id>rule1</Id>
<Status>Enabled</Status>
<Filter>
<Prefix>folder1</Prefix>
</Filter>
<Tiering>
<AccessTier>ARCHIVE_ACCESS</AccessTier>
<Days>100</Days>
</Tiering>
<Tiering>
<AccessTier>DEEP_ARCHIVE_ACCESS</AccessTier>
<Days>200</Days>
</Tiering>
</IntelligentTieringConfiguration>
<IntelligentTieringConfiguration>
<Id>rule2</Id>
<Status>Enabled</Status>
<Filter>
<Prefix>folder2</Prefix>
</Filter>
<Tiering>
<AccessTier>ARCHIVE_ACCESS</AccessTier>
<Days>91</Days>
</Tiering>
</IntelligentTieringConfiguration>
</ListBucketIntelligentTieringConfigurationOutput>



Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan