@alicloud/ecs20140526 4.1.0 → 4.1.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 +35 -20
- package/dist/client.js +68 -20
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +85 -20
package/dist/client.d.ts
CHANGED
|
@@ -6418,6 +6418,8 @@ export declare class DescribeDedicatedHostsRequest extends $tea.Model {
|
|
|
6418
6418
|
dedicatedHostName?: string;
|
|
6419
6419
|
dedicatedHostType?: string;
|
|
6420
6420
|
lockReason?: string;
|
|
6421
|
+
maxResults?: number;
|
|
6422
|
+
nextToken?: string;
|
|
6421
6423
|
ownerAccount?: string;
|
|
6422
6424
|
ownerId?: number;
|
|
6423
6425
|
pageNumber?: number;
|
|
@@ -6442,6 +6444,7 @@ export declare class DescribeDedicatedHostsRequest extends $tea.Model {
|
|
|
6442
6444
|
}
|
|
6443
6445
|
export declare class DescribeDedicatedHostsResponseBody extends $tea.Model {
|
|
6444
6446
|
dedicatedHosts?: DescribeDedicatedHostsResponseBodyDedicatedHosts;
|
|
6447
|
+
nextToken?: string;
|
|
6445
6448
|
pageNumber?: number;
|
|
6446
6449
|
pageSize?: number;
|
|
6447
6450
|
requestId?: string;
|
|
@@ -8406,11 +8409,16 @@ export declare class DescribeInstanceTypeFamiliesResponse extends $tea.Model {
|
|
|
8406
8409
|
}
|
|
8407
8410
|
export declare class DescribeInstanceTypesRequest extends $tea.Model {
|
|
8408
8411
|
cpuArchitecture?: string;
|
|
8412
|
+
cpuArchitectures?: string[];
|
|
8409
8413
|
GPUSpec?: string;
|
|
8414
|
+
gpuSpecs?: string[];
|
|
8415
|
+
instanceCategories?: string[];
|
|
8410
8416
|
instanceCategory?: string;
|
|
8411
8417
|
instanceFamilyLevel?: string;
|
|
8418
|
+
instanceTypeFamilies?: string[];
|
|
8412
8419
|
instanceTypeFamily?: string;
|
|
8413
8420
|
instanceTypes?: string[];
|
|
8421
|
+
localStorageCategories?: string[];
|
|
8414
8422
|
localStorageCategory?: string;
|
|
8415
8423
|
maxResults?: number;
|
|
8416
8424
|
maximumCpuCoreCount?: number;
|
|
@@ -8444,6 +8452,7 @@ export declare class DescribeInstanceTypesRequest extends $tea.Model {
|
|
|
8444
8452
|
ownerAccount?: string;
|
|
8445
8453
|
ownerId?: number;
|
|
8446
8454
|
physicalProcessorModel?: string;
|
|
8455
|
+
physicalProcessorModels?: string[];
|
|
8447
8456
|
resourceOwnerAccount?: string;
|
|
8448
8457
|
resourceOwnerId?: number;
|
|
8449
8458
|
static names(): {
|
|
@@ -32255,10 +32264,12 @@ export default class Client extends OpenApi {
|
|
|
32255
32264
|
*/
|
|
32256
32265
|
describeInvocationResults(request: DescribeInvocationResultsRequest): Promise<DescribeInvocationResultsResponse>;
|
|
32257
32266
|
/**
|
|
32258
|
-
*
|
|
32259
|
-
*
|
|
32260
|
-
*
|
|
32261
|
-
*
|
|
32267
|
+
* ## [](#)Usage notes
|
|
32268
|
+
* * 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.
|
|
32269
|
+
* * You can query information about command executions within the last four weeks. Up to 100,000 pieces of execution information can be retained.
|
|
32270
|
+
* * You can use one of the following methods to check the responses:
|
|
32271
|
+
* * 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.
|
|
32272
|
+
* * 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.
|
|
32262
32273
|
*
|
|
32263
32274
|
* @param request DescribeInvocationsRequest
|
|
32264
32275
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32266,10 +32277,12 @@ export default class Client extends OpenApi {
|
|
|
32266
32277
|
*/
|
|
32267
32278
|
describeInvocationsWithOptions(request: DescribeInvocationsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInvocationsResponse>;
|
|
32268
32279
|
/**
|
|
32269
|
-
*
|
|
32270
|
-
*
|
|
32271
|
-
*
|
|
32272
|
-
*
|
|
32280
|
+
* ## [](#)Usage notes
|
|
32281
|
+
* * 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.
|
|
32282
|
+
* * You can query information about command executions within the last four weeks. Up to 100,000 pieces of execution information can be retained.
|
|
32283
|
+
* * You can use one of the following methods to check the responses:
|
|
32284
|
+
* * 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.
|
|
32285
|
+
* * 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.
|
|
32273
32286
|
*
|
|
32274
32287
|
* @param request DescribeInvocationsRequest
|
|
32275
32288
|
* @return DescribeInvocationsResponse
|
|
@@ -34558,12 +34571,13 @@ export default class Client extends OpenApi {
|
|
|
34558
34571
|
*/
|
|
34559
34572
|
modifySecurityGroupPolicy(request: ModifySecurityGroupPolicyRequest): Promise<ModifySecurityGroupPolicyResponse>;
|
|
34560
34573
|
/**
|
|
34561
|
-
*
|
|
34562
|
-
*
|
|
34563
|
-
*
|
|
34564
|
-
* *
|
|
34565
|
-
* *
|
|
34566
|
-
* *
|
|
34574
|
+
* ## [](#)Usage notes
|
|
34575
|
+
* 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.
|
|
34576
|
+
* Take note of the following items:
|
|
34577
|
+
* * 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.
|
|
34578
|
+
* * 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.
|
|
34579
|
+
* * The new security group rule after modification cannot be the same as other existing rules.
|
|
34580
|
+
* * 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.
|
|
34567
34581
|
*
|
|
34568
34582
|
* @param request ModifySecurityGroupRuleRequest
|
|
34569
34583
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -34571,12 +34585,13 @@ export default class Client extends OpenApi {
|
|
|
34571
34585
|
*/
|
|
34572
34586
|
modifySecurityGroupRuleWithOptions(request: ModifySecurityGroupRuleRequest, runtime: $Util.RuntimeOptions): Promise<ModifySecurityGroupRuleResponse>;
|
|
34573
34587
|
/**
|
|
34574
|
-
*
|
|
34575
|
-
*
|
|
34576
|
-
*
|
|
34577
|
-
* *
|
|
34578
|
-
* *
|
|
34579
|
-
* *
|
|
34588
|
+
* ## [](#)Usage notes
|
|
34589
|
+
* 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.
|
|
34590
|
+
* Take note of the following items:
|
|
34591
|
+
* * 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.
|
|
34592
|
+
* * 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.
|
|
34593
|
+
* * The new security group rule after modification cannot be the same as other existing rules.
|
|
34594
|
+
* * 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.
|
|
34580
34595
|
*
|
|
34581
34596
|
* @param request ModifySecurityGroupRuleRequest
|
|
34582
34597
|
* @return ModifySecurityGroupRuleResponse
|
package/dist/client.js
CHANGED
|
@@ -9396,6 +9396,8 @@ class DescribeDedicatedHostsRequest extends $tea.Model {
|
|
|
9396
9396
|
dedicatedHostName: 'DedicatedHostName',
|
|
9397
9397
|
dedicatedHostType: 'DedicatedHostType',
|
|
9398
9398
|
lockReason: 'LockReason',
|
|
9399
|
+
maxResults: 'MaxResults',
|
|
9400
|
+
nextToken: 'NextToken',
|
|
9399
9401
|
ownerAccount: 'OwnerAccount',
|
|
9400
9402
|
ownerId: 'OwnerId',
|
|
9401
9403
|
pageNumber: 'PageNumber',
|
|
@@ -9417,6 +9419,8 @@ class DescribeDedicatedHostsRequest extends $tea.Model {
|
|
|
9417
9419
|
dedicatedHostName: 'string',
|
|
9418
9420
|
dedicatedHostType: 'string',
|
|
9419
9421
|
lockReason: 'string',
|
|
9422
|
+
maxResults: 'number',
|
|
9423
|
+
nextToken: 'string',
|
|
9420
9424
|
ownerAccount: 'string',
|
|
9421
9425
|
ownerId: 'number',
|
|
9422
9426
|
pageNumber: 'number',
|
|
@@ -9440,6 +9444,7 @@ class DescribeDedicatedHostsResponseBody extends $tea.Model {
|
|
|
9440
9444
|
static names() {
|
|
9441
9445
|
return {
|
|
9442
9446
|
dedicatedHosts: 'DedicatedHosts',
|
|
9447
|
+
nextToken: 'NextToken',
|
|
9443
9448
|
pageNumber: 'PageNumber',
|
|
9444
9449
|
pageSize: 'PageSize',
|
|
9445
9450
|
requestId: 'RequestId',
|
|
@@ -9449,6 +9454,7 @@ class DescribeDedicatedHostsResponseBody extends $tea.Model {
|
|
|
9449
9454
|
static types() {
|
|
9450
9455
|
return {
|
|
9451
9456
|
dedicatedHosts: DescribeDedicatedHostsResponseBodyDedicatedHosts,
|
|
9457
|
+
nextToken: 'string',
|
|
9452
9458
|
pageNumber: 'number',
|
|
9453
9459
|
pageSize: 'number',
|
|
9454
9460
|
requestId: 'string',
|
|
@@ -12340,11 +12346,16 @@ class DescribeInstanceTypesRequest extends $tea.Model {
|
|
|
12340
12346
|
static names() {
|
|
12341
12347
|
return {
|
|
12342
12348
|
cpuArchitecture: 'CpuArchitecture',
|
|
12349
|
+
cpuArchitectures: 'CpuArchitectures',
|
|
12343
12350
|
GPUSpec: 'GPUSpec',
|
|
12351
|
+
gpuSpecs: 'GpuSpecs',
|
|
12352
|
+
instanceCategories: 'InstanceCategories',
|
|
12344
12353
|
instanceCategory: 'InstanceCategory',
|
|
12345
12354
|
instanceFamilyLevel: 'InstanceFamilyLevel',
|
|
12355
|
+
instanceTypeFamilies: 'InstanceTypeFamilies',
|
|
12346
12356
|
instanceTypeFamily: 'InstanceTypeFamily',
|
|
12347
12357
|
instanceTypes: 'InstanceTypes',
|
|
12358
|
+
localStorageCategories: 'LocalStorageCategories',
|
|
12348
12359
|
localStorageCategory: 'LocalStorageCategory',
|
|
12349
12360
|
maxResults: 'MaxResults',
|
|
12350
12361
|
maximumCpuCoreCount: 'MaximumCpuCoreCount',
|
|
@@ -12378,6 +12389,7 @@ class DescribeInstanceTypesRequest extends $tea.Model {
|
|
|
12378
12389
|
ownerAccount: 'OwnerAccount',
|
|
12379
12390
|
ownerId: 'OwnerId',
|
|
12380
12391
|
physicalProcessorModel: 'PhysicalProcessorModel',
|
|
12392
|
+
physicalProcessorModels: 'PhysicalProcessorModels',
|
|
12381
12393
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
12382
12394
|
resourceOwnerId: 'ResourceOwnerId',
|
|
12383
12395
|
};
|
|
@@ -12385,11 +12397,16 @@ class DescribeInstanceTypesRequest extends $tea.Model {
|
|
|
12385
12397
|
static types() {
|
|
12386
12398
|
return {
|
|
12387
12399
|
cpuArchitecture: 'string',
|
|
12400
|
+
cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
|
|
12388
12401
|
GPUSpec: 'string',
|
|
12402
|
+
gpuSpecs: { 'type': 'array', 'itemType': 'string' },
|
|
12403
|
+
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
12389
12404
|
instanceCategory: 'string',
|
|
12390
12405
|
instanceFamilyLevel: 'string',
|
|
12406
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
12391
12407
|
instanceTypeFamily: 'string',
|
|
12392
12408
|
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
12409
|
+
localStorageCategories: { 'type': 'array', 'itemType': 'string' },
|
|
12393
12410
|
localStorageCategory: 'string',
|
|
12394
12411
|
maxResults: 'number',
|
|
12395
12412
|
maximumCpuCoreCount: 'number',
|
|
@@ -12423,6 +12440,7 @@ class DescribeInstanceTypesRequest extends $tea.Model {
|
|
|
12423
12440
|
ownerAccount: 'string',
|
|
12424
12441
|
ownerId: 'number',
|
|
12425
12442
|
physicalProcessorModel: 'string',
|
|
12443
|
+
physicalProcessorModels: { 'type': 'array', 'itemType': 'string' },
|
|
12426
12444
|
resourceOwnerAccount: 'string',
|
|
12427
12445
|
resourceOwnerId: 'number',
|
|
12428
12446
|
};
|
|
@@ -52128,6 +52146,12 @@ class Client extends openapi_client_1.default {
|
|
|
52128
52146
|
if (!tea_util_1.default.isUnset(request.lockReason)) {
|
|
52129
52147
|
query["LockReason"] = request.lockReason;
|
|
52130
52148
|
}
|
|
52149
|
+
if (!tea_util_1.default.isUnset(request.maxResults)) {
|
|
52150
|
+
query["MaxResults"] = request.maxResults;
|
|
52151
|
+
}
|
|
52152
|
+
if (!tea_util_1.default.isUnset(request.nextToken)) {
|
|
52153
|
+
query["NextToken"] = request.nextToken;
|
|
52154
|
+
}
|
|
52131
52155
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
52132
52156
|
query["OwnerAccount"] = request.ownerAccount;
|
|
52133
52157
|
}
|
|
@@ -54614,21 +54638,36 @@ class Client extends openapi_client_1.default {
|
|
|
54614
54638
|
if (!tea_util_1.default.isUnset(request.cpuArchitecture)) {
|
|
54615
54639
|
query["CpuArchitecture"] = request.cpuArchitecture;
|
|
54616
54640
|
}
|
|
54641
|
+
if (!tea_util_1.default.isUnset(request.cpuArchitectures)) {
|
|
54642
|
+
query["CpuArchitectures"] = request.cpuArchitectures;
|
|
54643
|
+
}
|
|
54617
54644
|
if (!tea_util_1.default.isUnset(request.GPUSpec)) {
|
|
54618
54645
|
query["GPUSpec"] = request.GPUSpec;
|
|
54619
54646
|
}
|
|
54647
|
+
if (!tea_util_1.default.isUnset(request.gpuSpecs)) {
|
|
54648
|
+
query["GpuSpecs"] = request.gpuSpecs;
|
|
54649
|
+
}
|
|
54650
|
+
if (!tea_util_1.default.isUnset(request.instanceCategories)) {
|
|
54651
|
+
query["InstanceCategories"] = request.instanceCategories;
|
|
54652
|
+
}
|
|
54620
54653
|
if (!tea_util_1.default.isUnset(request.instanceCategory)) {
|
|
54621
54654
|
query["InstanceCategory"] = request.instanceCategory;
|
|
54622
54655
|
}
|
|
54623
54656
|
if (!tea_util_1.default.isUnset(request.instanceFamilyLevel)) {
|
|
54624
54657
|
query["InstanceFamilyLevel"] = request.instanceFamilyLevel;
|
|
54625
54658
|
}
|
|
54659
|
+
if (!tea_util_1.default.isUnset(request.instanceTypeFamilies)) {
|
|
54660
|
+
query["InstanceTypeFamilies"] = request.instanceTypeFamilies;
|
|
54661
|
+
}
|
|
54626
54662
|
if (!tea_util_1.default.isUnset(request.instanceTypeFamily)) {
|
|
54627
54663
|
query["InstanceTypeFamily"] = request.instanceTypeFamily;
|
|
54628
54664
|
}
|
|
54629
54665
|
if (!tea_util_1.default.isUnset(request.instanceTypes)) {
|
|
54630
54666
|
query["InstanceTypes"] = request.instanceTypes;
|
|
54631
54667
|
}
|
|
54668
|
+
if (!tea_util_1.default.isUnset(request.localStorageCategories)) {
|
|
54669
|
+
query["LocalStorageCategories"] = request.localStorageCategories;
|
|
54670
|
+
}
|
|
54632
54671
|
if (!tea_util_1.default.isUnset(request.localStorageCategory)) {
|
|
54633
54672
|
query["LocalStorageCategory"] = request.localStorageCategory;
|
|
54634
54673
|
}
|
|
@@ -54728,6 +54767,9 @@ class Client extends openapi_client_1.default {
|
|
|
54728
54767
|
if (!tea_util_1.default.isUnset(request.physicalProcessorModel)) {
|
|
54729
54768
|
query["PhysicalProcessorModel"] = request.physicalProcessorModel;
|
|
54730
54769
|
}
|
|
54770
|
+
if (!tea_util_1.default.isUnset(request.physicalProcessorModels)) {
|
|
54771
|
+
query["PhysicalProcessorModels"] = request.physicalProcessorModels;
|
|
54772
|
+
}
|
|
54731
54773
|
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
54732
54774
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
54733
54775
|
}
|
|
@@ -55196,10 +55238,12 @@ class Client extends openapi_client_1.default {
|
|
|
55196
55238
|
return await this.describeInvocationResultsWithOptions(request, runtime);
|
|
55197
55239
|
}
|
|
55198
55240
|
/**
|
|
55199
|
-
*
|
|
55200
|
-
*
|
|
55201
|
-
*
|
|
55202
|
-
*
|
|
55241
|
+
* ## [](#)Usage notes
|
|
55242
|
+
* * 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.
|
|
55243
|
+
* * You can query information about command executions within the last four weeks. Up to 100,000 pieces of execution information can be retained.
|
|
55244
|
+
* * You can use one of the following methods to check the responses:
|
|
55245
|
+
* * 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.
|
|
55246
|
+
* * 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.
|
|
55203
55247
|
*
|
|
55204
55248
|
* @param request DescribeInvocationsRequest
|
|
55205
55249
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -55291,10 +55335,12 @@ class Client extends openapi_client_1.default {
|
|
|
55291
55335
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInvocationsResponse({}));
|
|
55292
55336
|
}
|
|
55293
55337
|
/**
|
|
55294
|
-
*
|
|
55295
|
-
*
|
|
55296
|
-
*
|
|
55297
|
-
*
|
|
55338
|
+
* ## [](#)Usage notes
|
|
55339
|
+
* * 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.
|
|
55340
|
+
* * You can query information about command executions within the last four weeks. Up to 100,000 pieces of execution information can be retained.
|
|
55341
|
+
* * You can use one of the following methods to check the responses:
|
|
55342
|
+
* * 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.
|
|
55343
|
+
* * 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.
|
|
55298
55344
|
*
|
|
55299
55345
|
* @param request DescribeInvocationsRequest
|
|
55300
55346
|
* @return DescribeInvocationsResponse
|
|
@@ -64540,12 +64586,13 @@ class Client extends openapi_client_1.default {
|
|
|
64540
64586
|
return await this.modifySecurityGroupPolicyWithOptions(request, runtime);
|
|
64541
64587
|
}
|
|
64542
64588
|
/**
|
|
64543
|
-
*
|
|
64544
|
-
*
|
|
64545
|
-
*
|
|
64546
|
-
* *
|
|
64547
|
-
* *
|
|
64548
|
-
* *
|
|
64589
|
+
* ## [](#)Usage notes
|
|
64590
|
+
* 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.
|
|
64591
|
+
* Take note of the following items:
|
|
64592
|
+
* * 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.
|
|
64593
|
+
* * 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.
|
|
64594
|
+
* * The new security group rule after modification cannot be the same as other existing rules.
|
|
64595
|
+
* * 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.
|
|
64549
64596
|
*
|
|
64550
64597
|
* @param request ModifySecurityGroupRuleRequest
|
|
64551
64598
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -64643,12 +64690,13 @@ class Client extends openapi_client_1.default {
|
|
|
64643
64690
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifySecurityGroupRuleResponse({}));
|
|
64644
64691
|
}
|
|
64645
64692
|
/**
|
|
64646
|
-
*
|
|
64647
|
-
*
|
|
64648
|
-
*
|
|
64649
|
-
* *
|
|
64650
|
-
* *
|
|
64651
|
-
* *
|
|
64693
|
+
* ## [](#)Usage notes
|
|
64694
|
+
* 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.
|
|
64695
|
+
* Take note of the following items:
|
|
64696
|
+
* * 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.
|
|
64697
|
+
* * 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.
|
|
64698
|
+
* * The new security group rule after modification cannot be the same as other existing rules.
|
|
64699
|
+
* * 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.
|
|
64652
64700
|
*
|
|
64653
64701
|
* @param request ModifySecurityGroupRuleRequest
|
|
64654
64702
|
* @return ModifySecurityGroupRuleResponse
|