@alicloud/appstream-center20210901 2.0.2 → 2.0.4
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 +62 -10
- package/dist/client.js +116 -8
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +163 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/appstream-center20210901",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@alicloud/tea-typescript": "^1.7.1",
|
|
23
|
-
"@alicloud/tea-util": "^1.4.
|
|
24
|
-
"@alicloud/openapi-client": "^0.4.
|
|
23
|
+
"@alicloud/tea-util": "^1.4.9",
|
|
24
|
+
"@alicloud/openapi-client": "^0.4.12",
|
|
25
25
|
"@alicloud/openapi-util": "^0.3.2",
|
|
26
26
|
"@alicloud/endpoint-util": "^0.0.1"
|
|
27
27
|
},
|
package/src/client.ts
CHANGED
|
@@ -596,12 +596,14 @@ export class AuthorizeInstanceGroupRequest extends $tea.Model {
|
|
|
596
596
|
*/
|
|
597
597
|
productType?: string;
|
|
598
598
|
unAuthorizeUserIds?: string[];
|
|
599
|
+
userMeta?: AuthorizeInstanceGroupRequestUserMeta;
|
|
599
600
|
static names(): { [key: string]: string } {
|
|
600
601
|
return {
|
|
601
602
|
appInstanceGroupId: 'AppInstanceGroupId',
|
|
602
603
|
authorizeUserIds: 'AuthorizeUserIds',
|
|
603
604
|
productType: 'ProductType',
|
|
604
605
|
unAuthorizeUserIds: 'UnAuthorizeUserIds',
|
|
606
|
+
userMeta: 'UserMeta',
|
|
605
607
|
};
|
|
606
608
|
}
|
|
607
609
|
|
|
@@ -611,6 +613,52 @@ export class AuthorizeInstanceGroupRequest extends $tea.Model {
|
|
|
611
613
|
authorizeUserIds: { 'type': 'array', 'itemType': 'string' },
|
|
612
614
|
productType: 'string',
|
|
613
615
|
unAuthorizeUserIds: { 'type': 'array', 'itemType': 'string' },
|
|
616
|
+
userMeta: AuthorizeInstanceGroupRequestUserMeta,
|
|
617
|
+
};
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
constructor(map?: { [key: string]: any }) {
|
|
621
|
+
super(map);
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
export class AuthorizeInstanceGroupShrinkRequest extends $tea.Model {
|
|
626
|
+
/**
|
|
627
|
+
* @remarks
|
|
628
|
+
* This parameter is required.
|
|
629
|
+
*
|
|
630
|
+
* @example
|
|
631
|
+
* aig-9ciijz60n4xsv****
|
|
632
|
+
*/
|
|
633
|
+
appInstanceGroupId?: string;
|
|
634
|
+
authorizeUserIds?: string[];
|
|
635
|
+
/**
|
|
636
|
+
* @remarks
|
|
637
|
+
* This parameter is required.
|
|
638
|
+
*
|
|
639
|
+
* @example
|
|
640
|
+
* CloudApp
|
|
641
|
+
*/
|
|
642
|
+
productType?: string;
|
|
643
|
+
unAuthorizeUserIds?: string[];
|
|
644
|
+
userMetaShrink?: string;
|
|
645
|
+
static names(): { [key: string]: string } {
|
|
646
|
+
return {
|
|
647
|
+
appInstanceGroupId: 'AppInstanceGroupId',
|
|
648
|
+
authorizeUserIds: 'AuthorizeUserIds',
|
|
649
|
+
productType: 'ProductType',
|
|
650
|
+
unAuthorizeUserIds: 'UnAuthorizeUserIds',
|
|
651
|
+
userMetaShrink: 'UserMeta',
|
|
652
|
+
};
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
static types(): { [key: string]: any } {
|
|
656
|
+
return {
|
|
657
|
+
appInstanceGroupId: 'string',
|
|
658
|
+
authorizeUserIds: { 'type': 'array', 'itemType': 'string' },
|
|
659
|
+
productType: 'string',
|
|
660
|
+
unAuthorizeUserIds: { 'type': 'array', 'itemType': 'string' },
|
|
661
|
+
userMetaShrink: 'string',
|
|
614
662
|
};
|
|
615
663
|
}
|
|
616
664
|
|
|
@@ -1057,10 +1105,6 @@ export class CreateAppInstanceGroupRequest extends $tea.Model {
|
|
|
1057
1105
|
* img-8z4nztpaqvay4****
|
|
1058
1106
|
*/
|
|
1059
1107
|
appCenterImageId?: string;
|
|
1060
|
-
/**
|
|
1061
|
-
* @remarks
|
|
1062
|
-
* This parameter is required.
|
|
1063
|
-
*/
|
|
1064
1108
|
appInstanceGroupName?: string;
|
|
1065
1109
|
/**
|
|
1066
1110
|
* @example
|
|
@@ -1212,10 +1256,6 @@ export class CreateAppInstanceGroupShrinkRequest extends $tea.Model {
|
|
|
1212
1256
|
* img-8z4nztpaqvay4****
|
|
1213
1257
|
*/
|
|
1214
1258
|
appCenterImageId?: string;
|
|
1215
|
-
/**
|
|
1216
|
-
* @remarks
|
|
1217
|
-
* This parameter is required.
|
|
1218
|
-
*/
|
|
1219
1259
|
appInstanceGroupName?: string;
|
|
1220
1260
|
/**
|
|
1221
1261
|
* @example
|
|
@@ -3210,6 +3250,7 @@ export class ListAppInstanceGroupRequest extends $tea.Model {
|
|
|
3210
3250
|
* appstreaming.vgpu.4c8g.2g
|
|
3211
3251
|
*/
|
|
3212
3252
|
nodeInstanceType?: string;
|
|
3253
|
+
officeSiteId?: string;
|
|
3213
3254
|
/**
|
|
3214
3255
|
* @example
|
|
3215
3256
|
* 1
|
|
@@ -3243,6 +3284,7 @@ export class ListAppInstanceGroupRequest extends $tea.Model {
|
|
|
3243
3284
|
appInstanceGroupName: 'AppInstanceGroupName',
|
|
3244
3285
|
bizRegionId: 'BizRegionId',
|
|
3245
3286
|
nodeInstanceType: 'NodeInstanceType',
|
|
3287
|
+
officeSiteId: 'OfficeSiteId',
|
|
3246
3288
|
pageNumber: 'PageNumber',
|
|
3247
3289
|
pageSize: 'PageSize',
|
|
3248
3290
|
productType: 'ProductType',
|
|
@@ -3258,6 +3300,7 @@ export class ListAppInstanceGroupRequest extends $tea.Model {
|
|
|
3258
3300
|
appInstanceGroupName: 'string',
|
|
3259
3301
|
bizRegionId: 'string',
|
|
3260
3302
|
nodeInstanceType: 'string',
|
|
3303
|
+
officeSiteId: 'string',
|
|
3261
3304
|
pageNumber: 'number',
|
|
3262
3305
|
pageSize: 'number',
|
|
3263
3306
|
productType: 'string',
|
|
@@ -3492,6 +3535,9 @@ export class ListNodeInstanceTypeRequest extends $tea.Model {
|
|
|
3492
3535
|
* cn-hangzhou
|
|
3493
3536
|
*/
|
|
3494
3537
|
bizRegionId?: string;
|
|
3538
|
+
cpu?: number;
|
|
3539
|
+
gpu?: number;
|
|
3540
|
+
gpuMemory?: number;
|
|
3495
3541
|
/**
|
|
3496
3542
|
* @remarks
|
|
3497
3543
|
* 语言类型。
|
|
@@ -3500,11 +3546,14 @@ export class ListNodeInstanceTypeRequest extends $tea.Model {
|
|
|
3500
3546
|
* zh-CN
|
|
3501
3547
|
*/
|
|
3502
3548
|
language?: string;
|
|
3549
|
+
memory?: number;
|
|
3503
3550
|
/**
|
|
3504
3551
|
* @example
|
|
3505
3552
|
* appstreaming.vgpu.4c8g.2g
|
|
3506
3553
|
*/
|
|
3507
3554
|
nodeInstanceType?: string;
|
|
3555
|
+
nodeInstanceTypeFamily?: string;
|
|
3556
|
+
orderBy?: string;
|
|
3508
3557
|
/**
|
|
3509
3558
|
* @remarks
|
|
3510
3559
|
* 支持的操作系统类型。
|
|
@@ -3537,27 +3586,42 @@ export class ListNodeInstanceTypeRequest extends $tea.Model {
|
|
|
3537
3586
|
* CloudApp
|
|
3538
3587
|
*/
|
|
3539
3588
|
productType?: string;
|
|
3589
|
+
sortType?: string;
|
|
3540
3590
|
static names(): { [key: string]: string } {
|
|
3541
3591
|
return {
|
|
3542
3592
|
bizRegionId: 'BizRegionId',
|
|
3593
|
+
cpu: 'Cpu',
|
|
3594
|
+
gpu: 'Gpu',
|
|
3595
|
+
gpuMemory: 'GpuMemory',
|
|
3543
3596
|
language: 'Language',
|
|
3597
|
+
memory: 'Memory',
|
|
3544
3598
|
nodeInstanceType: 'NodeInstanceType',
|
|
3599
|
+
nodeInstanceTypeFamily: 'NodeInstanceTypeFamily',
|
|
3600
|
+
orderBy: 'OrderBy',
|
|
3545
3601
|
osType: 'OsType',
|
|
3546
3602
|
pageNumber: 'PageNumber',
|
|
3547
3603
|
pageSize: 'PageSize',
|
|
3548
3604
|
productType: 'ProductType',
|
|
3605
|
+
sortType: 'SortType',
|
|
3549
3606
|
};
|
|
3550
3607
|
}
|
|
3551
3608
|
|
|
3552
3609
|
static types(): { [key: string]: any } {
|
|
3553
3610
|
return {
|
|
3554
3611
|
bizRegionId: 'string',
|
|
3612
|
+
cpu: 'number',
|
|
3613
|
+
gpu: 'number',
|
|
3614
|
+
gpuMemory: 'number',
|
|
3555
3615
|
language: 'string',
|
|
3616
|
+
memory: 'number',
|
|
3556
3617
|
nodeInstanceType: 'string',
|
|
3618
|
+
nodeInstanceTypeFamily: 'string',
|
|
3619
|
+
orderBy: 'string',
|
|
3557
3620
|
osType: 'string',
|
|
3558
3621
|
pageNumber: 'number',
|
|
3559
3622
|
pageSize: 'number',
|
|
3560
3623
|
productType: 'string',
|
|
3624
|
+
sortType: 'string',
|
|
3561
3625
|
};
|
|
3562
3626
|
}
|
|
3563
3627
|
|
|
@@ -6020,6 +6084,28 @@ export class AskSessionPackageRenewPriceResponseBodyData extends $tea.Model {
|
|
|
6020
6084
|
}
|
|
6021
6085
|
}
|
|
6022
6086
|
|
|
6087
|
+
export class AuthorizeInstanceGroupRequestUserMeta extends $tea.Model {
|
|
6088
|
+
adDomain?: string;
|
|
6089
|
+
type?: string;
|
|
6090
|
+
static names(): { [key: string]: string } {
|
|
6091
|
+
return {
|
|
6092
|
+
adDomain: 'AdDomain',
|
|
6093
|
+
type: 'Type',
|
|
6094
|
+
};
|
|
6095
|
+
}
|
|
6096
|
+
|
|
6097
|
+
static types(): { [key: string]: any } {
|
|
6098
|
+
return {
|
|
6099
|
+
adDomain: 'string',
|
|
6100
|
+
type: 'string',
|
|
6101
|
+
};
|
|
6102
|
+
}
|
|
6103
|
+
|
|
6104
|
+
constructor(map?: { [key: string]: any }) {
|
|
6105
|
+
super(map);
|
|
6106
|
+
}
|
|
6107
|
+
}
|
|
6108
|
+
|
|
6023
6109
|
export class CreateAppInstanceGroupRequestNetworkDomainRules extends $tea.Model {
|
|
6024
6110
|
domain?: string;
|
|
6025
6111
|
policy?: string;
|
|
@@ -6079,18 +6165,22 @@ export class CreateAppInstanceGroupRequestNetwork extends $tea.Model {
|
|
|
6079
6165
|
* 60
|
|
6080
6166
|
*/
|
|
6081
6167
|
ipExpireMinutes?: number;
|
|
6168
|
+
officeSiteId?: string;
|
|
6082
6169
|
routes?: CreateAppInstanceGroupRequestNetworkRoutes[];
|
|
6083
6170
|
/**
|
|
6084
6171
|
* @example
|
|
6085
6172
|
* Shared
|
|
6086
6173
|
*/
|
|
6087
6174
|
strategyType?: string;
|
|
6175
|
+
vSwitchIds?: string[];
|
|
6088
6176
|
static names(): { [key: string]: string } {
|
|
6089
6177
|
return {
|
|
6090
6178
|
domainRules: 'DomainRules',
|
|
6091
6179
|
ipExpireMinutes: 'IpExpireMinutes',
|
|
6180
|
+
officeSiteId: 'OfficeSiteId',
|
|
6092
6181
|
routes: 'Routes',
|
|
6093
6182
|
strategyType: 'StrategyType',
|
|
6183
|
+
vSwitchIds: 'VSwitchIds',
|
|
6094
6184
|
};
|
|
6095
6185
|
}
|
|
6096
6186
|
|
|
@@ -6098,8 +6188,10 @@ export class CreateAppInstanceGroupRequestNetwork extends $tea.Model {
|
|
|
6098
6188
|
return {
|
|
6099
6189
|
domainRules: { 'type': 'array', 'itemType': CreateAppInstanceGroupRequestNetworkDomainRules },
|
|
6100
6190
|
ipExpireMinutes: 'number',
|
|
6191
|
+
officeSiteId: 'string',
|
|
6101
6192
|
routes: { 'type': 'array', 'itemType': CreateAppInstanceGroupRequestNetworkRoutes },
|
|
6102
6193
|
strategyType: 'string',
|
|
6194
|
+
vSwitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
6103
6195
|
};
|
|
6104
6196
|
}
|
|
6105
6197
|
|
|
@@ -6175,6 +6267,7 @@ export class CreateAppInstanceGroupRequestNodePoolRecurrenceSchedules extends $t
|
|
|
6175
6267
|
}
|
|
6176
6268
|
|
|
6177
6269
|
export class CreateAppInstanceGroupRequestNodePool extends $tea.Model {
|
|
6270
|
+
maxIdleAppInstanceAmount?: number;
|
|
6178
6271
|
/**
|
|
6179
6272
|
* @example
|
|
6180
6273
|
* 10
|
|
@@ -6229,6 +6322,7 @@ export class CreateAppInstanceGroupRequestNodePool extends $tea.Model {
|
|
|
6229
6322
|
warmUp?: boolean;
|
|
6230
6323
|
static names(): { [key: string]: string } {
|
|
6231
6324
|
return {
|
|
6325
|
+
maxIdleAppInstanceAmount: 'MaxIdleAppInstanceAmount',
|
|
6232
6326
|
maxScalingAmount: 'MaxScalingAmount',
|
|
6233
6327
|
nodeAmount: 'NodeAmount',
|
|
6234
6328
|
nodeCapacity: 'NodeCapacity',
|
|
@@ -6246,6 +6340,7 @@ export class CreateAppInstanceGroupRequestNodePool extends $tea.Model {
|
|
|
6246
6340
|
|
|
6247
6341
|
static types(): { [key: string]: any } {
|
|
6248
6342
|
return {
|
|
6343
|
+
maxIdleAppInstanceAmount: 'number',
|
|
6249
6344
|
maxScalingAmount: 'number',
|
|
6250
6345
|
nodeAmount: 'number',
|
|
6251
6346
|
nodeCapacity: 'number',
|
|
@@ -6641,6 +6736,7 @@ export class GetAppInstanceGroupResponseBodyAppInstanceGroupModelsNodePool exten
|
|
|
6641
6736
|
* 2
|
|
6642
6737
|
*/
|
|
6643
6738
|
amount?: number;
|
|
6739
|
+
maxIdleAppInstanceAmount?: number;
|
|
6644
6740
|
/**
|
|
6645
6741
|
* @example
|
|
6646
6742
|
* 8
|
|
@@ -6721,6 +6817,7 @@ export class GetAppInstanceGroupResponseBodyAppInstanceGroupModelsNodePool exten
|
|
|
6721
6817
|
static names(): { [key: string]: string } {
|
|
6722
6818
|
return {
|
|
6723
6819
|
amount: 'Amount',
|
|
6820
|
+
maxIdleAppInstanceAmount: 'MaxIdleAppInstanceAmount',
|
|
6724
6821
|
maxScalingAmount: 'MaxScalingAmount',
|
|
6725
6822
|
nodeAmount: 'NodeAmount',
|
|
6726
6823
|
nodeCapacity: 'NodeCapacity',
|
|
@@ -6744,6 +6841,7 @@ export class GetAppInstanceGroupResponseBodyAppInstanceGroupModelsNodePool exten
|
|
|
6744
6841
|
static types(): { [key: string]: any } {
|
|
6745
6842
|
return {
|
|
6746
6843
|
amount: 'number',
|
|
6844
|
+
maxIdleAppInstanceAmount: 'number',
|
|
6747
6845
|
maxScalingAmount: 'number',
|
|
6748
6846
|
nodeAmount: 'number',
|
|
6749
6847
|
nodeCapacity: 'number',
|
|
@@ -6871,6 +6969,7 @@ export class GetAppInstanceGroupResponseBodyAppInstanceGroupModels extends $tea.
|
|
|
6871
6969
|
*/
|
|
6872
6970
|
minAmount?: number;
|
|
6873
6971
|
nodePool?: GetAppInstanceGroupResponseBodyAppInstanceGroupModelsNodePool[];
|
|
6972
|
+
officeSiteId?: string;
|
|
6874
6973
|
/**
|
|
6875
6974
|
* @example
|
|
6876
6975
|
* Windows
|
|
@@ -6960,6 +7059,7 @@ export class GetAppInstanceGroupResponseBodyAppInstanceGroupModels extends $tea.
|
|
|
6960
7059
|
maxAmount: 'MaxAmount',
|
|
6961
7060
|
minAmount: 'MinAmount',
|
|
6962
7061
|
nodePool: 'NodePool',
|
|
7062
|
+
officeSiteId: 'OfficeSiteId',
|
|
6963
7063
|
osType: 'OsType',
|
|
6964
7064
|
otaInfo: 'OtaInfo',
|
|
6965
7065
|
productType: 'ProductType',
|
|
@@ -6996,6 +7096,7 @@ export class GetAppInstanceGroupResponseBodyAppInstanceGroupModels extends $tea.
|
|
|
6996
7096
|
maxAmount: 'number',
|
|
6997
7097
|
minAmount: 'number',
|
|
6998
7098
|
nodePool: { 'type': 'array', 'itemType': GetAppInstanceGroupResponseBodyAppInstanceGroupModelsNodePool },
|
|
7099
|
+
officeSiteId: 'string',
|
|
6999
7100
|
osType: 'string',
|
|
7000
7101
|
otaInfo: GetAppInstanceGroupResponseBodyAppInstanceGroupModelsOtaInfo,
|
|
7001
7102
|
productType: 'string',
|
|
@@ -7763,6 +7864,7 @@ export class ListAppInstanceGroupResponseBodyAppInstanceGroupModelsNodePool exte
|
|
|
7763
7864
|
* 2
|
|
7764
7865
|
*/
|
|
7765
7866
|
amount?: number;
|
|
7867
|
+
maxIdleAppInstanceAmount?: number;
|
|
7766
7868
|
/**
|
|
7767
7869
|
* @example
|
|
7768
7870
|
* 8
|
|
@@ -7843,6 +7945,7 @@ export class ListAppInstanceGroupResponseBodyAppInstanceGroupModelsNodePool exte
|
|
|
7843
7945
|
static names(): { [key: string]: string } {
|
|
7844
7946
|
return {
|
|
7845
7947
|
amount: 'Amount',
|
|
7948
|
+
maxIdleAppInstanceAmount: 'MaxIdleAppInstanceAmount',
|
|
7846
7949
|
maxScalingAmount: 'MaxScalingAmount',
|
|
7847
7950
|
nodeAmount: 'NodeAmount',
|
|
7848
7951
|
nodeCapacity: 'NodeCapacity',
|
|
@@ -7866,6 +7969,7 @@ export class ListAppInstanceGroupResponseBodyAppInstanceGroupModelsNodePool exte
|
|
|
7866
7969
|
static types(): { [key: string]: any } {
|
|
7867
7970
|
return {
|
|
7868
7971
|
amount: 'number',
|
|
7972
|
+
maxIdleAppInstanceAmount: 'number',
|
|
7869
7973
|
maxScalingAmount: 'number',
|
|
7870
7974
|
nodeAmount: 'number',
|
|
7871
7975
|
nodeCapacity: 'number',
|
|
@@ -7993,6 +8097,7 @@ export class ListAppInstanceGroupResponseBodyAppInstanceGroupModels extends $tea
|
|
|
7993
8097
|
*/
|
|
7994
8098
|
minAmount?: number;
|
|
7995
8099
|
nodePool?: ListAppInstanceGroupResponseBodyAppInstanceGroupModelsNodePool[];
|
|
8100
|
+
officeSiteId?: string;
|
|
7996
8101
|
/**
|
|
7997
8102
|
* @example
|
|
7998
8103
|
* Windows
|
|
@@ -8080,6 +8185,7 @@ export class ListAppInstanceGroupResponseBodyAppInstanceGroupModels extends $tea
|
|
|
8080
8185
|
maxAmount: 'MaxAmount',
|
|
8081
8186
|
minAmount: 'MinAmount',
|
|
8082
8187
|
nodePool: 'NodePool',
|
|
8188
|
+
officeSiteId: 'OfficeSiteId',
|
|
8083
8189
|
osType: 'OsType',
|
|
8084
8190
|
otaInfo: 'OtaInfo',
|
|
8085
8191
|
productType: 'ProductType',
|
|
@@ -8114,6 +8220,7 @@ export class ListAppInstanceGroupResponseBodyAppInstanceGroupModels extends $tea
|
|
|
8114
8220
|
maxAmount: 'number',
|
|
8115
8221
|
minAmount: 'number',
|
|
8116
8222
|
nodePool: { 'type': 'array', 'itemType': ListAppInstanceGroupResponseBodyAppInstanceGroupModelsNodePool },
|
|
8223
|
+
officeSiteId: 'string',
|
|
8117
8224
|
osType: 'string',
|
|
8118
8225
|
otaInfo: ListAppInstanceGroupResponseBodyAppInstanceGroupModelsOtaInfo,
|
|
8119
8226
|
productType: 'string',
|
|
@@ -8982,6 +9089,7 @@ export class ModifyNodePoolAttributeRequestNodePoolStrategyRecurrenceSchedules e
|
|
|
8982
9089
|
}
|
|
8983
9090
|
|
|
8984
9091
|
export class ModifyNodePoolAttributeRequestNodePoolStrategy extends $tea.Model {
|
|
9092
|
+
maxIdleAppInstanceAmount?: number;
|
|
8985
9093
|
/**
|
|
8986
9094
|
* @example
|
|
8987
9095
|
* 10
|
|
@@ -9046,6 +9154,7 @@ export class ModifyNodePoolAttributeRequestNodePoolStrategy extends $tea.Model {
|
|
|
9046
9154
|
warmUp?: boolean;
|
|
9047
9155
|
static names(): { [key: string]: string } {
|
|
9048
9156
|
return {
|
|
9157
|
+
maxIdleAppInstanceAmount: 'MaxIdleAppInstanceAmount',
|
|
9049
9158
|
maxScalingAmount: 'MaxScalingAmount',
|
|
9050
9159
|
nodeAmount: 'NodeAmount',
|
|
9051
9160
|
recurrenceSchedules: 'RecurrenceSchedules',
|
|
@@ -9061,6 +9170,7 @@ export class ModifyNodePoolAttributeRequestNodePoolStrategy extends $tea.Model {
|
|
|
9061
9170
|
|
|
9062
9171
|
static types(): { [key: string]: any } {
|
|
9063
9172
|
return {
|
|
9173
|
+
maxIdleAppInstanceAmount: 'number',
|
|
9064
9174
|
maxScalingAmount: 'number',
|
|
9065
9175
|
nodeAmount: 'number',
|
|
9066
9176
|
recurrenceSchedules: { 'type': 'array', 'itemType': ModifyNodePoolAttributeRequestNodePoolStrategyRecurrenceSchedules },
|
|
@@ -9384,12 +9494,18 @@ export default class Client extends OpenApi {
|
|
|
9384
9494
|
/**
|
|
9385
9495
|
* 授权用户
|
|
9386
9496
|
*
|
|
9387
|
-
* @param
|
|
9497
|
+
* @param tmpReq - AuthorizeInstanceGroupRequest
|
|
9388
9498
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
9389
9499
|
* @returns AuthorizeInstanceGroupResponse
|
|
9390
9500
|
*/
|
|
9391
|
-
async authorizeInstanceGroupWithOptions(
|
|
9392
|
-
Util.validateModel(
|
|
9501
|
+
async authorizeInstanceGroupWithOptions(tmpReq: AuthorizeInstanceGroupRequest, runtime: $Util.RuntimeOptions): Promise<AuthorizeInstanceGroupResponse> {
|
|
9502
|
+
Util.validateModel(tmpReq);
|
|
9503
|
+
let request = new AuthorizeInstanceGroupShrinkRequest({ });
|
|
9504
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
9505
|
+
if (!Util.isUnset(tmpReq.userMeta)) {
|
|
9506
|
+
request.userMetaShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.userMeta, "UserMeta", "json");
|
|
9507
|
+
}
|
|
9508
|
+
|
|
9393
9509
|
let body : {[key: string ]: any} = { };
|
|
9394
9510
|
if (!Util.isUnset(request.appInstanceGroupId)) {
|
|
9395
9511
|
body["AppInstanceGroupId"] = request.appInstanceGroupId;
|
|
@@ -9408,6 +9524,10 @@ export default class Client extends OpenApi {
|
|
|
9408
9524
|
bodyFlat["UnAuthorizeUserIds"] = request.unAuthorizeUserIds;
|
|
9409
9525
|
}
|
|
9410
9526
|
|
|
9527
|
+
if (!Util.isUnset(request.userMetaShrink)) {
|
|
9528
|
+
body["UserMeta"] = request.userMetaShrink;
|
|
9529
|
+
}
|
|
9530
|
+
|
|
9411
9531
|
body = {
|
|
9412
9532
|
...body,
|
|
9413
9533
|
...OpenApiUtil.query(bodyFlat),
|
|
@@ -10632,6 +10752,10 @@ export default class Client extends OpenApi {
|
|
|
10632
10752
|
query["NodeInstanceType"] = request.nodeInstanceType;
|
|
10633
10753
|
}
|
|
10634
10754
|
|
|
10755
|
+
if (!Util.isUnset(request.officeSiteId)) {
|
|
10756
|
+
query["OfficeSiteId"] = request.officeSiteId;
|
|
10757
|
+
}
|
|
10758
|
+
|
|
10635
10759
|
if (!Util.isUnset(request.pageNumber)) {
|
|
10636
10760
|
query["PageNumber"] = request.pageNumber;
|
|
10637
10761
|
}
|
|
@@ -10764,14 +10888,38 @@ export default class Client extends OpenApi {
|
|
|
10764
10888
|
query["BizRegionId"] = request.bizRegionId;
|
|
10765
10889
|
}
|
|
10766
10890
|
|
|
10891
|
+
if (!Util.isUnset(request.cpu)) {
|
|
10892
|
+
query["Cpu"] = request.cpu;
|
|
10893
|
+
}
|
|
10894
|
+
|
|
10895
|
+
if (!Util.isUnset(request.gpu)) {
|
|
10896
|
+
query["Gpu"] = request.gpu;
|
|
10897
|
+
}
|
|
10898
|
+
|
|
10899
|
+
if (!Util.isUnset(request.gpuMemory)) {
|
|
10900
|
+
query["GpuMemory"] = request.gpuMemory;
|
|
10901
|
+
}
|
|
10902
|
+
|
|
10767
10903
|
if (!Util.isUnset(request.language)) {
|
|
10768
10904
|
query["Language"] = request.language;
|
|
10769
10905
|
}
|
|
10770
10906
|
|
|
10907
|
+
if (!Util.isUnset(request.memory)) {
|
|
10908
|
+
query["Memory"] = request.memory;
|
|
10909
|
+
}
|
|
10910
|
+
|
|
10771
10911
|
if (!Util.isUnset(request.nodeInstanceType)) {
|
|
10772
10912
|
query["NodeInstanceType"] = request.nodeInstanceType;
|
|
10773
10913
|
}
|
|
10774
10914
|
|
|
10915
|
+
if (!Util.isUnset(request.nodeInstanceTypeFamily)) {
|
|
10916
|
+
query["NodeInstanceTypeFamily"] = request.nodeInstanceTypeFamily;
|
|
10917
|
+
}
|
|
10918
|
+
|
|
10919
|
+
if (!Util.isUnset(request.orderBy)) {
|
|
10920
|
+
query["OrderBy"] = request.orderBy;
|
|
10921
|
+
}
|
|
10922
|
+
|
|
10775
10923
|
if (!Util.isUnset(request.osType)) {
|
|
10776
10924
|
query["OsType"] = request.osType;
|
|
10777
10925
|
}
|
|
@@ -10788,6 +10936,10 @@ export default class Client extends OpenApi {
|
|
|
10788
10936
|
query["ProductType"] = request.productType;
|
|
10789
10937
|
}
|
|
10790
10938
|
|
|
10939
|
+
if (!Util.isUnset(request.sortType)) {
|
|
10940
|
+
query["SortType"] = request.sortType;
|
|
10941
|
+
}
|
|
10942
|
+
|
|
10791
10943
|
let req = new $OpenApi.OpenApiRequest({
|
|
10792
10944
|
query: OpenApiUtil.query(query),
|
|
10793
10945
|
});
|