云容器实例 CCI-创建RoleBinding:URI

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

URI

POST /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings

表1 路径参数

参数

是否必选

参数类型

描述

namespace

String

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

表2 Query参数

参数

是否必选

参数类型

描述

dryRun

String

When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed

fieldManager

String

fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.

pretty

String

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

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