@alicloud/cs20151215 3.3.5 → 4.0.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 CHANGED
@@ -826,11 +826,60 @@ export declare class CreateTriggerResponse extends $tea.Model {
826
826
  [key: string]: any;
827
827
  });
828
828
  }
829
+ export declare class DeleteAlertContactRequest extends $tea.Model {
830
+ contactIds?: number[];
831
+ static names(): {
832
+ [key: string]: string;
833
+ };
834
+ static types(): {
835
+ [key: string]: any;
836
+ };
837
+ constructor(map?: {
838
+ [key: string]: any;
839
+ });
840
+ }
841
+ export declare class DeleteAlertContactShrinkRequest extends $tea.Model {
842
+ contactIdsShrink?: string;
843
+ static names(): {
844
+ [key: string]: string;
845
+ };
846
+ static types(): {
847
+ [key: string]: any;
848
+ };
849
+ constructor(map?: {
850
+ [key: string]: any;
851
+ });
852
+ }
829
853
  export declare class DeleteAlertContactResponse extends $tea.Model {
830
854
  headers?: {
831
855
  [key: string]: string;
832
856
  };
833
857
  statusCode?: number;
858
+ body?: DeleteAlertContactResponseBody;
859
+ static names(): {
860
+ [key: string]: string;
861
+ };
862
+ static types(): {
863
+ [key: string]: any;
864
+ };
865
+ constructor(map?: {
866
+ [key: string]: any;
867
+ });
868
+ }
869
+ export declare class DeleteAlertContactGroupRequest extends $tea.Model {
870
+ contactGroupIds?: number[];
871
+ static names(): {
872
+ [key: string]: string;
873
+ };
874
+ static types(): {
875
+ [key: string]: any;
876
+ };
877
+ constructor(map?: {
878
+ [key: string]: any;
879
+ });
880
+ }
881
+ export declare class DeleteAlertContactGroupShrinkRequest extends $tea.Model {
882
+ contactGroupIdsShrink?: string;
834
883
  static names(): {
835
884
  [key: string]: string;
836
885
  };
@@ -846,6 +895,7 @@ export declare class DeleteAlertContactGroupResponse extends $tea.Model {
846
895
  [key: string]: string;
847
896
  };
848
897
  statusCode?: number;
898
+ body?: DeleteAlertContactGroupResponseBody[];
849
899
  static names(): {
850
900
  [key: string]: string;
851
901
  };
@@ -1695,6 +1745,18 @@ export declare class DescribeClusterNodesResponse extends $tea.Model {
1695
1745
  [key: string]: any;
1696
1746
  });
1697
1747
  }
1748
+ export declare class DescribeClusterResourcesRequest extends $tea.Model {
1749
+ withAddonResources?: boolean;
1750
+ static names(): {
1751
+ [key: string]: string;
1752
+ };
1753
+ static types(): {
1754
+ [key: string]: any;
1755
+ };
1756
+ constructor(map?: {
1757
+ [key: string]: any;
1758
+ });
1759
+ }
1698
1760
  export declare class DescribeClusterResourcesResponse extends $tea.Model {
1699
1761
  headers?: {
1700
1762
  [key: string]: string;
@@ -3013,6 +3075,7 @@ export declare class ListClusterAddonInstancesResponse extends $tea.Model {
3013
3075
  });
3014
3076
  }
