doc-exports/docs/sfs/api-ref/sfs_02_0083.html
zhangyue 5d0d5cb580 SFS API DOC
Reviewed-by: Muller, Martin <martin.muller@t-systems.com>
Co-authored-by: zhangyue <zhangyue164@huawei.com>
Co-committed-by: zhangyue <zhangyue164@huawei.com>
2023-05-01 07:32:40 +00:00

176 lines
14 KiB
HTML

<a name="sfs_02_0083"></a><a name="sfs_02_0083"></a>
<h1 class="topictitle1">SFS Turbo Actions</h1>
<div id="body1540439805145"><div class="section" id="sfs_02_0083__section481420011409"><h4 class="sectiontitle">File Systems</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sfs_02_0083__table1830616174017" frame="border" border="1" rules="all"><thead align="left"><tr id="sfs_02_0083__row7830161610409"><th align="left" class="cellrowborder" valign="top" width="17.92698089747937%" id="mcps1.3.1.2.1.6.1.1"><p id="sfs_02_0083__p1283121634019">Permission</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="21.984853622696964%" id="mcps1.3.1.2.1.6.1.2"><p id="sfs_02_0083__p1983111166405">API</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.323951622018768%" id="mcps1.3.1.2.1.6.1.3"><p id="sfs_02_0083__p148311316124019">Action</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25.816661015033343%" id="mcps1.3.1.2.1.6.1.4"><p id="sfs_02_0083__p174771151102511">Dependent Permission</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.947552842771563%" id="mcps1.3.1.2.1.6.1.5"><p id="sfs_02_0083__p582634616355">IAM</p>
<p id="sfs_02_0083__p7826346153516">Project</p>
</th>
</tr>
</thead>
<tbody><tr id="sfs_02_0083__row1383151634015"><td class="cellrowborder" valign="top" width="17.92698089747937%" headers="mcps1.3.1.2.1.6.1.1 "><p id="sfs_02_0083__p16500181116469">Creating a File System</p>
</td>
<td class="cellrowborder" valign="top" width="21.984853622696964%" headers="mcps1.3.1.2.1.6.1.2 "><p id="sfs_02_0083__p1371195992817">POST /v1/{project_id}/sfs-turbo/shares</p>
</td>
<td class="cellrowborder" valign="top" width="22.323951622018768%" headers="mcps1.3.1.2.1.6.1.3 "><p id="sfs_02_0083__p5549110143515">sfsturbo:shares:createShare</p>
</td>
<td class="cellrowborder" valign="top" width="25.816661015033343%" headers="mcps1.3.1.2.1.6.1.4 "><ul id="sfs_02_0083__ul420112173913"><li id="sfs_02_0083__li52013216393">You must have VPC-related permissions when creating an SFS Turbo instance, including the permissions for verifying VPCs, subnets, and security groups, creating virtual IP addresses and ports, and creating security group rules. You must add the following action:<ul id="sfs_02_0083__ul167997133916"><li id="sfs_02_0083__li6208213393">"vpc:*:*"</li></ul>
</li><li id="sfs_02_0083__li172002133911">The KMS Administrator permission needs to be configured for the encrypted instance in the project.</li><li id="sfs_02_0083__li182072103912">If you have deployed and subscribed to Dedicated Distributed Storage Service (DSS) and want to create SFS Turbo file systems, add the following actions:<ul id="sfs_02_0083__ul25581814153914"><li id="sfs_02_0083__li920112133914">"dss:*:get",</li><li id="sfs_02_0083__li8204210398">"dss:*:list",</li><li id="sfs_02_0083__li72052153910">"dss:*:count"</li></ul>
</li></ul>
</td>
<td class="cellrowborder" valign="top" width="11.947552842771563%" headers="mcps1.3.1.2.1.6.1.5 "><p id="sfs_02_0083__p17772123773415"></p>
</td>
</tr>
<tr id="sfs_02_0083__row450081117466"><td class="cellrowborder" valign="top" width="17.92698089747937%" headers="mcps1.3.1.2.1.6.1.1 "><p id="sfs_02_0083__p450013117466">Querying Details About All File Systems</p>
</td>
<td class="cellrowborder" valign="top" width="21.984853622696964%" headers="mcps1.3.1.2.1.6.1.2 "><p id="sfs_02_0083__p15365716203010">GET /v1/{project_id}/sfs-turbo/shares/detail</p>
</td>
<td class="cellrowborder" valign="top" width="22.323951622018768%" headers="mcps1.3.1.2.1.6.1.3 "><p id="sfs_02_0083__p3109812103516">sfsturbo:shares:getAllShares</p>
</td>
<td class="cellrowborder" valign="top" width="25.816661015033343%" headers="mcps1.3.1.2.1.6.1.4 "><p id="sfs_02_0083__p647716513254">-</p>
</td>
<td class="cellrowborder" valign="top" width="11.947552842771563%" headers="mcps1.3.1.2.1.6.1.5 "><p id="sfs_02_0083__p97721537173415"></p>
</td>
</tr>
<tr id="sfs_02_0083__row450021115461"><td class="cellrowborder" valign="top" width="17.92698089747937%" headers="mcps1.3.1.2.1.6.1.1 "><p id="sfs_02_0083__p0444153655015">Querying Details About a File System</p>
</td>
<td class="cellrowborder" valign="top" width="21.984853622696964%" headers="mcps1.3.1.2.1.6.1.2 "><p id="sfs_02_0083__p351333193217">GET /v1/{project_id}/sfs-turbo/shares/{share_id}</p>
</td>
<td class="cellrowborder" valign="top" width="22.323951622018768%" headers="mcps1.3.1.2.1.6.1.3 "><p id="sfs_02_0083__p1244171414353">sfsturbo:shares:getShare</p>
</td>
<td class="cellrowborder" valign="top" width="25.816661015033343%" headers="mcps1.3.1.2.1.6.1.4 "><p id="sfs_02_0083__p11477155172514">-</p>
</td>
<td class="cellrowborder" valign="top" width="11.947552842771563%" headers="mcps1.3.1.2.1.6.1.5 "><p id="sfs_02_0083__p87711937103419"></p>
</td>
</tr>
<tr id="sfs_02_0083__row58051141154818"><td class="cellrowborder" valign="top" width="17.92698089747937%" headers="mcps1.3.1.2.1.6.1.1 "><p id="sfs_02_0083__p1350031154610">Deleting a File System</p>
</td>
<td class="cellrowborder" valign="top" width="21.984853622696964%" headers="mcps1.3.1.2.1.6.1.2 "><p id="sfs_02_0083__p1013914431334">DELETE /v1/{project_id}/sfs-turbo/shares/{share_id}</p>
</td>
<td class="cellrowborder" valign="top" width="22.323951622018768%" headers="mcps1.3.1.2.1.6.1.3 "><p id="sfs_02_0083__p14668515153516">sfsturbo:shares:deleteShare</p>
</td>
<td class="cellrowborder" valign="top" width="25.816661015033343%" headers="mcps1.3.1.2.1.6.1.4 "><ul id="sfs_02_0083__ul1321202718399"><li id="sfs_02_0083__li1821827143918">To delete an SFS Turbo instance, you must have VPC-related permissions, including the permissions for deleting virtual IP addresses, ports, and security group rules. You must add the following action:<ul id="sfs_02_0083__ul07373017398"><li id="sfs_02_0083__li72142712395">"vpc:*:*"</li></ul>
</li><li id="sfs_02_0083__li121427153913">If you have deployed and subscribed to DSS and want to create SFS Turbo file systems, add the following actions:<ul id="sfs_02_0083__ul1960163203917"><li id="sfs_02_0083__li1821927113915">"dss:*:get",</li><li id="sfs_02_0083__li19212278393">"dss:*:list",</li><li id="sfs_02_0083__li6211227103910">"dss:*:count"</li></ul>
</li></ul>
</td>
<td class="cellrowborder" valign="top" width="11.947552842771563%" headers="mcps1.3.1.2.1.6.1.5 "><p id="sfs_02_0083__p877103783413"></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="sfs_02_0083__section149921655204019"><h4 class="sectiontitle">File System Expansion</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sfs_02_0083__table16855386414" frame="border" border="1" rules="all"><thead align="left"><tr id="sfs_02_0083__row7855982418"><th align="left" class="cellrowborder" valign="top" width="21.45367813206126%" id="mcps1.3.2.2.1.5.1.1"><p id="sfs_02_0083__p15995635193911">Permission</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="27.02736630680392%" id="mcps1.3.2.2.1.5.1.2"><p id="sfs_02_0083__p8300204914392">API</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="26.700979161436106%" id="mcps1.3.2.2.1.5.1.3"><p id="sfs_02_0083__p1598114373919">Action</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="24.81797639969872%" id="mcps1.3.2.2.1.5.1.4"><p id="sfs_02_0083__p6694175416398">IAM</p>
<p id="sfs_02_0083__p1469425419398">Project</p>
</th>
</tr>
</thead>
<tbody><tr id="sfs_02_0083__row885512864119"><td class="cellrowborder" valign="top" width="21.45367813206126%" headers="mcps1.3.2.2.1.5.1.1 "><p id="sfs_02_0083__p024410387394">Expanding the Capacity of a File System</p>
</td>
<td class="cellrowborder" valign="top" width="27.02736630680392%" headers="mcps1.3.2.2.1.5.1.2 "><p id="sfs_02_0083__p5503121925812">POST /v1/{project_id}/sfs-turbo/shares/{share_id}/action</p>
</td>
<td class="cellrowborder" valign="top" width="26.700979161436106%" headers="mcps1.3.2.2.1.5.1.3 "><p id="sfs_02_0083__p11613114483918">sfsturbo:shares:shareAction</p>
</td>
<td class="cellrowborder" valign="top" width="24.81797639969872%" headers="mcps1.3.2.2.1.5.1.4 "><p id="sfs_02_0083__p197801429402"></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="sfs_02_0083__section6221921163313"><h4 class="sectiontitle">APIs for Console Only</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="sfs_02_0083__table107154723316" frame="border" border="1" rules="all"><thead align="left"><tr id="sfs_02_0083__row1981475338"><th align="left" class="cellrowborder" valign="top" width="20.238504758628597%" id="mcps1.3.3.2.1.6.1.1"><p id="sfs_02_0083__p1618412118339">Permission</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="14.046554294232314%" id="mcps1.3.3.2.1.6.1.2"><p id="sfs_02_0083__p218442133318">API</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25.329664029354433%" id="mcps1.3.3.2.1.6.1.3"><p id="sfs_02_0083__p2184142110336">Action</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="27.886710239651418%" id="mcps1.3.3.2.1.6.1.4"><p id="sfs_02_0083__p149551159111411">Dependent Permission</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="12.49856667813324%" id="mcps1.3.3.2.1.6.1.5"><p id="sfs_02_0083__p844613854111">IAM</p>
<p id="sfs_02_0083__p04469387416">Project</p>
</th>
</tr>
</thead>
<tbody><tr id="sfs_02_0083__row158104713331"><td class="cellrowborder" valign="top" width="20.238504758628597%" headers="mcps1.3.3.2.1.6.1.1 "><p id="sfs_02_0083__p91845216333">Changing a Security Group</p>
</td>
<td class="cellrowborder" valign="top" width="14.046554294232314%" headers="mcps1.3.3.2.1.6.1.2 "><p id="sfs_02_0083__p131841821113312">For Console only</p>
</td>
<td class="cellrowborder" valign="top" width="25.329664029354433%" headers="mcps1.3.3.2.1.6.1.3 "><p id="sfs_02_0083__p198450148414">sfsturbo:shares:shareAction</p>
</td>
<td class="cellrowborder" valign="top" width="27.886710239651418%" headers="mcps1.3.3.2.1.6.1.4 "><p id="sfs_02_0083__p179559592148">To modify a security group, you must have the following permissions:</p>
<ul id="sfs_02_0083__ul144155112392"><li id="sfs_02_0083__li1444195143915">vpc:securityGroups:*</li><li id="sfs_02_0083__li144411519393">vpc:securityGroupRules:*</li></ul>
</td>
<td class="cellrowborder" valign="top" width="12.49856667813324%" headers="mcps1.3.3.2.1.6.1.5 "><p id="sfs_02_0083__p759010518415"></p>
</td>
</tr>
<tr id="sfs_02_0083__row712164733319"><td class="cellrowborder" valign="top" width="20.238504758628597%" headers="mcps1.3.3.2.1.6.1.1 "><p id="sfs_02_0083__p4189421113318">Querying the SFS Turbo Quota</p>
</td>
<td class="cellrowborder" valign="top" width="14.046554294232314%" headers="mcps1.3.3.2.1.6.1.2 "><p id="sfs_02_0083__p17189102116336">For Console only</p>
</td>
<td class="cellrowborder" valign="top" width="25.329664029354433%" headers="mcps1.3.3.2.1.6.1.3 "><p id="sfs_02_0083__p149181629104120">sfsturbo:shares:getQuota</p>
</td>
<td class="cellrowborder" valign="top" width="27.886710239651418%" headers="mcps1.3.3.2.1.6.1.4 "><p id="sfs_02_0083__p1395645931416">-</p>
</td>
<td class="cellrowborder" valign="top" width="12.49856667813324%" headers="mcps1.3.3.2.1.6.1.5 "><p id="sfs_02_0083__p125835519410"></p>
</td>
</tr>
<tr id="sfs_02_0083__row1912134715337"><td class="cellrowborder" valign="top" width="20.238504758628597%" headers="mcps1.3.3.2.1.6.1.1 "><p id="sfs_02_0083__p16190721183315">Obtaining the AZ Information</p>
</td>
<td class="cellrowborder" valign="top" width="14.046554294232314%" headers="mcps1.3.3.2.1.6.1.2 "><p id="sfs_02_0083__p18190112119339">For Console only</p>
</td>
<td class="cellrowborder" valign="top" width="25.329664029354433%" headers="mcps1.3.3.2.1.6.1.3 "><p id="sfs_02_0083__p1959110313419">sfsturbo:shares:getAZInfo</p>
</td>
<td class="cellrowborder" valign="top" width="27.886710239651418%" headers="mcps1.3.3.2.1.6.1.4 "><p id="sfs_02_0083__p395615951417">-</p>
</td>
<td class="cellrowborder" valign="top" width="12.49856667813324%" headers="mcps1.3.3.2.1.6.1.5 "><p id="sfs_02_0083__p058311554114"></p>
</td>
</tr>
<tr id="sfs_02_0083__row14121947133320"><td class="cellrowborder" valign="top" width="20.238504758628597%" headers="mcps1.3.3.2.1.6.1.1 "><p id="sfs_02_0083__p619011217338">Obtaining SFS Turbo Specifications</p>
</td>
<td class="cellrowborder" valign="top" width="14.046554294232314%" headers="mcps1.3.3.2.1.6.1.2 "><p id="sfs_02_0083__p1819082183315">For Console only</p>
</td>
<td class="cellrowborder" valign="top" width="25.329664029354433%" headers="mcps1.3.3.2.1.6.1.3 "><p id="sfs_02_0083__p211933104110">sfsturbo:shares:getFlavors</p>
</td>
<td class="cellrowborder" valign="top" width="27.886710239651418%" headers="mcps1.3.3.2.1.6.1.4 "><p id="sfs_02_0083__p795675910147">-</p>
</td>
<td class="cellrowborder" valign="top" width="12.49856667813324%" headers="mcps1.3.3.2.1.6.1.5 "><p id="sfs_02_0083__p85821351410"></p>
</td>
</tr>
<tr id="sfs_02_0083__row71334714331"><td class="cellrowborder" valign="top" width="20.238504758628597%" headers="mcps1.3.3.2.1.6.1.1 "><p id="sfs_02_0083__p1719162113337">Checking the Name of a File System</p>
</td>
<td class="cellrowborder" valign="top" width="14.046554294232314%" headers="mcps1.3.3.2.1.6.1.2 "><p id="sfs_02_0083__p101911121163311">For Console only</p>
</td>
<td class="cellrowborder" valign="top" width="25.329664029354433%" headers="mcps1.3.3.2.1.6.1.3 "><p id="sfs_02_0083__p1586953312419">sfsturbo:shares:checkShareName</p>
</td>
<td class="cellrowborder" valign="top" width="27.886710239651418%" headers="mcps1.3.3.2.1.6.1.4 "><p id="sfs_02_0083__p39565599141">-</p>
</td>
<td class="cellrowborder" valign="top" width="12.49856667813324%" headers="mcps1.3.3.2.1.6.1.5 "><p id="sfs_02_0083__p1158135174117"></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="sfs_02_0081.html">Supported Actions</a></div>
</div>
</div>