otcbot[bot] 4317c860a8
Update content (#31)
Changes to ma_api from doc-exports#1


This is an automatically created Pull Request for changes to ma_api in opentelekomcloud-docs/doc-exports#1.
Please do not edit it manually, since update to the original PR will overwrite local changes.
Original patch file, as well as complete rst archive,  can be found in the artifacts of the opentelekomcloud-docs/doc-exports#1

Reviewed-by: Vineet Pruthi <None>
2022-05-02 14:51:57 +00:00

29 lines
1.9 KiB
ReStructuredText

:original_name: modelarts_03_0141.html
.. _modelarts_03_0141:
Endpoints
=========
Endpoints are **request address** for calling APIs. Endpoints vary depending on services and regions. To obtain the regions and endpoints, contact the enterprise administrator.
A service endpoint consists of the service name, region ID, and external domain name in the format of "{service_name}.{region_id}.{external_domain_name}". For details about how to obtain each parameter, see :ref:`Table 1 <modelarts_03_0141__en-us_topic_0000001072357044_table8700253831>`.
.. _modelarts_03_0141__en-us_topic_0000001072357044_table8700253831:
.. table:: **Table 1** Obtaining an endpoint
+----------------------+-------------------------------------------------+------------------------------------------+
| Parameter | Description | How to Obtain |
+======================+=================================================+==========================================+
| service_name | Abbreviation of a case-insensitive service name | **modelarts** for ModelArts by default. |
+----------------------+-------------------------------------------------+------------------------------------------+
| region_id | Region ID | Obtain the value from the administrator. |
+----------------------+-------------------------------------------------+------------------------------------------+
| external_domain_name | External domain name suffix | Obtain the value from the administrator. |
+----------------------+-------------------------------------------------+------------------------------------------+
.. important::
If an endpoint uses a domain name, configure the hosts file in the format of "{float-ip} {service_name}.{region_id}.{external_domain_name}" on the local PC. Obtain **float-ip** from the administrator.