3015
3077
  export declare class ListClusterChecksRequest extends $tea.Model {
3078
+ target?: string;
3016
3079
  type?: string;
3017
3080
  static names(): {
3018
3081
  [key: string]: string;
@@ -3384,6 +3447,7 @@ export declare class ModifyClusterTagsResponse extends $tea.Model {
3384
3447
  }
3385
3448
  export declare class ModifyNodePoolNodeConfigRequest extends $tea.Model {
3386
3449
  kubeletConfig?: KubeletConfig;
3450
+ osConfig?: ModifyNodePoolNodeConfigRequestOsConfig;
3387
3451
  rollingPolicy?: ModifyNodePoolNodeConfigRequestRollingPolicy;
3388
3452
  static names(): {
3389
3453
  [key: string]: string;
@@ -3752,6 +3816,7 @@ export declare class RunClusterCheckRequest extends $tea.Model {
3752
3816
  options?: {
3753
3817
  [key: string]: string;
3754
3818
  };
3819
+ target?: string;
3755
3820
  type?: string;
3756
3821
  static names(): {
3757
3822
  [key: string]: string;
@@ -3983,6 +4048,19 @@ export declare class ScanClusterVulsResponse extends $tea.Model {
3983
4048
  [key: string]: any;
3984
4049
  });
3985
4050
  }
4051
+ export declare class StartAlertRequest extends $tea.Model {
4052
+ alertRuleGroupName?: string;
4053
+ alertRuleName?: string;
4054
+ static names(): {
4055
+ [key: string]: string;
4056
+ };
4057
+ static types(): {
4058
+ [key: string]: any;
4059
+ };
4060
+ constructor(map?: {
4061
+ [key: string]: any;
4062
+ });
4063
+ }
3986
4064
  export declare class StartAlertResponseBody extends $tea.Model {
3987
4065
  msg?: string;
3988
4066
  status?: boolean;
@@ -4070,6 +4148,19 @@ export declare class StartWorkflowResponse extends $tea.Model {
4070
4148
  [key: string]: any;
4071
4149
  });
4072
4150
  }
4151
+ export declare class StopAlertRequest extends $tea.Model {
4152
+ alertRuleGroupName?: string;
4153
+ alertRuleName?: string;
4154
+ static names(): {
4155
+ [key: string]: string;
4156
+ };
4157
+ static types(): {
4158
+ [key: string]: any;
4159
+ };
4160
+ constructor(map?: {
4161
+ [key: string]: any;
4162
+ });
4163
+ }
4073
4164
  export declare class StopAlertResponseBody extends $tea.Model {
4074
4165
  msg?: string;
4075
4166
  status?: boolean;
@@ -4376,6 +4467,34 @@ export declare class UpdateTemplateResponse extends $tea.Model {
4376
4467
  [key: string]: any;
4377
4468
  });
4378
4469
  }
4470
+ export declare class UpdateUserPermissionsRequest extends $tea.Model {
4471
+ body?: UpdateUserPermissionsRequestBody[];
4472
+ mode?: string;
4473
+ static names(): {
4474
+ [key: string]: string;
4475
+ };
4476
+ static types(): {
4477
+ [key: string]: any;
4478
+ };
4479
+ constructor(map?: {
4480
+ [key: string]: any;
4481
+ });
4482
+ }
4483
+ export declare class UpdateUserPermissionsResponse extends $tea.Model {
4484
+ headers?: {
4485
+ [key: string]: string;
4486
+ };
4487
+ statusCode?: number;
4488
+ static names(): {
4489
+ [key: string]: string;
4490
+ };
4491
+ static types(): {
4492
+ [key: string]: any;
4493
+ };
4494
+ constructor(map?: {
4495
+ [key: string]: any;
4496
+ });
4497
+ }
4379
4498
  export declare class UpgradeClusterRequest extends $tea.Model {
4380
4499
  componentName?: string;
4381
4500
  masterOnly?: boolean;
@@ -4451,6 +4570,8 @@ export declare class UpgradeClusterAddonsResponse extends $tea.Model {
4451
4570
  export declare class UpgradeClusterNodepoolRequest extends $tea.Model {
4452
4571
  imageId?: string;
4453
4572
  kubernetesVersion?: string;
4573
+ nodeNames?: string[];
4574
+ rollingPolicy?: UpgradeClusterNodepoolRequestRollingPolicy;
4454
4575
  runtimeType?: string;
4455
4576
  runtimeVersion?: string;
4456
4577
  useReplace?: boolean;
@@ -5031,6 +5152,46 @@ export declare class CreateClusterNodePoolRequestTeeConfig extends $tea.Model {
5031
5152
  [key: string]: any;
5032
5153
  });
5033
5154
  }
5155
+ export declare class DeleteAlertContactResponseBodyBody extends $tea.Model {
5156
+ status?: boolean;
5157
+ msg?: string;
5158
+ contactId?: string;
5159
+ static names(): {
5160
+ [key: string]: string;
5161
+ };
5162
+ static types(): {
5163
+ [key: string]: any;
5164
+ };
5165
+ constructor(map?: {
5166
+ [key: string]: any;
5167
+ });
5168
+ }
5169
+ export declare class DeleteAlertContactResponseBody extends $tea.Model {
5170
+ body?: DeleteAlertContactResponseBodyBody[];
5171
+ static names(): {
5172
+ [key: string]: string;
5173
+ };
5174
+ static types(): {
5175
+ [key: string]: any;
5176
+ };
5177
+ constructor(map?: {
5178
+ [key: string]: any;
5179
+ });
5180
+ }
5181
+ export declare class DeleteAlertContactGroupResponseBody extends $tea.Model {
5182
+ status?: boolean;
5183
+ msg?: string;
5184
+ contactGroupId?: string;
5185
+ static names(): {
5186
+ [key: string]: string;
5187
+ };
5188
+ static types(): {
5189
+ [key: string]: any;
5190
+ };
5191
+ constructor(map?: {
5192
+ [key: string]: any;
5193
+ });
5194
+ }
5034
5195
  export declare class DescribeAddonResponseBodyNewerVersions extends $tea.Model {
5035
5196
  minimumClusterVersion?: string;
5036
5197
  upgradable?: boolean;
@@ -5751,6 +5912,33 @@ export declare class DescribeClusterResourcesResponseBodyDependencies extends $t
5751
5912
  [key: string]: any;
5752
5913
  });
5753
5914
  }
5915
+ export declare class DescribeClusterResourcesResponseBodyAssociatedObject extends $tea.Model {
5916
+ kind?: string;
5917
+ namespace?: string;
5918
+ name?: string;
5919
+ static names(): {
5920
+ [key: string]: string;
5921
+ };
5922
+ static types(): {
5923
+ [key: string]: any;
5924
+ };
5925
+ constructor(map?: {
5926
+ [key: string]: any;
5927
+ });
5928
+ }
5929
+ export declare class DescribeClusterResourcesResponseBodyDeleteBehavior extends $tea.Model {
5930
+ deleteByDefault?: boolean;
5931
+ changeable?: boolean;
5932
+ static names(): {
5933
+ [key: string]: string;
5934
+ };
5935
+ static types(): {
5936
+ [key: string]: any;
5937
+ };
5938
+ constructor(map?: {
5939
+ [key: string]: any;
5940
+ });
5941
+ }
5754
5942
  export declare class DescribeClusterResourcesResponseBody extends $tea.Model {
5755
5943
  clusterId?: string;
5756
5944
  created?: string;
@@ -5760,6 +5948,12 @@ export declare class DescribeClusterResourcesResponseBody extends $tea.Model {
5760
5948
  state?: string;
5761
5949
  autoCreate?: number;
5762
5950
  dependencies?: DescribeClusterResourcesResponseBodyDependencies[];
5951
+ associatedObject?: DescribeClusterResourcesResponseBodyAssociatedObject;
5952
+ deleteBehavior?: DescribeClusterResourcesResponseBodyDeleteBehavior;
5953
+ creatorType?: string;
5954
+ extraInfo?: {
5955
+ [key: string]: any;
5956
+ };
5763
5957
  static names(): {
5764
5958
  [key: string]: string;
5765
5959
  };
@@ -6925,6 +7119,20 @@ export declare class ModifyClusterNodePoolRequestTeeConfig extends $tea.Model {
6925
7119
  [key: string]: any;
6926
7120
  });
6927
7121
  }
7122
+ export declare class ModifyNodePoolNodeConfigRequestOsConfig extends $tea.Model {
7123
+ sysctl?: {
7124
+ [key: string]: any;
7125
+ };
7126
+ static names(): {
7127
+ [key: string]: string;
7128
+ };
7129
+ static types(): {
7130
+ [key: string]: any;
7131
+ };
7132
+ constructor(map?: {
7133
+ [key: string]: any;
7134
+ });
7135
+ }
6928
7136
  export declare class ModifyNodePoolNodeConfigRequestRollingPolicy extends $tea.Model {
6929
7137
  maxParallelism?: number;
6930
7138
  static names(): {
@@ -7005,6 +7213,23 @@ export declare class UnInstallClusterAddonsRequestAddons extends $tea.Model {
7005
7213
  [key: string]: any;
7006
7214
  });
7007
7215
  }
7216
+ export declare class UpdateUserPermissionsRequestBody extends $tea.Model {
7217
+ cluster?: string;
7218
+ isCustom?: boolean;
7219
+ isRamRole?: boolean;
7220
+ namespace?: string;
7221
+ roleName?: string;
7222
+ roleType?: string;
7223
+ static names(): {
7224
+ [key: string]: string;
7225
+ };
7226
+ static types(): {
7227
+ [key: string]: any;
7228
+ };
7229
+ constructor(map?: {
7230
+ [key: string]: any;
7231
+ });
7232
+ }
7008
7233
  export declare class UpgradeClusterAddonsRequestBody extends $tea.Model {
7009
7234
  componentName?: string;
7010
7235
  config?: string;
@@ -7021,6 +7246,20 @@ export declare class UpgradeClusterAddonsRequestBody extends $tea.Model {
7021
7246
  [key: string]: any;
7022
7247
  });
7023
7248
  }
