@alicloud/cs20151215 4.4.0 → 4.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -481,6 +481,88 @@ export declare class CheckServiceRoleResponse extends $tea.Model {
481
481
  [key: string]: any;
482
482
  });
483
483
  }
484
+ export declare class CleanClusterUserPermissionsRequest extends $tea.Model {
485
+ force?: boolean;
486
+ static names(): {
487
+ [key: string]: string;
488
+ };
489
+ static types(): {
490
+ [key: string]: any;
491
+ };
492
+ constructor(map?: {
493
+ [key: string]: any;
494
+ });
495
+ }
496
+ export declare class CleanClusterUserPermissionsResponse extends $tea.Model {
497
+ headers?: {
498
+ [key: string]: string;
499
+ };
500
+ statusCode?: number;
501
+ static names(): {
502
+ [key: string]: string;
503
+ };
504
+ static types(): {
505
+ [key: string]: any;
506
+ };
507
+ constructor(map?: {
508
+ [key: string]: any;
509
+ });
510
+ }
511
+ export declare class CleanUserPermissionsRequest extends $tea.Model {
512
+ clusterIds?: string[];
513
+ force?: boolean;
514
+ static names(): {
515
+ [key: string]: string;
516
+ };
517
+ static types(): {
518
+ [key: string]: any;
519
+ };
520
+ constructor(map?: {
521
+ [key: string]: any;
522
+ });
523
+ }
524
+ export declare class CleanUserPermissionsShrinkRequest extends $tea.Model {
525
+ clusterIdsShrink?: string;
526
+ force?: boolean;
527
+ static names(): {
528
+ [key: string]: string;
529
+ };
530
+ static types(): {
531
+ [key: string]: any;
532
+ };
533
+ constructor(map?: {
534
+ [key: string]: any;
535
+ });
536
+ }
537
+ export declare class CleanUserPermissionsResponseBody extends $tea.Model {
538
+ requestId?: string;
539
+ taskId?: string;
540
+ static names(): {
541
+ [key: string]: string;
542
+ };
543
+ static types(): {
544
+ [key: string]: any;
545
+ };
546
+ constructor(map?: {
547
+ [key: string]: any;
548
+ });
549
+ }
550
+ export declare class CleanUserPermissionsResponse extends $tea.Model {
551
+ headers?: {
552
+ [key: string]: string;
553
+ };
554
+ statusCode?: number;
555
+ body?: CleanUserPermissionsResponseBody;
556
+ static names(): {
557
+ [key: string]: string;
558
+ };
559
+ static types(): {
560
+ [key: string]: any;
561
+ };
562
+ constructor(map?: {
563
+ [key: string]: any;
564
+ });
565
+ }
484
566
  export declare class CreateAutoscalingConfigRequest extends $tea.Model {
485
567
  coolDownDuration?: string;
486
568
  daemonsetEvictionForNodes?: boolean;
@@ -3344,6 +3426,48 @@ export declare class ListClusterChecksResponse extends $tea.Model {
3344
3426
  [key: string]: any;
3345
3427
  });
3346
3428
  }
