@alicloud/ecs20140526 5.0.0 → 5.0.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 +890 -950
- package/dist/client.js +499 -550
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +906 -952
package/dist/client.js
CHANGED
|
@@ -20479,6 +20479,7 @@ exports.ModifyDiskDeploymentResponse = ModifyDiskDeploymentResponse;
|
|
|
20479
20479
|
class ModifyDiskSpecRequest extends $tea.Model {
|
|
20480
20480
|
static names() {
|
|
20481
20481
|
return {
|
|
20482
|
+
destinationZoneId: 'DestinationZoneId',
|
|
20482
20483
|
diskCategory: 'DiskCategory',
|
|
20483
20484
|
diskId: 'DiskId',
|
|
20484
20485
|
dryRun: 'DryRun',
|
|
@@ -20493,6 +20494,7 @@ class ModifyDiskSpecRequest extends $tea.Model {
|
|
|
20493
20494
|
}
|
|
20494
20495
|
static types() {
|
|
20495
20496
|
return {
|
|
20497
|
+
destinationZoneId: 'string',
|
|
20496
20498
|
diskCategory: 'string',
|
|
20497
20499
|
diskId: 'string',
|
|
20498
20500
|
dryRun: 'boolean',
|
|
@@ -29137,11 +29139,13 @@ exports.CreateNetworkInterfaceRequestConnectionTrackingConfiguration = CreateNet
|
|
|
29137
29139
|
class CreateNetworkInterfaceRequestEnhancedNetwork extends $tea.Model {
|
|
29138
29140
|
static names() {
|
|
29139
29141
|
return {
|
|
29142
|
+
enableRss: 'EnableRss',
|
|
29140
29143
|
enableSriov: 'EnableSriov',
|
|
29141
29144
|
};
|
|
29142
29145
|
}
|
|
29143
29146
|
static types() {
|
|
29144
29147
|
return {
|
|
29148
|
+
enableRss: 'boolean',
|
|
29145
29149
|
enableSriov: 'boolean',
|
|
29146
29150
|
};
|
|
29147
29151
|
}
|
|
@@ -35683,12 +35687,14 @@ exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptions = D
|
|
|
35683
35687
|
class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeEnhancedNetwork extends $tea.Model {
|
|
35684
35688
|
static names() {
|
|
35685
35689
|
return {
|
|
35690
|
+
rssSupport: 'RssSupport',
|
|
35686
35691
|
sriovSupport: 'SriovSupport',
|
|
35687
35692
|
vfQueueNumberPerEni: 'VfQueueNumberPerEni',
|
|
35688
35693
|
};
|
|
35689
35694
|
}
|
|
35690
35695
|
static types() {
|
|
35691
35696
|
return {
|
|
35697
|
+
rssSupport: 'boolean',
|
|
35692
35698
|
sriovSupport: 'boolean',
|
|
35693
35699
|
vfQueueNumberPerEni: 'number',
|
|
35694
35700
|
};
|
|
@@ -38053,11 +38059,13 @@ exports.DescribeNetworkInterfaceAttributeResponseBodyConnectionTrackingConfigura
|
|
|
38053
38059
|
class DescribeNetworkInterfaceAttributeResponseBodyEnhancedNetwork extends $tea.Model {
|
|
38054
38060
|
static names() {
|
|
38055
38061
|
return {
|
|
38062
|
+
enableRss: 'EnableRss',
|
|
38056
38063
|
enableSriov: 'EnableSriov',
|
|
38057
38064
|
};
|
|
38058
38065
|
}
|
|
38059
38066
|
static types() {
|
|
38060
38067
|
return {
|
|
38068
|
+
enableRss: 'boolean',
|
|
38061
38069
|
enableSriov: 'boolean',
|
|
38062
38070
|
};
|
|
38063
38071
|
}
|
|
@@ -43269,11 +43277,13 @@ exports.ModifyNetworkInterfaceAttributeRequestConnectionTrackingConfiguration =
|
|
|
43269
43277
|
class ModifyNetworkInterfaceAttributeRequestEnhancedNetwork extends $tea.Model {
|
|
43270
43278
|
static names() {
|
|
43271
43279
|
return {
|
|
43280
|
+
enableRss: 'EnableRss',
|
|
43272
43281
|
enableSriov: 'EnableSriov',
|
|
43273
43282
|
};
|
|
43274
43283
|
}
|
|
43275
43284
|
static types() {
|
|
43276
43285
|
return {
|
|
43286
|
+
enableRss: 'boolean',
|
|
43277
43287
|
enableSriov: 'boolean',
|
|
43278
43288
|
};
|
|
43279
43289
|
}
|
|
@@ -45128,7 +45138,7 @@ class Client extends openapi_client_1.default {
|
|
|
45128
45138
|
return await this.assignIpv6AddressesWithOptions(request, runtime);
|
|
45129
45139
|
}
|
|
45130
45140
|
/**
|
|
45131
|
-
* Assigns
|
|
45141
|
+
* Assigns secondary private IP addresses to an elastic network interface (ENI). You can specify available private IP addresses within the CIDR block of the vSwitch that is connected to the ENI. Alternatively, you can specify the number of private IP addresses that are automatically assigned from the CIDR block of the vSwitch to the ENI.
|
|
45132
45142
|
*
|
|
45133
45143
|
* @remarks
|
|
45134
45144
|
* ## [](#)Usage notes
|
|
@@ -45197,7 +45207,7 @@ class Client extends openapi_client_1.default {
|
|
|
45197
45207
|
return $tea.cast(await this.callApi(params, req, runtime), new AssignPrivateIpAddressesResponse({}));
|
|
45198
45208
|
}
|
|
45199
45209
|
/**
|
|
45200
|
-
* Assigns
|
|
45210
|
+
* Assigns secondary private IP addresses to an elastic network interface (ENI). You can specify available private IP addresses within the CIDR block of the vSwitch that is connected to the ENI. Alternatively, you can specify the number of private IP addresses that are automatically assigned from the CIDR block of the vSwitch to the ENI.
|
|
45201
45211
|
*
|
|
45202
45212
|
* @remarks
|
|
45203
45213
|
* ## [](#)Usage notes
|
|
@@ -45513,7 +45523,7 @@ class Client extends openapi_client_1.default {
|
|
|
45513
45523
|
* Attaches an instance Resource Access Management (RAM) role to Elastic Compute Service (ECS) instances.
|
|
45514
45524
|
*
|
|
45515
45525
|
* @remarks
|
|
45516
|
-
* You can call the [DescribeInstanceRamRole](https://help.aliyun.com/document_detail/2679686.html) operation to query the instance RAM roles that are attached to ECS instances.
|
|
45526
|
+
* You can call the [DescribeInstanceRamRole](https://help.aliyun.com/document_detail/2679686.html) operation to query the [instance RAM roles](https://help.aliyun.com/document_detail/61175.html) that are attached to ECS instances.
|
|
45517
45527
|
* > If an ECS instance already has an instance RAM role, an error is returned when you attach another instance RAM role to the instance.
|
|
45518
45528
|
*
|
|
45519
45529
|
* @param request - AttachInstanceRamRoleRequest
|
|
@@ -45564,7 +45574,7 @@ class Client extends openapi_client_1.default {
|
|
|
45564
45574
|
* Attaches an instance Resource Access Management (RAM) role to Elastic Compute Service (ECS) instances.
|
|
45565
45575
|
*
|
|
45566
45576
|
* @remarks
|
|
45567
|
-
* You can call the [DescribeInstanceRamRole](https://help.aliyun.com/document_detail/2679686.html) operation to query the instance RAM roles that are attached to ECS instances.
|
|
45577
|
+
* You can call the [DescribeInstanceRamRole](https://help.aliyun.com/document_detail/2679686.html) operation to query the [instance RAM roles](https://help.aliyun.com/document_detail/61175.html) that are attached to ECS instances.
|
|
45568
45578
|
* > If an ECS instance already has an instance RAM role, an error is returned when you attach another instance RAM role to the instance.
|
|
45569
45579
|
*
|
|
45570
45580
|
* @param request - AttachInstanceRamRoleRequest
|
|
@@ -45742,49 +45752,49 @@ class Client extends openapi_client_1.default {
|
|
|
45742
45752
|
return await this.attachNetworkInterfaceWithOptions(request, runtime);
|
|
45743
45753
|
}
|
|
45744
45754
|
/**
|
|
45745
|
-
* Creates inbound rules in a security group. You can use the created rules to allow or deny inbound traffic from other
|
|
45755
|
+
* Creates inbound security group rules in a security group. You can use the created rules to allow or deny inbound traffic from other objects to Elastic Compute Service (ECS) instances in the security group for fine-grained network access control.
|
|
45746
45756
|
*
|
|
45747
45757
|
* @remarks
|
|
45748
|
-
*
|
|
45749
|
-
* * The total number of
|
|
45750
|
-
* *
|
|
45751
|
-
* * When multiple security group rules have the same priority, drop rules take precedence.
|
|
45752
|
-
*
|
|
45753
|
-
* *
|
|
45754
|
-
*
|
|
45755
|
-
*
|
|
45756
|
-
* *
|
|
45757
|
-
* *
|
|
45758
|
-
*
|
|
45759
|
-
*
|
|
45760
|
-
*
|
|
45761
|
-
*
|
|
45762
|
-
*
|
|
45763
|
-
*
|
|
45764
|
-
*
|
|
45765
|
-
*
|
|
45766
|
-
*
|
|
45767
|
-
*
|
|
45768
|
-
*
|
|
45769
|
-
*
|
|
45770
|
-
*
|
|
45771
|
-
*
|
|
45772
|
-
*
|
|
45773
|
-
*
|
|
45774
|
-
*
|
|
45775
|
-
*
|
|
45776
|
-
*
|
|
45777
|
-
*
|
|
45778
|
-
*
|
|
45779
|
-
*
|
|
45780
|
-
*
|
|
45781
|
-
*
|
|
45782
|
-
*
|
|
45783
|
-
*
|
|
45784
|
-
*
|
|
45785
|
-
*
|
|
45786
|
-
*
|
|
45787
|
-
*
|
|
45758
|
+
* ### [](#)Limits
|
|
45759
|
+
* * **Quantity limit**: The total number of inbound security group rules in each security group cannot exceed 200. For more information, see the [Security group limits](~~25412#SecurityGroupQuota1~~) section of the "Limits" topic.
|
|
45760
|
+
* * **Rule types**: For inbound security group rules, you can set Policy to accept or drop to specify whether to allow or deny access.
|
|
45761
|
+
* * **Rule priorities**: For inbound security group rules, the valid values of Priority range from 1 to 100. A smaller value indicates a higher priority. When multiple security group rules have the same priority, drop rules take precedence.
|
|
45762
|
+
* ### [](#)Considerations
|
|
45763
|
+
* * If the security group rule that you call the AuthorizeSecurityGroup operation to create exists in the security group, the call is successful but no security group rule is created.
|
|
45764
|
+
* ### [](#)Parameters that define a security group rule
|
|
45765
|
+
* Define an inbound security group rule by configuring the following parameters together:
|
|
45766
|
+
* * Source: You can specify one parameter from SourceCidrIp (IPv4 address), Ipv6SourceCidrIp (IPv6 address), SourcetPrefixListId (prefix list ID), and SourceGroupId (source security group ID).
|
|
45767
|
+
* * PortRange: specifies the range of destination port numbers.
|
|
45768
|
+
* * IpProtocol: specifies the protocol.
|
|
45769
|
+
* * Policy: specifies the action.
|
|
45770
|
+
* > Advanced security groups do not support security group rules that reference security groups as authorization objects. Each basic security group can contain up to 20 security group rules that reference security groups as authorization objects.
|
|
45771
|
+
* ### [](#)Sample requests
|
|
45772
|
+
* Sample requests to create inbound security group rules that control access to different sources in a security group in the China (Hangzhou) region:---to different sources or from different sources?
|
|
45773
|
+
* * Sample request to create an inbound security group rule that controls access to a specific CIDR block: to or from?
|
|
45774
|
+
* "RegionId":"cn-hangzhou", // The region ID.
|
|
45775
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****", // The ID of the security group."Permissions":[
|
|
45776
|
+
* {
|
|
45777
|
+
* "SourceCidrIp":"10.0.0.0/8", // The source IPv4 CIDR block. "PortRange":"22/22" // The port range.
|
|
45778
|
+
* "IpProtocol":"TCP", //The protocol.
|
|
45779
|
+
* "IpProtocol":"TCP", //The action.
|
|
45780
|
+
* }
|
|
45781
|
+
* ]
|
|
45782
|
+
* * Sample request to create an inbound security group rule that controls access to a security group and an inbound security group rule that controls access to a prefix list:----to or from?
|
|
45783
|
+
* "RegionId":"cn-hangzhou",
|
|
45784
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
45785
|
+
* "Permissions":[
|
|
45786
|
+
* {
|
|
45787
|
+
* "SourceGroupId":"sg-bp17vs63txqxbd****", // The source security group.
|
|
45788
|
+
* "PortRange":"22/22",
|
|
45789
|
+
* "IpProtocol":"TCP",
|
|
45790
|
+
* "Policy":"Drop"
|
|
45791
|
+
* },{
|
|
45792
|
+
* "SourcePrefixListId":"pl-x1j1k5ykzqlixdcy****", //The ID of the source prefix list.
|
|
45793
|
+
* "PortRange":"22/22",
|
|
45794
|
+
* "IpProtocol":"TCP",
|
|
45795
|
+
* "Policy":"Drop"
|
|
45796
|
+
* }
|
|
45797
|
+
* ]
|
|
45788
45798
|
*
|
|
45789
45799
|
* @param request - AuthorizeSecurityGroupRequest
|
|
45790
45800
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -45891,49 +45901,49 @@ class Client extends openapi_client_1.default {
|
|
|
45891
45901
|
return $tea.cast(await this.callApi(params, req, runtime), new AuthorizeSecurityGroupResponse({}));
|
|
45892
45902
|
}
|
|
45893
45903
|
/**
|
|
45894
|
-
* Creates inbound rules in a security group. You can use the created rules to allow or deny inbound traffic from other
|
|
45904
|
+
* Creates inbound security group rules in a security group. You can use the created rules to allow or deny inbound traffic from other objects to Elastic Compute Service (ECS) instances in the security group for fine-grained network access control.
|
|
45895
45905
|
*
|
|
45896
45906
|
* @remarks
|
|
45897
|
-
*
|
|
45898
|
-
* * The total number of
|
|
45899
|
-
* *
|
|
45900
|
-
* * When multiple security group rules have the same priority, drop rules take precedence.
|
|
45901
|
-
*
|
|
45902
|
-
* *
|
|
45903
|
-
*
|
|
45904
|
-
*
|
|
45905
|
-
* *
|
|
45906
|
-
* *
|
|
45907
|
-
*
|
|
45908
|
-
*
|
|
45909
|
-
*
|
|
45910
|
-
*
|
|
45911
|
-
*
|
|
45912
|
-
*
|
|
45913
|
-
*
|
|
45914
|
-
*
|
|
45915
|
-
*
|
|
45916
|
-
*
|
|
45917
|
-
*
|
|
45918
|
-
*
|
|
45919
|
-
*
|
|
45920
|
-
*
|
|
45921
|
-
*
|
|
45922
|
-
*
|
|
45923
|
-
*
|
|
45924
|
-
*
|
|
45925
|
-
*
|
|
45926
|
-
*
|
|
45927
|
-
*
|
|
45928
|
-
*
|
|
45929
|
-
*
|
|
45930
|
-
*
|
|
45931
|
-
*
|
|
45932
|
-
*
|
|
45933
|
-
*
|
|
45934
|
-
*
|
|
45935
|
-
*
|
|
45936
|
-
*
|
|
45907
|
+
* ### [](#)Limits
|
|
45908
|
+
* * **Quantity limit**: The total number of inbound security group rules in each security group cannot exceed 200. For more information, see the [Security group limits](~~25412#SecurityGroupQuota1~~) section of the "Limits" topic.
|
|
45909
|
+
* * **Rule types**: For inbound security group rules, you can set Policy to accept or drop to specify whether to allow or deny access.
|
|
45910
|
+
* * **Rule priorities**: For inbound security group rules, the valid values of Priority range from 1 to 100. A smaller value indicates a higher priority. When multiple security group rules have the same priority, drop rules take precedence.
|
|
45911
|
+
* ### [](#)Considerations
|
|
45912
|
+
* * If the security group rule that you call the AuthorizeSecurityGroup operation to create exists in the security group, the call is successful but no security group rule is created.
|
|
45913
|
+
* ### [](#)Parameters that define a security group rule
|
|
45914
|
+
* Define an inbound security group rule by configuring the following parameters together:
|
|
45915
|
+
* * Source: You can specify one parameter from SourceCidrIp (IPv4 address), Ipv6SourceCidrIp (IPv6 address), SourcetPrefixListId (prefix list ID), and SourceGroupId (source security group ID).
|
|
45916
|
+
* * PortRange: specifies the range of destination port numbers.
|
|
45917
|
+
* * IpProtocol: specifies the protocol.
|
|
45918
|
+
* * Policy: specifies the action.
|
|
45919
|
+
* > Advanced security groups do not support security group rules that reference security groups as authorization objects. Each basic security group can contain up to 20 security group rules that reference security groups as authorization objects.
|
|
45920
|
+
* ### [](#)Sample requests
|
|
45921
|
+
* Sample requests to create inbound security group rules that control access to different sources in a security group in the China (Hangzhou) region:---to different sources or from different sources?
|
|
45922
|
+
* * Sample request to create an inbound security group rule that controls access to a specific CIDR block: to or from?
|
|
45923
|
+
* "RegionId":"cn-hangzhou", // The region ID.
|
|
45924
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****", // The ID of the security group."Permissions":[
|
|
45925
|
+
* {
|
|
45926
|
+
* "SourceCidrIp":"10.0.0.0/8", // The source IPv4 CIDR block. "PortRange":"22/22" // The port range.
|
|
45927
|
+
* "IpProtocol":"TCP", //The protocol.
|
|
45928
|
+
* "IpProtocol":"TCP", //The action.
|
|
45929
|
+
* }
|
|
45930
|
+
* ]
|
|
45931
|
+
* * Sample request to create an inbound security group rule that controls access to a security group and an inbound security group rule that controls access to a prefix list:----to or from?
|
|
45932
|
+
* "RegionId":"cn-hangzhou",
|
|
45933
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
45934
|
+
* "Permissions":[
|
|
45935
|
+
* {
|
|
45936
|
+
* "SourceGroupId":"sg-bp17vs63txqxbd****", // The source security group.
|
|
45937
|
+
* "PortRange":"22/22",
|
|
45938
|
+
* "IpProtocol":"TCP",
|
|
45939
|
+
* "Policy":"Drop"
|
|
45940
|
+
* },{
|
|
45941
|
+
* "SourcePrefixListId":"pl-x1j1k5ykzqlixdcy****", //The ID of the source prefix list.
|
|
45942
|
+
* "PortRange":"22/22",
|
|
45943
|
+
* "IpProtocol":"TCP",
|
|
45944
|
+
* "Policy":"Drop"
|
|
45945
|
+
* }
|
|
45946
|
+
* ]
|
|
45937
45947
|
*
|
|
45938
45948
|
* @param request - AuthorizeSecurityGroupRequest
|
|
45939
45949
|
* @returns AuthorizeSecurityGroupResponse
|
|
@@ -45952,9 +45962,8 @@ class Client extends openapi_client_1.default {
|
|
|
45952
45962
|
* * **Rule priorities**: For outbound security group rules, the valid values of Priority range from 1 to 100. A smaller value indicates a higher priority. When multiple security group rules have the same priority, drop rules take precedence.
|
|
45953
45963
|
* ### [](#)Considerations
|
|
45954
45964
|
* * If the security group rule that you call the AuthorizeSecurityGroupEgress operation to create exists in the security group, the call is successful but no security group rule is created.
|
|
45955
|
-
* * Parameters and their `Permissions.N`-prefixed counterparts cannot be specified in the same request. We recommend that you use the `Permissions.N`-prefixed parameters.
|
|
45956
45965
|
* ### [](#)Parameters that define a security group rule
|
|
45957
|
-
* Define
|
|
45966
|
+
* Define an outbound security group rule by configuring the following parameters together:
|
|
45958
45967
|
* * One of the following parameters: DestCidrIp, Ipv6DestCidrIp, DestPrefixListId, and DestGroupId. DestCidrIp specifies the destination IPv4 CIDR block. Ipv6DestCidrIp specifies the destination IPv6 CIDR block. DestPrefixListId specifies the ID of the destination prefix list. DestGroupId specifies the destination security group.
|
|
45959
45968
|
* * PortRange: specifies the range of destination port numbers.
|
|
45960
45969
|
* * IpProtocol: specifies the protocol.
|
|
@@ -45962,15 +45971,14 @@ class Client extends openapi_client_1.default {
|
|
|
45962
45971
|
* > Advanced security groups do not support security group rules that reference security groups as authorization objects. Each basic security group can contain up to 20 security group rules that reference security groups as authorization objects.
|
|
45963
45972
|
* ### [](#)Sample requests
|
|
45964
45973
|
* Sample requests to create outbound security group rules that control access to different destinations in a security group in the China (Hangzhou) region:
|
|
45965
|
-
* * Sample request to create an outbound security group rule that controls access to a
|
|
45966
|
-
* "RegionId":"cn-hangzhou",
|
|
45974
|
+
* * Sample request to create an outbound security group rule that controls access to a specified CIDR block:
|
|
45975
|
+
* "RegionId":"cn-hangzhou", //The region ID.
|
|
45967
45976
|
* "SecurityGroupId":"sg-bp17vs63txqxbds9***", //The ID of the source security group.
|
|
45968
45977
|
* "Permissions":[
|
|
45969
45978
|
* {
|
|
45970
|
-
* "DestCidrIp":
|
|
45971
|
-
* "PortRange":
|
|
45972
|
-
* "IpProtocol":
|
|
45973
|
-
* "Policy": "Accept" //The action.
|
|
45979
|
+
* "DestCidrIp":"10.0.0.0/8", //The destination IPv4 CIDR block.
|
|
45980
|
+
* "PortRange":"-1/-1", //The range of destination port numbers.
|
|
45981
|
+
* "IpProtocol":"ICMP", //The protocol. "Policy":"Accept" //The action.
|
|
45974
45982
|
* }
|
|
45975
45983
|
* ]
|
|
45976
45984
|
* * Sample request to create an outbound security group rule that controls access to a security group and an outbound security group rule that controls access to a prefix list:
|
|
@@ -45978,15 +45986,15 @@ class Client extends openapi_client_1.default {
|
|
|
45978
45986
|
* "SecurityGroupId":"sg-bp17vs63txqxbds9***",
|
|
45979
45987
|
* "Permissions":[
|
|
45980
45988
|
* {
|
|
45981
|
-
* "DestGroupId":
|
|
45982
|
-
* "PortRange":
|
|
45983
|
-
* "IpProtocol":
|
|
45984
|
-
* "Policy":
|
|
45989
|
+
* "DestGroupId":"sg-bp67acfmxazb4pi***", //The ID of the destination security group.
|
|
45990
|
+
* "PortRange":"22/22",
|
|
45991
|
+
* "IpProtocol":"TCP",
|
|
45992
|
+
* "Policy":"Drop"
|
|
45985
45993
|
* },{
|
|
45986
|
-
* "DestPrefixListId":
|
|
45987
|
-
* "PortRange":
|
|
45988
|
-
* "IpProtocol":
|
|
45989
|
-
* "Policy":
|
|
45994
|
+
* "DestPrefixListId":"pl-x1j1k5ykzqlixdcy****", //The ID of the destination prefix list.
|
|
45995
|
+
* "PortRange":"22/22",
|
|
45996
|
+
* "IpProtocol":"TCP",
|
|
45997
|
+
* "Policy":"Drop"
|
|
45990
45998
|
* }
|
|
45991
45999
|
* ]
|
|
45992
46000
|
*
|
|
@@ -46104,9 +46112,8 @@ class Client extends openapi_client_1.default {
|
|
|
46104
46112
|
* * **Rule priorities**: For outbound security group rules, the valid values of Priority range from 1 to 100. A smaller value indicates a higher priority. When multiple security group rules have the same priority, drop rules take precedence.
|
|
46105
46113
|
* ### [](#)Considerations
|
|
46106
46114
|
* * If the security group rule that you call the AuthorizeSecurityGroupEgress operation to create exists in the security group, the call is successful but no security group rule is created.
|
|
46107
|
-
* * Parameters and their `Permissions.N`-prefixed counterparts cannot be specified in the same request. We recommend that you use the `Permissions.N`-prefixed parameters.
|
|
46108
46115
|
* ### [](#)Parameters that define a security group rule
|
|
46109
|
-
* Define
|
|
46116
|
+
* Define an outbound security group rule by configuring the following parameters together:
|
|
46110
46117
|
* * One of the following parameters: DestCidrIp, Ipv6DestCidrIp, DestPrefixListId, and DestGroupId. DestCidrIp specifies the destination IPv4 CIDR block. Ipv6DestCidrIp specifies the destination IPv6 CIDR block. DestPrefixListId specifies the ID of the destination prefix list. DestGroupId specifies the destination security group.
|
|
46111
46118
|
* * PortRange: specifies the range of destination port numbers.
|
|
46112
46119
|
* * IpProtocol: specifies the protocol.
|
|
@@ -46114,15 +46121,14 @@ class Client extends openapi_client_1.default {
|
|
|
46114
46121
|
* > Advanced security groups do not support security group rules that reference security groups as authorization objects. Each basic security group can contain up to 20 security group rules that reference security groups as authorization objects.
|
|
46115
46122
|
* ### [](#)Sample requests
|
|
46116
46123
|
* Sample requests to create outbound security group rules that control access to different destinations in a security group in the China (Hangzhou) region:
|
|
46117
|
-
* * Sample request to create an outbound security group rule that controls access to a
|
|
46118
|
-
* "RegionId":"cn-hangzhou",
|
|
46124
|
+
* * Sample request to create an outbound security group rule that controls access to a specified CIDR block:
|
|
46125
|
+
* "RegionId":"cn-hangzhou", //The region ID.
|
|
46119
46126
|
* "SecurityGroupId":"sg-bp17vs63txqxbds9***", //The ID of the source security group.
|
|
46120
46127
|
* "Permissions":[
|
|
46121
46128
|
* {
|
|
46122
|
-
* "DestCidrIp":
|
|
46123
|
-
* "PortRange":
|
|
46124
|
-
* "IpProtocol":
|
|
46125
|
-
* "Policy": "Accept" //The action.
|
|
46129
|
+
* "DestCidrIp":"10.0.0.0/8", //The destination IPv4 CIDR block.
|
|
46130
|
+
* "PortRange":"-1/-1", //The range of destination port numbers.
|
|
46131
|
+
* "IpProtocol":"ICMP", //The protocol. "Policy":"Accept" //The action.
|
|
46126
46132
|
* }
|
|
46127
46133
|
* ]
|
|
46128
46134
|
* * Sample request to create an outbound security group rule that controls access to a security group and an outbound security group rule that controls access to a prefix list:
|
|
@@ -46130,15 +46136,15 @@ class Client extends openapi_client_1.default {
|
|
|
46130
46136
|
* "SecurityGroupId":"sg-bp17vs63txqxbds9***",
|
|
46131
46137
|
* "Permissions":[
|
|
46132
46138
|
* {
|
|
46133
|
-
* "DestGroupId":
|
|
46134
|
-
* "PortRange":
|
|
46135
|
-
* "IpProtocol":
|
|
46136
|
-
* "Policy":
|
|
46139
|
+
* "DestGroupId":"sg-bp67acfmxazb4pi***", //The ID of the destination security group.
|
|
46140
|
+
* "PortRange":"22/22",
|
|
46141
|
+
* "IpProtocol":"TCP",
|
|
46142
|
+
* "Policy":"Drop"
|
|
46137
46143
|
* },{
|
|
46138
|
-
* "DestPrefixListId":
|
|
46139
|
-
* "PortRange":
|
|
46140
|
-
* "IpProtocol":
|
|
46141
|
-
* "Policy":
|
|
46144
|
+
* "DestPrefixListId":"pl-x1j1k5ykzqlixdcy****", //The ID of the destination prefix list.
|
|
46145
|
+
* "PortRange":"22/22",
|
|
46146
|
+
* "IpProtocol":"TCP",
|
|
46147
|
+
* "Policy":"Drop"
|
|
46142
46148
|
* }
|
|
46143
46149
|
* ]
|
|
46144
46150
|
*
|
|
@@ -46265,10 +46271,10 @@ class Client extends openapi_client_1.default {
|
|
|
46265
46271
|
return await this.cancelCopyImageWithOptions(request, runtime);
|
|
46266
46272
|
}
|
|
46267
46273
|
/**
|
|
46268
|
-
*
|
|
46274
|
+
* Cancels an image building task.
|
|
46269
46275
|
*
|
|
46270
46276
|
* @remarks
|
|
46271
|
-
* Before you call
|
|
46277
|
+
* Before you call the CancelImagePipelineExecution operation, make sure that the image building task to be canceled is in the BUILDING, PREPARING, or REPAIRING state.
|
|
46272
46278
|
*
|
|
46273
46279
|
* @param request - CancelImagePipelineExecutionRequest
|
|
46274
46280
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -46318,10 +46324,10 @@ class Client extends openapi_client_1.default {
|
|
|
46318
46324
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelImagePipelineExecutionResponse({}));
|
|
46319
46325
|
}
|
|
46320
46326
|
/**
|
|
46321
|
-
*
|
|
46327
|
+
* Cancels an image building task.
|
|
46322
46328
|
*
|
|
46323
46329
|
* @remarks
|
|
46324
|
-
* Before you call
|
|
46330
|
+
* Before you call the CancelImagePipelineExecution operation, make sure that the image building task to be canceled is in the BUILDING, PREPARING, or REPAIRING state.
|
|
46325
46331
|
*
|
|
46326
46332
|
* @param request - CancelImagePipelineExecutionRequest
|
|
46327
46333
|
* @returns CancelImagePipelineExecutionResponse
|
|
@@ -46450,7 +46456,7 @@ class Client extends openapi_client_1.default {
|
|
|
46450
46456
|
return await this.cancelSimulatedSystemEventsWithOptions(request, runtime);
|
|
46451
46457
|
}
|
|
46452
46458
|
/**
|
|
46453
|
-
*
|
|
46459
|
+
* Cancels a running task. You can cancel the running tasks generated by the ImportImage or ExportImage operation.
|
|
46454
46460
|
*
|
|
46455
46461
|
* @param request - CancelTaskRequest
|
|
46456
46462
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -46491,7 +46497,7 @@ class Client extends openapi_client_1.default {
|
|
|
46491
46497
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelTaskResponse({}));
|
|
46492
46498
|
}
|
|
46493
46499
|
/**
|
|
46494
|
-
*
|
|
46500
|
+
* Cancels a running task. You can cancel the running tasks generated by the ImportImage or ExportImage operation.
|
|
46495
46501
|
*
|
|
46496
46502
|
* @param request - CancelTaskRequest
|
|
46497
46503
|
* @returns CancelTaskResponse
|
|
@@ -47085,15 +47091,15 @@ class Client extends openapi_client_1.default {
|
|
|
47085
47091
|
return await this.createAutoProvisioningGroupWithOptions(request, runtime);
|
|
47086
47092
|
}
|
|
47087
47093
|
/**
|
|
47088
|
-
* Creates an automatic snapshot policy in a specific region.
|
|
47094
|
+
* Creates an automatic snapshot policy in a specific region. You can specify the schedule on which to create automatic snapshots, the retention period of the automatic snapshots, and whether to enable cross-region replication for the snapshots in the automatic snapshot policy. The automatic snapshot policy can be applied to create snapshots for system disks or data disks to back up disk data.
|
|
47089
47095
|
*
|
|
47090
47096
|
* @remarks
|
|
47091
|
-
*
|
|
47092
|
-
* When you call this operation to create an automatic snapshot policy, you can specify the days of the week on which to create automatic snapshots, the retention period of the automatic snapshots, and whether to enable cross-region replication for the snapshots in the policy to meet your diverse data backup requirements. After the automatic snapshot policy is created, call the [ApplyAutoSnapshotPolicy](https://help.aliyun.com/document_detail/25531.html) operation to apply the policy to disks. If you want to modify the automatic snapshot policy, call the [ModifyAutoSnapshotPolicyEx](https://help.aliyun.com/document_detail/25529.html) operation.
|
|
47097
|
+
* Before you call this operation, learn about how to [create an automatic snapshot policy](https://help.aliyun.com/document_detail/127767.html).
|
|
47093
47098
|
* Take note of the following items:
|
|
47094
|
-
* * You can create up to 100 automatic snapshot policies per region for a single Alibaba Cloud account.
|
|
47095
|
-
* * If
|
|
47096
|
-
* *
|
|
47099
|
+
* * You can create up to 100 automatic snapshot policies per region for a single Alibaba Cloud account. If the maximum number of automatic snapshots for a disk is reached and a new snapshot creation task is created, the system deletes the oldest automatic snapshot of the disk.
|
|
47100
|
+
* * If the instance to which a disk is attached is being stopped or restarted, the system cannot create snapshots for the disk based on the associated automatic snapshot policy.
|
|
47101
|
+
* * If cross-region snapshot replication is enabled and no encryption parameters are configured, encrypted snapshots are copied to the destination region and snapshot copies are encrypted by using the service key of the destination region. For more information about the limits on cross-region snapshot replication, see [Copy a snapshot](https://help.aliyun.com/document_detail/159441.html).
|
|
47102
|
+
* After the automatic snapshot policy is created, call the [ApplyAutoSnapshotPolicy](https://help.aliyun.com/document_detail/25531.html) operation to apply the policy to disks. If you want to modify the automatic snapshot policy, call the [ModifyAutoSnapshotPolicyEx](https://help.aliyun.com/document_detail/25529.html) operation.
|
|
47097
47103
|
*
|
|
47098
47104
|
* @param request - CreateAutoSnapshotPolicyRequest
|
|
47099
47105
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -47164,15 +47170,15 @@ class Client extends openapi_client_1.default {
|
|
|
47164
47170
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateAutoSnapshotPolicyResponse({}));
|
|
47165
47171
|
}
|
|
47166
47172
|
/**
|
|
47167
|
-
* Creates an automatic snapshot policy in a specific region.
|
|
47173
|
+
* Creates an automatic snapshot policy in a specific region. You can specify the schedule on which to create automatic snapshots, the retention period of the automatic snapshots, and whether to enable cross-region replication for the snapshots in the automatic snapshot policy. The automatic snapshot policy can be applied to create snapshots for system disks or data disks to back up disk data.
|
|
47168
47174
|
*
|
|
47169
47175
|
* @remarks
|
|
47170
|
-
*
|
|
47171
|
-
* When you call this operation to create an automatic snapshot policy, you can specify the days of the week on which to create automatic snapshots, the retention period of the automatic snapshots, and whether to enable cross-region replication for the snapshots in the policy to meet your diverse data backup requirements. After the automatic snapshot policy is created, call the [ApplyAutoSnapshotPolicy](https://help.aliyun.com/document_detail/25531.html) operation to apply the policy to disks. If you want to modify the automatic snapshot policy, call the [ModifyAutoSnapshotPolicyEx](https://help.aliyun.com/document_detail/25529.html) operation.
|
|
47176
|
+
* Before you call this operation, learn about how to [create an automatic snapshot policy](https://help.aliyun.com/document_detail/127767.html).
|
|
47172
47177
|
* Take note of the following items:
|
|
47173
|
-
* * You can create up to 100 automatic snapshot policies per region for a single Alibaba Cloud account.
|
|
47174
|
-
* * If
|
|
47175
|
-
* *
|
|
47178
|
+
* * You can create up to 100 automatic snapshot policies per region for a single Alibaba Cloud account. If the maximum number of automatic snapshots for a disk is reached and a new snapshot creation task is created, the system deletes the oldest automatic snapshot of the disk.
|
|
47179
|
+
* * If the instance to which a disk is attached is being stopped or restarted, the system cannot create snapshots for the disk based on the associated automatic snapshot policy.
|
|
47180
|
+
* * If cross-region snapshot replication is enabled and no encryption parameters are configured, encrypted snapshots are copied to the destination region and snapshot copies are encrypted by using the service key of the destination region. For more information about the limits on cross-region snapshot replication, see [Copy a snapshot](https://help.aliyun.com/document_detail/159441.html).
|
|
47181
|
+
* After the automatic snapshot policy is created, call the [ApplyAutoSnapshotPolicy](https://help.aliyun.com/document_detail/25531.html) operation to apply the policy to disks. If you want to modify the automatic snapshot policy, call the [ModifyAutoSnapshotPolicyEx](https://help.aliyun.com/document_detail/25529.html) operation.
|
|
47176
47182
|
*
|
|
47177
47183
|
* @param request - CreateAutoSnapshotPolicyRequest
|
|
47178
47184
|
* @returns CreateAutoSnapshotPolicyResponse
|
|
@@ -48322,10 +48328,9 @@ class Client extends openapi_client_1.default {
|
|
|
48322
48328
|
* ## [](#)Usage notes
|
|
48323
48329
|
* Take note of the following items:
|
|
48324
48330
|
* * You can create only custom image components.
|
|
48325
|
-
* *
|
|
48326
|
-
* *
|
|
48327
|
-
*
|
|
48328
|
-
* You can use image components to create image templates in the Elastic Compute Service (ECS) console, but cannot call API operations to create image templates from image components. For more information, see [What is Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
48331
|
+
* * Each version number of an image component must be unique. When you add a version of an image component to an image template, you can specify the component by its name and version number.
|
|
48332
|
+
* * The content size of an image component cannot exceed 16 KB. For information about the commands supported by Image Builder, see [Commands supported by Image Builder](https://help.aliyun.com/document_detail/200206.html).
|
|
48333
|
+
* For more information, see [Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
48329
48334
|
*
|
|
48330
48335
|
* @param request - CreateImageComponentRequest
|
|
48331
48336
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -48405,10 +48410,9 @@ class Client extends openapi_client_1.default {
|
|
|
48405
48410
|
* ## [](#)Usage notes
|
|
48406
48411
|
* Take note of the following items:
|
|
48407
48412
|
* * You can create only custom image components.
|
|
48408
|
-
* *
|
|
48409
|
-
* *
|
|
48410
|
-
*
|
|
48411
|
-
* You can use image components to create image templates in the Elastic Compute Service (ECS) console, but cannot call API operations to create image templates from image components. For more information, see [What is Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
48413
|
+
* * Each version number of an image component must be unique. When you add a version of an image component to an image template, you can specify the component by its name and version number.
|
|
48414
|
+
* * The content size of an image component cannot exceed 16 KB. For information about the commands supported by Image Builder, see [Commands supported by Image Builder](https://help.aliyun.com/document_detail/200206.html).
|
|
48415
|
+
* For more information, see [Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
48412
48416
|
*
|
|
48413
48417
|
* @param request - CreateImageComponentRequest
|
|
48414
48418
|
* @returns CreateImageComponentResponse
|
|
@@ -48424,13 +48428,12 @@ class Client extends openapi_client_1.default {
|
|
|
48424
48428
|
* ## [](#)Usage notes
|
|
48425
48429
|
* You can use image templates to customize image content and create images across regions and accounts. Take note of the following items:
|
|
48426
48430
|
* * You can create only custom image templates.
|
|
48427
|
-
* * You can
|
|
48428
|
-
* * When you
|
|
48429
|
-
* When you use
|
|
48430
|
-
* *
|
|
48431
|
-
* *
|
|
48432
|
-
*
|
|
48433
|
-
* You can use image components to create image templates in the ECS console, but cannot call API operations to use image components to create image templates. For more information, see [What is Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
48431
|
+
* * You can specify only a public image, a custom image, a shared image, or an image family as the source image when you create an image template.
|
|
48432
|
+
* * When you use an image template to create an image, multiple intermediate instances are created. You are charged for the intermediate instances on a pay-as-you-go basis. For more information, see [Pay-as-you-go](https://help.aliyun.com/document_detail/40653.html).
|
|
48433
|
+
* When you use `BuildContent` to specify the build content in an image template, take note of the following items:
|
|
48434
|
+
* * The `FROM` command is deprecated. Regardless of whether you specify the `FROM` command in `BuildContent`, the system uses the source image specified by `BaseImageType` and `BaseImage`. BaseImageType specifies the type of the source image and BaseImage specifies the source image.
|
|
48435
|
+
* * The size of BuildContent cannot exceed 16 KB. For information about the commands supported by Image Builder, see [Commands supported by Image Builder](https://help.aliyun.com/document_detail/200206.html).
|
|
48436
|
+
* For more information, see [Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
48434
48437
|
*
|
|
48435
48438
|
* @param request - CreateImagePipelineRequest
|
|
48436
48439
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -48540,13 +48543,12 @@ class Client extends openapi_client_1.default {
|
|
|
48540
48543
|
* ## [](#)Usage notes
|
|
48541
48544
|
* You can use image templates to customize image content and create images across regions and accounts. Take note of the following items:
|
|
48542
48545
|
* * You can create only custom image templates.
|
|
48543
|
-
* * You can
|
|
48544
|
-
* * When you
|
|
48545
|
-
* When you use
|
|
48546
|
-
* *
|
|
48547
|
-
* *
|
|
48548
|
-
*
|
|
48549
|
-
* You can use image components to create image templates in the ECS console, but cannot call API operations to use image components to create image templates. For more information, see [What is Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
48546
|
+
* * You can specify only a public image, a custom image, a shared image, or an image family as the source image when you create an image template.
|
|
48547
|
+
* * When you use an image template to create an image, multiple intermediate instances are created. You are charged for the intermediate instances on a pay-as-you-go basis. For more information, see [Pay-as-you-go](https://help.aliyun.com/document_detail/40653.html).
|
|
48548
|
+
* When you use `BuildContent` to specify the build content in an image template, take note of the following items:
|
|
48549
|
+
* * The `FROM` command is deprecated. Regardless of whether you specify the `FROM` command in `BuildContent`, the system uses the source image specified by `BaseImageType` and `BaseImage`. BaseImageType specifies the type of the source image and BaseImage specifies the source image.
|
|
48550
|
+
* * The size of BuildContent cannot exceed 16 KB. For information about the commands supported by Image Builder, see [Commands supported by Image Builder](https://help.aliyun.com/document_detail/200206.html).
|
|
48551
|
+
* For more information, see [Image Builder](https://help.aliyun.com/document_detail/197410.html).
|
|
48550
48552
|
*
|
|
48551
48553
|
* @param request - CreateImagePipelineRequest
|
|
48552
48554
|
* @returns CreateImagePipelineResponse
|
|
@@ -50810,11 +50812,11 @@ class Client extends openapi_client_1.default {
|
|
|
50810
50812
|
return await this.deactivateRouterInterfaceWithOptions(request, runtime);
|
|
50811
50813
|
}
|
|
50812
50814
|
/**
|
|
50813
|
-
*
|
|
50814
|
-
* Before you call this operation to delete an activation code, make sure that the activation code has never been used to register managed instances.
|
|
50815
|
+
* Deletes an unused activation code.
|
|
50815
50816
|
*
|
|
50816
50817
|
* @remarks
|
|
50817
|
-
*
|
|
50818
|
+
* ## [](#)Usage notes
|
|
50819
|
+
* Before you call this operation to delete an activation code, make sure that no managed instances are registered with the activation code.
|
|
50818
50820
|
*
|
|
50819
50821
|
* @param request - DeleteActivationRequest
|
|
50820
50822
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -50861,11 +50863,11 @@ class Client extends openapi_client_1.default {
|
|
|
50861
50863
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteActivationResponse({}));
|
|
50862
50864
|
}
|
|
50863
50865
|
/**
|
|
50864
|
-
*
|
|
50865
|
-
* Before you call this operation to delete an activation code, make sure that the activation code has never been used to register managed instances.
|
|
50866
|
+
* Deletes an unused activation code.
|
|
50866
50867
|
*
|
|
50867
50868
|
* @remarks
|
|
50868
|
-
*
|
|
50869
|
+
* ## [](#)Usage notes
|
|
50870
|
+
* Before you call this operation to delete an activation code, make sure that no managed instances are registered with the activation code.
|
|
50869
50871
|
*
|
|
50870
50872
|
* @param request - DeleteActivationRequest
|
|
50871
50873
|
* @returns DeleteActivationResponse
|
|
@@ -50932,7 +50934,7 @@ class Client extends openapi_client_1.default {
|
|
|
50932
50934
|
return await this.deleteAutoProvisioningGroupWithOptions(request, runtime);
|
|
50933
50935
|
}
|
|
50934
50936
|
/**
|
|
50935
|
-
*
|
|
50937
|
+
* Deletes an automatic snapshot policy. After you delete an automatic snapshot policy, the policy is no longer applied to the disks on which it previously took effect.
|
|
50936
50938
|
*
|
|
50937
50939
|
* @param request - DeleteAutoSnapshotPolicyRequest
|
|
50938
50940
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -50973,7 +50975,7 @@ class Client extends openapi_client_1.default {
|
|
|
50973
50975
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAutoSnapshotPolicyResponse({}));
|
|
50974
50976
|
}
|
|
50975
50977
|
/**
|
|
50976
|
-
*
|
|
50978
|
+
* Deletes an automatic snapshot policy. After you delete an automatic snapshot policy, the policy is no longer applied to the disks on which it previously took effect.
|
|
50977
50979
|
*
|
|
50978
50980
|
* @param request - DeleteAutoSnapshotPolicyRequest
|
|
50979
50981
|
* @returns DeleteAutoSnapshotPolicyResponse
|
|
@@ -51559,7 +51561,7 @@ class Client extends openapi_client_1.default {
|
|
|
51559
51561
|
return await this.deleteHaVipWithOptions(request, runtime);
|
|
51560
51562
|
}
|
|
51561
51563
|
/**
|
|
51562
|
-
*
|
|
51564
|
+
* Deletes a high performance computing (HPC) cluster.
|
|
51563
51565
|
*
|
|
51564
51566
|
* @param request - DeleteHpcClusterRequest
|
|
51565
51567
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -51609,7 +51611,7 @@ class Client extends openapi_client_1.default {
|
|
|
51609
51611
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteHpcClusterResponse({}));
|
|
51610
51612
|
}
|
|
51611
51613
|
/**
|
|
51612
|
-
*
|
|
51614
|
+
* Deletes a high performance computing (HPC) cluster.
|
|
51613
51615
|
*
|
|
51614
51616
|
* @param request - DeleteHpcClusterRequest
|
|
51615
51617
|
* @returns DeleteHpcClusterResponse
|
|
@@ -51808,15 +51810,14 @@ class Client extends openapi_client_1.default {
|
|
|
51808
51810
|
return await this.deleteImagePipelineWithOptions(request, runtime);
|
|
51809
51811
|
}
|
|
51810
51812
|
/**
|
|
51811
|
-
*
|
|
51813
|
+
* Deletes or releases a pay-as-you-go Elastic Compute Service (ECS) instance or an expired subscription ECS instance. You can configure parameters to specify whether to release the disks attached to the instance or retain the disks as pay-as-you-go disks.
|
|
51812
51814
|
*
|
|
51813
51815
|
* @remarks
|
|
51814
51816
|
* *
|
|
51815
51817
|
* **Warning** After an instance is released, all physical resources used by the instance are recycled. Relevant data is erased and cannot be restored.
|
|
51816
|
-
*
|
|
51817
|
-
*
|
|
51818
|
-
*
|
|
51819
|
-
* * If `DeleteAutoSnapshot` is set to false for a cloud disk attached to the instance, the automatic snapshots of the cloud disk are retained when the instance is released. If DeleteAutoSnapshot is set to true for the cloud disk, the cloud disk is released along with the instance.
|
|
51818
|
+
* After you release an instance, the manual snapshots of the cloud disks attached to the instance are retained. Whether the cloud disks and the automatic snapshots of the disks are released is determined by the options that you configured when you created the instance and disks. Before you release the instance, you can call the [DescribeDisks](https://help.aliyun.com/document_detail/2679767.html) operation to query the parameter settings for the cloud disks attached to the instance and the automatic snapshots.
|
|
51819
|
+
* * The cloud disks for which `DeleteWithInstance` is set to false are retained as pay-as-you-go disks after the instance is released. The cloud disks for which DeleteWithInstance is set to true are released along with the instance.
|
|
51820
|
+
* * If `DeleteAutoSnapshot` is set to false for a cloud disk attached to the instance, the automatic snapshots of the cloud disk are retained when the instance is released. If DeleteAutoSnapshot is set to true for the cloud disk, the automatic snapshots of the disk are released along with the instance.
|
|
51820
51821
|
* > When you release an instance that is locked for security reasons, the cloud disks attached to the instance are released even if DeleteWithInstance is set to false.
|
|
51821
51822
|
*
|
|
51822
51823
|
* @param request - DeleteInstanceRequest
|
|
@@ -51867,15 +51868,14 @@ class Client extends openapi_client_1.default {
|
|
|
51867
51868
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteInstanceResponse({}));
|
|
51868
51869
|
}
|
|
51869
51870
|
/**
|
|
51870
|
-
*
|
|
51871
|
+
* Deletes or releases a pay-as-you-go Elastic Compute Service (ECS) instance or an expired subscription ECS instance. You can configure parameters to specify whether to release the disks attached to the instance or retain the disks as pay-as-you-go disks.
|
|
51871
51872
|
*
|
|
51872
51873
|
* @remarks
|
|
51873
51874
|
* *
|
|
51874
51875
|
* **Warning** After an instance is released, all physical resources used by the instance are recycled. Relevant data is erased and cannot be restored.
|
|
51875
|
-
*
|
|
51876
|
-
*
|
|
51877
|
-
*
|
|
51878
|
-
* * If `DeleteAutoSnapshot` is set to false for a cloud disk attached to the instance, the automatic snapshots of the cloud disk are retained when the instance is released. If DeleteAutoSnapshot is set to true for the cloud disk, the cloud disk is released along with the instance.
|
|
51876
|
+
* After you release an instance, the manual snapshots of the cloud disks attached to the instance are retained. Whether the cloud disks and the automatic snapshots of the disks are released is determined by the options that you configured when you created the instance and disks. Before you release the instance, you can call the [DescribeDisks](https://help.aliyun.com/document_detail/2679767.html) operation to query the parameter settings for the cloud disks attached to the instance and the automatic snapshots.
|
|
51877
|
+
* * The cloud disks for which `DeleteWithInstance` is set to false are retained as pay-as-you-go disks after the instance is released. The cloud disks for which DeleteWithInstance is set to true are released along with the instance.
|
|
51878
|
+
* * If `DeleteAutoSnapshot` is set to false for a cloud disk attached to the instance, the automatic snapshots of the cloud disk are retained when the instance is released. If DeleteAutoSnapshot is set to true for the cloud disk, the automatic snapshots of the disk are released along with the instance.
|
|
51879
51879
|
* > When you release an instance that is locked for security reasons, the cloud disks attached to the instance are released even if DeleteWithInstance is set to false.
|
|
51880
51880
|
*
|
|
51881
51881
|
* @param request - DeleteInstanceRequest
|
|
@@ -53237,9 +53237,10 @@ class Client extends openapi_client_1.default {
|
|
|
53237
53237
|
* Queries existing activation codes and their usage information.
|
|
53238
53238
|
*
|
|
53239
53239
|
* @remarks
|
|
53240
|
+
* ## [](#)Usage notes
|
|
53240
53241
|
* You can use one of the following methods to check the responses:
|
|
53241
|
-
*
|
|
53242
|
-
*
|
|
53242
|
+
* * Method 1: During a paged query, when you call the DescribeActivations 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 DescribeActivations 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.
|
|
53243
|
+
* * 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.
|
|
53243
53244
|
*
|
|
53244
53245
|
* @param request - DescribeActivationsRequest
|
|
53245
53246
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -53310,9 +53311,10 @@ class Client extends openapi_client_1.default {
|
|
|
53310
53311
|
* Queries existing activation codes and their usage information.
|
|
53311
53312
|
*
|
|
53312
53313
|
* @remarks
|
|
53314
|
+
* ## [](#)Usage notes
|
|
53313
53315
|
* You can use one of the following methods to check the responses:
|
|
53314
|
-
*
|
|
53315
|
-
*
|
|
53316
|
+
* * Method 1: During a paged query, when you call the DescribeActivations 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 DescribeActivations 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.
|
|
53317
|
+
* * 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.
|
|
53316
53318
|
*
|
|
53317
53319
|
* @param request - DescribeActivationsRequest
|
|
53318
53320
|
* @returns DescribeActivationsResponse
|
|
@@ -53520,7 +53522,7 @@ class Client extends openapi_client_1.default {
|
|
|
53520
53522
|
return await this.describeAutoProvisioningGroupsWithOptions(request, runtime);
|
|
53521
53523
|
}
|
|
53522
53524
|
/**
|
|
53523
|
-
* Queries
|
|
53525
|
+
* Queries the details of automatic snapshot policies that are created in a specific region.
|
|
53524
53526
|
*
|
|
53525
53527
|
* @param request - DescribeAutoSnapshotPolicyExRequest
|
|
53526
53528
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -53579,7 +53581,7 @@ class Client extends openapi_client_1.default {
|
|
|
53579
53581
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAutoSnapshotPolicyExResponse({}));
|
|
53580
53582
|
}
|
|
53581
53583
|
/**
|
|
53582
|
-
* Queries
|
|
53584
|
+
* Queries the details of automatic snapshot policies that are created in a specific region.
|
|
53583
53585
|
*
|
|
53584
53586
|
* @param request - DescribeAutoSnapshotPolicyExRequest
|
|
53585
53587
|
* @returns DescribeAutoSnapshotPolicyExResponse
|
|
@@ -53983,7 +53985,7 @@ class Client extends openapi_client_1.default {
|
|
|
53983
53985
|
return await this.describeCapacityReservationsWithOptions(request, runtime);
|
|
53984
53986
|
}
|
|
53985
53987
|
/**
|
|
53986
|
-
* Queries
|
|
53988
|
+
* Queries instances located in the classic network that have established ClassicLink connections with virtual private clouds (VPCs).
|
|
53987
53989
|
*
|
|
53988
53990
|
* @remarks
|
|
53989
53991
|
* Take note of the following items:
|
|
@@ -54039,7 +54041,7 @@ class Client extends openapi_client_1.default {
|
|
|
54039
54041
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClassicLinkInstancesResponse({}));
|
|
54040
54042
|
}
|
|
54041
54043
|
/**
|
|
54042
|
-
* Queries
|
|
54044
|
+
* Queries instances located in the classic network that have established ClassicLink connections with virtual private clouds (VPCs).
|
|
54043
54045
|
*
|
|
54044
54046
|
* @remarks
|
|
54045
54047
|
* Take note of the following items:
|
|
@@ -54114,9 +54116,7 @@ class Client extends openapi_client_1.default {
|
|
|
54114
54116
|
* @remarks
|
|
54115
54117
|
* ## [](#)Usage notes
|
|
54116
54118
|
* * Before you run commands on or send files to instances, especially new instances, we recommend that you query the status of Cloud Assistant on the instances by calling this operation and checking the return value of CloudAssistantStatus. Run commands on or send files to the instances only when the return value is true.
|
|
54117
|
-
* *
|
|
54118
|
-
* * Method 1: During a paged query, when you call the DescribeCloudAssistantStatus 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 DescribeCloudAssistantStatus 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.
|
|
54119
|
-
* * 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.
|
|
54119
|
+
* * During a paged query, when you call the DescribeCloudAssistantStatus 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 that can be used in the next call to retrieve a new page of results. When you call the DescribeCloudAssistantStatus 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.
|
|
54120
54120
|
*
|
|
54121
54121
|
* @param request - DescribeCloudAssistantStatusRequest
|
|
54122
54122
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -54183,9 +54183,7 @@ class Client extends openapi_client_1.default {
|
|
|
54183
54183
|
* @remarks
|
|
54184
54184
|
* ## [](#)Usage notes
|
|
54185
54185
|
* * Before you run commands on or send files to instances, especially new instances, we recommend that you query the status of Cloud Assistant on the instances by calling this operation and checking the return value of CloudAssistantStatus. Run commands on or send files to the instances only when the return value is true.
|
|
54186
|
-
* *
|
|
54187
|
-
* * Method 1: During a paged query, when you call the DescribeCloudAssistantStatus 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 DescribeCloudAssistantStatus 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.
|
|
54188
|
-
* * 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.
|
|
54186
|
+
* * During a paged query, when you call the DescribeCloudAssistantStatus 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 that can be used in the next call to retrieve a new page of results. When you call the DescribeCloudAssistantStatus 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.
|
|
54189
54187
|
*
|
|
54190
54188
|
* @param request - DescribeCloudAssistantStatusRequest
|
|
54191
54189
|
* @returns DescribeCloudAssistantStatusResponse
|
|
@@ -54253,9 +54251,7 @@ class Client extends openapi_client_1.default {
|
|
|
54253
54251
|
* @remarks
|
|
54254
54252
|
* ## [](#)Usage notes
|
|
54255
54253
|
* * If you specify only `Action` and `RegionId`, all available commands (`CommandId`) that you created in the specified region are queried by default.
|
|
54256
|
-
* *
|
|
54257
|
-
* * Method 1: During a paged query, when you call the DescribeCommands 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 DescribeCommands 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.
|
|
54258
|
-
* * 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.
|
|
54254
|
+
* * During a paged query, when you call the DescribeCommands 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 that can be used in the next call to retrieve a new page of results. When you call the DescribeCommands 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.
|
|
54259
54255
|
*
|
|
54260
54256
|
* @param request - DescribeCommandsRequest
|
|
54261
54257
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -54343,9 +54339,7 @@ class Client extends openapi_client_1.default {
|
|
|
54343
54339
|
* @remarks
|
|
54344
54340
|
* ## [](#)Usage notes
|
|
54345
54341
|
* * If you specify only `Action` and `RegionId`, all available commands (`CommandId`) that you created in the specified region are queried by default.
|
|
54346
|
-
* *
|
|
54347
|
-
* * Method 1: During a paged query, when you call the DescribeCommands 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 DescribeCommands 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.
|
|
54348
|
-
* * 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.
|
|
54342
|
+
* * During a paged query, when you call the DescribeCommands 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 that can be used in the next call to retrieve a new page of results. When you call the DescribeCommands 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.
|
|
54349
54343
|
*
|
|
54350
54344
|
* @param request - DescribeCommandsRequest
|
|
54351
54345
|
* @returns DescribeCommandsResponse
|
|
@@ -56179,12 +56173,11 @@ class Client extends openapi_client_1.default {
|
|
|
56179
56173
|
return await this.describeImageComponentsWithOptions(request, runtime);
|
|
56180
56174
|
}
|
|
56181
56175
|
/**
|
|
56182
|
-
*
|
|
56176
|
+
* Queries available custom images that are most recently created in a specific image family.
|
|
56183
56177
|
*
|
|
56184
56178
|
* @remarks
|
|
56185
|
-
* ##
|
|
56186
|
-
*
|
|
56187
|
-
* * If no available custom images exist in the specified image family, the response is empty.
|
|
56179
|
+
* ## [](#)Usage notes
|
|
56180
|
+
* If no available image exists in a specific image family, the response is empty.
|
|
56188
56181
|
*
|
|
56189
56182
|
* @param request - DescribeImageFromFamilyRequest
|
|
56190
56183
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -56228,12 +56221,11 @@ class Client extends openapi_client_1.default {
|
|
|
56228
56221
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeImageFromFamilyResponse({}));
|
|
56229
56222
|
}
|
|
56230
56223
|
/**
|
|
56231
|
-
*
|
|
56224
|
+
* Queries available custom images that are most recently created in a specific image family.
|
|
56232
56225
|
*
|
|
56233
56226
|
* @remarks
|
|
56234
|
-
* ##
|
|
56235
|
-
*
|
|
56236
|
-
* * If no available custom images exist in the specified image family, the response is empty.
|
|
56227
|
+
* ## [](#)Usage notes
|
|
56228
|
+
* If no available image exists in a specific image family, the response is empty.
|
|
56237
56229
|
*
|
|
56238
56230
|
* @param request - DescribeImageFromFamilyRequest
|
|
56239
56231
|
* @returns DescribeImageFromFamilyResponse
|
|
@@ -56726,7 +56718,7 @@ class Client extends openapi_client_1.default {
|
|
|
56726
56718
|
return await this.describeInstanceAttachmentAttributesWithOptions(request, runtime);
|
|
56727
56719
|
}
|
|
56728
56720
|
/**
|
|
56729
|
-
* Queries the attributes of
|
|
56721
|
+
* Queries the attributes of a specific Elastic Compute Service (ECS) instance.
|
|
56730
56722
|
*
|
|
56731
56723
|
* @param request - DescribeInstanceAttributeRequest
|
|
56732
56724
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -56767,7 +56759,7 @@ class Client extends openapi_client_1.default {
|
|
|
56767
56759
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstanceAttributeResponse({}));
|
|
56768
56760
|
}
|
|
56769
56761
|
/**
|
|
56770
|
-
* Queries the attributes of
|
|
56762
|
+
* Queries the attributes of a specific Elastic Compute Service (ECS) instance.
|
|
56771
56763
|
*
|
|
56772
56764
|
* @param request - DescribeInstanceAttributeRequest
|
|
56773
56765
|
* @returns DescribeInstanceAttributeResponse
|
|
@@ -56780,8 +56772,8 @@ class Client extends openapi_client_1.default {
|
|
|
56780
56772
|
* Queries the auto-renewal attribute of subscription Elastic Compute Service (ECS) instances, including whether auto-renewal is enabled for the instances and the auto-renewal durations of the instances.
|
|
56781
56773
|
*
|
|
56782
56774
|
* @remarks
|
|
56783
|
-
*
|
|
56784
|
-
* *
|
|
56775
|
+
* Only subscription instances are supported. If you call this operation for a pay-as-you-go instance, an error is returned.
|
|
56776
|
+
* * Before you configure auto-renewal or manual renewal for subscription instances, you can query the auto-renewal status of the instances.
|
|
56785
56777
|
*
|
|
56786
56778
|
* @param request - DescribeInstanceAutoRenewAttributeRequest
|
|
56787
56779
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -56837,8 +56829,8 @@ class Client extends openapi_client_1.default {
|
|
|
56837
56829
|
* Queries the auto-renewal attribute of subscription Elastic Compute Service (ECS) instances, including whether auto-renewal is enabled for the instances and the auto-renewal durations of the instances.
|
|
56838
56830
|
*
|
|
56839
56831
|
* @remarks
|
|
56840
|
-
*
|
|
56841
|
-
* *
|
|
56832
|
+
* Only subscription instances are supported. If you call this operation for a pay-as-you-go instance, an error is returned.
|
|
56833
|
+
* * Before you configure auto-renewal or manual renewal for subscription instances, you can query the auto-renewal status of the instances.
|
|
56842
56834
|
*
|
|
56843
56835
|
* @param request - DescribeInstanceAutoRenewAttributeRequest
|
|
56844
56836
|
* @returns DescribeInstanceAutoRenewAttributeResponse
|
|
@@ -57999,9 +57991,7 @@ class Client extends openapi_client_1.default {
|
|
|
57999
57991
|
* * 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.
|
|
58000
57992
|
* * You can query information about command executions within the last four weeks. Up to 100,000 pieces of execution information can be retained.
|
|
58001
57993
|
* * You can [subscribe to Cloud Assistant task status events](https://help.aliyun.com/document_detail/2669130.html) to obtain command execution results from the events. This helps you reduce the number of times to poll API operations and improve efficiency.
|
|
58002
|
-
* *
|
|
58003
|
-
* * 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.
|
|
58004
|
-
* * Method 2: Use `PageSize` to specify the number of entries per page, and then use `PageNumber` to specify the page number. 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.
|
|
57994
|
+
* * 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 that can be used in the next call 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.
|
|
58005
57995
|
* * Comparison between the `DescribeInvocations` and `DescribeInvocationResults` operations:
|
|
58006
57996
|
* * Scenario in which the `RunCommand` or `InvokeCommand` operation is called to run a Cloud Assistant command on multiple instances:
|
|
58007
57997
|
* * The `DescribeInvocations` operation queries the execution status of the command on each instance and the overall execution status of the command on all instances.
|
|
@@ -58096,9 +58086,7 @@ class Client extends openapi_client_1.default {
|
|
|
58096
58086
|
* * 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.
|
|
58097
58087
|
* * You can query information about command executions within the last four weeks. Up to 100,000 pieces of execution information can be retained.
|
|
58098
58088
|
* * You can [subscribe to Cloud Assistant task status events](https://help.aliyun.com/document_detail/2669130.html) to obtain command execution results from the events. This helps you reduce the number of times to poll API operations and improve efficiency.
|
|
58099
|
-
* *
|
|
58100
|
-
* * 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.
|
|
58101
|
-
* * Method 2: Use `PageSize` to specify the number of entries per page, and then use `PageNumber` to specify the page number. 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.
|
|
58089
|
+
* * 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 that can be used in the next call 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.
|
|
58102
58090
|
* * Comparison between the `DescribeInvocations` and `DescribeInvocationResults` operations:
|
|
58103
58091
|
* * Scenario in which the `RunCommand` or `InvokeCommand` operation is called to run a Cloud Assistant command on multiple instances:
|
|
58104
58092
|
* * The `DescribeInvocations` operation queries the execution status of the command on each instance and the overall execution status of the command on all instances.
|
|
@@ -58526,10 +58514,7 @@ class Client extends openapi_client_1.default {
|
|
|
58526
58514
|
* Queries managed instances.
|
|
58527
58515
|
*
|
|
58528
58516
|
* @remarks
|
|
58529
|
-
*
|
|
58530
|
-
* You can use one of the following methods to check the responses:
|
|
58531
|
-
* * Method 1: During a paged query, when you call the DescribeManagedInstances 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 DescribeManagedInstances 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.
|
|
58532
|
-
* * 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.
|
|
58517
|
+
* During a paged query, when you call the DescribeManagedInstances 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 that can be used in the next call to retrieve a new page of results. When you call the DescribeManagedInstances 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.
|
|
58533
58518
|
*
|
|
58534
58519
|
* @param request - DescribeManagedInstancesRequest
|
|
58535
58520
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -58609,10 +58594,7 @@ class Client extends openapi_client_1.default {
|
|
|
58609
58594
|
* Queries managed instances.
|
|
58610
58595
|
*
|
|
58611
58596
|
* @remarks
|
|
58612
|
-
*
|
|
58613
|
-
* You can use one of the following methods to check the responses:
|
|
58614
|
-
* * Method 1: During a paged query, when you call the DescribeManagedInstances 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 DescribeManagedInstances 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.
|
|
58615
|
-
* * 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.
|
|
58597
|
+
* During a paged query, when you call the DescribeManagedInstances 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 that can be used in the next call to retrieve a new page of results. When you call the DescribeManagedInstances 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.
|
|
58616
58598
|
*
|
|
58617
58599
|
* @param request - DescribeManagedInstancesRequest
|
|
58618
58600
|
* @returns DescribeManagedInstancesResponse
|
|
@@ -60340,13 +60322,10 @@ class Client extends openapi_client_1.default {
|
|
|
60340
60322
|
return await this.describeSecurityGroupAttributeWithOptions(request, runtime);
|
|
60341
60323
|
}
|
|
60342
60324
|
/**
|
|
60343
|
-
* Queries the security groups
|
|
60325
|
+
* Queries the security groups whose rules reference security groups as authorization objects.
|
|
60344
60326
|
*
|
|
60345
60327
|
* @remarks
|
|
60346
|
-
*
|
|
60347
|
-
* * A security group can be referenced by the inbound or outbound rules of other security groups.
|
|
60348
|
-
* * Up to 100 entries can be returned each time.
|
|
60349
|
-
* * If a security group cannot be deleted by calling the [DeleteSecurityGroup](https://help.aliyun.com/document_detail/25558.html) operation, you can call the DescribeSecurityGroupReferences operation to check whether the security group is referenced by the rules of other security groups. If the security group is referenced by the rules of other security groups, you must remove the reference before you can delete the security group.
|
|
60328
|
+
* If you cannot delete a security group by calling the [DeleteSecurityGroup](https://help.aliyun.com/document_detail/25558.html) operation, call the DescribeSecurityGroupReferences operation to check whether the security group is referenced by the rules of other security groups. If the security group is referenced by the rules of other security groups, you must call the [RevokeSecurityGroup](https://help.aliyun.com/document_detail/2679855.html) and [RevokeSecurityGroupEgress](https://help.aliyun.com/document_detail/2679856.html) operations to remove the references before you can delete the security group.
|
|
60350
60329
|
*
|
|
60351
60330
|
* @param request - DescribeSecurityGroupReferencesRequest
|
|
60352
60331
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -60390,13 +60369,10 @@ class Client extends openapi_client_1.default {
|
|
|
60390
60369
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSecurityGroupReferencesResponse({}));
|
|
60391
60370
|
}
|
|
60392
60371
|
/**
|
|
60393
|
-
* Queries the security groups
|
|
60372
|
+
* Queries the security groups whose rules reference security groups as authorization objects.
|
|
60394
60373
|
*
|
|
60395
60374
|
* @remarks
|
|
60396
|
-
*
|
|
60397
|
-
* * A security group can be referenced by the inbound or outbound rules of other security groups.
|
|
60398
|
-
* * Up to 100 entries can be returned each time.
|
|
60399
|
-
* * If a security group cannot be deleted by calling the [DeleteSecurityGroup](https://help.aliyun.com/document_detail/25558.html) operation, you can call the DescribeSecurityGroupReferences operation to check whether the security group is referenced by the rules of other security groups. If the security group is referenced by the rules of other security groups, you must remove the reference before you can delete the security group.
|
|
60375
|
+
* If you cannot delete a security group by calling the [DeleteSecurityGroup](https://help.aliyun.com/document_detail/25558.html) operation, call the DescribeSecurityGroupReferences operation to check whether the security group is referenced by the rules of other security groups. If the security group is referenced by the rules of other security groups, you must call the [RevokeSecurityGroup](https://help.aliyun.com/document_detail/2679855.html) and [RevokeSecurityGroupEgress](https://help.aliyun.com/document_detail/2679856.html) operations to remove the references before you can delete the security group.
|
|
60400
60376
|
*
|
|
60401
60377
|
* @param request - DescribeSecurityGroupReferencesRequest
|
|
60402
60378
|
* @returns DescribeSecurityGroupReferencesResponse
|
|
@@ -60522,12 +60498,10 @@ class Client extends openapi_client_1.default {
|
|
|
60522
60498
|
* Queries the files sent by Cloud Assistant and their status.
|
|
60523
60499
|
*
|
|
60524
60500
|
* @remarks
|
|
60525
|
-
* ## [](#)Usage notes
|
|
60501
|
+
* ## [](#)Usage notes
|
|
60526
60502
|
* * When you send a file, the file may fail to be sent to specific Elastic Compute Service (ECS) instances. You can call this operation to check the file sending results.
|
|
60527
60503
|
* * You can call this operation to query the file sending records within the last six weeks.
|
|
60528
|
-
* *
|
|
60529
|
-
* * Method 1: During a paged query, when you call the DescribeSendFileResults 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 DescribeSendFileResults 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.
|
|
60530
|
-
* * 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.
|
|
60504
|
+
* * During a paged query, when you call the DescribeSendFileResults 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 that can be used in the next call to retrieve a new page of results. When you call the DescribeSendFileResults 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.
|
|
60531
60505
|
*
|
|
60532
60506
|
* @param request - DescribeSendFileResultsRequest
|
|
60533
60507
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -60604,12 +60578,10 @@ class Client extends openapi_client_1.default {
|
|
|
60604
60578
|
* Queries the files sent by Cloud Assistant and their status.
|
|
60605
60579
|
*
|
|
60606
60580
|
* @remarks
|
|
60607
|
-
* ## [](#)Usage notes
|
|
60581
|
+
* ## [](#)Usage notes
|
|
60608
60582
|
* * When you send a file, the file may fail to be sent to specific Elastic Compute Service (ECS) instances. You can call this operation to check the file sending results.
|
|
60609
60583
|
* * You can call this operation to query the file sending records within the last six weeks.
|
|
60610
|
-
* *
|
|
60611
|
-
* * Method 1: During a paged query, when you call the DescribeSendFileResults 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 DescribeSendFileResults 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.
|
|
60612
|
-
* * 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.
|
|
60584
|
+
* * During a paged query, when you call the DescribeSendFileResults 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 that can be used in the next call to retrieve a new page of results. When you call the DescribeSendFileResults 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.
|
|
60613
60585
|
*
|
|
60614
60586
|
* @param request - DescribeSendFileResultsRequest
|
|
60615
60587
|
* @returns DescribeSendFileResultsResponse
|
|
@@ -60856,8 +60828,7 @@ class Client extends openapi_client_1.default {
|
|
|
60856
60828
|
return await this.describeSnapshotMonitorDataWithOptions(request, runtime);
|
|
60857
60829
|
}
|
|
60858
60830
|
/**
|
|
60859
|
-
*
|
|
60860
|
-
* Default value: 1.
|
|
60831
|
+
* Queries the Object Storage Service (OSS) storage plans that you purchased in an Alibaba Cloud region. OSS storage plans can be used to offset the storage fees for standard snapshots instead of local snapshots.
|
|
60861
60832
|
*
|
|
60862
60833
|
* @param request - DescribeSnapshotPackageRequest
|
|
60863
60834
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -60904,8 +60875,7 @@ class Client extends openapi_client_1.default {
|
|
|
60904
60875
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSnapshotPackageResponse({}));
|
|
60905
60876
|
}
|
|
60906
60877
|
/**
|
|
60907
|
-
*
|
|
60908
|
-
* Default value: 1.
|
|
60878
|
+
* Queries the Object Storage Service (OSS) storage plans that you purchased in an Alibaba Cloud region. OSS storage plans can be used to offset the storage fees for standard snapshots instead of local snapshots.
|
|
60909
60879
|
*
|
|
60910
60880
|
* @param request - DescribeSnapshotPackageRequest
|
|
60911
60881
|
* @returns DescribeSnapshotPackageResponse
|
|
@@ -61289,7 +61259,7 @@ class Client extends openapi_client_1.default {
|
|
|
61289
61259
|
return await this.describeSpotPriceHistoryWithOptions(request, runtime);
|
|
61290
61260
|
}
|
|
61291
61261
|
/**
|
|
61292
|
-
* Queries the details of
|
|
61262
|
+
* Queries the details of storage capacity units (SCUs). In the request, you can specify the name, status, or capacity of each SCU.
|
|
61293
61263
|
*
|
|
61294
61264
|
* @param request - DescribeStorageCapacityUnitsRequest
|
|
61295
61265
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -61354,7 +61324,7 @@ class Client extends openapi_client_1.default {
|
|
|
61354
61324
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeStorageCapacityUnitsResponse({}));
|
|
61355
61325
|
}
|
|
61356
61326
|
/**
|
|
61357
|
-
* Queries the details of
|
|
61327
|
+
* Queries the details of storage capacity units (SCUs). In the request, you can specify the name, status, or capacity of each SCU.
|
|
61358
61328
|
*
|
|
61359
61329
|
* @param request - DescribeStorageCapacityUnitsRequest
|
|
61360
61330
|
* @returns DescribeStorageCapacityUnitsResponse
|
|
@@ -61631,7 +61601,7 @@ class Client extends openapi_client_1.default {
|
|
|
61631
61601
|
return await this.describeTaskAttributeWithOptions(request, runtime);
|
|
61632
61602
|
}
|
|
61633
61603
|
/**
|
|
61634
|
-
* Queries the progress of one or more asynchronous
|
|
61604
|
+
* Queries the progress of one or more asynchronous tasks.
|
|
61635
61605
|
*
|
|
61636
61606
|
* @remarks
|
|
61637
61607
|
* ## Debugging
|
|
@@ -61700,7 +61670,7 @@ class Client extends openapi_client_1.default {
|
|
|
61700
61670
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTasksResponse({}));
|
|
61701
61671
|
}
|
|
61702
61672
|
/**
|
|
61703
|
-
* Queries the progress of one or more asynchronous
|
|
61673
|
+
* Queries the progress of one or more asynchronous tasks.
|
|
61704
61674
|
*
|
|
61705
61675
|
* @remarks
|
|
61706
61676
|
* ## Debugging
|
|
@@ -62288,7 +62258,7 @@ class Client extends openapi_client_1.default {
|
|
|
62288
62258
|
return await this.describeZonesWithOptions(request, runtime);
|
|
62289
62259
|
}
|
|
62290
62260
|
/**
|
|
62291
|
-
*
|
|
62261
|
+
* Unlinks an Elastic Compute Service (ECS) instance that resides in the classic network from a virtual private cloud (VPC) by closing the ClassicLink connection between the instance and the VPC. After the instance is unlinked from the VPC, the instance can no longer communicate with instances in the VPC.
|
|
62292
62262
|
*
|
|
62293
62263
|
* @param request - DetachClassicLinkVpcRequest
|
|
62294
62264
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -62332,7 +62302,7 @@ class Client extends openapi_client_1.default {
|
|
|
62332
62302
|
return $tea.cast(await this.callApi(params, req, runtime), new DetachClassicLinkVpcResponse({}));
|
|
62333
62303
|
}
|
|
62334
62304
|
/**
|
|
62335
|
-
*
|
|
62305
|
+
* Unlinks an Elastic Compute Service (ECS) instance that resides in the classic network from a virtual private cloud (VPC) by closing the ClassicLink connection between the instance and the VPC. After the instance is unlinked from the VPC, the instance can no longer communicate with instances in the VPC.
|
|
62336
62306
|
*
|
|
62337
62307
|
* @param request - DetachClassicLinkVpcRequest
|
|
62338
62308
|
* @returns DetachClassicLinkVpcResponse
|
|
@@ -62346,11 +62316,8 @@ class Client extends openapi_client_1.default {
|
|
|
62346
62316
|
*
|
|
62347
62317
|
* @remarks
|
|
62348
62318
|
* Take note of the following items:
|
|
62349
|
-
* *
|
|
62350
|
-
* *
|
|
62351
|
-
* * The instance from which you want to detach a system disk must be in the **Stopped** state.``
|
|
62352
|
-
* * If the `OperationLocks` parameter in the response contains `"LockReason" : "security"` when you query the instance information, the instance is locked for security reasons and all operations are prohibited on the instance.
|
|
62353
|
-
* * DetachDisk is an asynchronous operation. After you call the operation to detach a disk from an ECS instance, the disk is detached in approximately 1 minute.
|
|
62319
|
+
* * This operation is an asynchronous operation. After you call the operation to detach a disk from an ECS instance, the disk is detached in approximately 1 minute.
|
|
62320
|
+
* * If `OperationLocks` in the response contains `"LockReason" : "security"` when you query information about an instance, the instance is locked for security reasons and all operations are prohibited on the instance.
|
|
62354
62321
|
* * If you want to attach an elastic ephemeral disk that you detached from an instance, you can attach the disk only to the instance.
|
|
62355
62322
|
*
|
|
62356
62323
|
* @param request - DetachDiskRequest
|
|
@@ -62402,11 +62369,8 @@ class Client extends openapi_client_1.default {
|
|
|
62402
62369
|
*
|
|
62403
62370
|
* @remarks
|
|
62404
62371
|
* Take note of the following items:
|
|
62405
|
-
* *
|
|
62406
|
-
* *
|
|
62407
|
-
* * The instance from which you want to detach a system disk must be in the **Stopped** state.``
|
|
62408
|
-
* * If the `OperationLocks` parameter in the response contains `"LockReason" : "security"` when you query the instance information, the instance is locked for security reasons and all operations are prohibited on the instance.
|
|
62409
|
-
* * DetachDisk is an asynchronous operation. After you call the operation to detach a disk from an ECS instance, the disk is detached in approximately 1 minute.
|
|
62372
|
+
* * This operation is an asynchronous operation. After you call the operation to detach a disk from an ECS instance, the disk is detached in approximately 1 minute.
|
|
62373
|
+
* * If `OperationLocks` in the response contains `"LockReason" : "security"` when you query information about an instance, the instance is locked for security reasons and all operations are prohibited on the instance.
|
|
62410
62374
|
* * If you want to attach an elastic ephemeral disk that you detached from an instance, you can attach the disk only to the instance.
|
|
62411
62375
|
*
|
|
62412
62376
|
* @param request - DetachDiskRequest
|
|
@@ -62623,8 +62587,8 @@ class Client extends openapi_client_1.default {
|
|
|
62623
62587
|
* To prevent an activation code from being leaked, you can call the DisableActivation operation to disable the activation code. Disabled activation codes cannot be used to register new managed instances. However, managed instances that are already registered are not affected.
|
|
62624
62588
|
*
|
|
62625
62589
|
* @remarks
|
|
62626
|
-
*
|
|
62627
|
-
*
|
|
62590
|
+
* ## [](#)Usage notes
|
|
62591
|
+
* To prevent an activation code from being leaked, you can call the DisableActivation operation to disable the activation code. Disabled activation codes cannot be used to register new managed instances. However, managed instances that are already registered are not affected.
|
|
62628
62592
|
*
|
|
62629
62593
|
* @param request - DisableActivationRequest
|
|
62630
62594
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -62674,8 +62638,8 @@ class Client extends openapi_client_1.default {
|
|
|
62674
62638
|
* To prevent an activation code from being leaked, you can call the DisableActivation operation to disable the activation code. Disabled activation codes cannot be used to register new managed instances. However, managed instances that are already registered are not affected.
|
|
62675
62639
|
*
|
|
62676
62640
|
* @remarks
|
|
62677
|
-
*
|
|
62678
|
-
*
|
|
62641
|
+
* ## [](#)Usage notes
|
|
62642
|
+
* To prevent an activation code from being leaked, you can call the DisableActivation operation to disable the activation code. Disabled activation codes cannot be used to register new managed instances. However, managed instances that are already registered are not affected.
|
|
62679
62643
|
*
|
|
62680
62644
|
* @param request - DisableActivationRequest
|
|
62681
62645
|
* @returns DisableActivationResponse
|
|
@@ -63031,6 +62995,8 @@ class Client extends openapi_client_1.default {
|
|
|
63031
62995
|
return await this.exportImageWithOptions(request, runtime);
|
|
63032
62996
|
}
|
|
63033
62997
|
/**
|
|
62998
|
+
* 将快照导出到指定的对象存储
|
|
62999
|
+
*
|
|
63034
63000
|
* @deprecated OpenAPI ExportSnapshot is deprecated
|
|
63035
63001
|
*
|
|
63036
63002
|
* @param request - ExportSnapshotRequest
|
|
@@ -63079,6 +63045,8 @@ class Client extends openapi_client_1.default {
|
|
|
63079
63045
|
return $tea.cast(await this.callApi(params, req, runtime), new ExportSnapshotResponse({}));
|
|
63080
63046
|
}
|
|
63081
63047
|
/**
|
|
63048
|
+
* 将快照导出到指定的对象存储
|
|
63049
|
+
*
|
|
63082
63050
|
* @deprecated OpenAPI ExportSnapshot is deprecated
|
|
63083
63051
|
*
|
|
63084
63052
|
* @param request - ExportSnapshotRequest
|
|
@@ -63504,7 +63472,7 @@ class Client extends openapi_client_1.default {
|
|
|
63504
63472
|
return await this.importImageWithOptions(request, runtime);
|
|
63505
63473
|
}
|
|
63506
63474
|
/**
|
|
63507
|
-
* Imports the public key of a Rivest
|
|
63475
|
+
* Imports the public key of a Rivest-Shamir-Adleman (RSA) key pair that is generated by a third-party tool. After the key pair is imported, Alibaba Cloud stores the public key. You must securely lock away the private key.
|
|
63508
63476
|
*
|
|
63509
63477
|
* @remarks
|
|
63510
63478
|
* Take note of the following items:
|
|
@@ -63571,7 +63539,7 @@ class Client extends openapi_client_1.default {
|
|
|
63571
63539
|
return $tea.cast(await this.callApi(params, req, runtime), new ImportKeyPairResponse({}));
|
|
63572
63540
|
}
|
|
63573
63541
|
/**
|
|
63574
|
-
* Imports the public key of a Rivest
|
|
63542
|
+
* Imports the public key of a Rivest-Shamir-Adleman (RSA) key pair that is generated by a third-party tool. After the key pair is imported, Alibaba Cloud stores the public key. You must securely lock away the private key.
|
|
63575
63543
|
*
|
|
63576
63544
|
* @remarks
|
|
63577
63545
|
* Take note of the following items:
|
|
@@ -64040,13 +64008,10 @@ class Client extends openapi_client_1.default {
|
|
|
64040
64008
|
* Queries the states of Cloud Assistant plug-ins on Elastic Compute Service (ECS) instances.
|
|
64041
64009
|
*
|
|
64042
64010
|
* @remarks
|
|
64043
|
-
*
|
|
64044
|
-
*
|
|
64045
|
-
*
|
|
64046
|
-
*
|
|
64047
|
-
* - You can use one of the following methods to check the responses:
|
|
64048
|
-
* - Method 1: When you call the ListPluginStatus operation to retrieve the first page of results during a paged query, 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 ListPluginStatus operation to retrieve a new page of results, set NextToken to the NextToken value returned in the previous call and use MaxResults to specify the maximum number of entries to return in this call.
|
|
64049
|
-
* - 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.
|
|
64011
|
+
* Before you call this operation to query the status of Cloud Assistant plug-ins on ECS instances, make sure that the versions of Cloud Assistant Agent on the instances are not earlier than the following ones:
|
|
64012
|
+
* * 2.2.3.344 for Linux instances
|
|
64013
|
+
* * 2.1.3.344 for Windows instances
|
|
64014
|
+
* * During a paged query, when you call the ListPluginStatus 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 that can be used in the next call to retrieve a new page of results. When you call the ListPluginStatus 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.
|
|
64050
64015
|
*
|
|
64051
64016
|
* @param request - ListPluginStatusRequest
|
|
64052
64017
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -64111,13 +64076,10 @@ class Client extends openapi_client_1.default {
|
|
|
64111
64076
|
* Queries the states of Cloud Assistant plug-ins on Elastic Compute Service (ECS) instances.
|
|
64112
64077
|
*
|
|
64113
64078
|
* @remarks
|
|
64114
|
-
*
|
|
64115
|
-
*
|
|
64116
|
-
*
|
|
64117
|
-
*
|
|
64118
|
-
* - You can use one of the following methods to check the responses:
|
|
64119
|
-
* - Method 1: When you call the ListPluginStatus operation to retrieve the first page of results during a paged query, 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 ListPluginStatus operation to retrieve a new page of results, set NextToken to the NextToken value returned in the previous call and use MaxResults to specify the maximum number of entries to return in this call.
|
|
64120
|
-
* - 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.
|
|
64079
|
+
* Before you call this operation to query the status of Cloud Assistant plug-ins on ECS instances, make sure that the versions of Cloud Assistant Agent on the instances are not earlier than the following ones:
|
|
64080
|
+
* * 2.2.3.344 for Linux instances
|
|
64081
|
+
* * 2.1.3.344 for Windows instances
|
|
64082
|
+
* * During a paged query, when you call the ListPluginStatus 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 that can be used in the next call to retrieve a new page of results. When you call the ListPluginStatus 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.
|
|
64121
64083
|
*
|
|
64122
64084
|
* @param request - ListPluginStatusRequest
|
|
64123
64085
|
* @returns ListPluginStatusResponse
|
|
@@ -65665,6 +65627,9 @@ class Client extends openapi_client_1.default {
|
|
|
65665
65627
|
async modifyDiskSpecWithOptions(request, runtime) {
|
|
65666
65628
|
tea_util_1.default.validateModel(request);
|
|
65667
65629
|
let query = {};
|
|
65630
|
+
if (!tea_util_1.default.isUnset(request.destinationZoneId)) {
|
|
65631
|
+
query["DestinationZoneId"] = request.destinationZoneId;
|
|
65632
|
+
}
|
|
65668
65633
|
if (!tea_util_1.default.isUnset(request.diskCategory)) {
|
|
65669
65634
|
query["DiskCategory"] = request.diskCategory;
|
|
65670
65635
|
}
|
|
@@ -65996,7 +65961,7 @@ class Client extends openapi_client_1.default {
|
|
|
65996
65961
|
return await this.modifyHaVipAttributeWithOptions(request, runtime);
|
|
65997
65962
|
}
|
|
65998
65963
|
/**
|
|
65999
|
-
*
|
|
65964
|
+
* Modifies the description of a high performance computing (HPC) cluster.
|
|
66000
65965
|
*
|
|
66001
65966
|
* @param request - ModifyHpcClusterAttributeRequest
|
|
66002
65967
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -66052,7 +66017,7 @@ class Client extends openapi_client_1.default {
|
|
|
66052
66017
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyHpcClusterAttributeResponse({}));
|
|
66053
66018
|
}
|
|
66054
66019
|
/**
|
|
66055
|
-
*
|
|
66020
|
+
* Modifies the description of a high performance computing (HPC) cluster.
|
|
66056
66021
|
*
|
|
66057
66022
|
* @param request - ModifyHpcClusterAttributeRequest
|
|
66058
66023
|
* @returns ModifyHpcClusterAttributeResponse
|
|
@@ -66377,28 +66342,7 @@ class Client extends openapi_client_1.default {
|
|
|
66377
66342
|
* Modifies the attributes of an Elastic Compute Service (ECS) instance, such as the password, name, description, hostname, security groups, maximum transmission unit (MTU), and user data of the instance.
|
|
66378
66343
|
*
|
|
66379
66344
|
* @remarks
|
|
66380
|
-
*
|
|
66381
|
-
* If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of the instance, the instance is locked for security reasons and no operations are allowed on the instance.
|
|
66382
|
-
* Take note of the following items:
|
|
66383
|
-
* * If you change the hostname (`HostName`), restart the instance in the ECS console or by calling the [RebootInstance](https://help.aliyun.com/document_detail/25502.html) operation for the new hostname to take effect. For information about how to restart an instance in the ECS console, see [Restart an instance](https://help.aliyun.com/document_detail/25440.html). The new hostname may not take effect if you restart the instance from within the operating system.
|
|
66384
|
-
* * If you reset the password (`Password`), take note of the following items:
|
|
66385
|
-
* * The instance cannot be in the **Starting** (`Starting`) state.
|
|
66386
|
-
* * After you reset the password, restart the instance in the ECS console or by calling the [RebootInstance](https://help.aliyun.com/document_detail/25502.html) operation for the new password to take effect. For information about how to restart an instance in the ECS console, see [Restart an instance](https://help.aliyun.com/document_detail/25440.html). The new password does not take effect if you restart the instance from within the operating system.
|
|
66387
|
-
* * If you modify user data (`UserData`), take note of the following items: The instance must meet the limits for user data. For more information, see [Instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
66388
|
-
* **
|
|
66389
|
-
* **Note** After you restart the instance, the new user data is displayed but not run as scripts.
|
|
66390
|
-
* * If you change the security groups (`SecurityGroupIds.N`), take note of the following items:
|
|
66391
|
-
* * You can move the instance to a security group of a different type. If you want to move the instance to a security group of a different type, you must familiarize yourself with the differences between the rule configurations of the two security group types to prevent impacts on the instance network.
|
|
66392
|
-
* * Security groups of instances in the classic network cannot be changed. For more information, see the description of `SecurityGroupIds.N`.
|
|
66393
|
-
* * If you change the number of queues supported by the primary elastic network interface (ENI) (`NetworkInterfaceQueueNumber`), take note of the following items:
|
|
66394
|
-
* * The instance must be in the Stopped (`Stopped`) state.
|
|
66395
|
-
* * The value of this parameter cannot exceed the maximum number of queues allowed per ENI.
|
|
66396
|
-
* * The total number of queues for all ENIs on the instance cannot exceed the queue quota for the instance type. To query the maximum number of queues per ENI and the queue quota for an instance type, you can call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) operation and view the values of the `MaximumQueueNumberPerEni` and `TotalEniQueueQuantity` response parameters.
|
|
66397
|
-
* * If you set this parameter to -1, the value is reset to the default value for the instance type. To query the default number of queues supported per primary ENI for an instance type, you can call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) operation and view the value of the `PrimaryEniQueueNumber` response parameter.
|
|
66398
|
-
* * If you enable or disable the Jumbo Frames feature (`EnableJumboFrame`), take note of the following items. For more information, see [MTUs](https://help.aliyun.com/document_detail/200512.html).
|
|
66399
|
-
* * The instance must be in the Running (`Running`) or Stopped (`Stopped`) state.
|
|
66400
|
-
* * The instance must reside in a virtual private cloud (VPC).
|
|
66401
|
-
* * After the Jumbo Frames feature is enabled, the MTU value of the instance is set to 8500. After the Jumbo Frames feature is disabled, the MTU value of the instance is set to 1500.
|
|
66345
|
+
* You cannot call this operation to modify the attributes of the ECS instances that are locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](https://help.aliyun.com/document_detail/25695.html).
|
|
66402
66346
|
*
|
|
66403
66347
|
* @param request - ModifyInstanceAttributeRequest
|
|
66404
66348
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -66484,28 +66428,7 @@ class Client extends openapi_client_1.default {
|
|
|
66484
66428
|
* Modifies the attributes of an Elastic Compute Service (ECS) instance, such as the password, name, description, hostname, security groups, maximum transmission unit (MTU), and user data of the instance.
|
|
66485
66429
|
*
|
|
66486
66430
|
* @remarks
|
|
66487
|
-
*
|
|
66488
|
-
* If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of the instance, the instance is locked for security reasons and no operations are allowed on the instance.
|
|
66489
|
-
* Take note of the following items:
|
|
66490
|
-
* * If you change the hostname (`HostName`), restart the instance in the ECS console or by calling the [RebootInstance](https://help.aliyun.com/document_detail/25502.html) operation for the new hostname to take effect. For information about how to restart an instance in the ECS console, see [Restart an instance](https://help.aliyun.com/document_detail/25440.html). The new hostname may not take effect if you restart the instance from within the operating system.
|
|
66491
|
-
* * If you reset the password (`Password`), take note of the following items:
|
|
66492
|
-
* * The instance cannot be in the **Starting** (`Starting`) state.
|
|
66493
|
-
* * After you reset the password, restart the instance in the ECS console or by calling the [RebootInstance](https://help.aliyun.com/document_detail/25502.html) operation for the new password to take effect. For information about how to restart an instance in the ECS console, see [Restart an instance](https://help.aliyun.com/document_detail/25440.html). The new password does not take effect if you restart the instance from within the operating system.
|
|
66494
|
-
* * If you modify user data (`UserData`), take note of the following items: The instance must meet the limits for user data. For more information, see [Instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
66495
|
-
* **
|
|
66496
|
-
* **Note** After you restart the instance, the new user data is displayed but not run as scripts.
|
|
66497
|
-
* * If you change the security groups (`SecurityGroupIds.N`), take note of the following items:
|
|
66498
|
-
* * You can move the instance to a security group of a different type. If you want to move the instance to a security group of a different type, you must familiarize yourself with the differences between the rule configurations of the two security group types to prevent impacts on the instance network.
|
|
66499
|
-
* * Security groups of instances in the classic network cannot be changed. For more information, see the description of `SecurityGroupIds.N`.
|
|
66500
|
-
* * If you change the number of queues supported by the primary elastic network interface (ENI) (`NetworkInterfaceQueueNumber`), take note of the following items:
|
|
66501
|
-
* * The instance must be in the Stopped (`Stopped`) state.
|
|
66502
|
-
* * The value of this parameter cannot exceed the maximum number of queues allowed per ENI.
|
|
66503
|
-
* * The total number of queues for all ENIs on the instance cannot exceed the queue quota for the instance type. To query the maximum number of queues per ENI and the queue quota for an instance type, you can call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) operation and view the values of the `MaximumQueueNumberPerEni` and `TotalEniQueueQuantity` response parameters.
|
|
66504
|
-
* * If you set this parameter to -1, the value is reset to the default value for the instance type. To query the default number of queues supported per primary ENI for an instance type, you can call the [DescribeInstanceTypes](https://help.aliyun.com/document_detail/25620.html) operation and view the value of the `PrimaryEniQueueNumber` response parameter.
|
|
66505
|
-
* * If you enable or disable the Jumbo Frames feature (`EnableJumboFrame`), take note of the following items. For more information, see [MTUs](https://help.aliyun.com/document_detail/200512.html).
|
|
66506
|
-
* * The instance must be in the Running (`Running`) or Stopped (`Stopped`) state.
|
|
66507
|
-
* * The instance must reside in a virtual private cloud (VPC).
|
|
66508
|
-
* * After the Jumbo Frames feature is enabled, the MTU value of the instance is set to 8500. After the Jumbo Frames feature is disabled, the MTU value of the instance is set to 1500.
|
|
66431
|
+
* You cannot call this operation to modify the attributes of the ECS instances that are locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](https://help.aliyun.com/document_detail/25695.html).
|
|
66509
66432
|
*
|
|
66510
66433
|
* @param request - ModifyInstanceAttributeRequest
|
|
66511
66434
|
* @returns ModifyInstanceAttributeResponse
|
|
@@ -67564,11 +67487,11 @@ class Client extends openapi_client_1.default {
|
|
|
67564
67487
|
return await this.modifyLaunchTemplateDefaultVersionWithOptions(request, runtime);
|
|
67565
67488
|
}
|
|
67566
67489
|
/**
|
|
67567
|
-
*
|
|
67490
|
+
* Modifies the information of a managed instance.
|
|
67568
67491
|
*
|
|
67569
67492
|
* @remarks
|
|
67570
|
-
*
|
|
67571
|
-
*
|
|
67493
|
+
* ## [](#)Usage notes
|
|
67494
|
+
* The ModifyManagedInstance operation can be called to change only the name of a single managed instance.
|
|
67572
67495
|
*
|
|
67573
67496
|
* @param request - ModifyManagedInstanceRequest
|
|
67574
67497
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -67618,11 +67541,11 @@ class Client extends openapi_client_1.default {
|
|
|
67618
67541
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyManagedInstanceResponse({}));
|
|
67619
67542
|
}
|
|
67620
67543
|
/**
|
|
67621
|
-
*
|
|
67544
|
+
* Modifies the information of a managed instance.
|
|
67622
67545
|
*
|
|
67623
67546
|
* @remarks
|
|
67624
|
-
*
|
|
67625
|
-
*
|
|
67547
|
+
* ## [](#)Usage notes
|
|
67548
|
+
* The ModifyManagedInstance operation can be called to change only the name of a single managed instance.
|
|
67626
67549
|
*
|
|
67627
67550
|
* @param request - ModifyManagedInstanceRequest
|
|
67628
67551
|
* @returns ModifyManagedInstanceResponse
|
|
@@ -68071,7 +67994,7 @@ class Client extends openapi_client_1.default {
|
|
|
68071
67994
|
return await this.modifyReservedInstanceAttributeWithOptions(request, runtime);
|
|
68072
67995
|
}
|
|
68073
67996
|
/**
|
|
68074
|
-
* Modifies the auto-renewal attributes of reserved instances. You can disable the auto-renewal feature for reserved instances.
|
|
67997
|
+
* Modifies the auto-renewal attributes of reserved instances. You can cancel or disable the auto-renewal feature for reserved instances.
|
|
68075
67998
|
*
|
|
68076
67999
|
* @param request - ModifyReservedInstanceAutoRenewAttributeRequest
|
|
68077
68000
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -68124,7 +68047,7 @@ class Client extends openapi_client_1.default {
|
|
|
68124
68047
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyReservedInstanceAutoRenewAttributeResponse({}));
|
|
68125
68048
|
}
|
|
68126
68049
|
/**
|
|
68127
|
-
* Modifies the auto-renewal attributes of reserved instances. You can disable the auto-renewal feature for reserved instances.
|
|
68050
|
+
* Modifies the auto-renewal attributes of reserved instances. You can cancel or disable the auto-renewal feature for reserved instances.
|
|
68128
68051
|
*
|
|
68129
68052
|
* @param request - ModifyReservedInstanceAutoRenewAttributeRequest
|
|
68130
68053
|
* @returns ModifyReservedInstanceAutoRenewAttributeResponse
|
|
@@ -68137,8 +68060,8 @@ class Client extends openapi_client_1.default {
|
|
|
68137
68060
|
* Modifies the configurations of a reserved instance, such as the instance type, quantity, and zone, to split, merge, or change the scope of the reserved instance.
|
|
68138
68061
|
*
|
|
68139
68062
|
* @remarks
|
|
68140
|
-
* This operation is an asynchronous operation. After you call this operation to modify a reserved instance, the operation starts the modification process and returns the ID of the resulting new reserved instance. The original reserved instance enters the Updating state and then the Inactive state. At the same time, the resulting new reserved instance is generated and enters the Creating state and then the Active state. You can call the [DescribeReservedInstances](https://help.aliyun.com/document_detail/2679781.html) operation to query the states of the reserved instance.
|
|
68141
|
-
* * You can modify the configurations of a reserved instance only
|
|
68063
|
+
* This operation is an asynchronous operation. After you call this operation to modify a reserved instance, the operation starts the modification process and returns the ID of the resulting new reserved instance. The original reserved instance enters the `Updating` state and then the `Inactive` state. At the same time, the resulting new reserved instance is generated and enters the Creating state and then the Active state. You can call the [DescribeReservedInstances](https://help.aliyun.com/document_detail/2679781.html) operation to query the states of the reserved instance.
|
|
68064
|
+
* * You can modify the configurations of a reserved instance only if the reserved instance is in the **Active** state.
|
|
68142
68065
|
* * Make sure that the [computing power](~~140660#2742f3844abzz~~) of the reserved instance remains unchanged before and after the modification. Otherwise, the modification fails.
|
|
68143
68066
|
* * You cannot split, merge, or change the scope of a reserved instance at the same time.
|
|
68144
68067
|
* For more information, see [Split, merge, or modify reserved instances](https://help.aliyun.com/document_detail/100375.html).
|
|
@@ -68161,7 +68084,7 @@ class Client extends openapi_client_1.default {
|
|
|
68161
68084
|
* "InstanceAmount":1
|
|
68162
68085
|
* }
|
|
68163
68086
|
* ]
|
|
68164
|
-
* * **Sample request to merge reserved instance:**: Merge two zonal reserved instances that are scoped to Hangzhou Zone H and can match four pay-as-you-go instances of the ecs.g5.xlarge instance type into one zonal reserved instance that is scoped to Hangzhou Zone H and can match two pay-as-you-go
|
|
68087
|
+
* * **Sample request to merge reserved instance:**: Merge two zonal reserved instances that are scoped to Hangzhou Zone H and can match four pay-as-you-go instances of the ecs.g5.xlarge instance type into one zonal reserved instance that is scoped to Hangzhou Zone H and can match two pay-as-you-go instances of the ecs.g5.4xlarge instance type:
|
|
68165
68088
|
* <!---->
|
|
68166
68089
|
* "RegionId":"cn-hangzhou", //The ID of the region.
|
|
68167
68090
|
* "ReservedInstanceId":["ecsri-bp1hd03e9uv16b75****",""ecsri-bp1hd03e9uv16b76****""], //The IDs of the reserved instances that you want to merge.
|
|
@@ -68235,8 +68158,8 @@ class Client extends openapi_client_1.default {
|
|
|
68235
68158
|
* Modifies the configurations of a reserved instance, such as the instance type, quantity, and zone, to split, merge, or change the scope of the reserved instance.
|
|
68236
68159
|
*
|
|
68237
68160
|
* @remarks
|
|
68238
|
-
* This operation is an asynchronous operation. After you call this operation to modify a reserved instance, the operation starts the modification process and returns the ID of the resulting new reserved instance. The original reserved instance enters the Updating state and then the Inactive state. At the same time, the resulting new reserved instance is generated and enters the Creating state and then the Active state. You can call the [DescribeReservedInstances](https://help.aliyun.com/document_detail/2679781.html) operation to query the states of the reserved instance.
|
|
68239
|
-
* * You can modify the configurations of a reserved instance only
|
|
68161
|
+
* This operation is an asynchronous operation. After you call this operation to modify a reserved instance, the operation starts the modification process and returns the ID of the resulting new reserved instance. The original reserved instance enters the `Updating` state and then the `Inactive` state. At the same time, the resulting new reserved instance is generated and enters the Creating state and then the Active state. You can call the [DescribeReservedInstances](https://help.aliyun.com/document_detail/2679781.html) operation to query the states of the reserved instance.
|
|
68162
|
+
* * You can modify the configurations of a reserved instance only if the reserved instance is in the **Active** state.
|
|
68240
68163
|
* * Make sure that the [computing power](~~140660#2742f3844abzz~~) of the reserved instance remains unchanged before and after the modification. Otherwise, the modification fails.
|
|
68241
68164
|
* * You cannot split, merge, or change the scope of a reserved instance at the same time.
|
|
68242
68165
|
* For more information, see [Split, merge, or modify reserved instances](https://help.aliyun.com/document_detail/100375.html).
|
|
@@ -68259,7 +68182,7 @@ class Client extends openapi_client_1.default {
|
|
|
68259
68182
|
* "InstanceAmount":1
|
|
68260
68183
|
* }
|
|
68261
68184
|
* ]
|
|
68262
|
-
* * **Sample request to merge reserved instance:**: Merge two zonal reserved instances that are scoped to Hangzhou Zone H and can match four pay-as-you-go instances of the ecs.g5.xlarge instance type into one zonal reserved instance that is scoped to Hangzhou Zone H and can match two pay-as-you-go
|
|
68185
|
+
* * **Sample request to merge reserved instance:**: Merge two zonal reserved instances that are scoped to Hangzhou Zone H and can match four pay-as-you-go instances of the ecs.g5.xlarge instance type into one zonal reserved instance that is scoped to Hangzhou Zone H and can match two pay-as-you-go instances of the ecs.g5.4xlarge instance type:
|
|
68263
68186
|
* <!---->
|
|
68264
68187
|
* "RegionId":"cn-hangzhou", //The ID of the region.
|
|
68265
68188
|
* "ReservedInstanceId":["ecsri-bp1hd03e9uv16b75****",""ecsri-bp1hd03e9uv16b76****""], //The IDs of the reserved instances that you want to merge.
|
|
@@ -68500,7 +68423,7 @@ class Client extends openapi_client_1.default {
|
|
|
68500
68423
|
* @remarks
|
|
68501
68424
|
* Take note of the following items:
|
|
68502
68425
|
* * An authorization object in a security group rule can be of one of the following types: IPv4 CIDR block or address, IPv6 CIDR block or address, 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 IPv4 CIDR block, you can change the authorization object to a different IPv4 CIDR block or an IPv4 address, but you cannot change the authorization object to an IPv6 CIDR block or address, a security group, or a prefix list.
|
|
68503
|
-
* * 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
|
|
68426
|
+
* * 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.
|
|
68504
68427
|
*
|
|
68505
68428
|
* @param request - ModifySecurityGroupEgressRuleRequest
|
|
68506
68429
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -68603,7 +68526,7 @@ class Client extends openapi_client_1.default {
|
|
|
68603
68526
|
* @remarks
|
|
68604
68527
|
* Take note of the following items:
|
|
68605
68528
|
* * An authorization object in a security group rule can be of one of the following types: IPv4 CIDR block or address, IPv6 CIDR block or address, 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 IPv4 CIDR block, you can change the authorization object to a different IPv4 CIDR block or an IPv4 address, but you cannot change the authorization object to an IPv6 CIDR block or address, a security group, or a prefix list.
|
|
68606
|
-
* * 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
|
|
68529
|
+
* * 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.
|
|
68607
68530
|
*
|
|
68608
68531
|
* @param request - ModifySecurityGroupEgressRuleRequest
|
|
68609
68532
|
* @returns ModifySecurityGroupEgressRuleResponse
|
|
@@ -69743,18 +69666,15 @@ class Client extends openapi_client_1.default {
|
|
|
69743
69666
|
return await this.reActivateInstancesWithOptions(request, runtime);
|
|
69744
69667
|
}
|
|
69745
69668
|
/**
|
|
69746
|
-
* Re-initializes a disk to the state
|
|
69669
|
+
* Re-initializes a cloud disk to the state when the cloud disk was created.
|
|
69747
69670
|
*
|
|
69748
69671
|
* @remarks
|
|
69749
|
-
* ## [](#)Usage notes
|
|
69750
69672
|
* Take note of the following items:
|
|
69751
|
-
* * The disk that you want to re-initialize must be in the **In Use** (In_use) state and the instance to which the disk is attached must be in the **Stopped** (
|
|
69673
|
+
* * The disk that you want to re-initialize must be in the **In Use** (`In_use`) state and the instance to which the disk is attached must be in the **Stopped** (`Stoppe`) state.
|
|
69752
69674
|
* * If an instance has never been started since it was created, the disks attached to it cannot be re-initialized.
|
|
69753
69675
|
* * If a local snapshot has been created for a disk, the disk cannot be re-initialized.
|
|
69754
69676
|
* * If a system disk is re-initialized, the disk is restored to the state of the image from which it was created. If the image has been deleted, the disk cannot be re-initialized.
|
|
69755
|
-
* *
|
|
69756
|
-
* * If a data disk that was created from a snapshot is re-initialized, the disk is restored to the state of the snapshot.
|
|
69757
|
-
* > If the source snapshot is deleted, the disk cannot be re-initialized and an error is returned.
|
|
69677
|
+
* * For a data disk that was created from scratch, the disk is initialized to the empty disk state. For a data disk that is created from a snapshot, the disk is initialized to the snapshot state. If the snapshots were deleted, the disks cannot be re-initialized and an error is returned.
|
|
69758
69678
|
*
|
|
69759
69679
|
* @param request - ReInitDiskRequest
|
|
69760
69680
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -69807,18 +69727,15 @@ class Client extends openapi_client_1.default {
|
|
|
69807
69727
|
return $tea.cast(await this.callApi(params, req, runtime), new ReInitDiskResponse({}));
|
|
69808
69728
|
}
|
|
69809
69729
|
/**
|
|
69810
|
-
* Re-initializes a disk to the state
|
|
69730
|
+
* Re-initializes a cloud disk to the state when the cloud disk was created.
|
|
69811
69731
|
*
|
|
69812
69732
|
* @remarks
|
|
69813
|
-
* ## [](#)Usage notes
|
|
69814
69733
|
* Take note of the following items:
|
|
69815
|
-
* * The disk that you want to re-initialize must be in the **In Use** (In_use) state and the instance to which the disk is attached must be in the **Stopped** (
|
|
69734
|
+
* * The disk that you want to re-initialize must be in the **In Use** (`In_use`) state and the instance to which the disk is attached must be in the **Stopped** (`Stoppe`) state.
|
|
69816
69735
|
* * If an instance has never been started since it was created, the disks attached to it cannot be re-initialized.
|
|
69817
69736
|
* * If a local snapshot has been created for a disk, the disk cannot be re-initialized.
|
|
69818
69737
|
* * If a system disk is re-initialized, the disk is restored to the state of the image from which it was created. If the image has been deleted, the disk cannot be re-initialized.
|
|
69819
|
-
* *
|
|
69820
|
-
* * If a data disk that was created from a snapshot is re-initialized, the disk is restored to the state of the snapshot.
|
|
69821
|
-
* > If the source snapshot is deleted, the disk cannot be re-initialized and an error is returned.
|
|
69738
|
+
* * For a data disk that was created from scratch, the disk is initialized to the empty disk state. For a data disk that is created from a snapshot, the disk is initialized to the snapshot state. If the snapshots were deleted, the disks cannot be re-initialized and an error is returned.
|
|
69822
69739
|
*
|
|
69823
69740
|
* @param request - ReInitDiskRequest
|
|
69824
69741
|
* @returns ReInitDiskResponse
|
|
@@ -69831,10 +69748,10 @@ class Client extends openapi_client_1.default {
|
|
|
69831
69748
|
* Restarts an Elastic Compute Service (ECS) instance.
|
|
69832
69749
|
*
|
|
69833
69750
|
* @remarks
|
|
69834
|
-
* This operation is an asynchronous operation. After you call this operation to restart an ECS instance, the operation sets the status of the ECS instance to `Starting` and begins the restart process. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the
|
|
69835
|
-
*
|
|
69836
|
-
*
|
|
69837
|
-
*
|
|
69751
|
+
* This operation is an asynchronous operation. After you call this operation to restart an ECS instance, the operation sets the status of the ECS instance to `Starting` and begins the restart process. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the instance. When the status of the ECS instance changes to `Running`, the instance is restarted.
|
|
69752
|
+
* ### [](#)Considerations
|
|
69753
|
+
* * You cannot call this operation to restart an ECS instance that is locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](https://help.aliyun.com/document_detail/25695.html).
|
|
69754
|
+
* * The ECS instance that you want to restart must be in the **Running** (`Running`) state.
|
|
69838
69755
|
*
|
|
69839
69756
|
* @param request - RebootInstanceRequest
|
|
69840
69757
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -69884,10 +69801,10 @@ class Client extends openapi_client_1.default {
|
|
|
69884
69801
|
* Restarts an Elastic Compute Service (ECS) instance.
|
|
69885
69802
|
*
|
|
69886
69803
|
* @remarks
|
|
69887
|
-
* This operation is an asynchronous operation. After you call this operation to restart an ECS instance, the operation sets the status of the ECS instance to `Starting` and begins the restart process. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the
|
|
69888
|
-
*
|
|
69889
|
-
*
|
|
69890
|
-
*
|
|
69804
|
+
* This operation is an asynchronous operation. After you call this operation to restart an ECS instance, the operation sets the status of the ECS instance to `Starting` and begins the restart process. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the instance. When the status of the ECS instance changes to `Running`, the instance is restarted.
|
|
69805
|
+
* ### [](#)Considerations
|
|
69806
|
+
* * You cannot call this operation to restart an ECS instance that is locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](https://help.aliyun.com/document_detail/25695.html).
|
|
69807
|
+
* * The ECS instance that you want to restart must be in the **Running** (`Running`) state.
|
|
69891
69808
|
*
|
|
69892
69809
|
* @param request - RebootInstanceRequest
|
|
69893
69810
|
* @returns RebootInstanceResponse
|
|
@@ -70378,7 +70295,7 @@ class Client extends openapi_client_1.default {
|
|
|
70378
70295
|
return await this.releaseEipAddressWithOptions(request, runtime);
|
|
70379
70296
|
}
|
|
70380
70297
|
/**
|
|
70381
|
-
*
|
|
70298
|
+
* Disassociates a public IP address from an Elastic Compute Service (ECS) instance.
|
|
70382
70299
|
*
|
|
70383
70300
|
* @deprecated OpenAPI ReleasePublicIpAddress is deprecated
|
|
70384
70301
|
*
|
|
@@ -70419,7 +70336,7 @@ class Client extends openapi_client_1.default {
|
|
|
70419
70336
|
return $tea.cast(await this.callApi(params, req, runtime), new ReleasePublicIpAddressResponse({}));
|
|
70420
70337
|
}
|
|
70421
70338
|
/**
|
|
70422
|
-
*
|
|
70339
|
+
* Disassociates a public IP address from an Elastic Compute Service (ECS) instance.
|
|
70423
70340
|
*
|
|
70424
70341
|
* @deprecated OpenAPI ReleasePublicIpAddress is deprecated
|
|
70425
70342
|
*
|
|
@@ -70494,7 +70411,7 @@ class Client extends openapi_client_1.default {
|
|
|
70494
70411
|
return await this.removeBandwidthPackageIpsWithOptions(request, runtime);
|
|
70495
70412
|
}
|
|
70496
70413
|
/**
|
|
70497
|
-
* Removes
|
|
70414
|
+
* Removes tags from a resource, such as an Elastic Compute Service (ECS) instance, disk, snapshot, image, or security group.
|
|
70498
70415
|
*
|
|
70499
70416
|
* @deprecated OpenAPI RemoveTags is deprecated, please use Ecs::2014-05-26::UntagResources instead.
|
|
70500
70417
|
*
|
|
@@ -70544,7 +70461,7 @@ class Client extends openapi_client_1.default {
|
|
|
70544
70461
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveTagsResponse({}));
|
|
70545
70462
|
}
|
|
70546
70463
|
/**
|
|
70547
|
-
* Removes
|
|
70464
|
+
* Removes tags from a resource, such as an Elastic Compute Service (ECS) instance, disk, snapshot, image, or security group.
|
|
70548
70465
|
*
|
|
70549
70466
|
* @deprecated OpenAPI RemoveTags is deprecated, please use Ecs::2014-05-26::UntagResources instead.
|
|
70550
70467
|
*
|
|
@@ -70850,18 +70767,18 @@ class Client extends openapi_client_1.default {
|
|
|
70850
70767
|
return await this.renewReservedInstancesWithOptions(request, runtime);
|
|
70851
70768
|
}
|
|
70852
70769
|
/**
|
|
70853
|
-
* Replaces the operating system of an Elastic Compute Service (ECS) instance. After
|
|
70770
|
+
* Replaces the operating system of an Elastic Compute Service (ECS) instance. After the operating system of the ECS instance is replaced, the original system disk of the instance is released and a new system disk is generated for the instance. This causes the ID of the system disk to change.
|
|
70854
70771
|
*
|
|
70855
70772
|
* @remarks
|
|
70856
|
-
*
|
|
70857
|
-
*
|
|
70858
|
-
* * The category of the system disk cannot be changed.
|
|
70773
|
+
* Before you call this operation, read [Replace the operating system (system disk) of an instance](https://help.aliyun.com/document_detail/25436.html).
|
|
70774
|
+
* When you call this operation for an ECS instance, take note of the following items:
|
|
70859
70775
|
* * The billing method of the system disk cannot be changed.
|
|
70776
|
+
* * The category of the system disk cannot be changed.
|
|
70777
|
+
* * Make sure that no unpaid orders are associated with the instance.
|
|
70860
70778
|
* * The instance must be in the `Stopped` state.
|
|
70861
70779
|
* **
|
|
70862
|
-
* **Note** The operation is applicable only to instances of the Virtual Private Cloud (VPC) type. If the instance is a pay-as-you-go instance and economical mode is enabled
|
|
70863
|
-
* * The
|
|
70864
|
-
* * No unpaid orders are associated with the instance.
|
|
70780
|
+
* **Note** The operation is applicable only to instances of the Virtual Private Cloud (VPC) type. If the instance is a pay-as-you-go instance and default economical mode is enabled, enable standard mode when you stop the instance. This prevents the instance from being unable to restart due to insufficient ECS resources after the system disk is replaced. For more information, see [StopInstance](https://help.aliyun.com/document_detail/25501.html).
|
|
70781
|
+
* * The instance cannot be locked for security reasons. If the value of `OperationLocks` in the DescribeInstances response contains `"LockReason": "security"` for an instance, the instance is locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](https://help.aliyun.com/document_detail/25695.html).
|
|
70865
70782
|
* * You can configure `SystemDisk.Size` to specify the capacity of the new system disk.
|
|
70866
70783
|
* After you call the ReplaceSystemDisk operation, you can use one of the following methods to check whether the system disk is replaced:
|
|
70867
70784
|
* * Call the [DescribeDisks](https://help.aliyun.com/document_detail/25514.html) operation to query the status of the new system disk. If the new system disk is in the In Use state, the system disk is replaced.
|
|
@@ -70951,18 +70868,18 @@ class Client extends openapi_client_1.default {
|
|
|
70951
70868
|
return $tea.cast(await this.callApi(params, req, runtime), new ReplaceSystemDiskResponse({}));
|
|
70952
70869
|
}
|
|
70953
70870
|
/**
|
|
70954
|
-
* Replaces the operating system of an Elastic Compute Service (ECS) instance. After
|
|
70871
|
+
* Replaces the operating system of an Elastic Compute Service (ECS) instance. After the operating system of the ECS instance is replaced, the original system disk of the instance is released and a new system disk is generated for the instance. This causes the ID of the system disk to change.
|
|
70955
70872
|
*
|
|
70956
70873
|
* @remarks
|
|
70957
|
-
*
|
|
70958
|
-
*
|
|
70959
|
-
* * The category of the system disk cannot be changed.
|
|
70874
|
+
* Before you call this operation, read [Replace the operating system (system disk) of an instance](https://help.aliyun.com/document_detail/25436.html).
|
|
70875
|
+
* When you call this operation for an ECS instance, take note of the following items:
|
|
70960
70876
|
* * The billing method of the system disk cannot be changed.
|
|
70877
|
+
* * The category of the system disk cannot be changed.
|
|
70878
|
+
* * Make sure that no unpaid orders are associated with the instance.
|
|
70961
70879
|
* * The instance must be in the `Stopped` state.
|
|
70962
70880
|
* **
|
|
70963
|
-
* **Note** The operation is applicable only to instances of the Virtual Private Cloud (VPC) type. If the instance is a pay-as-you-go instance and economical mode is enabled
|
|
70964
|
-
* * The
|
|
70965
|
-
* * No unpaid orders are associated with the instance.
|
|
70881
|
+
* **Note** The operation is applicable only to instances of the Virtual Private Cloud (VPC) type. If the instance is a pay-as-you-go instance and default economical mode is enabled, enable standard mode when you stop the instance. This prevents the instance from being unable to restart due to insufficient ECS resources after the system disk is replaced. For more information, see [StopInstance](https://help.aliyun.com/document_detail/25501.html).
|
|
70882
|
+
* * The instance cannot be locked for security reasons. If the value of `OperationLocks` in the DescribeInstances response contains `"LockReason": "security"` for an instance, the instance is locked for security reasons. For more information, see [API behavior when an instance is locked for security reasons](https://help.aliyun.com/document_detail/25695.html).
|
|
70966
70883
|
* * You can configure `SystemDisk.Size` to specify the capacity of the new system disk.
|
|
70967
70884
|
* After you call the ReplaceSystemDisk operation, you can use one of the following methods to check whether the system disk is replaced:
|
|
70968
70885
|
* * Call the [DescribeDisks](https://help.aliyun.com/document_detail/25514.html) operation to query the status of the new system disk. If the new system disk is in the In Use state, the system disk is replaced.
|
|
@@ -71057,11 +70974,11 @@ class Client extends openapi_client_1.default {
|
|
|
71057
70974
|
* Rolls back a cloud disk to a snapshot from an earlier point in time.
|
|
71058
70975
|
*
|
|
71059
70976
|
* @remarks
|
|
71060
|
-
*
|
|
71061
|
-
* * The disk must be in the In Use (
|
|
71062
|
-
* * The
|
|
71063
|
-
* * The snapshot specified by
|
|
71064
|
-
* *
|
|
70977
|
+
* Take note of the following items:
|
|
70978
|
+
* * The cloud disk that you want to roll back must be in the In Use (`In_use`) or Unattached (`Available`) state.
|
|
70979
|
+
* * The instance to which the cloud disk is attached must be in the `Stopped` state. You can call the [StopInstances](https://help.aliyun.com/document_detail/155372.html) operation to stop the instance.
|
|
70980
|
+
* * The snapshot specified by `SnapshotId` must be created from the disk specified by `DiskId`.
|
|
70981
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query information about an instance by calling the [DescribeInstances](https://help.aliyun.com/document_detail/25506.html) operation, the instance is locked for security reasons and no operations can be performed on the instance.
|
|
71065
70982
|
*
|
|
71066
70983
|
* @param request - ResetDiskRequest
|
|
71067
70984
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -71111,11 +71028,11 @@ class Client extends openapi_client_1.default {
|
|
|
71111
71028
|
* Rolls back a cloud disk to a snapshot from an earlier point in time.
|
|
71112
71029
|
*
|
|
71113
71030
|
* @remarks
|
|
71114
|
-
*
|
|
71115
|
-
* * The disk must be in the In Use (
|
|
71116
|
-
* * The
|
|
71117
|
-
* * The snapshot specified by
|
|
71118
|
-
* *
|
|
71031
|
+
* Take note of the following items:
|
|
71032
|
+
* * The cloud disk that you want to roll back must be in the In Use (`In_use`) or Unattached (`Available`) state.
|
|
71033
|
+
* * The instance to which the cloud disk is attached must be in the `Stopped` state. You can call the [StopInstances](https://help.aliyun.com/document_detail/155372.html) operation to stop the instance.
|
|
71034
|
+
* * The snapshot specified by `SnapshotId` must be created from the disk specified by `DiskId`.
|
|
71035
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query information about an instance by calling the [DescribeInstances](https://help.aliyun.com/document_detail/25506.html) operation, the instance is locked for security reasons and no operations can be performed on the instance.
|
|
71119
71036
|
*
|
|
71120
71037
|
* @param request - ResetDiskRequest
|
|
71121
71038
|
* @returns ResetDiskResponse
|
|
@@ -71324,48 +71241,55 @@ class Client extends openapi_client_1.default {
|
|
|
71324
71241
|
return await this.resizeDiskWithOptions(request, runtime);
|
|
71325
71242
|
}
|
|
71326
71243
|
/**
|
|
71327
|
-
* Deletes
|
|
71244
|
+
* Deletes inbound security group rules from a specific security group.
|
|
71328
71245
|
*
|
|
71329
71246
|
* @remarks
|
|
71330
|
-
*
|
|
71247
|
+
* > Alibaba Cloud modified verification rules for the RevokeSecurityGroup operation on July 8, 2024. When you use the RevokeSecurityGroup operation to delete a security group rule that does not exist, the "InvalidSecurityGroupRule.RuleNotExist" error code is returned instead of a success response. Update the RevokeSecurityGroup operation to use the new verification rules with the new error code based on your business requirements.
|
|
71331
71248
|
* When you call this operation, you can use one of the following groups of parameters to specify the security group rules that you want to delete:
|
|
71332
|
-
* * Parameters used to specify the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules.
|
|
71333
|
-
*
|
|
71334
|
-
*
|
|
71335
|
-
* &SecurityGroupRuleId.1=sgr-bpdfmk****
|
|
71336
|
-
* &SecurityGroupRuleId.2=sgr-bpdfmg****
|
|
71337
|
-
* &<Common request parameters>
|
|
71338
|
-
* * Parameters that are prefixed with Permissions.N.
|
|
71249
|
+
* * Parameters used to specify the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules.
|
|
71250
|
+
* * If a security group rule ID that you specify does not exist, an error is reported.
|
|
71251
|
+
* * Parameters that start with Permissions.
|
|
71339
71252
|
* * If no security group rule matches the specified parameters, the call to RevokeSecurityGroup is successful but no security group rules are deleted.
|
|
71340
|
-
* *
|
|
71341
|
-
*
|
|
71342
|
-
*
|
|
71343
|
-
*
|
|
71344
|
-
*
|
|
71345
|
-
*
|
|
71346
|
-
*
|
|
71347
|
-
*
|
|
71348
|
-
*
|
|
71349
|
-
*
|
|
71350
|
-
*
|
|
71351
|
-
*
|
|
71352
|
-
*
|
|
71353
|
-
*
|
|
71354
|
-
*
|
|
71355
|
-
*
|
|
71356
|
-
*
|
|
71357
|
-
*
|
|
71358
|
-
*
|
|
71359
|
-
*
|
|
71360
|
-
*
|
|
71361
|
-
*
|
|
71362
|
-
*
|
|
71363
|
-
*
|
|
71364
|
-
*
|
|
71365
|
-
*
|
|
71366
|
-
*
|
|
71367
|
-
*
|
|
71368
|
-
*
|
|
71253
|
+
* * Define an inbound security group rule by configuring the following parameters together:
|
|
71254
|
+
* * Source: You can specify one parameter from SourceCidrIp (IPv4 address), Ipv6SourceCidrIp (IPv6 address), SourcePrefixListId (prefix list ID), and SourceGroupId (source security group ID).
|
|
71255
|
+
* * PortRange: specifies the range of destination port numbers.
|
|
71256
|
+
* * IpProtocol: specifies the protocol.
|
|
71257
|
+
* * Policy: specifies the action.
|
|
71258
|
+
* > You cannot specify the security group rule IDs and the parameters that start with Permissions in the same request.
|
|
71259
|
+
* ### [](#)Sample requests
|
|
71260
|
+
* * Delete security group rules by specifying their IDs.
|
|
71261
|
+
* <!---->
|
|
71262
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****", // The security group ID.
|
|
71263
|
+
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"] // The IDs of the security group rules.
|
|
71264
|
+
* * Delete security group rules by specifying a CIDR block.
|
|
71265
|
+
* <!---->
|
|
71266
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
71267
|
+
* "Permissions":[
|
|
71268
|
+
* {
|
|
71269
|
+
* "SourceCidrIp":"10.0.0.0/8", // The source IPv4 CIDR block.
|
|
71270
|
+
* "IpProtocol":"TCP", // The protocol.
|
|
71271
|
+
* "PortRange":"80/80", // The range of destination port numbers. "Policy":"accept" // The action. }
|
|
71272
|
+
* ]
|
|
71273
|
+
* * Delete security group rules in which a security group is specified.
|
|
71274
|
+
* <!---->
|
|
71275
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
71276
|
+
* "Permissions":[
|
|
71277
|
+
* {
|
|
71278
|
+
* "SourceGroupId":"sg-bp67acfmxa123b****", // The ID of the source security group. "IpProtocol":"TCP,"
|
|
71279
|
+
* "PortRange":"80/80",
|
|
71280
|
+
* "Policy":"accept"
|
|
71281
|
+
* ]
|
|
71282
|
+
* }
|
|
71283
|
+
* * Delete security group rules in which a prefix list is specified.
|
|
71284
|
+
* <!---->
|
|
71285
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
71286
|
+
* "Permissions":[
|
|
71287
|
+
* {
|
|
71288
|
+
* "SourcePrefixListId":"pl-x1j1k5ykzqlixdcy****", // The ID of the source prefix list. "IpProtocol":"TCP",
|
|
71289
|
+
* "PortRange":"80/80",
|
|
71290
|
+
* "Policy":"accept"
|
|
71291
|
+
* }
|
|
71292
|
+
* ]
|
|
71369
71293
|
*
|
|
71370
71294
|
* @param request - RevokeSecurityGroupRequest
|
|
71371
71295
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -71472,48 +71396,55 @@ class Client extends openapi_client_1.default {
|
|
|
71472
71396
|
return $tea.cast(await this.callApi(params, req, runtime), new RevokeSecurityGroupResponse({}));
|
|
71473
71397
|
}
|
|
71474
71398
|
/**
|
|
71475
|
-
* Deletes
|
|
71399
|
+
* Deletes inbound security group rules from a specific security group.
|
|
71476
71400
|
*
|
|
71477
71401
|
* @remarks
|
|
71478
|
-
*
|
|
71402
|
+
* > Alibaba Cloud modified verification rules for the RevokeSecurityGroup operation on July 8, 2024. When you use the RevokeSecurityGroup operation to delete a security group rule that does not exist, the "InvalidSecurityGroupRule.RuleNotExist" error code is returned instead of a success response. Update the RevokeSecurityGroup operation to use the new verification rules with the new error code based on your business requirements.
|
|
71479
71403
|
* When you call this operation, you can use one of the following groups of parameters to specify the security group rules that you want to delete:
|
|
71480
|
-
* * Parameters used to specify the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules.
|
|
71481
|
-
*
|
|
71482
|
-
*
|
|
71483
|
-
* &SecurityGroupRuleId.1=sgr-bpdfmk****
|
|
71484
|
-
* &SecurityGroupRuleId.2=sgr-bpdfmg****
|
|
71485
|
-
* &<Common request parameters>
|
|
71486
|
-
* * Parameters that are prefixed with Permissions.N.
|
|
71404
|
+
* * Parameters used to specify the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules.
|
|
71405
|
+
* * If a security group rule ID that you specify does not exist, an error is reported.
|
|
71406
|
+
* * Parameters that start with Permissions.
|
|
71487
71407
|
* * If no security group rule matches the specified parameters, the call to RevokeSecurityGroup is successful but no security group rules are deleted.
|
|
71488
|
-
* *
|
|
71489
|
-
*
|
|
71490
|
-
*
|
|
71491
|
-
*
|
|
71492
|
-
*
|
|
71493
|
-
*
|
|
71494
|
-
*
|
|
71495
|
-
*
|
|
71496
|
-
*
|
|
71497
|
-
*
|
|
71498
|
-
*
|
|
71499
|
-
*
|
|
71500
|
-
*
|
|
71501
|
-
*
|
|
71502
|
-
*
|
|
71503
|
-
*
|
|
71504
|
-
*
|
|
71505
|
-
*
|
|
71506
|
-
*
|
|
71507
|
-
*
|
|
71508
|
-
*
|
|
71509
|
-
*
|
|
71510
|
-
*
|
|
71511
|
-
*
|
|
71512
|
-
*
|
|
71513
|
-
*
|
|
71514
|
-
*
|
|
71515
|
-
*
|
|
71516
|
-
*
|
|
71408
|
+
* * Define an inbound security group rule by configuring the following parameters together:
|
|
71409
|
+
* * Source: You can specify one parameter from SourceCidrIp (IPv4 address), Ipv6SourceCidrIp (IPv6 address), SourcePrefixListId (prefix list ID), and SourceGroupId (source security group ID).
|
|
71410
|
+
* * PortRange: specifies the range of destination port numbers.
|
|
71411
|
+
* * IpProtocol: specifies the protocol.
|
|
71412
|
+
* * Policy: specifies the action.
|
|
71413
|
+
* > You cannot specify the security group rule IDs and the parameters that start with Permissions in the same request.
|
|
71414
|
+
* ### [](#)Sample requests
|
|
71415
|
+
* * Delete security group rules by specifying their IDs.
|
|
71416
|
+
* <!---->
|
|
71417
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****", // The security group ID.
|
|
71418
|
+
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"] // The IDs of the security group rules.
|
|
71419
|
+
* * Delete security group rules by specifying a CIDR block.
|
|
71420
|
+
* <!---->
|
|
71421
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
71422
|
+
* "Permissions":[
|
|
71423
|
+
* {
|
|
71424
|
+
* "SourceCidrIp":"10.0.0.0/8", // The source IPv4 CIDR block.
|
|
71425
|
+
* "IpProtocol":"TCP", // The protocol.
|
|
71426
|
+
* "PortRange":"80/80", // The range of destination port numbers. "Policy":"accept" // The action. }
|
|
71427
|
+
* ]
|
|
71428
|
+
* * Delete security group rules in which a security group is specified.
|
|
71429
|
+
* <!---->
|
|
71430
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
71431
|
+
* "Permissions":[
|
|
71432
|
+
* {
|
|
71433
|
+
* "SourceGroupId":"sg-bp67acfmxa123b****", // The ID of the source security group. "IpProtocol":"TCP,"
|
|
71434
|
+
* "PortRange":"80/80",
|
|
71435
|
+
* "Policy":"accept"
|
|
71436
|
+
* ]
|
|
71437
|
+
* }
|
|
71438
|
+
* * Delete security group rules in which a prefix list is specified.
|
|
71439
|
+
* <!---->
|
|
71440
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****",
|
|
71441
|
+
* "Permissions":[
|
|
71442
|
+
* {
|
|
71443
|
+
* "SourcePrefixListId":"pl-x1j1k5ykzqlixdcy****", // The ID of the source prefix list. "IpProtocol":"TCP",
|
|
71444
|
+
* "PortRange":"80/80",
|
|
71445
|
+
* "Policy":"accept"
|
|
71446
|
+
* }
|
|
71447
|
+
* ]
|
|
71517
71448
|
*
|
|
71518
71449
|
* @param request - RevokeSecurityGroupRequest
|
|
71519
71450
|
* @returns RevokeSecurityGroupResponse
|
|
@@ -71523,48 +71454,57 @@ class Client extends openapi_client_1.default {
|
|
|
71523
71454
|
return await this.revokeSecurityGroupWithOptions(request, runtime);
|
|
71524
71455
|
}
|
|
71525
71456
|
/**
|
|
71526
|
-
* Deletes outbound security group rules.
|
|
71457
|
+
* Deletes outbound security group rules from a specified security group.
|
|
71527
71458
|
*
|
|
71528
71459
|
* @remarks
|
|
71529
|
-
*
|
|
71530
|
-
*
|
|
71531
|
-
* *
|
|
71532
|
-
*
|
|
71533
|
-
*
|
|
71534
|
-
*
|
|
71535
|
-
*
|
|
71536
|
-
*
|
|
71537
|
-
*
|
|
71538
|
-
*
|
|
71539
|
-
*
|
|
71540
|
-
*
|
|
71541
|
-
*
|
|
71542
|
-
*
|
|
71543
|
-
*
|
|
71544
|
-
*
|
|
71545
|
-
*
|
|
71546
|
-
*
|
|
71547
|
-
*
|
|
71548
|
-
*
|
|
71549
|
-
*
|
|
71550
|
-
*
|
|
71551
|
-
*
|
|
71552
|
-
*
|
|
71553
|
-
*
|
|
71554
|
-
*
|
|
71555
|
-
*
|
|
71556
|
-
*
|
|
71557
|
-
*
|
|
71558
|
-
*
|
|
71559
|
-
*
|
|
71560
|
-
*
|
|
71561
|
-
*
|
|
71562
|
-
*
|
|
71563
|
-
*
|
|
71564
|
-
*
|
|
71565
|
-
*
|
|
71566
|
-
*
|
|
71567
|
-
*
|
|
71460
|
+
* > Alibaba Cloud modified verification rules for the RevokeSecurityGroupEgress operation on July 8, 2024. When you use the RevokeSecurityGroupEgress operation to delete a security group rule that does not exist, the "InvalidSecurityGroupRule.RuleNotExist" error code is returned instead of a success response. Update the RevokeSecurityGroupEgress operation to use the new verification rules with the new error code based on your business requirements.
|
|
71461
|
+
* You can use one of the following methods to delete a security group rule:
|
|
71462
|
+
* * Delete a rule by specifying the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules.
|
|
71463
|
+
* * If a security group rule ID that you specify does not exist, an error is reported.
|
|
71464
|
+
* * Delete a rule by specifying the Permissions parameter.
|
|
71465
|
+
* * If no security group rule matches the specified parameters, the call to RevokeSecurityGroup is successful but no security group rules are deleted.
|
|
71466
|
+
* * Delete a security group rule by configuring the following parameters together:
|
|
71467
|
+
* * One of the following parameters: DestCidrIp, Ipv6DestCidrIp, DestPrefixListId, and DestGroupId. DestCidrIp specifies the destination IPv4 CIDR block. Ipv6DestCidrIp specifies the destination IPv6 CIDR block. DestPrefixListId specifies the ID of the destination prefix list. DestGroupId specifies the destination security group.
|
|
71468
|
+
* * PortRange: specifies the range of destination port numbers.
|
|
71469
|
+
* * IpProtocol: specifies the protocol.
|
|
71470
|
+
* * Policy: specifies the action.
|
|
71471
|
+
* > You cannot set the security group rule ID and the Permissions parameter at the same time.
|
|
71472
|
+
* ### [](#)Sample requests
|
|
71473
|
+
* * Delete a security group rule.
|
|
71474
|
+
* <!---->
|
|
71475
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****", //The security group ID.
|
|
71476
|
+
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"] //The ID of the security group rule.
|
|
71477
|
+
* * Delete a security group rule based on the CIDR block.
|
|
71478
|
+
* <!---->
|
|
71479
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
71480
|
+
* "Permissions":[
|
|
71481
|
+
* {
|
|
71482
|
+
* "IpProtocol":"TCP", //The protocol.
|
|
71483
|
+
* "DestCidrIp":"10.0.0.0/8", //The destination IPv4 CIDR block.
|
|
71484
|
+
* "PortRange":"22/22", //The destination port range.
|
|
71485
|
+
* "Policy":"accept" //The action. }
|
|
71486
|
+
* ]
|
|
71487
|
+
* * Delete a security group rule based on the ID of the destination security group.
|
|
71488
|
+
* <!---->
|
|
71489
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
71490
|
+
* "Permissions":[
|
|
71491
|
+
* {
|
|
71492
|
+
* "DestGroupId":"sg-bp67acfmxa123b****", //Set the ID of the target security group.
|
|
71493
|
+
* "IpProtocol":"TCP",
|
|
71494
|
+
* "PortRange":"22/22",
|
|
71495
|
+
* "Policy":"accept"
|
|
71496
|
+
* }
|
|
71497
|
+
* ]
|
|
71498
|
+
* * Delete a security group rule based on a specified prefix list.
|
|
71499
|
+
* <!---->
|
|
71500
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
71501
|
+
* "Permissions":[
|
|
71502
|
+
* {
|
|
71503
|
+
* "IpProtocol":"TCP",
|
|
71504
|
+
* "DestPrefixListId":"pl-x1j1k5ykzqlixdcy****", //The ID of the destination prefix list. "PortRange":"22/22",
|
|
71505
|
+
* "Policy":"accept",
|
|
71506
|
+
* }
|
|
71507
|
+
* ]
|
|
71568
71508
|
*
|
|
71569
71509
|
* @param request - RevokeSecurityGroupEgressRequest
|
|
71570
71510
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -71674,48 +71614,57 @@ class Client extends openapi_client_1.default {
|
|
|
71674
71614
|
return $tea.cast(await this.callApi(params, req, runtime), new RevokeSecurityGroupEgressResponse({}));
|
|
71675
71615
|
}
|
|
71676
71616
|
/**
|
|
71677
|
-
* Deletes outbound security group rules.
|
|
71617
|
+
* Deletes outbound security group rules from a specified security group.
|
|
71678
71618
|
*
|
|
71679
71619
|
* @remarks
|
|
71680
|
-
*
|
|
71681
|
-
*
|
|
71682
|
-
* *
|
|
71683
|
-
*
|
|
71684
|
-
*
|
|
71685
|
-
*
|
|
71686
|
-
*
|
|
71687
|
-
*
|
|
71688
|
-
*
|
|
71689
|
-
*
|
|
71690
|
-
*
|
|
71691
|
-
*
|
|
71692
|
-
*
|
|
71693
|
-
*
|
|
71694
|
-
*
|
|
71695
|
-
*
|
|
71696
|
-
*
|
|
71697
|
-
*
|
|
71698
|
-
*
|
|
71699
|
-
*
|
|
71700
|
-
*
|
|
71701
|
-
*
|
|
71702
|
-
*
|
|
71703
|
-
*
|
|
71704
|
-
*
|
|
71705
|
-
*
|
|
71706
|
-
*
|
|
71707
|
-
*
|
|
71708
|
-
*
|
|
71709
|
-
*
|
|
71710
|
-
*
|
|
71711
|
-
*
|
|
71712
|
-
*
|
|
71713
|
-
*
|
|
71714
|
-
*
|
|
71715
|
-
*
|
|
71716
|
-
*
|
|
71717
|
-
*
|
|
71718
|
-
*
|
|
71620
|
+
* > Alibaba Cloud modified verification rules for the RevokeSecurityGroupEgress operation on July 8, 2024. When you use the RevokeSecurityGroupEgress operation to delete a security group rule that does not exist, the "InvalidSecurityGroupRule.RuleNotExist" error code is returned instead of a success response. Update the RevokeSecurityGroupEgress operation to use the new verification rules with the new error code based on your business requirements.
|
|
71621
|
+
* You can use one of the following methods to delete a security group rule:
|
|
71622
|
+
* * Delete a rule by specifying the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules.
|
|
71623
|
+
* * If a security group rule ID that you specify does not exist, an error is reported.
|
|
71624
|
+
* * Delete a rule by specifying the Permissions parameter.
|
|
71625
|
+
* * If no security group rule matches the specified parameters, the call to RevokeSecurityGroup is successful but no security group rules are deleted.
|
|
71626
|
+
* * Delete a security group rule by configuring the following parameters together:
|
|
71627
|
+
* * One of the following parameters: DestCidrIp, Ipv6DestCidrIp, DestPrefixListId, and DestGroupId. DestCidrIp specifies the destination IPv4 CIDR block. Ipv6DestCidrIp specifies the destination IPv6 CIDR block. DestPrefixListId specifies the ID of the destination prefix list. DestGroupId specifies the destination security group.
|
|
71628
|
+
* * PortRange: specifies the range of destination port numbers.
|
|
71629
|
+
* * IpProtocol: specifies the protocol.
|
|
71630
|
+
* * Policy: specifies the action.
|
|
71631
|
+
* > You cannot set the security group rule ID and the Permissions parameter at the same time.
|
|
71632
|
+
* ### [](#)Sample requests
|
|
71633
|
+
* * Delete a security group rule.
|
|
71634
|
+
* <!---->
|
|
71635
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4p****", //The security group ID.
|
|
71636
|
+
* "SecurityGroupRuleId":["sgr-bpdfmk****","sgr-bpdfmg****"] //The ID of the security group rule.
|
|
71637
|
+
* * Delete a security group rule based on the CIDR block.
|
|
71638
|
+
* <!---->
|
|
71639
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
71640
|
+
* "Permissions":[
|
|
71641
|
+
* {
|
|
71642
|
+
* "IpProtocol":"TCP", //The protocol.
|
|
71643
|
+
* "DestCidrIp":"10.0.0.0/8", //The destination IPv4 CIDR block.
|
|
71644
|
+
* "PortRange":"22/22", //The destination port range.
|
|
71645
|
+
* "Policy":"accept" //The action. }
|
|
71646
|
+
* ]
|
|
71647
|
+
* * Delete a security group rule based on the ID of the destination security group.
|
|
71648
|
+
* <!---->
|
|
71649
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
71650
|
+
* "Permissions":[
|
|
71651
|
+
* {
|
|
71652
|
+
* "DestGroupId":"sg-bp67acfmxa123b****", //Set the ID of the target security group.
|
|
71653
|
+
* "IpProtocol":"TCP",
|
|
71654
|
+
* "PortRange":"22/22",
|
|
71655
|
+
* "Policy":"accept"
|
|
71656
|
+
* }
|
|
71657
|
+
* ]
|
|
71658
|
+
* * Delete a security group rule based on a specified prefix list.
|
|
71659
|
+
* <!---->
|
|
71660
|
+
* "SecurityGroupId":"sg-bp67acfmxazb4ph***",
|
|
71661
|
+
* "Permissions":[
|
|
71662
|
+
* {
|
|
71663
|
+
* "IpProtocol":"TCP",
|
|
71664
|
+
* "DestPrefixListId":"pl-x1j1k5ykzqlixdcy****", //The ID of the destination prefix list. "PortRange":"22/22",
|
|
71665
|
+
* "Policy":"accept",
|
|
71666
|
+
* }
|
|
71667
|
+
* ]
|
|
71719
71668
|
*
|
|
71720
71669
|
* @param request - RevokeSecurityGroupEgressRequest
|
|
71721
71670
|
* @returns RevokeSecurityGroupEgressResponse
|