MRS API Doc 20240802 version

Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
This commit is contained in:
2024-09-28 19:01:52 +00:00
committed by zuul
parent 1c7fe15e7b
commit f1bf1560d6
16 changed files with 173 additions and 44 deletions

View File

@ -56,7 +56,7 @@
<ol type="a" id="mrs_02_0009__en-us_topic_0121671869_ol1515318170459"><li id="mrs_02_0009__en-us_topic_0121671869_li1985133317503">Edit the main() method in the <strong id="mrs_02_0009__b15528162725513">Demo.java</strong> file, and replace the bold text with actual values.<p id="mrs_02_0009__en-us_topic_0121671869_p2061535616161">As shown in the following code, if you use other methods such as POST, PUT, and DELETE, see the corresponding comment.</p>
<p id="mrs_02_0009__en-us_topic_0121671869_p129401344175213">Specify <strong id="mrs_02_0009__b15205121035018">region</strong>, <strong id="mrs_02_0009__b1206191014503">serviceName</strong>, <strong id="mrs_02_0009__b720821011507">ak/sk</strong>, and <strong id="mrs_02_0009__b17208191075017">url</strong> as the actual values. In this demo, the URLs for accessing VPC resources are used.</p>
<p id="mrs_02_0009__en-us_topic_0121671869_p27531945173720">To obtain the project ID in the URLs, see <a href="mrs_02_0011.html">Obtaining a Project ID</a>.</p>
<p id="mrs_02_0009__p153251884810">To obtain the endpoint, see <a href="https://docs.otc.t-systems.com/en-us/endpoint/index.html" target="_blank" rel="noopener noreferrer">Regions and Endpoints</a>.</p>
<p id="mrs_02_0009__p153251884810">To obtain the endpoint, see <a href="https://docs.otc.t-systems.com/regions-and-endpoints/index.html" target="_blank" rel="noopener noreferrer">Regions and Endpoints</a>.</p>
<pre class="screen" id="mrs_02_0009__en-us_topic_0121671869_screen89816540225">//<strong id="mrs_02_0009__en-us_topic_0121671869_b6201155152216">TODO</strong>: Replace region with the name of the region in which the service to be accessed is located.
<strong id="mrs_02_0009__en-us_topic_0121671869_b17211255162214">private</strong> <strong id="mrs_02_0009__en-us_topic_0121671869_b152115532218">static</strong> <strong id="mrs_02_0009__en-us_topic_0121671869_b1121105522215">final</strong> String <strong id="mrs_02_0009__en-us_topic_0121671869_b5213558226"><em id="mrs_02_0009__en-us_topic_0121671869_i2211455112218">region</em></strong> = "";