3429
+ export declare class ListClusterKubeconfigStatesRequest extends $tea.Model {
3430
+ pageNumber?: number;
3431
+ pageSize?: number;
3432
+ static names(): {
3433
+ [key: string]: string;
3434
+ };
3435
+ static types(): {
3436
+ [key: string]: any;
3437
+ };
3438
+ constructor(map?: {
3439
+ [key: string]: any;
3440
+ });
3441
+ }
3442
+ export declare class ListClusterKubeconfigStatesResponseBody extends $tea.Model {
3443
+ page?: ListClusterKubeconfigStatesResponseBodyPage;
3444
+ states?: ListClusterKubeconfigStatesResponseBodyStates[];
3445
+ static names(): {
3446
+ [key: string]: string;
3447
+ };
3448
+ static types(): {
3449
+ [key: string]: any;
3450
+ };
3451
+ constructor(map?: {
3452
+ [key: string]: any;
3453
+ });
3454
+ }
3455
+ export declare class ListClusterKubeconfigStatesResponse extends $tea.Model {
3456
+ headers?: {
3457
+ [key: string]: string;
3458
+ };
3459
+ statusCode?: number;
3460
+ body?: ListClusterKubeconfigStatesResponseBody;
3461
+ static names(): {
3462
+ [key: string]: string;
3463
+ };
3464
+ static types(): {
3465
+ [key: string]: any;
3466
+ };
3467
+ constructor(map?: {
3468
+ [key: string]: any;
3469
+ });
3470
+ }
3347
3471
  export declare class ListOperationPlansRequest extends $tea.Model {
3348
3472
  clusterId?: string;
3349
3473
  type?: string;
@@ -3447,6 +3571,48 @@ export declare class ListTagResourcesResponse extends $tea.Model {
3447
3571
  [key: string]: any;
3448
3572
  });
3449
3573
  }
3574
+ export declare class ListUserKubeConfigStatesRequest extends $tea.Model {
3575
+ pageNumber?: number;
3576
+ pageSize?: number;
3577
+ static names(): {
3578
+ [key: string]: string;
3579
+ };
3580
+ static types(): {
3581
+ [key: string]: any;
3582
+ };
3583
+ constructor(map?: {
3584
+ [key: string]: any;
3585
+ });
3586
+ }
3587
+ export declare class ListUserKubeConfigStatesResponseBody extends $tea.Model {
3588
+ page?: ListUserKubeConfigStatesResponseBodyPage;
3589
+ states?: ListUserKubeConfigStatesResponseBodyStates[];
3590
+ static names(): {
3591
+ [key: string]: string;
3592
+ };
3593
+ static types(): {
3594
+ [key: string]: any;
3595
+ };
3596
+ constructor(map?: {
3597
+ [key: string]: any;
3598
+ });
3599
+ }
3600
+ export declare class ListUserKubeConfigStatesResponse extends $tea.Model {
3601
+ headers?: {
3602
+ [key: string]: string;
3603
+ };
3604
+ statusCode?: number;
3605
+ body?: ListUserKubeConfigStatesResponseBody;
3606
+ static names(): {
3607
+ [key: string]: string;
3608
+ };
3609
+ static types(): {
3610
+ [key: string]: any;
3611
+ };
3612
+ constructor(map?: {
3613
+ [key: string]: any;
3614
+ });
3615
+ }
3450
3616
  export declare class MigrateClusterRequest extends $tea.Model {
3451
3617
  ossBucketEndpoint?: string;
3452
3618
  ossBucketName?: string;
@@ -7208,6 +7374,39 @@ export declare class ListClusterChecksResponseBodyChecks extends $tea.Model {
7208
7374
  [key: string]: any;
7209
7375
  });
7210
7376
  }
7377
+ export declare class ListClusterKubeconfigStatesResponseBodyPage extends $tea.Model {
7378
+ pageNumber?: number;
7379
+ pageSize?: number;
7380
+ totalCount?: number;
7381
+ static names(): {
7382
+ [key: string]: string;
7383
+ };
7384
+ static types(): {
7385
+ [key: string]: any;
7386
+ };
7387
+ constructor(map?: {
7388
+ [key: string]: any;
7389
+ });
7390
+ }
7391
+ export declare class ListClusterKubeconfigStatesResponseBodyStates extends $tea.Model {
7392
+ accountDisplayName?: string;
7393
+ accountId?: string;
7394
+ accountName?: string;
7395
+ accountState?: string;
7396
+ accountType?: string;
7397
+ certExpireTime?: string;
7398
+ certState?: string;
7399
+ revokable?: boolean;
7400
+ static names(): {
7401
+ [key: string]: string;
7402
+ };
7403
+ static types(): {
7404
+ [key: string]: any;
7405
+ };
7406
+ constructor(map?: {
7407
+ [key: string]: any;
7408
+ });
7409
+ }
7211
7410
  export declare class ListOperationPlansResponseBodyPlans extends $tea.Model {
7212
7411
  clusterId?: string;
7213
7412
  created?: string;
@@ -7255,6 +7454,36 @@ export declare class ListTagResourcesResponseBodyTagResources extends $tea.Model
7255
7454
  [key: string]: any;
7256
7455
  });
