@alicloud/eas20210701 6.6.0 → 6.6.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 +76 -3
- package/dist/client.js +16 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +92 -3
package/dist/client.d.ts
CHANGED
|
@@ -605,56 +605,101 @@ export declare class DescribeGroupEndpointsResponseBodyEndpoints extends $dara.M
|
|
|
605
605
|
}
|
|
606
606
|
export declare class DescribeMachineSpecResponseBodyInstanceMetas extends $dara.Model {
|
|
607
607
|
/**
|
|
608
|
+
* @remarks
|
|
609
|
+
* The number of CPU cores in the instance type.
|
|
610
|
+
*
|
|
608
611
|
* @example
|
|
609
612
|
* 32
|
|
610
613
|
*/
|
|
611
614
|
CPU?: number;
|
|
612
615
|
/**
|
|
616
|
+
* @remarks
|
|
617
|
+
* The GPU type in the instance type. If the instance type is not a GPU-based instance type, this parameter does not exist.
|
|
618
|
+
*
|
|
613
619
|
* @example
|
|
614
620
|
* GU30
|
|
615
621
|
*/
|
|
616
622
|
GPU?: string;
|
|
617
623
|
/**
|
|
624
|
+
* @remarks
|
|
625
|
+
* The number of GPUs in the instance type.
|
|
626
|
+
*
|
|
618
627
|
* @example
|
|
619
628
|
* 1
|
|
620
629
|
*/
|
|
621
630
|
GPUAmount?: number;
|
|
622
631
|
/**
|
|
632
|
+
* @remarks
|
|
633
|
+
* The GPU memory in the instance type. Unit: GB.
|
|
634
|
+
*
|
|
623
635
|
* @example
|
|
624
636
|
* 24
|
|
625
637
|
*/
|
|
626
638
|
GPUMemory?: number;
|
|
627
639
|
/**
|
|
640
|
+
* @remarks
|
|
641
|
+
* The name of the instance type.
|
|
642
|
+
*
|
|
628
643
|
* @example
|
|
629
644
|
* ml.gu7i.c32m188.1-gu30
|
|
630
645
|
*/
|
|
631
646
|
instanceType?: string;
|
|
632
647
|
/**
|
|
648
|
+
* @remarks
|
|
649
|
+
* Indicates whether the instance type is available.
|
|
650
|
+
*
|
|
633
651
|
* @example
|
|
634
652
|
* true
|
|
635
653
|
*/
|
|
636
654
|
isAvailable?: boolean;
|
|
637
655
|
/**
|
|
656
|
+
* @remarks
|
|
657
|
+
* The memory size in the instance type. Unit: GB.
|
|
658
|
+
*
|
|
638
659
|
* @example
|
|
639
660
|
* 188
|
|
640
661
|
*/
|
|
641
662
|
memory?: number;
|
|
642
663
|
/**
|
|
664
|
+
* @remarks
|
|
665
|
+
* The minimum discount that can be accepted when the preemptible instance type does not include a usage duration. 0.1 indicates one fold. If this parameter is not returned, the bidding feature is not supported.
|
|
666
|
+
*
|
|
643
667
|
* @example
|
|
644
668
|
* 0.1
|
|
645
669
|
*/
|
|
646
670
|
nonProtectSpotDiscount?: number;
|
|
647
671
|
/**
|
|
672
|
+
* @remarks
|
|
673
|
+
* The minimum discount that can be accepted when the preemptible instance type has the 1-hour protection duration. 0.1 indicates one fold. If this parameter is not returned, the bidding feature is not supported.
|
|
674
|
+
*
|
|
648
675
|
* @example
|
|
649
676
|
* 0.12
|
|
650
677
|
*/
|
|
651
678
|
spotDiscount?: number;
|
|
652
679
|
/**
|
|
680
|
+
* @remarks
|
|
681
|
+
* The inventory status of the instance type.
|
|
682
|
+
*
|
|
683
|
+
* Valid values:
|
|
684
|
+
*
|
|
685
|
+
* * WithStock
|
|
686
|
+
* * ClosedWithStock
|
|
687
|
+
* * NoStock
|
|
688
|
+
*
|
|
653
689
|
* @example
|
|
654
690
|
* WithStock
|
|
655
691
|
*/
|
|
656
692
|
stockStatus?: string;
|
|
657
693
|
/**
|
|
694
|
+
* @remarks
|
|
695
|
+
* The source of the instance type.
|
|
696
|
+
*
|
|
697
|
+
* Valid values:
|
|
698
|
+
*
|
|
699
|
+
* * ECS
|
|
700
|
+
* * BareMetal
|
|
701
|
+
* * Lingjun
|
|
702
|
+
*
|
|
658
703
|
* @example
|
|
659
704
|
* ECS
|
|
660
705
|
*/
|
|
@@ -672,10 +717,17 @@ export declare class DescribeMachineSpecResponseBodyInstanceMetas extends $dara.
|
|
|
672
717
|
}
|
|
673
718
|
export declare class DescribeMachineSpecResponseBodyTypes extends $dara.Model {
|
|
674
719
|
/**
|
|
720
|
+
* @remarks
|
|
721
|
+
* Valid values:
|
|
722
|
+
*
|
|
675
723
|
* @example
|
|
676
724
|
* 1
|
|
677
725
|
*/
|
|
678
726
|
CPU?: number;
|
|
727
|
+
/**
|
|
728
|
+
* @remarks
|
|
729
|
+
* The optional values for memory when CPU is set to a specific value as above.
|
|
730
|
+
*/
|
|
679
731
|
memory?: number[];
|
|
680
732
|
static names(): {
|
|
681
733
|
[key: string]: string;
|
|
@@ -1579,6 +1631,7 @@ export declare class ListGatewayDomainsResponseBodyCustomDomains extends $dara.M
|
|
|
1579
1631
|
});
|
|
1580
1632
|
}
|
|
1581
1633
|
export declare class ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList extends $dara.Model {
|
|
1634
|
+
authoritativeDnsEnabled?: boolean;
|
|
1582
1635
|
/**
|
|
1583
1636
|
* @remarks
|
|
1584
1637
|
* The IP address.
|
|
@@ -3282,6 +3335,7 @@ export declare class CreateGatewayResponse extends $dara.Model {
|
|
|
3282
3335
|
});
|
|
3283
3336
|
}
|
|
3284
3337
|
export declare class CreateGatewayIntranetLinkedVpcRequest extends $dara.Model {
|
|
3338
|
+
enableAuthoritativeDns?: boolean;
|
|
3285
3339
|
/**
|
|
3286
3340
|
* @remarks
|
|
3287
3341
|
* The vSwitch ID.
|
|
@@ -6171,6 +6225,9 @@ export declare class DescribeGroupEndpointsResponse extends $dara.Model {
|
|
|
6171
6225
|
}
|
|
6172
6226
|
export declare class DescribeMachineSpecRequest extends $dara.Model {
|
|
6173
6227
|
/**
|
|
6228
|
+
* @remarks
|
|
6229
|
+
* This parameter is deprecated.
|
|
6230
|
+
*
|
|
6174
6231
|
* @deprecated
|
|
6175
6232
|
*/
|
|
6176
6233
|
instanceTypes?: string[];
|
|
@@ -6187,6 +6244,9 @@ export declare class DescribeMachineSpecRequest extends $dara.Model {
|
|
|
6187
6244
|
}
|
|
6188
6245
|
export declare class DescribeMachineSpecShrinkRequest extends $dara.Model {
|
|
6189
6246
|
/**
|
|
6247
|
+
* @remarks
|
|
6248
|
+
* This parameter is deprecated.
|
|
6249
|
+
*
|
|
6190
6250
|
* @deprecated
|
|
6191
6251
|
*/
|
|
6192
6252
|
instanceTypesShrink?: string;
|
|
@@ -6202,12 +6262,23 @@ export declare class DescribeMachineSpecShrinkRequest extends $dara.Model {
|
|
|
6202
6262
|
});
|
|
6203
6263
|
}
|
|
6204
6264
|
export declare class DescribeMachineSpecResponseBody extends $dara.Model {
|
|
6265
|
+
/**
|
|
6266
|
+
* @remarks
|
|
6267
|
+
* The instance types when the resources are specified.
|
|
6268
|
+
*/
|
|
6205
6269
|
instanceMetas?: DescribeMachineSpecResponseBodyInstanceMetas[];
|
|
6206
6270
|
/**
|
|
6271
|
+
* @remarks
|
|
6272
|
+
* The request ID.
|
|
6273
|
+
*
|
|
6207
6274
|
* @example
|
|
6208
6275
|
* 40325405-579C-4D82***
|
|
6209
6276
|
*/
|
|
6210
6277
|
requestId?: string;
|
|
6278
|
+
/**
|
|
6279
|
+
* @remarks
|
|
6280
|
+
* The values that can be supported when the number of CPUs and memory size are specified for deployment.
|
|
6281
|
+
*/
|
|
6211
6282
|
types?: DescribeMachineSpecResponseBodyTypes[];
|
|
6212
6283
|
static names(): {
|
|
6213
6284
|
[key: string]: string;
|
|
@@ -9762,6 +9833,7 @@ export declare class ListServicesRequest extends $dara.Model {
|
|
|
9762
9833
|
* eas-r-hd0qwy8cxxxx
|
|
9763
9834
|
*/
|
|
9764
9835
|
resourceName?: string;
|
|
9836
|
+
resourceType?: string;
|
|
9765
9837
|
/**
|
|
9766
9838
|
* @remarks
|
|
9767
9839
|
* The server role.
|
|
@@ -10107,6 +10179,7 @@ export declare class ListServicesShrinkRequest extends $dara.Model {
|
|
|
10107
10179
|
* eas-r-hd0qwy8cxxxx
|
|
10108
10180
|
*/
|
|
10109
10181
|
resourceName?: string;
|
|
10182
|
+
resourceType?: string;
|
|
10110
10183
|
/**
|
|
10111
10184
|
* @remarks
|
|
10112
10185
|
* The server role.
|
|
@@ -11029,7 +11102,7 @@ export declare class UpdateAppServiceResponseBody extends $dara.Model {
|
|
|
11029
11102
|
* The returned message.
|
|
11030
11103
|
*
|
|
11031
11104
|
* @example
|
|
11032
|
-
*
|
|
11105
|
+
* Success
|
|
11033
11106
|
*/
|
|
11034
11107
|
message?: string;
|
|
11035
11108
|
/**
|
|
@@ -12960,7 +13033,7 @@ export default class Client extends OpenApi {
|
|
|
12960
13033
|
*/
|
|
12961
13034
|
describeGroupEndpoints(ClusterId: string, GroupName: string): Promise<DescribeGroupEndpointsResponse>;
|
|
12962
13035
|
/**
|
|
12963
|
-
*
|
|
13036
|
+
* Queries a list of instance types for an available instance in a shared resource group.
|
|
12964
13037
|
*
|
|
12965
13038
|
* @param tmpReq - DescribeMachineSpecRequest
|
|
12966
13039
|
* @param headers - map
|
|
@@ -12971,7 +13044,7 @@ export default class Client extends OpenApi {
|
|
|
12971
13044
|
[key: string]: string;
|
|
12972
13045
|
}, runtime: $dara.RuntimeOptions): Promise<DescribeMachineSpecResponse>;
|
|
12973
13046
|
/**
|
|
12974
|
-
*
|
|
13047
|
+
* Queries a list of instance types for an available instance in a shared resource group.
|
|
12975
13048
|
*
|
|
12976
13049
|
* @param request - DescribeMachineSpecRequest
|
|
12977
13050
|
* @returns DescribeMachineSpecResponse
|
package/dist/client.js
CHANGED
|
@@ -980,6 +980,7 @@ exports.ListGatewayDomainsResponseBodyCustomDomains = ListGatewayDomainsResponse
|
|
|
980
980
|
class ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList extends $dara.Model {
|
|
981
981
|
static names() {
|
|
982
982
|
return {
|
|
983
|
+
authoritativeDnsEnabled: 'AuthoritativeDnsEnabled',
|
|
983
984
|
ip: 'Ip',
|
|
984
985
|
securityGroupId: 'SecurityGroupId',
|
|
985
986
|
status: 'Status',
|
|
@@ -989,6 +990,7 @@ class ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList extends $dar
|
|
|
989
990
|
}
|
|
990
991
|
static types() {
|
|
991
992
|
return {
|
|
993
|
+
authoritativeDnsEnabled: 'boolean',
|
|
992
994
|
ip: 'string',
|
|
993
995
|
securityGroupId: 'string',
|
|
994
996
|
status: 'string',
|
|
@@ -2362,12 +2364,14 @@ exports.CreateGatewayResponse = CreateGatewayResponse;
|
|
|
2362
2364
|
class CreateGatewayIntranetLinkedVpcRequest extends $dara.Model {
|
|
2363
2365
|
static names() {
|
|
2364
2366
|
return {
|
|
2367
|
+
enableAuthoritativeDns: 'EnableAuthoritativeDns',
|
|
2365
2368
|
vSwitchId: 'VSwitchId',
|
|
2366
2369
|
vpcId: 'VpcId',
|
|
2367
2370
|
};
|
|
2368
2371
|
}
|
|
2369
2372
|
static types() {
|
|
2370
2373
|
return {
|
|
2374
|
+
enableAuthoritativeDns: 'boolean',
|
|
2371
2375
|
vSwitchId: 'string',
|
|
2372
2376
|
vpcId: 'string',
|
|
2373
2377
|
};
|
|
@@ -7074,6 +7078,7 @@ class ListServicesRequest extends $dara.Model {
|
|
|
7074
7078
|
parentServiceUid: 'ParentServiceUid',
|
|
7075
7079
|
quotaId: 'QuotaId',
|
|
7076
7080
|
resourceName: 'ResourceName',
|
|
7081
|
+
resourceType: 'ResourceType',
|
|
7077
7082
|
role: 'Role',
|
|
7078
7083
|
serviceName: 'ServiceName',
|
|
7079
7084
|
serviceStatus: 'ServiceStatus',
|
|
@@ -7095,6 +7100,7 @@ class ListServicesRequest extends $dara.Model {
|
|
|
7095
7100
|
parentServiceUid: 'string',
|
|
7096
7101
|
quotaId: 'string',
|
|
7097
7102
|
resourceName: 'string',
|
|
7103
|
+
resourceType: 'string',
|
|
7098
7104
|
role: 'string',
|
|
7099
7105
|
serviceName: 'string',
|
|
7100
7106
|
serviceStatus: 'string',
|
|
@@ -7128,6 +7134,7 @@ class ListServicesShrinkRequest extends $dara.Model {
|
|
|
7128
7134
|
parentServiceUid: 'ParentServiceUid',
|
|
7129
7135
|
quotaId: 'QuotaId',
|
|
7130
7136
|
resourceName: 'ResourceName',
|
|
7137
|
+
resourceType: 'ResourceType',
|
|
7131
7138
|
role: 'Role',
|
|
7132
7139
|
serviceName: 'ServiceName',
|
|
7133
7140
|
serviceStatus: 'ServiceStatus',
|
|
@@ -7149,6 +7156,7 @@ class ListServicesShrinkRequest extends $dara.Model {
|
|
|
7149
7156
|
parentServiceUid: 'string',
|
|
7150
7157
|
quotaId: 'string',
|
|
7151
7158
|
resourceName: 'string',
|
|
7159
|
+
resourceType: 'string',
|
|
7152
7160
|
role: 'string',
|
|
7153
7161
|
serviceName: 'string',
|
|
7154
7162
|
serviceStatus: 'string',
|
|
@@ -9382,6 +9390,9 @@ class Client extends openapi_core_1.default {
|
|
|
9382
9390
|
async createGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime) {
|
|
9383
9391
|
request.validate();
|
|
9384
9392
|
let query = {};
|
|
9393
|
+
if (!$dara.isNull(request.enableAuthoritativeDns)) {
|
|
9394
|
+
query["EnableAuthoritativeDns"] = request.enableAuthoritativeDns;
|
|
9395
|
+
}
|
|
9385
9396
|
if (!$dara.isNull(request.vSwitchId)) {
|
|
9386
9397
|
query["VSwitchId"] = request.vSwitchId;
|
|
9387
9398
|
}
|
|
@@ -10901,7 +10912,7 @@ class Client extends openapi_core_1.default {
|
|
|
10901
10912
|
return await this.describeGroupEndpointsWithOptions(ClusterId, GroupName, headers, runtime);
|
|
10902
10913
|
}
|
|
10903
10914
|
/**
|
|
10904
|
-
*
|
|
10915
|
+
* Queries a list of instance types for an available instance in a shared resource group.
|
|
10905
10916
|
*
|
|
10906
10917
|
* @param tmpReq - DescribeMachineSpecRequest
|
|
10907
10918
|
* @param headers - map
|
|
@@ -10942,7 +10953,7 @@ class Client extends openapi_core_1.default {
|
|
|
10942
10953
|
}
|
|
10943
10954
|
}
|
|
10944
10955
|
/**
|
|
10945
|
-
*
|
|
10956
|
+
* Queries a list of instance types for an available instance in a shared resource group.
|
|
10946
10957
|
*
|
|
10947
10958
|
* @param request - DescribeMachineSpecRequest
|
|
10948
10959
|
* @returns DescribeMachineSpecResponse
|
|
@@ -12560,6 +12571,9 @@ class Client extends openapi_core_1.default {
|
|
|
12560
12571
|
if (!$dara.isNull(request.resourceName)) {
|
|
12561
12572
|
query["ResourceName"] = request.resourceName;
|
|
12562
12573
|
}
|
|
12574
|
+
if (!$dara.isNull(request.resourceType)) {
|
|
12575
|
+
query["ResourceType"] = request.resourceType;
|
|
12576
|
+
}
|
|
12563
12577
|
if (!$dara.isNull(request.role)) {
|
|
12564
12578
|
query["Role"] = request.role;
|
|
12565
12579
|
}
|