@alicloud/ecs20140526 4.1.0 → 4.1.2

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/src/client.ts CHANGED
@@ -12113,6 +12113,8 @@ export class DescribeDedicatedHostsRequest extends $tea.Model {
12113
12113
  dedicatedHostName?: string;
12114
12114
  dedicatedHostType?: string;
12115
12115
  lockReason?: string;
12116
+ maxResults?: number;
12117
+ nextToken?: string;
12116
12118
  ownerAccount?: string;
12117
12119
  ownerId?: number;
12118
12120
  pageNumber?: number;
@@ -12132,6 +12134,8 @@ export class DescribeDedicatedHostsRequest extends $tea.Model {
12132
12134
  dedicatedHostName: 'DedicatedHostName',
12133
12135
  dedicatedHostType: 'DedicatedHostType',
12134
12136
  lockReason: 'LockReason',
12137
+ maxResults: 'MaxResults',
12138
+ nextToken: 'NextToken',
12135
12139
  ownerAccount: 'OwnerAccount',
12136
12140
  ownerId: 'OwnerId',
12137
12141
  pageNumber: 'PageNumber',
@@ -12154,6 +12158,8 @@ export class DescribeDedicatedHostsRequest extends $tea.Model {
12154
12158
  dedicatedHostName: 'string',
12155
12159
  dedicatedHostType: 'string',
12156
12160
  lockReason: 'string',
12161
+ maxResults: 'number',
12162
+ nextToken: 'string',
12157
12163
  ownerAccount: 'string',
12158
12164
  ownerId: 'number',
12159
12165
  pageNumber: 'number',
@@ -12176,6 +12182,7 @@ export class DescribeDedicatedHostsRequest extends $tea.Model {
12176
12182
 
12177
12183
  export class DescribeDedicatedHostsResponseBody extends $tea.Model {
12178
12184
  dedicatedHosts?: DescribeDedicatedHostsResponseBodyDedicatedHosts;
12185
+ nextToken?: string;
12179
12186
  pageNumber?: number;
12180
12187
  pageSize?: number;
12181
12188
  requestId?: string;
@@ -12183,6 +12190,7 @@ export class DescribeDedicatedHostsResponseBody extends $tea.Model {
12183
12190
  static names(): { [key: string]: string } {
12184
12191
  return {
12185
12192
  dedicatedHosts: 'DedicatedHosts',
12193
+ nextToken: 'NextToken',
12186
12194
  pageNumber: 'PageNumber',
12187
12195
  pageSize: 'PageSize',
12188
12196
  requestId: 'RequestId',
@@ -12193,6 +12201,7 @@ export class DescribeDedicatedHostsResponseBody extends $tea.Model {
12193
12201
  static types(): { [key: string]: any } {
12194
12202
  return {
12195
12203
  dedicatedHosts: DescribeDedicatedHostsResponseBodyDedicatedHosts,
12204
+ nextToken: 'string',
12196
12205
  pageNumber: 'number',
12197
12206
  pageSize: 'number',
12198
12207
  requestId: 'string',
@@ -15976,11 +15985,16 @@ export class DescribeInstanceTypeFamiliesResponse extends $tea.Model {
15976
15985
 
15977
15986
  export class DescribeInstanceTypesRequest extends $tea.Model {
15978
15987
  cpuArchitecture?: string;
15988
+ cpuArchitectures?: string[];
15979
15989
  GPUSpec?: string;
15990
+ gpuSpecs?: string[];
15991
+ instanceCategories?: string[];
15980
15992
  instanceCategory?: string;
15981
15993
  instanceFamilyLevel?: string;
15994
+ instanceTypeFamilies?: string[];
15982
15995
  instanceTypeFamily?: string;
15983
15996
  instanceTypes?: string[];
15997
+ localStorageCategories?: string[];
15984
15998
  localStorageCategory?: string;
15985
15999
  maxResults?: number;
15986
16000
  maximumCpuCoreCount?: number;
@@ -16014,16 +16028,22 @@ export class DescribeInstanceTypesRequest extends $tea.Model {
16014
16028
  ownerAccount?: string;
16015
16029
  ownerId?: number;
16016
16030
  physicalProcessorModel?: string;
16031
+ physicalProcessorModels?: string[];
16017
16032
  resourceOwnerAccount?: string;
16018
16033
  resourceOwnerId?: number;
16019
16034
  static names(): { [key: string]: string } {
16020
16035
  return {
16021
16036
  cpuArchitecture: 'CpuArchitecture',
16037
+ cpuArchitectures: 'CpuArchitectures',
16022
16038
  GPUSpec: 'GPUSpec',
16039
+ gpuSpecs: 'GpuSpecs',
16040
+ instanceCategories: 'InstanceCategories',
16023
16041
  instanceCategory: 'InstanceCategory',
16024
16042
  instanceFamilyLevel: 'InstanceFamilyLevel',
16043
+ instanceTypeFamilies: 'InstanceTypeFamilies',
16025
16044
  instanceTypeFamily: 'InstanceTypeFamily',
16026
16045
  instanceTypes: 'InstanceTypes',
16046
+ localStorageCategories: 'LocalStorageCategories',
16027
16047
  localStorageCategory: 'LocalStorageCategory',
16028
16048
  maxResults: 'MaxResults',
16029
16049
  maximumCpuCoreCount: 'MaximumCpuCoreCount',
@@ -16057,6 +16077,7 @@ export class DescribeInstanceTypesRequest extends $tea.Model {
16057
16077
  ownerAccount: 'OwnerAccount',
16058
16078
  ownerId: 'OwnerId',
16059
16079
  physicalProcessorModel: 'PhysicalProcessorModel',
16080
+ physicalProcessorModels: 'PhysicalProcessorModels',
16060
16081
  resourceOwnerAccount: 'ResourceOwnerAccount',
16061
16082
  resourceOwnerId: 'ResourceOwnerId',
16062
16083
  };
@@ -16065,11 +16086,16 @@ export class DescribeInstanceTypesRequest extends $tea.Model {
16065
16086
  static types(): { [key: string]: any } {
16066
16087
  return {
16067
16088
  cpuArchitecture: 'string',
16089
+ cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
16068
16090
  GPUSpec: 'string',
16091
+ gpuSpecs: { 'type': 'array', 'itemType': 'string' },
16092
+ instanceCategories: { 'type': 'array', 'itemType': 'string' },
16069
16093
  instanceCategory: 'string',
16070
16094
  instanceFamilyLevel: 'string',
16095
+ instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
16071
16096
  instanceTypeFamily: 'string',
16072
16097
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
16098
+ localStorageCategories: { 'type': 'array', 'itemType': 'string' },
16073
16099
  localStorageCategory: 'string',
16074
16100
  maxResults: 'number',
16075
16101
  maximumCpuCoreCount: 'number',
@@ -16103,6 +16129,7 @@ export class DescribeInstanceTypesRequest extends $tea.Model {
16103
16129
  ownerAccount: 'string',
16104
16130
  ownerId: 'number',
16105
16131
  physicalProcessorModel: 'string',
16132
+ physicalProcessorModels: { 'type': 'array', 'itemType': 'string' },
16106
16133
  resourceOwnerAccount: 'string',
16107
16134
  resourceOwnerId: 'number',
16108
16135
  };
@@ -44733,6 +44760,25 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkCa
44733
44760
  }
44734
44761
  }
44735
44762
 
44763
+ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeSupportedBootModes extends $tea.Model {
44764
+ supportedBootMode?: string[];
44765
+ static names(): { [key: string]: string } {
44766
+ return {
44767
+ supportedBootMode: 'SupportedBootMode',
44768
+ };
44769
+ }
44770
+
44771
+ static types(): { [key: string]: any } {
44772
+ return {
44773
+ supportedBootMode: { 'type': 'array', 'itemType': 'string' },
44774
+ };
44775
+ }
44776
+
44777
+ constructor(map?: { [key: string]: any }) {
44778
+ super(map);
44779
+ }
44780
+ }
44781
+
44736
44782
  export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends $tea.Model {
44737
44783
  baselineCredit?: number;
44738
44784
  cpuArchitecture?: string;
@@ -44771,6 +44817,7 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends
44771
44817
  primaryEniQueueNumber?: number;
44772
44818
  queuePairNumber?: number;
44773
44819
  secondaryEniQueueNumber?: number;
44820
+ supportedBootModes?: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeSupportedBootModes;
44774
44821
  totalEniQueueQuantity?: number;
44775
44822
  static names(): { [key: string]: string } {
44776
44823
  return {
@@ -44811,6 +44858,7 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends
44811
44858
  primaryEniQueueNumber: 'PrimaryEniQueueNumber',
44812
44859
  queuePairNumber: 'QueuePairNumber',
44813
44860
  secondaryEniQueueNumber: 'SecondaryEniQueueNumber',
44861
+ supportedBootModes: 'SupportedBootModes',
44814
44862
  totalEniQueueQuantity: 'TotalEniQueueQuantity',
44815
44863
  };
44816
44864
  }
@@ -44854,6 +44902,7 @@ export class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends
44854
44902
  primaryEniQueueNumber: 'number',
44855
44903
  queuePairNumber: 'number',
44856
44904
  secondaryEniQueueNumber: 'number',
44905
+ supportedBootModes: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeSupportedBootModes,
44857
44906
  totalEniQueueQuantity: 'number',
44858
44907
  };
44859
44908
  }
@@ -58273,19 +58322,20 @@ export default class Client extends OpenApi {
58273
58322
  }
58274
58323
 
58275
58324
  /**
58325
+ * ## [](#)Usage notes
58276
58326
  * * You can create commands of the following types:
58277
- * * RunBatScript: batch commands. These commands are applicable to Windows instances.
58278
- * * RunPowerShellScript: PowerShell commands. These commands are applicable to Windows instances.
58279
- * * RunShellScript: shell commands. These commands are applicable to Linux instances.
58280
- * * You can specify the TimeOut parameter to set the maximum timeout period for executions of a command on Elastic Compute Service (ECS) instances. If an execution times out, the Cloud Assistant client forcefully terminates the command process by canceling the process ID (PID) of the command. For more information, see [Install the Cloud Assistant client](~~64921~~).
58281
- * * When the one-time execution of a command times out, the execution state ([InvokeRecordStatus](~~64845~~)) of the command becomes Failed.
58327
+ * * Batch commands (RunBatScript), applicable to Windows instances
58328
+ * * PowerShell commands (RunPowerShellScript), applicable to Windows instances
58329
+ * * Shell commands (RunShellScript), applicable to Linux instances
58330
+ * * You can specify the Timeout parameter to set the maximum timeout period for executions of a command on Elastic Compute Service (ECS) instances. If an execution times out, [Cloud Assistant Agent](~~64921~~) forcefully terminates the command process by canceling the process ID (PID) of the command.
58331
+ * * For a one-time task, when the execution times out, the state of the command ([InvokeRecordStatus](~~64845~~)) becomes Failed.
58282
58332
  * * For a scheduled task, take note of the following items:
58283
- * * The timeout period takes effect on each execution of the command.
58284
- * * When a scheduled execution of a command times out, the execution state ([InvokeRecordStatus](~~64845~~)) of the command becomes Failed.
58285
- * * The timeout of one execution does not affect the subsequent executions of the command.
58286
- * * You can retain up to 500 to 10,000 Cloud Assistant commands in each region.
58287
- * * You can use the WorkingDir parameter to specify the execution directory of a Cloud Assistant command. For Linux instances, the default execution directory of a command is the home directory of the root user, which is `/root`. For Windows instances, the default execution directory of a command is the directory where the Cloud Assistant client process resides, such as `C:\\Windows\\System32`.
58288
- * * You can enable the custom parameter feature for a Cloud Assistant command by setting EnableParameter to true when you create the command. When you configure the CommandContent parameter, you can define custom parameters in the {{parameter}} format. Then, when the [InvokeCommand](~~64841~~) operation is called, the key-value pairs of custom parameters are passed in. For example, assume that the command content is `echo {{name}}`. You can use the Parameters parameter to pass in the `<name, Jack>` key-value pair when the InvokeCommand operation is called. The name key of the custom parameter is automatically replaced by the paired Jack value to generate a new command. Therefore, the `echo Jack` command is actually run.
58333
+ * * The timeout period takes effect on each execution.
58334
+ * * When an execution times out, the state ([InvokeRecordStatus](~~64845~~)) of the command becomes Failed.
58335
+ * * The timeout of one execution does not affect the subsequent executions.
58336
+ * * You can retain up to 500 to 50,000 Cloud Assistant commands in each region. You can also apply for a quota increase. For information about how to query and increase quotas, see [Manage quotas](~~184116~~).
58337
+ * * You can use WorkingDir to specify the execution directory of a Cloud Assistant command. For Linux instances, the default execution directory of Cloud Assistant commands is the home directory of the root user, which is `/root`. For Windows instances, the default execution directory of Cloud Assistant commands is the directory where the Cloud Assistant Agent process resides, such as `C:\\Windows\\System32`.
58338
+ * * You can enable the custom parameter feature for a Cloud Assistant command by setting EnableParameter to true. When you set CommandContent, you can define custom parameters in the {{parameter}} format. Then, when the [InvokeCommand](~~64841~~) operation is called, the key-value pairs of custom parameters are passed in. For example, if a command is `echo {{name}}`, the Parameters parameter can be used to pass in the `<name, Jack>` key-value pair when the InvokeCommand operation is called. The name key of the custom parameter is automatically replaced by the paired Jack value to generate a new command. As a result, the `echo Jack` command is run.
58289
58339
  *
58290
58340
  * @param request CreateCommandRequest
58291
58341
  * @param runtime runtime options for this request RuntimeOptions
@@ -58376,19 +58426,20 @@ export default class Client extends OpenApi {
58376
58426
  }
58377
58427
 
58378
58428
  /**
58429
+ * ## [](#)Usage notes
58379
58430
  * * You can create commands of the following types:
58380
- * * RunBatScript: batch commands. These commands are applicable to Windows instances.
58381
- * * RunPowerShellScript: PowerShell commands. These commands are applicable to Windows instances.
58382
- * * RunShellScript: shell commands. These commands are applicable to Linux instances.
58383
- * * You can specify the TimeOut parameter to set the maximum timeout period for executions of a command on Elastic Compute Service (ECS) instances. If an execution times out, the Cloud Assistant client forcefully terminates the command process by canceling the process ID (PID) of the command. For more information, see [Install the Cloud Assistant client](~~64921~~).
58384
- * * When the one-time execution of a command times out, the execution state ([InvokeRecordStatus](~~64845~~)) of the command becomes Failed.
58431
+ * * Batch commands (RunBatScript), applicable to Windows instances
58432
+ * * PowerShell commands (RunPowerShellScript), applicable to Windows instances
58433
+ * * Shell commands (RunShellScript), applicable to Linux instances
58434
+ * * You can specify the Timeout parameter to set the maximum timeout period for executions of a command on Elastic Compute Service (ECS) instances. If an execution times out, [Cloud Assistant Agent](~~64921~~) forcefully terminates the command process by canceling the process ID (PID) of the command.
58435
+ * * For a one-time task, when the execution times out, the state of the command ([InvokeRecordStatus](~~64845~~)) becomes Failed.
58385
58436
  * * For a scheduled task, take note of the following items:
58386
- * * The timeout period takes effect on each execution of the command.
58387
- * * When a scheduled execution of a command times out, the execution state ([InvokeRecordStatus](~~64845~~)) of the command becomes Failed.
58388
- * * The timeout of one execution does not affect the subsequent executions of the command.
58389
- * * You can retain up to 500 to 10,000 Cloud Assistant commands in each region.
58390
- * * You can use the WorkingDir parameter to specify the execution directory of a Cloud Assistant command. For Linux instances, the default execution directory of a command is the home directory of the root user, which is `/root`. For Windows instances, the default execution directory of a command is the directory where the Cloud Assistant client process resides, such as `C:\\Windows\\System32`.
58391
- * * You can enable the custom parameter feature for a Cloud Assistant command by setting EnableParameter to true when you create the command. When you configure the CommandContent parameter, you can define custom parameters in the {{parameter}} format. Then, when the [InvokeCommand](~~64841~~) operation is called, the key-value pairs of custom parameters are passed in. For example, assume that the command content is `echo {{name}}`. You can use the Parameters parameter to pass in the `<name, Jack>` key-value pair when the InvokeCommand operation is called. The name key of the custom parameter is automatically replaced by the paired Jack value to generate a new command. Therefore, the `echo Jack` command is actually run.
58437
+ * * The timeout period takes effect on each execution.
58438
+ * * When an execution times out, the state ([InvokeRecordStatus](~~64845~~)) of the command becomes Failed.
58439
+ * * The timeout of one execution does not affect the subsequent executions.
58440
+ * * You can retain up to 500 to 50,000 Cloud Assistant commands in each region. You can also apply for a quota increase. For information about how to query and increase quotas, see [Manage quotas](~~184116~~).
58441
+ * * You can use WorkingDir to specify the execution directory of a Cloud Assistant command. For Linux instances, the default execution directory of Cloud Assistant commands is the home directory of the root user, which is `/root`. For Windows instances, the default execution directory of Cloud Assistant commands is the directory where the Cloud Assistant Agent process resides, such as `C:\\Windows\\System32`.
58442
+ * * You can enable the custom parameter feature for a Cloud Assistant command by setting EnableParameter to true. When you set CommandContent, you can define custom parameters in the {{parameter}} format. Then, when the [InvokeCommand](~~64841~~) operation is called, the key-value pairs of custom parameters are passed in. For example, if a command is `echo {{name}}`, the Parameters parameter can be used to pass in the `<name, Jack>` key-value pair when the InvokeCommand operation is called. The name key of the custom parameter is automatically replaced by the paired Jack value to generate a new command. As a result, the `echo Jack` command is run.
58392
58443
  *
58393
58444
  * @param request CreateCommandRequest
58394
58445
  * @return CreateCommandResponse
@@ -60608,6 +60659,7 @@ export default class Client extends OpenApi {
60608
60659
  * * If NetworkInterfaceId is empty in the response, no ENI is created. Call the operation again to create an ENI.
60609
60660
  * * An ENI can be attached only to a single instance that resides in a virtual private cloud (VPC).
60610
60661
  * * When an ENI is detached from an instance and attached to another instance, the attributes of the ENI remain unchanged and network traffic is redirected to the new instance.
60662
+ * * When you call this operation to create an ENI, you can assign up to 49 secondary private IP addresses to the ENI.
60611
60663
  * * If you want to assign IPv6 addresses when you create an ENI, make sure that IPv6 is enabled for the vSwitch with which you want to associate the ENI. For more information, see [What is an IPv6 gateway?](~~98896~~)
60612
60664
  * * A quota is imposed on the number of ENIs that can be created per Alibaba Cloud region per account. You can view the quota in the ECS console. For more information, see [View and increase resource quotas](~~184115~~).
60613
60665
  * **For information about examples on how to call this operation, see** [Create an ENI](~~471552~~).
@@ -60771,6 +60823,7 @@ export default class Client extends OpenApi {
60771
60823
  * * If NetworkInterfaceId is empty in the response, no ENI is created. Call the operation again to create an ENI.
60772
60824
  * * An ENI can be attached only to a single instance that resides in a virtual private cloud (VPC).
60773
60825
  * * When an ENI is detached from an instance and attached to another instance, the attributes of the ENI remain unchanged and network traffic is redirected to the new instance.
60826
+ * * When you call this operation to create an ENI, you can assign up to 49 secondary private IP addresses to the ENI.
60774
60827
  * * If you want to assign IPv6 addresses when you create an ENI, make sure that IPv6 is enabled for the vSwitch with which you want to associate the ENI. For more information, see [What is an IPv6 gateway?](~~98896~~)
60775
60828
  * * A quota is imposed on the number of ENIs that can be created per Alibaba Cloud region per account. You can view the quota in the ECS console. For more information, see [View and increase resource quotas](~~184115~~).
60776
60829
  * **For information about examples on how to call this operation, see** [Create an ENI](~~471552~~).
@@ -66059,6 +66112,14 @@ export default class Client extends OpenApi {
66059
66112
  query["LockReason"] = request.lockReason;
66060
66113
  }
66061
66114
 
66115
+ if (!Util.isUnset(request.maxResults)) {
66116
+ query["MaxResults"] = request.maxResults;
66117
+ }
66118
+
66119
+ if (!Util.isUnset(request.nextToken)) {
66120
+ query["NextToken"] = request.nextToken;
66121
+ }
66122
+
66062
66123
  if (!Util.isUnset(request.ownerAccount)) {
66063
66124
  query["OwnerAccount"] = request.ownerAccount;
66064
66125
  }
@@ -68889,13 +68950,6 @@ export default class Client extends OpenApi {
68889
68950
  return await this.describeInstanceStatusWithOptions(request, runtime);
68890
68951
  }
68891
68952
 
68892
- /**
68893
- * > The DescribeInstanceTopology operation is in invitational preview and is not commercially available.
68894
- *
68895
- * @param request DescribeInstanceTopologyRequest
68896
- * @param runtime runtime options for this request RuntimeOptions
68897
- * @return DescribeInstanceTopologyResponse
68898
- */
68899
68953
  async describeInstanceTopologyWithOptions(request: DescribeInstanceTopologyRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceTopologyResponse> {
68900
68954
  Util.validateModel(request);
68901
68955
  let query = { };
@@ -68936,12 +68990,6 @@ export default class Client extends OpenApi {
68936
68990
  return $tea.cast<DescribeInstanceTopologyResponse>(await this.callApi(params, req, runtime), new DescribeInstanceTopologyResponse({}));
68937
68991
  }
68938
68992
 
68939
- /**
68940
- * > The DescribeInstanceTopology operation is in invitational preview and is not commercially available.
68941
- *
68942
- * @param request DescribeInstanceTopologyRequest
68943
- * @return DescribeInstanceTopologyResponse
68944
- */
68945
68993
  async describeInstanceTopology(request: DescribeInstanceTopologyRequest): Promise<DescribeInstanceTopologyResponse> {
68946
68994
  let runtime = new $Util.RuntimeOptions({ });
68947
68995
  return await this.describeInstanceTopologyWithOptions(request, runtime);
@@ -69015,10 +69063,22 @@ export default class Client extends OpenApi {
69015
69063
  query["CpuArchitecture"] = request.cpuArchitecture;
69016
69064
  }
69017
69065
 
69066
+ if (!Util.isUnset(request.cpuArchitectures)) {
69067
+ query["CpuArchitectures"] = request.cpuArchitectures;
69068
+ }
69069
+
69018
69070
  if (!Util.isUnset(request.GPUSpec)) {
69019
69071
  query["GPUSpec"] = request.GPUSpec;
69020
69072
  }
69021
69073
 
69074
+ if (!Util.isUnset(request.gpuSpecs)) {
69075
+ query["GpuSpecs"] = request.gpuSpecs;
69076
+ }
69077
+
69078
+ if (!Util.isUnset(request.instanceCategories)) {
69079
+ query["InstanceCategories"] = request.instanceCategories;
69080
+ }
69081
+
69022
69082
  if (!Util.isUnset(request.instanceCategory)) {
69023
69083
  query["InstanceCategory"] = request.instanceCategory;
69024
69084
  }
@@ -69027,6 +69087,10 @@ export default class Client extends OpenApi {
69027
69087
  query["InstanceFamilyLevel"] = request.instanceFamilyLevel;
69028
69088
  }
69029
69089
 
69090
+ if (!Util.isUnset(request.instanceTypeFamilies)) {
69091
+ query["InstanceTypeFamilies"] = request.instanceTypeFamilies;
69092
+ }
69093
+
69030
69094
  if (!Util.isUnset(request.instanceTypeFamily)) {
69031
69095
  query["InstanceTypeFamily"] = request.instanceTypeFamily;
69032
69096
  }
@@ -69035,6 +69099,10 @@ export default class Client extends OpenApi {
69035
69099
  query["InstanceTypes"] = request.instanceTypes;
69036
69100
  }
69037
69101
 
69102
+ if (!Util.isUnset(request.localStorageCategories)) {
69103
+ query["LocalStorageCategories"] = request.localStorageCategories;
69104
+ }
69105
+
69038
69106
  if (!Util.isUnset(request.localStorageCategory)) {
69039
69107
  query["LocalStorageCategory"] = request.localStorageCategory;
69040
69108
  }
@@ -69167,6 +69235,10 @@ export default class Client extends OpenApi {
69167
69235
  query["PhysicalProcessorModel"] = request.physicalProcessorModel;
69168
69236
  }
69169
69237
 
69238
+ if (!Util.isUnset(request.physicalProcessorModels)) {
69239
+ query["PhysicalProcessorModels"] = request.physicalProcessorModels;
69240
+ }
69241
+
69170
69242
  if (!Util.isUnset(request.resourceOwnerAccount)) {
69171
69243
  query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
69172
69244
  }
@@ -69613,10 +69685,12 @@ export default class Client extends OpenApi {
69613
69685
  }
69614
69686
 
69615
69687
  /**
69616
- * * After you run a command, the command may fail to run or may return unexpected results. You can call this operation to query the actual execution results.
69688
+ * ## [](#)Usage notes
69689
+ * * After you run a command, the command may fail to run or may return unexpected results. You can call this operation to query the execution results of a command.
69617
69690
  * * You can query information about command executions within the last four weeks. Up to 100,000 pieces of execution information can be retained.
69618
- * - Method 1: During a paged query, when you call the DescribeInvocationResults operation to retrieve the first page of results, set MaxResults to specify the maximum number of entries to return in the call. The return value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeInvocationResults operation to retrieve a new page of results, set NextToken to the NextToken value returned in the previous call and set MaxResults to specify the maximum number of entries to return in this call.
69619
- * - Method 2: Use PageSize to specify the number of entries to return on each page and then use PageNumber to specify the number of the page to return. You can use only one of the preceding methods. If you specify MaxResults or NextToken, the PageSize and PageNumber request parameters do not take effect and the TotalCount response parameter is invalid.
69691
+ * * You can use one of the following methods to check the responses:
69692
+ * * Method 1: During a paged query, when you call the DescribeInvocationResults operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeInvocationResults operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
69693
+ * * Method 2: Use `PageSize` to specify the number of entries to return on each page and then use `PageNumber` to specify the number of the page to return. You can use only one of the preceding methods. If you specify `MaxResults` or `NextToken`, the `PageSize` and `PageNumber` request parameters do not take effect and the `TotalCount` response parameter is invalid.
69620
69694
  *
69621
69695
  * @param request DescribeInvocationResultsRequest
69622
69696
  * @param runtime runtime options for this request RuntimeOptions
@@ -69715,10 +69789,12 @@ export default class Client extends OpenApi {
69715
69789
  }
69716
69790
 
69717
69791
  /**
69718
- * * After you run a command, the command may fail to run or may return unexpected results. You can call this operation to query the actual execution results.
69792
+ * ## [](#)Usage notes
69793
+ * * After you run a command, the command may fail to run or may return unexpected results. You can call this operation to query the execution results of a command.
69719
69794
  * * You can query information about command executions within the last four weeks. Up to 100,000 pieces of execution information can be retained.
69720
- * - Method 1: During a paged query, when you call the DescribeInvocationResults operation to retrieve the first page of results, set MaxResults to specify the maximum number of entries to return in the call. The return value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeInvocationResults operation to retrieve a new page of results, set NextToken to the NextToken value returned in the previous call and set MaxResults to specify the maximum number of entries to return in this call.
69721
- * - Method 2: Use PageSize to specify the number of entries to return on each page and then use PageNumber to specify the number of the page to return. You can use only one of the preceding methods. If you specify MaxResults or NextToken, the PageSize and PageNumber request parameters do not take effect and the TotalCount response parameter is invalid.
69795
+ * * You can use one of the following methods to check the responses:
69796
+ * * Method 1: During a paged query, when you call the DescribeInvocationResults operation to retrieve the first page of results, set `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeInvocationResults operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
69797
+ * * Method 2: Use `PageSize` to specify the number of entries to return on each page and then use `PageNumber` to specify the number of the page to return. You can use only one of the preceding methods. If you specify `MaxResults` or `NextToken`, the `PageSize` and `PageNumber` request parameters do not take effect and the `TotalCount` response parameter is invalid.
69722
69798
  *
69723
69799
  * @param request DescribeInvocationResultsRequest
69724
69800
  * @return DescribeInvocationResultsResponse
@@ -69729,10 +69805,12 @@ export default class Client extends OpenApi {
69729
69805
  }
69730
69806
 
69731
69807
  /**
69732
- * - After you run a command, the command may not succeed or return the expected result. You can call this operation to query the execution result.
69733
- * - You can query information about command executions within the last four weeks. A maximum of 100,000 entries of execution information can be retained.
69734
- * - Method 1: During a paged query, when you call the DescribeInvocations operation to retrieve the first page of results, set MaxResults to specify the maximum number of entries to return in the call. The return value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeInvocations operation to retrieve a new page of results, set NextToken to the NextToken value returned in the previous call and set MaxResults to specify the maximum number of entries to return in this call.
69735
- * - Method 2: Use PageSize to specify the number of entries to return on each page, and then use PageNumber to specify the number of the page to return. You can use only one of the preceding methods. If you specify MaxResults or NextToken, the PageSize and PageNumber request parameters do not take effect and the TotalCount response parameter is invalid.
69808
+ * ## [](#)Usage notes
69809
+ * * After you run a command, the command may not succeed or return the expected results. You can call this operation to query the execution results.
69810
+ * * You can query information about command executions within the last four weeks. Up to 100,000 pieces of execution information can be retained.
69811
+ * * You can use one of the following methods to check the responses:
69812
+ * * Method 1: During a paged query, when you call the DescribeInvocations operation to retrieve the first page of results, use `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token, which you can use in the next request to retrieve a new page of results. When you call the DescribeInvocations operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
69813
+ * * Method 2: Use `PageSize` to specify the number of entries to return on each page, and then use `PageNumber` to specify the number of the page to return. You can use only one of the preceding methods. If you specify `MaxResults` or `NextToken`, the `PageSize` and `PageNumber` request parameters do not take effect and the `TotalCount` response parameter is invalid.
69736
69814
  *
69737
69815
  * @param request DescribeInvocationsRequest
69738
69816
  * @param runtime runtime options for this request RuntimeOptions
@@ -69847,10 +69925,12 @@ export default class Client extends OpenApi {
69847
69925
  }
69848
69926
 
69849
69927
  /**
69850
- * - After you run a command, the command may not succeed or return the expected result. You can call this operation to query the execution result.
69851
- * - You can query information about command executions within the last four weeks. A maximum of 100,000 entries of execution information can be retained.
69852
- * - Method 1: During a paged query, when you call the DescribeInvocations operation to retrieve the first page of results, set MaxResults to specify the maximum number of entries to return in the call. The return value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results. When you call the DescribeInvocations operation to retrieve a new page of results, set NextToken to the NextToken value returned in the previous call and set MaxResults to specify the maximum number of entries to return in this call.
69853
- * - Method 2: Use PageSize to specify the number of entries to return on each page, and then use PageNumber to specify the number of the page to return. You can use only one of the preceding methods. If you specify MaxResults or NextToken, the PageSize and PageNumber request parameters do not take effect and the TotalCount response parameter is invalid.
69928
+ * ## [](#)Usage notes
69929
+ * * After you run a command, the command may not succeed or return the expected results. You can call this operation to query the execution results.
69930
+ * * You can query information about command executions within the last four weeks. Up to 100,000 pieces of execution information can be retained.
69931
+ * * You can use one of the following methods to check the responses:
69932
+ * * Method 1: During a paged query, when you call the DescribeInvocations operation to retrieve the first page of results, use `MaxResults` to specify the maximum number of entries to return in the call. The return value of `NextToken` is a pagination token, which you can use in the next request to retrieve a new page of results. When you call the DescribeInvocations operation to retrieve a new page of results, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
69933
+ * * Method 2: Use `PageSize` to specify the number of entries to return on each page, and then use `PageNumber` to specify the number of the page to return. You can use only one of the preceding methods. If you specify `MaxResults` or `NextToken`, the `PageSize` and `PageNumber` request parameters do not take effect and the `TotalCount` response parameter is invalid.
69854
69934
  *
69855
69935
  * @param request DescribeInvocationsRequest
69856
69936
  * @return DescribeInvocationsResponse
@@ -75554,17 +75634,17 @@ export default class Client extends OpenApi {
75554
75634
  * ## [](#)Usage notes
75555
75635
  * * The Elastic Compute Service (ECS) instances on which you want to run the Cloud Assistant command must meet the following requirements. If multiple ECS instances are specified and one of the instances does not meet the requirements for running the command, the call fails. You must specify instances that meet the requirements and call the InvokeCommand operation again.
75556
75636
  * * The instances are in the Running (`Running`) state. You can call the [DescribeInstances](~~25506~~) operation to query the status of instances.
75557
- * * Cloud Assistant Agent is installed on the instances. For more information, see [Install Cloud Assistant Agent](~~64921~~).
75637
+ * * Cloud Assistant Agent is installed on the instances. For more information, see [Install Cloud Assistant Agent on an ECS instance](~~64921~~).
75558
75638
  * * Before you run PowerShell commands on the instances, make sure that the instances have the PowerShell module configured.
75559
75639
  * * You can configure the command to run only once on the instances.
75560
75640
  * * You can configure the command to run multiple times on the instances based on a schedule.
75561
75641
  * * The schedule is specified by the Frequency parameter. The results of each execution of the command do not affect the next execution of the command.
75562
- * * If you use a cron expression to specify a schedule, you can specify a time zone based on your business requirements. If you do not specify a time zone, the schedule is determined by the system time of the instance. Make sure that the time or time zone of the instance meets your business requirements. For more information, see [Configure the NTP service for ECS instances that run CentOS 6](~~92803~~) or [Configure the NTP service for Windows instances](~~51890~~).
75563
- * To ensure that scheduled tasks can run as expected, make sure that the version of Cloud Assistant Agent is not earlier than the following ones. You can configure a command to run at a fixed interval based on a rate expression, run only once at a specified time, or run at designated times based on a cron expression. If the ClientNeedUpgrade error code is returned, you must upgrade Cloud Assistant Agent to the latest version. For more information, see [Upgrade or disable upgrades for Cloud Assistant Agent](~~134383~~).
75642
+ * * If you use a cron expression to specify a schedule, you can specify a time zone based on your business requirements. If you do not specify a time zone, the schedule is determined by the system time of the instance. Make sure that the time or time zone of the instances meets your business requirements. For more information, see [Manage the time synchronization service](~~92803~~).[](~~51890~~)
75643
+ * To ensure that scheduled tasks can run as expected, make sure that the version of Cloud Assistant Agent is not earlier than the following ones. A scheduled task can run a command at a fixed interval, only once at a specific time, or at specific times based on a cron expression in a specified year or time zone. If the ClientNeedUpgrade error code is returned, you must upgrade Cloud Assistant Agent to the latest version. For more information, see [Upgrade or disable upgrades for Cloud Assistant Agent](~~134383~~).
75564
75644
  * * Linux: 2.2.3.282
75565
75645
  * * Windows: 2.1.3.282
75566
- * * Commands may fail to run due to instance status exceptions, network exceptions, or exceptions on Cloud Assistant Agent. If a command fails to run, no execution information is generated. For more information, see [Check execution results and troubleshoot common issues](~~87029~~).
75567
- * * If you enabled the custom parameter feature when you created the command, you must specify custom parameters (`Parameters`) to run the command.
75646
+ * * Command executions may fail due to instance status exceptions, network exceptions, or exceptions on Cloud Assistant Agent. If a command execution fails, no execution information is generated. For more information, see [Check execution results and troubleshoot common issues](~~87029~~).
75647
+ * * If you enable the custom parameter feature when you create the command, you must specify custom parameters (`Parameters`) to run the command.
75568
75648
  * * Before you run the command on instances, especially new instances, we recommend that you call the [DescribeCloudAssistantStatus](~~87346~~) operation to query the status of Cloud Assistant Agent on the instances. Run the command when the return value of CloudAssistantStatus is true.
75569
75649
  *
75570
75650
  * @param tmpReq InvokeCommandRequest
@@ -75685,17 +75765,17 @@ export default class Client extends OpenApi {
75685
75765
  * ## [](#)Usage notes
75686
75766
  * * The Elastic Compute Service (ECS) instances on which you want to run the Cloud Assistant command must meet the following requirements. If multiple ECS instances are specified and one of the instances does not meet the requirements for running the command, the call fails. You must specify instances that meet the requirements and call the InvokeCommand operation again.
75687
75767
  * * The instances are in the Running (`Running`) state. You can call the [DescribeInstances](~~25506~~) operation to query the status of instances.
75688
- * * Cloud Assistant Agent is installed on the instances. For more information, see [Install Cloud Assistant Agent](~~64921~~).
75768
+ * * Cloud Assistant Agent is installed on the instances. For more information, see [Install Cloud Assistant Agent on an ECS instance](~~64921~~).
75689
75769
  * * Before you run PowerShell commands on the instances, make sure that the instances have the PowerShell module configured.
75690
75770
  * * You can configure the command to run only once on the instances.
75691
75771
  * * You can configure the command to run multiple times on the instances based on a schedule.
75692
75772
  * * The schedule is specified by the Frequency parameter. The results of each execution of the command do not affect the next execution of the command.
75693
- * * If you use a cron expression to specify a schedule, you can specify a time zone based on your business requirements. If you do not specify a time zone, the schedule is determined by the system time of the instance. Make sure that the time or time zone of the instance meets your business requirements. For more information, see [Configure the NTP service for ECS instances that run CentOS 6](~~92803~~) or [Configure the NTP service for Windows instances](~~51890~~).
75694
- * To ensure that scheduled tasks can run as expected, make sure that the version of Cloud Assistant Agent is not earlier than the following ones. You can configure a command to run at a fixed interval based on a rate expression, run only once at a specified time, or run at designated times based on a cron expression. If the ClientNeedUpgrade error code is returned, you must upgrade Cloud Assistant Agent to the latest version. For more information, see [Upgrade or disable upgrades for Cloud Assistant Agent](~~134383~~).
75773
+ * * If you use a cron expression to specify a schedule, you can specify a time zone based on your business requirements. If you do not specify a time zone, the schedule is determined by the system time of the instance. Make sure that the time or time zone of the instances meets your business requirements. For more information, see [Manage the time synchronization service](~~92803~~).[](~~51890~~)
75774
+ * To ensure that scheduled tasks can run as expected, make sure that the version of Cloud Assistant Agent is not earlier than the following ones. A scheduled task can run a command at a fixed interval, only once at a specific time, or at specific times based on a cron expression in a specified year or time zone. If the ClientNeedUpgrade error code is returned, you must upgrade Cloud Assistant Agent to the latest version. For more information, see [Upgrade or disable upgrades for Cloud Assistant Agent](~~134383~~).
75695
75775
  * * Linux: 2.2.3.282
75696
75776
  * * Windows: 2.1.3.282
75697
- * * Commands may fail to run due to instance status exceptions, network exceptions, or exceptions on Cloud Assistant Agent. If a command fails to run, no execution information is generated. For more information, see [Check execution results and troubleshoot common issues](~~87029~~).
75698
- * * If you enabled the custom parameter feature when you created the command, you must specify custom parameters (`Parameters`) to run the command.
75777
+ * * Command executions may fail due to instance status exceptions, network exceptions, or exceptions on Cloud Assistant Agent. If a command execution fails, no execution information is generated. For more information, see [Check execution results and troubleshoot common issues](~~87029~~).
75778
+ * * If you enable the custom parameter feature when you create the command, you must specify custom parameters (`Parameters`) to run the command.
75699
75779
  * * Before you run the command on instances, especially new instances, we recommend that you call the [DescribeCloudAssistantStatus](~~87346~~) operation to query the status of Cloud Assistant Agent on the instances. Run the command when the return value of CloudAssistantStatus is true.
75700
75780
  *
75701
75781
  * @param request InvokeCommandRequest
@@ -79445,18 +79525,21 @@ export default class Client extends OpenApi {
79445
79525
  }
79446
79526
 
79447
79527
  /**
79448
- * * You can modify the execution information of a command that is run in one of the following modes:
79449
- * * Period: The command is run on a schedule.
79450
- * * NextRebootOnly: The command is run the next time the instance starts.
79451
- * * EveryReboot: The command is run every time the instance starts.
79452
- * * You can modify the execution information of a command that is in one of the following status (For more information, see the [InvocationStatus](~~64840~~) response parameter of `DescribeInvocations`.):
79453
- * * Pending: The command is being verified or sent. When the execution status on at least one instance is Pending, the overall execution status is Pending.
79454
- * * Running: The command is being run on the instance. When the execution status on at least one instance is Running, the overall execution status is Running.
79455
- * * Scheduled: The command that is set to run on a schedule is sent and waiting to be run. When the execution status on at least one instance is Scheduled, the overall execution status is Scheduled.
79456
- * * Stopping: The command that is running is being stopped. When the execution status on at least one instance is Stopping, the overall execution status is Stopping.
79457
- * * The Cloud Assistant Agent version that is installed on the instance must be later than one of the following versions to support the ModifyInvocationAttribute operation. If the `ClientNeedUpgrade` error code is returned, update Cloud Assistant Agent to the latest version.
79528
+ * * You can modify the execution information of a task that runs a command in one of the following modes. To query the execution mode of a command, you can call the [DescribeInvocations](~~2679916~~) operation and check the `RepeatMode` value in the response.
79529
+ * * Period: The task runs the command on a schedule.
79530
+ * * NextRebootOnly: The task runs the command the next time the associated instances start.
79531
+ * * EveryReboot: The task runs the command every time the associated instances start.
79532
+ * * You can modify the execution information of a command task in one of the following execution states. To query the execution status of a command, you can call the [DescribeInvocations](~~2679916~~) operation and check the `InvocationStatus` value.
79533
+ * * Pending: The command is being verified or sent. When the execution state on at least one instance is Pending, the overall execution state is Pending.
79534
+ * * Running: The command is being run on instances. When the execution state on at least one instance is Running, the overall execution state is Running.
79535
+ * * Scheduled: The command that is set to run on a schedule is sent and waiting to be run. When the execution state on at least one instance is Scheduled, the overall execution state is Scheduled.
79536
+ * * Stopping: The command task is being stopped. When the execution state on at least one instance is Stopping, the overall execution state is Stopping.
79537
+ * * Before you modify the execution information of a scheduled task, such as the command content, custom parameters, and execution frequency, make sure that the version of Cloud Assistant Agent on the ECS instances or managed instances associated with the task is later than the following versions:
79458
79538
  * * Linux: 2.2.3.541
79459
79539
  * * Windows: 2.1.3.541
79540
+ * * If the `InvalidOperation.CloudAssistantVersionUnsupported` error code is returned in the response, update Cloud Assistant Agent to the latest version.
79541
+ * * You cannot modify `CommandContent` for a common Cloud Assistant command.
79542
+ * * If you modify the `CommandContent` value of a command and set `KeepCommand` to `true` when you call the [InvokeCommand](~~64841~~) or [RunCommand](~~141751~~) operation to run the command, a new command is added and retained. The new command consumes the quota for Cloud Assistant commands. You can retain up to 500 to 50,000 Cloud Assistant commands in each region. You can apply for a quota increase. For information about how to query and increase quotas, see [Manage quotas](~~184116~~).
79460
79543
  *
79461
79544
  * @param tmpReq ModifyInvocationAttributeRequest
79462
79545
  * @param runtime runtime options for this request RuntimeOptions
@@ -79541,18 +79624,21 @@ export default class Client extends OpenApi {
79541
79624
  }
79542
79625
 
79543
79626
  /**
79544
- * * You can modify the execution information of a command that is run in one of the following modes:
79545
- * * Period: The command is run on a schedule.
79546
- * * NextRebootOnly: The command is run the next time the instance starts.
79547
- * * EveryReboot: The command is run every time the instance starts.
79548
- * * You can modify the execution information of a command that is in one of the following status (For more information, see the [InvocationStatus](~~64840~~) response parameter of `DescribeInvocations`.):
79549
- * * Pending: The command is being verified or sent. When the execution status on at least one instance is Pending, the overall execution status is Pending.
79550
- * * Running: The command is being run on the instance. When the execution status on at least one instance is Running, the overall execution status is Running.
79551
- * * Scheduled: The command that is set to run on a schedule is sent and waiting to be run. When the execution status on at least one instance is Scheduled, the overall execution status is Scheduled.
79552
- * * Stopping: The command that is running is being stopped. When the execution status on at least one instance is Stopping, the overall execution status is Stopping.
79553
- * * The Cloud Assistant Agent version that is installed on the instance must be later than one of the following versions to support the ModifyInvocationAttribute operation. If the `ClientNeedUpgrade` error code is returned, update Cloud Assistant Agent to the latest version.
79627
+ * * You can modify the execution information of a task that runs a command in one of the following modes. To query the execution mode of a command, you can call the [DescribeInvocations](~~2679916~~) operation and check the `RepeatMode` value in the response.
79628
+ * * Period: The task runs the command on a schedule.
79629
+ * * NextRebootOnly: The task runs the command the next time the associated instances start.
79630
+ * * EveryReboot: The task runs the command every time the associated instances start.
79631
+ * * You can modify the execution information of a command task in one of the following execution states. To query the execution status of a command, you can call the [DescribeInvocations](~~2679916~~) operation and check the `InvocationStatus` value.
79632
+ * * Pending: The command is being verified or sent. When the execution state on at least one instance is Pending, the overall execution state is Pending.
79633
+ * * Running: The command is being run on instances. When the execution state on at least one instance is Running, the overall execution state is Running.
79634
+ * * Scheduled: The command that is set to run on a schedule is sent and waiting to be run. When the execution state on at least one instance is Scheduled, the overall execution state is Scheduled.
79635
+ * * Stopping: The command task is being stopped. When the execution state on at least one instance is Stopping, the overall execution state is Stopping.
79636
+ * * Before you modify the execution information of a scheduled task, such as the command content, custom parameters, and execution frequency, make sure that the version of Cloud Assistant Agent on the ECS instances or managed instances associated with the task is later than the following versions:
79554
79637
  * * Linux: 2.2.3.541
79555
79638
  * * Windows: 2.1.3.541
79639
+ * * If the `InvalidOperation.CloudAssistantVersionUnsupported` error code is returned in the response, update Cloud Assistant Agent to the latest version.
79640
+ * * You cannot modify `CommandContent` for a common Cloud Assistant command.
79641
+ * * If you modify the `CommandContent` value of a command and set `KeepCommand` to `true` when you call the [InvokeCommand](~~64841~~) or [RunCommand](~~141751~~) operation to run the command, a new command is added and retained. The new command consumes the quota for Cloud Assistant commands. You can retain up to 500 to 50,000 Cloud Assistant commands in each region. You can apply for a quota increase. For information about how to query and increase quotas, see [Manage quotas](~~184116~~).
79556
79642
  *
79557
79643
  * @param request ModifyInvocationAttributeRequest
79558
79644
  * @return ModifyInvocationAttributeResponse
@@ -80745,12 +80831,13 @@ export default class Client extends OpenApi {
80745
80831
  }
80746
80832
 
80747
80833
  /**
80748
- * In the security group-related API documents, inbound traffic refers to the traffic that is sent by the source device and received at the destination device.
80749
- * When you modify the rules of a security group by specifying the rule IDs, take note of the following limits:
80750
- * * A security group authorization object can be one of the following types: IP address or CIDR block, security group, or prefix list. The type of an existing security group authorization object cannot be changed. If the original authorization object is an IP address, you can change it to another IP address or a CIDR block, but not to a security group or prefix list.
80751
- * * The IP address family of the authorization object cannot be changed. For example, if the original authorization object is an IPv4 CIDR block, you cannot change it to an IPv6 CIDR block. If the original authorization object is a prefix list of an IPv4 address family, you cannot change it to a prefix list of an IPv6 address family.
80752
- * * The modified security group rule cannot be the same as other existing rules.
80753
- * * You cannot delete the value of a non-empty parameter. We recommend that you create a new rule and delete the original rule.
80834
+ * ## [](#)Usage notes
80835
+ * In security group-related API documents, inbound traffic refers to the traffic that is sent by the source device and received at the destination device.
80836
+ * Take note of the following items:
80837
+ * * An authorization object in a security group rule can be one of the following types: IP address or CIDR block, security group, or prefix list. You cannot call this operation to change the type of an existing authorization object. For example, if an authorization object is an IP address, you can change the authorization object to another IP address or a CIDR block, but you cannot change the authorization object to a security group or prefix list.
80838
+ * * You cannot change the IP address family of an existing authorization object. For example, if an authorization object is an IPv4 CIDR block, you cannot change the authorization object to an IPv6 CIDR block. If an authorization object is a prefix list of the IPv4 address family, you cannot change the authorization object to a prefix list of the IPv6 address family.
80839
+ * * The new security group rule after modification cannot be the same as other existing rules.
80840
+ * * You cannot delete the value of a non-empty parameter. If you want to delete the values of non-empty parameters, we recommend that you create another rule and delete the original rule.
80754
80841
  *
80755
80842
  * @param request ModifySecurityGroupRuleRequest
80756
80843
  * @param runtime runtime options for this request RuntimeOptions
@@ -80873,12 +80960,13 @@ export default class Client extends OpenApi {
80873
80960
  }
80874
80961
 
80875
80962
  /**
80876
- * In the security group-related API documents, inbound traffic refers to the traffic that is sent by the source device and received at the destination device.
80877
- * When you modify the rules of a security group by specifying the rule IDs, take note of the following limits:
80878
- * * A security group authorization object can be one of the following types: IP address or CIDR block, security group, or prefix list. The type of an existing security group authorization object cannot be changed. If the original authorization object is an IP address, you can change it to another IP address or a CIDR block, but not to a security group or prefix list.
80879
- * * The IP address family of the authorization object cannot be changed. For example, if the original authorization object is an IPv4 CIDR block, you cannot change it to an IPv6 CIDR block. If the original authorization object is a prefix list of an IPv4 address family, you cannot change it to a prefix list of an IPv6 address family.
80880
- * * The modified security group rule cannot be the same as other existing rules.
80881
- * * You cannot delete the value of a non-empty parameter. We recommend that you create a new rule and delete the original rule.
80963
+ * ## [](#)Usage notes
80964
+ * In security group-related API documents, inbound traffic refers to the traffic that is sent by the source device and received at the destination device.
80965
+ * Take note of the following items:
80966
+ * * An authorization object in a security group rule can be one of the following types: IP address or CIDR block, security group, or prefix list. You cannot call this operation to change the type of an existing authorization object. For example, if an authorization object is an IP address, you can change the authorization object to another IP address or a CIDR block, but you cannot change the authorization object to a security group or prefix list.
80967
+ * * You cannot change the IP address family of an existing authorization object. For example, if an authorization object is an IPv4 CIDR block, you cannot change the authorization object to an IPv6 CIDR block. If an authorization object is a prefix list of the IPv4 address family, you cannot change the authorization object to a prefix list of the IPv6 address family.
80968
+ * * The new security group rule after modification cannot be the same as other existing rules.
80969
+ * * You cannot delete the value of a non-empty parameter. If you want to delete the values of non-empty parameters, we recommend that you create another rule and delete the original rule.
80882
80970
  *
80883
80971
  * @param request ModifySecurityGroupRuleRequest
80884
80972
  * @return ModifySecurityGroupRuleResponse