云容器实例 CCI-查询Service:URI

时间:2023-12-01 17:06:30

URI

GET /api/v1/namespaces/{namespace}/services/{name}

表1 路径参数

参数

是否必选

参数类型

描述

name

String

name of the Service

namespace

String

object name and auth scope, such as for teams and projects

表2 Query参数

参数

是否必选

参数类型

描述

exact

Boolean

Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.

export

Boolean

Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.

pretty

String

If 'true', then the output is pretty printed.

support.huaweicloud.com/api-cci/readCoreV1NamespacedService.html