@alicloud/ecs20140526 7.8.6 → 7.9.0
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 +843 -846
- package/dist/client.js +872 -842
- package/dist/client.js.map +1 -1
- package/dist/models/AcceptInquiredSystemEventRequest.d.ts +3 -3
- package/dist/models/AssignIpv6addressesRequest.d.ts +7 -7
- package/dist/models/AssignIpv6addressesResponseBody.d.ts +1 -1
- package/dist/models/AssignPrivateIpAddressesRequest.d.ts +13 -16
- package/dist/models/AssignPrivateIpAddressesRequest.js.map +1 -1
- package/dist/models/AssignPrivateIpAddressesResponseBody.d.ts +2 -2
- package/dist/models/AttachNetworkInterfaceRequest.d.ts +6 -7
- package/dist/models/AttachNetworkInterfaceRequest.js.map +1 -1
- package/dist/models/AuthorizeSecurityGroupEgressRequest.d.ts +73 -100
- package/dist/models/AuthorizeSecurityGroupEgressRequest.js.map +1 -1
- package/dist/models/AuthorizeSecurityGroupRequest.d.ts +70 -91
- package/dist/models/AuthorizeSecurityGroupRequest.js.map +1 -1
- package/dist/models/AuthorizeSecurityGroupResponseBody.d.ts +1 -1
- package/dist/models/CancelImagePipelineExecutionRequest.d.ts +2 -2
- package/dist/models/CreateActivationRequest.d.ts +17 -16
- package/dist/models/CreateActivationRequest.js.map +1 -1
- package/dist/models/CreateActivationResponseBody.d.ts +3 -3
- package/dist/models/CreateCommandRequest.d.ts +52 -73
- package/dist/models/CreateCommandRequest.js.map +1 -1
- package/dist/models/CreateCommandResponseBody.d.ts +2 -2
- package/dist/models/CreateDiskRequest.d.ts +57 -59
- package/dist/models/CreateDiskRequest.js.map +1 -1
- package/dist/models/CreateDiskResponseBody.d.ts +3 -3
- package/dist/models/CreateHpcClusterRequest.d.ts +5 -5
- package/dist/models/CreateHpcClusterResponseBody.d.ts +2 -2
- package/dist/models/CreateImageComponentRequest.d.ts +7 -7
- package/dist/models/CreateImageComponentResponseBody.d.ts +1 -1
- package/dist/models/CreateInstanceRequest.d.ts +184 -274
- package/dist/models/CreateInstanceRequest.js.map +1 -1
- package/dist/models/CreateInstanceResponseBody.d.ts +2 -2
- package/dist/models/CreateLaunchTemplateVersionRequest.d.ts +215 -244
- package/dist/models/CreateLaunchTemplateVersionRequest.js.map +1 -1
- package/dist/models/CreateLaunchTemplateVersionResponseBody.d.ts +2 -2
- package/dist/models/CreateSecurityGroupRequest.d.ts +13 -16
- package/dist/models/CreateSecurityGroupRequest.js.map +1 -1
- package/dist/models/CreateSecurityGroupResponseBody.d.ts +1 -1
- package/dist/models/DeleteHpcClusterRequest.d.ts +2 -2
- package/dist/models/DeleteImagePipelineRequest.d.ts +1 -1
- package/dist/models/DescribeAutoProvisioningGroupInstancesRequest.d.ts +5 -5
- package/dist/models/DescribeAutoProvisioningGroupInstancesResponseBody.d.ts +1 -1
- package/dist/models/DescribeAutoSnapshotPolicyExRequest.d.ts +11 -11
- package/dist/models/DescribeAutoSnapshotPolicyExResponseBody.d.ts +3 -3
- package/dist/models/DescribeAvailableResourceRequest.d.ts +50 -84
- package/dist/models/DescribeAvailableResourceRequest.js.map +1 -1
- package/dist/models/DescribeAvailableResourceResponseBody.d.ts +0 -4
- package/dist/models/DescribeAvailableResourceResponseBody.js.map +1 -1
- package/dist/models/DescribeDisksRequest.d.ts +40 -40
- package/dist/models/DescribeDisksResponseBody.d.ts +3 -3
- package/dist/models/DescribeImageComponentsRequest.d.ts +3 -3
- package/dist/models/DescribeImageComponentsResponseBody.d.ts +1 -1
- package/dist/models/DescribeInstanceAttributeRequest.d.ts +1 -1
- package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +64 -96
- package/dist/models/DescribeInstanceAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceHistoryEventsRequest.d.ts +50 -85
- package/dist/models/DescribeInstanceHistoryEventsRequest.js.map +1 -1
- package/dist/models/DescribeInstanceHistoryEventsResponseBody.d.ts +16 -18
- package/dist/models/DescribeInstanceHistoryEventsResponseBody.js +2 -0
- package/dist/models/DescribeInstanceHistoryEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceTopologyResponseBody.d.ts +14 -0
- package/dist/models/DescribeInstanceTopologyResponseBody.js +28 -1
- package/dist/models/DescribeInstanceTopologyResponseBody.js.map +1 -1
- package/dist/models/DescribeInstancesRequest.d.ts +54 -68
- package/dist/models/DescribeInstancesRequest.js.map +1 -1
- package/dist/models/DescribeInstancesResponseBody.d.ts +5 -5
- package/dist/models/DescribeInvocationResultsRequest.d.ts +52 -69
- package/dist/models/DescribeInvocationResultsRequest.js.map +1 -1
- package/dist/models/DescribeInvocationResultsResponseBody.d.ts +6 -52
- package/dist/models/DescribeInvocationResultsResponseBody.js.map +1 -1
- package/dist/models/DescribeInvocationsRequest.d.ts +49 -76
- package/dist/models/DescribeInvocationsRequest.js.map +1 -1
- package/dist/models/DescribeInvocationsResponseBody.d.ts +5 -5
- package/dist/models/DescribeLaunchTemplateVersionsRequest.d.ts +14 -14
- package/dist/models/DescribeLaunchTemplateVersionsResponseBody.d.ts +3 -3
- package/dist/models/DescribeNetworkInterfacePermissionsRequest.d.ts +4 -4
- package/dist/models/DescribePriceRequest.d.ts +158 -242
- package/dist/models/DescribePriceRequest.js.map +1 -1
- package/dist/models/DescribePriceResponseBody.d.ts +15 -15
- package/dist/models/DescribeRecommendInstanceTypeRequest.d.ts +45 -57
- package/dist/models/DescribeRecommendInstanceTypeRequest.js.map +1 -1
- package/dist/models/DescribeResourcesModificationRequest.d.ts +26 -37
- package/dist/models/DescribeResourcesModificationRequest.js.map +1 -1
- package/dist/models/DescribeSecurityGroupAttributeRequest.d.ts +17 -28
- package/dist/models/DescribeSecurityGroupAttributeRequest.js.map +1 -1
- package/dist/models/DescribeSecurityGroupAttributeResponseBody.d.ts +10 -9
- package/dist/models/DescribeSecurityGroupAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeSecurityGroupsRequest.d.ts +20 -20
- package/dist/models/DescribeSecurityGroupsResponseBody.d.ts +4 -4
- package/dist/models/DescribeSendFileResultsRequest.d.ts +21 -25
- package/dist/models/DescribeSendFileResultsRequest.js.map +1 -1
- package/dist/models/DescribeSendFileResultsResponseBody.d.ts +3 -3
- package/dist/models/DescribeSnapshotsRequest.d.ts +44 -59
- package/dist/models/DescribeSnapshotsRequest.js.map +1 -1
- package/dist/models/DescribeSnapshotsResponseBody.d.ts +4 -8
- package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
- package/dist/models/DescribeSpotPriceHistoryRequest.d.ts +22 -28
- package/dist/models/DescribeSpotPriceHistoryRequest.js.map +1 -1
- package/dist/models/DescribeSpotPriceHistoryResponseBody.d.ts +7 -3
- package/dist/models/DescribeSpotPriceHistoryResponseBody.js.map +1 -1
- package/dist/models/DescribeTerminalSessionsRequest.d.ts +3 -3
- package/dist/models/DescribeTerminalSessionsResponseBody.d.ts +1 -1
- package/dist/models/DescribeZonesRequest.d.ts +18 -28
- package/dist/models/DescribeZonesRequest.js.map +1 -1
- package/dist/models/DescribeZonesResponseBody.d.ts +1 -1
- package/dist/models/GetInstanceConsoleOutputRequest.d.ts +1 -1
- package/dist/models/GetInstanceConsoleOutputResponseBody.d.ts +2 -2
- package/dist/models/ModifyHpcClusterAttributeRequest.d.ts +1 -1
- package/dist/models/ModifyInstanceAttributeRequest.d.ts +78 -106
- package/dist/models/ModifyInstanceAttributeRequest.js.map +1 -1
- package/dist/models/ModifyInstanceNetworkSpecRequest.d.ts +14 -14
- package/dist/models/ModifyInstanceNetworkSpecResponseBody.d.ts +1 -1
- package/dist/models/ModifyInstanceSpecRequest.d.ts +16 -16
- package/dist/models/ModifyPlanMaintenanceWindowRequest.d.ts +4 -4
- package/dist/models/ModifyPrepayInstanceSpecRequest.d.ts +28 -46
- package/dist/models/ModifyPrepayInstanceSpecRequest.js.map +1 -1
- package/dist/models/ModifyPrepayInstanceSpecResponseBody.d.ts +2 -2
- package/dist/models/ModifySecurityGroupEgressRuleRequest.d.ts +47 -46
- package/dist/models/ModifySecurityGroupEgressRuleRequest.js.map +1 -1
- package/dist/models/ModifySecurityGroupRuleRequest.d.ts +27 -24
- package/dist/models/ModifySecurityGroupRuleRequest.js.map +1 -1
- package/dist/models/ModifySystemEventAttributeRequest.d.ts +45 -0
- package/dist/models/ModifySystemEventAttributeRequest.js +64 -0
- package/dist/models/ModifySystemEventAttributeRequest.js.map +1 -0
- package/dist/models/ModifySystemEventAttributeResponse.d.ts +19 -0
- package/dist/models/ModifySystemEventAttributeResponse.js +69 -0
- package/dist/models/ModifySystemEventAttributeResponse.js.map +1 -0
- package/dist/models/ModifySystemEventAttributeResponseBody.d.ts +18 -0
- package/dist/models/ModifySystemEventAttributeResponseBody.js +58 -0
- package/dist/models/ModifySystemEventAttributeResponseBody.js.map +1 -0
- package/dist/models/RenewElasticityAssurancesRequest.d.ts +28 -24
- package/dist/models/RenewElasticityAssurancesRequest.js.map +1 -1
- package/dist/models/RenewElasticityAssurancesResponseBody.d.ts +1 -1
- package/dist/models/RevokeSecurityGroupEgressRequest.d.ts +35 -37
- package/dist/models/RevokeSecurityGroupEgressRequest.js.map +1 -1
- package/dist/models/RevokeSecurityGroupRequest.d.ts +71 -89
- package/dist/models/RevokeSecurityGroupRequest.js.map +1 -1
- package/dist/models/StartTerminalSessionRequest.d.ts +24 -32
- package/dist/models/StartTerminalSessionRequest.js.map +1 -1
- package/dist/models/StartTerminalSessionResponseBody.d.ts +2 -2
- package/dist/models/StartTerminalSessionShrinkRequest.d.ts +16 -18
- package/dist/models/StartTerminalSessionShrinkRequest.js.map +1 -1
- package/dist/models/StopInstanceRequest.d.ts +20 -27
- package/dist/models/StopInstanceRequest.js.map +1 -1
- package/dist/models/StopInstancesRequest.d.ts +24 -35
- package/dist/models/StopInstancesRequest.js.map +1 -1
- package/dist/models/UnassignIpv6addressesRequest.d.ts +3 -3
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +45 -37
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +878 -842
- package/src/models/AcceptInquiredSystemEventRequest.ts +3 -3
- package/src/models/AssignIpv6addressesRequest.ts +7 -7
- package/src/models/AssignIpv6addressesResponseBody.ts +1 -1
- package/src/models/AssignPrivateIpAddressesRequest.ts +13 -16
- package/src/models/AssignPrivateIpAddressesResponseBody.ts +2 -2
- package/src/models/AttachNetworkInterfaceRequest.ts +6 -7
- package/src/models/AuthorizeSecurityGroupEgressRequest.ts +79 -106
- package/src/models/AuthorizeSecurityGroupRequest.ts +70 -91
- package/src/models/AuthorizeSecurityGroupResponseBody.ts +1 -1
- package/src/models/CancelImagePipelineExecutionRequest.ts +2 -2
- package/src/models/CreateActivationRequest.ts +17 -16
- package/src/models/CreateActivationResponseBody.ts +3 -3
- package/src/models/CreateCommandRequest.ts +52 -73
- package/src/models/CreateCommandResponseBody.ts +2 -2
- package/src/models/CreateDiskRequest.ts +57 -59
- package/src/models/CreateDiskResponseBody.ts +3 -3
- package/src/models/CreateHpcClusterRequest.ts +5 -5
- package/src/models/CreateHpcClusterResponseBody.ts +2 -2
- package/src/models/CreateImageComponentRequest.ts +7 -7
- package/src/models/CreateImageComponentResponseBody.ts +1 -1
- package/src/models/CreateInstanceRequest.ts +185 -275
- package/src/models/CreateInstanceResponseBody.ts +2 -2
- package/src/models/CreateLaunchTemplateVersionRequest.ts +215 -244
- package/src/models/CreateLaunchTemplateVersionResponseBody.ts +2 -2
- package/src/models/CreateSecurityGroupRequest.ts +13 -16
- package/src/models/CreateSecurityGroupResponseBody.ts +1 -1
- package/src/models/DeleteHpcClusterRequest.ts +2 -2
- package/src/models/DeleteImagePipelineRequest.ts +1 -1
- package/src/models/DescribeAutoProvisioningGroupInstancesRequest.ts +5 -5
- package/src/models/DescribeAutoProvisioningGroupInstancesResponseBody.ts +1 -1
- package/src/models/DescribeAutoSnapshotPolicyExRequest.ts +11 -11
- package/src/models/DescribeAutoSnapshotPolicyExResponseBody.ts +3 -3
- package/src/models/DescribeAvailableResourceRequest.ts +62 -96
- package/src/models/DescribeAvailableResourceResponseBody.ts +0 -4
- package/src/models/DescribeDisksRequest.ts +40 -40
- package/src/models/DescribeDisksResponseBody.ts +3 -3
- package/src/models/DescribeImageComponentsRequest.ts +3 -3
- package/src/models/DescribeImageComponentsResponseBody.ts +1 -1
- package/src/models/DescribeInstanceAttributeRequest.ts +1 -1
- package/src/models/DescribeInstanceAttributeResponseBody.ts +66 -98
- package/src/models/DescribeInstanceHistoryEventsRequest.ts +50 -85
- package/src/models/DescribeInstanceHistoryEventsResponseBody.ts +18 -18
- package/src/models/DescribeInstanceTopologyResponseBody.ts +32 -0
- package/src/models/DescribeInstancesRequest.ts +57 -71
- package/src/models/DescribeInstancesResponseBody.ts +5 -5
- package/src/models/DescribeInvocationResultsRequest.ts +52 -69
- package/src/models/DescribeInvocationResultsResponseBody.ts +6 -52
- package/src/models/DescribeInvocationsRequest.ts +50 -77
- package/src/models/DescribeInvocationsResponseBody.ts +5 -5
- package/src/models/DescribeLaunchTemplateVersionsRequest.ts +14 -14
- package/src/models/DescribeLaunchTemplateVersionsResponseBody.ts +3 -3
- package/src/models/DescribeNetworkInterfacePermissionsRequest.ts +4 -4
- package/src/models/DescribePriceRequest.ts +160 -244
- package/src/models/DescribePriceResponseBody.ts +15 -15
- package/src/models/DescribeRecommendInstanceTypeRequest.ts +45 -57
- package/src/models/DescribeResourcesModificationRequest.ts +30 -41
- package/src/models/DescribeSecurityGroupAttributeRequest.ts +18 -29
- package/src/models/DescribeSecurityGroupAttributeResponseBody.ts +11 -10
- package/src/models/DescribeSecurityGroupsRequest.ts +21 -21
- package/src/models/DescribeSecurityGroupsResponseBody.ts +4 -4
- package/src/models/DescribeSendFileResultsRequest.ts +21 -25
- package/src/models/DescribeSendFileResultsResponseBody.ts +3 -3
- package/src/models/DescribeSnapshotsRequest.ts +48 -63
- package/src/models/DescribeSnapshotsResponseBody.ts +4 -8
- package/src/models/DescribeSpotPriceHistoryRequest.ts +22 -28
- package/src/models/DescribeSpotPriceHistoryResponseBody.ts +7 -3
- package/src/models/DescribeTerminalSessionsRequest.ts +3 -3
- package/src/models/DescribeTerminalSessionsResponseBody.ts +1 -1
- package/src/models/DescribeZonesRequest.ts +20 -30
- package/src/models/DescribeZonesResponseBody.ts +1 -1
- package/src/models/GetInstanceConsoleOutputRequest.ts +1 -1
- package/src/models/GetInstanceConsoleOutputResponseBody.ts +2 -2
- package/src/models/ModifyHpcClusterAttributeRequest.ts +1 -1
- package/src/models/ModifyInstanceAttributeRequest.ts +80 -108
- package/src/models/ModifyInstanceNetworkSpecRequest.ts +14 -14
- package/src/models/ModifyInstanceNetworkSpecResponseBody.ts +1 -1
- package/src/models/ModifyInstanceSpecRequest.ts +16 -16
- package/src/models/ModifyPlanMaintenanceWindowRequest.ts +4 -4
- package/src/models/ModifyPrepayInstanceSpecRequest.ts +28 -46
- package/src/models/ModifyPrepayInstanceSpecResponseBody.ts +2 -2
- package/src/models/ModifySecurityGroupEgressRuleRequest.ts +47 -46
- package/src/models/ModifySecurityGroupRuleRequest.ts +27 -24
- package/src/models/ModifySystemEventAttributeRequest.ts +64 -0
- package/src/models/ModifySystemEventAttributeResponse.ts +40 -0
- package/src/models/ModifySystemEventAttributeResponseBody.ts +31 -0
- package/src/models/RenewElasticityAssurancesRequest.ts +28 -24
- package/src/models/RenewElasticityAssurancesResponseBody.ts +1 -1
- package/src/models/RevokeSecurityGroupEgressRequest.ts +35 -37
- package/src/models/RevokeSecurityGroupRequest.ts +75 -93
- package/src/models/StartTerminalSessionRequest.ts +24 -32
- package/src/models/StartTerminalSessionResponseBody.ts +2 -2
- package/src/models/StartTerminalSessionShrinkRequest.ts +16 -18
- package/src/models/StopInstanceRequest.ts +21 -28
- package/src/models/StopInstancesRequest.ts +25 -36
- package/src/models/UnassignIpv6addressesRequest.ts +3 -3
- package/src/models/model.ts +4 -0
|
@@ -2,11 +2,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateCommandRequestTag extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The key of
|
|
5
|
+
* The tag key of the command. Valid values of N: 1 to 20. The tag key cannot be an empty string.
|
|
6
6
|
*
|
|
7
|
-
* If a single tag
|
|
7
|
+
* If you use a single tag to filter resources, the resource count with the specified tag cannot exceed 1,000. If you use multiple tags to filter resources, the resource count of resources that have all specified tags attached cannot exceed 1,000. If the resource count exceeds 1,000, use the [ListTagResources](https://help.aliyun.com/document_detail/110425.html) operation to query resources.
|
|
8
8
|
*
|
|
9
|
-
* The tag key can be up to 64 characters in length and cannot start with `
|
|
9
|
+
* The tag key can be up to 64 characters in length and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* TestKey
|
|
@@ -14,9 +14,9 @@ export declare class CreateCommandRequestTag extends $dara.Model {
|
|
|
14
14
|
key?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* The value of
|
|
17
|
+
* The tag value of the command. Valid values of N: 1 to 20. The tag value can be an empty string.
|
|
18
18
|
*
|
|
19
|
-
*
|
|
19
|
+
* The tag value can be up to 128 characters in length and cannot contain `http://` or `https://`.
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
22
|
* TestValue
|
|
@@ -36,7 +36,7 @@ export declare class CreateCommandRequestTag extends $dara.Model {
|
|
|
36
36
|
export declare class CreateCommandRequest extends $dara.Model {
|
|
37
37
|
/**
|
|
38
38
|
* @remarks
|
|
39
|
-
*
|
|
39
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but make sure that the token is unique among different requests. **ClientToken** supports only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html).
|
|
40
40
|
*
|
|
41
41
|
* @example
|
|
42
42
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -44,49 +44,32 @@ export declare class CreateCommandRequest extends $dara.Model {
|
|
|
44
44
|
clientToken?: string;
|
|
45
45
|
/**
|
|
46
46
|
* @remarks
|
|
47
|
-
* The Base64-encoded content of the command.
|
|
48
|
-
*
|
|
49
|
-
* - The value must be Base64-encoded and cannot exceed 18 KB in size.
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
* - `{{ACS::InstanceName}}`: the instance name. If you want to run the command on multiple instances and specify `{{ACS::InstanceName}}` as a built-in environment parameter, make sure that the Cloud Assistant Agent version is not earlier than the following versions:
|
|
74
|
-
*
|
|
75
|
-
* - Linux: 2.2.3.344
|
|
76
|
-
*
|
|
77
|
-
* - Windows: 2.1.3.344
|
|
78
|
-
*
|
|
79
|
-
* - `{{ACS::InvokeId}}`: the ID of the task. If you want to specify `{{ACS::InvokeId}}` as a built-in environment parameter, make sure that the Cloud Assistant Agent version is not earlier than the following versions:
|
|
80
|
-
*
|
|
81
|
-
* - Linux: 2.2.3.309
|
|
82
|
-
*
|
|
83
|
-
* - Windows: 2.1.3.309
|
|
84
|
-
*
|
|
85
|
-
* - `{{ACS::CommandId}}`: the command ID. If you want to call the [RunCommand](https://help.aliyun.com/document_detail/141751.html) operation to run the command and specify `{{ACS::CommandId}}` as a built-in environment parameter, make sure that the Cloud Assistant Agent version is not earlier than the following versions:
|
|
86
|
-
*
|
|
87
|
-
* - Linux: 2.2.3.309
|
|
88
|
-
*
|
|
89
|
-
* - Windows: 2.1.3.309
|
|
47
|
+
* The Base64-encoded content of the command.
|
|
48
|
+
*
|
|
49
|
+
* - The value of this parameter must be Base64-encoded, and the script content cannot exceed 18 KB in size after Base64 encoding.
|
|
50
|
+
* - The command content supports custom parameters. To enable the custom parameter feature, set `EnableParameter=true`:
|
|
51
|
+
* - Custom parameters are defined by enclosing them in `{{}}`. Spaces and line breaks before and after the parameter name within `{{}}` are ignored.
|
|
52
|
+
* - The number of custom parameters cannot exceed 20.
|
|
53
|
+
* - Custom parameter names can contain letters (a-z, A-Z), digits (0-9), hyphens (-), and underscores (_). The acs:: prefix for specifying non-built-in environment parameters is not supported. Other characters are not supported. Parameter names are case-insensitive.
|
|
54
|
+
* - Each parameter name cannot exceed 64 bytes in length.
|
|
55
|
+
*
|
|
56
|
+
* - You can specify built-in environment parameters as custom parameters. When the command is run, Cloud Assistant automatically replaces them with the corresponding values from the environment without requiring manual assignment. The following built-in environment parameters are supported:
|
|
57
|
+
* - `{{ACS::RegionId}}`: the region ID.
|
|
58
|
+
* - `{{ACS::AccountId}}`: the UID of the Alibaba Cloud account.
|
|
59
|
+
* - `{{ACS::InstanceId}}`: the instance ID. When a command is sent to multiple instances and you want to use `{{ACS::InstanceId}}` as a built-in environment parameter, make sure that the Cloud Assistant Agent version is not earlier than:
|
|
60
|
+
* - Linux: 2.2.3.309
|
|
61
|
+
* - Windows: 2.1.3.309
|
|
62
|
+
* - `{{ACS::InstanceName}}`: the instance name. When a command is sent to multiple instances and you want to use `{{ACS::InstanceName}}` as a built-in environment parameter, make sure that the Cloud Assistant Agent version is not earlier than:
|
|
63
|
+
* - Linux: 2.2.3.344
|
|
64
|
+
* - Windows: 2.1.3.344
|
|
65
|
+
*
|
|
66
|
+
* - `{{ACS::InvokeId}}`: the command execution ID. To use `{{ACS::InvokeId}}` as a built-in environment parameter, make sure that the Cloud Assistant Agent version is not earlier than:
|
|
67
|
+
* - Linux: 2.2.3.309
|
|
68
|
+
* - Windows: 2.1.3.309
|
|
69
|
+
*
|
|
70
|
+
* - `{{ACS::CommandId}}`: the command ID. When you run a command by calling the [RunCommand](https://help.aliyun.com/document_detail/141751.html) operation and want to use `{{ACS::CommandId}}` as a built-in environment parameter, make sure that the Cloud Assistant Agent version is not earlier than:
|
|
71
|
+
* - Linux: 2.2.3.309
|
|
72
|
+
* - Windows: 2.1.3.309.
|
|
90
73
|
*
|
|
91
74
|
* This parameter is required.
|
|
92
75
|
*
|
|
@@ -98,13 +81,13 @@ export declare class CreateCommandRequest extends $dara.Model {
|
|
|
98
81
|
* @remarks
|
|
99
82
|
* The encoding mode of the command content (CommandContent). Valid values:
|
|
100
83
|
*
|
|
101
|
-
* - PlainText: The
|
|
84
|
+
* - PlainText: no encoding. The content is transmitted in plaintext.
|
|
102
85
|
*
|
|
103
|
-
* - Base64:
|
|
86
|
+
* - Base64: Base64 encoding.
|
|
104
87
|
*
|
|
105
88
|
* Default value: Base64.
|
|
106
89
|
*
|
|
107
|
-
* > If
|
|
90
|
+
* > If an invalid value is specified, it is treated as Base64.
|
|
108
91
|
*
|
|
109
92
|
* @example
|
|
110
93
|
* PlainText
|
|
@@ -112,7 +95,7 @@ export declare class CreateCommandRequest extends $dara.Model {
|
|
|
112
95
|
contentEncoding?: string;
|
|
113
96
|
/**
|
|
114
97
|
* @remarks
|
|
115
|
-
* The
|
|
98
|
+
* The command description. All character sets are supported. The description cannot exceed 512 characters in length.
|
|
116
99
|
*
|
|
117
100
|
* @example
|
|
118
101
|
* testDescription
|
|
@@ -120,7 +103,7 @@ export declare class CreateCommandRequest extends $dara.Model {
|
|
|
120
103
|
description?: string;
|
|
121
104
|
/**
|
|
122
105
|
* @remarks
|
|
123
|
-
* Specifies whether
|
|
106
|
+
* Specifies whether the command uses custom parameters.
|
|
124
107
|
*
|
|
125
108
|
* Default value: false.
|
|
126
109
|
*
|
|
@@ -130,7 +113,7 @@ export declare class CreateCommandRequest extends $dara.Model {
|
|
|
130
113
|
enableParameter?: boolean;
|
|
131
114
|
/**
|
|
132
115
|
* @remarks
|
|
133
|
-
* The
|
|
116
|
+
* The bootstrap program for script execution. The value cannot exceed 1 KB in length.
|
|
134
117
|
*
|
|
135
118
|
* @example
|
|
136
119
|
* python3 -u {{ACS::ScriptFileName|Ext(".py")}}
|
|
@@ -138,7 +121,7 @@ export declare class CreateCommandRequest extends $dara.Model {
|
|
|
138
121
|
launcher?: string;
|
|
139
122
|
/**
|
|
140
123
|
* @remarks
|
|
141
|
-
* The
|
|
124
|
+
* The command name. All character sets are supported. The name cannot exceed 128 characters in length.
|
|
142
125
|
*
|
|
143
126
|
* This parameter is required.
|
|
144
127
|
*
|
|
@@ -150,7 +133,7 @@ export declare class CreateCommandRequest extends $dara.Model {
|
|
|
150
133
|
ownerId?: number;
|
|
151
134
|
/**
|
|
152
135
|
* @remarks
|
|
153
|
-
* The
|
|
136
|
+
* The region ID. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list.
|
|
154
137
|
*
|
|
155
138
|
* This parameter is required.
|
|
156
139
|
*
|
|
@@ -160,7 +143,7 @@ export declare class CreateCommandRequest extends $dara.Model {
|
|
|
160
143
|
regionId?: string;
|
|
161
144
|
/**
|
|
162
145
|
* @remarks
|
|
163
|
-
* The ID of the resource group to which
|
|
146
|
+
* The ID of the resource group to which the command belongs.
|
|
164
147
|
*
|
|
165
148
|
* @example
|
|
166
149
|
* rg-123******
|
|
@@ -170,12 +153,12 @@ export declare class CreateCommandRequest extends $dara.Model {
|
|
|
170
153
|
resourceOwnerId?: number;
|
|
171
154
|
/**
|
|
172
155
|
* @remarks
|
|
173
|
-
* The
|
|
156
|
+
* The list of tags.
|
|
174
157
|
*/
|
|
175
158
|
tag?: CreateCommandRequestTag[];
|
|
176
159
|
/**
|
|
177
160
|
* @remarks
|
|
178
|
-
*
|
|
161
|
+
* The maximum timeout period for the command to run on the ECS instance. Unit: seconds. If the command cannot be run for any reason, a timeout occurs. After the timeout, the command process is forcefully terminated by canceling the PID of the command.
|
|
179
162
|
*
|
|
180
163
|
* Default value: 60.
|
|
181
164
|
*
|
|
@@ -185,13 +168,11 @@ export declare class CreateCommandRequest extends $dara.Model {
|
|
|
185
168
|
timeout?: number;
|
|
186
169
|
/**
|
|
187
170
|
* @remarks
|
|
188
|
-
* The command
|
|
189
|
-
*
|
|
190
|
-
* - RunBatScript: batch commands. These commands are applicable to Windows instances.
|
|
171
|
+
* The type of the command. Valid values:
|
|
191
172
|
*
|
|
192
|
-
* -
|
|
193
|
-
*
|
|
194
|
-
* - RunShellScript:
|
|
173
|
+
* - RunBatScript: creates a Bat script to run on Windows instances.
|
|
174
|
+
* - RunPowerShellScript: creates a PowerShell script to run on Windows instances.
|
|
175
|
+
* - RunShellScript: creates a Shell script to run on Linux instances.
|
|
195
176
|
*
|
|
196
177
|
* This parameter is required.
|
|
197
178
|
*
|
|
@@ -201,15 +182,13 @@ export declare class CreateCommandRequest extends $dara.Model {
|
|
|
201
182
|
type?: string;
|
|
202
183
|
/**
|
|
203
184
|
* @remarks
|
|
204
|
-
* The
|
|
205
|
-
*
|
|
206
|
-
* Default values:
|
|
207
|
-
*
|
|
208
|
-
* - For Linux instance, the default value is the home directory of the root user, which is the `/root` directory.
|
|
185
|
+
* The directory where the command is run on the ECS instance. The value cannot exceed 200 characters in length.
|
|
209
186
|
*
|
|
210
|
-
*
|
|
187
|
+
* Default value:
|
|
188
|
+
* - Linux instances: the home directory of the root user, which is `/root`.
|
|
189
|
+
* - Windows instances: the directory where the Cloud Assistant Agent process is located, such as `C:\\Windows\\System32`.
|
|
211
190
|
*
|
|
212
|
-
* > If you set
|
|
191
|
+
* > If you set this parameter to a different directory, make sure that the directory exists on the instance.
|
|
213
192
|
*
|
|
214
193
|
* @example
|
|
215
194
|
* /home/user
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateCommandRequest.js","sourceRoot":"","sources":["../../src/models/CreateCommandRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uBAAwB,SAAQ,KAAK,CAAC,KAAK;IAuBtD,MAAM,CAAC,KAAK;QACV,O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
|
5
|
+
* The command ID.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* c-7d2a745b412b4601b2d47f6a768d****
|
|
@@ -10,7 +10,7 @@ export declare class CreateCommandResponseBody extends $dara.Model {
|
|
|
10
10
|
commandId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The ID
|
|
13
|
+
* The request ID.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
@@ -38,7 +38,7 @@ export declare class CreateDiskRequestArn extends $dara.Model {
|
|
|
38
38
|
export declare class CreateDiskRequestTag extends $dara.Model {
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The tag key of the disk. Valid values of N: 1 to 20.
|
|
41
|
+
* The tag key of the disk. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot start with `aliyun` or `acs:`. The tag key cannot contain `http://` or `https://`.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
44
|
* TestKey
|
|
@@ -46,7 +46,7 @@ export declare class CreateDiskRequestTag extends $dara.Model {
|
|
|
46
46
|
key?: string;
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The tag value of the disk. Valid values of N: 1 to 20.
|
|
49
|
+
* The tag value of the disk. Valid values of N: 1 to 20. The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot contain `http://` or `https://`.
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* TestValue
|
|
@@ -79,10 +79,10 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
79
79
|
arn?: CreateDiskRequestArn[];
|
|
80
80
|
/**
|
|
81
81
|
* @remarks
|
|
82
|
-
* Specifies whether to enable
|
|
82
|
+
* Specifies whether to enable the performance burst feature. Valid values:
|
|
83
83
|
*
|
|
84
|
-
* - true:
|
|
85
|
-
* - false:
|
|
84
|
+
* - true: Enabled.
|
|
85
|
+
* - false: Disabled.
|
|
86
86
|
*
|
|
87
87
|
* > This parameter is supported only when `DiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
88
88
|
*
|
|
@@ -92,7 +92,7 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
92
92
|
burstingEnabled?: boolean;
|
|
93
93
|
/**
|
|
94
94
|
* @remarks
|
|
95
|
-
*
|
|
95
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but make sure that the token is unique among different requests. The **ClientToken** value can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html).
|
|
96
96
|
*
|
|
97
97
|
* @example
|
|
98
98
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -100,7 +100,7 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
100
100
|
clientToken?: string;
|
|
101
101
|
/**
|
|
102
102
|
* @remarks
|
|
103
|
-
* The disk
|
|
103
|
+
* The description of the disk. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
104
104
|
*
|
|
105
105
|
* Default value: empty.
|
|
106
106
|
*
|
|
@@ -115,12 +115,12 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
115
115
|
* - cloud: basic disk.
|
|
116
116
|
* - cloud_efficiency: ultra disk.
|
|
117
117
|
* - cloud_ssd: standard SSD.
|
|
118
|
-
* - cloud_essd:
|
|
118
|
+
* - cloud_essd: enterprise SSD.
|
|
119
119
|
* - cloud_auto: ESSD AutoPL disk.
|
|
120
120
|
* - cloud_essd_entry: ESSD Entry disk.
|
|
121
|
-
* - cloud_regional_disk_auto:
|
|
122
|
-
* - elastic_ephemeral_disk_standard: elastic ephemeral disk -
|
|
123
|
-
* - elastic_ephemeral_disk_premium: elastic ephemeral disk -
|
|
121
|
+
* - cloud_regional_disk_auto: regional Enterprise SSD (ESSD).
|
|
122
|
+
* - elastic_ephemeral_disk_standard: elastic ephemeral disk - Standard Edition.
|
|
123
|
+
* - elastic_ephemeral_disk_premium: elastic ephemeral disk - Premium Edition.
|
|
124
124
|
*
|
|
125
125
|
* Default value: cloud.
|
|
126
126
|
*
|
|
@@ -130,7 +130,7 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
130
130
|
diskCategory?: string;
|
|
131
131
|
/**
|
|
132
132
|
* @remarks
|
|
133
|
-
* The disk
|
|
133
|
+
* The name of the disk. The name must be 2 to 128 characters in length and can contain letters in the Unicode letter category (including English and Chinese characters) and ASCII digits (0-9). The name can contain colons (:), underscores (_), periods (.), or hyphens (-). The name must start with a character in the Unicode letter category.
|
|
134
134
|
*
|
|
135
135
|
* Default value: empty.
|
|
136
136
|
*
|
|
@@ -150,8 +150,8 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
150
150
|
* @remarks
|
|
151
151
|
* Specifies whether to encrypt the disk. Valid values:
|
|
152
152
|
*
|
|
153
|
-
* - true:
|
|
154
|
-
* - false:
|
|
153
|
+
* - true: Encrypted.
|
|
154
|
+
* - false: Not encrypted.
|
|
155
155
|
*
|
|
156
156
|
* Default value: false.
|
|
157
157
|
*
|
|
@@ -161,12 +161,12 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
161
161
|
encrypted?: boolean;
|
|
162
162
|
/**
|
|
163
163
|
* @remarks
|
|
164
|
-
*
|
|
164
|
+
* The ID of the subscription instance to which the created subscription disk is automatically attached.
|
|
165
165
|
*
|
|
166
|
-
* - After you
|
|
166
|
+
* - After you specify the instance ID, the ResourceGroupId, Tag.N.Key, Tag.N.Value, ClientToken, and KMSKeyId parameters are ignored.
|
|
167
167
|
* - You cannot specify both ZoneId and InstanceId.
|
|
168
168
|
*
|
|
169
|
-
* Default value: empty
|
|
169
|
+
* Default value: empty. A pay-as-you-go disk is created, and the region of the disk is determined by RegionId and ZoneId.
|
|
170
170
|
*
|
|
171
171
|
* @example
|
|
172
172
|
* i-bp18pnlg1ds9rky4****
|
|
@@ -174,13 +174,13 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
174
174
|
instanceId?: string;
|
|
175
175
|
/**
|
|
176
176
|
* @remarks
|
|
177
|
-
* The KMS key
|
|
177
|
+
* The ID of the Key Management Service (KMS) key used by the disk.
|
|
178
178
|
*
|
|
179
|
-
* > If Encrypted is set to true and KMSKeyId is not specified, the default key is used for encryption
|
|
180
|
-
* > - -
|
|
181
|
-
* > - -
|
|
182
|
-
* > - -
|
|
183
|
-
* > - -
|
|
179
|
+
* > If Encrypted is set to true and KMSKeyId is not specified, the default key is used for encryption. The KMSKeyId value is returned after the instance is created.
|
|
180
|
+
* > - - If the disk is created from a non-shared encrypted snapshot, the encryption key used by the snapshot is used by default.
|
|
181
|
+
* > - - If the disk is created from a shared encrypted snapshot, the service key is used by default.
|
|
182
|
+
* > - - If the disk is created in a region where account-level default encryption for block storage is enabled, the specified account-level key is used by default.
|
|
183
|
+
* > - - In other cases, the service key is used by default.
|
|
184
184
|
*
|
|
185
185
|
* @example
|
|
186
186
|
* 0e478b7a-4262-4802-b8cb-00d3fb40826X
|
|
@@ -190,12 +190,12 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
190
190
|
* @remarks
|
|
191
191
|
* Specifies whether to enable the multi-attach feature. Valid values:
|
|
192
192
|
*
|
|
193
|
-
* - Disabled:
|
|
194
|
-
* - Enabled:
|
|
193
|
+
* - Disabled: Disabled.
|
|
194
|
+
* - Enabled: Enabled. Only enterprise SSDs support setting this parameter to `Enabled`.
|
|
195
195
|
*
|
|
196
196
|
* Default value: Disabled.
|
|
197
197
|
*
|
|
198
|
-
* > Disks with the multi-attach feature enabled only
|
|
198
|
+
* > Disks with the multi-attach feature enabled support only the pay-as-you-go billing method. Therefore, when `MultiAttach=Enabled`, you cannot specify the `InstanceId` parameter. After the disk is created, you can call [AttachDisk](https://help.aliyun.com/document_detail/25515.html) to attach it. Note that a disk with the multi-attach feature enabled can be attached only as a data disk.
|
|
199
199
|
*
|
|
200
200
|
* @example
|
|
201
201
|
* Disabled
|
|
@@ -205,16 +205,16 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
205
205
|
ownerId?: number;
|
|
206
206
|
/**
|
|
207
207
|
* @remarks
|
|
208
|
-
*
|
|
208
|
+
* The performance level of the enterprise SSD to create. Set this parameter to one of the following values:
|
|
209
209
|
*
|
|
210
|
-
* - PL0:
|
|
211
|
-
* - PL1:
|
|
212
|
-
* - PL2:
|
|
213
|
-
* - PL3:
|
|
210
|
+
* - PL0: A single disk can deliver up to 10,000 random read/write IOPS.
|
|
211
|
+
* - PL1: A single disk can deliver up to 50,000 random read/write IOPS.
|
|
212
|
+
* - PL2: A single disk can deliver up to 100,000 random read/write IOPS.
|
|
213
|
+
* - PL3: A single disk can deliver up to 1,000,000 random read/write IOPS.
|
|
214
214
|
*
|
|
215
215
|
* Default value: PL1.
|
|
216
216
|
*
|
|
217
|
-
* For information about how to select an ESSD performance level, see [
|
|
217
|
+
* For information about how to select an ESSD performance level, see [Enterprise SSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
218
218
|
*
|
|
219
219
|
* @example
|
|
220
220
|
* PL1
|
|
@@ -222,19 +222,17 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
222
222
|
performanceLevel?: string;
|
|
223
223
|
/**
|
|
224
224
|
* @remarks
|
|
225
|
-
* The provisioned read/write IOPS of the ESSD AutoPL disk
|
|
225
|
+
* The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values:
|
|
226
226
|
*
|
|
227
|
-
* - Capacity (GiB) <= 3:
|
|
227
|
+
* - Capacity (GiB) <= 3: Provisioned performance is not supported.
|
|
228
228
|
*
|
|
229
|
-
* - Capacity (GiB) >= 4: [0, min{(1,000
|
|
229
|
+
* - Capacity (GiB) >= 4: [0, min{(1,000 IOPS/GiB × Capacity - Baseline IOPS), 50,000}]
|
|
230
230
|
*
|
|
231
|
-
* IOPS/GiB * capacity - baseline IOPS), 50,000}]
|
|
232
231
|
*
|
|
232
|
+
* Baseline performance = max{min{1,800 + 50 × Capacity, 50,000}, 3,000}.
|
|
233
233
|
*
|
|
234
|
-
* Baseline performance = max{min{1,800 + 50 * capacity, 50,000}, 3,000}.
|
|
235
234
|
*
|
|
236
|
-
*
|
|
237
|
-
* > This parameter is supported only when `DiskCategory` = `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
235
|
+
* > This parameter is supported only when `DiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
238
236
|
*
|
|
239
237
|
* @example
|
|
240
238
|
* 40000
|
|
@@ -242,7 +240,7 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
242
240
|
provisionedIops?: number;
|
|
243
241
|
/**
|
|
244
242
|
* @remarks
|
|
245
|
-
* The region
|
|
243
|
+
* The ID of the region. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list.
|
|
246
244
|
*
|
|
247
245
|
* This parameter is required.
|
|
248
246
|
*
|
|
@@ -252,7 +250,7 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
252
250
|
regionId?: string;
|
|
253
251
|
/**
|
|
254
252
|
* @remarks
|
|
255
|
-
* The ID of the
|
|
253
|
+
* The ID of the resource group to which the disk belongs.
|
|
256
254
|
*
|
|
257
255
|
* @example
|
|
258
256
|
* rg-bp67acfmxazb4p****
|
|
@@ -262,12 +260,12 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
262
260
|
resourceOwnerId?: number;
|
|
263
261
|
/**
|
|
264
262
|
* @remarks
|
|
265
|
-
* The
|
|
263
|
+
* The size of the disk. Unit: GiB. You must specify a value for this parameter. Valid values:
|
|
266
264
|
*
|
|
267
265
|
* - cloud: 5 to 2,000.
|
|
268
266
|
* - cloud_efficiency: 20 to 32,768.
|
|
269
267
|
* - cloud_ssd: 20 to 32,768.
|
|
270
|
-
* - cloud_essd: The valid
|
|
268
|
+
* - cloud_essd: The valid values depend on the `PerformanceLevel` value.
|
|
271
269
|
* - PL0: 1 to 65,536.
|
|
272
270
|
* - PL1: 20 to 65,536.
|
|
273
271
|
* - PL2: 461 to 65,536.
|
|
@@ -278,10 +276,10 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
278
276
|
* - elastic_ephemeral_disk_standard: 64 to 8,192.
|
|
279
277
|
* - elastic_ephemeral_disk_premium: 64 to 8,192.
|
|
280
278
|
*
|
|
281
|
-
* If you specify
|
|
279
|
+
* If you specify `SnapshotId`, the `SnapshotId` and `Size` parameters have the following restrictions:
|
|
282
280
|
*
|
|
283
|
-
* - If the snapshot
|
|
284
|
-
* - If the snapshot
|
|
281
|
+
* - If the snapshot specified by `SnapshotId` is larger than the specified `Size` value, the snapshot size of the created disk equals the size of the specified snapshot.
|
|
282
|
+
* - If the snapshot specified by `SnapshotId` is smaller than the specified `Size` value, the snapshot size of the created disk equals the specified `Size` value.
|
|
285
283
|
*
|
|
286
284
|
* @example
|
|
287
285
|
* 2000
|
|
@@ -289,13 +287,13 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
289
287
|
size?: number;
|
|
290
288
|
/**
|
|
291
289
|
* @remarks
|
|
292
|
-
* The snapshot
|
|
290
|
+
* The ID of the snapshot to use to create the disk. Snapshots created on or before July 15, 2013 cannot be used to create disks.
|
|
293
291
|
*
|
|
294
292
|
* The `SnapshotId` and `Size` parameters have the following restrictions:
|
|
295
293
|
*
|
|
296
|
-
* - If the snapshot
|
|
297
|
-
* - If the snapshot
|
|
298
|
-
* -
|
|
294
|
+
* - If the snapshot specified by `SnapshotId` is larger than the specified `Size` value, the snapshot size of the created disk equals the size of the specified snapshot.
|
|
295
|
+
* - If the snapshot specified by `SnapshotId` is smaller than the specified `Size` value, the snapshot size of the created disk equals the specified `Size` value.
|
|
296
|
+
* - Elastic ephemeral disks cannot be created from snapshots.
|
|
299
297
|
*
|
|
300
298
|
* @example
|
|
301
299
|
* s-bp67acfmxazb4p****
|
|
@@ -303,9 +301,9 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
303
301
|
snapshotId?: string;
|
|
304
302
|
/**
|
|
305
303
|
* @remarks
|
|
306
|
-
* The dedicated block storage cluster
|
|
304
|
+
* The ID of the dedicated block storage cluster. To create a disk in a specific dedicated block storage cluster, specify this parameter.
|
|
307
305
|
*
|
|
308
|
-
* >
|
|
306
|
+
* > You can set either the storage set parameters (`StorageSetId` and `StorageSetPartitionNumber`) or the dedicated block storage cluster parameter (`StorageClusterId`), but not both. If you set both, the API call fails.
|
|
309
307
|
*
|
|
310
308
|
* @example
|
|
311
309
|
* dbsc-j5e1sf2vaf5he8m2****
|
|
@@ -313,9 +311,9 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
313
311
|
storageClusterId?: string;
|
|
314
312
|
/**
|
|
315
313
|
* @remarks
|
|
316
|
-
* The storage set
|
|
314
|
+
* The ID of the storage set.
|
|
317
315
|
*
|
|
318
|
-
* >
|
|
316
|
+
* > You can set either the storage set parameters (`StorageSetId` and `StorageSetPartitionNumber`) or the dedicated block storage cluster parameter (`StorageClusterId`), but not both. If you set both, the API call fails.
|
|
319
317
|
*
|
|
320
318
|
* @example
|
|
321
319
|
* ss-bp67acfmxazb4p****
|
|
@@ -323,7 +321,7 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
323
321
|
storageSetId?: string;
|
|
324
322
|
/**
|
|
325
323
|
* @remarks
|
|
326
|
-
* The number of storage set
|
|
324
|
+
* The number of partitions in the storage set. Valid values: 2 and greater. The maximum value cannot exceed the privilege quota limit returned by calling [DescribeAccountAttributes](https://help.aliyun.com/document_detail/73772.html).
|
|
327
325
|
*
|
|
328
326
|
* Default value: 2.
|
|
329
327
|
*
|
|
@@ -333,18 +331,18 @@ export declare class CreateDiskRequest extends $dara.Model {
|
|
|
333
331
|
storageSetPartitionNumber?: number;
|
|
334
332
|
/**
|
|
335
333
|
* @remarks
|
|
336
|
-
* The list of
|
|
334
|
+
* The list of tags for the disk.
|
|
337
335
|
*/
|
|
338
336
|
tag?: CreateDiskRequestTag[];
|
|
339
337
|
/**
|
|
340
338
|
* @remarks
|
|
341
|
-
*
|
|
339
|
+
* The ID of the zone in which to create a pay-as-you-go disk.
|
|
342
340
|
*
|
|
343
|
-
* - If you do not
|
|
341
|
+
* - If you do not specify InstanceId, ZoneId is required.
|
|
344
342
|
* - You cannot specify both ZoneId and InstanceId.
|
|
345
343
|
*
|
|
346
344
|
*
|
|
347
|
-
* >
|
|
345
|
+
* > You do not need to set ZoneId for disks of the `cloud_regional_disk_auto` type.
|
|
348
346
|
*
|
|
349
347
|
* @example
|
|
350
348
|
* cn-hangzhou-g
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateDiskRequest.js","sourceRoot":"","sources":["../../src/models/CreateDiskRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;IAyBnD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,QAAQ,EAAE,UAAU;YACpB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,QAAQ,EAAE,QAAQ;YAClB,OAAO,EAAE,QAAQ;SAClB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhDD,oDAgDC;AAED,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;IAiBnD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,KAAK;YACV,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAA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pB,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;YACrB,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,gBAAgB,EAAE,QAAQ;YAC1B,eAAe,EAAE,QAAQ;YACzB,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;YACzB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,QAAQ;YACpB,gBAAgB,EAAE,QAAQ;YAC1B,YAAY,EAAE,QAAQ;YACtB,yBAAyB,EAAE,QAAQ;YACnC,GAAG,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE;YAC1D,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YAC3B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACtC,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YAC3B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACtC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1WD,8CA0WC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateDiskResponseBody extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The disk
|
|
5
|
+
* The ID of the disk.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* d-bp131n0q38u3a4zi****
|
|
@@ -10,9 +10,9 @@ export declare class CreateDiskResponseBody extends $dara.Model {
|
|
|
10
10
|
diskId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The
|
|
13
|
+
* The ID of the order.
|
|
14
14
|
*
|
|
15
|
-
* >
|
|
15
|
+
* > An order ID is returned only when you create a subscription disk.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* 20413515388****
|