7249
+ export declare class UpgradeClusterNodepoolRequestRollingPolicy extends $tea.Model {
7250
+ batchInterval?: number;
7251
+ maxParallelism?: number;
7252
+ pausePolicy?: string;
7253
+ static names(): {
7254
+ [key: string]: string;
7255
+ };
7256
+ static types(): {
7257
+ [key: string]: any;
7258
+ };
7259
+ constructor(map?: {
7260
+ [key: string]: any;
7261
+ });
7262
+ }
7024
7263
  export default class Client extends OpenApi {
7025
7264
  constructor(config: $OpenApi.Config);
7026
7265
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
@@ -7124,14 +7363,14 @@ export default class Client extends OpenApi {
7124
7363
  [key: string]: string;
7125
7364
  }, runtime: $Util.RuntimeOptions): Promise<CreateTriggerResponse>;
7126
7365
  createTrigger(clusterId: string, request: CreateTriggerRequest): Promise<CreateTriggerResponse>;
7127
- deleteAlertContactWithOptions(headers: {
7366
+ deleteAlertContactWithOptions(tmpReq: DeleteAlertContactRequest, headers: {
7128
7367
  [key: string]: string;
7129
7368
  }, runtime: $Util.RuntimeOptions): Promise<DeleteAlertContactResponse>;
7130
- deleteAlertContact(): Promise<DeleteAlertContactResponse>;
7131
- deleteAlertContactGroupWithOptions(headers: {
7369
+ deleteAlertContact(request: DeleteAlertContactRequest): Promise<DeleteAlertContactResponse>;
7370
+ deleteAlertContactGroupWithOptions(tmpReq: DeleteAlertContactGroupRequest, headers: {
7132
7371
  [key: string]: string;
7133
7372
  }, runtime: $Util.RuntimeOptions): Promise<DeleteAlertContactGroupResponse>;
7134
- deleteAlertContactGroup(): Promise<DeleteAlertContactGroupResponse>;
7373
+ deleteAlertContactGroup(request: DeleteAlertContactGroupRequest): Promise<DeleteAlertContactGroupResponse>;
7135
7374
  deleteClusterWithOptions(ClusterId: string, tmpReq: DeleteClusterRequest, headers: {
7136
7375
  [key: string]: string;
7137
7376
  }, runtime: $Util.RuntimeOptions): Promise<DeleteClusterResponse>;
@@ -7320,10 +7559,10 @@ export default class Client extends OpenApi {
7320
7559
  [key: string]: string;
7321
7560
  }, runtime: $Util.RuntimeOptions): Promise<DescribeClusterNodesResponse>;
7322
7561
  describeClusterNodes(ClusterId: string, request: DescribeClusterNodesRequest): Promise<DescribeClusterNodesResponse>;
7323
- describeClusterResourcesWithOptions(ClusterId: string, headers: {
7562
+ describeClusterResourcesWithOptions(ClusterId: string, request: DescribeClusterResourcesRequest, headers: {
7324
7563
  [key: string]: string;
7325
7564
  }, runtime: $Util.RuntimeOptions): Promise<DescribeClusterResourcesResponse>;
7326
- describeClusterResources(ClusterId: string): Promise<DescribeClusterResourcesResponse>;
7565
+ describeClusterResources(ClusterId: string, request: DescribeClusterResourcesRequest): Promise<DescribeClusterResourcesResponse>;
7327
7566
  describeClusterTasksWithOptions(clusterId: string, request: DescribeClusterTasksRequest, headers: {
7328
7567
  [key: string]: string;
7329
7568
  }, runtime: $Util.RuntimeOptions): Promise<DescribeClusterTasksResponse>;
@@ -7844,18 +8083,18 @@ export default class Client extends OpenApi {
7844
8083
  [key: string]: string;
7845
8084
  }, runtime: $Util.RuntimeOptions): Promise<ScanClusterVulsResponse>;
7846
8085
  scanClusterVuls(clusterId: string): Promise<ScanClusterVulsResponse>;
7847
- startAlertWithOptions(ClusterId: string, headers: {
8086
+ startAlertWithOptions(ClusterId: string, request: StartAlertRequest, headers: {
7848
8087
  [key: string]: string;
7849
8088
  }, runtime: $Util.RuntimeOptions): Promise<StartAlertResponse>;
7850
- startAlert(ClusterId: string): Promise<StartAlertResponse>;
8089
+ startAlert(ClusterId: string, request: StartAlertRequest): Promise<StartAlertResponse>;
7851
8090
  startWorkflowWithOptions(request: StartWorkflowRequest, headers: {
7852
8091
  [key: string]: string;
7853
8092
  }, runtime: $Util.RuntimeOptions): Promise<StartWorkflowResponse>;
7854
8093
  startWorkflow(request: StartWorkflowRequest): Promise<StartWorkflowResponse>;
7855
- stopAlertWithOptions(ClusterId: string, headers: {
8094
+ stopAlertWithOptions(ClusterId: string, request: StopAlertRequest, headers: {
7856
8095
  [key: string]: string;
7857
8096
  }, runtime: $Util.RuntimeOptions): Promise<StopAlertResponse>;
7858
- stopAlert(ClusterId: string): Promise<StopAlertResponse>;
8097
+ stopAlert(ClusterId: string, request: StopAlertRequest): Promise<StopAlertResponse>;
7859
8098
  syncClusterNodePoolWithOptions(ClusterId: string, headers: {
7860
8099
  [key: string]: string;
7861
8100
  }, runtime: $Util.RuntimeOptions): Promise<SyncClusterNodePoolResponse>;
@@ -7906,6 +8145,10 @@ export default class Client extends OpenApi {
7906
8145
  [key: string]: string;
7907
8146
  }, runtime: $Util.RuntimeOptions): Promise<UpdateTemplateResponse>;
7908
8147
  updateTemplate(TemplateId: string, request: UpdateTemplateRequest): Promise<UpdateTemplateResponse>;
8148
+ updateUserPermissionsWithOptions(uid: string, request: UpdateUserPermissionsRequest, headers: {
8149
+ [key: string]: string;
8150
+ }, runtime: $Util.RuntimeOptions): Promise<UpdateUserPermissionsResponse>;
8151
+ updateUserPermissions(uid: string, request: UpdateUserPermissionsRequest): Promise<UpdateUserPermissionsResponse>;
7909
8152
  upgradeClusterWithOptions(ClusterId: string, request: UpgradeClusterRequest, headers: {
7910
8153
  [key: string]: string;
7911
8154
  }, runtime: $Util.RuntimeOptions): Promise<UpgradeClusterResponse>;