doc-exports/docs/modelarts/api-ref/modelarts_03_0141.html
Lai, Weijian 68e5cd0687 ModelArts API 23.3.0 Version.
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lai, Weijian <laiweijian4@huawei.com>
Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
2024-06-18 11:02:37 +00:00

4.8 KiB

Endpoint

An endpoint is the request address for calling an API. 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}". Table 1 describes these parameters.

Table 1 Endpoint parameters

Parameter

Description

How to Obtain

service_name

Abbreviation of a case-insensitive service name

modelarts for ModelArts by default.

region_id

Region ID

Contact the system administrator to obtain.

external_domain_name

External domain name suffix

Contact the system administrator to obtain.

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. Contact the system administrator to obtain float-ip.