@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/eas20210701",
3
- "version": "6.6.0",
3
+ "version": "6.6.1",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -858,56 +858,101 @@ export class DescribeGroupEndpointsResponseBodyEndpoints extends $dara.Model {
858
858
 
859
859
  export class DescribeMachineSpecResponseBodyInstanceMetas extends $dara.Model {
860
860
  /**
861
+ * @remarks
862
+ * The number of CPU cores in the instance type.
863
+ *
861
864
  * @example
862
865
  * 32
863
866
  */
864
867
  CPU?: number;
865
868
  /**
869
+ * @remarks
870
+ * The GPU type in the instance type. If the instance type is not a GPU-based instance type, this parameter does not exist.
871
+ *
866
872
  * @example
867
873
  * GU30
868
874
  */
869
875
  GPU?: string;
870
876
  /**
877
+ * @remarks
878
+ * The number of GPUs in the instance type.
879
+ *
871
880
  * @example
872
881
  * 1
873
882
  */
874
883
  GPUAmount?: number;
875
884
  /**
885
+ * @remarks
886
+ * The GPU memory in the instance type. Unit: GB.
887
+ *
876
888
  * @example
877
889
  * 24
878
890
  */
879
891
  GPUMemory?: number;
880
892
  /**
893
+ * @remarks
894
+ * The name of the instance type.
895
+ *
881
896
  * @example
882
897
  * ml.gu7i.c32m188.1-gu30
883
898
  */
884
899
  instanceType?: string;
885
900
  /**
901
+ * @remarks
902
+ * Indicates whether the instance type is available.
903
+ *
886
904
  * @example
887
905
  * true
888
906
  */
889
907
  isAvailable?: boolean;
890
908
  /**
909
+ * @remarks
910
+ * The memory size in the instance type. Unit: GB.
911
+ *
891
912
  * @example
892
913
  * 188
893
914
  */
894
915
  memory?: number;
895
916
  /**
917
+ * @remarks
918
+ * 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.
919
+ *
896
920
  * @example
897
921
  * 0.1
898
922
  */
899
923
  nonProtectSpotDiscount?: number;
900
924
  /**
925
+ * @remarks
926
+ * 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.
927
+ *
901
928
  * @example
902
929
  * 0.12
903
930
  */
904
931
  spotDiscount?: number;
905
932
  /**
933
+ * @remarks
934
+ * The inventory status of the instance type.
935
+ *
936
+ * Valid values:
937
+ *
938
+ * * WithStock
939
+ * * ClosedWithStock
940
+ * * NoStock
941
+ *
906
942
  * @example
907
943
  * WithStock
908
944
  */
909
945
  stockStatus?: string;
910
946
  /**
947
+ * @remarks
948
+ * The source of the instance type.
949
+ *
950
+ * Valid values:
951
+ *
952
+ * * ECS
953
+ * * BareMetal
954
+ * * Lingjun
955
+ *
911
956
  * @example
912
957
  * ECS
913
958
  */
@@ -955,10 +1000,17 @@ export class DescribeMachineSpecResponseBodyInstanceMetas extends $dara.Model {
955
1000
 
956
1001
  export class DescribeMachineSpecResponseBodyTypes extends $dara.Model {
957
1002
  /**
1003
+ * @remarks
1004
+ * Valid values:
1005
+ *
958
1006
  * @example
959
1007
  * 1
960
1008
  */
961
1009
  CPU?: number;
1010
+ /**
1011
+ * @remarks
1012
+ * The optional values for memory when CPU is set to a specific value as above.
1013
+ */
962
1014
  memory?: number[];
963
1015
  static names(): { [key: string]: string } {
964
1016
  return {
@@ -2183,6 +2235,7 @@ export class ListGatewayDomainsResponseBodyCustomDomains extends $dara.Model {
2183
2235
  }
2184
2236
 
2185
2237
  export class ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList extends $dara.Model {
2238
+ authoritativeDnsEnabled?: boolean;
2186
2239
  /**
2187
2240
  * @remarks
2188
2241
  * The IP address.
@@ -2251,6 +2304,7 @@ export class ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList exten
2251
2304
  vpcId?: string;
2252
2305
  static names(): { [key: string]: string } {
2253
2306
  return {
2307
+ authoritativeDnsEnabled: 'AuthoritativeDnsEnabled',
2254
2308
  ip: 'Ip',
2255
2309
  securityGroupId: 'SecurityGroupId',
2256
2310
  status: 'Status',
@@ -2261,6 +2315,7 @@ export class ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList exten
2261
2315
 
2262
2316
  static types(): { [key: string]: any } {
2263
2317
  return {
2318
+ authoritativeDnsEnabled: 'boolean',
2264
2319
  ip: 'string',
2265
2320
  securityGroupId: 'string',
2266
2321
  status: 'string',
@@ -4837,6 +4892,7 @@ export class CreateGatewayResponse extends $dara.Model {
4837
4892
  }
4838
4893
 
4839
4894
  export class CreateGatewayIntranetLinkedVpcRequest extends $dara.Model {
4895
+ enableAuthoritativeDns?: boolean;
4840
4896
  /**
4841
4897
  * @remarks
4842
4898
  * The vSwitch ID.
@@ -4855,6 +4911,7 @@ export class CreateGatewayIntranetLinkedVpcRequest extends $dara.Model {
4855
4911
  vpcId?: string;
4856
4912
  static names(): { [key: string]: string } {
4857
4913
  return {
4914
+ enableAuthoritativeDns: 'EnableAuthoritativeDns',
4858
4915
  vSwitchId: 'VSwitchId',
4859
4916
  vpcId: 'VpcId',
4860
4917
  };
@@ -4862,6 +4919,7 @@ export class CreateGatewayIntranetLinkedVpcRequest extends $dara.Model {
4862
4919
 
4863
4920
  static types(): { [key: string]: any } {
4864
4921
  return {
4922
+ enableAuthoritativeDns: 'boolean',
4865
4923
  vSwitchId: 'string',
4866
4924
  vpcId: 'string',
4867
4925
  };
@@ -9141,6 +9199,9 @@ export class DescribeGroupEndpointsResponse extends $dara.Model {
9141
9199
 
9142
9200
  export class DescribeMachineSpecRequest extends $dara.Model {
9143
9201
  /**
9202
+ * @remarks
9203
+ * This parameter is deprecated.
9204
+ *
9144
9205
  * @deprecated
9145
9206
  */
9146
9207
  instanceTypes?: string[];
@@ -9170,6 +9231,9 @@ export class DescribeMachineSpecRequest extends $dara.Model {
9170
9231
 
9171
9232
  export class DescribeMachineSpecShrinkRequest extends $dara.Model {
9172
9233
  /**
9234
+ * @remarks
9235
+ * This parameter is deprecated.
9236
+ *
9173
9237
  * @deprecated
9174
9238
  */
9175
9239
  instanceTypesShrink?: string;
@@ -9195,12 +9259,23 @@ export class DescribeMachineSpecShrinkRequest extends $dara.Model {
9195
9259
  }
9196
9260
 
9197
9261
  export class DescribeMachineSpecResponseBody extends $dara.Model {
9262
+ /**
9263
+ * @remarks
9264
+ * The instance types when the resources are specified.
9265
+ */
9198
9266
  instanceMetas?: DescribeMachineSpecResponseBodyInstanceMetas[];
9199
9267
  /**
9268
+ * @remarks
9269
+ * The request ID.
9270
+ *
9200
9271
  * @example
9201
9272
  * 40325405-579C-4D82***
9202
9273
  */
9203
9274
  requestId?: string;
9275
+ /**
9276
+ * @remarks
9277
+ * The values that can be supported when the number of CPUs and memory size are specified for deployment.
9278
+ */
9204
9279
  types?: DescribeMachineSpecResponseBodyTypes[];
9205
9280
  static names(): { [key: string]: string } {
9206
9281
  return {
@@ -14320,6 +14395,7 @@ export class ListServicesRequest extends $dara.Model {
14320
14395
  * eas-r-hd0qwy8cxxxx
14321
14396
  */
14322
14397
  resourceName?: string;
14398
+ resourceType?: string;
14323
14399
  /**
14324
14400
  * @remarks
14325
14401
  * The server role.
@@ -14585,6 +14661,7 @@ export class ListServicesRequest extends $dara.Model {
14585
14661
  parentServiceUid: 'ParentServiceUid',
14586
14662
  quotaId: 'QuotaId',
14587
14663
  resourceName: 'ResourceName',
14664
+ resourceType: 'ResourceType',
14588
14665
  role: 'Role',
14589
14666
  serviceName: 'ServiceName',
14590
14667
  serviceStatus: 'ServiceStatus',
@@ -14607,6 +14684,7 @@ export class ListServicesRequest extends $dara.Model {
14607
14684
  parentServiceUid: 'string',
14608
14685
  quotaId: 'string',
14609
14686
  resourceName: 'string',
14687
+ resourceType: 'string',
14610
14688
  role: 'string',
14611
14689
  serviceName: 'string',
14612
14690
  serviceStatus: 'string',
@@ -14710,6 +14788,7 @@ export class ListServicesShrinkRequest extends $dara.Model {
14710
14788
  * eas-r-hd0qwy8cxxxx
14711
14789
  */
14712
14790
  resourceName?: string;
14791
+ resourceType?: string;
14713
14792
  /**
14714
14793
  * @remarks
14715
14794
  * The server role.
@@ -14975,6 +15054,7 @@ export class ListServicesShrinkRequest extends $dara.Model {
14975
15054
  parentServiceUid: 'ParentServiceUid',
14976
15055
  quotaId: 'QuotaId',
14977
15056
  resourceName: 'ResourceName',
15057
+ resourceType: 'ResourceType',
14978
15058
  role: 'Role',
14979
15059
  serviceName: 'ServiceName',
14980
15060
  serviceStatus: 'ServiceStatus',
@@ -14997,6 +15077,7 @@ export class ListServicesShrinkRequest extends $dara.Model {
14997
15077
  parentServiceUid: 'string',
14998
15078
  quotaId: 'string',
14999
15079
  resourceName: 'string',
15080
+ resourceType: 'string',
15000
15081
  role: 'string',
15001
15082
  serviceName: 'string',
15002
15083
  serviceStatus: 'string',
@@ -16046,7 +16127,7 @@ export class UpdateAppServiceResponseBody extends $dara.Model {
16046
16127
  * The returned message.
16047
16128
  *
16048
16129
  * @example
16049
- * Succee
16130
+ * Success
16050
16131
  */
16051
16132
  message?: string;
16052
16133
  /**
@@ -18491,6 +18572,10 @@ export default class Client extends OpenApi {
18491
18572
  async createGatewayIntranetLinkedVpcWithOptions(ClusterId: string, GatewayId: string, request: CreateGatewayIntranetLinkedVpcRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<CreateGatewayIntranetLinkedVpcResponse> {
18492
18573
  request.validate();
18493
18574
  let query : {[key: string ]: any} = { };
18575
+ if (!$dara.isNull(request.enableAuthoritativeDns)) {
18576
+ query["EnableAuthoritativeDns"] = request.enableAuthoritativeDns;
18577
+ }
18578
+
18494
18579
  if (!$dara.isNull(request.vSwitchId)) {
18495
18580
  query["VSwitchId"] = request.vSwitchId;
18496
18581
  }
@@ -20134,7 +20219,7 @@ export default class Client extends OpenApi {
20134
20219
  }
20135
20220
 
20136
20221
  /**
20137
- * 查询可用机器规格
20222
+ * Queries a list of instance types for an available instance in a shared resource group.
20138
20223
  *
20139
20224
  * @param tmpReq - DescribeMachineSpecRequest
20140
20225
  * @param headers - map
@@ -20178,7 +20263,7 @@ export default class Client extends OpenApi {
20178
20263
  }
20179
20264
 
20180
20265
  /**
20181
- * 查询可用机器规格
20266
+ * Queries a list of instance types for an available instance in a shared resource group.
20182
20267
  *
20183
20268
  * @param request - DescribeMachineSpecRequest
20184
20269
  * @returns DescribeMachineSpecResponse
@@ -21950,6 +22035,10 @@ export default class Client extends OpenApi {
21950
22035
  query["ResourceName"] = request.resourceName;
21951
22036
  }
21952
22037
 
22038
+ if (!$dara.isNull(request.resourceType)) {
22039
+ query["ResourceType"] = request.resourceType;
22040
+ }
22041
+
21953
22042
  if (!$dara.isNull(request.role)) {
21954
22043
  query["Role"] = request.role;
21955
22044
  }