forked from docs/doc-exports
OBS Python SDK 0603 Version
Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com> Co-authored-by: weihongmin1 <weihongmin1@huawei.com> Co-committed-by: weihongmin1 <weihongmin1@huawei.com>
This commit is contained in:
412
docs/obs_3rd_party/python_sdk/ALL_META.TXT.json
vendored
412
docs/obs_3rd_party/python_sdk/ALL_META.TXT.json
vendored
File diff suppressed because it is too large
Load Diff
214
docs/obs_3rd_party/python_sdk/CLASS.TXT.json
vendored
214
docs/obs_3rd_party/python_sdk/CLASS.TXT.json
vendored
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0001"></a><a name="obs_22_0001"></a>
|
||||
|
||||
<h1 class="topictitle1">Before You Start (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Before You Start</h1>
|
||||
<div id="body0000001653380734"><p id="obs_22_0001__p4829175282110">This section describes the important notes about Object Storage Service (OBS) SDK for Python.</p>
|
||||
<div class="section" id="obs_22_0001__section1799812136145"><h4 class="sectiontitle">Important Notes</h4><ul id="obs_22_0001__ul13319854171617"><li id="obs_22_0001__li1455835565112">Some features are available only in some regions. If <strong id="obs_22_0001__b1668395319432">405</strong> HTTP status code is returned for a call of a certain feature API, check whether the region supports this feature. </li><li id="obs_22_0001__li15847144810261">The namespace is incompatible with earlier OBS versions (2.1.<em id="obs_22_0001__i1365695662110">x</em>). All modules are saved in the <strong id="obs_22_0001__b1073632825315">obs</strong> package.</li><li id="obs_22_0001__li16847144813267">API functions are compatible with earlier OBS versions (2.1.<em id="obs_22_0001__i185511736103114">x</em>).</li></ul>
|
||||
</div>
|
||||
|
||||
120
docs/obs_3rd_party/python_sdk/obs_22_0100.html
vendored
120
docs/obs_3rd_party/python_sdk/obs_22_0100.html
vendored
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0300"></a><a name="obs_22_0300"></a>
|
||||
|
||||
<h1 class="topictitle1">Preparations (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Preparations</h1>
|
||||
<div id="body0000001653540046"><p id="obs_22_0300__p21029501259">Before using OBS SDK for Python to access OBS, you need to prepare the service and development environments. To prepare the service environment, you must get an account and an access key. Both of them are necessary for interaction between OBS SDK for Python and OBS. To ensure successful SDK installation and SDK-based code development and running, you should also set up a local development environment, for example, installing dependencies and development tools.</p>
|
||||
<div class="section" id="obs_22_0300__section458414452394"><h4 class="sectiontitle">Preparing Access Keys</h4><p id="obs_22_0300__en-us_topic_0000001605096753_en-us_topic_0000001526886348_adeb035c840bc4ef48f20dad1b3cb6a5a">Access keys consist of two parts: an access key ID (AK) and a secret access key (SK). OBS uses access keys to sign requests to make sure that only authorized accounts can access specified OBS resources. Programmatic access must be enabled for an IAM user before the IAM user can get access keys. Access keys are explained as follows:</p>
|
||||
<ul id="obs_22_0300__en-us_topic_0000001605096753_en-us_topic_0000001526886348_ud824bd53c08f4de298b5cae667f92384"><li id="obs_22_0300__en-us_topic_0000001605096753_en-us_topic_0000001526886348_l3b5b9503106c49a8b5489ac8e11cb945">One AK maps to only one user but one user can have multiple AKs. OBS authenticates users by their AKs.</li><li id="obs_22_0300__en-us_topic_0000001605096753_en-us_topic_0000001526886348_lebae2a3195404969a625b86fe868e0fc">An SK is required for accessing OBS. Authentication information is generated based on the SK and request headers. AKs and SKs are in one-to-one match.</li></ul>
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
<a name="obs_22_0400"></a><a name="obs_22_0400"></a>
|
||||
|
||||
<h1 class="topictitle1">Downloading and Installing OBS SDK for Python</h1>
|
||||
<h1 class="topictitle1">Downloading and Installing an SDK</h1>
|
||||
<div id="body0000001701740257"><p id="obs_22_0400__p67061927105716">This topic provides the download links and installation methods of OBS SDK for Python.</p>
|
||||
<div class="section" id="obs_22_0400__section1585712245441"><h4 class="sectiontitle">Downloading OBS SDK for Python</h4><p id="obs_22_0400__p1768148184610">Latest version of OBS Python SDK source code: <a href="https://github.com/object-storage-sdk/obs-python-sdk" target="_blank" rel="noopener noreferrer">Download</a></p>
|
||||
<div class="section" id="obs_22_0400__section1585712245441"><h4 class="sectiontitle">Downloading OBS SDK for Python</h4><p id="obs_22_0400__p239174185419">Latest version of OBS Python SDK source code: <a href="https://github.com/opentelekomcloud-community/obs-python-sdk" target="_blank" rel="noopener noreferrer">Download</a></p>
|
||||
</div>
|
||||
<div class="section" id="obs_22_0400__section31091719144715"><h4 class="sectiontitle">Installing OBS SDK for Python</h4><p id="obs_22_0400__p1083162214718">You can use the methods listed in <a href="#obs_22_0400__table6377143115452">Table 1</a> to install OBS SDK for Python.</p>
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0500"></a><a name="obs_22_0500"></a>
|
||||
|
||||
<h1 class="topictitle1">Getting Started with OBS SDK for Python</h1>
|
||||
<h1 class="topictitle1">Getting Started</h1>
|
||||
<div id="body1595143794453"><div class="section" id="obs_22_0500__section976381914443"><h4 class="sectiontitle">Creating an AK and SK</h4><p id="obs_22_0500__p738815143453">OBS employs access keys (AK and SK) for signature verification to ensure that only authorized accounts can access specified OBS resources. Detailed explanations of access keys are as follows:</p>
|
||||
<ul id="obs_22_0500__ul9927191251112"><li id="obs_22_0500__en-us_topic_0000001359833745_li13817193792118">AK is short for Access Key ID. One AK maps to only one user but one user can have multiple AKs. OBS authenticates users by their AKs.</li><li id="obs_22_0500__en-us_topic_0000001359833745_li10817637182116">SK is short for Secret Access Key, which is used to access OBS. You can generate authentication information based on SKs and request headers. An SK maps to an AK, and they group into a pair.</li></ul>
|
||||
<p id="obs_22_0500__p392741261114">Access keys are permanent. There are also temporary security credentials (consisting of an AK/SK pair and a security token). Each user can create a maximum of two valid AK/SK pairs. Temporary security credentials can only be used to access OBS within the specified validity period. Once they expire, they must be requested again. For security purposes, you are advised to use temporary security credentials to access OBS. If you want to use permanent access keys, periodically update them.</p>
|
||||
@ -59,7 +59,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="note" id="obs_22_0500__note4861899010"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_22_0500__p15280155018331">For more information, see chapter <a href="obs_22_0600.html">Initialization</a>.</p>
|
||||
<p id="obs_22_0500__p15593114434414">For details about log configuration, see <a href="obs_22_0603.html">Log Initialization (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0500__p15593114434414">For details about log configuration, see <a href="obs_22_0603.html">Log Initialization</a>.</p>
|
||||
</div></div>
|
||||
</div>
|
||||
<div class="section" id="obs_22_0500__section415735911556"><h4 class="sectiontitle">Creating a Bucket</h4><p id="obs_22_0500__p145021126115617">A bucket is a global namespace of OBS and is a data container. It functions as a root directory of a file system and can store objects.</p>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0501"></a><a name="obs_22_0501"></a>
|
||||
|
||||
<h1 class="topictitle1">Object Upload Overview (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Object Upload Overview</h1>
|
||||
<div id="body37624514"><p id="obs_22_0501__p27686757">You can use this API to upload an object to a specified bucket. In OBS, objects are basic data units that you can operate. OBS Python SDK provides many APIs for uploading objects using various methods:</p>
|
||||
<ul id="obs_22_0501__ul1524911913464"><li id="obs_22_0501__li32490914616"><a href="obs_22_0901.html">Text-based upload</a>: Character strings are used as the data source of an object.</li><li id="obs_22_0501__li1824915915461"><a href="obs_22_0902.html">Streaming upload</a>: Readable objects that contain the <strong id="obs_22_0501__b1921112595267">read</strong> attribute are used as the data source of an object.</li><li id="obs_22_0501__li20249119174610"><a href="obs_22_0903.html">File-based upload</a>: Local files are used as the data source of objects.</li><li id="obs_22_0501__li1324915934618"><a href="obs_22_1003.html">Multipart upload</a>: Large files can be uploaded in multiple parts.</li><li id="obs_22_0501__li1324917919469"><a href="obs_22_0904.html">Append upload</a>: You can append data to an object.</li><li id="obs_22_0501__li12495910463"><a href="obs_22_0905.html">Resumable upload</a>: It is an encapsulated and enhanced version of the multipart upload used for dealing with possible upload failures of large files when the network connection is unstable or a program crashes.</li><li id="obs_22_0501__li16249169154616"><a href="obs_22_0907.html">Browser-based upload</a>: You can upload objects to a specified bucket in HTML form.</li></ul>
|
||||
<p id="obs_22_0501__p12495910465">SDK supports the upload of objects whose size ranges from 0 KB to 5 GB. For streaming upload, append upload, and file-based upload, data to be uploaded in a batch cannot be larger than 5 GB. If the file is larger than 5 GB, multipart upload (whose part size is smaller than 5 GB) is suitable. Browser-based upload allows files to be uploaded through a browser.</p>
|
||||
@ -8,7 +8,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0900.html">Object-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
<a name="obs_22_0502"></a><a name="obs_22_0502"></a>
|
||||
|
||||
<h1 class="topictitle1">Object Download Overview (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Object Download Overview</h1>
|
||||
<div id="body1595942865184"><p id="obs_22_0502__p684819541493">OBS Python SDK provides abundant APIs for downloading objects using various methods:</p>
|
||||
<ul id="obs_22_0502__ul9850125420493"><li id="obs_22_0502__li8850185411496"><a href="obs_22_0908.html">Binary Download</a></li><li id="obs_22_0502__li38501254164911"><a href="obs_22_0909.html">Streaming Download</a></li><li id="obs_22_0502__li15850165444911"><a href="obs_22_0910.html">File-Based Download</a></li><li id="obs_22_0502__li1385085414499"><a href="obs_22_0911.html">Partial Download</a></li><li id="obs_22_0502__li148501554134913"><a href="obs_22_0912.html">Resumable Download</a></li></ul>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0900.html">Object-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
10
docs/obs_3rd_party/python_sdk/obs_22_0600.html
vendored
10
docs/obs_3rd_party/python_sdk/obs_22_0600.html
vendored
@ -1,16 +1,16 @@
|
||||
<a name="obs_22_0600"></a><a name="obs_22_0600"></a>
|
||||
|
||||
<h1 class="topictitle1">Initialization (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Initialization</h1>
|
||||
<div id="body2112619"></div>
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0601.html">Initializing an Instance of ObsClient (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0601.html">Initializing an Instance of ObsClient</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0602.html">Initializing a BucketClient Instance (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0602.html">Initializing a bucketClient Instance</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0603.html">Log Initialization (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0603.html">Log Initialization</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0604.html">SDK Common Results (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0604.html">SDK Common Result Objects</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0601"></a><a name="obs_22_0601"></a>
|
||||
|
||||
<h1 class="topictitle1">Initializing an Instance of ObsClient (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Initializing an Instance of ObsClient</h1>
|
||||
<div id="body1530758089140"><div class="section" id="obs_22_0601__section102911694610"><h4 class="sectiontitle">Function</h4><p id="obs_22_0601__p15611114616">ObsClient functions as the Python client for accessing OBS. It offers users a series of APIs for interaction with OBS. These APIs are used for managing resources, such as buckets and objects, stored in OBS.</p>
|
||||
</div>
|
||||
<div class="section" id="obs_22_0601__section31278690"><h4 class="sectiontitle">Method</h4><pre class="screen" id="obs_22_0601__screen30860292192113">ObsClient(access_key_id, secret_access_key, server)</pre>
|
||||
@ -270,7 +270,7 @@ obsClient.close()</pre>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0600.html">Initialization (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0600.html">Initialization</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0602"></a><a name="obs_22_0602"></a>
|
||||
|
||||
<h1 class="topictitle1">Initializing a BucketClient Instance (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Initializing a bucketClient Instance</h1>
|
||||
<div id="body1595942865593"><div class="section" id="obs_22_0602__section102911694610"><h4 class="sectiontitle">Function</h4><p id="obs_22_0602__p1122311515463">BucketClient functions as the Python client for accessing an OBS bucket. It offers users a series of APIs for interaction with OBS. These APIs are used for managing resources, such as buckets and objects, stored in OBS.</p>
|
||||
<p id="obs_22_0602__p15611114616">Except for <strong id="obs_22_0602__b1481720219513">ObsClient.listBuckets</strong>, <strong id="obs_22_0602__b3817621953">ObsClient.downloadFile</strong>, <strong id="obs_22_0602__b15817521050">Obsclient.uploadFile</strong>, <strong id="obs_22_0602__b28181211451">ObsClient.createPostSignature</strong>, and <strong id="obs_22_0602__b118187218517">ObsClient.createSignedUrl</strong>, <strong id="obs_22_0602__b48182211959">BucketClient</strong> implements the same APIs as <strong id="obs_22_0602__b1981815213514">ObsClient</strong>, including the same functions and parameters, with the <strong id="obs_22_0602__b681852112518">bucketName</strong> parameter omitted.</p>
|
||||
</div>
|
||||
@ -63,7 +63,7 @@ else:
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0600.html">Initialization (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0600.html">Initialization</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0603"></a><a name="obs_22_0603"></a>
|
||||
|
||||
<h1 class="topictitle1">Log Initialization (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Log Initialization</h1>
|
||||
<div id="body1507779665220"><div class="section" id="obs_22_0603__section36055806191243"><h4 class="sectiontitle">Function</h4><p id="obs_22_0603__p12766112624618">You can enable the SDK log function to record log information generated during API calling into log files for subsequent data analysis or fault location. The procedure is as follows:</p>
|
||||
<ol id="obs_22_0603__ol7311185020504"><li id="obs_22_0603__li1031112504504">Find file <strong id="obs_22_0603__b375116013377">log.conf</strong> in the OBS Python SDK. The content format is as follows:<pre class="screen" id="obs_22_0603__screen14938148111716">[LOGCONF]
|
||||
|
||||
@ -131,7 +131,7 @@ obsClient.close()</pre>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0600.html">Initialization (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0600.html">Initialization</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0604"></a><a name="obs_22_0604"></a>
|
||||
|
||||
<h1 class="topictitle1">SDK Common Results (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">SDK Common Result Objects</h1>
|
||||
<div id="body1507779665220"><div class="section" id="obs_22_0604__section20322185992312"><h4 class="sectiontitle">Function</h4><p id="obs_22_0604__p1457016282412">Each time an ObsClient related API is called (excluding <strong id="obs_22_0604__b45183682595934">ObsClient.createSignedUrl</strong> and <strong id="obs_22_0604__b103681538195934">ObsClient.createPostSignature</strong>), an SDK common result object will be returned. You can obtain the HTTP status code from this object to check whether the operation is successful.</p>
|
||||
</div>
|
||||
<div class="section" id="obs_22_0604__section178197215240"><h4 class="sectiontitle">Parameter Description</h4>
|
||||
@ -109,7 +109,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.2.2.2.4.1.2 "><p id="obs_22_0604__p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.2.2.2.4.1.3 "><p id="obs_22_0604__p75211332184916"><strong id="obs_22_0604__b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0604__p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0604__b171840579595934">status</strong> is larger than <strong id="obs_22_0604__b71123487895934">300</strong>, the value of <strong id="obs_22_0604__b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0604__p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0604__b171840579595934">status</strong> is larger than <strong id="obs_22_0604__b71123487895934">300</strong>, the value of <strong id="obs_22_0604__b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0604__p6133570483"><strong id="obs_22_0604__b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0604__p151331171483">None</p>
|
||||
</td>
|
||||
@ -148,7 +148,7 @@ except:
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0600.html">Initialization (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0600.html">Initialization</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
70
docs/obs_3rd_party/python_sdk/obs_22_0800.html
vendored
70
docs/obs_3rd_party/python_sdk/obs_22_0800.html
vendored
File diff suppressed because it is too large
Load Diff
50
docs/obs_3rd_party/python_sdk/obs_22_0801.html
vendored
50
docs/obs_3rd_party/python_sdk/obs_22_0801.html
vendored
File diff suppressed because it is too large
Load Diff
18
docs/obs_3rd_party/python_sdk/obs_22_0802.html
vendored
18
docs/obs_3rd_party/python_sdk/obs_22_0802.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0802"></a><a name="obs_22_0802"></a>
|
||||
|
||||
<h1 class="topictitle1">Obtaining a Bucket List (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Obtaining a Bucket List</h1>
|
||||
<div id="body0000001672389261"><div class="section" id="obs_22_0802__section1433211103"><h4 class="sectiontitle">Function</h4><p id="obs_22_0802__p463311274414">OBS buckets are containers for storing objects you upload to OBS. This API returns a list of all buckets that meet the specified conditions in all regions of the current account. Returned buckets are listed in alphabetical order by bucket name.</p>
|
||||
</div>
|
||||
<div class="section" id="obs_22_0802__section419615157204"><h4 class="sectiontitle">Restrictions</h4><ul id="obs_22_0802__ul84401124315"><li id="obs_22_0802__li4440324216">To obtain a bucket list, you must have the <strong id="obs_22_0802__b194413111916">obs:bucket:ListAllMyBuckets</strong> permission. </li></ul>
|
||||
@ -38,11 +38,11 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="15.6%" headers="mcps1.3.4.2.2.5.1.3 "><p id="obs_22_0802__p1110181719498">No</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="48.120000000000005%" headers="mcps1.3.4.2.2.5.1.4 "><p id="obs_22_0802__p1683455912257"><strong id="obs_22_0802__b1968537301">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="48.120000000000005%" headers="mcps1.3.4.2.2.5.1.4 "><p id="obs_22_0802__p1683455912257"><strong id="obs_22_0802__b1932566123">Explanation:</strong></p>
|
||||
<p id="obs_22_0802__p457992954813">Extension headers.</p>
|
||||
<p id="obs_22_0802__p111101117184915"><strong id="obs_22_0802__b533519383">Value range</strong>:</p>
|
||||
<p id="obs_22_0802__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0802__p183465982516"><strong id="obs_22_0802__b1743409983">Default value</strong>:</p>
|
||||
<p id="obs_22_0802__p111101117184915"><strong id="obs_22_0802__b1524659353">Value range</strong>:</p>
|
||||
<p id="obs_22_0802__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0802__p183465982516"><strong id="obs_22_0802__b701437250">Default value</strong>:</p>
|
||||
<p id="obs_22_0802__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -172,7 +172,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0802__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0802__obs_22_0604_p75211332184916"><strong id="obs_22_0802__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0802__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0802__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0802__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0802__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0802__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0802__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0802__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0802__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0802__obs_22_0604_p6133570483"><strong id="obs_22_0802__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0802__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -306,7 +306,7 @@
|
||||
<td class="cellrowborder" valign="top" width="40.35%" headers="mcps1.3.9.2.5.1.4 "><p id="obs_22_0802__obs_22_1405_en-us_topic_0262515643_p1639248142514"><strong id="obs_22_0802__obs_22_1405_b174337174761039">Explanation:</strong></p>
|
||||
<p id="obs_22_0802__obs_22_1405_en-us_topic_0262515643_p1869615514427">Account (domain) ID of the owner</p>
|
||||
<p id="obs_22_0802__obs_22_1405_p43461137475"><strong id="obs_22_0802__obs_22_1405_b196793836474724">Value range</strong>:</p>
|
||||
<p id="obs_22_0802__obs_22_1405_p983991364712">To obtain the account ID, see <a href="obs_22_1703.html">How Do I Get My Account ID and IAM User ID? (SDK for Python)</a></p>
|
||||
<p id="obs_22_0802__obs_22_1405_p983991364712">To obtain the account ID, see <a href="obs_22_1703.html">How Do I Get My Account ID and IAM User ID?</a></p>
|
||||
<p id="obs_22_0802__obs_22_1405_en-us_topic_0262515643_p13155329112615"><strong id="obs_22_0802__obs_22_1405_b44189787461020">Default value</strong>:</p>
|
||||
<p id="obs_22_0802__obs_22_1405_en-us_topic_0262515643_p31594371351">None</p>
|
||||
</td>
|
||||
@ -320,7 +320,7 @@
|
||||
<td class="cellrowborder" valign="top" width="40.35%" headers="mcps1.3.9.2.5.1.4 "><p id="obs_22_0802__obs_22_1405_en-us_topic_0262515643_p158281411201010"><strong id="obs_22_0802__obs_22_1405_b186444468661039">Explanation:</strong></p>
|
||||
<p id="obs_22_0802__obs_22_1405_en-us_topic_0262515643_p5535185914416">Account name of the owner</p>
|
||||
<p id="obs_22_0802__obs_22_1405_p198820188318"><strong id="obs_22_0802__obs_22_1405_b49799967374724">Value range</strong>:</p>
|
||||
<p id="obs_22_0802__obs_22_1405_p6979122314320">To obtain the account ID, see <a href="obs_22_1703.html">How Do I Get My Account ID and IAM User ID? (SDK for Python)</a></p>
|
||||
<p id="obs_22_0802__obs_22_1405_p6979122314320">To obtain the account ID, see <a href="obs_22_1703.html">How Do I Get My Account ID and IAM User ID?</a></p>
|
||||
<p id="obs_22_0802__obs_22_1405_en-us_topic_0262515643_p18288119103"><strong id="obs_22_0802__obs_22_1405_b130703454161020">Default value</strong>:</p>
|
||||
<p id="obs_22_0802__obs_22_1405_en-us_topic_0262515643_p1913241466">None</p>
|
||||
</td>
|
||||
@ -414,7 +414,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
10
docs/obs_3rd_party/python_sdk/obs_22_0803.html
vendored
10
docs/obs_3rd_party/python_sdk/obs_22_0803.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0803"></a><a name="obs_22_0803"></a>
|
||||
|
||||
<h1 class="topictitle1">Checking Whether a Bucket Exists (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Checking Whether a Bucket Exists</h1>
|
||||
<div id="body0000001672469377"><div class="section" id="obs_22_0803__section1345533339"><h4 class="sectiontitle">Function</h4><p id="obs_22_0803__p84553317318">This API checks whether a bucket exists. If an HTTP status code <strong id="obs_22_0803__b1470410594504">200</strong> is returned, the bucket exists. If <strong id="obs_22_0803__b970455995010">404</strong> is returned, the bucket does not exist.</p>
|
||||
</div>
|
||||
<div class="section" id="obs_22_0803__section813083414353"><h4 class="sectiontitle">Restrictions</h4><ul id="obs_22_0803__ul84401124315"><li id="obs_22_0803__li4440324216">To determine whether a bucket exists, you must be the bucket owner or have the required permission (<strong id="obs_22_0803__b1143974851819">obs:bucket:HeadBucket</strong> in IAM or <strong id="obs_22_0803__b1043984891814">HeadBucket</strong> in a bucket policy). </li></ul>
|
||||
@ -42,8 +42,8 @@
|
||||
<td class="cellrowborder" valign="top" width="45.68%" headers="mcps1.3.4.2.2.5.1.4 "><p id="obs_22_0803__p1683455912257"><strong id="obs_22_0803__b20989224192713">Explanation:</strong></p>
|
||||
<p id="obs_22_0803__p457992954813">Extension headers.</p>
|
||||
<p id="obs_22_0803__p111101117184915"><strong id="obs_22_0803__b78345594252">Value range</strong>:</p>
|
||||
<p id="obs_22_0803__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0803__p183465982516"><strong id="obs_22_0803__b709356958">Default value</strong>:</p>
|
||||
<p id="obs_22_0803__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0803__p183465982516"><strong id="obs_22_0803__b1470923814">Default value</strong>:</p>
|
||||
<p id="obs_22_0803__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -173,7 +173,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0803__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0803__obs_22_0604_p75211332184916"><strong id="obs_22_0803__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0803__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0803__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0803__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0803__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0803__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0803__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0803__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0803__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0803__obs_22_0604_p6133570483"><strong id="obs_22_0803__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0803__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -260,7 +260,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
10
docs/obs_3rd_party/python_sdk/obs_22_0804.html
vendored
10
docs/obs_3rd_party/python_sdk/obs_22_0804.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0804"></a><a name="obs_22_0804"></a>
|
||||
|
||||
<h1 class="topictitle1">Deleting a Bucket (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Deleting a Bucket</h1>
|
||||
<div id="body0000001623589484"><div class="section" id="obs_22_0804__section95426281159"><h4 class="sectiontitle">Function</h4><p id="obs_22_0804__p779255617525">This API deletes an empty bucket. You can delete buckets you no longer use to free up space. The name of a deleted bucket can be reused for another bucket at least 30 minutes after the deletion.</p>
|
||||
</div>
|
||||
<div class="section" id="obs_22_0804__section089717141092"><h4 class="sectiontitle">Restrictions</h4><ul id="obs_22_0804__ul84401124315"><li id="obs_22_0804__li720514011451">Only empty buckets can be deleted. An empty bucket means that:<ul id="obs_22_0804__ul137921256155210"><li id="obs_22_0804__li3921909194">The bucket does not contain any object (including noncurrent versions and delete markers).</li><li id="obs_22_0804__li117929562523">The bucket does not contain any fragments, which means that there are no multipart uploads that have not been completed in the bucket.</li></ul>
|
||||
@ -43,8 +43,8 @@
|
||||
<td class="cellrowborder" valign="top" width="44.74%" headers="mcps1.3.4.2.2.5.1.4 "><p id="obs_22_0804__p1683455912257"><strong id="obs_22_0804__b16892112518">Explanation:</strong></p>
|
||||
<p id="obs_22_0804__p457992954813">Extension headers.</p>
|
||||
<p id="obs_22_0804__p111101117184915"><strong id="obs_22_0804__b78345594252">Value range</strong>:</p>
|
||||
<p id="obs_22_0804__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0804__p183465982516"><strong id="obs_22_0804__b1622858158">Default value</strong>:</p>
|
||||
<p id="obs_22_0804__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0804__p183465982516"><strong id="obs_22_0804__b128936874">Default value</strong>:</p>
|
||||
<p id="obs_22_0804__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -174,7 +174,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0804__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0804__obs_22_0604_p75211332184916"><strong id="obs_22_0804__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0804__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0804__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0804__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0804__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0804__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0804__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0804__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0804__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0804__obs_22_0604_p6133570483"><strong id="obs_22_0804__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0804__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -253,7 +253,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
50
docs/obs_3rd_party/python_sdk/obs_22_0805.html
vendored
50
docs/obs_3rd_party/python_sdk/obs_22_0805.html
vendored
File diff suppressed because it is too large
Load Diff
20
docs/obs_3rd_party/python_sdk/obs_22_0806.html
vendored
20
docs/obs_3rd_party/python_sdk/obs_22_0806.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0806"></a><a name="obs_22_0806"></a>
|
||||
|
||||
<h1 class="topictitle1">Listing Object Versions in a Bucket (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Listing Object Versions in a Bucket</h1>
|
||||
<div id="body0000001623909364"><div class="section" id="obs_22_0806__section4647122210617"><h4 class="sectiontitle">Function</h4><p id="obs_22_0806__p839811491199">This API lists some or all of the object versions in a bucket. You can use parameters such as the prefix, number of returned object versions, and start position to list the object versions that meet specified criteria. Returned object versions are listed in alphabetical order by object name.</p>
|
||||
</div>
|
||||
<div class="section" id="obs_22_0806__section326152964516"><h4 class="sectiontitle">Restrictions</h4><ul id="obs_22_0806__ul84401124315"><li id="obs_22_0806__li4440324216">To list object versions in a bucket, you must be the bucket owner or have the required permission (<strong id="obs_22_0806__b1471218441766">obs:bucket:ListBucketVersions</strong> in IAM or <strong id="obs_22_0806__b9713644663">ListBucketVersions</strong> in a bucket policy). </li></ul>
|
||||
@ -55,11 +55,11 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="16.168383161683835%" headers="mcps1.3.4.2.2.5.1.3 "><p id="obs_22_0806__p1110181719498">No</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="43.79562043795621%" headers="mcps1.3.4.2.2.5.1.4 "><p id="obs_22_0806__p1683455912257"><strong id="obs_22_0806__b1658388938">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="43.79562043795621%" headers="mcps1.3.4.2.2.5.1.4 "><p id="obs_22_0806__p1683455912257"><strong id="obs_22_0806__b1015145680">Explanation:</strong></p>
|
||||
<p id="obs_22_0806__p457992954813">Extension headers.</p>
|
||||
<p id="obs_22_0806__p111101117184915"><strong id="obs_22_0806__b132644629">Value range</strong>:</p>
|
||||
<p id="obs_22_0806__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0806__p183465982516"><strong id="obs_22_0806__b1389961797">Default value</strong>:</p>
|
||||
<p id="obs_22_0806__p111101117184915"><strong id="obs_22_0806__b328936363">Value range</strong>:</p>
|
||||
<p id="obs_22_0806__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0806__p183465982516"><strong id="obs_22_0806__b1331850374">Default value</strong>:</p>
|
||||
<p id="obs_22_0806__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -281,7 +281,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0806__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0806__obs_22_0604_p75211332184916"><strong id="obs_22_0806__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0806__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0806__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0806__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0806__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0806__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0806__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0806__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0806__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0806__obs_22_0604_p6133570483"><strong id="obs_22_0806__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0806__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -618,7 +618,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="55.83441655834417%" headers="mcps1.3.5.8.2.4.1.3 "><p id="obs_22_0806__p6555123185714"><strong id="obs_22_0806__b175551039578">Explanation:</strong></p>
|
||||
<p id="obs_22_0806__p15893102595714">Object name. An object is uniquely identified by an object name in a bucket. An object name is a complete path that does not contain the bucket name.</p>
|
||||
<p id="obs_22_0806__p16747181463412"><strong id="obs_22_0806__b1143188452">Value range</strong>:</p>
|
||||
<p id="obs_22_0806__p16747181463412"><strong id="obs_22_0806__b782979975">Value range</strong>:</p>
|
||||
<p id="obs_22_0806__p1334511024712">The value must contain 1 to 1,024 characters.</p>
|
||||
<p id="obs_22_0806__p743610348253"><strong id="obs_22_0806__b743653492510">Default value</strong>:</p>
|
||||
<p id="obs_22_0806__p5436173442519">None</p>
|
||||
@ -693,7 +693,7 @@
|
||||
<td class="cellrowborder" valign="top" width="40.35%" headers="mcps1.3.5.9.2.5.1.4 "><p id="obs_22_0806__obs_22_1405_en-us_topic_0262515643_p1639248142514"><strong id="obs_22_0806__obs_22_1405_b174337174761039">Explanation:</strong></p>
|
||||
<p id="obs_22_0806__obs_22_1405_en-us_topic_0262515643_p1869615514427">Account (domain) ID of the owner</p>
|
||||
<p id="obs_22_0806__obs_22_1405_p43461137475"><strong id="obs_22_0806__obs_22_1405_b196793836474724">Value range</strong>:</p>
|
||||
<p id="obs_22_0806__obs_22_1405_p983991364712">To obtain the account ID, see <a href="obs_22_1703.html">How Do I Get My Account ID and IAM User ID? (SDK for Python)</a></p>
|
||||
<p id="obs_22_0806__obs_22_1405_p983991364712">To obtain the account ID, see <a href="obs_22_1703.html">How Do I Get My Account ID and IAM User ID?</a></p>
|
||||
<p id="obs_22_0806__obs_22_1405_en-us_topic_0262515643_p13155329112615"><strong id="obs_22_0806__obs_22_1405_b44189787461020">Default value</strong>:</p>
|
||||
<p id="obs_22_0806__obs_22_1405_en-us_topic_0262515643_p31594371351">None</p>
|
||||
</td>
|
||||
@ -707,7 +707,7 @@
|
||||
<td class="cellrowborder" valign="top" width="40.35%" headers="mcps1.3.5.9.2.5.1.4 "><p id="obs_22_0806__obs_22_1405_en-us_topic_0262515643_p158281411201010"><strong id="obs_22_0806__obs_22_1405_b186444468661039">Explanation:</strong></p>
|
||||
<p id="obs_22_0806__obs_22_1405_en-us_topic_0262515643_p5535185914416">Account name of the owner</p>
|
||||
<p id="obs_22_0806__obs_22_1405_p198820188318"><strong id="obs_22_0806__obs_22_1405_b49799967374724">Value range</strong>:</p>
|
||||
<p id="obs_22_0806__obs_22_1405_p6979122314320">To obtain the account ID, see <a href="obs_22_1703.html">How Do I Get My Account ID and IAM User ID? (SDK for Python)</a></p>
|
||||
<p id="obs_22_0806__obs_22_1405_p6979122314320">To obtain the account ID, see <a href="obs_22_1703.html">How Do I Get My Account ID and IAM User ID?</a></p>
|
||||
<p id="obs_22_0806__obs_22_1405_en-us_topic_0262515643_p18288119103"><strong id="obs_22_0806__obs_22_1405_b130703454161020">Default value</strong>:</p>
|
||||
<p id="obs_22_0806__obs_22_1405_en-us_topic_0262515643_p1913241466">None</p>
|
||||
</td>
|
||||
@ -906,7 +906,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
48
docs/obs_3rd_party/python_sdk/obs_22_0807.html
vendored
48
docs/obs_3rd_party/python_sdk/obs_22_0807.html
vendored
File diff suppressed because it is too large
Load Diff
14
docs/obs_3rd_party/python_sdk/obs_22_0808.html
vendored
14
docs/obs_3rd_party/python_sdk/obs_22_0808.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0808"></a><a name="obs_22_0808"></a>
|
||||
|
||||
<h1 class="topictitle1">Obtaining the Region of a Bucket (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Obtaining the Region of a Bucket</h1>
|
||||
<div id="body0000001623749392"><div class="section" id="obs_22_0808__section165242589813"><h4 class="sectiontitle">Function</h4><p id="obs_22_0808__p1752413589811">This API returns the region of a bucket.</p>
|
||||
</div>
|
||||
<div class="section" id="obs_22_0808__section6271204413167"><h4 class="sectiontitle">Restrictions</h4><ul id="obs_22_0808__ul84401124315"><li id="obs_22_0808__li4440324216">To obtain the region of a bucket, you must be the bucket owner or have the required permission (<strong id="obs_22_0808__b768620384348">obs:bucket:GetBucketLocation</strong> in IAM or <strong id="obs_22_0808__b268683813349">GetBucketLocation</strong> in a bucket policy). </li></ul>
|
||||
@ -42,8 +42,8 @@
|
||||
<td class="cellrowborder" valign="top" width="43.230000000000004%" headers="mcps1.3.4.2.2.5.1.4 "><p id="obs_22_0808__p1683455912257"><strong id="obs_22_0808__b16892112518">Explanation:</strong></p>
|
||||
<p id="obs_22_0808__p457992954813">Extension headers</p>
|
||||
<p id="obs_22_0808__p111101117184915"><strong id="obs_22_0808__b78345594252">Value range</strong>:</p>
|
||||
<p id="obs_22_0808__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0808__p183465982516"><strong id="obs_22_0808__b1254691167">Default value</strong>:</p>
|
||||
<p id="obs_22_0808__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0808__p183465982516"><strong id="obs_22_0808__b218557945">Default value</strong>:</p>
|
||||
<p id="obs_22_0808__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -60,7 +60,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0808__row777622624716"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.2.2.3.1.1 "><p id="obs_22_0808__p109891419105511"><a href="#obs_22_0808__table20121844173311">GetResult</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.2.3.1.2 "><p id="obs_22_0808__p199512046114918"><strong id="obs_22_0808__b41130219">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.2.3.1.2 "><p id="obs_22_0808__p199512046114918"><strong id="obs_22_0808__b441951949">Explanation:</strong></p>
|
||||
<p id="obs_22_0808__p1669263124612">SDK common results</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -173,7 +173,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0808__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0808__obs_22_0604_p75211332184916"><strong id="obs_22_0808__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0808__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0808__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0808__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0808__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0808__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0808__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0808__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0808__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0808__obs_22_0604_p6133570483"><strong id="obs_22_0808__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0808__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -190,7 +190,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0808__row78545416278"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.4.2.3.1.1 "><p id="obs_22_0808__p1514014518288"><a href="#obs_22_0808__table923634115172">LocationResponse</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.4.2.3.1.2 "><p id="obs_22_0808__p19498359184914"><strong id="obs_22_0808__b1820077452">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.4.2.3.1.2 "><p id="obs_22_0808__p19498359184914"><strong id="obs_22_0808__b1258880659">Explanation:</strong></p>
|
||||
<p id="obs_22_0808__p20471435287">Response to the request for obtaining a bucket location</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -293,7 +293,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
14
docs/obs_3rd_party/python_sdk/obs_22_0809.html
vendored
14
docs/obs_3rd_party/python_sdk/obs_22_0809.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0809"></a><a name="obs_22_0809"></a>
|
||||
|
||||
<h1 class="topictitle1">Obtaining Storage Information of a Bucket (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Obtaining Storage Information of a Bucket</h1>
|
||||
<div id="body0000001672629261"><div class="section" id="obs_22_0809__section1329115342092"><h4 class="sectiontitle">Function</h4><p id="obs_22_0809__p13866258182">This API returns the storage information of a bucket, including the number of objects and the space occupied by the objects in the bucket.</p>
|
||||
<div class="note" id="obs_22_0809__note20345122115442"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="obs_22_0809__p33451821114410">OBS measures bucket storage statistics in the background and does not update the storage information in real time. So, you are advised not to perform real-time verification on the storage information.</p>
|
||||
</div></div>
|
||||
@ -44,8 +44,8 @@
|
||||
<td class="cellrowborder" valign="top" width="42.86%" headers="mcps1.3.4.2.2.5.1.4 "><p id="obs_22_0809__p1683455912257"><strong id="obs_22_0809__b16892112518">Explanation:</strong></p>
|
||||
<p id="obs_22_0809__p457992954813">Extension headers</p>
|
||||
<p id="obs_22_0809__p111101117184915"><strong id="obs_22_0809__b78345594252">Value range</strong>:</p>
|
||||
<p id="obs_22_0809__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0809__p183465982516"><strong id="obs_22_0809__b640351877">Default value</strong>:</p>
|
||||
<p id="obs_22_0809__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0809__p183465982516"><strong id="obs_22_0809__b1744598523">Default value</strong>:</p>
|
||||
<p id="obs_22_0809__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -62,7 +62,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0809__row777622624716"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.2.2.3.1.1 "><p id="obs_22_0809__p109891419105511"><a href="#obs_22_0809__table20121844173311">GetResult</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.2.3.1.2 "><p id="obs_22_0809__p1876611149533"><strong id="obs_22_0809__b1685194096">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.2.3.1.2 "><p id="obs_22_0809__p1876611149533"><strong id="obs_22_0809__b1682303534">Explanation:</strong></p>
|
||||
<p id="obs_22_0809__p1669263124612">SDK common results</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -175,7 +175,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0809__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0809__obs_22_0604_p75211332184916"><strong id="obs_22_0809__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0809__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0809__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0809__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0809__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0809__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0809__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0809__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0809__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0809__obs_22_0604_p6133570483"><strong id="obs_22_0809__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0809__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -192,7 +192,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0809__row78545416278"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.4.2.3.1.1 "><p id="obs_22_0809__p1514014518288"><a href="#obs_22_0809__table10111137191818">GetBucketStorageInfoResponse</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.4.2.3.1.2 "><p id="obs_22_0809__p332145495311"><strong id="obs_22_0809__b538174942">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.4.2.3.1.2 "><p id="obs_22_0809__p332145495311"><strong id="obs_22_0809__b1596170159">Explanation:</strong></p>
|
||||
<p id="obs_22_0809__p20471435287">Response result of the request for obtaining storage information about a bucket</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -306,7 +306,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
14
docs/obs_3rd_party/python_sdk/obs_22_0810.html
vendored
14
docs/obs_3rd_party/python_sdk/obs_22_0810.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0810"></a><a name="obs_22_0810"></a>
|
||||
|
||||
<h1 class="topictitle1">Configuring a Storage Quota (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Configuring a Storage Quota</h1>
|
||||
<div id="body0000001672389265"><div class="section" id="obs_22_0810__section14649111515108"><h4 class="sectiontitle">Function</h4><p id="obs_22_0810__p15381125425715">A quota limits the maximum capacity allowed in a bucket. By default, there is no limit on the storage capacity of the entire OBS system or a single bucket, and any number of objects can be stored. You can set a storage quota to control the total size of objects that can be uploaded to the bucket. After the storage quota has been reached, object upload will fail.</p>
|
||||
<p id="obs_22_0810__p1868012212054">A quota limit does not apply to the objects uploaded before the quota is configured. If the specified quota is already smaller than the total size of existing objects in the bucket, the existing objects in the bucket will not be deleted, but no more object can be uploaded to the bucket later. In this case, to upload new objects, you must delete some existing objects to make the used space below the quota limit.</p>
|
||||
</div>
|
||||
@ -56,9 +56,9 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="44.55%" headers="mcps1.3.4.2.2.5.1.4 "><p id="obs_22_0810__p1683455912257"><strong id="obs_22_0810__b16892112518">Explanation:</strong></p>
|
||||
<p id="obs_22_0810__p457992954813">Extension headers</p>
|
||||
<p id="obs_22_0810__p111101117184915"><strong id="obs_22_0810__b521776594">Value range</strong>:</p>
|
||||
<p id="obs_22_0810__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0810__p183465982516"><strong id="obs_22_0810__b1037603151">Default value</strong>:</p>
|
||||
<p id="obs_22_0810__p111101117184915"><strong id="obs_22_0810__b324833823">Value range</strong>:</p>
|
||||
<p id="obs_22_0810__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0810__p183465982516"><strong id="obs_22_0810__b903763953">Default value</strong>:</p>
|
||||
<p id="obs_22_0810__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -75,7 +75,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0810__row777622624716"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.2.2.3.1.1 "><p id="obs_22_0810__p109891419105511"><a href="#obs_22_0810__table20121844173311">GetResult</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.2.3.1.2 "><p id="obs_22_0810__p11979141111"><strong id="obs_22_0810__b1091196880">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.2.3.1.2 "><p id="obs_22_0810__p11979141111"><strong id="obs_22_0810__b1999336497">Explanation:</strong></p>
|
||||
<p id="obs_22_0810__p1669263124612">SDK common results</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -188,7 +188,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0810__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0810__obs_22_0604_p75211332184916"><strong id="obs_22_0810__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0810__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0810__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0810__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0810__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0810__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0810__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0810__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0810__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0810__obs_22_0604_p6133570483"><strong id="obs_22_0810__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0810__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -273,7 +273,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
14
docs/obs_3rd_party/python_sdk/obs_22_0811.html
vendored
14
docs/obs_3rd_party/python_sdk/obs_22_0811.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0811"></a><a name="obs_22_0811"></a>
|
||||
|
||||
<h1 class="topictitle1">Obtaining a Bucket Storage Quota (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Obtaining a Bucket Storage Quota</h1>
|
||||
<div id="body0000001672469381"><div class="section" id="obs_22_0811__section016612589104"><h4 class="sectiontitle">Function</h4><p id="obs_22_0811__p4166058151010">This API returns the storage quota (upper limit of the storage capacity) of a bucket. If the quota is 0, there is no upper limit on the bucket capacity.</p>
|
||||
</div>
|
||||
<div class="section" id="obs_22_0811__section33112029112115"><h4 class="sectiontitle">Restrictions</h4><ul id="obs_22_0811__ul84401124315"><li id="obs_22_0811__li1346220498562">A bucket storage quota must be a non-negative integer expressed in bytes. The maximum value is 2<sup id="obs_22_0811__sup8039048">63</sup> – 1.</li><li id="obs_22_0811__li65201446114918">A bucket owner with a frozen account in arrears is not allowed to query the bucket storage quota.</li><li id="obs_22_0811__li4440324216">To obtain the storage quota of a bucket, you must be the bucket owner or have the required permission (<strong id="obs_22_0811__b2209112811011">obs:bucket:GetBucketQuota</strong> in IAM or <strong id="obs_22_0811__b142092281607">GetBucketQuota</strong> in a bucket policy). </li></ul>
|
||||
@ -42,8 +42,8 @@
|
||||
<td class="cellrowborder" valign="top" width="43.984398439843986%" headers="mcps1.3.4.2.2.5.1.4 "><p id="obs_22_0811__p1683455912257"><strong id="obs_22_0811__b16892112518">Explanation:</strong></p>
|
||||
<p id="obs_22_0811__p457992954813">Extension headers</p>
|
||||
<p id="obs_22_0811__p111101117184915"><strong id="obs_22_0811__b78345594252">Value range</strong>:</p>
|
||||
<p id="obs_22_0811__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0811__p183465982516"><strong id="obs_22_0811__b1666050320">Default value</strong>:</p>
|
||||
<p id="obs_22_0811__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0811__p183465982516"><strong id="obs_22_0811__b304687989">Default value</strong>:</p>
|
||||
<p id="obs_22_0811__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -60,7 +60,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0811__row777622624716"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.2.2.3.1.1 "><p id="obs_22_0811__p109891419105511"><a href="#obs_22_0811__table20121844173311">GetResult</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.2.3.1.2 "><p id="obs_22_0811__p9303154181313"><strong id="obs_22_0811__b1313155190">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.2.3.1.2 "><p id="obs_22_0811__p9303154181313"><strong id="obs_22_0811__b88104560">Explanation:</strong></p>
|
||||
<p id="obs_22_0811__p1669263124612">SDK common results</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -173,7 +173,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0811__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0811__obs_22_0604_p75211332184916"><strong id="obs_22_0811__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0811__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0811__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0811__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0811__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0811__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0811__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0811__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0811__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0811__obs_22_0604_p6133570483"><strong id="obs_22_0811__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0811__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -190,7 +190,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0811__row78545416278"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.4.2.3.1.1 "><p id="obs_22_0811__p1514014518288"><a href="#obs_22_0811__table61312171198">GetBucketQuotaResponse</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.4.2.3.1.2 "><p id="obs_22_0811__p221632911135"><strong id="obs_22_0811__b390836439">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.4.2.3.1.2 "><p id="obs_22_0811__p221632911135"><strong id="obs_22_0811__b529257579">Explanation:</strong></p>
|
||||
<p id="obs_22_0811__p20471435287">Response result of the request for obtaining the storage capacity quota of a bucket</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -294,7 +294,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
14
docs/obs_3rd_party/python_sdk/obs_22_0812.html
vendored
14
docs/obs_3rd_party/python_sdk/obs_22_0812.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0812"></a><a name="obs_22_0812"></a>
|
||||
|
||||
<h1 class="topictitle1">Configuring a Storage Class for a Bucket (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Configuring a Storage Class for a Bucket</h1>
|
||||
<div id="body0000001623589488"><div class="section" id="obs_22_0812__section12447105219113"><h4 class="sectiontitle">Function</h4><p id="obs_22_0812__p1544820526118">This API configures a storage class for a bucket. If you do not specify a storage class when uploading or copying an object, or initiating a multipart upload, the object inherits the bucket's storage class.</p>
|
||||
</div>
|
||||
<div class="section" id="obs_22_0812__section16603205942210"><h4 class="sectiontitle">Restrictions</h4><ul id="obs_22_0812__ul84401124315"><li id="obs_22_0812__li4440324216">To configure a storage class for a bucket, you must be the bucket owner or have the required permission (<strong id="obs_22_0812__b1031821452611">obs:PutBucketStoragePolicy</strong> in IAM or <strong id="obs_22_0812__b1431816149266">PutBucketStoragePolicy</strong> in a bucket policy). </li></ul>
|
||||
@ -55,9 +55,9 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="44.55%" headers="mcps1.3.4.2.1.5.1.4 "><p id="obs_22_0812__p1683455912257"><strong id="obs_22_0812__b16892112518">Explanation:</strong></p>
|
||||
<p id="obs_22_0812__p457992954813">Extension headers</p>
|
||||
<p id="obs_22_0812__p111101117184915"><strong id="obs_22_0812__b650992875">Value range</strong>:</p>
|
||||
<p id="obs_22_0812__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0812__p183465982516"><strong id="obs_22_0812__b488874736">Default value</strong>:</p>
|
||||
<p id="obs_22_0812__p111101117184915"><strong id="obs_22_0812__b2029460263">Value range</strong>:</p>
|
||||
<p id="obs_22_0812__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0812__p183465982516"><strong id="obs_22_0812__b525092373">Default value</strong>:</p>
|
||||
<p id="obs_22_0812__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -110,7 +110,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0812__row777622624716"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.2.1.3.1.1 "><p id="obs_22_0812__p109891419105511"><a href="#obs_22_0812__table20121844173311">GetResult</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0812__p182451259139"><strong id="obs_22_0812__b1262844151">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0812__p182451259139"><strong id="obs_22_0812__b1101121330">Explanation:</strong></p>
|
||||
<p id="obs_22_0812__p1669263124612">SDK common results</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -223,7 +223,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0812__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0812__obs_22_0604_p75211332184916"><strong id="obs_22_0812__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0812__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0812__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0812__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0812__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0812__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0812__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0812__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0812__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0812__obs_22_0604_p6133570483"><strong id="obs_22_0812__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0812__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -308,7 +308,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
10
docs/obs_3rd_party/python_sdk/obs_22_0813.html
vendored
10
docs/obs_3rd_party/python_sdk/obs_22_0813.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0813"></a><a name="obs_22_0813"></a>
|
||||
|
||||
<h1 class="topictitle1">Obtaining the Storage Class of a Bucket (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Obtaining the Storage Class of a Bucket</h1>
|
||||
<div id="body0000001672269249"><div class="section" id="obs_22_0813__section52086105138"><h4 class="sectiontitle">Function</h4><p id="obs_22_0813__p15806308">This API returns the storage class of a bucket.</p>
|
||||
</div>
|
||||
<div class="section" id="obs_22_0813__section242133682316"><h4 class="sectiontitle">Restrictions</h4><ul id="obs_22_0813__ul84401124315"><li id="obs_22_0813__li4440324216">To obtain a bucket's storage class, you must be the bucket owner or have the required permission (<strong id="obs_22_0813__b1050394419362">obs:bucket:GetBucketStoragePolicy</strong> in IAM or <strong id="obs_22_0813__b1950312443369">GetBucketStoragePolicy</strong> in a bucket policy). </li></ul>
|
||||
@ -42,8 +42,8 @@
|
||||
<td class="cellrowborder" valign="top" width="43.984398439843986%" headers="mcps1.3.4.2.1.5.1.4 "><p id="obs_22_0813__p1683455912257"><strong id="obs_22_0813__b1716325674919">Explanation:</strong></p>
|
||||
<p id="obs_22_0813__p457992954813">Extension headers</p>
|
||||
<p id="obs_22_0813__p111101117184915"><strong id="obs_22_0813__b78345594252">Value range</strong>:</p>
|
||||
<p id="obs_22_0813__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0813__p183465982516"><strong id="obs_22_0813__b1995860281">Default value</strong>:</p>
|
||||
<p id="obs_22_0813__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0813__p183465982516"><strong id="obs_22_0813__b1087060516">Default value</strong>:</p>
|
||||
<p id="obs_22_0813__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -173,7 +173,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0813__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0813__obs_22_0604_p75211332184916"><strong id="obs_22_0813__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0813__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0813__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0813__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0813__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0813__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0813__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0813__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0813__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0813__obs_22_0604_p6133570483"><strong id="obs_22_0813__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0813__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -326,7 +326,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
85
docs/obs_3rd_party/python_sdk/obs_22_0814.html
vendored
85
docs/obs_3rd_party/python_sdk/obs_22_0814.html
vendored
File diff suppressed because it is too large
Load Diff
68
docs/obs_3rd_party/python_sdk/obs_22_0815.html
vendored
68
docs/obs_3rd_party/python_sdk/obs_22_0815.html
vendored
File diff suppressed because it is too large
Load Diff
66
docs/obs_3rd_party/python_sdk/obs_22_0816.html
vendored
66
docs/obs_3rd_party/python_sdk/obs_22_0816.html
vendored
File diff suppressed because it is too large
Load Diff
72
docs/obs_3rd_party/python_sdk/obs_22_0817.html
vendored
72
docs/obs_3rd_party/python_sdk/obs_22_0817.html
vendored
File diff suppressed because it is too large
Load Diff
12
docs/obs_3rd_party/python_sdk/obs_22_0818.html
vendored
12
docs/obs_3rd_party/python_sdk/obs_22_0818.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0818"></a><a name="obs_22_0818"></a>
|
||||
|
||||
<h1 class="topictitle1">Configuring a Bucket Policy (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Configuring a Bucket Policy</h1>
|
||||
<div id="body0000001672389269"><div class="section" id="obs_22_0818__section1029612619196"><h4 class="sectiontitle">Function</h4><p id="obs_22_0818__p1766101118015">OBS provides access control over buckets. You can use an access policy to define whether a user can perform certain operations on a specific bucket. OBS access control can be implemented using IAM permissions, bucket policies, and ACLs.</p>
|
||||
<p id="obs_22_0818__p14708142513408">A bucket policy is applied to a configured bucket and the objects in it. You can use a bucket policy to grant permissions for the bucket and the objects in it to IAM users or other accounts. If you want IAM users to have different permissions for different buckets, you can configure required bucket policies.</p>
|
||||
<p id="obs_22_0818__p17772420227">This API configures a policy for a bucket.</p>
|
||||
@ -58,8 +58,8 @@
|
||||
<td class="cellrowborder" valign="top" width="43.61%" headers="mcps1.3.4.2.1.5.1.4 "><p id="obs_22_0818__p1683455912257"><strong id="obs_22_0818__b16892112518">Explanation:</strong></p>
|
||||
<p id="obs_22_0818__p457992954813">Extension headers.</p>
|
||||
<p id="obs_22_0818__p111101117184915"><strong id="obs_22_0818__b78345594252">Value range</strong>:</p>
|
||||
<p id="obs_22_0818__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0818__p183465982516"><strong id="obs_22_0818__b895845815">Default value</strong>:</p>
|
||||
<p id="obs_22_0818__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0818__p183465982516"><strong id="obs_22_0818__b457977238">Default value</strong>:</p>
|
||||
<p id="obs_22_0818__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -76,7 +76,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0818__row777622624716"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.2.1.3.1.1 "><p id="obs_22_0818__p109891419105511"><a href="#obs_22_0818__table20121844173311">GetResult</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0818__p106011612710"><strong id="obs_22_0818__b823553233">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0818__p106011612710"><strong id="obs_22_0818__b1184494446">Explanation:</strong></p>
|
||||
<p id="obs_22_0818__p1669263124612">SDK common results</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -189,7 +189,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0818__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0818__obs_22_0604_p75211332184916"><strong id="obs_22_0818__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0818__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0818__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0818__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0818__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0818__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0818__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0818__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0818__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0818__obs_22_0604_p6133570483"><strong id="obs_22_0818__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0818__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -272,7 +272,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
14
docs/obs_3rd_party/python_sdk/obs_22_0819.html
vendored
14
docs/obs_3rd_party/python_sdk/obs_22_0819.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0819"></a><a name="obs_22_0819"></a>
|
||||
|
||||
<h1 class="topictitle1">Obtaining the Policy of a Bucket (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Obtaining the Policy of a Bucket</h1>
|
||||
<div id="body0000001672469385"><div class="section" id="obs_22_0819__section98621714142118"><h4 class="sectiontitle">Function</h4><p id="obs_22_0819__p1886212141211">OBS provides access control over buckets. You can use an access policy to define whether a user can perform certain operations on a specific bucket. OBS access control can be implemented using IAM permissions, bucket policies, and ACLs.</p>
|
||||
<p id="obs_22_0819__p14708142513408">A bucket policy is applied to a configured bucket and the objects in it. You can use a bucket policy to grant permissions for the bucket and the objects in it to IAM users or other accounts. If you want IAM users to have different permissions for different buckets, you can configure required bucket policies.</p>
|
||||
<p id="obs_22_0819__p17772420227">This API returns the policy of a bucket.</p>
|
||||
@ -45,8 +45,8 @@
|
||||
<td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.4.2.1.5.1.4 "><p id="obs_22_0819__p1683455912257"><strong id="obs_22_0819__b16892112518">Explanation:</strong></p>
|
||||
<p id="obs_22_0819__p457992954813">Extension headers.</p>
|
||||
<p id="obs_22_0819__p111101117184915"><strong id="obs_22_0819__b78345594252">Value range</strong>:</p>
|
||||
<p id="obs_22_0819__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0819__p183465982516"><strong id="obs_22_0819__b587260947">Default value</strong>:</p>
|
||||
<p id="obs_22_0819__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0819__p183465982516"><strong id="obs_22_0819__b509762407">Default value</strong>:</p>
|
||||
<p id="obs_22_0819__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -63,7 +63,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0819__row777622624716"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.2.1.3.1.1 "><p id="obs_22_0819__p109891419105511"><a href="#obs_22_0819__table20121844173311">GetResult</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0819__p119921238131217"><strong id="obs_22_0819__b109367639">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0819__p119921238131217"><strong id="obs_22_0819__b111300882">Explanation:</strong></p>
|
||||
<p id="obs_22_0819__p1669263124612">SDK common results</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -176,7 +176,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0819__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0819__obs_22_0604_p75211332184916"><strong id="obs_22_0819__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0819__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0819__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0819__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0819__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0819__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0819__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0819__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0819__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0819__obs_22_0604_p6133570483"><strong id="obs_22_0819__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0819__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -193,7 +193,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0819__row78545416278"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.4.1.3.1.1 "><p id="obs_22_0819__p494115444275"><a href="#obs_22_0819__table189641235112613">Policy</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.4.1.3.1.2 "><p id="obs_22_0819__p1317918447129"><strong id="obs_22_0819__b1867415439">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.4.1.3.1.2 "><p id="obs_22_0819__p1317918447129"><strong id="obs_22_0819__b2082053246">Explanation:</strong></p>
|
||||
<p id="obs_22_0819__p189411544142715">Bucket policy</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -297,7 +297,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
12
docs/obs_3rd_party/python_sdk/obs_22_0820.html
vendored
12
docs/obs_3rd_party/python_sdk/obs_22_0820.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0820"></a><a name="obs_22_0820"></a>
|
||||
|
||||
<h1 class="topictitle1">Deleting a Bucket Policy (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Deleting a Bucket Policy</h1>
|
||||
<div id="body0000001623589492"><div class="section" id="obs_22_0820__section67617135224"><h4 class="sectiontitle">Function</h4><p id="obs_22_0820__p18830246">OBS provides access control over buckets. You can use an access policy to define whether a user can perform certain operations on a specific bucket. OBS access control can be implemented using IAM permissions, bucket policies, and ACLs.</p>
|
||||
<p id="obs_22_0820__p14708142513408">A bucket policy is applied to a configured bucket and the objects in it. You can use a bucket policy to grant permissions for the bucket and the objects in it to IAM users or other accounts. If you want IAM users to have different permissions for different buckets, you can configure required bucket policies.</p>
|
||||
<p id="obs_22_0820__p17772420227">This API deletes the policy of a bucket. OBS returns <strong id="obs_22_0820__b0610227154119">204 No Content</strong> if the deletion is successful or the requested bucket policy does not exist.</p>
|
||||
@ -44,8 +44,8 @@
|
||||
<td class="cellrowborder" valign="top" width="43.230000000000004%" headers="mcps1.3.4.2.1.5.1.4 "><p id="obs_22_0820__p1683455912257"><strong id="obs_22_0820__b16892112518">Explanation:</strong></p>
|
||||
<p id="obs_22_0820__p457992954813">Extension headers.</p>
|
||||
<p id="obs_22_0820__p111101117184915"><strong id="obs_22_0820__b78345594252">Value range</strong>:</p>
|
||||
<p id="obs_22_0820__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0820__p183465982516"><strong id="obs_22_0820__b57298411">Default value</strong>:</p>
|
||||
<p id="obs_22_0820__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0820__p183465982516"><strong id="obs_22_0820__b1629724065">Default value</strong>:</p>
|
||||
<p id="obs_22_0820__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -62,7 +62,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0820__row777622624716"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.2.1.3.1.1 "><p id="obs_22_0820__p109891419105511"><a href="#obs_22_0820__table20121844173311">GetResult</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0820__p27029414203"><strong id="obs_22_0820__b735373491">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0820__p27029414203"><strong id="obs_22_0820__b1744731561">Explanation:</strong></p>
|
||||
<p id="obs_22_0820__p1669263124612">SDK common results</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -175,7 +175,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0820__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0820__obs_22_0604_p75211332184916"><strong id="obs_22_0820__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0820__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0820__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0820__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0820__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0820__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0820__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0820__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0820__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0820__obs_22_0604_p6133570483"><strong id="obs_22_0820__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0820__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -254,7 +254,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
76
docs/obs_3rd_party/python_sdk/obs_22_0821.html
vendored
76
docs/obs_3rd_party/python_sdk/obs_22_0821.html
vendored
File diff suppressed because it is too large
Load Diff
114
docs/obs_3rd_party/python_sdk/obs_22_0822.html
vendored
114
docs/obs_3rd_party/python_sdk/obs_22_0822.html
vendored
File diff suppressed because it is too large
Load Diff
12
docs/obs_3rd_party/python_sdk/obs_22_0823.html
vendored
12
docs/obs_3rd_party/python_sdk/obs_22_0823.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0823"></a><a name="obs_22_0823"></a>
|
||||
|
||||
<h1 class="topictitle1">Deleting the Lifecycle Configuration of a Bucket (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Deleting the Lifecycle Configuration of a Bucket</h1>
|
||||
<div id="body0000001623429664"><div class="section" id="obs_22_0823__section8465185932414"><h4 class="sectiontitle">Function</h4><p class="msonormal" id="obs_22_0823__p815375044010">You can configure lifecycle rules to periodically delete objects or transition objects between storage classes.</p>
|
||||
<p id="obs_22_0823__p164431815552">This API deletes the lifecycle configuration of a bucket.</p>
|
||||
</div>
|
||||
@ -43,8 +43,8 @@
|
||||
<td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.4.2.1.5.1.4 "><p id="obs_22_0823__p1683455912257"><strong id="obs_22_0823__b16892112518">Explanation:</strong></p>
|
||||
<p id="obs_22_0823__p457992954813">Extension headers.</p>
|
||||
<p id="obs_22_0823__p111101117184915"><strong id="obs_22_0823__b78345594252">Value range</strong>:</p>
|
||||
<p id="obs_22_0823__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0823__p183465982516"><strong id="obs_22_0823__b489034660">Default value</strong>:</p>
|
||||
<p id="obs_22_0823__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0823__p183465982516"><strong id="obs_22_0823__b1948414445">Default value</strong>:</p>
|
||||
<p id="obs_22_0823__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -61,7 +61,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0823__row777622624716"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.2.1.3.1.1 "><p id="obs_22_0823__p109891419105511"><a href="#obs_22_0823__table20121844173311">GetResult</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0823__p1949410498819"><strong id="obs_22_0823__b817176838">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0823__p1949410498819"><strong id="obs_22_0823__b1388941300">Explanation:</strong></p>
|
||||
<p id="obs_22_0823__p1669263124612">SDK common results</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -174,7 +174,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0823__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0823__obs_22_0604_p75211332184916"><strong id="obs_22_0823__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0823__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0823__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0823__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0823__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0823__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0823__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0823__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0823__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0823__obs_22_0604_p6133570483"><strong id="obs_22_0823__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0823__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -253,7 +253,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
24
docs/obs_3rd_party/python_sdk/obs_22_0824.html
vendored
24
docs/obs_3rd_party/python_sdk/obs_22_0824.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0824"></a><a name="obs_22_0824"></a>
|
||||
|
||||
<h1 class="topictitle1">Configuring Static Website Hosting for a Bucket (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Configuring Static Website Hosting for a Bucket</h1>
|
||||
<div id="body0000001623749400"><div class="section" id="obs_22_0824__section10274143182510"><h4 class="sectiontitle">Function</h4><p class="msonormal" id="obs_22_0824__p22113956">You can host static website resources such as HTML web pages, flash files, or audio and video files in an OBS bucket, so that you can provide these hosted resources using the bucket's website endpoint to end users. Typical use cases include:</p>
|
||||
<ul id="obs_22_0824__ul64807877"><li id="obs_22_0824__li65776757">Redirecting all requests to another website</li><li id="obs_22_0824__li55119905">Redirecting specific requests</li></ul>
|
||||
<p class="msonormal" id="obs_22_0824__p46399988">This API configures static website hosting for a bucket.</p>
|
||||
@ -43,7 +43,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="42.009900990099005%" headers="mcps1.3.4.2.1.5.1.4 "><p id="obs_22_0824__p1639248142514"><strong id="obs_22_0824__b10517335132610">Explanation:</strong></p>
|
||||
<p id="obs_22_0824__p1110316576415">Input parameters for configuring static website hosting. For details, see <a href="#obs_22_0824__en-us_topic_0142814686_table14455523">Table 1</a>.</p>
|
||||
<p id="obs_22_0824__p8419105562714"><strong id="obs_22_0824__b1518472256">Default value</strong>:</p>
|
||||
<p id="obs_22_0824__p8419105562714"><strong id="obs_22_0824__b189315134">Default value</strong>:</p>
|
||||
<p id="obs_22_0824__p541995502712">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -56,8 +56,8 @@
|
||||
<td class="cellrowborder" valign="top" width="42.009900990099005%" headers="mcps1.3.4.2.1.5.1.4 "><p id="obs_22_0824__p1683455912257"><strong id="obs_22_0824__b16892112518">Explanation:</strong></p>
|
||||
<p id="obs_22_0824__p457992954813">Extension headers.</p>
|
||||
<p id="obs_22_0824__p111101117184915"><strong id="obs_22_0824__b78345594252">Value range</strong>:</p>
|
||||
<p id="obs_22_0824__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0824__p183465982516"><strong id="obs_22_0824__b1877242976">Default value</strong>:</p>
|
||||
<p id="obs_22_0824__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0824__p183465982516"><strong id="obs_22_0824__b1360899358">Default value</strong>:</p>
|
||||
<p id="obs_22_0824__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -83,7 +83,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="31.240000000000002%" headers="mcps1.3.4.3.2.5.1.4 "><p id="obs_22_0824__p122051100129"><strong id="obs_22_0824__b189502031219">Explanation:</strong></p>
|
||||
<p id="obs_22_0824__en-us_topic_0142814686_p469491915476">Redirection rules for all requests. For details, see <a href="#obs_22_0824__table1255418118393">Table 2</a>.</p>
|
||||
<p id="obs_22_0824__p149082319283"><strong id="obs_22_0824__b400698518">Default value</strong>:</p>
|
||||
<p id="obs_22_0824__p149082319283"><strong id="obs_22_0824__b1145723560">Default value</strong>:</p>
|
||||
<p id="obs_22_0824__p129081535287">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -95,7 +95,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="31.240000000000002%" headers="mcps1.3.4.3.2.5.1.4 "><p id="obs_22_0824__p14746134116128"><strong id="obs_22_0824__b103629494122">Explanation:</strong></p>
|
||||
<p id="obs_22_0824__en-us_topic_0142814686_p23712525">Default page configuration. For details, see <a href="#obs_22_0824__table033975403914">Table 3</a>.</p>
|
||||
<p id="obs_22_0824__p4438142412281"><strong id="obs_22_0824__b1693402596">Default value</strong>:</p>
|
||||
<p id="obs_22_0824__p4438142412281"><strong id="obs_22_0824__b288120834">Default value</strong>:</p>
|
||||
<p id="obs_22_0824__p243813247281">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -107,7 +107,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="31.240000000000002%" headers="mcps1.3.4.3.2.5.1.4 "><p id="obs_22_0824__p5806012201414"><strong id="obs_22_0824__b102732013111418">Explanation:</strong></p>
|
||||
<p id="obs_22_0824__en-us_topic_0142814686_p9150720">Error page configuration. For details, see <a href="#obs_22_0824__table99251319174017">Table 4</a>.</p>
|
||||
<p id="obs_22_0824__p145421327132810"><strong id="obs_22_0824__b514364188">Default value</strong>:</p>
|
||||
<p id="obs_22_0824__p145421327132810"><strong id="obs_22_0824__b1373410112">Default value</strong>:</p>
|
||||
<p id="obs_22_0824__p054212272283">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -119,7 +119,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="31.240000000000002%" headers="mcps1.3.4.3.2.5.1.4 "><p id="obs_22_0824__p12706111817141"><strong id="obs_22_0824__b42464191147">Explanation:</strong></p>
|
||||
<p id="obs_22_0824__en-us_topic_0142814686_p8808161414615">List of routing rules. For details, see <a href="#obs_22_0824__en-us_topic_0142814587_table14455523">Table 5</a>.</p>
|
||||
<p id="obs_22_0824__p2066463232818"><strong id="obs_22_0824__b393104459">Default value</strong>:</p>
|
||||
<p id="obs_22_0824__p2066463232818"><strong id="obs_22_0824__b1854864902">Default value</strong>:</p>
|
||||
<p id="obs_22_0824__p46641532152813">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -247,7 +247,7 @@
|
||||
<p id="obs_22_0824__p1440363716166">Conditions that must be met for the specified redirect to apply</p>
|
||||
<p id="obs_22_0824__p1366553104115"><strong id="obs_22_0824__b18568123511552">Value range</strong>:</p>
|
||||
<p id="obs_22_0824__p46871750191718">See <a href="#obs_22_0824__table141092472404">Table 6</a>.</p>
|
||||
<p id="obs_22_0824__p186635374112"><strong id="obs_22_0824__b1003147494">Default value</strong>:</p>
|
||||
<p id="obs_22_0824__p186635374112"><strong id="obs_22_0824__b1806370534">Default value</strong>:</p>
|
||||
<p id="obs_22_0824__p1633134811171">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -259,7 +259,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="35.099999999999994%" headers="mcps1.3.4.8.2.5.1.4 "><p id="obs_22_0824__en-us_topic_0262515541_p557813565301"><strong id="obs_22_0824__b1423912558416">Explanation:</strong></p>
|
||||
<p id="obs_22_0824__p5344154031816">Details about the redirection. For details, see <a href="#obs_22_0824__table19271235134119">Table 7</a>.</p>
|
||||
<p id="obs_22_0824__p201952152913"><strong id="obs_22_0824__b1882074264">Default value</strong>:</p>
|
||||
<p id="obs_22_0824__p201952152913"><strong id="obs_22_0824__b1793033565">Default value</strong>:</p>
|
||||
<p id="obs_22_0824__p131932118298">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -517,7 +517,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0824__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0824__obs_22_0604_p75211332184916"><strong id="obs_22_0824__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0824__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0824__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0824__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0824__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0824__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0824__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0824__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0824__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0824__obs_22_0604_p6133570483"><strong id="obs_22_0824__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0824__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -632,7 +632,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
30
docs/obs_3rd_party/python_sdk/obs_22_0825.html
vendored
30
docs/obs_3rd_party/python_sdk/obs_22_0825.html
vendored
File diff suppressed because it is too large
Load Diff
12
docs/obs_3rd_party/python_sdk/obs_22_0826.html
vendored
12
docs/obs_3rd_party/python_sdk/obs_22_0826.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0826"></a><a name="obs_22_0826"></a>
|
||||
|
||||
<h1 class="topictitle1">Deleting Static Website Hosting for a Bucket (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Deleting Static Website Hosting for a Bucket</h1>
|
||||
<div id="body0000001672389273"><div class="section" id="obs_22_0826__section11617125715459"><h4 class="sectiontitle">Function</h4><p class="msonormal" id="obs_22_0826__p22113956">You can host static website resources such as HTML web pages, flash files, as well as audio and video files in an OBS bucket, so that you can provide these hosted resources using the bucket's website endpoint to end users. Typical use cases include:</p>
|
||||
<ul id="obs_22_0826__ul64807877"><li id="obs_22_0826__li65776757">Redirecting all requests to another website</li><li id="obs_22_0826__li55119905">Redirecting specific requests</li></ul>
|
||||
<p class="msonormal" id="obs_22_0826__p46399988">This API deletes the static website hosting configuration of the bucket.</p>
|
||||
@ -44,8 +44,8 @@
|
||||
<td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.4.2.1.5.1.4 "><p id="obs_22_0826__p1683455912257"><strong id="obs_22_0826__b16892112518">Explanation:</strong></p>
|
||||
<p id="obs_22_0826__p457992954813">Extension headers.</p>
|
||||
<p id="obs_22_0826__p111101117184915"><strong id="obs_22_0826__b78345594252">Value range</strong>:</p>
|
||||
<p id="obs_22_0826__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0826__p183465982516"><strong id="obs_22_0826__b180454846">Default value</strong>:</p>
|
||||
<p id="obs_22_0826__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0826__p183465982516"><strong id="obs_22_0826__b614631505">Default value</strong>:</p>
|
||||
<p id="obs_22_0826__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -62,7 +62,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0826__row777622624716"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.2.1.3.1.1 "><p id="obs_22_0826__p109891419105511"><a href="#obs_22_0826__table20121844173311">GetResult</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0826__p1499317259434"><strong id="obs_22_0826__b1158833542">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0826__p1499317259434"><strong id="obs_22_0826__b436970054">Explanation:</strong></p>
|
||||
<p id="obs_22_0826__p1669263124612">SDK common results</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -175,7 +175,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0826__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0826__obs_22_0604_p75211332184916"><strong id="obs_22_0826__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0826__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0826__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0826__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0826__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0826__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0826__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0826__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0826__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0826__obs_22_0604_p6133570483"><strong id="obs_22_0826__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0826__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -256,7 +256,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
14
docs/obs_3rd_party/python_sdk/obs_22_0827.html
vendored
14
docs/obs_3rd_party/python_sdk/obs_22_0827.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0827"></a><a name="obs_22_0827"></a>
|
||||
|
||||
<h1 class="topictitle1">Configuring Versioning for a Bucket (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Configuring Versioning for a Bucket</h1>
|
||||
<div id="body0000001672469389"><div class="section" id="obs_22_0827__section9178113112469"><h4 class="sectiontitle">Function</h4><p id="obs_22_0827__p12178103134617">You can enable versioning to automatically maintain previous versions of an object. When versioning is enabled, you can access earlier versions of an object to recover your data in the event of accidental actions or application failures.</p>
|
||||
<p id="obs_22_0827__p141341240194">This API configures the versioning status for a bucket.</p>
|
||||
</div>
|
||||
@ -57,9 +57,9 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.4.2.1.5.1.4 "><p id="obs_22_0827__p1683455912257"><strong id="obs_22_0827__b16892112518">Explanation:</strong></p>
|
||||
<p id="obs_22_0827__p457992954813">Extension headers.</p>
|
||||
<p id="obs_22_0827__p111101117184915"><strong id="obs_22_0827__b308555205">Value range</strong>:</p>
|
||||
<p id="obs_22_0827__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0827__p183465982516"><strong id="obs_22_0827__b274545270">Default value</strong>:</p>
|
||||
<p id="obs_22_0827__p111101117184915"><strong id="obs_22_0827__b1076255801">Value range</strong>:</p>
|
||||
<p id="obs_22_0827__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0827__p183465982516"><strong id="obs_22_0827__b707430319">Default value</strong>:</p>
|
||||
<p id="obs_22_0827__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -76,7 +76,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0827__row777622624716"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.2.1.3.1.1 "><p id="obs_22_0827__p109891419105511"><a href="#obs_22_0827__table20121844173311">GetResult</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0827__p10418921124412"><strong id="obs_22_0827__b121219852">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0827__p10418921124412"><strong id="obs_22_0827__b180494886">Explanation:</strong></p>
|
||||
<p id="obs_22_0827__p1669263124612">SDK common results</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -189,7 +189,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0827__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0827__obs_22_0604_p75211332184916"><strong id="obs_22_0827__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0827__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0827__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0827__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0827__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0827__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0827__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0827__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0827__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0827__obs_22_0604_p6133570483"><strong id="obs_22_0827__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0827__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -270,7 +270,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
16
docs/obs_3rd_party/python_sdk/obs_22_0828.html
vendored
16
docs/obs_3rd_party/python_sdk/obs_22_0828.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0828"></a><a name="obs_22_0828"></a>
|
||||
|
||||
<h1 class="topictitle1">Obtaining the Versioning Status of a Bucket (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Obtaining the Versioning Status of a Bucket</h1>
|
||||
<div id="body0000001623589496"><div class="section" id="obs_22_0828__section119531911164718"><h4 class="sectiontitle">Function</h4><p id="obs_22_0828__p767958">You can enable versioning to automatically maintain previous versions of an object. When versioning is enabled, you can access earlier versions of an object to recover your data in the event of accidental actions or application failures.</p>
|
||||
<p id="obs_22_0828__p141341240194">This API obtains the versioning status of a bucket.</p>
|
||||
</div>
|
||||
@ -43,8 +43,8 @@
|
||||
<td class="cellrowborder" valign="top" width="43.419999999999995%" headers="mcps1.3.4.2.1.5.1.4 "><p id="obs_22_0828__p1683455912257"><strong id="obs_22_0828__b16892112518">Explanation:</strong></p>
|
||||
<p id="obs_22_0828__p457992954813">Extension headers.</p>
|
||||
<p id="obs_22_0828__p111101117184915"><strong id="obs_22_0828__b78345594252">Value range</strong>:</p>
|
||||
<p id="obs_22_0828__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0828__p183465982516"><strong id="obs_22_0828__b1296075319">Default value</strong>:</p>
|
||||
<p id="obs_22_0828__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0828__p183465982516"><strong id="obs_22_0828__b58381541">Default value</strong>:</p>
|
||||
<p id="obs_22_0828__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -61,7 +61,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0828__row777622624716"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.2.1.3.1.1 "><p id="obs_22_0828__p109891419105511"><a href="#obs_22_0828__table20121844173311">GetResult</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0828__p967891144612"><strong id="obs_22_0828__b1655930798">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0828__p967891144612"><strong id="obs_22_0828__b1848034868">Explanation:</strong></p>
|
||||
<p id="obs_22_0828__p1669263124612">SDK common results</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -174,7 +174,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0828__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0828__obs_22_0604_p75211332184916"><strong id="obs_22_0828__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0828__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0828__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0828__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0828__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0828__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0828__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0828__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0828__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0828__obs_22_0604_p6133570483"><strong id="obs_22_0828__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0828__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -191,11 +191,11 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0828__row78545416278"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.4.1.3.1.1 "><p id="obs_22_0828__p494115444275">str</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.4.1.3.1.2 "><p id="obs_22_0828__p20242114592519"><strong id="obs_22_0828__b1164224381">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.4.1.3.1.2 "><p id="obs_22_0828__p20242114592519"><strong id="obs_22_0828__b75031590">Explanation:</strong></p>
|
||||
<p id="obs_22_0828__p134538385011">Versioning status of the bucket</p>
|
||||
<div class="p" id="obs_22_0828__p469491915476"><strong id="obs_22_0828__b18568123511552">Value range</strong>:<ul id="obs_22_0828__ul8421143635918"><li id="obs_22_0828__li34210360597"><strong id="obs_22_0828__b93412027792329">Enabled</strong></li><li id="obs_22_0828__li2782747165918"><strong id="obs_22_0828__b13485141212500">Suspended</strong></li></ul>
|
||||
</div>
|
||||
<p id="obs_22_0828__p3167192884218"><strong id="obs_22_0828__b2033943892">Default value</strong>:</p>
|
||||
<p id="obs_22_0828__p3167192884218"><strong id="obs_22_0828__b1072673731">Default value</strong>:</p>
|
||||
<p id="obs_22_0828__p1461515343312">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -275,7 +275,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
14
docs/obs_3rd_party/python_sdk/obs_22_0829.html
vendored
14
docs/obs_3rd_party/python_sdk/obs_22_0829.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0829"></a><a name="obs_22_0829"></a>
|
||||
|
||||
<h1 class="topictitle1">Configuring CORS for a Bucket (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Configuring CORS for a Bucket</h1>
|
||||
<div id="body0000001672269257"><div class="section" id="obs_22_0829__section37018596472"><h4 class="sectiontitle">Function</h4><p id="obs_22_0829__p136541143214">Cross-origin resource sharing (CORS) is a mechanism defined by the World Wide Web Consortium (W3C) that allows a web application program in one domain to access resources located in another one. For general web page requests, website scripts and contents in one domain cannot interact with those in another because of Same Origin Policies (SOPs). OBS supports CORS rules that allow the resources in OBS to be requested by other domains.</p>
|
||||
<p id="obs_22_0829__p1472132742116">This API configures CORS for a bucket.</p>
|
||||
</div>
|
||||
@ -44,7 +44,7 @@
|
||||
<p id="obs_22_0829__p469491915476">CORS rule list of the bucket. For details, see <a href="#obs_22_0829__table453482274311">Table 1</a>.</p>
|
||||
<p id="obs_22_0829__p3429458459"><strong id="obs_22_0829__b114291574515">Restrictions:</strong></p>
|
||||
<p id="obs_22_0829__p1753815515437">A list can have a maximum of 100 CORS rules.</p>
|
||||
<p id="obs_22_0829__p1184815153013"><strong id="obs_22_0829__b238845095">Default value</strong>:</p>
|
||||
<p id="obs_22_0829__p1184815153013"><strong id="obs_22_0829__b1249132609">Default value</strong>:</p>
|
||||
<p id="obs_22_0829__p1732495982910">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -57,8 +57,8 @@
|
||||
<td class="cellrowborder" valign="top" width="52.34523452345235%" headers="mcps1.3.4.2.1.5.1.4 "><p id="obs_22_0829__p1683455912257"><strong id="obs_22_0829__b16892112518">Explanation:</strong></p>
|
||||
<p id="obs_22_0829__p457992954813">Extension headers.</p>
|
||||
<p id="obs_22_0829__p111101117184915"><strong id="obs_22_0829__b78345594252">Value range</strong>:</p>
|
||||
<p id="obs_22_0829__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0829__p183465982516"><strong id="obs_22_0829__b742637893">Default value</strong>:</p>
|
||||
<p id="obs_22_0829__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0829__p183465982516"><strong id="obs_22_0829__b472665562">Default value</strong>:</p>
|
||||
<p id="obs_22_0829__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -178,7 +178,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0829__row777622624716"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.2.1.3.1.1 "><p id="obs_22_0829__p109891419105511"><a href="#obs_22_0829__table20121844173311">GetResult</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0829__p141902371999"><strong id="obs_22_0829__b624206310">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0829__p141902371999"><strong id="obs_22_0829__b1127870">Explanation:</strong></p>
|
||||
<p id="obs_22_0829__p1669263124612">SDK common results</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -291,7 +291,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0829__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0829__obs_22_0604_p75211332184916"><strong id="obs_22_0829__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0829__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0829__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0829__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0829__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0829__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0829__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0829__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0829__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0829__obs_22_0604_p6133570483"><strong id="obs_22_0829__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0829__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -390,7 +390,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
14
docs/obs_3rd_party/python_sdk/obs_22_0830.html
vendored
14
docs/obs_3rd_party/python_sdk/obs_22_0830.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0830"></a><a name="obs_22_0830"></a>
|
||||
|
||||
<h1 class="topictitle1">Obtaining the CORS Configuration of a Bucket (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Obtaining the CORS Configuration of a Bucket</h1>
|
||||
<div id="body0000001623909376"><div class="section" id="obs_22_0830__section74667586484"><h4 class="sectiontitle">Function</h4><p id="obs_22_0830__p134663581489">Cross-origin resource sharing (CORS) is a mechanism defined by the World Wide Web Consortium (W3C) that allows a web application program in one domain to access resources located in another one. For general web page requests, website scripts and contents in one domain cannot interact with those in another because of Same Origin Policies (SOPs). OBS supports CORS rules that allow the resources in OBS to be requested by other domains.</p>
|
||||
<p id="obs_22_0830__p1472132742116">This API returns the CORS configuration of a bucket.</p>
|
||||
</div>
|
||||
@ -43,8 +43,8 @@
|
||||
<td class="cellrowborder" valign="top" width="43.230000000000004%" headers="mcps1.3.4.2.1.5.1.4 "><p id="obs_22_0830__p1683455912257"><strong id="obs_22_0830__b16892112518">Explanation:</strong></p>
|
||||
<p id="obs_22_0830__p457992954813">Extension headers.</p>
|
||||
<p id="obs_22_0830__p111101117184915"><strong id="obs_22_0830__b78345594252">Value range</strong>:</p>
|
||||
<p id="obs_22_0830__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0830__p183465982516"><strong id="obs_22_0830__b1047045404">Default value</strong>:</p>
|
||||
<p id="obs_22_0830__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0830__p183465982516"><strong id="obs_22_0830__b1156863251">Default value</strong>:</p>
|
||||
<p id="obs_22_0830__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -61,7 +61,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0830__row777622624716"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.2.1.3.1.1 "><p id="obs_22_0830__p109891419105511"><a href="#obs_22_0830__table20121844173311">GetResult</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0830__p15597104917137"><strong id="obs_22_0830__b531999048">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0830__p15597104917137"><strong id="obs_22_0830__b1396250222">Explanation:</strong></p>
|
||||
<p id="obs_22_0830__p1669263124612">SDK common results</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -174,7 +174,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0830__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0830__obs_22_0604_p75211332184916"><strong id="obs_22_0830__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0830__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0830__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0830__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0830__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0830__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0830__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0830__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0830__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0830__obs_22_0604_p6133570483"><strong id="obs_22_0830__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0830__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -191,7 +191,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0830__row78545416278"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.4.1.3.1.1 "><p id="obs_22_0830__p494115444275">list of <a href="#obs_22_0830__table453482274311">CorsRule</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.4.1.3.1.2 "><p id="obs_22_0830__p15154145641315"><strong id="obs_22_0830__b1413544566">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.4.1.3.1.2 "><p id="obs_22_0830__p15154145641315"><strong id="obs_22_0830__b1025001258">Explanation:</strong></p>
|
||||
<p id="obs_22_0830__p64991193">CORS rule list of the bucket. For details, see <a href="#obs_22_0830__table453482274311">Table 2</a>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -394,7 +394,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
12
docs/obs_3rd_party/python_sdk/obs_22_0831.html
vendored
12
docs/obs_3rd_party/python_sdk/obs_22_0831.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0831"></a><a name="obs_22_0831"></a>
|
||||
|
||||
<h1 class="topictitle1">Deleting the CORS Configuration of a Bucket (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Deleting the CORS Configuration of a Bucket</h1>
|
||||
<div id="body0000001623429668"><div class="section" id="obs_22_0831__section99102394499"><h4 class="sectiontitle">Function</h4><p id="obs_22_0831__p58823573">Cross-origin resource sharing (CORS) is a mechanism defined by the World Wide Web Consortium (W3C) that allows a web application program in one domain to access resources located in another one. For general web page requests, website scripts and contents in one domain cannot interact with those in another because of Same Origin Policies (SOPs). OBS supports CORS rules that allow the resources in OBS to be requested by other domains.</p>
|
||||
<p id="obs_22_0831__p1472132742116">This API deletes the CORS configuration of a bucket.</p>
|
||||
</div>
|
||||
@ -43,8 +43,8 @@
|
||||
<td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.4.2.1.5.1.4 "><p id="obs_22_0831__p1683455912257"><strong id="obs_22_0831__b16892112518">Explanation:</strong></p>
|
||||
<p id="obs_22_0831__p457992954813">Extension headers.</p>
|
||||
<p id="obs_22_0831__p111101117184915"><strong id="obs_22_0831__b78345594252">Value range</strong>:</p>
|
||||
<p id="obs_22_0831__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0831__p183465982516"><strong id="obs_22_0831__b1181775547">Default value</strong>:</p>
|
||||
<p id="obs_22_0831__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0831__p183465982516"><strong id="obs_22_0831__b605198710">Default value</strong>:</p>
|
||||
<p id="obs_22_0831__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -61,7 +61,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0831__row777622624716"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.2.1.3.1.1 "><p id="obs_22_0831__p109891419105511"><a href="#obs_22_0831__table20121844173311">GetResult</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0831__p177311019141813"><strong id="obs_22_0831__b1463833164">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0831__p177311019141813"><strong id="obs_22_0831__b1971026466">Explanation:</strong></p>
|
||||
<p id="obs_22_0831__p1669263124612">SDK common results</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -174,7 +174,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0831__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0831__obs_22_0604_p75211332184916"><strong id="obs_22_0831__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0831__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0831__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0831__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0831__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0831__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0831__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0831__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0831__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0831__obs_22_0604_p6133570483"><strong id="obs_22_0831__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0831__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -255,7 +255,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
20
docs/obs_3rd_party/python_sdk/obs_22_0834.html
vendored
20
docs/obs_3rd_party/python_sdk/obs_22_0834.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0834"></a><a name="obs_22_0834"></a>
|
||||
|
||||
<h1 class="topictitle1">Configuring Tags for a Bucket (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Configuring Tags for a Bucket</h1>
|
||||
<div id="body0000001672389277"><div class="section" id="obs_22_0834__section44164132530"><h4 class="sectiontitle">Function</h4><p id="obs_22_0834__p785517882418">If you add tags to a bucket, SDRs generated for the requests sent to this bucket will include these tags, so you can use the tags to classify SDRs for detailed cost analysis. For example, if you have an application that uploads its running data to a bucket, you can tag the bucket with the application name. In this manner, the costs on the application can be analyzed using tags in SDRs.</p>
|
||||
<p id="obs_22_0834__p1659785918554">This API adds tags to a bucket.</p>
|
||||
</div>
|
||||
@ -44,7 +44,7 @@
|
||||
<p id="obs_22_0834__p34482228817">Bucket tag list. For details, see <a href="#obs_22_0834__en-us_topic_0142814718_table14455523">Table 1</a>.</p>
|
||||
<p id="obs_22_0834__p1253891013484"><strong id="obs_22_0834__b5240185706829">Restrictions:</strong></p>
|
||||
<ul id="obs_22_0834__ul5129165917505"><li id="obs_22_0834__li13129135975011">A bucket can have a maximum of 10 tags. Each tag can have only one pair of key values.</li><li id="obs_22_0834__li111291659175019">For the same bucket, tag keys must be unique, but tag values can be duplicated or left blank.</li></ul>
|
||||
<p id="obs_22_0834__p1347716812413"><strong id="obs_22_0834__b1341396368">Default value</strong>:</p>
|
||||
<p id="obs_22_0834__p1347716812413"><strong id="obs_22_0834__b1504778127">Default value</strong>:</p>
|
||||
<p id="obs_22_0834__p12477118184115">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -57,8 +57,8 @@
|
||||
<td class="cellrowborder" valign="top" width="58.03419658034197%" headers="mcps1.3.4.2.1.5.1.4 "><p id="obs_22_0834__p1683455912257"><strong id="obs_22_0834__b188579726561029">Explanation:</strong></p>
|
||||
<p id="obs_22_0834__p457992954813">Extension headers.</p>
|
||||
<p id="obs_22_0834__p111101117184915"><strong id="obs_22_0834__b78345594252">Value range</strong>:</p>
|
||||
<p id="obs_22_0834__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0834__p183465982516"><strong id="obs_22_0834__b533403547">Default value</strong>:</p>
|
||||
<p id="obs_22_0834__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0834__p183465982516"><strong id="obs_22_0834__b1051546556">Default value</strong>:</p>
|
||||
<p id="obs_22_0834__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -82,11 +82,11 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="32.410000000000004%" headers="mcps1.3.4.3.2.5.1.3 "><p id="obs_22_0834__en-us_topic_0142814718_p459194415014">Yes if used as a request parameter</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="37.42%" headers="mcps1.3.4.3.2.5.1.4 "><p id="obs_22_0834__p4941145318282"><strong id="obs_22_0834__b934442581">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="37.42%" headers="mcps1.3.4.3.2.5.1.4 "><p id="obs_22_0834__p4941145318282"><strong id="obs_22_0834__b37402542">Explanation:</strong></p>
|
||||
<p id="obs_22_0834__p20853488">Bucket tag list. For details, see <a href="#obs_22_0834__table15910379476">Table 2</a>.</p>
|
||||
<p id="obs_22_0834__p1294155313285"><strong id="obs_22_0834__b461920811">Restrictions:</strong></p>
|
||||
<p id="obs_22_0834__p1294155313285"><strong id="obs_22_0834__b1763224740">Restrictions:</strong></p>
|
||||
<ul id="obs_22_0834__ul16941353102811"><li id="obs_22_0834__li1694135313283">A bucket can have a maximum of 10 tags. Each tag can have only one pair of key values.</li><li id="obs_22_0834__li13941135318287">For the same bucket, tag keys must be unique, but tag values can be duplicated or left blank.</li></ul>
|
||||
<p id="obs_22_0834__p7792658124110"><strong id="obs_22_0834__b1477712094">Default value</strong>:</p>
|
||||
<p id="obs_22_0834__p7792658124110"><strong id="obs_22_0834__b708201483">Default value</strong>:</p>
|
||||
<p id="obs_22_0834__p37921358194114">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -146,7 +146,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0834__row777622624716"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.2.1.3.1.1 "><p id="obs_22_0834__p109891419105511"><a href="#obs_22_0834__table20121844173311">GetResult</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0834__p37371210348"><strong id="obs_22_0834__b119594503">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0834__p37371210348"><strong id="obs_22_0834__b933445467">Explanation:</strong></p>
|
||||
<p id="obs_22_0834__p1669263124612">SDK common results</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -259,7 +259,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0834__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0834__obs_22_0604_p75211332184916"><strong id="obs_22_0834__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0834__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0834__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0834__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0834__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0834__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0834__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0834__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0834__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0834__obs_22_0604_p6133570483"><strong id="obs_22_0834__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0834__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -346,7 +346,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
20
docs/obs_3rd_party/python_sdk/obs_22_0835.html
vendored
20
docs/obs_3rd_party/python_sdk/obs_22_0835.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0835"></a><a name="obs_22_0835"></a>
|
||||
|
||||
<h1 class="topictitle1">Obtaining Bucket Tags (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Obtaining Bucket Tags</h1>
|
||||
<div id="body0000001672469393"><div class="section" id="obs_22_0835__section791439155420"><h4 class="sectiontitle">Function</h4><p id="obs_22_0835__p785517882418">If you add tags to a bucket, SDRs generated for the requests sent to this bucket will include these tags, so you can use the tags to classify SDRs for detailed cost analysis. For example, if you have an application that uploads its running data to a bucket, you can tag the bucket with the application name. In this manner, the costs on the application can be analyzed using tags in SDRs.</p>
|
||||
<p id="obs_22_0835__p1659785918554">This API returns the tags of a bucket.</p>
|
||||
</div>
|
||||
@ -43,8 +43,8 @@
|
||||
<td class="cellrowborder" valign="top" width="44.36%" headers="mcps1.3.4.2.1.5.1.4 "><p id="obs_22_0835__p1683455912257"><strong id="obs_22_0835__b116696564161029">Explanation:</strong></p>
|
||||
<p id="obs_22_0835__p457992954813">Extension headers.</p>
|
||||
<p id="obs_22_0835__p111101117184915"><strong id="obs_22_0835__b78345594252">Value range</strong>:</p>
|
||||
<p id="obs_22_0835__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0835__p183465982516"><strong id="obs_22_0835__b1114571281">Default value</strong>:</p>
|
||||
<p id="obs_22_0835__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0835__p183465982516"><strong id="obs_22_0835__b1207176784">Default value</strong>:</p>
|
||||
<p id="obs_22_0835__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -61,7 +61,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0835__row777622624716"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.2.1.3.1.1 "><p id="obs_22_0835__p109891419105511"><a href="#obs_22_0835__table20121844173311">GetResult</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0835__p2111922124319"><strong id="obs_22_0835__b721588494">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0835__p2111922124319"><strong id="obs_22_0835__b2059036618">Explanation:</strong></p>
|
||||
<p id="obs_22_0835__p1669263124612">SDK common results</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -174,7 +174,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0835__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0835__obs_22_0604_p75211332184916"><strong id="obs_22_0835__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0835__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0835__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0835__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0835__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0835__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0835__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0835__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0835__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0835__obs_22_0604_p6133570483"><strong id="obs_22_0835__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0835__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -191,7 +191,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0835__row78545416278"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.4.1.3.1.1 "><p id="obs_22_0835__p1026023"><a href="#obs_22_0835__en-us_topic_0142814718_table14455523">TagInfo</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.4.1.3.1.2 "><p id="obs_22_0835__p1539865613439"><strong id="obs_22_0835__b31561007">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.4.1.3.1.2 "><p id="obs_22_0835__p1539865613439"><strong id="obs_22_0835__b40600424">Explanation:</strong></p>
|
||||
<p id="obs_22_0835__p20853488">Bucket tag configuration. For details, see <a href="#obs_22_0835__en-us_topic_0142814718_table14455523">Table 2</a>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -215,11 +215,11 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="32.410000000000004%" headers="mcps1.3.5.5.2.5.1.3 "><p id="obs_22_0835__en-us_topic_0142814718_p459194415014">Yes if used as a request parameter</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="37.42%" headers="mcps1.3.5.5.2.5.1.4 "><p id="obs_22_0835__p6538171019482"><strong id="obs_22_0835__b80955395">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="37.42%" headers="mcps1.3.5.5.2.5.1.4 "><p id="obs_22_0835__p6538171019482"><strong id="obs_22_0835__b80457266">Explanation:</strong></p>
|
||||
<p id="obs_22_0835__p1648520262276">Bucket tag list. For details, see <a href="#obs_22_0835__table15910379476">Table 3</a>.</p>
|
||||
<p id="obs_22_0835__p1253891013484"><strong id="obs_22_0835__b1478876144">Restrictions:</strong></p>
|
||||
<p id="obs_22_0835__p1253891013484"><strong id="obs_22_0835__b1315711238">Restrictions:</strong></p>
|
||||
<ul id="obs_22_0835__ul5129165917505"><li id="obs_22_0835__li13129135975011">A bucket can have a maximum of 10 tags. Each tag can have only one pair of key values.</li><li id="obs_22_0835__li111291659175019">For the same bucket, tag keys must be unique, but tag values can be duplicated or left blank.</li></ul>
|
||||
<p id="obs_22_0835__p194718854317"><strong id="obs_22_0835__b1189142304">Default value</strong>:</p>
|
||||
<p id="obs_22_0835__p194718854317"><strong id="obs_22_0835__b273082623">Default value</strong>:</p>
|
||||
<p id="obs_22_0835__p147282434">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -352,7 +352,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
12
docs/obs_3rd_party/python_sdk/obs_22_0836.html
vendored
12
docs/obs_3rd_party/python_sdk/obs_22_0836.html
vendored
@ -1,6 +1,6 @@
|
||||
<a name="obs_22_0836"></a><a name="obs_22_0836"></a>
|
||||
|
||||
<h1 class="topictitle1">Deleting Bucket Tags (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Deleting Bucket Tags</h1>
|
||||
<div id="body0000001623589500"><div class="section" id="obs_22_0836__section16991165619544"><h4 class="sectiontitle">Function</h4><p id="obs_22_0836__p785517882418">If you add tags to a bucket, SDRs generated for the requests sent to this bucket will include these tags, so you can use the tags to classify SDRs for detailed cost analysis. For example, if you have an application that uploads its running data to a bucket, you can tag the bucket with the application name. In this manner, the costs on the application can be analyzed using tags in SDRs.</p>
|
||||
<p id="obs_22_0836__p1659785918554">This API deletes the tags of a bucket.</p>
|
||||
</div>
|
||||
@ -43,8 +43,8 @@
|
||||
<td class="cellrowborder" valign="top" width="44.17%" headers="mcps1.3.4.2.1.5.1.4 "><p id="obs_22_0836__p1683455912257"><strong id="obs_22_0836__b40625751461030">Explanation:</strong></p>
|
||||
<p id="obs_22_0836__p457992954813">Extension headers.</p>
|
||||
<p id="obs_22_0836__p111101117184915"><strong id="obs_22_0836__b78345594252">Value range</strong>:</p>
|
||||
<p id="obs_22_0836__p4955144118209">See <a href="obs_22_1305.html">User-defined Header (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0836__p183465982516"><strong id="obs_22_0836__b911118666">Default value</strong>:</p>
|
||||
<p id="obs_22_0836__p4955144118209">See <a href="obs_22_1305.html">User-defined Headers</a>.</p>
|
||||
<p id="obs_22_0836__p183465982516"><strong id="obs_22_0836__b799272531">Default value</strong>:</p>
|
||||
<p id="obs_22_0836__p12834125962519">None</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -61,7 +61,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="obs_22_0836__row777622624716"><td class="cellrowborder" valign="top" width="44%" headers="mcps1.3.5.2.1.3.1.1 "><p id="obs_22_0836__p109891419105511"><a href="#obs_22_0836__table20121844173311">GetResult</a></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0836__p1149435516499"><strong id="obs_22_0836__b231028674">Explanation:</strong></p>
|
||||
<td class="cellrowborder" valign="top" width="56.00000000000001%" headers="mcps1.3.5.2.1.3.1.2 "><p id="obs_22_0836__p1149435516499"><strong id="obs_22_0836__b1692108791">Explanation:</strong></p>
|
||||
<p id="obs_22_0836__p1669263124612">SDK common results</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -174,7 +174,7 @@
|
||||
<td class="cellrowborder" valign="top" width="15.329999999999998%" headers="mcps1.3.5.3.2.4.1.2 "><p id="obs_22_0836__obs_22_0604_p1278913111126">object</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="60.36%" headers="mcps1.3.5.3.2.4.1.3 "><p id="obs_22_0836__obs_22_0604_p75211332184916"><strong id="obs_22_0836__obs_22_0604_b26539481761028">Explanation:</strong></p>
|
||||
<p id="obs_22_0836__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0836__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0836__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0836__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a> and <a href="obs_22_0900.html">Object-Related APIs (SDK for Python)</a>.</p>
|
||||
<p id="obs_22_0836__obs_22_0604_p18789163111220">Result content returned after the operation is successful. If the value of <strong id="obs_22_0836__obs_22_0604_b171840579595934">status</strong> is larger than <strong id="obs_22_0836__obs_22_0604_b71123487895934">300</strong>, the value of <strong id="obs_22_0836__obs_22_0604_b294555714545">body</strong> is null. The value varies with the API being called. For details, see <a href="obs_22_0800.html">Bucket-Related APIs</a> and <a href="obs_22_0900.html">Object-Related APIs</a>.</p>
|
||||
<p id="obs_22_0836__obs_22_0604_p6133570483"><strong id="obs_22_0836__obs_22_0604_b12506101522414">Default value</strong>:</p>
|
||||
<p id="obs_22_0836__obs_22_0604_p151331171483">None</p>
|
||||
</td>
|
||||
@ -253,7 +253,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs (SDK for Python)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_22_0800.html">Bucket-Related APIs</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
50
docs/obs_3rd_party/python_sdk/obs_22_0900.html
vendored
50
docs/obs_3rd_party/python_sdk/obs_22_0900.html
vendored
@ -1,56 +1,56 @@
|
||||
<a name="obs_22_0900"></a><a name="obs_22_0900"></a>
|
||||
|
||||
<h1 class="topictitle1">Object-Related APIs (SDK for Python)</h1>
|
||||
<h1 class="topictitle1">Object-Related APIs</h1>
|
||||
<div id="body28807604"></div>
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0501.html">Object Upload Overview (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0501.html">Object Upload Overview</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0901.html">Uploading Objects - Text-Based (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0901.html">Uploading Objects - Text-Based</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0902.html">Uploading an Object - Streaming (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0902.html">Uploading an Object - Streaming</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0903.html">Uploading an Object - File-Based (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0903.html">Uploading an Object - File-Based</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0904.html">Uploading an Object - Append (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0904.html">Uploading an Object - Append</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0905.html">Uploading an Object - Resumable (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0905.html">Uploading an Object - Resumable</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0906.html">Obtaining the Upload Progress (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0906.html">Obtaining the Upload Progress</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0907.html">Uploading an Object - Browser-Based (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0907.html">Uploading an Object - Browser-Based</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0502.html">Object Download Overview (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0502.html">Object Download Overview</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0908.html">Downloading an Object - Binary (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0908.html">Downloading an Object - Binary</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0909.html">Downloading an Object - Streaming (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0909.html">Downloading an Object - Streaming</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0910.html">Downloading an Object - File-Based (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0910.html">Downloading an Object - File-Based</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0911.html">Downloading an Object - Range-Based (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0911.html">Downloading an Object - Range-Based</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0912.html">Downloading an Object - Resumable (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0912.html">Downloading an Object - Resumable</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0913.html">Downloading an Object - Obtaining the Download Progress (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0913.html">Downloading an Object - Obtaining the Download Progress</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0915.html">Uploading an Object - Creating a Folder (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0915.html">Uploading an Object - Creating a Folder</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0917.html">Copying an Object (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0917.html">Copying an Object</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0918.html">Deleting an Object (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0918.html">Deleting an Object</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0919.html">Batch Deleting Objects (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0919.html">Batch Deleting Objects</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0920.html">Obtaining Object Metadata (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0920.html">Obtaining Object Metadata</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0921.html">Modifying Object Metadata (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0921.html">Modifying Object Metadata</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0922.html">Configuring an Object ACL (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0922.html">Configuring an Object ACL</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0923.html">Obtaining an Object ACL (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0923.html">Obtaining an Object ACL</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0924.html">Restoring a Cold Object (SDK for Python)</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="obs_22_0924.html">Restoring a Cold Object</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user