@alicloud/cs20151215 4.4.0 → 4.5.1
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 +302 -0
- package/dist/client.js +508 -10
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +592 -0
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;
|
|
@@ -5147,6 +5313,7 @@ export declare class NodepoolScalingGroup extends $tea.Model {
|
|
|
5147
5313
|
periodUnit?: string;
|
|
5148
5314
|
platform?: string;
|
|
5149
5315
|
privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
|
|
5316
|
+
ramRoleName?: string;
|
|
5150
5317
|
rdsInstances?: string[];
|
|
5151
5318
|
scalingPolicy?: string;
|
|
5152
5319
|
securityGroupId?: string;
|
|
@@ -7208,6 +7375,39 @@ export declare class ListClusterChecksResponseBodyChecks extends $tea.Model {
|
|
|
7208
7375
|
[key: string]: any;
|
|
7209
7376
|
});
|
|
7210
7377
|
}
|
|
7378
|
+
export declare class ListClusterKubeconfigStatesResponseBodyPage extends $tea.Model {
|
|
7379
|
+
pageNumber?: number;
|
|
7380
|
+
pageSize?: number;
|
|
7381
|
+
totalCount?: number;
|
|
7382
|
+
static names(): {
|
|
7383
|
+
[key: string]: string;
|
|
7384
|
+
};
|
|
7385
|
+
static types(): {
|
|
7386
|
+
[key: string]: any;
|
|
7387
|
+
};
|
|
7388
|
+
constructor(map?: {
|
|
7389
|
+
[key: string]: any;
|
|
7390
|
+
});
|
|
7391
|
+
}
|
|
7392
|
+
export declare class ListClusterKubeconfigStatesResponseBodyStates extends $tea.Model {
|
|
7393
|
+
accountDisplayName?: string;
|
|
7394
|
+
accountId?: string;
|
|
7395
|
+
accountName?: string;
|
|
7396
|
+
accountState?: string;
|
|
7397
|
+
accountType?: string;
|
|
7398
|
+
certExpireTime?: string;
|
|
7399
|
+
certState?: string;
|
|
7400
|
+
revokable?: boolean;
|
|
7401
|
+
static names(): {
|
|
7402
|
+
[key: string]: string;
|
|
7403
|
+
};
|
|
7404
|
+
static types(): {
|
|
7405
|
+
[key: string]: any;
|
|
7406
|
+
};
|
|
7407
|
+
constructor(map?: {
|
|
7408
|
+
[key: string]: any;
|
|
7409
|
+
});
|
|
7410
|
+
}
|
|
7211
7411
|
export declare class ListOperationPlansResponseBodyPlans extends $tea.Model {
|
|
7212
7412
|
clusterId?: string;
|
|
7213
7413
|
created?: string;
|
|
@@ -7255,6 +7455,36 @@ export declare class ListTagResourcesResponseBodyTagResources extends $tea.Model
|
|
|
7255
7455
|
[key: string]: any;
|
|
7256
7456
|
});
|
|
7257
7457
|
}
|
|
7458
|
+
export declare class ListUserKubeConfigStatesResponseBodyPage extends $tea.Model {
|
|
7459
|
+
pageNumber?: number;
|
|
7460
|
+
pageSize?: number;
|
|
7461
|
+
totalCount?: number;
|
|
7462
|
+
static names(): {
|
|
7463
|
+
[key: string]: string;
|
|
7464
|
+
};
|
|
7465
|
+
static types(): {
|
|
7466
|
+
[key: string]: any;
|
|
7467
|
+
};
|
|
7468
|
+
constructor(map?: {
|
|
7469
|
+
[key: string]: any;
|
|
7470
|
+
});
|
|
7471
|
+
}
|
|
7472
|
+
export declare class ListUserKubeConfigStatesResponseBodyStates extends $tea.Model {
|
|
7473
|
+
certExpireTime?: string;
|
|
7474
|
+
certState?: string;
|
|
7475
|
+
clusterId?: string;
|
|
7476
|
+
clusterName?: string;
|
|
7477
|
+
clusterState?: string;
|
|
7478
|
+
static names(): {
|
|
7479
|
+
[key: string]: string;
|
|
7480
|
+
};
|
|
7481
|
+
static types(): {
|
|
7482
|
+
[key: string]: any;
|
|
7483
|
+
};
|
|
7484
|
+
constructor(map?: {
|
|
7485
|
+
[key: string]: any;
|
|
7486
|
+
});
|
|
7487
|
+
}
|
|
7258
7488
|
export declare class ModifyClusterRequestApiServerCustomCertSans extends $tea.Model {
|
|
7259
7489
|
action?: string;
|
|
7260
7490
|
subjectAlternativeNames?: string[];
|
|
@@ -7865,6 +8095,42 @@ export default class Client extends OpenApi {
|
|
|
7865
8095
|
* @return CheckServiceRoleResponse
|
|
7866
8096
|
*/
|
|
7867
8097
|
checkServiceRole(request: CheckServiceRoleRequest): Promise<CheckServiceRoleResponse>;
|
|
8098
|
+
/**
|
|
8099
|
+
* @summary 清理某个用户在某个集群的证书以及权限
|
|
8100
|
+
*
|
|
8101
|
+
* @param request CleanClusterUserPermissionsRequest
|
|
8102
|
+
* @param headers map
|
|
8103
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8104
|
+
* @return CleanClusterUserPermissionsResponse
|
|
8105
|
+
*/
|
|
8106
|
+
cleanClusterUserPermissionsWithOptions(ClusterId: string, Uid: string, request: CleanClusterUserPermissionsRequest, headers: {
|
|
8107
|
+
[key: string]: string;
|
|
8108
|
+
}, runtime: $Util.RuntimeOptions): Promise<CleanClusterUserPermissionsResponse>;
|
|
8109
|
+
/**
|
|
8110
|
+
* @summary 清理某个用户在某个集群的证书以及权限
|
|
8111
|
+
*
|
|
8112
|
+
* @param request CleanClusterUserPermissionsRequest
|
|
8113
|
+
* @return CleanClusterUserPermissionsResponse
|
|
8114
|
+
*/
|
|
8115
|
+
cleanClusterUserPermissions(ClusterId: string, Uid: string, request: CleanClusterUserPermissionsRequest): Promise<CleanClusterUserPermissionsResponse>;
|
|
8116
|
+
/**
|
|
8117
|
+
* @summary 清除某个用户的证书以及相关RBAC权限
|
|
8118
|
+
*
|
|
8119
|
+
* @param tmpReq CleanUserPermissionsRequest
|
|
8120
|
+
* @param headers map
|
|
8121
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8122
|
+
* @return CleanUserPermissionsResponse
|
|
8123
|
+
*/
|
|
8124
|
+
cleanUserPermissionsWithOptions(Uid: string, tmpReq: CleanUserPermissionsRequest, headers: {
|
|
8125
|
+
[key: string]: string;
|
|
8126
|
+
}, runtime: $Util.RuntimeOptions): Promise<CleanUserPermissionsResponse>;
|
|
8127
|
+
/**
|
|
8128
|
+
* @summary 清除某个用户的证书以及相关RBAC权限
|
|
8129
|
+
*
|
|
8130
|
+
* @param request CleanUserPermissionsRequest
|
|
8131
|
+
* @return CleanUserPermissionsResponse
|
|
8132
|
+
*/
|
|
8133
|
+
cleanUserPermissions(Uid: string, request: CleanUserPermissionsRequest): Promise<CleanUserPermissionsResponse>;
|
|
7868
8134
|
/**
|
|
7869
8135
|
* @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
8136
|
*
|
|
@@ -9287,6 +9553,24 @@ export default class Client extends OpenApi {
|
|
|
9287
9553
|
* @return ListClusterChecksResponse
|
|
9288
9554
|
*/
|
|
9289
9555
|
listClusterChecks(clusterId: string, request: ListClusterChecksRequest): Promise<ListClusterChecksResponse>;
|
|
9556
|
+
/**
|
|
9557
|
+
* @summary 获取当前集群已下发的用户Kubeconfig的状态列表
|
|
9558
|
+
*
|
|
9559
|
+
* @param request ListClusterKubeconfigStatesRequest
|
|
9560
|
+
* @param headers map
|
|
9561
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9562
|
+
* @return ListClusterKubeconfigStatesResponse
|
|
9563
|
+
*/
|
|
9564
|
+
listClusterKubeconfigStatesWithOptions(ClusterId: string, request: ListClusterKubeconfigStatesRequest, headers: {
|
|
9565
|
+
[key: string]: string;
|
|
9566
|
+
}, runtime: $Util.RuntimeOptions): Promise<ListClusterKubeconfigStatesResponse>;
|
|
9567
|
+
/**
|
|
9568
|
+
* @summary 获取当前集群已下发的用户Kubeconfig的状态列表
|
|
9569
|
+
*
|
|
9570
|
+
* @param request ListClusterKubeconfigStatesRequest
|
|
9571
|
+
* @return ListClusterKubeconfigStatesResponse
|
|
9572
|
+
*/
|
|
9573
|
+
listClusterKubeconfigStates(ClusterId: string, request: ListClusterKubeconfigStatesRequest): Promise<ListClusterKubeconfigStatesResponse>;
|
|
9290
9574
|
/**
|
|
9291
9575
|
* @summary 获取自动运维执行计划列表
|
|
9292
9576
|
*
|
|
@@ -9323,6 +9607,24 @@ export default class Client extends OpenApi {
|
|
|
9323
9607
|
* @return ListTagResourcesResponse
|
|
9324
9608
|
*/
|
|
9325
9609
|
listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse>;
|
|
9610
|
+
/**
|
|
9611
|
+
* @summary 查询单用户所有集群的证书状态
|
|
9612
|
+
*
|
|
9613
|
+
* @param request ListUserKubeConfigStatesRequest
|
|
9614
|
+
* @param headers map
|
|
9615
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9616
|
+
* @return ListUserKubeConfigStatesResponse
|
|
9617
|
+
*/
|
|
9618
|
+
listUserKubeConfigStatesWithOptions(Uid: string, request: ListUserKubeConfigStatesRequest, headers: {
|
|
9619
|
+
[key: string]: string;
|
|
9620
|
+
}, runtime: $Util.RuntimeOptions): Promise<ListUserKubeConfigStatesResponse>;
|
|
9621
|
+
/**
|
|
9622
|
+
* @summary 查询单用户所有集群的证书状态
|
|
9623
|
+
*
|
|
9624
|
+
* @param request ListUserKubeConfigStatesRequest
|
|
9625
|
+
* @return ListUserKubeConfigStatesResponse
|
|
9626
|
+
*/
|
|
9627
|
+
listUserKubeConfigStates(Uid: string, request: ListUserKubeConfigStatesRequest): Promise<ListUserKubeConfigStatesResponse>;
|
|
9326
9628
|
/**
|
|
9327
9629
|
* @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
9630
|
*
|