7257
7456
  }
7457
+ export declare class ListUserKubeConfigStatesResponseBodyPage extends $tea.Model {
7458
+ pageNumber?: number;
7459
+ pageSize?: number;
7460
+ totalCount?: number;
7461
+ static names(): {
7462
+ [key: string]: string;
7463
+ };
7464
+ static types(): {
7465
+ [key: string]: any;
7466
+ };
7467
+ constructor(map?: {
7468
+ [key: string]: any;
7469
+ });
7470
+ }
7471
+ export declare class ListUserKubeConfigStatesResponseBodyStates extends $tea.Model {
7472
+ certExpireTime?: string;
7473
+ certState?: string;
7474
+ clusterId?: string;
7475
+ clusterName?: string;
7476
+ clusterState?: string;
7477
+ static names(): {
7478
+ [key: string]: string;
7479
+ };
7480
+ static types(): {
7481
+ [key: string]: any;
7482
+ };
7483
+ constructor(map?: {
7484
+ [key: string]: any;
7485
+ });
7486
+ }
7258
7487
  export declare class ModifyClusterRequestApiServerCustomCertSans extends $tea.Model {
7259
7488
  action?: string;
7260
7489
  subjectAlternativeNames?: string[];
@@ -7865,6 +8094,42 @@ export default class Client extends OpenApi {
7865
8094
  * @return CheckServiceRoleResponse
7866
8095
  */
7867
8096
  checkServiceRole(request: CheckServiceRoleRequest): Promise<CheckServiceRoleResponse>;
8097
+ /**
8098
+ * @summary 清理某个用户在某个集群的证书以及权限
8099
+ *
8100
+ * @param request CleanClusterUserPermissionsRequest
8101
+ * @param headers map
8102
+ * @param runtime runtime options for this request RuntimeOptions
8103
+ * @return CleanClusterUserPermissionsResponse
8104
+ */
8105
+ cleanClusterUserPermissionsWithOptions(ClusterId: string, Uid: string, request: CleanClusterUserPermissionsRequest, headers: {
8106
+ [key: string]: string;
8107
+ }, runtime: $Util.RuntimeOptions): Promise<CleanClusterUserPermissionsResponse>;
8108
+ /**
8109
+ * @summary 清理某个用户在某个集群的证书以及权限
8110
+ *
8111
+ * @param request CleanClusterUserPermissionsRequest
8112
+ * @return CleanClusterUserPermissionsResponse
8113
+ */
8114
+ cleanClusterUserPermissions(ClusterId: string, Uid: string, request: CleanClusterUserPermissionsRequest): Promise<CleanClusterUserPermissionsResponse>;
8115
+ /**
8116
+ * @summary 清除某个用户的证书以及相关RBAC权限
8117
+ *
8118
+ * @param tmpReq CleanUserPermissionsRequest
8119
+ * @param headers map
8120
+ * @param runtime runtime options for this request RuntimeOptions
8121
+ * @return CleanUserPermissionsResponse
8122
+ */
8123
+ cleanUserPermissionsWithOptions(Uid: string, tmpReq: CleanUserPermissionsRequest, headers: {
8124
+ [key: string]: string;
8125
+ }, runtime: $Util.RuntimeOptions): Promise<CleanUserPermissionsResponse>;
8126
+ /**
8127
+ * @summary 清除某个用户的证书以及相关RBAC权限
8128
+ *
8129
+ * @param request CleanUserPermissionsRequest
8130
+ * @return CleanUserPermissionsResponse
8131
+ */
8132
+ cleanUserPermissions(Uid: string, request: CleanUserPermissionsRequest): Promise<CleanUserPermissionsResponse>;
7868
8133
  /**
7869
8134
  * @summary Creates a scaling configuration to allow the system to scale resources based on the given scaling rules. When you create a scaling configuration, you can specify the scaling metrics, thresholds, scaling order, and scaling interval.
7870
8135
  *
@@ -9287,6 +9552,24 @@ export default class Client extends OpenApi {
9287
9552
  * @return ListClusterChecksResponse
9288
9553
  */
9289
9554
  listClusterChecks(clusterId: string, request: ListClusterChecksRequest): Promise<ListClusterChecksResponse>;
9555
+ /**
9556
+ * @summary 获取当前集群已下发的用户Kubeconfig的状态列表
9557
+ *
9558
+ * @param request ListClusterKubeconfigStatesRequest
9559
+ * @param headers map
9560
+ * @param runtime runtime options for this request RuntimeOptions
9561
+ * @return ListClusterKubeconfigStatesResponse
9562
+ */
9563
+ listClusterKubeconfigStatesWithOptions(ClusterId: string, request: ListClusterKubeconfigStatesRequest, headers: {
9564
+ [key: string]: string;
9565
+ }, runtime: $Util.RuntimeOptions): Promise<ListClusterKubeconfigStatesResponse>;
9566
+ /**
9567
+ * @summary 获取当前集群已下发的用户Kubeconfig的状态列表
9568
+ *
9569
+ * @param request ListClusterKubeconfigStatesRequest
9570
+ * @return ListClusterKubeconfigStatesResponse
9571
+ */
9572
+ listClusterKubeconfigStates(ClusterId: string, request: ListClusterKubeconfigStatesRequest): Promise<ListClusterKubeconfigStatesResponse>;
9290
9573
  /**
9291
9574
  * @summary 获取自动运维执行计划列表
9292
9575
  *
@@ -9323,6 +9606,24 @@ export default class Client extends OpenApi {
9323
9606
  * @return ListTagResourcesResponse
9324
9607
  */
9325
9608
  listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse>;
9609
+ /**
9610
+ * @summary 查询单用户所有集群的证书状态
9611
+ *
9612
+ * @param request ListUserKubeConfigStatesRequest
9613
+ * @param headers map
9614
+ * @param runtime runtime options for this request RuntimeOptions
9615
+ * @return ListUserKubeConfigStatesResponse
9616
+ */
9617
+ listUserKubeConfigStatesWithOptions(Uid: string, request: ListUserKubeConfigStatesRequest, headers: {
9618
+ [key: string]: string;
9619
+ }, runtime: $Util.RuntimeOptions): Promise<ListUserKubeConfigStatesResponse>;
9620
+ /**
9621
+ * @summary 查询单用户所有集群的证书状态
9622
+ *
9623
+ * @param request ListUserKubeConfigStatesRequest
9624
+ * @return ListUserKubeConfigStatesResponse
9625
+ */
9626
+ listUserKubeConfigStates(Uid: string, request: ListUserKubeConfigStatesRequest): Promise<ListUserKubeConfigStatesResponse>;
9326
9627
  /**
9327
9628
  * @summary Container Service for Kubernetes (ACK) Pro clusters are developed based on ACK Basic clusters. ACK Pro clusters provide all benefits of ACK managed clusters, such as fully-managed control planes and control plane high availability. In addition, ACK Pro clusters provide you with enhanced reliability, security, and schedulability. ACK Pro clusters are covered by the SLA that supports compensation clauses. ACK Pro clusters are suitable for large-scale businesses that require high stability and security in production environments. We recommend that you migrate from ACK Basic clusters to ACK Pro clusters.
9328
9629
  *