modelarts_api_20240307
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 51 KiB |
BIN
docs/modelarts/api-ref/en-us_image_0000001815626418.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
docs/modelarts/api-ref/en-us_image_0000001815960734.png
Normal file
After Width: | Height: | Size: 105 KiB |
BIN
docs/modelarts/api-ref/en-us_image_0000001815961414.png
Normal file
After Width: | Height: | Size: 79 KiB |
BIN
docs/modelarts/api-ref/en-us_image_0000001816121182.png
Normal file
After Width: | Height: | Size: 49 KiB |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 42 KiB |
BIN
docs/modelarts/api-ref/en-us_image_0000001862465813.png
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
docs/modelarts/api-ref/en-us_image_0000001862721045.png
Normal file
After Width: | Height: | Size: 92 KiB |
BIN
docs/modelarts/api-ref/en-us_image_0000001862721209.png
Normal file
After Width: | Height: | Size: 65 KiB |
318
docs/modelarts/api-ref/modelarts_03_0002.html
Normal file
@ -46,13 +46,13 @@ Content-Type: application/json
|
||||
<p id="modelarts_03_0004__p1694154793314">If you do not need the demo project, visit the following URL to download the API Gateway signing SDK:</p>
|
||||
<p id="modelarts_03_0004__p19866332181318">Obtain the API Gateway signing SDK from the enterprise administrator.</p>
|
||||
<p id="modelarts_03_0004__p146941947123310">Decompress the downloaded package and reference the obtained JAR files as dependencies, as highlighted in the following figure.</p>
|
||||
<p id="modelarts_03_0004__p12389340338"><span><img id="modelarts_03_0004__image12154257173317" src="en-us_image_0000001799501712.gif"></span></p>
|
||||
<div class="fignone" id="modelarts_03_0004__fig1682017613919"><span class="figcap"><b>Figure 1 </b>JAR Files</span><br><span><img id="modelarts_03_0004__image2820066396" src="en-us_image_0000001862721045.png"></span></div>
|
||||
<ol id="modelarts_03_0004__en-us_topic_0094388456_ol11139503184055"><li id="modelarts_03_0004__en-us_topic_0094388456_li33146668184055"><span>Generate an AK/SK. (If an AK/SK file has already been obtained, skip this step and locate the downloaded AK/SK file. Generally, the file name will be <strong id="modelarts_03_0004__b104721755202315">credentials.csv</strong>.)</span><p><div class="note" id="modelarts_03_0004__note322121052310"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="modelarts_03_0004__p16148151217238">If you use a RightCloud account, contact the system administrator to obtain the AK/SK.</p>
|
||||
</div></div>
|
||||
<ol type="a" id="modelarts_03_0004__ol527210192713"><li id="modelarts_03_0004__li206391249162717">Log in to the console, enter the <strong id="modelarts_03_0004__b202070308417">My Credentials</strong> page, and choose <strong id="modelarts_03_0004__b7208123016417">Access Keys</strong> > <strong id="modelarts_03_0004__b102084303419">Create Access Key</strong>.</li><li id="modelarts_03_0004__li727212120279">In the <span class="wintitle" id="modelarts_03_0004__wintitle153673654211"><b>Create Access Key</b></span> dialog box that is displayed, use the login password for verification.</li><li id="modelarts_03_0004__li6272913275">Click <strong id="modelarts_03_0004__b16018498427">OK</strong>, open the <strong id="modelarts_03_0004__b86094914425">credentials.csv</strong> file, and save the key file as prompted. The access key file is saved in the default downloads folder of the browser. Then, the access key (<strong id="modelarts_03_0004__b2219107154314">Access Key Id</strong> and <strong id="modelarts_03_0004__b221927164310">Secret Access Key</strong>) is obtained.</li></ol>
|
||||
</p></li><li id="modelarts_03_0004__li157891312153613"><span>Download and decompress the demo project.</span></li><li id="modelarts_03_0004__li94791126103617"><a name="modelarts_03_0004__li94791126103617"></a><a name="li94791126103617"></a><span>Import the demo project to Eclipse.</span><p><div class="fignone" id="modelarts_03_0004__fig10881944183710"><span class="figcap"><b>Figure 1 </b>Selecting Existing Projects into Workspace</span><br><span><img id="modelarts_03_0004__image1269313653714" src="en-us_image_0000001799341948.gif" width="NaN" height="NaN"></span></div>
|
||||
<div class="fignone" id="modelarts_03_0004__fig15961458113717"><span class="figcap"><b>Figure 2 </b>Selecting the demo project</span><br><span><img id="modelarts_03_0004__image2701239376" src="en-us_image_0000001846140877.gif" width="NaN" height="NaN"></span></div>
|
||||
<div class="fignone" id="modelarts_03_0004__fig74501929113815"><span class="figcap"><b>Figure 3 </b>Structure of the demo project</span><br><span><img id="modelarts_03_0004__image16819131113720" src="en-us_image_0000001846060809.gif" width="NaN" height="NaN"></span></div>
|
||||
</p></li><li id="modelarts_03_0004__li157891312153613"><span>Download and decompress the demo project.</span></li><li id="modelarts_03_0004__li94791126103617"><a name="modelarts_03_0004__li94791126103617"></a><a name="li94791126103617"></a><span>Import the demo project to Eclipse.</span><p><div class="fignone" id="modelarts_03_0004__fig126185494010"><span class="figcap"><b>Figure 2 </b>Selecting Existing Projects into Workspace</span><br><span><img id="modelarts_03_0004__image19645414403" src="en-us_image_0000001816121182.png"></span></div>
|
||||
<div class="fignone" id="modelarts_03_0004__fig192514235413"><span class="figcap"><b>Figure 3 </b>Selecting the demo project</span><br><span><img id="modelarts_03_0004__image7251152384120" src="en-us_image_0000001815961414.png"></span></div>
|
||||
<div class="fignone" id="modelarts_03_0004__fig1620863824118"><span class="figcap"><b>Figure 4 </b>Structure of the demo project</span><br><span><img id="modelarts_03_0004__image1520863816417" src="en-us_image_0000001862721209.png"></span></div>
|
||||
</p></li><li id="modelarts_03_0004__en-us_topic_0094388456_li55824361184055"><span>Sign the request.</span><p><p id="modelarts_03_0004__en-us_topic_0094388456_p32657207184055">The request signing method is integrated in the JAR files imported in <a href="#modelarts_03_0004__li94791126103617">3</a>. The request needs to be signed before it is sent. The signature will then be added as part of the HTTP header to the request.</p>
|
||||
<p id="modelarts_03_0004__p48653222398">The demo code is classified into the following classes to demonstrate signing and sending the HTTP request:</p>
|
||||
<ul id="modelarts_03_0004__ul1486512220397"><li id="modelarts_03_0004__li38651222193913"><strong id="modelarts_03_0004__b474718717244">AccessService</strong>: abstract class that merges the GET, POST, PUT, and DELETE methods into the <strong id="modelarts_03_0004__b4906511279">access</strong> method</li><li id="modelarts_03_0004__li586517224394"><strong id="modelarts_03_0004__b1794013111117">Demo</strong>: execution entry used to simulate the sending of GET, POST, PUT, and DELETE requests</li><li id="modelarts_03_0004__li1786522203918"><strong id="modelarts_03_0004__b27821111172414">AccessServiceImpl</strong>: implementation of the <strong id="modelarts_03_0004__b1851311365283">access</strong> method, which contains the code required for communication with API Gateway</li></ul>
|
||||
|
@ -178,7 +178,7 @@ Content-Type: application/json</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="modelarts_03_0005__en-us_topic_0170917207_en-us_topic_0168405763_section14612192315587"><h4 class="sectiontitle">Request Body</h4><p id="modelarts_03_0005__en-us_topic_0170917207_en-us_topic_0168405763_p23132011213">The body of a request is often sent in a structured format as specified in the Content-Type header field. The request body transfers content except the request header. The request body varies between APIs. Some APIs do not require the request body, such as the APIs requested using the GET and DELETE methods.</p>
|
||||
<p id="modelarts_03_0005__p959661302018">If an API is used to obtain a user token, the request parameters and parameter description can be obtained from the API request. The following provides an example request with a body included. Replace <em id="modelarts_03_0005__i6596113112011">user_name</em>, <em id="modelarts_03_0005__i1597171319201">domain_name</em>, and <em id="modelarts_03_0005__i794603122614">user_password</em> with the actual username, tenant name, and login password, respectively. <strong id="modelarts_03_0005__b18458958132612"><em id="modelarts_03_0005__i2061215426411">project_name</em></strong> is the project name. For details, see <a href="modelarts_03_0006.html">Obtaining a Username</a>, <a href="modelarts_03_0148.html">Obtaining a Tenant Name and ID</a>, and <a href="modelarts_03_0147.html">Obtaining a Project Name</a>.</p>
|
||||
<p id="modelarts_03_0005__p959661302018">If an API is used to obtain a user token, the request parameters and parameter description can be obtained from the API request. The following provides an example request with a body included. Replace <em id="modelarts_03_0005__i6596113112011">user_name</em>, <em id="modelarts_03_0005__i1597171319201">domain_name</em>, and <em id="modelarts_03_0005__i794603122614">user_password</em> with the actual username, tenant name, and login password, respectively. <strong id="modelarts_03_0005__b18458958132612"><em id="modelarts_03_0005__i2061215426411">project_name</em></strong> is the project name. For details, see <a href="modelarts_03_0006.html">Obtaining a Username</a>, <a href="modelarts_03_0148.html">Obtaining the Account Name and Account ID</a>, and <a href="modelarts_03_0147.html">Obtaining a Project Name</a>.</p>
|
||||
<div class="note" id="modelarts_03_0005__note1350402418201"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="modelarts_03_0005__p77561625162017">The <strong id="modelarts_03_0005__b574016447218">scope</strong> parameter specifies where a token takes effect. In the example, the token takes effect only for the resources in a specified project. ModelArts uses a region-specific endpoint to call this API. Set <strong id="modelarts_03_0005__b778018496420">scope</strong> to <strong id="modelarts_03_0005__b66121354134216">project</strong>. You can set <strong id="modelarts_03_0005__b18747185911421">scope</strong> to an account or a project under an account. In the following example, the token takes effect only for the resources in a specified project. For more information about this API, see "Obtaining a User Token".</p>
|
||||
</div></div>
|
||||
<pre class="screen" id="modelarts_03_0005__screen1930315611554">POST https://<em id="modelarts_03_0005__i17401010472">{iam-endpoint}</em>/v3/auth/tokens
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
<h1 class="topictitle1">Obtaining a Username and ID</h1>
|
||||
<div id="body0000001124853294"><p id="modelarts_03_0006__p11483724190">When you call APIs, certain requests require the username and ID. To obtain a username and ID, do as follows:</p>
|
||||
<ol id="modelarts_03_0006__ol1116610402165"><li id="modelarts_03_0006__li6166134014163">Log in to the management console after registration.</li><li id="modelarts_03_0006__li14871171615319">In the upper right corner, click your account avatar icon and choose <strong id="modelarts_03_0006__b083324194711">My Settings</strong> from the drop-down list.<p id="modelarts_03_0006__p48715161311">On the <span class="wintitle" id="modelarts_03_0006__wintitle152691484472"><b>My Settings</b></span> page, view the username and ID.</p>
|
||||
<div class="fignone" id="modelarts_03_0006__fig173616433916"><span class="figcap"><b>Figure 1 </b>Viewing the username and ID</span><br><span><img id="modelarts_03_0006__image67375431091" src="en-us_image_0000001846140865.png" height="118.04321900000001" width="469.49" title="Click to enlarge" class="imgResize"></span></div>
|
||||
<ol id="modelarts_03_0006__ol1116610402165"><li id="modelarts_03_0006__li6166134014163">Log in to the console.</li><li id="modelarts_03_0006__li7166840181614">Hover the cursor on the username and choose <span class="parmname" id="modelarts_03_0006__parmname1355361314446"><b>My Credentials</b></span> from the drop-down list.<p id="modelarts_03_0006__p1166124001611">On the <span class="wintitle" id="modelarts_03_0006__wintitle111661940161615"><b>API Credentials</b></span> page, view the IAM username and ID.</p>
|
||||
<div class="fignone" id="modelarts_03_0006__fig816634061619"><span class="figcap"><b>Figure 1 </b>Viewing the username and ID</span><br><span><img id="modelarts_03_0006__image9863152152920" src="en-us_image_0000001815626418.png" width="469.49" height="153.6017" title="Click to enlarge" class="imgResize"></span></div>
|
||||
</li></ol>
|
||||
</div>
|
||||
<div>
|
||||
|
@ -10,7 +10,7 @@
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="modelarts_03_0147.html">Obtaining a Project ID and Name</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="modelarts_03_0148.html">Obtaining a Tenant Name and ID</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="modelarts_03_0148.html">Obtaining the Account Name and Account ID</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="modelarts_03_0006.html">Obtaining a Username and ID</a></strong><br>
|
||||
</li>
|
||||
|
@ -18,8 +18,6 @@
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="modelarts_03_0115.html">Managing a Development Environment Instance</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="en-us_topic_0000001799501532.html">Restarting an ML Studio Instance</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
25
docs/modelarts/api-ref/modelarts_03_0138.html
Normal file
@ -0,0 +1,25 @@
|
||||
<a name="modelarts_03_0138"></a><a name="modelarts_03_0138"></a>
|
||||
|
||||
<h1 class="topictitle1">Permissions Policies and Supported Actions</h1>
|
||||
<div id="body0000001809911284"></div>
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="modelarts_03_0146.html">Introduction</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="modelarts_03_0234.html">ExeML Permissions</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="modelarts_03_0161.html">Data Management Permissions</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="modelarts_03_0162.html">DevEnviron Permissions</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="modelarts_03_0163.html">Training Job Permissions</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="modelarts_03_0164.html">Model Management Permissions</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="modelarts_03_0165.html">Service Management Permissions</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="modelarts_03_0166.html">Workspace Management Permissions</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -5,7 +5,7 @@
|
||||
</li><li id="modelarts_03_0143__en-us_topic_0170640577_en-us_topic_0169294976_li1564913617106">Region<p id="modelarts_03_0143__en-us_topic_0170640577_en-us_topic_0169294976_p10588103711107"><a name="modelarts_03_0143__en-us_topic_0170640577_en-us_topic_0169294976_li1564913617106"></a><a name="en-us_topic_0170640577_en-us_topic_0169294976_li1564913617106"></a>A region is a physical location where a cloud service is deployed. Availability zones (AZ) in the same region can communicate with each other over an intranet but AZs in different regions cannot communicate with each other. By creating cloud resources in different regions, you can design applications to better meet customer requirements and comply with local laws and regulations.</p>
|
||||
</li><li id="modelarts_03_0143__en-us_topic_0170640577_en-us_topic_0169294976_li1183783919109">AZ<p id="modelarts_03_0143__en-us_topic_0170640577_en-us_topic_0169294976_p061084051014"><a name="modelarts_03_0143__en-us_topic_0170640577_en-us_topic_0169294976_li1183783919109"></a><a name="en-us_topic_0170640577_en-us_topic_0169294976_li1183783919109"></a>An AZ contains one or more physical data centers. It has independent cooling, fire extinguishing, moisture-proof, and electricity facilities. Within an AZ, computing, network, storage, and other resources are logically divided into multiple clusters. AZs within a region are interconnected using high-speed optical fibers to allow users to build cross-AZ high-availability systems.</p>
|
||||
</li><li id="modelarts_03_0143__en-us_topic_0170640577_en-us_topic_0169294976_li3896216123113">Project<p id="modelarts_03_0143__en-us_topic_0170640577_en-us_topic_0169294976_p10896181643118"><a name="modelarts_03_0143__en-us_topic_0170640577_en-us_topic_0169294976_li3896216123113"></a><a name="en-us_topic_0170640577_en-us_topic_0169294976_li3896216123113"></a>Projects group and isolate compute, storage, and network resources across physical regions. A default project is provided for each region, and subprojects can be created under each default project. Users can be granted permissions to access all resources in a specific project. For more refined access control, create subprojects under a project and purchase resources in the subprojects. Users can then be assigned permissions to access only specific resources in the subprojects.</p>
|
||||
<div class="fignone" id="modelarts_03_0143__en-us_topic_0170640577_en-us_topic_0169294976_fig1189614168311"><span class="figcap"><b>Figure 1 </b>Project isolation model</span><br><span><img id="modelarts_03_0143__en-us_topic_0170640577_en-us_topic_0169294976_image689661615316" src="en-us_image_0000001799501744.gif" width="492.1" height="192.108259" title="Click to enlarge" class="imgResize"></span></div>
|
||||
<div class="fignone" id="modelarts_03_0143__fig189771917154318"><span class="figcap"><b>Figure 1 </b>Project isolation model</span><br><span><img id="modelarts_03_0143__image20977317204313" src="en-us_image_0000001815960734.png" height="203.49" width="523.6875" title="Click to enlarge" class="imgResize"></span></div>
|
||||
</li></ul>
|
||||
</div>
|
||||
<div>
|
||||
|
21
docs/modelarts/api-ref/modelarts_03_0146.html
Normal file
@ -0,0 +1,21 @@
|
||||
<a name="modelarts_03_0146"></a><a name="modelarts_03_0146"></a>
|
||||
|
||||
<h1 class="topictitle1">Introduction</h1>
|
||||
<div id="body0000001810071120"><p id="modelarts_03_0146__p164311783319">This section describes fine-grained permissions management for your ModelArts. If your account does not require individual IAM users, skip this section.</p>
|
||||
<p id="modelarts_03_0146__p1844161723317">By default, new IAM users do not have permissions assigned. You need to add a user to one or more groups, and attach permissions policies or roles to these groups. Users inherit permissions from the groups to which they are added and can perform specified operations on cloud services based on the permissions.</p>
|
||||
<div class="note" id="modelarts_03_0146__note39578164335"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="modelarts_03_0146__p113651321093">Policy-based authorization is useful if you want to allow or deny the access to an API.</p>
|
||||
</div></div>
|
||||
<p id="modelarts_03_0146__p1845161753311">An account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions. The permissions required for calling an API are determined by the actions supported by the API. Only users who have been granted permissions allowing the actions can call the API successfully. For example, if an IAM user wants to query ECSs using an API, the user must have been granted permissions that allow the <strong id="modelarts_03_0146__b524542111610">modelarts:notebook:create</strong> action.</p>
|
||||
<div class="section" id="modelarts_03_0146__section10100735557"><h4 class="sectiontitle">Supported Actions</h4><p id="modelarts_03_0146__p6451617143314">ModelArts provides system-defined policies that can be directly used in IAM. You can also create custom policies and use them to supplement system-defined policies, implementing more refined access control. Operations supported by policies are specific to APIs. The following are common concepts related to policies:</p>
|
||||
<ul id="modelarts_03_0146__ul164516173339"><li id="modelarts_03_0146__li16451117103312">Permissions: Statements in a policy that allow or deny certain operations.</li><li id="modelarts_03_0146__li651012113417">APIs: RESTful APIs that can be called in a custom policy.</li></ul>
|
||||
<ul id="modelarts_03_0146__ul31178221182"><li id="modelarts_03_0146__li411782216182">Actions: Specific operations that are allowed or denied.</li><li id="modelarts_03_0146__li184733402187">Related actions: Actions on which a specific action depends to take effect. When assigning permissions for the action to a user, you also need to assign permissions for the related actions.</li><li id="modelarts_03_0146__li11117722171812">IAM or enterprise projects: Type of projects for which an action will take effect. Policies that contain actions for both IAM and enterprise projects can be used and take effect for both IAM and Enterprise Management. Policies that only contain actions for IAM projects can be used and only take effect for IAM. <div class="note" id="modelarts_03_0146__note11691347131810"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="modelarts_03_0146__p16471115320182">The check mark (√) and cross symbol (x) indicate that an action takes effect or does not take effect for the corresponding type of projects.</p>
|
||||
</div></div>
|
||||
</li></ul>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="modelarts_03_0138.html">Permissions Policies and Supported Actions</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,11 +1,11 @@
|
||||
<a name="modelarts_03_0148"></a><a name="modelarts_03_0148"></a>
|
||||
|
||||
<h1 class="topictitle1">Obtaining a Tenant Name and ID</h1>
|
||||
<div id="body1558664220452"><div class="p" id="modelarts_03_0148__p7915105319168">When you call APIs, certain requests require the domain name and ID. To obtain a domain name and ID, do as follows:<ol id="modelarts_03_0148__ol1816574021617"><li id="modelarts_03_0148__li19165174011612">Log in to the ModelArts console.</li><li id="modelarts_03_0148__li18165164021618">In the upper right corner, click your account avatar icon and choose <strong id="modelarts_03_0148__b1335416215454">My Settings</strong> from the drop-down list.<p id="modelarts_03_0148__p12165104051617">On the <span class="wintitle" id="modelarts_03_0148__wintitle854118574520"><b>My Settings</b></span> page, view the tenant name and ID.</p>
|
||||
<div class="fignone" id="modelarts_03_0148__fig399112352128"><span class="figcap"><b>Figure 1 </b>Viewing the tenant name and ID</span><br><span><img id="modelarts_03_0148__image19991235191213" src="en-us_image_0000001799341996.png" height="116.254635" width="469.49" title="Click to enlarge" class="imgResize"></span></div>
|
||||
<h1 class="topictitle1">Obtaining the Account Name and Account ID</h1>
|
||||
<div id="body1558664220452"><p id="modelarts_03_0148__p11483724190">When you call APIs, certain requests require the account name and ID. To obtain an account name and ID, do as follows:</p>
|
||||
<ol id="modelarts_03_0148__ol1116610402165"><li id="modelarts_03_0148__li6166134014163">Log in to the console.</li><li id="modelarts_03_0148__li7166840181614">Hover the cursor on the username and choose <span class="parmname" id="modelarts_03_0148__parmname2166240161619"><b>My Credentials</b></span> from the drop-down list.<p id="modelarts_03_0148__p1166124001611">On the <span class="wintitle" id="modelarts_03_0148__wintitle367154181018"><b>API Credentials</b></span> page, view the account name and ID.</p>
|
||||
<div class="fignone" id="modelarts_03_0148__fig816634061619"><span class="figcap"><b>Figure 1 </b>Viewing the account name and ID</span><br><span><img id="modelarts_03_0148__image145201929172912" src="en-us_image_0000001862465813.png" width="469.49" height="73.5889" title="Click to enlarge" class="imgResize"></span></div>
|
||||
</li></ol>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="modelarts_03_0093.html">Common Parameters</a></div>
|
||||
|
1308
docs/modelarts/api-ref/modelarts_03_0161.html
Normal file
103
docs/modelarts/api-ref/modelarts_03_0162.html
Normal file
334
docs/modelarts/api-ref/modelarts_03_0163.html
Normal file
70
docs/modelarts/api-ref/modelarts_03_0164.html
Normal file
@ -0,0 +1,70 @@
|
||||
<a name="modelarts_03_0164"></a><a name="modelarts_03_0164"></a>
|
||||
|
||||
<h1 class="topictitle1">Model Management Permissions</h1>
|
||||
<div id="body0000001856669889">
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="modelarts_03_0164__table066423185515" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Fine-grained permissions for model management</caption><thead align="left"><tr id="modelarts_03_0164__en-us_topic_0161309192_row19530925154414"><th align="left" class="cellrowborder" valign="top" width="25.641025641025646%" id="mcps1.3.1.2.6.1.1"><p id="modelarts_03_0164__p1360513218173">Permission</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="28.205128205128204%" id="mcps1.3.1.2.6.1.2"><p id="modelarts_03_0164__en-us_topic_0161309192_p610676142414">API</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="28.205128205128204%" id="mcps1.3.1.2.6.1.3"><p id="modelarts_03_0164__en-us_topic_0161309192_p2995114142313">Action</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="8.974358974358974%" id="mcps1.3.1.2.6.1.4"><p id="modelarts_03_0164__p1026952995515">IAM Project</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="8.974358974358974%" id="mcps1.3.1.2.6.1.5"><p id="modelarts_03_0164__p1311643116553">Enterprise Project</p>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr id="modelarts_03_0164__en-us_topic_0161309192_row653072524410"><td class="cellrowborder" valign="top" width="25.641025641025646%" headers="mcps1.3.1.2.6.1.1 "><p id="modelarts_03_0164__en-us_topic_0161309192_p1353022512448">Importing a Model</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="28.205128205128204%" headers="mcps1.3.1.2.6.1.2 "><p id="modelarts_03_0164__en-us_topic_0161309192_p1530025194416">POST /v1/{project_id}/models</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="28.205128205128204%" headers="mcps1.3.1.2.6.1.3 "><p id="modelarts_03_0164__en-us_topic_0161309192_p19530425114417">modelarts:model:create</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="8.974358974358974%" headers="mcps1.3.1.2.6.1.4 "><p id="modelarts_03_0164__p660217942619">√</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="8.974358974358974%" headers="mcps1.3.1.2.6.1.5 "><p id="modelarts_03_0164__p5613139192611">√</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="modelarts_03_0164__en-us_topic_0161309192_row25306259448"><td class="cellrowborder" valign="top" width="25.641025641025646%" headers="mcps1.3.1.2.6.1.1 "><p id="modelarts_03_0164__en-us_topic_0161309192_p1653011255448">Querying the List of Models</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="28.205128205128204%" headers="mcps1.3.1.2.6.1.2 "><p id="modelarts_03_0164__en-us_topic_0161309192_p353017250444">GET /v1/{project_id}/models</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="28.205128205128204%" headers="mcps1.3.1.2.6.1.3 "><p id="modelarts_03_0164__en-us_topic_0161309192_p1530025154413">modelarts:model:list</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="8.974358974358974%" headers="mcps1.3.1.2.6.1.4 "><p id="modelarts_03_0164__p11625169202619">√</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="8.974358974358974%" headers="mcps1.3.1.2.6.1.5 "><p id="modelarts_03_0164__p116288919267">√</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="modelarts_03_0164__en-us_topic_0161309192_row11530142510441"><td class="cellrowborder" valign="top" width="25.641025641025646%" headers="mcps1.3.1.2.6.1.1 "><p id="modelarts_03_0164__en-us_topic_0161309192_p853062517440">Deleting a Model</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="28.205128205128204%" headers="mcps1.3.1.2.6.1.2 "><p id="modelarts_03_0164__en-us_topic_0161309192_p1553013251443">DELETE /v1/{project_id}/models/{model_id}</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="28.205128205128204%" headers="mcps1.3.1.2.6.1.3 "><p id="modelarts_03_0164__en-us_topic_0161309192_p1453062515446">modelarts:model:delete</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="8.974358974358974%" headers="mcps1.3.1.2.6.1.4 "><p id="modelarts_03_0164__p166311495262">√</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="8.974358974358974%" headers="mcps1.3.1.2.6.1.5 "><p id="modelarts_03_0164__p86331972617">√</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="modelarts_03_0164__en-us_topic_0161309192_row1053042554415"><td class="cellrowborder" valign="top" width="25.641025641025646%" headers="mcps1.3.1.2.6.1.1 "><p id="modelarts_03_0164__en-us_topic_0161309192_p18531425144412">Querying Details About a Model</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="28.205128205128204%" headers="mcps1.3.1.2.6.1.2 "><p id="modelarts_03_0164__en-us_topic_0161309192_p553082520447">GET /v1/{project_id}/models/{model_id}</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="28.205128205128204%" headers="mcps1.3.1.2.6.1.3 "><p id="modelarts_03_0164__en-us_topic_0161309192_p3531172584411">modelarts:model:get</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="8.974358974358974%" headers="mcps1.3.1.2.6.1.4 "><p id="modelarts_03_0164__p11635209112619">√</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="8.974358974358974%" headers="mcps1.3.1.2.6.1.5 "><p id="modelarts_03_0164__p2638797263">√</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="modelarts_03_0138.html">Permissions Policies and Supported Actions</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
125
docs/modelarts/api-ref/modelarts_03_0165.html
Normal file
126
docs/modelarts/api-ref/modelarts_03_0166.html
Normal file
@ -4,6 +4,8 @@
|
||||
<div id="body1550566974976"></div>
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="modelarts_03_0299.html">Data Management APIs</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="dataset_management.html">Dataset Management</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="dataset_version_management.html">Dataset Version Management</a></strong><br>
|
||||
|