forked from docs/doc-exports
Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com> Co-authored-by: weihongmin1 <weihongmin1@huawei.com> Co-committed-by: weihongmin1 <weihongmin1@huawei.com>
106 lines
7.5 KiB
HTML
106 lines
7.5 KiB
HTML
<a name="obs_11_0025"></a><a name="obs_11_0025"></a>
|
|
|
|
<h1 class="topictitle1">Viewing Command Help Information</h1>
|
|
<div id="body1542440101580"><div class="section" id="obs_11_0025__section1479112110815"><h4 class="sectiontitle">Function</h4><p id="obs_11_0025__p11772825481">You can use this command to view the commands supported by obsutil or view the help information of a specific command.</p>
|
|
</div>
|
|
<div class="section" id="obs_11_0025__section1220752192216"><h4 class="sectiontitle">Command Line Structure</h4><ul id="obs_11_0025__ul6597155717117"><li id="obs_11_0025__li175971857171111">In Windows<pre class="screen" id="obs_11_0025__screen137711012124">obsutil help [command]</pre>
|
|
</li><li id="obs_11_0025__li645617111126">In Linux or macOS<pre class="screen" id="obs_11_0025__screen1589616151121">./obsutil help [command]</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="obs_11_0025__section18536152154510"><h4 class="sectiontitle">Examples</h4><ul id="obs_11_0025__ul753613224518"><li id="obs_11_0025__li145361729450">Take the Windows OS as an example. Run the <strong id="obs_11_0025__b8729656142010">obsutil help mb</strong> command to view the help information about the command for creating a bucket.<pre class="screen" id="obs_11_0025__screen553662114519"><strong id="obs_11_0025__b353611254511">obsutil help mb</strong>
|
|
|
|
Summary:
|
|
create a bucket with the specified parameters
|
|
|
|
Syntax:
|
|
obsutil mb obs://bucket [-acl=xxx] [-location=xxx] [-fs] [-az=xxx] [-sc=xxx] [-config=xxx] [-i=xxx] [-k=xxx] [-t=xxx] [-e=xxx]
|
|
|
|
Options:
|
|
-fs
|
|
create a bucket that supports POSIX
|
|
|
|
-az=xxx
|
|
the AZ of the bucket, possible values are [multi-az]
|
|
|
|
-sc=xxx
|
|
the default storage class of the bucket, possible values are [standard|warm|cold|deep-archive]
|
|
|
|
-acl=xxx
|
|
the ACL of the bucket, possible values are [private|public-read|public-read-write]
|
|
|
|
-location=xxx
|
|
the region where the bucket is located
|
|
|
|
-epid=xxx
|
|
the enterprise project id of the bucket
|
|
|
|
-kms=xxx
|
|
the encryption id of the bucket
|
|
|
|
-config=xxx
|
|
the path to the custom config file when running this command
|
|
|
|
-e=xxx
|
|
endpoint
|
|
|
|
-i=xxx
|
|
access key ID
|
|
|
|
-k=xxx
|
|
security key ID
|
|
|
|
-t=xxx
|
|
security token
|
|
|
|
Summary:
|
|
create a bucket with the specified parameters
|
|
|
|
Syntax:
|
|
obsutil mb obs://bucket [-fs] [-acl=xxx] [-sc=xxx] [-location=xxx] [-config=xxx]
|
|
|
|
Options:
|
|
-fs
|
|
create a bucket that supports POSIX
|
|
|
|
-acl=xxx
|
|
the ACL of the bucket, possible values are [private|public-read|public-read-write]
|
|
|
|
-sc=xxx
|
|
the default storage class of the bucket, possible values are: [standard|warm|cold]
|
|
|
|
-location=xxx
|
|
the region where the bucket is located
|
|
|
|
-config=xxx
|
|
the path to the custom config file when running this command</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="obs_11_0025__section6559191102418"><h4 class="sectiontitle">Parameter Description</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_11_0025__table10831182114445" frame="border" border="1" rules="all"><thead align="left"><tr id="obs_11_0025__row683212154419"><th align="left" class="cellrowborder" valign="top" width="17%" id="mcps1.3.4.2.1.4.1.1"><p id="obs_11_0025__p118329219446">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="26%" id="mcps1.3.4.2.1.4.1.2"><p id="obs_11_0025__p15137125919108">Optional or Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.99999999999999%" id="mcps1.3.4.2.1.4.1.3"><p id="obs_11_0025__p12832121184414">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="obs_11_0025__row108328217449"><td class="cellrowborder" valign="top" width="17%" headers="mcps1.3.4.2.1.4.1.1 "><p id="obs_11_0025__p64495172515">command</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26%" headers="mcps1.3.4.2.1.4.1.2 "><p id="obs_11_0025__p154316502519">Optional</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.99999999999999%" headers="mcps1.3.4.2.1.4.1.3 "><p id="obs_11_0025__p17425512259">Currently, the help documents of the following commands are available:</p>
|
|
<ul id="obs_11_0025__ul921413323261"><li id="obs_11_0025__li10214173211262">For <strong id="obs_11_0025__b4463635255">abort</strong>, see <a href="obs_11_0020.html">Deleting a Multipart Upload Task</a>.</li><li id="obs_11_0025__li19163104932614">For <strong id="obs_11_0025__b15591439153">chattri</strong>, see <a href="obs_11_0041.html">Setting Object Properties</a>.</li><li id="obs_11_0025__li1879111277">For <strong id="obs_11_0025__b186289502518">cp</strong>, see <a href="obs_11_0013.html">Uploading an Object</a>, <a href="obs_11_0017.html">Copying an Object</a>, and <a href="obs_11_0018.html">Downloading an Object</a>.</li><li id="obs_11_0025__li847410124275">For <strong id="obs_11_0025__b20312126163">ls</strong>, see <a href="obs_11_0009.html">Listing Buckets</a>, <a href="obs_11_0014.html">Listing Objects</a>, and <a href="obs_11_0019.html">Listing Multipart Upload Tasks</a>.</li><li id="obs_11_0025__li13462181462713">For <strong id="obs_11_0025__b1772048461">mb</strong>, see <a href="obs_11_0008.html">Creating a Bucket</a>.</li><li id="obs_11_0025__li1158721662710">For <strong id="obs_11_0025__b13818151871">mkdir</strong>, see <a href="obs_11_0050.html">Creating a Folder</a>.</li><li id="obs_11_0025__li168781418122717">For <strong id="obs_11_0025__b51386438711">mv</strong>, see <a href="obs_11_0053.html">Moving an Object</a>.</li><li id="obs_11_0025__li51781220112719">For <strong id="obs_11_0025__b1711915413813">restore</strong>, see <a href="obs_11_0016.html">Restoring Objects from the Cold Storage</a>.</li><li id="obs_11_0025__li153559243276">For <strong id="obs_11_0025__b42066221885">rm</strong>, see <a href="obs_11_0011.html">Deleting a Bucket</a> and <a href="obs_11_0021.html">Deleting an Object</a>.</li><li id="obs_11_0025__li111111128112714">For <strong id="obs_11_0025__b198165495817">sign</strong>, see <a href="obs_11_0051.html">Generating the Download Link of an Object</a>.</li><li id="obs_11_0025__li10154163120274">For <strong id="obs_11_0025__b20382112092">stat</strong>, see <a href="obs_11_0010.html">Querying Bucket Properties</a> and <a href="obs_11_0015.html">Querying Object Properties</a>.</li><li id="obs_11_0025__li272212338275">For <strong id="obs_11_0025__b139191232493">sync</strong>, see <a href="obs_11_0042.html">Synchronously Uploading Incremental Objects</a>, <a href="obs_11_0044.html">Synchronously Copying Incremental Objects</a>, and <a href="obs_11_0043.html">Synchronously Downloading Incremental Objects</a>.</li><li id="obs_11_0025__li98371834162712">For <strong id="obs_11_0025__b584712761019">archive</strong>, see <a href="obs_11_0045.html">Archiving Log Files</a>.</li><li id="obs_11_0025__li15395174215271">For <strong id="obs_11_0025__b13951425191018">clear</strong>, see <a href="obs_11_0024.html">Deleting Part Records</a>.</li><li id="obs_11_0025__li1938518447277">For <strong id="obs_11_0025__b792744261017">config</strong>, see <a href="obs_11_0023.html">Updating a Configuration File</a>.</li><li id="obs_11_0025__li5637174652715">For <strong id="obs_11_0025__b1469116919117">help</strong>, see <a href="obs_11_0025.html">Viewing Command Help Information</a>.</li><li id="obs_11_0025__li11967184782716">For <strong id="obs_11_0025__b5810132917111">version</strong>, see <a href="obs_11_0026.html">Querying the Version Number</a>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_11_0022.html">Auxiliary Commands</a></div>
|
|
</div>
|
|
</div>
|
|
|