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

时间:2024-11-06 15:35:48

URI

GET /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}

表1 路径参数

参数

是否必选

参数类型

描述

name

String

name of the StatefulSet

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/readAppsV1NamespacedStatefulSet.html