RolesOperations interface
表示角色操作的接口。
属性
| create | 创建新的角色或更新现有角色。 |
| delete | 删除群集角色。 |
| get | 获取有关群集角色的信息。 |
| list |
列出给定群集中的所有角色。 |
属性详细信息
create
创建新的角色或更新现有角色。
create: (resourceGroupName: string, clusterName: string, roleName: string, parameters: Role, options?: RolesCreateOptionalParams) => PollerLike<OperationState<Role>, Role>
属性值
(resourceGroupName: string, clusterName: string, roleName: string, parameters: Role, options?: RolesCreateOptionalParams) => PollerLike<OperationState<Role>, Role>
delete
删除群集角色。
delete: (resourceGroupName: string, clusterName: string, roleName: string, options?: RolesDeleteOptionalParams) => PollerLike<OperationState<void>, void>
属性值
(resourceGroupName: string, clusterName: string, roleName: string, options?: RolesDeleteOptionalParams) => PollerLike<OperationState<void>, void>
get
获取有关群集角色的信息。
get: (resourceGroupName: string, clusterName: string, roleName: string, options?: RolesGetOptionalParams) => Promise<Role>
属性值
(resourceGroupName: string, clusterName: string, roleName: string, options?: RolesGetOptionalParams) => Promise<Role>
listByCluster
列出给定群集中的所有角色。
listByCluster: (resourceGroupName: string, clusterName: string, options?: RolesListByClusterOptionalParams) => PagedAsyncIterableIterator<Role, Role[], PageSettings>
属性值
(resourceGroupName: string, clusterName: string, options?: RolesListByClusterOptionalParams) => PagedAsyncIterableIterator<Role, Role[], PageSettings>