@alicloud/ecs20140526 4.4.3 → 4.4.5
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 +1804 -627
- package/dist/client.js +766 -731
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2451 -1161
package/dist/client.d.ts
CHANGED
|
@@ -631,7 +631,7 @@ export declare class AllocatePublicIpAddressRequest extends $tea.Model {
|
|
|
631
631
|
* The public IP address. If you leave this parameter empty, the system randomly assigns a public IP address to the instance.
|
|
632
632
|
*
|
|
633
633
|
* @example
|
|
634
|
-
* 112.124
|
|
634
|
+
* ``112.124.**.**``
|
|
635
635
|
*/
|
|
636
636
|
ipAddress?: string;
|
|
637
637
|
ownerAccount?: string;
|
|
@@ -664,7 +664,7 @@ export declare class AllocatePublicIpAddressResponseBody extends $tea.Model {
|
|
|
664
664
|
* The public IP address.
|
|
665
665
|
*
|
|
666
666
|
* @example
|
|
667
|
-
* 112.124
|
|
667
|
+
* ``112.124.**.**``
|
|
668
668
|
*/
|
|
669
669
|
ipAddress?: string;
|
|
670
670
|
/**
|
|
@@ -963,7 +963,7 @@ export declare class AssignPrivateIpAddressesRequest extends $tea.Model {
|
|
|
963
963
|
* To assign secondary private IP addresses to the ENI, you must specify `PrivateIpAddress.N` or `SecondaryPrivateIpAddressCount` but not both.
|
|
964
964
|
*
|
|
965
965
|
* @example
|
|
966
|
-
* 10.1
|
|
966
|
+
* ``10.1.**.**``
|
|
967
967
|
*/
|
|
968
968
|
privateIpAddress?: string[];
|
|
969
969
|
/**
|
|
@@ -3353,6 +3353,14 @@ export declare class CreateAutoProvisioningGroupRequest extends $tea.Model {
|
|
|
3353
3353
|
resourceGroupId?: string;
|
|
3354
3354
|
resourceOwnerAccount?: string;
|
|
3355
3355
|
resourceOwnerId?: number;
|
|
3356
|
+
/**
|
|
3357
|
+
* @remarks
|
|
3358
|
+
* The resource pool options to use to create instances. When you specify this parameter, take note of the following items:
|
|
3359
|
+
*
|
|
3360
|
+
* * This parameter takes effect only when the auto provisioning group creates pay-as-you-go instances.
|
|
3361
|
+
* * This parameter takes effect only if you set `AutoProvisioningGroupType` to instant.
|
|
3362
|
+
*/
|
|
3363
|
+
resourcePoolOptions?: CreateAutoProvisioningGroupRequestResourcePoolOptions;
|
|
3356
3364
|
/**
|
|
3357
3365
|
* @remarks
|
|
3358
3366
|
* The policy for creating preemptible instances. Valid values:
|
|
@@ -3480,6 +3488,308 @@ export declare class CreateAutoProvisioningGroupRequest extends $tea.Model {
|
|
|
3480
3488
|
[key: string]: any;
|
|
3481
3489
|
});
|
|
3482
3490
|
}
|
|
3491
|
+
export declare class CreateAutoProvisioningGroupShrinkRequest extends $tea.Model {
|
|
3492
|
+
launchConfiguration?: CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration;
|
|
3493
|
+
/**
|
|
3494
|
+
* @remarks
|
|
3495
|
+
* The name of the auto provisioning group. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
3496
|
+
*
|
|
3497
|
+
* @example
|
|
3498
|
+
* apg-test
|
|
3499
|
+
*/
|
|
3500
|
+
autoProvisioningGroupName?: string;
|
|
3501
|
+
/**
|
|
3502
|
+
* @remarks
|
|
3503
|
+
* The delivery type of the auto provisioning group. Valid values:
|
|
3504
|
+
*
|
|
3505
|
+
* * request: one-time asynchronous delivery. When the auto provisioning group is started, it attempts to asynchronously deliver an instance cluster that meets the target capacity only once. The group does not retry the operation regardless of whether all the instances are delivered.
|
|
3506
|
+
* * instant: one-time synchronous delivery. When the auto provisioning group is started, it attempts to synchronously deliver an instance cluster that meets the target capacity only once. The list of delivered instances and the causes of delivery failures are returned in the response.
|
|
3507
|
+
* * maintain: continuous delivery. When the auto provisioning group is started, it attempts to deliver an instance cluster that meets the target capacity, and monitors the real-time capacity. If the target capacity of the auto provisioning group is not reached, the auto provisioning group continues to create instances until the target capacity is reached.
|
|
3508
|
+
*
|
|
3509
|
+
* Default value: maintain.
|
|
3510
|
+
*
|
|
3511
|
+
* @example
|
|
3512
|
+
* maintain
|
|
3513
|
+
*/
|
|
3514
|
+
autoProvisioningGroupType?: string;
|
|
3515
|
+
/**
|
|
3516
|
+
* @remarks
|
|
3517
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token 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).
|
|
3518
|
+
*
|
|
3519
|
+
* @example
|
|
3520
|
+
* 0c593ea1-3bea-11e9-b96b-88e9fe637760
|
|
3521
|
+
*/
|
|
3522
|
+
clientToken?: string;
|
|
3523
|
+
/**
|
|
3524
|
+
* @remarks
|
|
3525
|
+
* The information of data disks on the instance.
|
|
3526
|
+
*/
|
|
3527
|
+
dataDiskConfig?: CreateAutoProvisioningGroupShrinkRequestDataDiskConfig[];
|
|
3528
|
+
/**
|
|
3529
|
+
* @remarks
|
|
3530
|
+
* The type of supplemental instances. When the sum of the `PayAsYouGoTargetCapacity` and `SpotTargetCapacity` values is smaller than the `TotalTargetCapacity` value, the auto provisioning group creates instances of the specified type to meet the total target capacity. Valid values:
|
|
3531
|
+
*
|
|
3532
|
+
* * PayAsYouGo: pay-as-you-go instances
|
|
3533
|
+
* * Spot: preemptible instances.
|
|
3534
|
+
*
|
|
3535
|
+
* Default value: Spot.
|
|
3536
|
+
*
|
|
3537
|
+
* @example
|
|
3538
|
+
* Spot
|
|
3539
|
+
*/
|
|
3540
|
+
defaultTargetCapacityType?: string;
|
|
3541
|
+
/**
|
|
3542
|
+
* @remarks
|
|
3543
|
+
* The description of the auto provisioning group.
|
|
3544
|
+
*
|
|
3545
|
+
* @example
|
|
3546
|
+
* testDescription
|
|
3547
|
+
*/
|
|
3548
|
+
description?: string;
|
|
3549
|
+
/**
|
|
3550
|
+
* @remarks
|
|
3551
|
+
* Specifies whether to release scaled-in instances when the real-time capacity of the auto provisioning group exceeds the target capacity and the group is triggered to scale in. Valid values:
|
|
3552
|
+
*
|
|
3553
|
+
* * termination: releases the scaled-in instances in the auto provisioning group.
|
|
3554
|
+
* * no-termination: removes the scaled-in instances from the auto provisioning group but does not release the instances.
|
|
3555
|
+
*
|
|
3556
|
+
* Default value: no-termination.
|
|
3557
|
+
*
|
|
3558
|
+
* @example
|
|
3559
|
+
* termination
|
|
3560
|
+
*/
|
|
3561
|
+
excessCapacityTerminationPolicy?: string;
|
|
3562
|
+
/**
|
|
3563
|
+
* @remarks
|
|
3564
|
+
* >This parameter is in invitational preview and is not publicly available.
|
|
3565
|
+
*
|
|
3566
|
+
* @example
|
|
3567
|
+
* false
|
|
3568
|
+
*/
|
|
3569
|
+
hibernationOptionsConfigured?: boolean;
|
|
3570
|
+
/**
|
|
3571
|
+
* @remarks
|
|
3572
|
+
* The extended configurations of the launch template.
|
|
3573
|
+
*/
|
|
3574
|
+
launchTemplateConfig?: CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig[];
|
|
3575
|
+
/**
|
|
3576
|
+
* @remarks
|
|
3577
|
+
* The ID of the launch template associated with the auto provisioning group. You can call the [DescribeLaunchTemplates](https://help.aliyun.com/document_detail/73759.html) operation to query available launch templates. When both LaunchTemplateId and `LaunchConfiguration.*` parameters are specified, LaunchTemplateId takes precedence.
|
|
3578
|
+
*
|
|
3579
|
+
* @example
|
|
3580
|
+
* lt-bp1fgzds4bdogu03****
|
|
3581
|
+
*/
|
|
3582
|
+
launchTemplateId?: string;
|
|
3583
|
+
/**
|
|
3584
|
+
* @remarks
|
|
3585
|
+
* The version of the launch template associated with the auto provisioning group. You can call the [DescribeLaunchTemplateVersions](https://help.aliyun.com/document_detail/73761.html) operation to query the versions of available launch templates.
|
|
3586
|
+
*
|
|
3587
|
+
* Default value: the default version of the launch template.
|
|
3588
|
+
*
|
|
3589
|
+
* @example
|
|
3590
|
+
* 1
|
|
3591
|
+
*/
|
|
3592
|
+
launchTemplateVersion?: string;
|
|
3593
|
+
/**
|
|
3594
|
+
* @remarks
|
|
3595
|
+
* The maximum price of preemptible instances in the auto provisioning group.
|
|
3596
|
+
*
|
|
3597
|
+
* > When both `MaxSpotPrice` and `LaunchTemplateConfig.N.MaxPrice` are specified, the smaller one of the two parameter values is used.
|
|
3598
|
+
*
|
|
3599
|
+
* @example
|
|
3600
|
+
* 2
|
|
3601
|
+
*/
|
|
3602
|
+
maxSpotPrice?: number;
|
|
3603
|
+
/**
|
|
3604
|
+
* @remarks
|
|
3605
|
+
* The minimum target capacity of the auto provisioning group. The value must be a positive integer. When you specify this parameter, take note of the following items:
|
|
3606
|
+
*
|
|
3607
|
+
* - This parameter takes effect only when `AutoProvisioningGroupType` is set to instant.
|
|
3608
|
+
* - If the number of instances that can be created in the current region is smaller than the value of this parameter, the operation cannot be called and no instances are created.
|
|
3609
|
+
* - If the number of instances that can be created in the current region is greater than the value of this parameter, instances can be created based on the specified parameters.
|
|
3610
|
+
*
|
|
3611
|
+
* @example
|
|
3612
|
+
* 20
|
|
3613
|
+
*/
|
|
3614
|
+
minTargetCapacity?: string;
|
|
3615
|
+
ownerAccount?: string;
|
|
3616
|
+
ownerId?: number;
|
|
3617
|
+
/**
|
|
3618
|
+
* @remarks
|
|
3619
|
+
* The policy for creating pay-as-you-go instances. Valid values:
|
|
3620
|
+
*
|
|
3621
|
+
* * lowest-price: cost optimization policy. The auto provisioning group selects the lowest-priced instance type to create instances.
|
|
3622
|
+
* * prioritized: priority-based policy. The auto provisioning group creates instances based on the priority specified by `LaunchTemplateConfig.N.Priority`.
|
|
3623
|
+
*
|
|
3624
|
+
* Default value: lowest-price.
|
|
3625
|
+
*
|
|
3626
|
+
* @example
|
|
3627
|
+
* prioritized
|
|
3628
|
+
*/
|
|
3629
|
+
payAsYouGoAllocationStrategy?: string;
|
|
3630
|
+
/**
|
|
3631
|
+
* @remarks
|
|
3632
|
+
* The target capacity of pay-as-you-go instances in the auto provisioning group. The value must be less than or equal to the `TotalTargetCapacity` value.
|
|
3633
|
+
*
|
|
3634
|
+
* @example
|
|
3635
|
+
* 30
|
|
3636
|
+
*/
|
|
3637
|
+
payAsYouGoTargetCapacity?: string;
|
|
3638
|
+
/**
|
|
3639
|
+
* @remarks
|
|
3640
|
+
* The ID of the region in which to create the auto provisioning group. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
|
|
3641
|
+
*
|
|
3642
|
+
* This parameter is required.
|
|
3643
|
+
*
|
|
3644
|
+
* @example
|
|
3645
|
+
* cn-hangzhou
|
|
3646
|
+
*/
|
|
3647
|
+
regionId?: string;
|
|
3648
|
+
/**
|
|
3649
|
+
* @remarks
|
|
3650
|
+
* The ID of the resource group to which to assign the auto provisioning group.
|
|
3651
|
+
*
|
|
3652
|
+
* @example
|
|
3653
|
+
* rg-bp67acfmxazb4p****
|
|
3654
|
+
*/
|
|
3655
|
+
resourceGroupId?: string;
|
|
3656
|
+
resourceOwnerAccount?: string;
|
|
3657
|
+
resourceOwnerId?: number;
|
|
3658
|
+
/**
|
|
3659
|
+
* @remarks
|
|
3660
|
+
* The resource pool options to use to create instances. When you specify this parameter, take note of the following items:
|
|
3661
|
+
*
|
|
3662
|
+
* * This parameter takes effect only when the auto provisioning group creates pay-as-you-go instances.
|
|
3663
|
+
* * This parameter takes effect only if you set `AutoProvisioningGroupType` to instant.
|
|
3664
|
+
*/
|
|
3665
|
+
resourcePoolOptionsShrink?: string;
|
|
3666
|
+
/**
|
|
3667
|
+
* @remarks
|
|
3668
|
+
* The policy for creating preemptible instances. Valid values:
|
|
3669
|
+
*
|
|
3670
|
+
* * lowest-price: cost optimization policy. The auto provisioning group selects the lowest-priced instance type to create instances.
|
|
3671
|
+
* * diversified: balanced distribution policy. The auto provisioning group creates instances in zones that are specified in extended configurations and then evenly distributes the instances across the zones.
|
|
3672
|
+
* * capacity-optimized: capacity-optimized distribution policy. The auto provisioning group creates instances of the optimal instance types across the optimal zones based on resource availability.
|
|
3673
|
+
*
|
|
3674
|
+
* Default value: lowest-price.
|
|
3675
|
+
*
|
|
3676
|
+
* @example
|
|
3677
|
+
* diversified
|
|
3678
|
+
*/
|
|
3679
|
+
spotAllocationStrategy?: string;
|
|
3680
|
+
/**
|
|
3681
|
+
* @remarks
|
|
3682
|
+
* The operation to be performed on the preemptible instance when it is interrupted. Valid values:
|
|
3683
|
+
*
|
|
3684
|
+
* * stop: stops the preemptible instance.
|
|
3685
|
+
* * terminate: releases the preemptible instance.
|
|
3686
|
+
*
|
|
3687
|
+
* Default value: terminate.
|
|
3688
|
+
*
|
|
3689
|
+
* @example
|
|
3690
|
+
* terminate
|
|
3691
|
+
*/
|
|
3692
|
+
spotInstanceInterruptionBehavior?: string;
|
|
3693
|
+
/**
|
|
3694
|
+
* @remarks
|
|
3695
|
+
* The number of preemptible instances of the lowest-priced instance type to be created by the auto provisioning group. This parameter takes effect when `SpotAllocationStrategy` is set to `lowest-price`.
|
|
3696
|
+
*
|
|
3697
|
+
* The value must be smaller than the N value specified in `LaunchTemplateConfig.N`.
|
|
3698
|
+
*
|
|
3699
|
+
* @example
|
|
3700
|
+
* 2
|
|
3701
|
+
*/
|
|
3702
|
+
spotInstancePoolsToUseCount?: number;
|
|
3703
|
+
/**
|
|
3704
|
+
* @remarks
|
|
3705
|
+
* The target capacity of preemptible instances in the auto provisioning group. The value must be less than or equal to the `TotalTargetCapacity` value.
|
|
3706
|
+
*
|
|
3707
|
+
* @example
|
|
3708
|
+
* 20
|
|
3709
|
+
*/
|
|
3710
|
+
spotTargetCapacity?: string;
|
|
3711
|
+
/**
|
|
3712
|
+
* @remarks
|
|
3713
|
+
* The information of system disks on the instance.
|
|
3714
|
+
*/
|
|
3715
|
+
systemDiskConfig?: CreateAutoProvisioningGroupShrinkRequestSystemDiskConfig[];
|
|
3716
|
+
/**
|
|
3717
|
+
* @remarks
|
|
3718
|
+
* The tags to add to the auto provisioning group.
|
|
3719
|
+
*/
|
|
3720
|
+
tag?: CreateAutoProvisioningGroupShrinkRequestTag[];
|
|
3721
|
+
/**
|
|
3722
|
+
* @remarks
|
|
3723
|
+
* Specifies whether to release instances in the auto provisioning group when the auto provisioning group is deleted. Valid values:
|
|
3724
|
+
*
|
|
3725
|
+
* * true: releases the instances.
|
|
3726
|
+
* * false: retains the instances.
|
|
3727
|
+
*
|
|
3728
|
+
* Default value: false.
|
|
3729
|
+
*
|
|
3730
|
+
* @example
|
|
3731
|
+
* true
|
|
3732
|
+
*/
|
|
3733
|
+
terminateInstances?: boolean;
|
|
3734
|
+
/**
|
|
3735
|
+
* @remarks
|
|
3736
|
+
* Specifies whether to release instances in the auto provisioning group when the group expires. Valid values:
|
|
3737
|
+
*
|
|
3738
|
+
* * true: releases the instances.
|
|
3739
|
+
* * false: only removes the instances from the auto provisioning group but does not release them.
|
|
3740
|
+
*
|
|
3741
|
+
* Default value: false.
|
|
3742
|
+
*
|
|
3743
|
+
* @example
|
|
3744
|
+
* true
|
|
3745
|
+
*/
|
|
3746
|
+
terminateInstancesWithExpiration?: boolean;
|
|
3747
|
+
/**
|
|
3748
|
+
* @remarks
|
|
3749
|
+
* The total target capacity of the auto provisioning group. The value must be a positive integer.
|
|
3750
|
+
*
|
|
3751
|
+
* The total target capacity of the auto provisioning group must be greater than or equal to the sum of the target capacity of pay-as-you-go instances specified by `PayAsYouGoTargetCapacity` and the target capacity of preemptible instances specified by `SpotTargetCapacity`.
|
|
3752
|
+
*
|
|
3753
|
+
* This parameter is required.
|
|
3754
|
+
*
|
|
3755
|
+
* @example
|
|
3756
|
+
* 60
|
|
3757
|
+
*/
|
|
3758
|
+
totalTargetCapacity?: string;
|
|
3759
|
+
/**
|
|
3760
|
+
* @remarks
|
|
3761
|
+
* The time at which to start the auto provisioning group. The period of time between this point in time and the point in time specified by `ValidUntil` is the validity period of the auto provisioning group.
|
|
3762
|
+
*
|
|
3763
|
+
* Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
|
|
3764
|
+
*
|
|
3765
|
+
* By default, an auto provisioning group is started immediately after it is created.
|
|
3766
|
+
*
|
|
3767
|
+
* @example
|
|
3768
|
+
* 2019-04-01T15:10:20Z
|
|
3769
|
+
*/
|
|
3770
|
+
validFrom?: string;
|
|
3771
|
+
/**
|
|
3772
|
+
* @remarks
|
|
3773
|
+
* The time at which the auto provisioning group expires. The period of time between this point in time and the point in time specified by `ValidFrom` is the validity period of the auto provisioning group.
|
|
3774
|
+
*
|
|
3775
|
+
* Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
|
|
3776
|
+
*
|
|
3777
|
+
* Default value: 2099-12-31T23:59:59Z.
|
|
3778
|
+
*
|
|
3779
|
+
* @example
|
|
3780
|
+
* 2019-06-01T15:10:20Z
|
|
3781
|
+
*/
|
|
3782
|
+
validUntil?: string;
|
|
3783
|
+
static names(): {
|
|
3784
|
+
[key: string]: string;
|
|
3785
|
+
};
|
|
3786
|
+
static types(): {
|
|
3787
|
+
[key: string]: any;
|
|
3788
|
+
};
|
|
3789
|
+
constructor(map?: {
|
|
3790
|
+
[key: string]: any;
|
|
3791
|
+
});
|
|
3792
|
+
}
|
|
3483
3793
|
export declare class CreateAutoProvisioningGroupResponseBody extends $tea.Model {
|
|
3484
3794
|
/**
|
|
3485
3795
|
* @remarks
|
|
@@ -3957,6 +4267,7 @@ export declare class CreateCommandRequest extends $tea.Model {
|
|
|
3957
4267
|
* false
|
|
3958
4268
|
*/
|
|
3959
4269
|
enableParameter?: boolean;
|
|
4270
|
+
launcher?: string;
|
|
3960
4271
|
/**
|
|
3961
4272
|
* @remarks
|
|
3962
4273
|
* The name of the command. The name supports all character sets and can be up to 128 characters in length.
|
|
@@ -5772,6 +6083,13 @@ export declare class CreateImageComponentRequest extends $tea.Model {
|
|
|
5772
6083
|
* Build
|
|
5773
6084
|
*/
|
|
5774
6085
|
componentType?: string;
|
|
6086
|
+
/**
|
|
6087
|
+
* @remarks
|
|
6088
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
6089
|
+
*
|
|
6090
|
+
* @example
|
|
6091
|
+
* null
|
|
6092
|
+
*/
|
|
5775
6093
|
componentVersion?: string;
|
|
5776
6094
|
/**
|
|
5777
6095
|
* @remarks
|
|
@@ -5791,9 +6109,9 @@ export declare class CreateImageComponentRequest extends $tea.Model {
|
|
|
5791
6109
|
description?: string;
|
|
5792
6110
|
/**
|
|
5793
6111
|
* @remarks
|
|
5794
|
-
* The component
|
|
6112
|
+
* The name of the image component. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
|
|
5795
6113
|
*
|
|
5796
|
-
* >
|
|
6114
|
+
* > If you do not specify `Name`, the return value of `ImageComponentId` is used.
|
|
5797
6115
|
*
|
|
5798
6116
|
* @example
|
|
5799
6117
|
* testComponent
|
|
@@ -5823,7 +6141,7 @@ export declare class CreateImageComponentRequest extends $tea.Model {
|
|
|
5823
6141
|
resourceOwnerId?: number;
|
|
5824
6142
|
/**
|
|
5825
6143
|
* @remarks
|
|
5826
|
-
* The operating system
|
|
6144
|
+
* The type of the operating system supported by the image component. Only Linux operating systems are supported. Set the value to Linux.
|
|
5827
6145
|
*
|
|
5828
6146
|
* Default value: Linux.
|
|
5829
6147
|
*
|
|
@@ -5963,10 +6281,17 @@ export declare class CreateImagePipelineRequest extends $tea.Model {
|
|
|
5963
6281
|
* This is description.
|
|
5964
6282
|
*/
|
|
5965
6283
|
description?: string;
|
|
6284
|
+
/**
|
|
6285
|
+
* @remarks
|
|
6286
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
6287
|
+
*
|
|
6288
|
+
* @example
|
|
6289
|
+
* null
|
|
6290
|
+
*/
|
|
5966
6291
|
imageFamily?: string;
|
|
5967
6292
|
/**
|
|
5968
6293
|
* @remarks
|
|
5969
|
-
* The prefix of the image name. The prefix must be 2 to 64 characters in length.
|
|
6294
|
+
* The prefix of the image name. The prefix must be 2 to 64 characters in length. The prefix must start with a letter and cannot start with `http://` or `https://`. The prefix can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
|
|
5970
6295
|
*
|
|
5971
6296
|
* The system generates the final complete image name that consists of the specified prefix and the ID of the build task (`ExecutionId`) in the format of `{ImageName}_{ExecutionId}`.
|
|
5972
6297
|
*
|
|
@@ -5996,9 +6321,9 @@ export declare class CreateImagePipelineRequest extends $tea.Model {
|
|
|
5996
6321
|
internetMaxBandwidthOut?: number;
|
|
5997
6322
|
/**
|
|
5998
6323
|
* @remarks
|
|
5999
|
-
* The name of the
|
|
6324
|
+
* The name of the launch template. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. The name can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
|
|
6000
6325
|
*
|
|
6001
|
-
* >
|
|
6326
|
+
* > If you do not specify `Name`, the return value of `ImagePipelineId` is used.
|
|
6002
6327
|
*
|
|
6003
6328
|
* @example
|
|
6004
6329
|
* testImagePipeline
|
|
@@ -6016,6 +6341,13 @@ export declare class CreateImagePipelineRequest extends $tea.Model {
|
|
|
6016
6341
|
* cn-hangzhou
|
|
6017
6342
|
*/
|
|
6018
6343
|
regionId?: string;
|
|
6344
|
+
/**
|
|
6345
|
+
* @remarks
|
|
6346
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
6347
|
+
*
|
|
6348
|
+
* @example
|
|
6349
|
+
* null
|
|
6350
|
+
*/
|
|
6019
6351
|
repairMode?: string;
|
|
6020
6352
|
/**
|
|
6021
6353
|
* @remarks
|
|
@@ -6042,6 +6374,13 @@ export declare class CreateImagePipelineRequest extends $tea.Model {
|
|
|
6042
6374
|
* The tags to add to the template.
|
|
6043
6375
|
*/
|
|
6044
6376
|
tag?: CreateImagePipelineRequestTag[];
|
|
6377
|
+
/**
|
|
6378
|
+
* @remarks
|
|
6379
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
6380
|
+
*
|
|
6381
|
+
* @example
|
|
6382
|
+
* null
|
|
6383
|
+
*/
|
|
6045
6384
|
testContent?: string;
|
|
6046
6385
|
/**
|
|
6047
6386
|
* @remarks
|
|
@@ -6337,7 +6676,7 @@ export declare class CreateInstanceRequest extends $tea.Model {
|
|
|
6337
6676
|
* The internal IP address to assign to the instance.
|
|
6338
6677
|
*
|
|
6339
6678
|
* @example
|
|
6340
|
-
* 192.168
|
|
6679
|
+
* ``192.168.**.**``
|
|
6341
6680
|
*/
|
|
6342
6681
|
innerIpAddress?: string;
|
|
6343
6682
|
/**
|
|
@@ -6966,6 +7305,21 @@ export declare class CreateLaunchTemplateRequest extends $tea.Model {
|
|
|
6966
7305
|
* testHostName
|
|
6967
7306
|
*/
|
|
6968
7307
|
hostName?: string;
|
|
7308
|
+
/**
|
|
7309
|
+
* @example
|
|
7310
|
+
* enabled
|
|
7311
|
+
*/
|
|
7312
|
+
httpEndpoint?: string;
|
|
7313
|
+
/**
|
|
7314
|
+
* @example
|
|
7315
|
+
* 3
|
|
7316
|
+
*/
|
|
7317
|
+
httpPutResponseHopLimit?: number;
|
|
7318
|
+
/**
|
|
7319
|
+
* @example
|
|
7320
|
+
* optional
|
|
7321
|
+
*/
|
|
7322
|
+
httpTokens?: string;
|
|
6969
7323
|
/**
|
|
6970
7324
|
* @remarks
|
|
6971
7325
|
* The ID of the image to use to create the instance. You can call the [DescribeImages](https://help.aliyun.com/document_detail/25534.html) operation to query available images.
|
|
@@ -7141,7 +7495,7 @@ export declare class CreateLaunchTemplateRequest extends $tea.Model {
|
|
|
7141
7495
|
* To assign a private IP address to an instance that resides in a VPC, make sure that the IP address is an idle IP address within the CIDR block of the vSwitch specified by the `VSwitchId` parameter.
|
|
7142
7496
|
*
|
|
7143
7497
|
* @example
|
|
7144
|
-
* 10.1
|
|
7498
|
+
* ``10.1.**.**``
|
|
7145
7499
|
*/
|
|
7146
7500
|
privateIpAddress?: string;
|
|
7147
7501
|
/**
|
|
@@ -7469,6 +7823,21 @@ export declare class CreateLaunchTemplateVersionRequest extends $tea.Model {
|
|
|
7469
7823
|
* testHostName
|
|
7470
7824
|
*/
|
|
7471
7825
|
hostName?: string;
|
|
7826
|
+
/**
|
|
7827
|
+
* @example
|
|
7828
|
+
* enabled
|
|
7829
|
+
*/
|
|
7830
|
+
httpEndpoint?: string;
|
|
7831
|
+
/**
|
|
7832
|
+
* @example
|
|
7833
|
+
* 3
|
|
7834
|
+
*/
|
|
7835
|
+
httpPutResponseHopLimit?: number;
|
|
7836
|
+
/**
|
|
7837
|
+
* @example
|
|
7838
|
+
* optional
|
|
7839
|
+
*/
|
|
7840
|
+
httpTokens?: string;
|
|
7472
7841
|
/**
|
|
7473
7842
|
* @remarks
|
|
7474
7843
|
* The ID of the image to use to create the Elastic Compute Service (ECS) instance. You can call the [DescribeImages](https://help.aliyun.com/document_detail/25534.html) operation to query available images.
|
|
@@ -7652,7 +8021,7 @@ export declare class CreateLaunchTemplateVersionRequest extends $tea.Model {
|
|
|
7652
8021
|
* To assign a private IP address to an instance of the VPC type, make sure that the IP address is an idle IP address within the CIDR block of the vSwitch specified by the `VSwitchId` parameter.
|
|
7653
8022
|
*
|
|
7654
8023
|
* @example
|
|
7655
|
-
* 10.1
|
|
8024
|
+
* ``10.1.**.**``
|
|
7656
8025
|
*/
|
|
7657
8026
|
privateIpAddress?: string;
|
|
7658
8027
|
/**
|
|
@@ -8077,7 +8446,7 @@ export declare class CreateNetworkInterfaceRequest extends $tea.Model {
|
|
|
8077
8446
|
* The specified IP address must be an idle IP address within the CIDR block of the vSwitch with which to associate the ENI. If this parameter is not specified, an idle IP address is assigned from within the vSwitch CIDR block at random.
|
|
8078
8447
|
*
|
|
8079
8448
|
* @example
|
|
8080
|
-
* 172.17
|
|
8449
|
+
* ``172.17.**.**``
|
|
8081
8450
|
*/
|
|
8082
8451
|
primaryIpAddress?: string;
|
|
8083
8452
|
/**
|
|
@@ -8087,7 +8456,7 @@ export declare class CreateNetworkInterfaceRequest extends $tea.Model {
|
|
|
8087
8456
|
* > To assign secondary private IP addresses to the ENI, you can specify the `PrivateIpAddress.N` or `SecondaryPrivateIpAddressCount` parameter, but not both.
|
|
8088
8457
|
*
|
|
8089
8458
|
* @example
|
|
8090
|
-
* 172.17
|
|
8459
|
+
* ``172.17.**.**``
|
|
8091
8460
|
*/
|
|
8092
8461
|
privateIpAddress?: string[];
|
|
8093
8462
|
/**
|
|
@@ -8278,7 +8647,7 @@ export declare class CreateNetworkInterfaceResponseBody extends $tea.Model {
|
|
|
8278
8647
|
* The private IP address of the ENI.
|
|
8279
8648
|
*
|
|
8280
8649
|
* @example
|
|
8281
|
-
* 172.17
|
|
8650
|
+
* ``172.17.**.**``
|
|
8282
8651
|
*/
|
|
8283
8652
|
privateIpAddress?: string;
|
|
8284
8653
|
/**
|
|
@@ -9131,10 +9500,10 @@ export declare class CreateSnapshotRequest extends $tea.Model {
|
|
|
9131
9500
|
* @remarks
|
|
9132
9501
|
* The category of the snapshot. Valid values:
|
|
9133
9502
|
*
|
|
9134
|
-
* * Standard:
|
|
9503
|
+
* * Standard: standard snapshot
|
|
9135
9504
|
* * Flash: local snapshot
|
|
9136
9505
|
*
|
|
9137
|
-
* > This parameter is no longer used. By default, new
|
|
9506
|
+
* > This parameter is no longer used. By default, new standard snapshots of ESSDs are upgraded to instant access snapshots free of charge without the need for additional configurations. For more information, see [Use the instant access feature](https://help.aliyun.com/document_detail/193667.html).
|
|
9138
9507
|
*
|
|
9139
9508
|
* @example
|
|
9140
9509
|
* Standard
|
|
@@ -9173,11 +9542,11 @@ export declare class CreateSnapshotRequest extends $tea.Model {
|
|
|
9173
9542
|
* Specifies whether to enable the instant access feature. Valid values:
|
|
9174
9543
|
*
|
|
9175
9544
|
* * true: enables the instant access feature. This feature can be enabled only for ESSDs.
|
|
9176
|
-
* * false: does not enable the instant access feature. If InstantAccess is set to false, a
|
|
9545
|
+
* * false: does not enable the instant access feature. If InstantAccess is set to false, a standard snapshot is created.
|
|
9177
9546
|
*
|
|
9178
9547
|
* Default value: false.
|
|
9179
9548
|
*
|
|
9180
|
-
* > This parameter is no longer used. By default, new
|
|
9549
|
+
* > This parameter is no longer used. By default, new standard snapshots of ESSDs are upgraded to instant access snapshots free of charge without the need for additional configurations. For more information, see [Use the instant access feature](https://help.aliyun.com/document_detail/193667.html).
|
|
9181
9550
|
*
|
|
9182
9551
|
* @example
|
|
9183
9552
|
* false
|
|
@@ -9189,7 +9558,7 @@ export declare class CreateSnapshotRequest extends $tea.Model {
|
|
|
9189
9558
|
*
|
|
9190
9559
|
* By default, the value of this parameter is the same as that of `RetentionDays`.
|
|
9191
9560
|
*
|
|
9192
|
-
* > This parameter is no longer used. By default, new
|
|
9561
|
+
* > This parameter is no longer used. By default, new standard snapshots of ESSDs are upgraded to instant access snapshots free of charge without the need for additional configurations. For more information, see [Use the instant access feature](https://help.aliyun.com/document_detail/193667.html).
|
|
9193
9562
|
*
|
|
9194
9563
|
* @example
|
|
9195
9564
|
* 1
|
|
@@ -9201,7 +9570,7 @@ export declare class CreateSnapshotRequest extends $tea.Model {
|
|
|
9201
9570
|
* @remarks
|
|
9202
9571
|
* The snapshot type. Valid values:
|
|
9203
9572
|
*
|
|
9204
|
-
* * Standard:
|
|
9573
|
+
* * Standard: standard snapshot
|
|
9205
9574
|
* * Flash: local snapshot
|
|
9206
9575
|
*
|
|
9207
9576
|
* > This parameter will be removed in the future. We recommend that you use the `InstantAccess` parameter to ensure future compatibility. This parameter and the `InstantAccess` parameter cannot be specified at the same time. For more information, see the "Description" section of this topic.
|
|
@@ -9224,9 +9593,9 @@ export declare class CreateSnapshotRequest extends $tea.Model {
|
|
|
9224
9593
|
retentionDays?: number;
|
|
9225
9594
|
/**
|
|
9226
9595
|
* @remarks
|
|
9227
|
-
* The name of the snapshot. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with
|
|
9596
|
+
* The name of the snapshot. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
|
|
9228
9597
|
*
|
|
9229
|
-
*
|
|
9598
|
+
* The name cannot start with `auto` because snapshots whose names start with auto are recognized as automatic snapshots.
|
|
9230
9599
|
*
|
|
9231
9600
|
* @example
|
|
9232
9601
|
* testSnapshotName
|
|
@@ -9354,7 +9723,7 @@ export declare class CreateSnapshotGroupRequest extends $tea.Model {
|
|
|
9354
9723
|
*
|
|
9355
9724
|
* Default value: false.
|
|
9356
9725
|
*
|
|
9357
|
-
* > This parameter is no longer used. By default, new
|
|
9726
|
+
* > This parameter is no longer used. By default, new standard snapshots of ESSDs are upgraded to instant access snapshots free of charge without the need for additional configurations. For more information, see [Use the instant access feature](https://help.aliyun.com/document_detail/193667.html).
|
|
9358
9727
|
*
|
|
9359
9728
|
* @example
|
|
9360
9729
|
* false
|
|
@@ -9366,9 +9735,9 @@ export declare class CreateSnapshotGroupRequest extends $tea.Model {
|
|
|
9366
9735
|
*
|
|
9367
9736
|
* This parameter takes effect only when `InstantAccess` is set to true. The instant access feature is automatically disabled when the specified duration ends.
|
|
9368
9737
|
*
|
|
9369
|
-
* This parameter is left empty by default, which indicates that the instant access feature is automatically disabled
|
|
9738
|
+
* This parameter is left empty by default, which indicates that the instant access feature is automatically disabled when the instant access snapshots are released.
|
|
9370
9739
|
*
|
|
9371
|
-
* > This parameter is no longer used. By default, new
|
|
9740
|
+
* > This parameter is no longer used. By default, new standard snapshots of ESSDs are upgraded to instant access snapshots free of charge without the need for additional configurations. For more information, see [Use the instant access feature](https://help.aliyun.com/document_detail/193667.html).
|
|
9372
9741
|
*
|
|
9373
9742
|
* @example
|
|
9374
9743
|
* 1
|
|
@@ -11970,9 +12339,9 @@ export declare class DeleteSecurityGroupResponse extends $tea.Model {
|
|
|
11970
12339
|
export declare class DeleteSnapshotRequest extends $tea.Model {
|
|
11971
12340
|
/**
|
|
11972
12341
|
* @remarks
|
|
11973
|
-
* Specifies whether to force delete the snapshot that has been used to create disks. Valid values:
|
|
12342
|
+
* Specifies whether to force delete the snapshot that has been used to create cloud disks. Valid values:
|
|
11974
12343
|
*
|
|
11975
|
-
* * true: force deletes the snapshot. After the snapshot is force deleted, the disks created from the snapshot cannot be re-initialized.
|
|
12344
|
+
* * true: force deletes the snapshot. After the snapshot is force deleted, the cloud disks created from the snapshot cannot be re-initialized.
|
|
11976
12345
|
* * false: does not force delete the snapshot.
|
|
11977
12346
|
*
|
|
11978
12347
|
* Default value: false.
|
|
@@ -16355,7 +16724,7 @@ export declare class DescribeDiskDefaultKMSKeyIdResponse extends $tea.Model {
|
|
|
16355
16724
|
export declare class DescribeDiskEncryptionByDefaultStatusRequest extends $tea.Model {
|
|
16356
16725
|
/**
|
|
16357
16726
|
* @remarks
|
|
16358
|
-
* The ID
|
|
16727
|
+
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) operation to query the most recent region list.
|
|
16359
16728
|
*
|
|
16360
16729
|
* This parameter is required.
|
|
16361
16730
|
*
|
|
@@ -17916,7 +18285,21 @@ export declare class DescribeHpcClustersResponse extends $tea.Model {
|
|
|
17916
18285
|
});
|
|
17917
18286
|
}
|
|
17918
18287
|
export declare class DescribeImageComponentsRequest extends $tea.Model {
|
|
18288
|
+
/**
|
|
18289
|
+
* @remarks
|
|
18290
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
18291
|
+
*
|
|
18292
|
+
* @example
|
|
18293
|
+
* null
|
|
18294
|
+
*/
|
|
17919
18295
|
componentType?: string;
|
|
18296
|
+
/**
|
|
18297
|
+
* @remarks
|
|
18298
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
18299
|
+
*
|
|
18300
|
+
* @example
|
|
18301
|
+
* null
|
|
18302
|
+
*/
|
|
17920
18303
|
componentVersion?: string;
|
|
17921
18304
|
/**
|
|
17922
18305
|
* @remarks
|
|
@@ -17987,6 +18370,13 @@ export declare class DescribeImageComponentsRequest extends $tea.Model {
|
|
|
17987
18370
|
resourceGroupId?: string;
|
|
17988
18371
|
resourceOwnerAccount?: string;
|
|
17989
18372
|
resourceOwnerId?: number;
|
|
18373
|
+
/**
|
|
18374
|
+
* @remarks
|
|
18375
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
18376
|
+
*
|
|
18377
|
+
* @example
|
|
18378
|
+
* null
|
|
18379
|
+
*/
|
|
17990
18380
|
systemType?: string;
|
|
17991
18381
|
/**
|
|
17992
18382
|
* @remarks
|
|
@@ -18006,7 +18396,7 @@ export declare class DescribeImageComponentsRequest extends $tea.Model {
|
|
|
18006
18396
|
export declare class DescribeImageComponentsResponseBody extends $tea.Model {
|
|
18007
18397
|
/**
|
|
18008
18398
|
* @remarks
|
|
18009
|
-
*
|
|
18399
|
+
* The information about the image components.
|
|
18010
18400
|
*/
|
|
18011
18401
|
imageComponent?: DescribeImageComponentsResponseBodyImageComponent;
|
|
18012
18402
|
/**
|
|
@@ -18299,7 +18689,7 @@ export declare class DescribeImagePipelinesRequest extends $tea.Model {
|
|
|
18299
18689
|
imagePipelineId?: string[];
|
|
18300
18690
|
/**
|
|
18301
18691
|
* @remarks
|
|
18302
|
-
* The number of entries per page. Valid values: 1 to 500
|
|
18692
|
+
* The number of entries per page. Valid values: 1 to 500
|
|
18303
18693
|
*
|
|
18304
18694
|
* Default value: 50.
|
|
18305
18695
|
*
|
|
@@ -18365,7 +18755,7 @@ export declare class DescribeImagePipelinesRequest extends $tea.Model {
|
|
|
18365
18755
|
export declare class DescribeImagePipelinesResponseBody extends $tea.Model {
|
|
18366
18756
|
/**
|
|
18367
18757
|
* @remarks
|
|
18368
|
-
*
|
|
18758
|
+
* The information about the image templates.
|
|
18369
18759
|
*/
|
|
18370
18760
|
imagePipeline?: DescribeImagePipelinesResponseBodyImagePipeline;
|
|
18371
18761
|
/**
|
|
@@ -22520,7 +22910,7 @@ export declare class DescribeLaunchTemplateVersionsRequest extends $tea.Model {
|
|
|
22520
22910
|
* @remarks
|
|
22521
22911
|
* The ID of the launch template.
|
|
22522
22912
|
*
|
|
22523
|
-
* You must set LaunchTemplateId or LaunchTemplateName to specify a launch template.
|
|
22913
|
+
* You must set `LaunchTemplateId` or `LaunchTemplateName` to specify a launch template.
|
|
22524
22914
|
*
|
|
22525
22915
|
* @example
|
|
22526
22916
|
* lt-bp168lnahrdwl39p****
|
|
@@ -22530,13 +22920,15 @@ export declare class DescribeLaunchTemplateVersionsRequest extends $tea.Model {
|
|
|
22530
22920
|
* @remarks
|
|
22531
22921
|
* The name of the launch template.
|
|
22532
22922
|
*
|
|
22923
|
+
* You must set `LaunchTemplateId` or `LaunchTemplateName` to specify a launch template.
|
|
22924
|
+
*
|
|
22533
22925
|
* @example
|
|
22534
22926
|
* testLaunchTemplateName
|
|
22535
22927
|
*/
|
|
22536
22928
|
launchTemplateName?: string;
|
|
22537
22929
|
/**
|
|
22538
22930
|
* @remarks
|
|
22539
|
-
*
|
|
22931
|
+
* The versions of the launch template.
|
|
22540
22932
|
*
|
|
22541
22933
|
* @example
|
|
22542
22934
|
* 1
|
|
@@ -22544,7 +22936,7 @@ export declare class DescribeLaunchTemplateVersionsRequest extends $tea.Model {
|
|
|
22544
22936
|
launchTemplateVersion?: number[];
|
|
22545
22937
|
/**
|
|
22546
22938
|
* @remarks
|
|
22547
|
-
* The maximum version number in the version range to query.
|
|
22939
|
+
* The maximum version number in the version range to query. This parameter is used together with `MinVersion` to specify a version range to query.
|
|
22548
22940
|
*
|
|
22549
22941
|
* @example
|
|
22550
22942
|
* 10
|
|
@@ -22552,7 +22944,7 @@ export declare class DescribeLaunchTemplateVersionsRequest extends $tea.Model {
|
|
|
22552
22944
|
maxVersion?: number;
|
|
22553
22945
|
/**
|
|
22554
22946
|
* @remarks
|
|
22555
|
-
* The minimum version number in the version range to query.
|
|
22947
|
+
* The minimum version number in the version range to query. This parameter is used together with `MaxVersion` to specify a version range to query.
|
|
22556
22948
|
*
|
|
22557
22949
|
* @example
|
|
22558
22950
|
* 1
|
|
@@ -22888,7 +23280,7 @@ export declare class DescribeManagedInstancesRequest extends $tea.Model {
|
|
|
22888
23280
|
* The internal or public IP address of the managed instance.
|
|
22889
23281
|
*
|
|
22890
23282
|
* @example
|
|
22891
|
-
* 192.168
|
|
23283
|
+
* ``192.168.**.**``
|
|
22892
23284
|
*/
|
|
22893
23285
|
instanceIp?: string;
|
|
22894
23286
|
/**
|
|
@@ -23307,7 +23699,7 @@ export declare class DescribeNetworkInterfaceAttributeResponseBody extends $tea.
|
|
|
23307
23699
|
* The private IP address of the ENI.
|
|
23308
23700
|
*
|
|
23309
23701
|
* @example
|
|
23310
|
-
* 10.1
|
|
23702
|
+
* ``10.1.**.**``
|
|
23311
23703
|
*/
|
|
23312
23704
|
privateIpAddress?: string;
|
|
23313
23705
|
/**
|
|
@@ -23389,6 +23781,13 @@ export declare class DescribeNetworkInterfaceAttributeResponseBody extends $tea.
|
|
|
23389
23781
|
* > This parameter is in invitational preview and unavailable for general users.
|
|
23390
23782
|
*/
|
|
23391
23783
|
slaveInterfaceSpecification?: DescribeNetworkInterfaceAttributeResponseBodySlaveInterfaceSpecification;
|
|
23784
|
+
/**
|
|
23785
|
+
* @remarks
|
|
23786
|
+
* This parameter is not publicly available.
|
|
23787
|
+
*
|
|
23788
|
+
* @example
|
|
23789
|
+
* false
|
|
23790
|
+
*/
|
|
23392
23791
|
sourceDestCheck?: boolean;
|
|
23393
23792
|
/**
|
|
23394
23793
|
* @remarks
|
|
@@ -23704,7 +24103,7 @@ export declare class DescribeNetworkInterfacesRequest extends $tea.Model {
|
|
|
23704
24103
|
* The primary private IPv4 address of the ENI.
|
|
23705
24104
|
*
|
|
23706
24105
|
* @example
|
|
23707
|
-
* 192.168
|
|
24106
|
+
* ``192.168.**.**``
|
|
23708
24107
|
*/
|
|
23709
24108
|
primaryIpAddress?: string;
|
|
23710
24109
|
/**
|
|
@@ -23712,7 +24111,7 @@ export declare class DescribeNetworkInterfacesRequest extends $tea.Model {
|
|
|
23712
24111
|
* An array that consists of the secondary private IPv4 addresses of the ENI. You can specify multiple secondary private IPv4 addresses. Valid values of N: 1 to 100.
|
|
23713
24112
|
*
|
|
23714
24113
|
* @example
|
|
23715
|
-
* 192.168
|
|
24114
|
+
* ``192.168.**.**``
|
|
23716
24115
|
*/
|
|
23717
24116
|
privateIpAddress?: string[];
|
|
23718
24117
|
/**
|
|
@@ -23819,7 +24218,7 @@ export declare class DescribeNetworkInterfacesRequest extends $tea.Model {
|
|
|
23819
24218
|
export declare class DescribeNetworkInterfacesResponseBody extends $tea.Model {
|
|
23820
24219
|
/**
|
|
23821
24220
|
* @remarks
|
|
23822
|
-
* Details
|
|
24221
|
+
* Details of the ENIs.
|
|
23823
24222
|
*/
|
|
23824
24223
|
networkInterfaceSets?: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSets;
|
|
23825
24224
|
/**
|
|
@@ -26823,7 +27222,7 @@ export declare class DescribeSnapshotGroupsResponseBody extends $tea.Model {
|
|
|
26823
27222
|
requestId?: string;
|
|
26824
27223
|
/**
|
|
26825
27224
|
* @remarks
|
|
26826
|
-
*
|
|
27225
|
+
* The information about the snapshot-consistent groups.
|
|
26827
27226
|
*/
|
|
26828
27227
|
snapshotGroups?: DescribeSnapshotGroupsResponseBodySnapshotGroups;
|
|
26829
27228
|
static names(): {
|
|
@@ -26990,7 +27389,7 @@ export declare class DescribeSnapshotMonitorDataRequest extends $tea.Model {
|
|
|
26990
27389
|
* @remarks
|
|
26991
27390
|
* The category of the snapshot. Valid values:
|
|
26992
27391
|
*
|
|
26993
|
-
* * Standard:
|
|
27392
|
+
* * Standard: standard snapshot
|
|
26994
27393
|
* * Flash: local snapshot
|
|
26995
27394
|
*
|
|
26996
27395
|
* Default value: Standard.
|
|
@@ -27208,7 +27607,7 @@ export declare class DescribeSnapshotsRequest extends $tea.Model {
|
|
|
27208
27607
|
* @remarks
|
|
27209
27608
|
* The category of the snapshot. Valid values:
|
|
27210
27609
|
*
|
|
27211
|
-
* * Standard:
|
|
27610
|
+
* * Standard: standard snapshot
|
|
27212
27611
|
* * Flash: local snapshot
|
|
27213
27612
|
*
|
|
27214
27613
|
* The local snapshot feature is replaced by the instant access feature. When you specify this parameter, take note of the following items:
|
|
@@ -27452,7 +27851,7 @@ export declare class DescribeSnapshotsResponseBody extends $tea.Model {
|
|
|
27452
27851
|
requestId?: string;
|
|
27453
27852
|
/**
|
|
27454
27853
|
* @remarks
|
|
27455
|
-
*
|
|
27854
|
+
* Details about the snapshots.
|
|
27456
27855
|
*/
|
|
27457
27856
|
snapshots?: DescribeSnapshotsResponseBodySnapshots;
|
|
27458
27857
|
/**
|
|
@@ -30135,7 +30534,7 @@ export declare class DisableActivationResponse extends $tea.Model {
|
|
|
30135
30534
|
export declare class DisableDiskEncryptionByDefaultRequest extends $tea.Model {
|
|
30136
30535
|
/**
|
|
30137
30536
|
* @remarks
|
|
30138
|
-
* The region
|
|
30537
|
+
* The ID of the region for which you want to disable Account-level EBS Default Encryption. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) operation to query the most recent region list.
|
|
30139
30538
|
*
|
|
30140
30539
|
* This parameter is required.
|
|
30141
30540
|
*
|
|
@@ -30157,7 +30556,7 @@ export declare class DisableDiskEncryptionByDefaultRequest extends $tea.Model {
|
|
|
30157
30556
|
export declare class DisableDiskEncryptionByDefaultResponseBody extends $tea.Model {
|
|
30158
30557
|
/**
|
|
30159
30558
|
* @remarks
|
|
30160
|
-
* The request ID
|
|
30559
|
+
* The request ID.
|
|
30161
30560
|
*
|
|
30162
30561
|
* @example
|
|
30163
30562
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
@@ -30189,174 +30588,12 @@ export declare class DisableDiskEncryptionByDefaultResponse extends $tea.Model {
|
|
|
30189
30588
|
[key: string]: any;
|
|
30190
30589
|
});
|
|
30191
30590
|
}
|
|
30192
|
-
export declare class EipFillParamsRequest extends $tea.Model {
|
|
30193
|
-
clientToken?: string;
|
|
30194
|
-
ownerAccount?: string;
|
|
30195
|
-
ownerId?: number;
|
|
30196
|
-
resourceOwnerAccount?: string;
|
|
30197
|
-
resourceOwnerId?: number;
|
|
30198
|
-
userCidr?: string;
|
|
30199
|
-
/**
|
|
30200
|
-
* @remarks
|
|
30201
|
-
* This parameter is required.
|
|
30202
|
-
*/
|
|
30203
|
-
data?: string;
|
|
30204
|
-
static names(): {
|
|
30205
|
-
[key: string]: string;
|
|
30206
|
-
};
|
|
30207
|
-
static types(): {
|
|
30208
|
-
[key: string]: any;
|
|
30209
|
-
};
|
|
30210
|
-
constructor(map?: {
|
|
30211
|
-
[key: string]: any;
|
|
30212
|
-
});
|
|
30213
|
-
}
|
|
30214
|
-
export declare class EipFillParamsResponseBody extends $tea.Model {
|
|
30215
|
-
code?: string;
|
|
30216
|
-
data?: string;
|
|
30217
|
-
message?: string;
|
|
30218
|
-
requestId?: string;
|
|
30219
|
-
success?: boolean;
|
|
30220
|
-
static names(): {
|
|
30221
|
-
[key: string]: string;
|
|
30222
|
-
};
|
|
30223
|
-
static types(): {
|
|
30224
|
-
[key: string]: any;
|
|
30225
|
-
};
|
|
30226
|
-
constructor(map?: {
|
|
30227
|
-
[key: string]: any;
|
|
30228
|
-
});
|
|
30229
|
-
}
|
|
30230
|
-
export declare class EipFillParamsResponse extends $tea.Model {
|
|
30231
|
-
headers?: {
|
|
30232
|
-
[key: string]: string;
|
|
30233
|
-
};
|
|
30234
|
-
statusCode?: number;
|
|
30235
|
-
body?: EipFillParamsResponseBody;
|
|
30236
|
-
static names(): {
|
|
30237
|
-
[key: string]: string;
|
|
30238
|
-
};
|
|
30239
|
-
static types(): {
|
|
30240
|
-
[key: string]: any;
|
|
30241
|
-
};
|
|
30242
|
-
constructor(map?: {
|
|
30243
|
-
[key: string]: any;
|
|
30244
|
-
});
|
|
30245
|
-
}
|
|
30246
|
-
export declare class EipFillProductRequest extends $tea.Model {
|
|
30247
|
-
clientToken?: string;
|
|
30248
|
-
ownerAccount?: string;
|
|
30249
|
-
ownerId?: number;
|
|
30250
|
-
resourceOwnerAccount?: string;
|
|
30251
|
-
resourceOwnerId?: number;
|
|
30252
|
-
userCidr?: string;
|
|
30253
|
-
/**
|
|
30254
|
-
* @remarks
|
|
30255
|
-
* This parameter is required.
|
|
30256
|
-
*/
|
|
30257
|
-
data?: string;
|
|
30258
|
-
static names(): {
|
|
30259
|
-
[key: string]: string;
|
|
30260
|
-
};
|
|
30261
|
-
static types(): {
|
|
30262
|
-
[key: string]: any;
|
|
30263
|
-
};
|
|
30264
|
-
constructor(map?: {
|
|
30265
|
-
[key: string]: any;
|
|
30266
|
-
});
|
|
30267
|
-
}
|
|
30268
|
-
export declare class EipFillProductResponseBody extends $tea.Model {
|
|
30269
|
-
code?: string;
|
|
30270
|
-
data?: string;
|
|
30271
|
-
message?: string;
|
|
30272
|
-
requestId?: string;
|
|
30273
|
-
success?: boolean;
|
|
30274
|
-
static names(): {
|
|
30275
|
-
[key: string]: string;
|
|
30276
|
-
};
|
|
30277
|
-
static types(): {
|
|
30278
|
-
[key: string]: any;
|
|
30279
|
-
};
|
|
30280
|
-
constructor(map?: {
|
|
30281
|
-
[key: string]: any;
|
|
30282
|
-
});
|
|
30283
|
-
}
|
|
30284
|
-
export declare class EipFillProductResponse extends $tea.Model {
|
|
30285
|
-
headers?: {
|
|
30286
|
-
[key: string]: string;
|
|
30287
|
-
};
|
|
30288
|
-
statusCode?: number;
|
|
30289
|
-
body?: EipFillProductResponseBody;
|
|
30290
|
-
static names(): {
|
|
30291
|
-
[key: string]: string;
|
|
30292
|
-
};
|
|
30293
|
-
static types(): {
|
|
30294
|
-
[key: string]: any;
|
|
30295
|
-
};
|
|
30296
|
-
constructor(map?: {
|
|
30297
|
-
[key: string]: any;
|
|
30298
|
-
});
|
|
30299
|
-
}
|
|
30300
|
-
export declare class EipNotifyPaidRequest extends $tea.Model {
|
|
30301
|
-
clientToken?: string;
|
|
30302
|
-
ownerAccount?: string;
|
|
30303
|
-
ownerId?: number;
|
|
30304
|
-
resourceOwnerAccount?: string;
|
|
30305
|
-
resourceOwnerId?: number;
|
|
30306
|
-
userCidr?: string;
|
|
30307
|
-
/**
|
|
30308
|
-
* @remarks
|
|
30309
|
-
* This parameter is required.
|
|
30310
|
-
*/
|
|
30311
|
-
data?: string;
|
|
30312
|
-
static names(): {
|
|
30313
|
-
[key: string]: string;
|
|
30314
|
-
};
|
|
30315
|
-
static types(): {
|
|
30316
|
-
[key: string]: any;
|
|
30317
|
-
};
|
|
30318
|
-
constructor(map?: {
|
|
30319
|
-
[key: string]: any;
|
|
30320
|
-
});
|
|
30321
|
-
}
|
|
30322
|
-
export declare class EipNotifyPaidResponseBody extends $tea.Model {
|
|
30323
|
-
code?: string;
|
|
30324
|
-
data?: string;
|
|
30325
|
-
message?: string;
|
|
30326
|
-
requestId?: string;
|
|
30327
|
-
success?: boolean;
|
|
30328
|
-
static names(): {
|
|
30329
|
-
[key: string]: string;
|
|
30330
|
-
};
|
|
30331
|
-
static types(): {
|
|
30332
|
-
[key: string]: any;
|
|
30333
|
-
};
|
|
30334
|
-
constructor(map?: {
|
|
30335
|
-
[key: string]: any;
|
|
30336
|
-
});
|
|
30337
|
-
}
|
|
30338
|
-
export declare class EipNotifyPaidResponse extends $tea.Model {
|
|
30339
|
-
headers?: {
|
|
30340
|
-
[key: string]: string;
|
|
30341
|
-
};
|
|
30342
|
-
statusCode?: number;
|
|
30343
|
-
body?: EipNotifyPaidResponseBody;
|
|
30344
|
-
static names(): {
|
|
30345
|
-
[key: string]: string;
|
|
30346
|
-
};
|
|
30347
|
-
static types(): {
|
|
30348
|
-
[key: string]: any;
|
|
30349
|
-
};
|
|
30350
|
-
constructor(map?: {
|
|
30351
|
-
[key: string]: any;
|
|
30352
|
-
});
|
|
30353
|
-
}
|
|
30354
30591
|
export declare class EnableDiskEncryptionByDefaultRequest extends $tea.Model {
|
|
30355
30592
|
ownerAccount?: string;
|
|
30356
30593
|
ownerId?: number;
|
|
30357
30594
|
/**
|
|
30358
30595
|
* @remarks
|
|
30359
|
-
* The region ID. You can call the DescribeRegions operation to query the most recent region list.
|
|
30596
|
+
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) operation to query the most recent region list.
|
|
30360
30597
|
*
|
|
30361
30598
|
* This parameter is required.
|
|
30362
30599
|
*
|
|
@@ -33094,6 +33331,7 @@ export declare class ModifyCommandRequest extends $tea.Model {
|
|
|
33094
33331
|
* This is description.
|
|
33095
33332
|
*/
|
|
33096
33333
|
description?: string;
|
|
33334
|
+
launcher?: string;
|
|
33097
33335
|
/**
|
|
33098
33336
|
* @remarks
|
|
33099
33337
|
* The command name. The name supports all character sets and can be up to 128 characters in length.
|
|
@@ -34425,7 +34663,7 @@ export declare class ModifyDiskDefaultKMSKeyIdRequest extends $tea.Model {
|
|
|
34425
34663
|
KMSKeyId?: string;
|
|
34426
34664
|
/**
|
|
34427
34665
|
* @remarks
|
|
34428
|
-
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/
|
|
34666
|
+
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) operation to query the most recent region list.
|
|
34429
34667
|
*
|
|
34430
34668
|
* This parameter is required.
|
|
34431
34669
|
*
|
|
@@ -35874,12 +36112,12 @@ export declare class ModifyInstanceChargeTypeRequest extends $tea.Model {
|
|
|
35874
36112
|
* @remarks
|
|
35875
36113
|
* Specifies whether to automatically complete the payment. Valid values:
|
|
35876
36114
|
*
|
|
35877
|
-
* * true: The payment is automatically completed.
|
|
36115
|
+
* * true: The payment is automatically completed. Maintain a sufficient account balance. Otherwise, your order becomes invalid and is canceled.
|
|
35878
36116
|
* * false: An order is generated but no payment is made.
|
|
35879
36117
|
*
|
|
35880
36118
|
* Default value: true.
|
|
35881
36119
|
*
|
|
35882
|
-
* >
|
|
36120
|
+
* > If your account balance is insufficient, you can set AutoPay to false to generate an unpaid order. Then, you can log on to the ECS console to pay for the order.
|
|
35883
36121
|
*
|
|
35884
36122
|
* @example
|
|
35885
36123
|
* false
|
|
@@ -35895,9 +36133,9 @@ export declare class ModifyInstanceChargeTypeRequest extends $tea.Model {
|
|
|
35895
36133
|
clientToken?: string;
|
|
35896
36134
|
/**
|
|
35897
36135
|
* @remarks
|
|
35898
|
-
* Specifies whether to perform only a dry run. Valid
|
|
36136
|
+
* Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
35899
36137
|
*
|
|
35900
|
-
* * true: performs only a dry run. The system checks
|
|
36138
|
+
* * true: performs only a dry run. The system checks the request for potential issues, including invalid AccessKey pairs, unauthorized Resource Access Management (RAM) users, and missing parameter values. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
35901
36139
|
* * false: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
35902
36140
|
*
|
|
35903
36141
|
* Default value: false.
|
|
@@ -35908,7 +36146,10 @@ export declare class ModifyInstanceChargeTypeRequest extends $tea.Model {
|
|
|
35908
36146
|
dryRun?: boolean;
|
|
35909
36147
|
/**
|
|
35910
36148
|
* @remarks
|
|
35911
|
-
* Specifies whether to change the billing method of all data disks
|
|
36149
|
+
* Specifies whether to change the billing method of all data disks on the instance from pay-as-you-go to subscription. Valid values:
|
|
36150
|
+
*
|
|
36151
|
+
* * true
|
|
36152
|
+
* * false
|
|
35912
36153
|
*
|
|
35913
36154
|
* Default value: false.
|
|
35914
36155
|
*
|
|
@@ -35920,8 +36161,8 @@ export declare class ModifyInstanceChargeTypeRequest extends $tea.Model {
|
|
|
35920
36161
|
* @remarks
|
|
35921
36162
|
* The new billing method. Valid values:
|
|
35922
36163
|
*
|
|
35923
|
-
* * PrePaid
|
|
35924
|
-
* * PostPaid
|
|
36164
|
+
* * PrePaid: subscription
|
|
36165
|
+
* * PostPaid: pay-as-you-go
|
|
35925
36166
|
*
|
|
35926
36167
|
* Default value: PrePaid.
|
|
35927
36168
|
*
|
|
@@ -35941,7 +36182,10 @@ export declare class ModifyInstanceChargeTypeRequest extends $tea.Model {
|
|
|
35941
36182
|
instanceIds?: string;
|
|
35942
36183
|
/**
|
|
35943
36184
|
* @remarks
|
|
35944
|
-
* Specifies whether to return cost details of the order after the billing method is changed from subscription to pay-as-you-go.
|
|
36185
|
+
* Specifies whether to return cost details of the order after the billing method is changed from subscription to pay-as-you-go. Valid values:
|
|
36186
|
+
*
|
|
36187
|
+
* * true
|
|
36188
|
+
* * false
|
|
35945
36189
|
*
|
|
35946
36190
|
* Default value: false.
|
|
35947
36191
|
*
|
|
@@ -36356,7 +36600,7 @@ export declare class ModifyInstanceMetadataOptionsRequest extends $tea.Model {
|
|
|
36356
36600
|
httpEndpoint?: string;
|
|
36357
36601
|
/**
|
|
36358
36602
|
* @remarks
|
|
36359
|
-
* > This parameter is
|
|
36603
|
+
* > This parameter is not publicly available.
|
|
36360
36604
|
*
|
|
36361
36605
|
* @example
|
|
36362
36606
|
* 1
|
|
@@ -36866,7 +37110,7 @@ export declare class ModifyInstanceVpcAttributeRequest extends $tea.Model {
|
|
|
36866
37110
|
* By default, if this parameter is not specified, a private IP address is randomly assigned from the CIDR block of the specified vSwitch.
|
|
36867
37111
|
*
|
|
36868
37112
|
* @example
|
|
36869
|
-
* 172.17
|
|
37113
|
+
* ``172.17.**.**``
|
|
36870
37114
|
*/
|
|
36871
37115
|
privateIpAddress?: string;
|
|
36872
37116
|
resourceOwnerAccount?: string;
|
|
@@ -39121,7 +39365,7 @@ export declare class ModifySnapshotAttributeRequest extends $tea.Model {
|
|
|
39121
39365
|
*
|
|
39122
39366
|
* Default value: false.
|
|
39123
39367
|
*
|
|
39124
|
-
* > This parameter is no longer used. By default, new
|
|
39368
|
+
* > This parameter is no longer used. By default, new standard snapshots of Enterprise SSDs (ESSDs) are upgraded to instant access snapshots free of charge without the need for additional configurations. For more information, see [Use the instant access feature](https://help.aliyun.com/document_detail/193667.html).
|
|
39125
39369
|
*
|
|
39126
39370
|
* @example
|
|
39127
39371
|
* false
|
|
@@ -39778,29 +40022,57 @@ export declare class ModifyVpcAttributeResponse extends $tea.Model {
|
|
|
39778
40022
|
export declare class PurchaseElasticityAssuranceRequest extends $tea.Model {
|
|
39779
40023
|
privatePoolOptions?: PurchaseElasticityAssuranceRequestPrivatePoolOptions;
|
|
39780
40024
|
/**
|
|
40025
|
+
* @remarks
|
|
40026
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The `token` 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).
|
|
40027
|
+
*
|
|
39781
40028
|
* @example
|
|
39782
40029
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
39783
40030
|
*/
|
|
39784
40031
|
clientToken?: string;
|
|
40032
|
+
ownerAccount?: string;
|
|
40033
|
+
ownerId?: number;
|
|
39785
40034
|
/**
|
|
40035
|
+
* @remarks
|
|
40036
|
+
* The term of the elasticity assurance. The unit of the term is determined by the PeriodUnit value. Valid values:
|
|
40037
|
+
*
|
|
40038
|
+
* * When the PeriodUnit parameter is set to Month, valid values are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
|
|
40039
|
+
* * When the PeriodUnit parameter is set to Year, valid values are 1, 2, 3, 4, and 5.
|
|
40040
|
+
*
|
|
40041
|
+
* Default value: 1.
|
|
40042
|
+
*
|
|
39786
40043
|
* @example
|
|
39787
40044
|
* 1
|
|
39788
40045
|
*/
|
|
39789
40046
|
period?: number;
|
|
39790
40047
|
/**
|
|
40048
|
+
* @remarks
|
|
40049
|
+
* The unit of the term of the elasticity assurance. Valid values:
|
|
40050
|
+
*
|
|
40051
|
+
* * Month
|
|
40052
|
+
* * Year
|
|
40053
|
+
*
|
|
40054
|
+
* Default value: Year.
|
|
40055
|
+
*
|
|
39791
40056
|
* @example
|
|
39792
40057
|
* Month
|
|
39793
40058
|
*/
|
|
39794
40059
|
periodUnit?: string;
|
|
39795
40060
|
/**
|
|
39796
40061
|
* @remarks
|
|
40062
|
+
* The region ID of the elasticity assurance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/2679950.html) operation to query the most recent region list.
|
|
40063
|
+
*
|
|
39797
40064
|
* This parameter is required.
|
|
39798
40065
|
*
|
|
39799
40066
|
* @example
|
|
39800
40067
|
* cn-hangzhou
|
|
39801
40068
|
*/
|
|
39802
40069
|
regionId?: string;
|
|
40070
|
+
resourceOwnerAccount?: string;
|
|
40071
|
+
resourceOwnerId?: number;
|
|
39803
40072
|
/**
|
|
40073
|
+
* @remarks
|
|
40074
|
+
* The time when the elasticity assurance takes effect. The default value is the time when the elasticity assurance is created. Specify the time in the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC. For more information, see [ISO 8601](https://help.aliyun.com/document_detail/25696.html).
|
|
40075
|
+
*
|
|
39804
40076
|
* @example
|
|
39805
40077
|
* 2024-06-18T00:00Z
|
|
39806
40078
|
*/
|
|
@@ -39817,6 +40089,9 @@ export declare class PurchaseElasticityAssuranceRequest extends $tea.Model {
|
|
|
39817
40089
|
}
|
|
39818
40090
|
export declare class PurchaseElasticityAssuranceResponseBody extends $tea.Model {
|
|
39819
40091
|
/**
|
|
40092
|
+
* @remarks
|
|
40093
|
+
* The request ID.
|
|
40094
|
+
*
|
|
39820
40095
|
* @example
|
|
39821
40096
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
39822
40097
|
*/
|
|
@@ -41035,7 +41310,7 @@ export declare class ReleasePublicIpAddressRequest extends $tea.Model {
|
|
|
41035
41310
|
* This parameter is required.
|
|
41036
41311
|
*
|
|
41037
41312
|
* @example
|
|
41038
|
-
* 121.40
|
|
41313
|
+
* ``121.40.**.**``
|
|
41039
41314
|
*/
|
|
41040
41315
|
publicIpAddress?: string;
|
|
41041
41316
|
/**
|
|
@@ -44254,7 +44529,7 @@ export declare class RunInstancesRequest extends $tea.Model {
|
|
|
44254
44529
|
* > The first IP address and last three IP addresses of each vSwitch CIDR block are reserved. You cannot specify the IP addresses. For example, if a vSwitch CIDR block is 192.168.1.0/24, the IP addresses 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255 are reserved.
|
|
44255
44530
|
*
|
|
44256
44531
|
* @example
|
|
44257
|
-
* 10.1
|
|
44532
|
+
* ``10.1.**.**``
|
|
44258
44533
|
*/
|
|
44259
44534
|
privateIpAddress?: string;
|
|
44260
44535
|
/**
|
|
@@ -45786,7 +46061,7 @@ export declare class UnassignPrivateIpAddressesRequest extends $tea.Model {
|
|
|
45786
46061
|
* The secondary private IP addresses to unassign.
|
|
45787
46062
|
*
|
|
45788
46063
|
* @example
|
|
45789
|
-
* 192.168
|
|
46064
|
+
* ``192.168.**.**``
|
|
45790
46065
|
*/
|
|
45791
46066
|
privateIpAddress?: string[];
|
|
45792
46067
|
/**
|
|
@@ -47767,6 +48042,36 @@ export declare class CreateAutoProvisioningGroupRequestLaunchTemplateConfig exte
|
|
|
47767
48042
|
[key: string]: any;
|
|
47768
48043
|
});
|
|
47769
48044
|
}
|
|
48045
|
+
export declare class CreateAutoProvisioningGroupRequestResourcePoolOptions extends $tea.Model {
|
|
48046
|
+
/**
|
|
48047
|
+
* @remarks
|
|
48048
|
+
* The IDs of private pools. The ID of a private pool is the same as the ID of the elasticity assurance or capacity reservation that is associated with the private pool. You can specify the IDs of only targeted private pools for this parameter.
|
|
48049
|
+
*/
|
|
48050
|
+
privatePoolIds?: string[];
|
|
48051
|
+
/**
|
|
48052
|
+
* @remarks
|
|
48053
|
+
* Specifies which resource pools to use to create instances. Resource pools include the public pool and the private pools that are associated with elasticity assurance and capacity reservations in the Active state. Valid values:
|
|
48054
|
+
*
|
|
48055
|
+
* * PrivatePoolFirst: uses private pools first. If you set this parameter to PrivatePoolFirst, you can specify ResourcePoolOptions.PrivatePoolIds or leave ResourcePoolOptions.PrivatePoolIds empty. If you specify ResourcePoolOptions.PrivatePoolIds, the specified private pools are used first. If you leave ResourcePoolOptions.PrivatePoolIds empty or the private pools that you specify in ResourcePoolOptions.PrivatePoolIds have insufficient capacity, matching open private pools are used. If no matching open private pools exist, the public pool is used.
|
|
48056
|
+
* * PrivatePoolOnly: uses only private pools. If you set this parameter to PrivatePoolOnly, you must specify ResourcePoolOptions.PrivatePoolIds. If the private pools that you specify in ResourcePoolOptions.PrivatePoolIds have insufficient capacity, instances cannot be created.
|
|
48057
|
+
* * PublicPoolOnly: uses the public pool.
|
|
48058
|
+
*
|
|
48059
|
+
* Default value: PublicPoolOnly.
|
|
48060
|
+
*
|
|
48061
|
+
* @example
|
|
48062
|
+
* PrivatePoolFirst
|
|
48063
|
+
*/
|
|
48064
|
+
strategy?: string;
|
|
48065
|
+
static names(): {
|
|
48066
|
+
[key: string]: string;
|
|
48067
|
+
};
|
|
48068
|
+
static types(): {
|
|
48069
|
+
[key: string]: any;
|
|
48070
|
+
};
|
|
48071
|
+
constructor(map?: {
|
|
48072
|
+
[key: string]: any;
|
|
48073
|
+
});
|
|
48074
|
+
}
|
|
47770
48075
|
export declare class CreateAutoProvisioningGroupRequestSystemDiskConfig extends $tea.Model {
|
|
47771
48076
|
/**
|
|
47772
48077
|
* @remarks
|
|
@@ -47791,7 +48096,866 @@ export declare class CreateAutoProvisioningGroupRequestSystemDiskConfig extends
|
|
|
47791
48096
|
[key: string]: any;
|
|
47792
48097
|
});
|
|
47793
48098
|
}
|
|
47794
|
-
export declare class CreateAutoProvisioningGroupRequestTag extends $tea.Model {
|
|
48099
|
+
export declare class CreateAutoProvisioningGroupRequestTag extends $tea.Model {
|
|
48100
|
+
/**
|
|
48101
|
+
* @remarks
|
|
48102
|
+
* The key of tag N to add to the auto provisioning group.
|
|
48103
|
+
*
|
|
48104
|
+
* 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. It cannot start with aliyun or acs: and cannot contain http:// or https://.
|
|
48105
|
+
*
|
|
48106
|
+
* @example
|
|
48107
|
+
* TestKey
|
|
48108
|
+
*/
|
|
48109
|
+
key?: string;
|
|
48110
|
+
/**
|
|
48111
|
+
* @remarks
|
|
48112
|
+
* The value of tag N to add to the auto provisioning group.
|
|
48113
|
+
*
|
|
48114
|
+
* 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://.
|
|
48115
|
+
*
|
|
48116
|
+
* @example
|
|
48117
|
+
* TestValue
|
|
48118
|
+
*/
|
|
48119
|
+
value?: string;
|
|
48120
|
+
static names(): {
|
|
48121
|
+
[key: string]: string;
|
|
48122
|
+
};
|
|
48123
|
+
static types(): {
|
|
48124
|
+
[key: string]: any;
|
|
48125
|
+
};
|
|
48126
|
+
constructor(map?: {
|
|
48127
|
+
[key: string]: any;
|
|
48128
|
+
});
|
|
48129
|
+
}
|
|
48130
|
+
export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationArn extends $tea.Model {
|
|
48131
|
+
/**
|
|
48132
|
+
* @remarks
|
|
48133
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
48134
|
+
*
|
|
48135
|
+
* @example
|
|
48136
|
+
* 123456789012****
|
|
48137
|
+
*/
|
|
48138
|
+
assumeRoleFor?: number;
|
|
48139
|
+
/**
|
|
48140
|
+
* @remarks
|
|
48141
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
48142
|
+
*
|
|
48143
|
+
* @example
|
|
48144
|
+
* 34458433936495****:alice
|
|
48145
|
+
*/
|
|
48146
|
+
roleType?: string;
|
|
48147
|
+
/**
|
|
48148
|
+
* @remarks
|
|
48149
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
48150
|
+
*
|
|
48151
|
+
* @example
|
|
48152
|
+
* acs:ram::123456789012****:role/adminrole
|
|
48153
|
+
*/
|
|
48154
|
+
rolearn?: string;
|
|
48155
|
+
static names(): {
|
|
48156
|
+
[key: string]: string;
|
|
48157
|
+
};
|
|
48158
|
+
static types(): {
|
|
48159
|
+
[key: string]: any;
|
|
48160
|
+
};
|
|
48161
|
+
constructor(map?: {
|
|
48162
|
+
[key: string]: any;
|
|
48163
|
+
});
|
|
48164
|
+
}
|
|
48165
|
+
export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk extends $tea.Model {
|
|
48166
|
+
/**
|
|
48167
|
+
* @remarks
|
|
48168
|
+
* Specifies whether to enable the performance burst feature for data disk N. Valid values:
|
|
48169
|
+
*
|
|
48170
|
+
* * true
|
|
48171
|
+
* * false
|
|
48172
|
+
*
|
|
48173
|
+
* > This parameter is available only if you set LaunchConfiguration.DataDisk.N.Category to cloud_auto. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
48174
|
+
*
|
|
48175
|
+
* @example
|
|
48176
|
+
* false
|
|
48177
|
+
*/
|
|
48178
|
+
burstingEnabled?: boolean;
|
|
48179
|
+
/**
|
|
48180
|
+
* @remarks
|
|
48181
|
+
* The category of data disk N. Valid values of N: 1 to 16. Valid values:
|
|
48182
|
+
*
|
|
48183
|
+
* * cloud_efficiency: ultra disk.
|
|
48184
|
+
* * cloud_ssd: standard SSD.
|
|
48185
|
+
* * cloud_essd: ESSD.
|
|
48186
|
+
* * cloud: basic disk.
|
|
48187
|
+
*
|
|
48188
|
+
* For I/O optimized instances, the default value is cloud_efficiency. For non-I/O optimized instances, the default value is cloud.
|
|
48189
|
+
*
|
|
48190
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48191
|
+
*
|
|
48192
|
+
* @example
|
|
48193
|
+
* cloud_ssd
|
|
48194
|
+
*/
|
|
48195
|
+
category?: string;
|
|
48196
|
+
/**
|
|
48197
|
+
* @remarks
|
|
48198
|
+
* Specifies whether to release data disk N when the instance to which the data disk is attached is released. Valid values:
|
|
48199
|
+
*
|
|
48200
|
+
* * true
|
|
48201
|
+
* * false
|
|
48202
|
+
*
|
|
48203
|
+
* Default value: true.
|
|
48204
|
+
*
|
|
48205
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48206
|
+
*
|
|
48207
|
+
* @example
|
|
48208
|
+
* true
|
|
48209
|
+
*/
|
|
48210
|
+
deleteWithInstance?: boolean;
|
|
48211
|
+
/**
|
|
48212
|
+
* @remarks
|
|
48213
|
+
* The description of data disk N. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`. When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48214
|
+
*
|
|
48215
|
+
* @example
|
|
48216
|
+
* DataDisk_Description
|
|
48217
|
+
*/
|
|
48218
|
+
description?: string;
|
|
48219
|
+
/**
|
|
48220
|
+
* @remarks
|
|
48221
|
+
* The mount point of data disk N. When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48222
|
+
*
|
|
48223
|
+
* @example
|
|
48224
|
+
* /dev/vd1
|
|
48225
|
+
*/
|
|
48226
|
+
device?: string;
|
|
48227
|
+
/**
|
|
48228
|
+
* @remarks
|
|
48229
|
+
* The name of data disk N. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. The name can contain letters, digits, periods (.), colons (:), underscores (_), and hyphens (-).
|
|
48230
|
+
*
|
|
48231
|
+
* This parameter is left empty by default.
|
|
48232
|
+
*
|
|
48233
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48234
|
+
*
|
|
48235
|
+
* @example
|
|
48236
|
+
* cloud_ssdData
|
|
48237
|
+
*/
|
|
48238
|
+
diskName?: string;
|
|
48239
|
+
/**
|
|
48240
|
+
* @remarks
|
|
48241
|
+
* > This parameter is not publicly available.
|
|
48242
|
+
*
|
|
48243
|
+
* @example
|
|
48244
|
+
* null
|
|
48245
|
+
*/
|
|
48246
|
+
encryptAlgorithm?: string;
|
|
48247
|
+
/**
|
|
48248
|
+
* @remarks
|
|
48249
|
+
* Specifies whether to encrypt data disk N. Valid values:
|
|
48250
|
+
*
|
|
48251
|
+
* * true
|
|
48252
|
+
* * false
|
|
48253
|
+
*
|
|
48254
|
+
* Default value: false.
|
|
48255
|
+
*
|
|
48256
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48257
|
+
*
|
|
48258
|
+
* @example
|
|
48259
|
+
* false
|
|
48260
|
+
*/
|
|
48261
|
+
encrypted?: boolean;
|
|
48262
|
+
/**
|
|
48263
|
+
* @remarks
|
|
48264
|
+
* The ID of the Key Management Service (KMS) key to use for data disk N. When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48265
|
+
*
|
|
48266
|
+
* @example
|
|
48267
|
+
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
48268
|
+
*/
|
|
48269
|
+
kmsKeyId?: string;
|
|
48270
|
+
/**
|
|
48271
|
+
* @remarks
|
|
48272
|
+
* The performance level of the Enterprise SSD (ESSD) to use as data disk N. The value of N in this parameter must be the same as the value of N in `LaunchConfiguration.DataDisk.N.Category`. Valid values:
|
|
48273
|
+
*
|
|
48274
|
+
* * PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
|
|
48275
|
+
* * PL1 (default): A single ESSD can deliver up to 50,000 random read/write IOPS.
|
|
48276
|
+
* * PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
|
|
48277
|
+
* * PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
|
|
48278
|
+
*
|
|
48279
|
+
* For more information about ESSD performance levels, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
48280
|
+
*
|
|
48281
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48282
|
+
*
|
|
48283
|
+
* @example
|
|
48284
|
+
* PL1
|
|
48285
|
+
*/
|
|
48286
|
+
performanceLevel?: string;
|
|
48287
|
+
/**
|
|
48288
|
+
* @remarks
|
|
48289
|
+
* The provisioned read/write IOPS of the ESSD AutoPL disk to use as data disk N. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}.
|
|
48290
|
+
*
|
|
48291
|
+
* Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
48292
|
+
*
|
|
48293
|
+
* > This parameter is available only if you set LaunchConfiguration.DataDisk.N.Category to cloud_auto. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
48294
|
+
*
|
|
48295
|
+
* @example
|
|
48296
|
+
* 40000
|
|
48297
|
+
*/
|
|
48298
|
+
provisionedIops?: number;
|
|
48299
|
+
/**
|
|
48300
|
+
* @remarks
|
|
48301
|
+
* The size of data disk N. Valid values of N: 1 to 16. Unit: GiB. Valid values:
|
|
48302
|
+
*
|
|
48303
|
+
* * Valid values if you set LaunchConfiguration.DataDisk.N.Category to cloud_efficiency: 20 to 32768.
|
|
48304
|
+
*
|
|
48305
|
+
* * Valid values if you set LaunchConfiguration.DataDisk.N.Category to cloud_ssd: 20 to 32768.
|
|
48306
|
+
*
|
|
48307
|
+
* * Valid values if you set LaunchConfiguration.DataDisk.N.Category to cloud_essd: vary based on the `LaunchConfiguration.DataDisk.N.PerformanceLevel` value.
|
|
48308
|
+
*
|
|
48309
|
+
* * Valid values if you set LaunchConfiguration.DataDisk.N.PerformanceLevel to PL0: 40 to 32768.
|
|
48310
|
+
* * Valid values if you set LaunchConfiguration.DataDisk.N.PerformanceLevel to PL1: 20 to 32768.
|
|
48311
|
+
* * Valid values if you set LaunchConfiguration.DataDisk.N.PerformanceLevel to PL2: 461 to 32768.
|
|
48312
|
+
* * Valid values if you set LaunchConfiguration.DataDisk.N.PerformanceLevel to PL3: 1261 to 32768.
|
|
48313
|
+
*
|
|
48314
|
+
* * Valid values if you set LaunchConfiguration.DataDisk.N.Category to cloud: 5 to 2000.
|
|
48315
|
+
*
|
|
48316
|
+
* > The value of this parameter must be greater than or equal to the size of the snapshot specified by `LaunchConfiguration.DataDisk.N.SnapshotId`.
|
|
48317
|
+
*
|
|
48318
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48319
|
+
*
|
|
48320
|
+
* @example
|
|
48321
|
+
* 20
|
|
48322
|
+
*/
|
|
48323
|
+
size?: number;
|
|
48324
|
+
/**
|
|
48325
|
+
* @remarks
|
|
48326
|
+
* The ID of the snapshot to use to create data disk N. Valid values of N: 1 to 16.
|
|
48327
|
+
*
|
|
48328
|
+
* If you specify this parameter, `LaunchConfiguration.DataDisk.N.Size` is ignored. The size of data disk N is the same as that of the snapshot specified by this parameter. Use snapshots created after July 15, 2013. Otherwise, an error is returned and your request is rejected.
|
|
48329
|
+
*
|
|
48330
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48331
|
+
*
|
|
48332
|
+
* @example
|
|
48333
|
+
* s-bp17441ohwka0yuh****
|
|
48334
|
+
*/
|
|
48335
|
+
snapshotId?: string;
|
|
48336
|
+
static names(): {
|
|
48337
|
+
[key: string]: string;
|
|
48338
|
+
};
|
|
48339
|
+
static types(): {
|
|
48340
|
+
[key: string]: any;
|
|
48341
|
+
};
|
|
48342
|
+
constructor(map?: {
|
|
48343
|
+
[key: string]: any;
|
|
48344
|
+
});
|
|
48345
|
+
}
|
|
48346
|
+
export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDisk extends $tea.Model {
|
|
48347
|
+
/**
|
|
48348
|
+
* @remarks
|
|
48349
|
+
* Specifies whether to enable the performance burst feature for the system disk. Valid values:
|
|
48350
|
+
*
|
|
48351
|
+
* * true
|
|
48352
|
+
* * false
|
|
48353
|
+
*
|
|
48354
|
+
* > This parameter is available only if you set `LaunchConfiguration.SystemDisk.Category` to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
48355
|
+
*
|
|
48356
|
+
* @example
|
|
48357
|
+
* false
|
|
48358
|
+
*/
|
|
48359
|
+
burstingEnabled?: boolean;
|
|
48360
|
+
/**
|
|
48361
|
+
* @remarks
|
|
48362
|
+
* The algorithm to use to encrypt the system disk. Valid values:
|
|
48363
|
+
*
|
|
48364
|
+
* * aes-256
|
|
48365
|
+
* * sm4-128
|
|
48366
|
+
*
|
|
48367
|
+
* Default value: aes-256.
|
|
48368
|
+
*
|
|
48369
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48370
|
+
*
|
|
48371
|
+
* > This parameter is not publicly available.
|
|
48372
|
+
*
|
|
48373
|
+
* @example
|
|
48374
|
+
* aes-256
|
|
48375
|
+
*/
|
|
48376
|
+
encryptAlgorithm?: string;
|
|
48377
|
+
/**
|
|
48378
|
+
* @remarks
|
|
48379
|
+
* Specifies whether to encrypt the system disk. Valid values:
|
|
48380
|
+
*
|
|
48381
|
+
* * true
|
|
48382
|
+
* * false
|
|
48383
|
+
*
|
|
48384
|
+
* Default value: false.
|
|
48385
|
+
*
|
|
48386
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48387
|
+
*
|
|
48388
|
+
* @example
|
|
48389
|
+
* false
|
|
48390
|
+
*/
|
|
48391
|
+
encrypted?: string;
|
|
48392
|
+
/**
|
|
48393
|
+
* @remarks
|
|
48394
|
+
* The ID of the KMS key to use for the system disk.
|
|
48395
|
+
*
|
|
48396
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48397
|
+
*
|
|
48398
|
+
* @example
|
|
48399
|
+
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
48400
|
+
*/
|
|
48401
|
+
KMSKeyId?: string;
|
|
48402
|
+
/**
|
|
48403
|
+
* @remarks
|
|
48404
|
+
* The provisioned read/write IOPS of the ESSD AutoPL disk to use as the system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}.
|
|
48405
|
+
*
|
|
48406
|
+
* Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
48407
|
+
*
|
|
48408
|
+
* > This parameter is available only if you set LaunchConfiguration.SystemDisk.Category to cloud_auto. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
48409
|
+
*
|
|
48410
|
+
* @example
|
|
48411
|
+
* 40000
|
|
48412
|
+
*/
|
|
48413
|
+
provisionedIops?: number;
|
|
48414
|
+
static names(): {
|
|
48415
|
+
[key: string]: string;
|
|
48416
|
+
};
|
|
48417
|
+
static types(): {
|
|
48418
|
+
[key: string]: any;
|
|
48419
|
+
};
|
|
48420
|
+
constructor(map?: {
|
|
48421
|
+
[key: string]: any;
|
|
48422
|
+
});
|
|
48423
|
+
}
|
|
48424
|
+
export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationTag extends $tea.Model {
|
|
48425
|
+
/**
|
|
48426
|
+
* @remarks
|
|
48427
|
+
* The key of the tag. Valid values of N: 1 to 20. The tag key cannot be an empty string. It can be up to 128 characters in length and cannot start with acs: or aliyun. It cannot contain `http://` or `https://`. If both the LaunchTemplateId and LaunchConfiguration.* parameters are specified, the LaunchTemplateId parameter takes precedence.
|
|
48428
|
+
*
|
|
48429
|
+
* @example
|
|
48430
|
+
* TestKey
|
|
48431
|
+
*/
|
|
48432
|
+
key?: string;
|
|
48433
|
+
/**
|
|
48434
|
+
* @remarks
|
|
48435
|
+
* The value of the tag. Valid values of N: 1 to 20. The tag value can be an empty string. It can be up to 128 characters in length. It cannot start with acs: or contain `http://` or `https://`. If both the LaunchTemplateId and LaunchConfiguration.* parameters are specified, the LaunchTemplateId parameter takes precedence.
|
|
48436
|
+
*
|
|
48437
|
+
* @example
|
|
48438
|
+
* TestValue
|
|
48439
|
+
*/
|
|
48440
|
+
value?: string;
|
|
48441
|
+
static names(): {
|
|
48442
|
+
[key: string]: string;
|
|
48443
|
+
};
|
|
48444
|
+
static types(): {
|
|
48445
|
+
[key: string]: any;
|
|
48446
|
+
};
|
|
48447
|
+
constructor(map?: {
|
|
48448
|
+
[key: string]: any;
|
|
48449
|
+
});
|
|
48450
|
+
}
|
|
48451
|
+
export declare class CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration extends $tea.Model {
|
|
48452
|
+
/**
|
|
48453
|
+
* @remarks
|
|
48454
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
48455
|
+
*/
|
|
48456
|
+
arn?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationArn[];
|
|
48457
|
+
/**
|
|
48458
|
+
* @remarks
|
|
48459
|
+
* The automatic release time of the pay-as-you-go instance. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in Coordinated Universal Time (UTC).
|
|
48460
|
+
*
|
|
48461
|
+
* * If the value of `ss` is not `00`, the start time is automatically rounded down to the nearest minute based on the value of `mm`.
|
|
48462
|
+
* * The specified time must be at least 30 minutes later than the current time.
|
|
48463
|
+
* * The specified time can be at most three years later than the current time.
|
|
48464
|
+
*
|
|
48465
|
+
* @example
|
|
48466
|
+
* 2018-01-01T12:05:00Z
|
|
48467
|
+
*/
|
|
48468
|
+
autoReleaseTime?: string;
|
|
48469
|
+
/**
|
|
48470
|
+
* @remarks
|
|
48471
|
+
* The performance mode of the burstable instance. Valid values:
|
|
48472
|
+
*
|
|
48473
|
+
* * Standard: the standard mode. For more information, see the "Standard mode" section in the [Overview of burstable instances](https://help.aliyun.com/document_detail/59977.html) topic.
|
|
48474
|
+
* * Unlimited: the unlimited mode. For more information, see the "Unlimited mode" section in the [Overview of burstable instances](https://help.aliyun.com/document_detail/59977.html) topic.
|
|
48475
|
+
*
|
|
48476
|
+
* This parameter is empty by default.
|
|
48477
|
+
*
|
|
48478
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48479
|
+
*
|
|
48480
|
+
* @example
|
|
48481
|
+
* Standard
|
|
48482
|
+
*/
|
|
48483
|
+
creditSpecification?: string;
|
|
48484
|
+
/**
|
|
48485
|
+
* @remarks
|
|
48486
|
+
* The cloud disks in the extended configurations of the launch template.
|
|
48487
|
+
*/
|
|
48488
|
+
dataDisk?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationDataDisk[];
|
|
48489
|
+
/**
|
|
48490
|
+
* @remarks
|
|
48491
|
+
* The ID of the deployment set.
|
|
48492
|
+
*
|
|
48493
|
+
* @example
|
|
48494
|
+
* ds-bp1frxuzdg87zh4p****
|
|
48495
|
+
*/
|
|
48496
|
+
deploymentSetId?: string;
|
|
48497
|
+
/**
|
|
48498
|
+
* @remarks
|
|
48499
|
+
* The instance hostname. Take note of the following items:
|
|
48500
|
+
*
|
|
48501
|
+
* * The hostname cannot start or end with a period (.) or hyphen (-). The hostname cannot contain consecutive periods (.) or hyphens (-).
|
|
48502
|
+
* * For Windows instances, the hostname must be 2 to 15 characters in length and cannot contain periods (.) or contain only digits. It can contain letters, digits, and hyphens (-).
|
|
48503
|
+
* * For instances that run other operating systems such as Linux, the hostname must be 2 to 64 characters in length. You can use periods (.) to separate a hostname into multiple segments. Each segment can contain letters, digits, and hyphens (-).
|
|
48504
|
+
* * You cannot specify both `LaunchConfiguration.HostName` and `LaunchConfiguration.HostNames.N`. Otherwise, an error is returned.
|
|
48505
|
+
* * When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48506
|
+
*
|
|
48507
|
+
* @example
|
|
48508
|
+
* k8s-node-[1,4]-ecshost
|
|
48509
|
+
*/
|
|
48510
|
+
hostName?: string;
|
|
48511
|
+
/**
|
|
48512
|
+
* @remarks
|
|
48513
|
+
* The hostname of instance N. You can use this parameter to specify different hostnames for multiple instances. Take note of the following items:
|
|
48514
|
+
*
|
|
48515
|
+
* - This parameter takes effect only when `AutoProvisioningGroupType` is set to instant.
|
|
48516
|
+
* - The value of N indicates the number of instances. Valid values of N: 1 to 1000. The value of N must be the same as the TotalTargetCapacity value.
|
|
48517
|
+
* - The hostname cannot start or end with a period (.) or hyphen (-). The hostname cannot contain consecutive periods (.) or hyphens (-).
|
|
48518
|
+
* - For Windows instances, the hostname must be 2 to 15 characters in length and cannot contain periods (.) or contain only digits. The hostname can contain letters, digits, and hyphens (-).
|
|
48519
|
+
* - For instances that run other operating systems such as Linux, the hostname must be 2 to 64 characters in length. You can use periods (.) to separate the hostname into multiple segments. Each segment can contain letters, digits, and hyphens (-).
|
|
48520
|
+
* - You cannot specify both `LaunchConfiguration.HostName` and `LaunchConfiguration.HostNames.N`. Otherwise, an error is returned.
|
|
48521
|
+
* - When both LaunchTemplateId and LaunchConfiguration.* parameters are specified, LaunchTemplateId takes precedence.
|
|
48522
|
+
*
|
|
48523
|
+
* @example
|
|
48524
|
+
* ecs-host-01
|
|
48525
|
+
*/
|
|
48526
|
+
hostNames?: string[];
|
|
48527
|
+
/**
|
|
48528
|
+
* @remarks
|
|
48529
|
+
* The name of the image family. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `aliyun` or `acs:`. The name cannot contain `http://` or `https://`. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
48530
|
+
*
|
|
48531
|
+
* @example
|
|
48532
|
+
* hangzhou-daily-update
|
|
48533
|
+
*/
|
|
48534
|
+
imageFamily?: string;
|
|
48535
|
+
/**
|
|
48536
|
+
* @remarks
|
|
48537
|
+
* The ID of the image to be used to create the instance. You can call the [DescribeImages](https://help.aliyun.com/document_detail/25534.html) operation to query available image resources. When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48538
|
+
*
|
|
48539
|
+
* @example
|
|
48540
|
+
* m-bp1g7004ksh0oeuc****
|
|
48541
|
+
*/
|
|
48542
|
+
imageId?: string;
|
|
48543
|
+
/**
|
|
48544
|
+
* @remarks
|
|
48545
|
+
* The instance description. The description must be 2 to 256 characters in length. The description can contain letters and cannot start with `http://` or `https://`. When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48546
|
+
*
|
|
48547
|
+
* @example
|
|
48548
|
+
* Instance_Description
|
|
48549
|
+
*/
|
|
48550
|
+
instanceDescription?: string;
|
|
48551
|
+
/**
|
|
48552
|
+
* @remarks
|
|
48553
|
+
* The instance name. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. The name can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
|
|
48554
|
+
*
|
|
48555
|
+
* The default value of this parameter is the `InstanceId` value.
|
|
48556
|
+
*
|
|
48557
|
+
* When you batch create instances, you can batch configure sequential names for the instances. For more information, see [Batch configure sequential names or hostnames for multiple instances](https://help.aliyun.com/document_detail/196048.html).
|
|
48558
|
+
*
|
|
48559
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48560
|
+
*
|
|
48561
|
+
* @example
|
|
48562
|
+
* k8s-node-[1,4]-alibabacloud
|
|
48563
|
+
*/
|
|
48564
|
+
instanceName?: string;
|
|
48565
|
+
/**
|
|
48566
|
+
* @remarks
|
|
48567
|
+
* The billing method for network usage. Valid values:
|
|
48568
|
+
*
|
|
48569
|
+
* * PayByBandwidth: pay-by-bandwidth
|
|
48570
|
+
* * PayByTraffic: pay-by-traffic
|
|
48571
|
+
*
|
|
48572
|
+
* > When the pay-by-traffic billing method for network usage is used, the maximum inbound and outbound bandwidth values are used as the upper limits of bandwidth instead of guaranteed performance specifications. When demands outstrip resource supplies, the maximum bandwidths may be limited. If you want guaranteed bandwidth for your instance, use the pay-by-bandwidth billing method.
|
|
48573
|
+
*
|
|
48574
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48575
|
+
*
|
|
48576
|
+
* @example
|
|
48577
|
+
* PayByTraffic
|
|
48578
|
+
*/
|
|
48579
|
+
internetChargeType?: string;
|
|
48580
|
+
/**
|
|
48581
|
+
* @remarks
|
|
48582
|
+
* The maximum inbound public bandwidth. Unit: Mbit/s. Valid values:
|
|
48583
|
+
*
|
|
48584
|
+
* * When the maximum outbound public bandwidth is less than or equal to 10 Mbit/s, the valid values of this parameter are 1 to 10 and the default value is 10.
|
|
48585
|
+
* * When the maximum outbound public bandwidth is greater than 10 Mbit/s, the valid values of this parameter are 1 to the value of `LaunchConfiguration.InternetMaxBandwidthOut`, and the default value is the value of `LaunchConfiguration.InternetMaxBandwidthOut`.
|
|
48586
|
+
*
|
|
48587
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48588
|
+
*
|
|
48589
|
+
* @example
|
|
48590
|
+
* 10
|
|
48591
|
+
*/
|
|
48592
|
+
internetMaxBandwidthIn?: number;
|
|
48593
|
+
/**
|
|
48594
|
+
* @remarks
|
|
48595
|
+
* The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0 to 100.
|
|
48596
|
+
*
|
|
48597
|
+
* Default value: 0.
|
|
48598
|
+
*
|
|
48599
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48600
|
+
*
|
|
48601
|
+
* @example
|
|
48602
|
+
* 10
|
|
48603
|
+
*/
|
|
48604
|
+
internetMaxBandwidthOut?: number;
|
|
48605
|
+
/**
|
|
48606
|
+
* @remarks
|
|
48607
|
+
* Specifies whether the instance is I/O optimized. Valid values:
|
|
48608
|
+
*
|
|
48609
|
+
* * none: The instance is not I/O optimized.
|
|
48610
|
+
* * optimized: The instance is I/O optimized.
|
|
48611
|
+
*
|
|
48612
|
+
* For instances of retired instance types, the default value is none. For instances of other instance types, the default value is optimized.
|
|
48613
|
+
*
|
|
48614
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48615
|
+
*
|
|
48616
|
+
* @example
|
|
48617
|
+
* optimized
|
|
48618
|
+
*/
|
|
48619
|
+
ioOptimized?: string;
|
|
48620
|
+
/**
|
|
48621
|
+
* @remarks
|
|
48622
|
+
* The key pair name.
|
|
48623
|
+
*
|
|
48624
|
+
* * For Windows instances, this parameter is ignored. This parameter is empty by default.
|
|
48625
|
+
* * By default, password-based logon is disabled for Linux instances.
|
|
48626
|
+
*
|
|
48627
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48628
|
+
*
|
|
48629
|
+
* @example
|
|
48630
|
+
* KeyPair_Name
|
|
48631
|
+
*/
|
|
48632
|
+
keyPairName?: string;
|
|
48633
|
+
/**
|
|
48634
|
+
* @remarks
|
|
48635
|
+
* The instance password. The password must be 8 to 30 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters:
|
|
48636
|
+
*
|
|
48637
|
+
* ``( ) ` ~ ! @ # $ % ^ & * - _ + = | { } ``: ; \\" < > , . ? /`` For Windows instances, the password cannot start with a forward slash (/). When both LaunchTemplateId and LaunchConfiguration.* parameters are specified, LaunchTemplateId takes precedence. `
|
|
48638
|
+
*
|
|
48639
|
+
* @example
|
|
48640
|
+
* EcsV587!
|
|
48641
|
+
*/
|
|
48642
|
+
password?: string;
|
|
48643
|
+
/**
|
|
48644
|
+
* @remarks
|
|
48645
|
+
* Specifies whether to use the password preset in the image. Valid values:
|
|
48646
|
+
*
|
|
48647
|
+
* * true: uses the password preset in the image.
|
|
48648
|
+
* * false: does not use the password preset in the image.
|
|
48649
|
+
*
|
|
48650
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48651
|
+
*
|
|
48652
|
+
* @example
|
|
48653
|
+
* true
|
|
48654
|
+
*/
|
|
48655
|
+
passwordInherit?: boolean;
|
|
48656
|
+
/**
|
|
48657
|
+
* @remarks
|
|
48658
|
+
* The name of the instance Resource Access Management (RAM) role. You can call the [ListRoles](https://help.aliyun.com/document_detail/28713.html) operation provided by RAM to query the instance RAM roles that you created. When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48659
|
+
*
|
|
48660
|
+
* @example
|
|
48661
|
+
* RAM_Name
|
|
48662
|
+
*/
|
|
48663
|
+
ramRoleName?: string;
|
|
48664
|
+
/**
|
|
48665
|
+
* @remarks
|
|
48666
|
+
* The ID of the resource group to which to assign the instance. When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48667
|
+
*
|
|
48668
|
+
* @example
|
|
48669
|
+
* rg-bp67acfmxazb4p****
|
|
48670
|
+
*/
|
|
48671
|
+
resourceGroupId?: string;
|
|
48672
|
+
/**
|
|
48673
|
+
* @remarks
|
|
48674
|
+
* Specifies whether to enable security hardening. Valid values:
|
|
48675
|
+
*
|
|
48676
|
+
* * Active: enables security hardening. This value is applicable only to public images.
|
|
48677
|
+
* * Deactive: disables security hardening. This value is applicable to all image types.
|
|
48678
|
+
*
|
|
48679
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48680
|
+
*
|
|
48681
|
+
* @example
|
|
48682
|
+
* Active
|
|
48683
|
+
*/
|
|
48684
|
+
securityEnhancementStrategy?: string;
|
|
48685
|
+
/**
|
|
48686
|
+
* @remarks
|
|
48687
|
+
* The ID of the security group to which to assign the instance. When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48688
|
+
*
|
|
48689
|
+
* @example
|
|
48690
|
+
* sg-bp15ed6xe1yxeycg****
|
|
48691
|
+
*/
|
|
48692
|
+
securityGroupId?: string;
|
|
48693
|
+
/**
|
|
48694
|
+
* @remarks
|
|
48695
|
+
* The IDs of the security groups to which the new ECS instances belong.
|
|
48696
|
+
*/
|
|
48697
|
+
securityGroupIds?: string[];
|
|
48698
|
+
/**
|
|
48699
|
+
* @remarks
|
|
48700
|
+
* The system disk information of instances. When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48701
|
+
*/
|
|
48702
|
+
systemDisk?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSystemDisk;
|
|
48703
|
+
/**
|
|
48704
|
+
* @remarks
|
|
48705
|
+
* The category of the system disk. Valid values:
|
|
48706
|
+
*
|
|
48707
|
+
* * cloud_efficiency: ultra disk
|
|
48708
|
+
* * cloud_ssd: standard SSD
|
|
48709
|
+
* * cloud_essd: enhanced SSD (ESSD)
|
|
48710
|
+
* * cloud: basic disk
|
|
48711
|
+
*
|
|
48712
|
+
* For non-I/O optimized instances of retired instance types, the default value is cloud. For other instances, the default value is cloud_efficiency.
|
|
48713
|
+
*
|
|
48714
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48715
|
+
*
|
|
48716
|
+
* @example
|
|
48717
|
+
* cloud_ssd
|
|
48718
|
+
*/
|
|
48719
|
+
systemDiskCategory?: string;
|
|
48720
|
+
/**
|
|
48721
|
+
* @remarks
|
|
48722
|
+
* The description of the system disk. The description must be 2 to 256 characters in length. The description can contain letters and cannot start with `http://` or `https://`.
|
|
48723
|
+
*
|
|
48724
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48725
|
+
*
|
|
48726
|
+
* @example
|
|
48727
|
+
* SystemDisk_Description
|
|
48728
|
+
*/
|
|
48729
|
+
systemDiskDescription?: string;
|
|
48730
|
+
/**
|
|
48731
|
+
* @remarks
|
|
48732
|
+
* The name of the system disk. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with `http://` or `https://`. The name can contain letters, digits, periods (.), colons (:), underscores (_), and hyphens (-).
|
|
48733
|
+
*
|
|
48734
|
+
* This parameter is empty by default.
|
|
48735
|
+
*
|
|
48736
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48737
|
+
*
|
|
48738
|
+
* @example
|
|
48739
|
+
* cloud_ssdSystem
|
|
48740
|
+
*/
|
|
48741
|
+
systemDiskName?: string;
|
|
48742
|
+
/**
|
|
48743
|
+
* @remarks
|
|
48744
|
+
* The performance level of the ESSD to be used as the system disk. Valid values:
|
|
48745
|
+
*
|
|
48746
|
+
* * PL0 (default): A single ESSD can deliver up to 10,000 random read/write IOPS.
|
|
48747
|
+
* * PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
|
|
48748
|
+
* * PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
|
|
48749
|
+
* * PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
|
|
48750
|
+
*
|
|
48751
|
+
* For more information about ESSD performance levels, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
48752
|
+
*
|
|
48753
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48754
|
+
*
|
|
48755
|
+
* @example
|
|
48756
|
+
* PL0
|
|
48757
|
+
*/
|
|
48758
|
+
systemDiskPerformanceLevel?: string;
|
|
48759
|
+
/**
|
|
48760
|
+
* @remarks
|
|
48761
|
+
* The size of the system disk. Valid values: 20 to 500. Unit: GiB. The value must be at least 20 and greater than or equal to the size of the image specified by LaunchConfiguration.ImageId.
|
|
48762
|
+
*
|
|
48763
|
+
* Default value: 40 or the size of the image specified by LaunchConfiguration.ImageId, whichever is greater.
|
|
48764
|
+
*
|
|
48765
|
+
* When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48766
|
+
*
|
|
48767
|
+
* @example
|
|
48768
|
+
* 40
|
|
48769
|
+
*/
|
|
48770
|
+
systemDiskSize?: number;
|
|
48771
|
+
/**
|
|
48772
|
+
* @remarks
|
|
48773
|
+
* The tag in the extended configurations of the launch template.
|
|
48774
|
+
*/
|
|
48775
|
+
tag?: CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationTag[];
|
|
48776
|
+
/**
|
|
48777
|
+
* @remarks
|
|
48778
|
+
* The instance user data. The user data must be encoded in Base64. The raw data can be up to 32 KB in size. When both LaunchTemplateId and LaunchConfiguration.\\* parameters are specified, LaunchTemplateId takes precedence.
|
|
48779
|
+
*
|
|
48780
|
+
* @example
|
|
48781
|
+
* ZWNobyBoZWxsbyBlY3Mh
|
|
48782
|
+
*/
|
|
48783
|
+
userData?: string;
|
|
48784
|
+
static names(): {
|
|
48785
|
+
[key: string]: string;
|
|
48786
|
+
};
|
|
48787
|
+
static types(): {
|
|
48788
|
+
[key: string]: any;
|
|
48789
|
+
};
|
|
48790
|
+
constructor(map?: {
|
|
48791
|
+
[key: string]: any;
|
|
48792
|
+
});
|
|
48793
|
+
}
|
|
48794
|
+
export declare class CreateAutoProvisioningGroupShrinkRequestDataDiskConfig extends $tea.Model {
|
|
48795
|
+
/**
|
|
48796
|
+
* @remarks
|
|
48797
|
+
* The category of data disk N. You can use this parameter to specify multiple disk categories, and the disk categories are prioritized in the order in which they are specified. If a specified disk category is unavailable, the system uses the next available disk category. Valid values:
|
|
48798
|
+
*
|
|
48799
|
+
* - cloud_efficiency: ultra disk
|
|
48800
|
+
* - cloud_ssd: standard SSD
|
|
48801
|
+
* - cloud_essd: ESSD
|
|
48802
|
+
* - cloud: basic disk
|
|
48803
|
+
*
|
|
48804
|
+
* @example
|
|
48805
|
+
* cloud_efficiency
|
|
48806
|
+
*/
|
|
48807
|
+
diskCategory?: string;
|
|
48808
|
+
static names(): {
|
|
48809
|
+
[key: string]: string;
|
|
48810
|
+
};
|
|
48811
|
+
static types(): {
|
|
48812
|
+
[key: string]: any;
|
|
48813
|
+
};
|
|
48814
|
+
constructor(map?: {
|
|
48815
|
+
[key: string]: any;
|
|
48816
|
+
});
|
|
48817
|
+
}
|
|
48818
|
+
export declare class CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig extends $tea.Model {
|
|
48819
|
+
/**
|
|
48820
|
+
* @remarks
|
|
48821
|
+
* The architectures of the instance types.
|
|
48822
|
+
*/
|
|
48823
|
+
architectures?: string[];
|
|
48824
|
+
/**
|
|
48825
|
+
* @remarks
|
|
48826
|
+
* Specifies whether to include burstable instance types. Valid values:
|
|
48827
|
+
*
|
|
48828
|
+
* * Exclude: does not include burstable instance types.
|
|
48829
|
+
* * Include: includes burstable instance types.
|
|
48830
|
+
* * Required: includes only burstable instance types.
|
|
48831
|
+
*
|
|
48832
|
+
* Default value: Include.
|
|
48833
|
+
*
|
|
48834
|
+
* @example
|
|
48835
|
+
* Include
|
|
48836
|
+
*/
|
|
48837
|
+
burstablePerformance?: string;
|
|
48838
|
+
/**
|
|
48839
|
+
* @remarks
|
|
48840
|
+
* The number of vCPU cores of the instance type.
|
|
48841
|
+
*/
|
|
48842
|
+
cores?: number[];
|
|
48843
|
+
/**
|
|
48844
|
+
* @remarks
|
|
48845
|
+
* The instance types that you want to exclude.
|
|
48846
|
+
*/
|
|
48847
|
+
excludedInstanceTypes?: string[];
|
|
48848
|
+
/**
|
|
48849
|
+
* @remarks
|
|
48850
|
+
* The instance family level of the instance type in extended configuration N. This parameter is used to filter instance types. Valid values:
|
|
48851
|
+
*
|
|
48852
|
+
* * EntryLevel: entry level (shared instance types). Instance types of this level are the most cost-effective but may not provide stable computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low. For more information, see [Shared instance families](https://help.aliyun.com/document_detail/108489.html).
|
|
48853
|
+
* * EnterpriseLevel: enterprise level. Instance types of this level provide stable performance and dedicated resources and are suitable for scenarios that require high stability. For more information, see the [Overview of instance families](https://help.aliyun.com/document_detail/25378.html) topic.
|
|
48854
|
+
* * CreditEntryLevel: credit entry level (burstable instance types). CPU credits are used to ensure computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low but may fluctuate in specific cases. For more information, see [Overview of burstable instances](https://help.aliyun.com/document_detail/59977.html).
|
|
48855
|
+
*
|
|
48856
|
+
* Valid values of N: 1 to 10.
|
|
48857
|
+
*
|
|
48858
|
+
* @example
|
|
48859
|
+
* EnterpriseLevel
|
|
48860
|
+
*/
|
|
48861
|
+
instanceFamilyLevel?: string;
|
|
48862
|
+
/**
|
|
48863
|
+
* @remarks
|
|
48864
|
+
* The instance type in extended configuration N. Valid values of N: 1 to 20. For more information about the valid values of this parameter, see [Instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
48865
|
+
*
|
|
48866
|
+
* @example
|
|
48867
|
+
* ecs.g5.large
|
|
48868
|
+
*/
|
|
48869
|
+
instanceType?: string;
|
|
48870
|
+
/**
|
|
48871
|
+
* @remarks
|
|
48872
|
+
* The maximum price of preemptible instances in extended configuration N.
|
|
48873
|
+
*
|
|
48874
|
+
* > If you specify one or more other `LaunchTemplateConfig.N.*` parameters, you must also specify `LaunchTemplateConfig.N.MaxPrice`.
|
|
48875
|
+
*
|
|
48876
|
+
* @example
|
|
48877
|
+
* 3
|
|
48878
|
+
*/
|
|
48879
|
+
maxPrice?: number;
|
|
48880
|
+
/**
|
|
48881
|
+
* @remarks
|
|
48882
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
48883
|
+
*
|
|
48884
|
+
* @example
|
|
48885
|
+
* false
|
|
48886
|
+
*/
|
|
48887
|
+
maxQuantity?: number;
|
|
48888
|
+
/**
|
|
48889
|
+
* @remarks
|
|
48890
|
+
* The memory sizes of the instance type.
|
|
48891
|
+
*/
|
|
48892
|
+
memories?: number[];
|
|
48893
|
+
/**
|
|
48894
|
+
* @remarks
|
|
48895
|
+
* The priority of extended configuration N. A value of 0 indicates the highest priority. Valid values: 0 to ∞.
|
|
48896
|
+
*
|
|
48897
|
+
* @example
|
|
48898
|
+
* 1
|
|
48899
|
+
*/
|
|
48900
|
+
priority?: number;
|
|
48901
|
+
/**
|
|
48902
|
+
* @remarks
|
|
48903
|
+
* The ID of the vSwitch in extended configuration N. The zone of the ECS instances created from the extended configuration is determined by the vSwitch.
|
|
48904
|
+
*
|
|
48905
|
+
* > If you specify one or more other `LaunchTemplateConfig.N.*` parameters, you must also specify `LaunchTemplateConfig.N.VSwitchId`.
|
|
48906
|
+
*
|
|
48907
|
+
* @example
|
|
48908
|
+
* vsw-sn5bsitu4lfzgc5o7****
|
|
48909
|
+
*/
|
|
48910
|
+
vSwitchId?: string;
|
|
48911
|
+
/**
|
|
48912
|
+
* @remarks
|
|
48913
|
+
* The weight of the instance type in extended configuration N. A greater weight indicates that a single instance has more computing power and fewer instances are required. The value must be greater than 0.
|
|
48914
|
+
*
|
|
48915
|
+
* The weight is calculated based on the computing power of the specified instance type and the minimum computing power of a single instance in the cluster to be created by the auto provisioning group. For example, assume that the minimum computing power of a single instance is 8 vCPUs and 60 GiB of memory.
|
|
48916
|
+
*
|
|
48917
|
+
* * For an instance type with 8 vCPUs and 60 GiB of memory, you can set the weight to 1.
|
|
48918
|
+
* * For an instance type with 16 vCPUs and 120 GiB of memory, you can set the weight to 2.
|
|
48919
|
+
*
|
|
48920
|
+
* @example
|
|
48921
|
+
* 2
|
|
48922
|
+
*/
|
|
48923
|
+
weightedCapacity?: number;
|
|
48924
|
+
static names(): {
|
|
48925
|
+
[key: string]: string;
|
|
48926
|
+
};
|
|
48927
|
+
static types(): {
|
|
48928
|
+
[key: string]: any;
|
|
48929
|
+
};
|
|
48930
|
+
constructor(map?: {
|
|
48931
|
+
[key: string]: any;
|
|
48932
|
+
});
|
|
48933
|
+
}
|
|
48934
|
+
export declare class CreateAutoProvisioningGroupShrinkRequestSystemDiskConfig extends $tea.Model {
|
|
48935
|
+
/**
|
|
48936
|
+
* @remarks
|
|
48937
|
+
* The category of the system disk. You can specify multiple disk categories, and the disk categories are prioritized in the order in which they are specified. If a specified disk category is unavailable, the system uses the next available disk category. Valid values:
|
|
48938
|
+
*
|
|
48939
|
+
* - cloud_efficiency: ultra disk.
|
|
48940
|
+
* - cloud_ssd: standard SSD.
|
|
48941
|
+
* - cloud_essd: ESSD
|
|
48942
|
+
* - cloud: basic disk.
|
|
48943
|
+
*
|
|
48944
|
+
* @example
|
|
48945
|
+
* cloud_ssd
|
|
48946
|
+
*/
|
|
48947
|
+
diskCategory?: string;
|
|
48948
|
+
static names(): {
|
|
48949
|
+
[key: string]: string;
|
|
48950
|
+
};
|
|
48951
|
+
static types(): {
|
|
48952
|
+
[key: string]: any;
|
|
48953
|
+
};
|
|
48954
|
+
constructor(map?: {
|
|
48955
|
+
[key: string]: any;
|
|
48956
|
+
});
|
|
48957
|
+
}
|
|
48958
|
+
export declare class CreateAutoProvisioningGroupShrinkRequestTag extends $tea.Model {
|
|
47795
48959
|
/**
|
|
47796
48960
|
* @remarks
|
|
47797
48961
|
* The key of tag N to add to the auto provisioning group.
|
|
@@ -49153,7 +50317,7 @@ export declare class CreateLaunchTemplateRequestNetworkInterface extends $tea.Mo
|
|
|
49153
50317
|
* > You can attach only a single secondary ENI when you create an instance. After the instance is created, you can call the [CreateNetworkInterface](https://help.aliyun.com/document_detail/58504.html) and [AttachNetworkInterface](https://help.aliyun.com/document_detail/58515.html) operations to attach more secondary ENIs.
|
|
49154
50318
|
*
|
|
49155
50319
|
* @example
|
|
49156
|
-
* 192.168
|
|
50320
|
+
* ``192.168.**.**``
|
|
49157
50321
|
*/
|
|
49158
50322
|
primaryIpAddress?: string;
|
|
49159
50323
|
/**
|
|
@@ -49612,7 +50776,7 @@ export declare class CreateLaunchTemplateVersionRequestNetworkInterface extends
|
|
|
49612
50776
|
* The primary private IP address of the secondary ENI. The value of N in `NetworkInterface.N` cannot be greater than 1.
|
|
49613
50777
|
*
|
|
49614
50778
|
* @example
|
|
49615
|
-
* 192.168
|
|
50779
|
+
* ``192.168.**.**``
|
|
49616
50780
|
*/
|
|
49617
50781
|
primaryIpAddress?: string;
|
|
49618
50782
|
/**
|
|
@@ -49957,7 +51121,7 @@ export declare class CreateNetworkInterfaceResponseBodyPrivateIpSetsPrivateIpSet
|
|
|
49957
51121
|
* The private IP address of the instance.
|
|
49958
51122
|
*
|
|
49959
51123
|
* @example
|
|
49960
|
-
* 172.17
|
|
51124
|
+
* ``172.17.**.**``
|
|
49961
51125
|
*/
|
|
49962
51126
|
privateIpAddress?: string;
|
|
49963
51127
|
static names(): {
|
|
@@ -50531,7 +51695,7 @@ export declare class DeregisterManagedInstanceResponseBodyInstance extends $tea.
|
|
|
50531
51695
|
* The public IP address of the managed instance.
|
|
50532
51696
|
*
|
|
50533
51697
|
* @example
|
|
50534
|
-
* 47.8
|
|
51698
|
+
* ``47.8.**.**``
|
|
50535
51699
|
*/
|
|
50536
51700
|
internetIp?: string;
|
|
50537
51701
|
/**
|
|
@@ -50539,7 +51703,7 @@ export declare class DeregisterManagedInstanceResponseBodyInstance extends $tea.
|
|
|
50539
51703
|
* The internal IP address of the managed instance.
|
|
50540
51704
|
*
|
|
50541
51705
|
* @example
|
|
50542
|
-
* 10.0
|
|
51706
|
+
* ``10.0.**.**``
|
|
50543
51707
|
*/
|
|
50544
51708
|
intranetIp?: string;
|
|
50545
51709
|
/**
|
|
@@ -53282,6 +54446,7 @@ export declare class DescribeCommandsResponseBodyCommandsCommand extends $tea.Mo
|
|
|
53282
54446
|
* true
|
|
53283
54447
|
*/
|
|
53284
54448
|
latest?: boolean;
|
|
54449
|
+
launcher?: string;
|
|
53285
54450
|
/**
|
|
53286
54451
|
* @remarks
|
|
53287
54452
|
* The name of the command.
|
|
@@ -56767,7 +57932,35 @@ export declare class DescribeElasticityAssurancesRequestTag extends $tea.Model {
|
|
|
56767
57932
|
[key: string]: any;
|
|
56768
57933
|
});
|
|
56769
57934
|
}
|
|
57935
|
+
export declare class DescribeElasticityAssurancesResponseBodyElasticityAssuranceSetElasticityAssuranceItemAllocatedResourcesAllocatedResourceElasticityAssuranceUsagesElasticityAssuranceUsage extends $tea.Model {
|
|
57936
|
+
accountId?: string;
|
|
57937
|
+
serviceName?: string;
|
|
57938
|
+
usedAmount?: number;
|
|
57939
|
+
static names(): {
|
|
57940
|
+
[key: string]: string;
|
|
57941
|
+
};
|
|
57942
|
+
static types(): {
|
|
57943
|
+
[key: string]: any;
|
|
57944
|
+
};
|
|
57945
|
+
constructor(map?: {
|
|
57946
|
+
[key: string]: any;
|
|
57947
|
+
});
|
|
57948
|
+
}
|
|
57949
|
+
export declare class DescribeElasticityAssurancesResponseBodyElasticityAssuranceSetElasticityAssuranceItemAllocatedResourcesAllocatedResourceElasticityAssuranceUsages extends $tea.Model {
|
|
57950
|
+
elasticityAssuranceUsage?: DescribeElasticityAssurancesResponseBodyElasticityAssuranceSetElasticityAssuranceItemAllocatedResourcesAllocatedResourceElasticityAssuranceUsagesElasticityAssuranceUsage[];
|
|
57951
|
+
static names(): {
|
|
57952
|
+
[key: string]: string;
|
|
57953
|
+
};
|
|
57954
|
+
static types(): {
|
|
57955
|
+
[key: string]: any;
|
|
57956
|
+
};
|
|
57957
|
+
constructor(map?: {
|
|
57958
|
+
[key: string]: any;
|
|
57959
|
+
});
|
|
57960
|
+
}
|
|
56770
57961
|
export declare class DescribeElasticityAssurancesResponseBodyElasticityAssuranceSetElasticityAssuranceItemAllocatedResourcesAllocatedResource extends $tea.Model {
|
|
57962
|
+
availableAmount?: number;
|
|
57963
|
+
elasticityAssuranceUsages?: DescribeElasticityAssurancesResponseBodyElasticityAssuranceSetElasticityAssuranceItemAllocatedResourcesAllocatedResourceElasticityAssuranceUsages;
|
|
56771
57964
|
/**
|
|
56772
57965
|
* @remarks
|
|
56773
57966
|
* The instance type.
|
|
@@ -56875,6 +58068,7 @@ export declare class DescribeElasticityAssurancesResponseBodyElasticityAssurance
|
|
|
56875
58068
|
* This is description.
|
|
56876
58069
|
*/
|
|
56877
58070
|
description?: string;
|
|
58071
|
+
elasticityAssuranceOwnerId?: string;
|
|
56878
58072
|
/**
|
|
56879
58073
|
* @remarks
|
|
56880
58074
|
* The time when the elasticity assurance expires.
|
|
@@ -57275,8 +58469,29 @@ export declare class DescribeImageComponentsRequestTag extends $tea.Model {
|
|
|
57275
58469
|
});
|
|
57276
58470
|
}
|
|
57277
58471
|
export declare class DescribeImageComponentsResponseBodyImageComponentImageComponentSetParametersParameter extends $tea.Model {
|
|
58472
|
+
/**
|
|
58473
|
+
* @remarks
|
|
58474
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
58475
|
+
*
|
|
58476
|
+
* @example
|
|
58477
|
+
* null
|
|
58478
|
+
*/
|
|
57278
58479
|
defaultValue?: string;
|
|
58480
|
+
/**
|
|
58481
|
+
* @remarks
|
|
58482
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
58483
|
+
*
|
|
58484
|
+
* @example
|
|
58485
|
+
* null
|
|
58486
|
+
*/
|
|
57279
58487
|
name?: string;
|
|
58488
|
+
/**
|
|
58489
|
+
* @remarks
|
|
58490
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
58491
|
+
*
|
|
58492
|
+
* @example
|
|
58493
|
+
* null
|
|
58494
|
+
*/
|
|
57280
58495
|
type?: string;
|
|
57281
58496
|
static names(): {
|
|
57282
58497
|
[key: string]: string;
|
|
@@ -57348,6 +58563,13 @@ export declare class DescribeImageComponentsResponseBodyImageComponentImageCompo
|
|
|
57348
58563
|
* Build
|
|
57349
58564
|
*/
|
|
57350
58565
|
componentType?: string;
|
|
58566
|
+
/**
|
|
58567
|
+
* @remarks
|
|
58568
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
58569
|
+
*
|
|
58570
|
+
* @example
|
|
58571
|
+
* null
|
|
58572
|
+
*/
|
|
57351
58573
|
componentVersion?: string;
|
|
57352
58574
|
/**
|
|
57353
58575
|
* @remarks
|
|
@@ -57400,6 +58622,10 @@ export declare class DescribeImageComponentsResponseBodyImageComponentImageCompo
|
|
|
57400
58622
|
* SELF
|
|
57401
58623
|
*/
|
|
57402
58624
|
owner?: string;
|
|
58625
|
+
/**
|
|
58626
|
+
* @remarks
|
|
58627
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
58628
|
+
*/
|
|
57403
58629
|
parameters?: DescribeImageComponentsResponseBodyImageComponentImageComponentSetParameters;
|
|
57404
58630
|
/**
|
|
57405
58631
|
* @remarks
|
|
@@ -58088,6 +59314,13 @@ export declare class DescribeImagePipelinesResponseBodyImagePipelineImagePipelin
|
|
|
58088
59314
|
* This is description.
|
|
58089
59315
|
*/
|
|
58090
59316
|
description?: string;
|
|
59317
|
+
/**
|
|
59318
|
+
* @remarks
|
|
59319
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
59320
|
+
*
|
|
59321
|
+
* @example
|
|
59322
|
+
* null
|
|
59323
|
+
*/
|
|
58091
59324
|
imageFamily?: string;
|
|
58092
59325
|
/**
|
|
58093
59326
|
* @remarks
|
|
@@ -58129,6 +59362,13 @@ export declare class DescribeImagePipelinesResponseBodyImagePipelineImagePipelin
|
|
|
58129
59362
|
* testImagePipeline
|
|
58130
59363
|
*/
|
|
58131
59364
|
name?: string;
|
|
59365
|
+
/**
|
|
59366
|
+
* @remarks
|
|
59367
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
59368
|
+
*
|
|
59369
|
+
* @example
|
|
59370
|
+
* null
|
|
59371
|
+
*/
|
|
58132
59372
|
repairMode?: string;
|
|
58133
59373
|
/**
|
|
58134
59374
|
* @remarks
|
|
@@ -58151,6 +59391,13 @@ export declare class DescribeImagePipelinesResponseBodyImagePipelineImagePipelin
|
|
|
58151
59391
|
* The tags of the image template.
|
|
58152
59392
|
*/
|
|
58153
59393
|
tags?: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetTags;
|
|
59394
|
+
/**
|
|
59395
|
+
* @remarks
|
|
59396
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
59397
|
+
*
|
|
59398
|
+
* @example
|
|
59399
|
+
* null
|
|
59400
|
+
*/
|
|
58154
59401
|
testContent?: string;
|
|
58155
59402
|
/**
|
|
58156
59403
|
* @remarks
|
|
@@ -59055,7 +60302,7 @@ export declare class DescribeInstanceAttributeResponseBodyEipAddress extends $te
|
|
|
59055
60302
|
* The ID of the elastic IP address (EIP).
|
|
59056
60303
|
*
|
|
59057
60304
|
* @example
|
|
59058
|
-
* 30.21
|
|
60305
|
+
* ``30.21.**.**``
|
|
59059
60306
|
*/
|
|
59060
60307
|
ipAddress?: string;
|
|
59061
60308
|
static names(): {
|
|
@@ -59159,7 +60406,7 @@ export declare class DescribeInstanceAttributeResponseBodyVpcAttributes extends
|
|
|
59159
60406
|
* The NAT IP address of the instance. It is used by ECS instances in different VPCs for communication.
|
|
59160
60407
|
*
|
|
59161
60408
|
* @example
|
|
59162
|
-
* 172.17
|
|
60409
|
+
* ``172.17.**.**``
|
|
59163
60410
|
*/
|
|
59164
60411
|
natIpAddress?: string;
|
|
59165
60412
|
/**
|
|
@@ -60377,6 +61624,30 @@ export declare class DescribeInstanceTypeFamiliesResponseBodyInstanceTypeFamilie
|
|
|
60377
61624
|
[key: string]: any;
|
|
60378
61625
|
});
|
|
60379
61626
|
}
|
|
61627
|
+
export declare class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptionsSupportedTopologyTypes extends $tea.Model {
|
|
61628
|
+
supportedTopologyType?: string[];
|
|
61629
|
+
static names(): {
|
|
61630
|
+
[key: string]: string;
|
|
61631
|
+
};
|
|
61632
|
+
static types(): {
|
|
61633
|
+
[key: string]: any;
|
|
61634
|
+
};
|
|
61635
|
+
constructor(map?: {
|
|
61636
|
+
[key: string]: any;
|
|
61637
|
+
});
|
|
61638
|
+
}
|
|
61639
|
+
export declare class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptions extends $tea.Model {
|
|
61640
|
+
supportedTopologyTypes?: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptionsSupportedTopologyTypes;
|
|
61641
|
+
static names(): {
|
|
61642
|
+
[key: string]: string;
|
|
61643
|
+
};
|
|
61644
|
+
static types(): {
|
|
61645
|
+
[key: string]: any;
|
|
61646
|
+
};
|
|
61647
|
+
constructor(map?: {
|
|
61648
|
+
[key: string]: any;
|
|
61649
|
+
});
|
|
61650
|
+
}
|
|
60380
61651
|
export declare class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeEnhancedNetwork extends $tea.Model {
|
|
60381
61652
|
/**
|
|
60382
61653
|
* @remarks
|
|
@@ -60475,6 +61746,7 @@ export declare class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType
|
|
|
60475
61746
|
* 4
|
|
60476
61747
|
*/
|
|
60477
61748
|
cpuCoreCount?: number;
|
|
61749
|
+
cpuOptions?: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptions;
|
|
60478
61750
|
/**
|
|
60479
61751
|
* @remarks
|
|
60480
61752
|
* The CPU base frequency. Unit: GHz.
|
|
@@ -61050,7 +62322,7 @@ export declare class DescribeInstancesResponseBodyInstancesInstanceEipAddress ex
|
|
|
61050
62322
|
* The EIP.
|
|
61051
62323
|
*
|
|
61052
62324
|
* @example
|
|
61053
|
-
* 42.112
|
|
62325
|
+
* ``42.112.**.**``
|
|
61054
62326
|
*/
|
|
61055
62327
|
ipAddress?: string;
|
|
61056
62328
|
/**
|
|
@@ -61091,6 +62363,11 @@ export declare class DescribeInstancesResponseBodyInstancesInstanceHibernationOp
|
|
|
61091
62363
|
});
|
|
61092
62364
|
}
|
|
61093
62365
|
export declare class DescribeInstancesResponseBodyInstancesInstanceImageOptions extends $tea.Model {
|
|
62366
|
+
/**
|
|
62367
|
+
* @example
|
|
62368
|
+
* true
|
|
62369
|
+
*/
|
|
62370
|
+
currentOSNVMeSupported?: boolean;
|
|
61094
62371
|
/**
|
|
61095
62372
|
* @remarks
|
|
61096
62373
|
* Indicates whether the instance that uses the image supports logons of the ecs-user user. Valid values:
|
|
@@ -61280,7 +62557,7 @@ export declare class DescribeInstancesResponseBodyInstancesInstanceNetworkInterf
|
|
|
61280
62557
|
* The private IP address of the ENI.
|
|
61281
62558
|
*
|
|
61282
62559
|
* @example
|
|
61283
|
-
* 172.17
|
|
62560
|
+
* ``172.17.**.**``
|
|
61284
62561
|
*/
|
|
61285
62562
|
privateIpAddress?: string;
|
|
61286
62563
|
static names(): {
|
|
@@ -61342,7 +62619,7 @@ export declare class DescribeInstancesResponseBodyInstancesInstanceNetworkInterf
|
|
|
61342
62619
|
* The primary private IP address of the ENI.
|
|
61343
62620
|
*
|
|
61344
62621
|
* @example
|
|
61345
|
-
* 172.17
|
|
62622
|
+
* ``172.17.**.**``*
|
|
61346
62623
|
*/
|
|
61347
62624
|
primaryIpAddress?: string;
|
|
61348
62625
|
/**
|
|
@@ -61572,7 +62849,7 @@ export declare class DescribeInstancesResponseBodyInstancesInstanceVpcAttributes
|
|
|
61572
62849
|
* The NAT IP address of the instance. The NAT IP address is used by ECS instances in different VPCs for communication.
|
|
61573
62850
|
*
|
|
61574
62851
|
* @example
|
|
61575
|
-
* 172.17
|
|
62852
|
+
* ``172.17.**.**``
|
|
61576
62853
|
*/
|
|
61577
62854
|
natIpAddress?: string;
|
|
61578
62855
|
/**
|
|
@@ -61788,7 +63065,7 @@ export declare class DescribeInstancesResponseBodyInstancesInstance extends $tea
|
|
|
61788
63065
|
imageId?: string;
|
|
61789
63066
|
/**
|
|
61790
63067
|
* @remarks
|
|
61791
|
-
*
|
|
63068
|
+
* The image options.
|
|
61792
63069
|
*/
|
|
61793
63070
|
imageOptions?: DescribeInstancesResponseBodyInstancesInstanceImageOptions;
|
|
61794
63071
|
/**
|
|
@@ -64040,6 +65317,21 @@ export declare class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVer
|
|
|
64040
65317
|
* testHostName
|
|
64041
65318
|
*/
|
|
64042
65319
|
hostName?: string;
|
|
65320
|
+
/**
|
|
65321
|
+
* @example
|
|
65322
|
+
* enabled
|
|
65323
|
+
*/
|
|
65324
|
+
httpEndpoint?: string;
|
|
65325
|
+
/**
|
|
65326
|
+
* @example
|
|
65327
|
+
* 3
|
|
65328
|
+
*/
|
|
65329
|
+
httpPutResponseHopLimit?: number;
|
|
65330
|
+
/**
|
|
65331
|
+
* @example
|
|
65332
|
+
* optional
|
|
65333
|
+
*/
|
|
65334
|
+
httpTokens?: string;
|
|
64043
65335
|
/**
|
|
64044
65336
|
* @remarks
|
|
64045
65337
|
* The ID of the image.
|
|
@@ -64183,7 +65475,7 @@ export declare class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVer
|
|
|
64183
65475
|
* The private IP address to assign to the instance.
|
|
64184
65476
|
*
|
|
64185
65477
|
* @example
|
|
64186
|
-
* 10.1
|
|
65478
|
+
* ``10.1.**.**``
|
|
64187
65479
|
*/
|
|
64188
65480
|
privateIpAddress?: string;
|
|
64189
65481
|
/**
|
|
@@ -64320,7 +65612,7 @@ export declare class DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVer
|
|
|
64320
65612
|
createTime?: string;
|
|
64321
65613
|
/**
|
|
64322
65614
|
* @remarks
|
|
64323
|
-
* The
|
|
65615
|
+
* The ID of the Alibaba Cloud account that created the launch template.
|
|
64324
65616
|
*
|
|
64325
65617
|
* @example
|
|
64326
65618
|
* 123456789****
|
|
@@ -64690,7 +65982,7 @@ export declare class DescribeManagedInstancesResponseBodyInstances extends $tea.
|
|
|
64690
65982
|
* The public IP address of the managed instance.
|
|
64691
65983
|
*
|
|
64692
65984
|
* @example
|
|
64693
|
-
* 40.65
|
|
65985
|
+
* ``40.65.**.**``
|
|
64694
65986
|
*/
|
|
64695
65987
|
internetIp?: string;
|
|
64696
65988
|
/**
|
|
@@ -64698,7 +65990,7 @@ export declare class DescribeManagedInstancesResponseBodyInstances extends $tea.
|
|
|
64698
65990
|
* The internal IP address of the managed instance.
|
|
64699
65991
|
*
|
|
64700
65992
|
* @example
|
|
64701
|
-
* 10.0
|
|
65993
|
+
* ``10.0.**.**``
|
|
64702
65994
|
*/
|
|
64703
65995
|
intranetIp?: string;
|
|
64704
65996
|
/**
|
|
@@ -64872,7 +66164,7 @@ export declare class DescribeNetworkInterfaceAttributeResponseBodyAssociatedPubl
|
|
|
64872
66164
|
* The EIP.
|
|
64873
66165
|
*
|
|
64874
66166
|
* @example
|
|
64875
|
-
* 116.62
|
|
66167
|
+
* ``116.62.**.**``
|
|
64876
66168
|
*/
|
|
64877
66169
|
publicIpAddress?: string;
|
|
64878
66170
|
static names(): {
|
|
@@ -65058,6 +66350,9 @@ export declare class DescribeNetworkInterfaceAttributeResponseBodyEnhancedNetwor
|
|
|
65058
66350
|
/**
|
|
65059
66351
|
* @remarks
|
|
65060
66352
|
* This parameter is not publicly available.
|
|
66353
|
+
*
|
|
66354
|
+
* @example
|
|
66355
|
+
* false
|
|
65061
66356
|
*/
|
|
65062
66357
|
enableSriov?: boolean;
|
|
65063
66358
|
static names(): {
|
|
@@ -65212,7 +66507,7 @@ export declare class DescribeNetworkInterfaceAttributeResponseBodyPrivateIpSetsP
|
|
|
65212
66507
|
* The EIP.
|
|
65213
66508
|
*
|
|
65214
66509
|
* @example
|
|
65215
|
-
* 116.62
|
|
66510
|
+
* ``116.62.**.**``
|
|
65216
66511
|
*/
|
|
65217
66512
|
publicIpAddress?: string;
|
|
65218
66513
|
static names(): {
|
|
@@ -65247,7 +66542,7 @@ export declare class DescribeNetworkInterfaceAttributeResponseBodyPrivateIpSetsP
|
|
|
65247
66542
|
* The private IP address of the ENI.
|
|
65248
66543
|
*
|
|
65249
66544
|
* @example
|
|
65250
|
-
* 172.17
|
|
66545
|
+
* ``172.17.**.**``
|
|
65251
66546
|
*/
|
|
65252
66547
|
privateIpAddress?: string;
|
|
65253
66548
|
static names(): {
|
|
@@ -65477,7 +66772,7 @@ export declare class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNe
|
|
|
65477
66772
|
* The EIP.
|
|
65478
66773
|
*
|
|
65479
66774
|
* @example
|
|
65480
|
-
* 116.62
|
|
66775
|
+
* ``116.62.**.**``
|
|
65481
66776
|
*/
|
|
65482
66777
|
publicIpAddress?: string;
|
|
65483
66778
|
static names(): {
|
|
@@ -65643,7 +66938,7 @@ export declare class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNe
|
|
|
65643
66938
|
* The EIP.
|
|
65644
66939
|
*
|
|
65645
66940
|
* @example
|
|
65646
|
-
* 116.62
|
|
66941
|
+
* ``116.62.**.**``
|
|
65647
66942
|
*/
|
|
65648
66943
|
publicIpAddress?: string;
|
|
65649
66944
|
static names(): {
|
|
@@ -65686,7 +66981,7 @@ export declare class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNe
|
|
|
65686
66981
|
* The private IP address of the ENI.
|
|
65687
66982
|
*
|
|
65688
66983
|
* @example
|
|
65689
|
-
* 172.17
|
|
66984
|
+
* ``172.17.**.**``
|
|
65690
66985
|
*/
|
|
65691
66986
|
privateIpAddress?: string;
|
|
65692
66987
|
static names(): {
|
|
@@ -65875,7 +67170,7 @@ export declare class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNe
|
|
|
65875
67170
|
* The primary private IP address of the ENI.
|
|
65876
67171
|
*
|
|
65877
67172
|
* @example
|
|
65878
|
-
* 172.17
|
|
67173
|
+
* ``172.17.**.**``
|
|
65879
67174
|
*/
|
|
65880
67175
|
privateIpAddress?: string;
|
|
65881
67176
|
/**
|
|
@@ -65933,6 +67228,13 @@ export declare class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNe
|
|
|
65933
67228
|
* true
|
|
65934
67229
|
*/
|
|
65935
67230
|
serviceManaged?: boolean;
|
|
67231
|
+
/**
|
|
67232
|
+
* @remarks
|
|
67233
|
+
* > This parameter is in invitational preview and is not publicly available.
|
|
67234
|
+
*
|
|
67235
|
+
* @example
|
|
67236
|
+
* false
|
|
67237
|
+
*/
|
|
65936
67238
|
sourceDestCheck?: boolean;
|
|
65937
67239
|
/**
|
|
65938
67240
|
* @remarks
|
|
@@ -68989,7 +70291,7 @@ export declare class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGro
|
|
|
68989
70291
|
export declare class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshotsSnapshot extends $tea.Model {
|
|
68990
70292
|
/**
|
|
68991
70293
|
* @remarks
|
|
68992
|
-
* Indicates whether the snapshot can be used to create or roll back
|
|
70294
|
+
* Indicates whether the snapshot can be shared and be used to create or roll back a disk. Valid values:
|
|
68993
70295
|
*
|
|
68994
70296
|
* * true
|
|
68995
70297
|
* * false
|
|
@@ -69003,7 +70305,9 @@ export declare class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGro
|
|
|
69003
70305
|
* Indicates whether the instant access feature is enabled. Valid values:
|
|
69004
70306
|
*
|
|
69005
70307
|
* * true: The instant access feature is enabled. By default, the instant access feature is enabled for ESSDs.
|
|
69006
|
-
* * false: The instant access feature is disabled. The snapshot is a
|
|
70308
|
+
* * false: The instant access feature is disabled. The snapshot is a standard snapshot for which the instant access feature is disabled.
|
|
70309
|
+
*
|
|
70310
|
+
* > This parameter is no longer used. By default, standard snapshots of ESSDs are upgraded to instant access snapshots free of charge without the need for additional configurations. For more information, see [Use the instant access feature](https://help.aliyun.com/document_detail/193667.html).
|
|
69007
70311
|
*
|
|
69008
70312
|
* @example
|
|
69009
70313
|
* true
|
|
@@ -69011,9 +70315,9 @@ export declare class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGro
|
|
|
69011
70315
|
instantAccess?: boolean;
|
|
69012
70316
|
/**
|
|
69013
70317
|
* @remarks
|
|
69014
|
-
* The
|
|
70318
|
+
* The validity period of the instant access feature. When the validity period ends, the instant access snapshot is automatically released.
|
|
69015
70319
|
*
|
|
69016
|
-
* > This parameter is
|
|
70320
|
+
* > This parameter is no longer used. By default, standard snapshots of ESSDs are upgraded to instant access snapshots free of charge without the need for additional configurations. For more information, see [Use the instant access feature](https://help.aliyun.com/document_detail/193667.html).
|
|
69017
70321
|
*
|
|
69018
70322
|
* @example
|
|
69019
70323
|
* 3
|
|
@@ -69179,7 +70483,7 @@ export declare class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGro
|
|
|
69179
70483
|
snapshotGroupId?: string;
|
|
69180
70484
|
/**
|
|
69181
70485
|
* @remarks
|
|
69182
|
-
*
|
|
70486
|
+
* The information about the snapshots in the snapshot-consistent group.
|
|
69183
70487
|
*/
|
|
69184
70488
|
snapshots?: DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupSnapshots;
|
|
69185
70489
|
/**
|
|
@@ -69251,9 +70555,9 @@ export declare class DescribeSnapshotLinksResponseBodySnapshotLinksSnapshotLink
|
|
|
69251
70555
|
* Indicates whether the instant access feature is enabled. Valid values:
|
|
69252
70556
|
*
|
|
69253
70557
|
* * true: The instant access feature is enabled. This feature can be enabled only for enhanced SSDs (ESSDs).
|
|
69254
|
-
* * false: The instant access feature is disabled. The snapshot is a
|
|
70558
|
+
* * false: The instant access feature is disabled. The snapshot is a standard snapshot for which the instant access feature is disabled.
|
|
69255
70559
|
*
|
|
69256
|
-
* > This parameter is no longer used. By default, new
|
|
70560
|
+
* > This parameter is no longer used. By default, new standard snapshots of ESSDs are upgraded to instant access snapshots free of charge without the need for additional configurations. For more information, see [Use the instant access feature](https://help.aliyun.com/document_detail/193667.html).
|
|
69257
70561
|
*
|
|
69258
70562
|
* @example
|
|
69259
70563
|
* false
|
|
@@ -69537,7 +70841,7 @@ export declare class DescribeSnapshotsResponseBodySnapshotsSnapshotTags extends
|
|
|
69537
70841
|
export declare class DescribeSnapshotsResponseBodySnapshotsSnapshot extends $tea.Model {
|
|
69538
70842
|
/**
|
|
69539
70843
|
* @remarks
|
|
69540
|
-
* Indicates whether the snapshot can be used to create or roll back a disk. Valid values:
|
|
70844
|
+
* Indicates whether the snapshot can be shared and be used to create or roll back a cloud disk. Valid values:
|
|
69541
70845
|
*
|
|
69542
70846
|
* * true
|
|
69543
70847
|
* * false
|
|
@@ -69584,8 +70888,10 @@ export declare class DescribeSnapshotsResponseBodySnapshotsSnapshot extends $tea
|
|
|
69584
70888
|
* @remarks
|
|
69585
70889
|
* Indicates whether the instant access feature is enabled. Valid values:
|
|
69586
70890
|
*
|
|
69587
|
-
* * true: The instant access feature is enabled. By default, the instant access feature is enabled for Enterprise SSDs (ESSDs).
|
|
69588
|
-
* * false: The instant access feature is disabled. The snapshot is a
|
|
70891
|
+
* * true: The instant access feature is enabled. By default, the instant access feature is enabled for Enterprise SSDs (ESSDs) and ESSD Entry disks.
|
|
70892
|
+
* * false: The instant access feature is disabled. The snapshot is a standard snapshot for which the instant access feature is disabled.
|
|
70893
|
+
*
|
|
70894
|
+
* > This parameter is no longer used. The standard snapshots of ESSDs are upgraded to support the instant access feature by default. No additional configurations are required to enable the feature and you are not charged for the feature. For more information, see [Use the instant access feature](https://help.aliyun.com/document_detail/193667.html).
|
|
69589
70895
|
*
|
|
69590
70896
|
* @example
|
|
69591
70897
|
* false
|
|
@@ -69597,7 +70903,7 @@ export declare class DescribeSnapshotsResponseBodySnapshotsSnapshot extends $tea
|
|
|
69597
70903
|
*
|
|
69598
70904
|
* By default, the value of this parameter is the same as the value of `RetentionDays`.
|
|
69599
70905
|
*
|
|
69600
|
-
* > This parameter is no longer used. The
|
|
70906
|
+
* > This parameter is no longer used. The standard snapshots of ESSDs are upgraded to support the instant access feature by default. No additional configurations are required to enable the feature and you are not charged for the feature. For more information, see [Use the instant access feature](https://help.aliyun.com/document_detail/193667.html).
|
|
69601
70907
|
*
|
|
69602
70908
|
* @example
|
|
69603
70909
|
* 30
|
|
@@ -73355,6 +74661,8 @@ export declare class ModifyReservedInstancesResponseBodyReservedInstanceIdSets e
|
|
|
73355
74661
|
export declare class PurchaseElasticityAssuranceRequestPrivatePoolOptions extends $tea.Model {
|
|
73356
74662
|
/**
|
|
73357
74663
|
* @remarks
|
|
74664
|
+
* The ID of the elasticity assurance.
|
|
74665
|
+
*
|
|
73358
74666
|
* This parameter is required.
|
|
73359
74667
|
*
|
|
73360
74668
|
* @example
|
|
@@ -73362,6 +74670,14 @@ export declare class PurchaseElasticityAssuranceRequestPrivatePoolOptions extend
|
|
|
73362
74670
|
*/
|
|
73363
74671
|
id?: string;
|
|
73364
74672
|
/**
|
|
74673
|
+
* @remarks
|
|
74674
|
+
* The type of the private pool that is associated with the elasticity assurance. Valid values:
|
|
74675
|
+
*
|
|
74676
|
+
* * Open: open private pool. If you use the elasticity assurance to create ECS instances, the open private pool that is associated with the elasticity assurance is automatically matched. If no capacity is available in the open private pool, resources in the public pool are automatically used to create the ECS instances.
|
|
74677
|
+
* * Target: targeted private pool. If you use the elasticity assurance to create ECS instances, the targeted private pool that is associated with the elasticity assurance is automatically matched. If no capacity is available in the private pool, the ECS instances fail to be created.
|
|
74678
|
+
*
|
|
74679
|
+
* Default value: Open.
|
|
74680
|
+
*
|
|
73365
74681
|
* @example
|
|
73366
74682
|
* Open
|
|
73367
74683
|
*/
|
|
@@ -74806,25 +76122,25 @@ export declare class RunInstancesRequestDataDisk extends $tea.Model {
|
|
|
74806
76122
|
* @remarks
|
|
74807
76123
|
* The category of data disk N. Valid values:
|
|
74808
76124
|
*
|
|
74809
|
-
* * cloud_efficiency: ultra disk
|
|
76125
|
+
* * cloud_efficiency: ultra disk
|
|
74810
76126
|
*
|
|
74811
|
-
* * cloud_ssd: standard SSD
|
|
76127
|
+
* * cloud_ssd: standard SSD
|
|
74812
76128
|
*
|
|
74813
|
-
* * cloud_essd: ESSD
|
|
76129
|
+
* * cloud_essd: ESSD
|
|
74814
76130
|
*
|
|
74815
|
-
* * cloud: basic disk
|
|
76131
|
+
* * cloud: basic disk
|
|
74816
76132
|
*
|
|
74817
|
-
* * cloud_auto: ESSD AutoPL disk
|
|
76133
|
+
* * cloud_auto: ESSD AutoPL disk
|
|
74818
76134
|
*
|
|
74819
|
-
* * cloud_essd_entry: ESSD Entry disk
|
|
76135
|
+
* * cloud_essd_entry: ESSD Entry disk
|
|
74820
76136
|
*
|
|
74821
76137
|
* **
|
|
74822
76138
|
*
|
|
74823
76139
|
* **Note** This parameter can be set to `cloud_essd_entry` only when `InstanceType` is set to `ecs.u1` or `ecs.e`.
|
|
74824
76140
|
*
|
|
74825
|
-
* * elastic_ephemeral_disk_standard: standard elastic ephemeral disk
|
|
76141
|
+
* * elastic_ephemeral_disk_standard: standard elastic ephemeral disk
|
|
74826
76142
|
*
|
|
74827
|
-
* * elastic_ephemeral_disk_premium: premium elastic ephemeral disk
|
|
76143
|
+
* * elastic_ephemeral_disk_premium: premium elastic ephemeral disk
|
|
74828
76144
|
*
|
|
74829
76145
|
* For I/O optimized instances, the default value is cloud_efficiency. For non-I/O optimized instances, the default value is cloud.
|
|
74830
76146
|
*
|
|
@@ -74860,7 +76176,7 @@ export declare class RunInstancesRequestDataDisk extends $tea.Model {
|
|
|
74860
76176
|
* * 1st to 25th data disks: /dev/xvd`[b-z]`.
|
|
74861
76177
|
* * From the 26th data disk on: /dev/xvd`[aa-zz]`. For example, the 26th data disk is named /dev/xvdaa, the 27th data disk is named /dev/xvdab, and so on.
|
|
74862
76178
|
*
|
|
74863
|
-
* > This parameter is applicable to scenarios in which a full image is used to create instances. A full image is an image that contains an operating system, application software, and business data. For these scenarios, you can set the parameter to the mount point of data disk N contained in the full image and modify `DataDisk.N.Size` and `DataDisk.N.Category` to change the category and size of data disk N created based on the image.
|
|
76179
|
+
* > This parameter is applicable to scenarios in which a full image is used to create instances. A full image is an image that contains an operating system, application software, and business data. For these scenarios, you can set the parameter to the mount point of data disk N contained in the full image and modify the `DataDisk.N.Size` and `DataDisk.N.Category` parameters to change the category and size of data disk N created based on the image.
|
|
74864
76180
|
*
|
|
74865
76181
|
* @example
|
|
74866
76182
|
* /dev/xvdb
|
|
@@ -74908,11 +76224,11 @@ export declare class RunInstancesRequestDataDisk extends $tea.Model {
|
|
|
74908
76224
|
* The performance level of the ESSD to use as data disk N. The value of N must be the same as that in `DataDisk.N.Category` when DataDisk.N.Category is set to cloud_essd. Valid values:
|
|
74909
76225
|
*
|
|
74910
76226
|
* * PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
|
|
74911
|
-
* * PL1 (default): A single ESSD can deliver up to
|
|
74912
|
-
* * PL2: A single ESSD can deliver up to
|
|
74913
|
-
* * PL3: A single ESSD can deliver up to
|
|
76227
|
+
* * PL1 (default): A single ESSD can deliver up to 50000 random read/write IOPS.
|
|
76228
|
+
* * PL2: A single ESSD can deliver up to 100000 random read/write IOPS.
|
|
76229
|
+
* * PL3: A single ESSD can deliver up to 1000000 random read/write IOPS.
|
|
74914
76230
|
*
|
|
74915
|
-
* For
|
|
76231
|
+
* For information about ESSD performance levels, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
74916
76232
|
*
|
|
74917
76233
|
* @example
|
|
74918
76234
|
* PL1
|
|
@@ -74922,7 +76238,7 @@ export declare class RunInstancesRequestDataDisk extends $tea.Model {
|
|
|
74922
76238
|
* @remarks
|
|
74923
76239
|
* The provisioned read/write IOPS of the ESSD AutoPL disk to use as data disk N. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}.
|
|
74924
76240
|
*
|
|
74925
|
-
* Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}
|
|
76241
|
+
* Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}
|
|
74926
76242
|
*
|
|
74927
76243
|
* > This parameter is available only if you set DataDisk.N.Category to cloud_auto. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
74928
76244
|
*
|
|
@@ -74940,14 +76256,14 @@ export declare class RunInstancesRequestDataDisk extends $tea.Model {
|
|
|
74940
76256
|
*
|
|
74941
76257
|
* * Valid values when DataDisk.N.Category is set to cloud_essd: vary based on the value of `DataDisk.N.PerformanceLevel`.
|
|
74942
76258
|
*
|
|
74943
|
-
* * Valid values when DataDisk.N.PerformanceLevel is set to PL0: 1 to
|
|
74944
|
-
* * Valid values when DataDisk.N.PerformanceLevel is set to PL1: 20 to
|
|
74945
|
-
* * Valid values when DataDisk.N.PerformanceLevel is set to PL2: 461 to
|
|
74946
|
-
* * Valid values when DataDisk.N.PerformanceLevel is set to PL3: 1261 to
|
|
76259
|
+
* * Valid values when DataDisk.N.PerformanceLevel is set to PL0: 1 to 65536.
|
|
76260
|
+
* * Valid values when DataDisk.N.PerformanceLevel is set to PL1: 20 to 65536.
|
|
76261
|
+
* * Valid values when DataDisk.N.PerformanceLevel is set to PL2: 461 to 65536.
|
|
76262
|
+
* * Valid values when DataDisk.N.PerformanceLevel is set to PL3: 1261 to 65536.
|
|
74947
76263
|
*
|
|
74948
76264
|
* * Valid values when DataDisk.N.Category is set to cloud: 5 to 2000.
|
|
74949
76265
|
*
|
|
74950
|
-
* * Valid values when
|
|
76266
|
+
* * Valid values when DiskCategory is set to cloud_auto: 1 to 65536.
|
|
74951
76267
|
*
|
|
74952
76268
|
* * Valid values when DataDisk.N.Category is set to cloud_essd_entry: 10 to 32768.
|
|
74953
76269
|
*
|
|
@@ -74961,7 +76277,7 @@ export declare class RunInstancesRequestDataDisk extends $tea.Model {
|
|
|
74961
76277
|
* @remarks
|
|
74962
76278
|
* The ID of the snapshot to use to create data disk N. Valid values of N: 1 to 16.
|
|
74963
76279
|
*
|
|
74964
|
-
*
|
|
76280
|
+
* When the `DataDisk.N.SnapshotId` parameter is specified, the `DataDisk.N.Size` parameter is ignored. The data disk is created with the size of the specified snapshot. Use snapshots created on or after July 15, 2013. Otherwise, an error is returned and your request is rejected.
|
|
74965
76281
|
*
|
|
74966
76282
|
* @example
|
|
74967
76283
|
* s-bp17441ohwka0yuh****
|
|
@@ -74969,7 +76285,7 @@ export declare class RunInstancesRequestDataDisk extends $tea.Model {
|
|
|
74969
76285
|
snapshotId?: string;
|
|
74970
76286
|
/**
|
|
74971
76287
|
* @remarks
|
|
74972
|
-
* The ID of the dedicated block storage cluster to which data disk N belongs. If you want to use a disk in a dedicated block storage cluster as data disk N when you create the instance, specify this parameter.
|
|
76288
|
+
* The ID of the dedicated block storage cluster to which data disk N belongs. If you want to use a disk in a dedicated block storage cluster as data disk N when you create the instance, you must specify this parameter.
|
|
74973
76289
|
*
|
|
74974
76290
|
* @example
|
|
74975
76291
|
* dbsc-j5e1sf2vaf5he8m2****
|
|
@@ -75149,7 +76465,7 @@ export declare class RunInstancesRequestNetworkInterface extends $tea.Model {
|
|
|
75149
76465
|
* * The first IP address and last three IP addresses of each vSwitch CIDR block are reserved. You cannot specify the IP addresses. For example, if a vSwitch CIDR block is 192.168.1.0/24, the following IP addresses are reserved: 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255.
|
|
75150
76466
|
*
|
|
75151
76467
|
* @example
|
|
75152
|
-
* 172.16
|
|
76468
|
+
* ``172.16.**.**``
|
|
75153
76469
|
*/
|
|
75154
76470
|
primaryIpAddress?: string;
|
|
75155
76471
|
/**
|
|
@@ -76422,7 +77738,7 @@ export default class Client extends OpenApi {
|
|
|
76422
77738
|
*/
|
|
76423
77739
|
copyImage(request: CopyImageRequest): Promise<CopyImageResponse>;
|
|
76424
77740
|
/**
|
|
76425
|
-
* Copies a
|
|
77741
|
+
* Copies a standard or encrypted snapshot from one region to another.
|
|
76426
77742
|
*
|
|
76427
77743
|
* @remarks
|
|
76428
77744
|
* ## [](#)Usage notes
|
|
@@ -76436,7 +77752,7 @@ export default class Client extends OpenApi {
|
|
|
76436
77752
|
*/
|
|
76437
77753
|
copySnapshotWithOptions(request: CopySnapshotRequest, runtime: $Util.RuntimeOptions): Promise<CopySnapshotResponse>;
|
|
76438
77754
|
/**
|
|
76439
|
-
* Copies a
|
|
77755
|
+
* Copies a standard or encrypted snapshot from one region to another.
|
|
76440
77756
|
*
|
|
76441
77757
|
* @remarks
|
|
76442
77758
|
* ## [](#)Usage notes
|
|
@@ -76505,11 +77821,11 @@ export default class Client extends OpenApi {
|
|
|
76505
77821
|
* * Auto Provisioning is provided free of charge. However, you are charged for instance resources that are created in auto provisioning groups. For more information, see [Overview of preemptible instances](https://help.aliyun.com/document_detail/52088.html) and [Pay-as-you-go](https://help.aliyun.com/document_detail/40653.html).
|
|
76506
77822
|
* * When you specify both a launch template (`LaunchTemplateId`) and extended configurations (`LaunchConfiguration.*` parameters), LaunchTemplateId takes precedence.
|
|
76507
77823
|
*
|
|
76508
|
-
* @param
|
|
77824
|
+
* @param tmpReq - CreateAutoProvisioningGroupRequest
|
|
76509
77825
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
76510
77826
|
* @returns CreateAutoProvisioningGroupResponse
|
|
76511
77827
|
*/
|
|
76512
|
-
createAutoProvisioningGroupWithOptions(
|
|
77828
|
+
createAutoProvisioningGroupWithOptions(tmpReq: CreateAutoProvisioningGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateAutoProvisioningGroupResponse>;
|
|
76513
77829
|
/**
|
|
76514
77830
|
* Creates an auto provisioning group. When you call this operation, you can specify parameters, such as ResourceGroupId, AutoProvisioningGroupType, and ValidFrom, in the request.
|
|
76515
77831
|
*
|
|
@@ -76880,12 +78196,13 @@ export default class Client extends OpenApi {
|
|
|
76880
78196
|
* Creates an image component. Image components are used to store the image template commands that are commonly used to create images.
|
|
76881
78197
|
*
|
|
76882
78198
|
* @remarks
|
|
78199
|
+
* ## [](#)Usage notes
|
|
76883
78200
|
* Take note of the following items:
|
|
76884
|
-
* *
|
|
76885
|
-
* *
|
|
76886
|
-
* *
|
|
76887
|
-
* * You can use Dockerfile to edit the content of image components
|
|
76888
|
-
* You can use image components to create image templates in the Elastic Compute Service (ECS) console, but cannot call API operations to
|
|
78201
|
+
* * You can create only custom image components.
|
|
78202
|
+
* * Only Linux operating systems are supported. Set `SystemType` to Linux.
|
|
78203
|
+
* * Only image build components are supported. Set `ComponentType` to Build.
|
|
78204
|
+
* * You can use Dockerfile to edit the content of image components and pass the edited content into the `Content` parameter. The content size can be up to 16 KB. `FROM` commands cannot be used in image components. An image component supports up to 127 commands. For information about the supported commands, see [Commands supported by Image Builder](https://help.aliyun.com/document_detail/200206.html).
|
|
78205
|
+
* 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).
|
|
76889
78206
|
*
|
|
76890
78207
|
* @param request - CreateImageComponentRequest
|
|
76891
78208
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -76896,12 +78213,13 @@ export default class Client extends OpenApi {
|
|
|
76896
78213
|
* Creates an image component. Image components are used to store the image template commands that are commonly used to create images.
|
|
76897
78214
|
*
|
|
76898
78215
|
* @remarks
|
|
78216
|
+
* ## [](#)Usage notes
|
|
76899
78217
|
* Take note of the following items:
|
|
76900
|
-
* *
|
|
76901
|
-
* *
|
|
76902
|
-
* *
|
|
76903
|
-
* * You can use Dockerfile to edit the content of image components
|
|
76904
|
-
* You can use image components to create image templates in the Elastic Compute Service (ECS) console, but cannot call API operations to
|
|
78218
|
+
* * You can create only custom image components.
|
|
78219
|
+
* * Only Linux operating systems are supported. Set `SystemType` to Linux.
|
|
78220
|
+
* * Only image build components are supported. Set `ComponentType` to Build.
|
|
78221
|
+
* * You can use Dockerfile to edit the content of image components and pass the edited content into the `Content` parameter. The content size can be up to 16 KB. `FROM` commands cannot be used in image components. An image component supports up to 127 commands. For information about the supported commands, see [Commands supported by Image Builder](https://help.aliyun.com/document_detail/200206.html).
|
|
78222
|
+
* 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).
|
|
76905
78223
|
*
|
|
76906
78224
|
* @param request - CreateImageComponentRequest
|
|
76907
78225
|
* @returns CreateImageComponentResponse
|
|
@@ -76911,15 +78229,16 @@ export default class Client extends OpenApi {
|
|
|
76911
78229
|
* Creates an image template. Image templates can be used to create images.
|
|
76912
78230
|
*
|
|
76913
78231
|
* @remarks
|
|
76914
|
-
*
|
|
78232
|
+
* ## [](#)Usage notes
|
|
78233
|
+
* You can use image templates to customize image content and create images across regions and accounts. Take note of the following items:
|
|
76915
78234
|
* * You can create only custom image templates.
|
|
76916
78235
|
* * You can configure only public, custom, or shared Linux images or image families as the source images when you create image templates.
|
|
76917
|
-
* * When you
|
|
76918
|
-
*
|
|
76919
|
-
* * If the `BuildContent` value contains `FROM` commands, the `FROM` commands override the values of `BaseImageType` that specifies the type of the source
|
|
78236
|
+
* * When you create an image from an image template, an intermediate Elastic Compute Service (ECS) instance that uses the pay-as-you-go billing method is created. You are charged for the instance. For more information, see [Pay-as-you-go](https://help.aliyun.com/document_detail/40653.html).
|
|
78237
|
+
* When you use the `BuildContent` parameter to specify the content of the image template, take note of the following items:
|
|
78238
|
+
* * If the `BuildContent` value contains `FROM` commands, the `FROM` commands override the values of `BaseImageType` that specifies the type of the source image and `BaseImage` that specifies the source image.
|
|
76920
78239
|
* * If the `BuildContent` value does not contain `FROM` commands, the system creates a `FROM` command that consists of the `BaseImageType` and `BaseImage` values in the format of `<BaseImageType>:<BaseImage>` and adds the command to the first line of the template content.
|
|
76921
|
-
* * You can use Dockerfile to edit the content of image
|
|
76922
|
-
* 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 [
|
|
78240
|
+
* * You can use Dockerfile to edit the content of the image template and then pass the edited content into the `BuildContent` parameter. The content cannot be greater than 16 KB in size and can contain up to 127 commands. For information about commands supported by image templates, see [Commands supported by Image Builder](https://help.aliyun.com/document_detail/200206.html).
|
|
78241
|
+
* 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).
|
|
76923
78242
|
*
|
|
76924
78243
|
* @param request - CreateImagePipelineRequest
|
|
76925
78244
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -76930,15 +78249,16 @@ export default class Client extends OpenApi {
|
|
|
76930
78249
|
* Creates an image template. Image templates can be used to create images.
|
|
76931
78250
|
*
|
|
76932
78251
|
* @remarks
|
|
76933
|
-
*
|
|
78252
|
+
* ## [](#)Usage notes
|
|
78253
|
+
* You can use image templates to customize image content and create images across regions and accounts. Take note of the following items:
|
|
76934
78254
|
* * You can create only custom image templates.
|
|
76935
78255
|
* * You can configure only public, custom, or shared Linux images or image families as the source images when you create image templates.
|
|
76936
|
-
* * When you
|
|
76937
|
-
*
|
|
76938
|
-
* * If the `BuildContent` value contains `FROM` commands, the `FROM` commands override the values of `BaseImageType` that specifies the type of the source
|
|
78256
|
+
* * When you create an image from an image template, an intermediate Elastic Compute Service (ECS) instance that uses the pay-as-you-go billing method is created. You are charged for the instance. For more information, see [Pay-as-you-go](https://help.aliyun.com/document_detail/40653.html).
|
|
78257
|
+
* When you use the `BuildContent` parameter to specify the content of the image template, take note of the following items:
|
|
78258
|
+
* * If the `BuildContent` value contains `FROM` commands, the `FROM` commands override the values of `BaseImageType` that specifies the type of the source image and `BaseImage` that specifies the source image.
|
|
76939
78259
|
* * If the `BuildContent` value does not contain `FROM` commands, the system creates a `FROM` command that consists of the `BaseImageType` and `BaseImage` values in the format of `<BaseImageType>:<BaseImage>` and adds the command to the first line of the template content.
|
|
76940
|
-
* * You can use Dockerfile to edit the content of image
|
|
76941
|
-
* 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 [
|
|
78260
|
+
* * You can use Dockerfile to edit the content of the image template and then pass the edited content into the `BuildContent` parameter. The content cannot be greater than 16 KB in size and can contain up to 127 commands. For information about commands supported by image templates, see [Commands supported by Image Builder](https://help.aliyun.com/document_detail/200206.html).
|
|
78261
|
+
* 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).
|
|
76942
78262
|
*
|
|
76943
78263
|
* @param request - CreateImagePipelineRequest
|
|
76944
78264
|
* @returns CreateImagePipelineResponse
|
|
@@ -77094,7 +78414,7 @@ export default class Client extends OpenApi {
|
|
|
77094
78414
|
*/
|
|
77095
78415
|
createLaunchTemplate(request: CreateLaunchTemplateRequest): Promise<CreateLaunchTemplateResponse>;
|
|
77096
78416
|
/**
|
|
77097
|
-
* Creates a version for a launch template. You can use the created version to create Elastic Compute Service (ECS) instances, scaling groups, or auto provisioning groups. When you call this operation, you can specify parameters, such as LaunchTemplateId, VersionDescription, and
|
|
78417
|
+
* Creates a version for a launch template. You can use the created version to create Elastic Compute Service (ECS) instances, scaling groups, or auto provisioning groups. When you call this operation, you can specify parameters, such as LaunchTemplateId, VersionDescription, and instance-related parameters, in the request.
|
|
77098
78418
|
*
|
|
77099
78419
|
* @remarks
|
|
77100
78420
|
* ## [](#)Usage notes
|
|
@@ -77106,7 +78426,7 @@ export default class Client extends OpenApi {
|
|
|
77106
78426
|
*/
|
|
77107
78427
|
createLaunchTemplateVersionWithOptions(request: CreateLaunchTemplateVersionRequest, runtime: $Util.RuntimeOptions): Promise<CreateLaunchTemplateVersionResponse>;
|
|
77108
78428
|
/**
|
|
77109
|
-
* Creates a version for a launch template. You can use the created version to create Elastic Compute Service (ECS) instances, scaling groups, or auto provisioning groups. When you call this operation, you can specify parameters, such as LaunchTemplateId, VersionDescription, and
|
|
78429
|
+
* Creates a version for a launch template. You can use the created version to create Elastic Compute Service (ECS) instances, scaling groups, or auto provisioning groups. When you call this operation, you can specify parameters, such as LaunchTemplateId, VersionDescription, and instance-related parameters, in the request.
|
|
77110
78430
|
*
|
|
77111
78431
|
* @remarks
|
|
77112
78432
|
* ## [](#)Usage notes
|
|
@@ -77347,20 +78667,19 @@ export default class Client extends OpenApi {
|
|
|
77347
78667
|
* This parameter is empty by default, which indicates that the snapshot is not automatically released.
|
|
77348
78668
|
*
|
|
77349
78669
|
* @remarks
|
|
77350
|
-
* ## [](#)Usage notes
|
|
77351
78670
|
* The local snapshot feature is replaced by the instant access feature. Take note of the following items:
|
|
77352
78671
|
* * If you have used the local snapshot feature before December 14, 2020, you can use the Category parameter.
|
|
77353
|
-
* * If you have not used the local snapshot feature before December 14, 2020, new snapshots of your
|
|
78672
|
+
* * If you have not used the local snapshot feature before December 14, 2020, new snapshots of your Enterprise SSD (ESSD) series disks are instantly available after creation without the need for additional configurations, regardless of whether the snapshots are manually or automatically created. ESSD-series disks include ESSDs, ESSD AutoPL disks, ESSD Entry disks, and Regional ESSDs. The InstantAccess, InstantAccessRetentionDays, and DisableInstantAccess parameters that are related to the instant access feature no longer take effect in API operations. The Available parameter is added to the DescribeSnapshots and DescribeSnapshotGroups operations to indicate whether snapshots are available.
|
|
77354
78673
|
* In the following scenarios, you cannot create snapshots for a disk:
|
|
77355
78674
|
* * The number of manual snapshots of the disk has reached 256.
|
|
77356
78675
|
* * A snapshot is being created for the disk.
|
|
77357
78676
|
* * The Elastic Compute Service (ECS) instance to which the disk is attached has never been started.
|
|
77358
78677
|
* * The ECS instance to which the disk is attached is not in the **Stopped** (`Stopped`) or **Running** (`Running`) state.
|
|
77359
|
-
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query
|
|
78678
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query information about an ECS instance, the instance is locked for security reasons and no operations are allowed on the instance.
|
|
77360
78679
|
* When you create a snapshot, take note of the following items:
|
|
77361
78680
|
* * If a snapshot is being created, you cannot use this snapshot to create a custom image by calling the [CreateImage](https://help.aliyun.com/document_detail/25535.html) operation.
|
|
77362
78681
|
* * When a snapshot is being created for a disk that is attached to an ECS instance, do not change the instance state.
|
|
77363
|
-
* * You can create snapshots for a disk that is in the **Expired** (`Expired`) state. If the release time scheduled for a disk arrives while a snapshot is being created for the disk, the snapshot is in the **Creating** (`Creating` state and is deleted when the disk is released.
|
|
78682
|
+
* * You can create snapshots for a disk that is in the **Expired** (`Expired`) state. If the release time scheduled for a disk arrives while a snapshot is being created for the disk, the snapshot is in the **Creating** (`Creating`) state and is deleted when the disk is released.
|
|
77364
78683
|
*
|
|
77365
78684
|
* @param request - CreateSnapshotRequest
|
|
77366
78685
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -77372,20 +78691,19 @@ export default class Client extends OpenApi {
|
|
|
77372
78691
|
* This parameter is empty by default, which indicates that the snapshot is not automatically released.
|
|
77373
78692
|
*
|
|
77374
78693
|
* @remarks
|
|
77375
|
-
* ## [](#)Usage notes
|
|
77376
78694
|
* The local snapshot feature is replaced by the instant access feature. Take note of the following items:
|
|
77377
78695
|
* * If you have used the local snapshot feature before December 14, 2020, you can use the Category parameter.
|
|
77378
|
-
* * If you have not used the local snapshot feature before December 14, 2020, new snapshots of your
|
|
78696
|
+
* * If you have not used the local snapshot feature before December 14, 2020, new snapshots of your Enterprise SSD (ESSD) series disks are instantly available after creation without the need for additional configurations, regardless of whether the snapshots are manually or automatically created. ESSD-series disks include ESSDs, ESSD AutoPL disks, ESSD Entry disks, and Regional ESSDs. The InstantAccess, InstantAccessRetentionDays, and DisableInstantAccess parameters that are related to the instant access feature no longer take effect in API operations. The Available parameter is added to the DescribeSnapshots and DescribeSnapshotGroups operations to indicate whether snapshots are available.
|
|
77379
78697
|
* In the following scenarios, you cannot create snapshots for a disk:
|
|
77380
78698
|
* * The number of manual snapshots of the disk has reached 256.
|
|
77381
78699
|
* * A snapshot is being created for the disk.
|
|
77382
78700
|
* * The Elastic Compute Service (ECS) instance to which the disk is attached has never been started.
|
|
77383
78701
|
* * The ECS instance to which the disk is attached is not in the **Stopped** (`Stopped`) or **Running** (`Running`) state.
|
|
77384
|
-
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query
|
|
78702
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query information about an ECS instance, the instance is locked for security reasons and no operations are allowed on the instance.
|
|
77385
78703
|
* When you create a snapshot, take note of the following items:
|
|
77386
78704
|
* * If a snapshot is being created, you cannot use this snapshot to create a custom image by calling the [CreateImage](https://help.aliyun.com/document_detail/25535.html) operation.
|
|
77387
78705
|
* * When a snapshot is being created for a disk that is attached to an ECS instance, do not change the instance state.
|
|
77388
|
-
* * You can create snapshots for a disk that is in the **Expired** (`Expired`) state. If the release time scheduled for a disk arrives while a snapshot is being created for the disk, the snapshot is in the **Creating** (`Creating` state and is deleted when the disk is released.
|
|
78706
|
+
* * You can create snapshots for a disk that is in the **Expired** (`Expired`) state. If the release time scheduled for a disk arrives while a snapshot is being created for the disk, the snapshot is in the **Creating** (`Creating`) state and is deleted when the disk is released.
|
|
77389
78707
|
*
|
|
77390
78708
|
* @param request - CreateSnapshotRequest
|
|
77391
78709
|
* @returns CreateSnapshotResponse
|
|
@@ -77395,17 +78713,16 @@ export default class Client extends OpenApi {
|
|
|
77395
78713
|
* Creates a snapshot-consistent group for the disks of an Elastic Compute Service (ECS) instance. A snapshot-consistent group contains snapshots of one or more disks.
|
|
77396
78714
|
*
|
|
77397
78715
|
* @remarks
|
|
77398
|
-
*
|
|
77399
|
-
* You
|
|
77400
|
-
* > You cannot specify both `DiskId.N` and `ExcludeDiskId.N` in the same request. If `InstanceId` is specified, you can use `DiskId.N` to specify only disks on the ECS instance specified by InstanceId and cannot use DiskId.N to specify disks across ECS instances.
|
|
78716
|
+
* You can specify `InstanceId` to create a snapshot-consistent group for disks on a specific ECS instance. You can also specify `DiskId.N` to create a snapshot-consistent group for multiple disks on multiple ECS instances within the same zone.
|
|
78717
|
+
* > You cannot specify both `DiskId.N` and `ExcludeDiskId.N` in the same request. If you specify `InstanceId`, you can use `DiskId.N` to specify only disks on the specified ECS instance and cannot use DiskId.N to specify disks across ECS instances.
|
|
77401
78718
|
* Take note of the following items:
|
|
77402
78719
|
* * The disks for which you want to create a snapshot must be in the **In Use** (`In_use`) or **Unattached** (`Available`) state.
|
|
77403
78720
|
* * If a disk is in the **In Use** (`In_use`) state, make sure that the ECS instance to which the disk is attached is in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
77404
78721
|
* * If a disk is in the **Unattached** (`Available`) state, make sure that the disk has been attached to ECS instances. Snapshots cannot be created for disks that have never been attached to an ECS instance.
|
|
77405
|
-
* * Snapshot-consistent groups can be used to create snapshots only for
|
|
78722
|
+
* * Snapshot-consistent groups can be used to create snapshots only for Enterprise SSDs (ESSDs), ESSD AutoPL disks, and ESSD Entry disks.
|
|
77406
78723
|
* * A snapshot-consistent group can contain snapshots of up to 16 disks, including system disks and data disks, and cannot exceed 32 TiB in size.
|
|
77407
78724
|
* * Snapshots that you created are stored indefinitely until you delete the snapshots. We recommend that you delete unnecessary snapshots on a regular basis to prevent excess snapshot storage fees.
|
|
77408
|
-
* * Snapshot-consistent groups cannot be created for disks for which multi-attach feature is enabled. If disks for which the multi-attach feature is enabled are attached to an ECS instance, specify the `ExcludeDiskId.N` parameter to exclude the disks.
|
|
78725
|
+
* * Snapshot-consistent groups cannot be created for disks for which multi-attach feature is enabled. If disks for which the multi-attach feature is enabled are attached to an ECS instance, you must specify the `ExcludeDiskId.N` parameter to exclude the disks.
|
|
77409
78726
|
* For more information about the snapshot-consistent group feature, see [Create a snapshot-consistent group](https://help.aliyun.com/document_detail/199625.html).
|
|
77410
78727
|
*
|
|
77411
78728
|
* @param request - CreateSnapshotGroupRequest
|
|
@@ -77417,17 +78734,16 @@ export default class Client extends OpenApi {
|
|
|
77417
78734
|
* Creates a snapshot-consistent group for the disks of an Elastic Compute Service (ECS) instance. A snapshot-consistent group contains snapshots of one or more disks.
|
|
77418
78735
|
*
|
|
77419
78736
|
* @remarks
|
|
77420
|
-
*
|
|
77421
|
-
* You
|
|
77422
|
-
* > You cannot specify both `DiskId.N` and `ExcludeDiskId.N` in the same request. If `InstanceId` is specified, you can use `DiskId.N` to specify only disks on the ECS instance specified by InstanceId and cannot use DiskId.N to specify disks across ECS instances.
|
|
78737
|
+
* You can specify `InstanceId` to create a snapshot-consistent group for disks on a specific ECS instance. You can also specify `DiskId.N` to create a snapshot-consistent group for multiple disks on multiple ECS instances within the same zone.
|
|
78738
|
+
* > You cannot specify both `DiskId.N` and `ExcludeDiskId.N` in the same request. If you specify `InstanceId`, you can use `DiskId.N` to specify only disks on the specified ECS instance and cannot use DiskId.N to specify disks across ECS instances.
|
|
77423
78739
|
* Take note of the following items:
|
|
77424
78740
|
* * The disks for which you want to create a snapshot must be in the **In Use** (`In_use`) or **Unattached** (`Available`) state.
|
|
77425
78741
|
* * If a disk is in the **In Use** (`In_use`) state, make sure that the ECS instance to which the disk is attached is in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
77426
78742
|
* * If a disk is in the **Unattached** (`Available`) state, make sure that the disk has been attached to ECS instances. Snapshots cannot be created for disks that have never been attached to an ECS instance.
|
|
77427
|
-
* * Snapshot-consistent groups can be used to create snapshots only for
|
|
78743
|
+
* * Snapshot-consistent groups can be used to create snapshots only for Enterprise SSDs (ESSDs), ESSD AutoPL disks, and ESSD Entry disks.
|
|
77428
78744
|
* * A snapshot-consistent group can contain snapshots of up to 16 disks, including system disks and data disks, and cannot exceed 32 TiB in size.
|
|
77429
78745
|
* * Snapshots that you created are stored indefinitely until you delete the snapshots. We recommend that you delete unnecessary snapshots on a regular basis to prevent excess snapshot storage fees.
|
|
77430
|
-
* * Snapshot-consistent groups cannot be created for disks for which multi-attach feature is enabled. If disks for which the multi-attach feature is enabled are attached to an ECS instance, specify the `ExcludeDiskId.N` parameter to exclude the disks.
|
|
78746
|
+
* * Snapshot-consistent groups cannot be created for disks for which multi-attach feature is enabled. If disks for which the multi-attach feature is enabled are attached to an ECS instance, you must specify the `ExcludeDiskId.N` parameter to exclude the disks.
|
|
77431
78747
|
* For more information about the snapshot-consistent group feature, see [Create a snapshot-consistent group](https://help.aliyun.com/document_detail/199625.html).
|
|
77432
78748
|
*
|
|
77433
78749
|
* @param request - CreateSnapshotGroupRequest
|
|
@@ -78829,7 +80145,7 @@ export default class Client extends OpenApi {
|
|
|
78829
80145
|
*/
|
|
78830
80146
|
describeDiagnosticReports(request: DescribeDiagnosticReportsRequest): Promise<DescribeDiagnosticReportsResponse>;
|
|
78831
80147
|
/**
|
|
78832
|
-
* Queries the key used
|
|
80148
|
+
* Queries the Key Management Service (KMS) key used by the Account-level Elastic Block Storage (EBS) Default Encryption feature in a region.
|
|
78833
80149
|
*
|
|
78834
80150
|
* @param request - DescribeDiskDefaultKMSKeyIdRequest
|
|
78835
80151
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -78837,7 +80153,7 @@ export default class Client extends OpenApi {
|
|
|
78837
80153
|
*/
|
|
78838
80154
|
describeDiskDefaultKMSKeyIdWithOptions(request: DescribeDiskDefaultKMSKeyIdRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDiskDefaultKMSKeyIdResponse>;
|
|
78839
80155
|
/**
|
|
78840
|
-
* Queries the key used
|
|
80156
|
+
* Queries the Key Management Service (KMS) key used by the Account-level Elastic Block Storage (EBS) Default Encryption feature in a region.
|
|
78841
80157
|
*
|
|
78842
80158
|
* @param request - DescribeDiskDefaultKMSKeyIdRequest
|
|
78843
80159
|
* @returns DescribeDiskDefaultKMSKeyIdResponse
|
|
@@ -80300,10 +81616,9 @@ export default class Client extends OpenApi {
|
|
|
80300
81616
|
*/
|
|
80301
81617
|
describeSendFileResults(request: DescribeSendFileResultsRequest): Promise<DescribeSendFileResultsResponse>;
|
|
80302
81618
|
/**
|
|
80303
|
-
* Queries the information of one or more snapshot-consistent groups.
|
|
81619
|
+
* Queries the information of one or more snapshot-consistent groups, such as the status of the groups, IDs of the instances associated with the groups, and snapshot creation progress.
|
|
80304
81620
|
*
|
|
80305
81621
|
* @remarks
|
|
80306
|
-
* ## [](#)Usage notes
|
|
80307
81622
|
* You can specify multiple request parameters to be queried, such as `InstanceId`, `SnapshotGroupId.N`, and `Status.N`. Specified parameters have logical AND relations. Only the specified parameters are included in the filter conditions.
|
|
80308
81623
|
*
|
|
80309
81624
|
* @param request - DescribeSnapshotGroupsRequest
|
|
@@ -80312,10 +81627,9 @@ export default class Client extends OpenApi {
|
|
|
80312
81627
|
*/
|
|
80313
81628
|
describeSnapshotGroupsWithOptions(request: DescribeSnapshotGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSnapshotGroupsResponse>;
|
|
80314
81629
|
/**
|
|
80315
|
-
* Queries the information of one or more snapshot-consistent groups.
|
|
81630
|
+
* Queries the information of one or more snapshot-consistent groups, such as the status of the groups, IDs of the instances associated with the groups, and snapshot creation progress.
|
|
80316
81631
|
*
|
|
80317
81632
|
* @remarks
|
|
80318
|
-
* ## [](#)Usage notes
|
|
80319
81633
|
* You can specify multiple request parameters to be queried, such as `InstanceId`, `SnapshotGroupId.N`, and `Status.N`. Specified parameters have logical AND relations. Only the specified parameters are included in the filter conditions.
|
|
80320
81634
|
*
|
|
80321
81635
|
* @param request - DescribeSnapshotGroupsRequest
|
|
@@ -80394,7 +81708,7 @@ export default class Client extends OpenApi {
|
|
|
80394
81708
|
*/
|
|
80395
81709
|
describeSnapshotPackage(request: DescribeSnapshotPackageRequest): Promise<DescribeSnapshotPackageResponse>;
|
|
80396
81710
|
/**
|
|
80397
|
-
* Queries all snapshots of an Elastic Compute Service (ECS) instance or a disk.
|
|
81711
|
+
* Queries the details of all snapshots of an Elastic Compute Service (ECS) instance or a cloud disk. The details include the status of the snapshots, amount of remaining time required to create the snapshots, and the retention period of the automatic snapshots in days.
|
|
80398
81712
|
*
|
|
80399
81713
|
* @remarks
|
|
80400
81714
|
* You can configure multiple request parameters such as `InstanceId`, `DiskId`, and `SnapshotIds` to query snapshots. Configured parameters have logical AND relations. Only the configured parameters are included in the filter conditions.
|
|
@@ -80406,7 +81720,7 @@ export default class Client extends OpenApi {
|
|
|
80406
81720
|
*/
|
|
80407
81721
|
describeSnapshotsWithOptions(request: DescribeSnapshotsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSnapshotsResponse>;
|
|
80408
81722
|
/**
|
|
80409
|
-
* Queries all snapshots of an Elastic Compute Service (ECS) instance or a disk.
|
|
81723
|
+
* Queries the details of all snapshots of an Elastic Compute Service (ECS) instance or a cloud disk. The details include the status of the snapshots, amount of remaining time required to create the snapshots, and the retention period of the automatic snapshots in days.
|
|
80410
81724
|
*
|
|
80411
81725
|
* @remarks
|
|
80412
81726
|
* You can configure multiple request parameters such as `InstanceId`, `DiskId`, and `SnapshotIds` to query snapshots. Configured parameters have logical AND relations. Only the configured parameters are included in the filter conditions.
|
|
@@ -80908,7 +82222,11 @@ export default class Client extends OpenApi {
|
|
|
80908
82222
|
* Disables account-level default encryption of Elastic Block Storage (EBS) resources in a region. After you disable account-level default encryption of EBS resources in a region, the encryption status of existing disks in the region does not change. When you create a disk, you can still choose to encrypt the disk.
|
|
80909
82223
|
*
|
|
80910
82224
|
* @remarks
|
|
80911
|
-
*
|
|
82225
|
+
* **Instructions**
|
|
82226
|
+
* * Only Alibaba Cloud accounts can call this operation.
|
|
82227
|
+
* * **Considerations**
|
|
82228
|
+
* * After Account-level EBS Default Encryption is disabled, the encryption status of existing cloud disks is not affected.
|
|
82229
|
+
* * After Account-level EBS Default Encryption is disabled, you can still choose to encrypt new cloud disks when you purchase the disks.
|
|
80912
82230
|
*
|
|
80913
82231
|
* @param request - DisableDiskEncryptionByDefaultRequest
|
|
80914
82232
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -80919,64 +82237,32 @@ export default class Client extends OpenApi {
|
|
|
80919
82237
|
* Disables account-level default encryption of Elastic Block Storage (EBS) resources in a region. After you disable account-level default encryption of EBS resources in a region, the encryption status of existing disks in the region does not change. When you create a disk, you can still choose to encrypt the disk.
|
|
80920
82238
|
*
|
|
80921
82239
|
* @remarks
|
|
80922
|
-
*
|
|
82240
|
+
* **Instructions**
|
|
82241
|
+
* * Only Alibaba Cloud accounts can call this operation.
|
|
82242
|
+
* * **Considerations**
|
|
82243
|
+
* * After Account-level EBS Default Encryption is disabled, the encryption status of existing cloud disks is not affected.
|
|
82244
|
+
* * After Account-level EBS Default Encryption is disabled, you can still choose to encrypt new cloud disks when you purchase the disks.
|
|
80923
82245
|
*
|
|
80924
82246
|
* @param request - DisableDiskEncryptionByDefaultRequest
|
|
80925
82247
|
* @returns DisableDiskEncryptionByDefaultResponse
|
|
80926
82248
|
*/
|
|
80927
82249
|
disableDiskEncryptionByDefault(request: DisableDiskEncryptionByDefaultRequest): Promise<DisableDiskEncryptionByDefaultResponse>;
|
|
80928
82250
|
/**
|
|
80929
|
-
*
|
|
80930
|
-
*
|
|
80931
|
-
* @param request - EipFillParamsRequest
|
|
80932
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
80933
|
-
* @returns EipFillParamsResponse
|
|
80934
|
-
*/
|
|
80935
|
-
eipFillParamsWithOptions(request: EipFillParamsRequest, runtime: $Util.RuntimeOptions): Promise<EipFillParamsResponse>;
|
|
80936
|
-
/**
|
|
80937
|
-
* @deprecated OpenAPI EipFillParams is deprecated
|
|
80938
|
-
*
|
|
80939
|
-
* @param request - EipFillParamsRequest
|
|
80940
|
-
* @returns EipFillParamsResponse
|
|
80941
|
-
*/
|
|
80942
|
-
eipFillParams(request: EipFillParamsRequest): Promise<EipFillParamsResponse>;
|
|
80943
|
-
/**
|
|
80944
|
-
* @deprecated OpenAPI EipFillProduct is deprecated
|
|
80945
|
-
*
|
|
80946
|
-
* @param request - EipFillProductRequest
|
|
80947
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
80948
|
-
* @returns EipFillProductResponse
|
|
80949
|
-
*/
|
|
80950
|
-
eipFillProductWithOptions(request: EipFillProductRequest, runtime: $Util.RuntimeOptions): Promise<EipFillProductResponse>;
|
|
80951
|
-
/**
|
|
80952
|
-
* @deprecated OpenAPI EipFillProduct is deprecated
|
|
80953
|
-
*
|
|
80954
|
-
* @param request - EipFillProductRequest
|
|
80955
|
-
* @returns EipFillProductResponse
|
|
80956
|
-
*/
|
|
80957
|
-
eipFillProduct(request: EipFillProductRequest): Promise<EipFillProductResponse>;
|
|
80958
|
-
/**
|
|
80959
|
-
* @deprecated OpenAPI EipNotifyPaid is deprecated
|
|
80960
|
-
*
|
|
80961
|
-
* @param request - EipNotifyPaidRequest
|
|
80962
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
80963
|
-
* @returns EipNotifyPaidResponse
|
|
80964
|
-
*/
|
|
80965
|
-
eipNotifyPaidWithOptions(request: EipNotifyPaidRequest, runtime: $Util.RuntimeOptions): Promise<EipNotifyPaidResponse>;
|
|
80966
|
-
/**
|
|
80967
|
-
* @deprecated OpenAPI EipNotifyPaid is deprecated
|
|
80968
|
-
*
|
|
80969
|
-
* @param request - EipNotifyPaidRequest
|
|
80970
|
-
* @returns EipNotifyPaidResponse
|
|
80971
|
-
*/
|
|
80972
|
-
eipNotifyPaid(request: EipNotifyPaidRequest): Promise<EipNotifyPaidResponse>;
|
|
80973
|
-
/**
|
|
80974
|
-
* Enables account-level default encryption of Elastic Block Storage (EBS) resources in a region. After you enable account-level default encryption of EBS resources in a region, new pay-as-you-go and subscription cloud disks in the region must be encrypted. You can use the default Key Management Service (KMS) key ID for account-level default encryption of EBS resources or specify other KMS key IDs to encrypt the cloud disks. The first time you enable account-level default encryption of EBS resources in a region, the service key in the region is automatically used to encrypt EBS resources. You can call the ModifyDiskDefaultKMSKeyId or ResetDiskDefaultKMSKeyId operation to change the KMS key ID used for account-level default encryption of EBS resources.
|
|
82251
|
+
* Enables the Account-level Elastic Block Storage (EBS) Default Encryption feature in a region.
|
|
80975
82252
|
*
|
|
80976
82253
|
* @remarks
|
|
80977
|
-
*
|
|
80978
|
-
* *
|
|
80979
|
-
*
|
|
82254
|
+
* > The Account-level EBS Default Encryption feature is available only in specific regions and to specific users. To use Account-level EBS Default Encryption, [submit a ticket](https://workorder-intl.console.aliyun.com/console.htm#/ticket/list).
|
|
82255
|
+
* * **Precautions**
|
|
82256
|
+
* * Only Alibaba Cloud accounts can call this operation.
|
|
82257
|
+
* * Before you can enable the Account-level EBS Default Encryption feature in a region, you must [activate Key Management Service (KMS)](https://help.aliyun.com/document_detail/480156.html) in the region.
|
|
82258
|
+
* * After you enable the Account-level EBS Default Encryption feature in a region, you can purchase only encrypted cloud disks in the region. For more information, see the [Limits](~~59643#50de175230erj~~) section of the "Encrypt cloud disks" topic.
|
|
82259
|
+
* * **Considerations**
|
|
82260
|
+
* * After you enable the Account-level EBS Default Encryption feature in a region, new pay-as-you-go and subscription cloud disks in the region must be encrypted. You can use the KMS key configured for the Account-level EBS Default Encryption feature or specify other KMS keys to encrypt the cloud disks.
|
|
82261
|
+
* * The first time you enable the Account-level EBS Default Encryption feature in a region, the service key in the region is automatically used to encrypt EBS resources.
|
|
82262
|
+
* * **Suggestions**
|
|
82263
|
+
* * You can call the [DescribeDiskEncryptionByDefaultStatus](https://help.aliyun.com/document_detail/2851493.html) operation to query whether the Account-level EBS Default Encryption feature is enabled in a region and the [DescribeDiskDefaultKMSKeyId](https://help.aliyun.com/document_detail/2851490.html) operation to query the ID of the KMS key used by the Account-level EBS Default Encryption feature in a region.
|
|
82264
|
+
* * You can call the [ModifyDiskDefaultKMSKeyId](https://help.aliyun.com/document_detail/2851492.html) or [ResetDiskDefaultKMSKeyId](https://help.aliyun.com/document_detail/2851539.html) operation to change or reset the KMS key used by the Account-level EBS Default Encryption feature in a region.
|
|
82265
|
+
* * You can call the [DisableDiskEncryptionByDefault](https://help.aliyun.com/document_detail/2851491.html) operation to disable the Account-level EBS Default Encryption feature in a region.
|
|
80980
82266
|
*
|
|
80981
82267
|
* @param request - EnableDiskEncryptionByDefaultRequest
|
|
80982
82268
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -80984,12 +82270,21 @@ export default class Client extends OpenApi {
|
|
|
80984
82270
|
*/
|
|
80985
82271
|
enableDiskEncryptionByDefaultWithOptions(request: EnableDiskEncryptionByDefaultRequest, runtime: $Util.RuntimeOptions): Promise<EnableDiskEncryptionByDefaultResponse>;
|
|
80986
82272
|
/**
|
|
80987
|
-
* Enables
|
|
82273
|
+
* Enables the Account-level Elastic Block Storage (EBS) Default Encryption feature in a region.
|
|
80988
82274
|
*
|
|
80989
82275
|
* @remarks
|
|
80990
|
-
*
|
|
80991
|
-
* *
|
|
80992
|
-
*
|
|
82276
|
+
* > The Account-level EBS Default Encryption feature is available only in specific regions and to specific users. To use Account-level EBS Default Encryption, [submit a ticket](https://workorder-intl.console.aliyun.com/console.htm#/ticket/list).
|
|
82277
|
+
* * **Precautions**
|
|
82278
|
+
* * Only Alibaba Cloud accounts can call this operation.
|
|
82279
|
+
* * Before you can enable the Account-level EBS Default Encryption feature in a region, you must [activate Key Management Service (KMS)](https://help.aliyun.com/document_detail/480156.html) in the region.
|
|
82280
|
+
* * After you enable the Account-level EBS Default Encryption feature in a region, you can purchase only encrypted cloud disks in the region. For more information, see the [Limits](~~59643#50de175230erj~~) section of the "Encrypt cloud disks" topic.
|
|
82281
|
+
* * **Considerations**
|
|
82282
|
+
* * After you enable the Account-level EBS Default Encryption feature in a region, new pay-as-you-go and subscription cloud disks in the region must be encrypted. You can use the KMS key configured for the Account-level EBS Default Encryption feature or specify other KMS keys to encrypt the cloud disks.
|
|
82283
|
+
* * The first time you enable the Account-level EBS Default Encryption feature in a region, the service key in the region is automatically used to encrypt EBS resources.
|
|
82284
|
+
* * **Suggestions**
|
|
82285
|
+
* * You can call the [DescribeDiskEncryptionByDefaultStatus](https://help.aliyun.com/document_detail/2851493.html) operation to query whether the Account-level EBS Default Encryption feature is enabled in a region and the [DescribeDiskDefaultKMSKeyId](https://help.aliyun.com/document_detail/2851490.html) operation to query the ID of the KMS key used by the Account-level EBS Default Encryption feature in a region.
|
|
82286
|
+
* * You can call the [ModifyDiskDefaultKMSKeyId](https://help.aliyun.com/document_detail/2851492.html) or [ResetDiskDefaultKMSKeyId](https://help.aliyun.com/document_detail/2851539.html) operation to change or reset the KMS key used by the Account-level EBS Default Encryption feature in a region.
|
|
82287
|
+
* * You can call the [DisableDiskEncryptionByDefault](https://help.aliyun.com/document_detail/2851491.html) operation to disable the Account-level EBS Default Encryption feature in a region.
|
|
80993
82288
|
*
|
|
80994
82289
|
* @param request - EnableDiskEncryptionByDefaultRequest
|
|
80995
82290
|
* @returns EnableDiskEncryptionByDefaultResponse
|
|
@@ -81999,12 +83294,12 @@ export default class Client extends OpenApi {
|
|
|
81999
83294
|
*/
|
|
82000
83295
|
modifyDiskChargeType(request: ModifyDiskChargeTypeRequest): Promise<ModifyDiskChargeTypeResponse>;
|
|
82001
83296
|
/**
|
|
82002
|
-
* Changes the Key Management Service (KMS) key used
|
|
83297
|
+
* Changes the Key Management Service (KMS) key used by the Account-level Elastic Block Storage (EBS) Default Encryption feature in a region.
|
|
82003
83298
|
*
|
|
82004
83299
|
* @remarks
|
|
82005
83300
|
* Only Alibaba Cloud accounts can call this operation.
|
|
82006
|
-
* * Before you can call this operation in a region,
|
|
82007
|
-
* * The first time you use a
|
|
83301
|
+
* * Before you can call this operation in a region, make sure that the Account-level EBS Default Encryption feature is enabled in the region.
|
|
83302
|
+
* * The first time you use a customer master key (CMK), you must use the `AliyunECSDiskEncryptDefaultRole` role to grant Elastic Compute Service (ECS) access to KMS resources. For more information, see [Grant access to KMS keys through RAM roles](https://help.aliyun.com/document_detail/2838993.html).
|
|
82008
83303
|
*
|
|
82009
83304
|
* @param request - ModifyDiskDefaultKMSKeyIdRequest
|
|
82010
83305
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -82012,12 +83307,12 @@ export default class Client extends OpenApi {
|
|
|
82012
83307
|
*/
|
|
82013
83308
|
modifyDiskDefaultKMSKeyIdWithOptions(request: ModifyDiskDefaultKMSKeyIdRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDiskDefaultKMSKeyIdResponse>;
|
|
82014
83309
|
/**
|
|
82015
|
-
* Changes the Key Management Service (KMS) key used
|
|
83310
|
+
* Changes the Key Management Service (KMS) key used by the Account-level Elastic Block Storage (EBS) Default Encryption feature in a region.
|
|
82016
83311
|
*
|
|
82017
83312
|
* @remarks
|
|
82018
83313
|
* Only Alibaba Cloud accounts can call this operation.
|
|
82019
|
-
* * Before you can call this operation in a region,
|
|
82020
|
-
* * The first time you use a
|
|
83314
|
+
* * Before you can call this operation in a region, make sure that the Account-level EBS Default Encryption feature is enabled in the region.
|
|
83315
|
+
* * The first time you use a customer master key (CMK), you must use the `AliyunECSDiskEncryptDefaultRole` role to grant Elastic Compute Service (ECS) access to KMS resources. For more information, see [Grant access to KMS keys through RAM roles](https://help.aliyun.com/document_detail/2838993.html).
|
|
82021
83316
|
*
|
|
82022
83317
|
* @param request - ModifyDiskDefaultKMSKeyIdRequest
|
|
82023
83318
|
* @returns ModifyDiskDefaultKMSKeyIdResponse
|
|
@@ -83207,7 +84502,11 @@ export default class Client extends OpenApi {
|
|
|
83207
84502
|
*/
|
|
83208
84503
|
modifyVpcAttribute(request: ModifyVpcAttributeRequest): Promise<ModifyVpcAttributeResponse>;
|
|
83209
84504
|
/**
|
|
83210
|
-
*
|
|
84505
|
+
* Purchases an elasticity assurance that is not in the Active state and for which resources are prepared.
|
|
84506
|
+
*
|
|
84507
|
+
* @remarks
|
|
84508
|
+
* Before you call this operation, familiarize yourself with the billing rules and [pricing](https://www.alibabacloud.com/zh?spm=5176.28117011.nav-v2-dropdown-language.exp-location-zh.9ae4165bF98IHz&_p_lc=1) of elasticity assurances.
|
|
84509
|
+
* Before you purchase an elasticity assurance, you can call the [DescribeElasticityAssurances](https://help.aliyun.com/document_detail/2679748.html) operation to query the elasticity assurances that you can purchase.
|
|
83211
84510
|
*
|
|
83212
84511
|
* @param request - PurchaseElasticityAssuranceRequest
|
|
83213
84512
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -83215,7 +84514,11 @@ export default class Client extends OpenApi {
|
|
|
83215
84514
|
*/
|
|
83216
84515
|
purchaseElasticityAssuranceWithOptions(request: PurchaseElasticityAssuranceRequest, runtime: $Util.RuntimeOptions): Promise<PurchaseElasticityAssuranceResponse>;
|
|
83217
84516
|
/**
|
|
83218
|
-
*
|
|
84517
|
+
* Purchases an elasticity assurance that is not in the Active state and for which resources are prepared.
|
|
84518
|
+
*
|
|
84519
|
+
* @remarks
|
|
84520
|
+
* Before you call this operation, familiarize yourself with the billing rules and [pricing](https://www.alibabacloud.com/zh?spm=5176.28117011.nav-v2-dropdown-language.exp-location-zh.9ae4165bF98IHz&_p_lc=1) of elasticity assurances.
|
|
84521
|
+
* Before you purchase an elasticity assurance, you can call the [DescribeElasticityAssurances](https://help.aliyun.com/document_detail/2679748.html) operation to query the elasticity assurances that you can purchase.
|
|
83219
84522
|
*
|
|
83220
84523
|
* @param request - PurchaseElasticityAssuranceRequest
|
|
83221
84524
|
* @returns PurchaseElasticityAssuranceResponse
|
|
@@ -83596,7 +84899,8 @@ export default class Client extends OpenApi {
|
|
|
83596
84899
|
* Renews one or more subscription dedicated hosts.
|
|
83597
84900
|
*
|
|
83598
84901
|
* @remarks
|
|
83599
|
-
*
|
|
84902
|
+
* ## [](#)Usage notes
|
|
84903
|
+
* When you renew subscription dedicated hosts, vouchers are used first by default. Make sure that your account supports credit card payments or balance payments.
|
|
83600
84904
|
*
|
|
83601
84905
|
* @param request - RenewDedicatedHostsRequest
|
|
83602
84906
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -83607,7 +84911,8 @@ export default class Client extends OpenApi {
|
|
|
83607
84911
|
* Renews one or more subscription dedicated hosts.
|
|
83608
84912
|
*
|
|
83609
84913
|
* @remarks
|
|
83610
|
-
*
|
|
84914
|
+
* ## [](#)Usage notes
|
|
84915
|
+
* When you renew subscription dedicated hosts, vouchers are used first by default. Make sure that your account supports credit card payments or balance payments.
|
|
83611
84916
|
*
|
|
83612
84917
|
* @param request - RenewDedicatedHostsRequest
|
|
83613
84918
|
* @returns RenewDedicatedHostsResponse
|
|
@@ -83768,7 +85073,7 @@ export default class Client extends OpenApi {
|
|
|
83768
85073
|
*/
|
|
83769
85074
|
resetDisk(request: ResetDiskRequest): Promise<ResetDiskResponse>;
|
|
83770
85075
|
/**
|
|
83771
|
-
* Resets the Key Management Service (KMS) key used
|
|
85076
|
+
* Resets the Key Management Service (KMS) key used by Account-level Elastic Block Storage (EBS) Default Encryption in a region to the service key.
|
|
83772
85077
|
*
|
|
83773
85078
|
* @remarks
|
|
83774
85079
|
* Only Alibaba Cloud accounts can call this operation.
|
|
@@ -83780,7 +85085,7 @@ export default class Client extends OpenApi {
|
|
|
83780
85085
|
*/
|
|
83781
85086
|
resetDiskDefaultKMSKeyIdWithOptions(request: ResetDiskDefaultKMSKeyIdRequest, runtime: $Util.RuntimeOptions): Promise<ResetDiskDefaultKMSKeyIdResponse>;
|
|
83782
85087
|
/**
|
|
83783
|
-
* Resets the Key Management Service (KMS) key used
|
|
85088
|
+
* Resets the Key Management Service (KMS) key used by Account-level Elastic Block Storage (EBS) Default Encryption in a region to the service key.
|
|
83784
85089
|
*
|
|
83785
85090
|
* @remarks
|
|
83786
85091
|
* Only Alibaba Cloud accounts can call this operation.
|
|
@@ -84092,121 +85397,57 @@ export default class Client extends OpenApi {
|
|
|
84092
85397
|
*/
|
|
84093
85398
|
runCommand(request: RunCommandRequest): Promise<RunCommandResponse>;
|
|
84094
85399
|
/**
|
|
84095
|
-
* Creates
|
|
85400
|
+
* Creates pay-as-you-go or subscription Elastic Compute Service (ECS) instances. This operation provides a wide array of features and functions and helps simplify the procedure to create and manage ECS instances. When you call this operation, you can choose to create multiple ECS instances at a time, automatically start the instances, and assign public IP addresses to them. You can also use the features provided by the operation, such as configuring an automatic release time for instances, using a launch template, and configuring custom CPU options, to customize instance configurations for better management of instances.
|
|
84096
85401
|
*
|
|
84097
85402
|
* @remarks
|
|
84098
85403
|
* ## [](#)Usage notes
|
|
84099
|
-
*
|
|
84100
|
-
*
|
|
84101
|
-
*
|
|
84102
|
-
* *
|
|
84103
|
-
* *
|
|
84104
|
-
*
|
|
84105
|
-
*
|
|
84106
|
-
* * You can call the RunInstances operation to create up to 100 instances at a time,
|
|
84107
|
-
* *
|
|
84108
|
-
*
|
|
84109
|
-
*
|
|
84110
|
-
* *
|
|
84111
|
-
* * You can
|
|
84112
|
-
* *
|
|
84113
|
-
* *
|
|
84114
|
-
*
|
|
84115
|
-
* * You can
|
|
84116
|
-
*
|
|
84117
|
-
*
|
|
84118
|
-
*
|
|
84119
|
-
*
|
|
84120
|
-
*
|
|
84121
|
-
*
|
|
84122
|
-
*
|
|
84123
|
-
*
|
|
84124
|
-
*
|
|
84125
|
-
*
|
|
84126
|
-
*
|
|
84127
|
-
*
|
|
84128
|
-
*
|
|
84129
|
-
*
|
|
84130
|
-
*
|
|
84131
|
-
*
|
|
84132
|
-
*
|
|
84133
|
-
*
|
|
84134
|
-
*
|
|
84135
|
-
*
|
|
84136
|
-
*
|
|
84137
|
-
*
|
|
84138
|
-
*
|
|
84139
|
-
*
|
|
84140
|
-
*
|
|
84141
|
-
*
|
|
84142
|
-
*
|
|
84143
|
-
*
|
|
84144
|
-
*
|
|
84145
|
-
*
|
|
84146
|
-
* &PeriodUnit=Month
|
|
84147
|
-
* &AutoRenew=true
|
|
84148
|
-
* &AutoRenewPeriod=1
|
|
84149
|
-
* &HostName=ECS-test
|
|
84150
|
-
* &Password=ECS@test1234
|
|
84151
|
-
* &InternetMaxBandwidthOut=10
|
|
84152
|
-
* &<Common request parameters>
|
|
84153
|
-
* ### [](#-2)Example 2: Create a pay-as-you-go instance
|
|
84154
|
-
* Use the aliyun_3_x64_20G_alibase_20221102.vhd image to create a pay-as-you-go instance of the ecs.g7.large instance type in the China (Hangzhou) region. The instance uses a 40 GiB ESSD as the system disk and a 100 GiB ESSD as a data disk and is automatically assigned private and public IP addresses. The outbound public bandwidth of the instance is 10 Mbit/s. The instance name is ECS-test and the logon password of the instance is ECS@test1234.
|
|
84155
|
-
* http(s)://ecs.aliyuncs.com/?Action=RunInstances
|
|
84156
|
-
* &RegionId=cn-hangzhou
|
|
84157
|
-
* &ImageId=aliyun_3_x64_20G_alibase_20221102.vhd
|
|
84158
|
-
* &InstanceType=ecs.g7.large
|
|
84159
|
-
* &SecurityGroupId=sg-bp150uqocpf9jj70****
|
|
84160
|
-
* &VSwitchId=vsw-bp1qo7s91cbch5i4l****
|
|
84161
|
-
* &InstanceChargeType=PostPaid
|
|
84162
|
-
* &SystemDisk.Size=40
|
|
84163
|
-
* &DataDisk.1.Size=100
|
|
84164
|
-
* &DataDisk.1.Category=cloud_essd
|
|
84165
|
-
* &SystemDisk.Category=cloud_essd
|
|
84166
|
-
* &HostName=ECS-test
|
|
84167
|
-
* &Password=ECS@test1234
|
|
84168
|
-
* &InternetMaxBandwidthOut=10
|
|
84169
|
-
* &<Common request parameters>
|
|
84170
|
-
* ### [](#-3)Example 3: Create a preemptible instance
|
|
84171
|
-
* Use the aliyun_3_x64_20G_alibase_20221102.vhd image to create a preemptible instance of the ecs.g7.large instance type that has a 1-hour protection period in the China (Hangzhou) region. The market price of the instance type at the time of purchase is automatically used as the bidding price. The instance uses a 40 GiB ESSD as the system disk and a 100 GiB ESSD as a data disk and is automatically assigned private and public IP addresses. The outbound public bandwidth of the instance is 10 Mbit/s. The instance name is ECS-test and the logon password of the instance is ECS@test1234.
|
|
84172
|
-
* http(s)://ecs.aliyuncs.com/?Action=RunInstances
|
|
84173
|
-
* &RegionId=cn-hangzhou
|
|
84174
|
-
* &ImageId=aliyun_3_x64_20G_alibase_20221102.vhd
|
|
84175
|
-
* &InstanceType=ecs.g7.large
|
|
84176
|
-
* &SecurityGroupId=sg-bp150uqocpf9jj70****
|
|
84177
|
-
* &VSwitchId=vsw-bp1qo7s91cbch5i4l****
|
|
84178
|
-
* &InstanceChargeType=PostPaid
|
|
84179
|
-
* &SystemDisk.Size=40
|
|
84180
|
-
* &DataDisk.1.Size=100
|
|
84181
|
-
* &DataDisk.1.Category=cloud_essd
|
|
84182
|
-
* &SystemDisk.Category=cloud_essd
|
|
84183
|
-
* &HostName=ECS-test
|
|
84184
|
-
* &Password=ECS@test1234
|
|
84185
|
-
* &InternetMaxBandwidthOut=10
|
|
84186
|
-
* &SpotStrategy=SpotAsPriceGo
|
|
84187
|
-
* &SpotDuration=1
|
|
84188
|
-
* &<Common request parameters>
|
|
84189
|
-
* ### [](#-4)Example 4: Create a subscription instance on a dedicated host
|
|
84190
|
-
* Use the aliyun_3_x64_20G_alibase_20221102.vhd image to create a one-month subscription instance of the ecs.g7.large instance type on the dh-bp12w10wll9xcjq2\\*\\*\\*\\* dedicated host in the China (Hangzhou) region. The instance uses a 40 GiB ESSD as the system disk and a 100 GiB ESSD as a data disk and is automatically assigned private and public IP addresses. The outbound public bandwidth of the instance is 10 Mbit/s. The instance name is ECS-test and the logon password of the instance is ECS@test1234.
|
|
84191
|
-
* http(s)://ecs.aliyuncs.com/?Action=RunInstances
|
|
84192
|
-
* &RegionId=cn-hangzhou
|
|
84193
|
-
* &ImageId=aliyun_3_x64_20G_alibase_20221102.vhd
|
|
84194
|
-
* &InstanceType=ecs.g7.large
|
|
84195
|
-
* &SecurityGroupId=sg-bp150uqocpf9jj70****
|
|
84196
|
-
* &VSwitchId=vsw-bp1qo7s91cbch5i4l****
|
|
84197
|
-
* &InstanceChargeType=PrePaid
|
|
84198
|
-
* &Amount=1
|
|
84199
|
-
* &Period=1
|
|
84200
|
-
* &PeriodUnit=Month
|
|
84201
|
-
* &SystemDisk.Size=40
|
|
84202
|
-
* &DataDisk.1.Size=100
|
|
84203
|
-
* &DataDisk.1.Category=cloud_essd
|
|
84204
|
-
* &SystemDisk.Category=cloud_essd
|
|
84205
|
-
* &HostName=ECS-test
|
|
84206
|
-
* &Password=ECS@test1234
|
|
84207
|
-
* &InternetMaxBandwidthOut=10
|
|
84208
|
-
* &DedicatedHostId=dh-bp12w10wll9xcjq2****
|
|
84209
|
-
* &<Common request parameters>
|
|
85404
|
+
* **Before you call this operation, familiarize yourself with the billing rules and [pricing](https://www.aliyun.com/price/product#/ecs/detail) of ECS resources.**
|
|
85405
|
+
* This operation is an asynchronous operation. After a request to create ECS instances is sent, ECS instance IDs are returned but the creation and startup of the instances may be incomplete. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the instances. When the status of an instance is `Running` in the DescribeInstanceStatus response, the instance is created and started.
|
|
85406
|
+
* * **Prerequisites**:
|
|
85407
|
+
* * Make sure that real-name verification is completed for your Alibaba Cloud account. For more information, see [Real-name verification](https://help.aliyun.com/document_detail/48263.html).
|
|
85408
|
+
* * Make sure that the number of ECS instances you created or the number of vCPUs on ECS instances of all instance types you created does not exceed the corresponding quota. Go to the [Quota Center](https://quotas.console.aliyun.com/products/ecs/quotas) to view the quotas.
|
|
85409
|
+
* * Before you create ECS instances of the Virtual Private Cloud (VPC) type in a region, create a VPC in the region. For more information, see [Create a VPC](https://help.aliyun.com/document_detail/65430.html).
|
|
85410
|
+
* * **Limits**:
|
|
85411
|
+
* * You can call the RunInstances operation to create up to 100 ECS instances at a time. To create more than 100 ECS instances, we recommend that you call this operation multiple times.
|
|
85412
|
+
* * If you set `InternetMaxBandwidthOut` to a value greater than 0, public IP addresses are automatically assigned to the ECS instances to be created.
|
|
85413
|
+
* > Starting November 27, 2020, when you create ECS instances or change ECS instance configurations, the maximum bandwidth value that you can specify is subject to the throttling policy of your account. To increase the maximum bandwidth value, submit a ticket. The throttling policy imposes the following constraints: In a single region, the total maximum bandwidth value of all instances that use the pay-by-traffic billing method for network usage cannot exceed 5 Gbit/s and the total bandwidth value of all instances that use the pay-by-bandwidth billing method for network usage cannot exceed 50 Gbit/s.
|
|
85414
|
+
* * **Suggestions**:
|
|
85415
|
+
* * In test scenarios, you can set `DryRun` to true to perform a dry run without performing the actual request.
|
|
85416
|
+
* * You can use `AutoReleaseTime` to configure an automatic release time for ECS instances in the request to RunInstances or call the [DeleteInstances](https://help.aliyun.com/document_detail/2679710.html) operation to release the instances.
|
|
85417
|
+
* * To better manage and search for ECS instances, we recommend that you add tags to the instances by specifying `Tag.N.Key` and `Tag.N.Value` and append incremental suffixes by specifying `UniqueSuffix` to the hostname specified by `HostName` and the instance name specified by `InstanceName`.
|
|
85418
|
+
* * A launch template contains the parameters required to create an instance so that you do not have to specify these parameters every time you create instances. You can call the [CreateLaunchTemplate](https://help.aliyun.com/document_detail/2679729.html) operation to create a launch template. Then, in the request to `RunInstances`, you can specify `LaunchTemplateId` and `LaunchTemplateVersion` to use the launch template.
|
|
85419
|
+
* * In memory-intensive scenarios, you can set `CpuOptions.ThreadsPerCore` to 1 to disable Hyper-Threading (HT) and increase the memory-to-vCPU ratio.
|
|
85420
|
+
* * You can set `NetworkOptions.EnableJumboFrame` to true to enable the `Jumbo Frames` feature when you create ECS instances. For more information, see [MTUs](https://help.aliyun.com/document_detail/200512.html).
|
|
85421
|
+
* ## [](#)Sample requests:
|
|
85422
|
+
* Use a specific image to create ECS instances of a specific instance type in the China (Hangzhou) region. The instances use disks with a specific capacity as the system disk and data disks and are automatically assigned public IP addresses. The instances have user-defined names and logon passwords. The instances are assigned to a specific security group and connected to a specific vSwitch. Request parameters:
|
|
85423
|
+
* RegionId: Set RegionId to cn-hangzhou, which indicates the China (Hangzhou) region.
|
|
85424
|
+
* ImageId: Specify the ID of an image. Example: aliyun_3_x64_20G_alibase_20221102.vhd.
|
|
85425
|
+
* InstanceType: Specify an instance type. Example: ecs.g7.large.
|
|
85426
|
+
* SecurityGroupId: Specify a security group ID. Example: sg-bp150uqocpf9jj70****.
|
|
85427
|
+
* VSwitchId: Specify a vSwitch ID. Example: vsw-bp1qo7s91cbch5i4l****.
|
|
85428
|
+
* SystemDisk.Size: Specify the size of the system disk. Example: 40.
|
|
85429
|
+
* DataDisk.Size: Specify the size of a data disk. Example: 100.
|
|
85430
|
+
* DataDisk.Category: Specify the category of a data disk. Example: cloud_essd.
|
|
85431
|
+
* SystemDisk.Category: Specify the category of the system disk. Example: cloud_essd.
|
|
85432
|
+
* HostName: Specify a hostname for the instance. Example: ECS-test.
|
|
85433
|
+
* Password: Specify the logon password of the instance. Example: ECS@test1234.
|
|
85434
|
+
* InternetMaxBandwidthOut: Specify the outbound public bandwidth. Example: 10.
|
|
85435
|
+
* Examples on how to create instances of different types based on the preceding parameters:
|
|
85436
|
+
* **Example 1: Create five subscription ECS instances for which auto-renewal is enabled**
|
|
85437
|
+
* Amount: "5".
|
|
85438
|
+
* InstanceChargeType: "PrePaid", which specifies the subscription billing method.
|
|
85439
|
+
* Period: "1".
|
|
85440
|
+
* PeriodUnit: "Month".
|
|
85441
|
+
* AutoRenew: "true", which specifies that auto-renewal is enabled.
|
|
85442
|
+
* AutoRenewPeriod: "1", which specifies a subscription period of one month.
|
|
85443
|
+
* **Example 2: Create 10 pay-as-you-go instances**
|
|
85444
|
+
* Amount: "10".InstanceChargeType: "PostPaid".
|
|
85445
|
+
* SpotStrategy: "NoSpot", which specifies that the instance is created as a pay-as-you-go instance.
|
|
85446
|
+
* **Example 3: Create 20 preemptible instances that have a specified bidding policy and a protection period**
|
|
85447
|
+
* Amount: "20".
|
|
85448
|
+
* InstanceChargeType: "PostPaid".
|
|
85449
|
+
* SpotStrategy: Specify the bidding policy for the instance. Example: SpotAsPriceGo, which specifies that the instance is created as a preemptible instance for which the market price at the time of purchase is automatically used as the bid price.
|
|
85450
|
+
* SpotDuration: "1", which specifies a 1-hour protection period.
|
|
84210
85451
|
*
|
|
84211
85452
|
* @param request - RunInstancesRequest
|
|
84212
85453
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -84214,121 +85455,57 @@ export default class Client extends OpenApi {
|
|
|
84214
85455
|
*/
|
|
84215
85456
|
runInstancesWithOptions(request: RunInstancesRequest, runtime: $Util.RuntimeOptions): Promise<RunInstancesResponse>;
|
|
84216
85457
|
/**
|
|
84217
|
-
* Creates
|
|
85458
|
+
* Creates pay-as-you-go or subscription Elastic Compute Service (ECS) instances. This operation provides a wide array of features and functions and helps simplify the procedure to create and manage ECS instances. When you call this operation, you can choose to create multiple ECS instances at a time, automatically start the instances, and assign public IP addresses to them. You can also use the features provided by the operation, such as configuring an automatic release time for instances, using a launch template, and configuring custom CPU options, to customize instance configurations for better management of instances.
|
|
84218
85459
|
*
|
|
84219
85460
|
* @remarks
|
|
84220
85461
|
* ## [](#)Usage notes
|
|
84221
|
-
*
|
|
84222
|
-
*
|
|
84223
|
-
*
|
|
84224
|
-
* *
|
|
84225
|
-
* *
|
|
84226
|
-
*
|
|
84227
|
-
*
|
|
84228
|
-
* * You can call the RunInstances operation to create up to 100 instances at a time,
|
|
84229
|
-
* *
|
|
84230
|
-
*
|
|
84231
|
-
*
|
|
84232
|
-
* *
|
|
84233
|
-
* * You can
|
|
84234
|
-
* *
|
|
84235
|
-
* *
|
|
84236
|
-
*
|
|
84237
|
-
* * You can
|
|
84238
|
-
*
|
|
84239
|
-
*
|
|
84240
|
-
*
|
|
84241
|
-
*
|
|
84242
|
-
*
|
|
84243
|
-
*
|
|
84244
|
-
*
|
|
84245
|
-
*
|
|
84246
|
-
*
|
|
84247
|
-
*
|
|
84248
|
-
*
|
|
84249
|
-
*
|
|
84250
|
-
*
|
|
84251
|
-
*
|
|
84252
|
-
*
|
|
84253
|
-
*
|
|
84254
|
-
*
|
|
84255
|
-
*
|
|
84256
|
-
*
|
|
84257
|
-
*
|
|
84258
|
-
*
|
|
84259
|
-
*
|
|
84260
|
-
*
|
|
84261
|
-
*
|
|
84262
|
-
*
|
|
84263
|
-
*
|
|
84264
|
-
*
|
|
84265
|
-
*
|
|
84266
|
-
*
|
|
84267
|
-
*
|
|
84268
|
-
* &PeriodUnit=Month
|
|
84269
|
-
* &AutoRenew=true
|
|
84270
|
-
* &AutoRenewPeriod=1
|
|
84271
|
-
* &HostName=ECS-test
|
|
84272
|
-
* &Password=ECS@test1234
|
|
84273
|
-
* &InternetMaxBandwidthOut=10
|
|
84274
|
-
* &<Common request parameters>
|
|
84275
|
-
* ### [](#-2)Example 2: Create a pay-as-you-go instance
|
|
84276
|
-
* Use the aliyun_3_x64_20G_alibase_20221102.vhd image to create a pay-as-you-go instance of the ecs.g7.large instance type in the China (Hangzhou) region. The instance uses a 40 GiB ESSD as the system disk and a 100 GiB ESSD as a data disk and is automatically assigned private and public IP addresses. The outbound public bandwidth of the instance is 10 Mbit/s. The instance name is ECS-test and the logon password of the instance is ECS@test1234.
|
|
84277
|
-
* http(s)://ecs.aliyuncs.com/?Action=RunInstances
|
|
84278
|
-
* &RegionId=cn-hangzhou
|
|
84279
|
-
* &ImageId=aliyun_3_x64_20G_alibase_20221102.vhd
|
|
84280
|
-
* &InstanceType=ecs.g7.large
|
|
84281
|
-
* &SecurityGroupId=sg-bp150uqocpf9jj70****
|
|
84282
|
-
* &VSwitchId=vsw-bp1qo7s91cbch5i4l****
|
|
84283
|
-
* &InstanceChargeType=PostPaid
|
|
84284
|
-
* &SystemDisk.Size=40
|
|
84285
|
-
* &DataDisk.1.Size=100
|
|
84286
|
-
* &DataDisk.1.Category=cloud_essd
|
|
84287
|
-
* &SystemDisk.Category=cloud_essd
|
|
84288
|
-
* &HostName=ECS-test
|
|
84289
|
-
* &Password=ECS@test1234
|
|
84290
|
-
* &InternetMaxBandwidthOut=10
|
|
84291
|
-
* &<Common request parameters>
|
|
84292
|
-
* ### [](#-3)Example 3: Create a preemptible instance
|
|
84293
|
-
* Use the aliyun_3_x64_20G_alibase_20221102.vhd image to create a preemptible instance of the ecs.g7.large instance type that has a 1-hour protection period in the China (Hangzhou) region. The market price of the instance type at the time of purchase is automatically used as the bidding price. The instance uses a 40 GiB ESSD as the system disk and a 100 GiB ESSD as a data disk and is automatically assigned private and public IP addresses. The outbound public bandwidth of the instance is 10 Mbit/s. The instance name is ECS-test and the logon password of the instance is ECS@test1234.
|
|
84294
|
-
* http(s)://ecs.aliyuncs.com/?Action=RunInstances
|
|
84295
|
-
* &RegionId=cn-hangzhou
|
|
84296
|
-
* &ImageId=aliyun_3_x64_20G_alibase_20221102.vhd
|
|
84297
|
-
* &InstanceType=ecs.g7.large
|
|
84298
|
-
* &SecurityGroupId=sg-bp150uqocpf9jj70****
|
|
84299
|
-
* &VSwitchId=vsw-bp1qo7s91cbch5i4l****
|
|
84300
|
-
* &InstanceChargeType=PostPaid
|
|
84301
|
-
* &SystemDisk.Size=40
|
|
84302
|
-
* &DataDisk.1.Size=100
|
|
84303
|
-
* &DataDisk.1.Category=cloud_essd
|
|
84304
|
-
* &SystemDisk.Category=cloud_essd
|
|
84305
|
-
* &HostName=ECS-test
|
|
84306
|
-
* &Password=ECS@test1234
|
|
84307
|
-
* &InternetMaxBandwidthOut=10
|
|
84308
|
-
* &SpotStrategy=SpotAsPriceGo
|
|
84309
|
-
* &SpotDuration=1
|
|
84310
|
-
* &<Common request parameters>
|
|
84311
|
-
* ### [](#-4)Example 4: Create a subscription instance on a dedicated host
|
|
84312
|
-
* Use the aliyun_3_x64_20G_alibase_20221102.vhd image to create a one-month subscription instance of the ecs.g7.large instance type on the dh-bp12w10wll9xcjq2\\*\\*\\*\\* dedicated host in the China (Hangzhou) region. The instance uses a 40 GiB ESSD as the system disk and a 100 GiB ESSD as a data disk and is automatically assigned private and public IP addresses. The outbound public bandwidth of the instance is 10 Mbit/s. The instance name is ECS-test and the logon password of the instance is ECS@test1234.
|
|
84313
|
-
* http(s)://ecs.aliyuncs.com/?Action=RunInstances
|
|
84314
|
-
* &RegionId=cn-hangzhou
|
|
84315
|
-
* &ImageId=aliyun_3_x64_20G_alibase_20221102.vhd
|
|
84316
|
-
* &InstanceType=ecs.g7.large
|
|
84317
|
-
* &SecurityGroupId=sg-bp150uqocpf9jj70****
|
|
84318
|
-
* &VSwitchId=vsw-bp1qo7s91cbch5i4l****
|
|
84319
|
-
* &InstanceChargeType=PrePaid
|
|
84320
|
-
* &Amount=1
|
|
84321
|
-
* &Period=1
|
|
84322
|
-
* &PeriodUnit=Month
|
|
84323
|
-
* &SystemDisk.Size=40
|
|
84324
|
-
* &DataDisk.1.Size=100
|
|
84325
|
-
* &DataDisk.1.Category=cloud_essd
|
|
84326
|
-
* &SystemDisk.Category=cloud_essd
|
|
84327
|
-
* &HostName=ECS-test
|
|
84328
|
-
* &Password=ECS@test1234
|
|
84329
|
-
* &InternetMaxBandwidthOut=10
|
|
84330
|
-
* &DedicatedHostId=dh-bp12w10wll9xcjq2****
|
|
84331
|
-
* &<Common request parameters>
|
|
85462
|
+
* **Before you call this operation, familiarize yourself with the billing rules and [pricing](https://www.aliyun.com/price/product#/ecs/detail) of ECS resources.**
|
|
85463
|
+
* This operation is an asynchronous operation. After a request to create ECS instances is sent, ECS instance IDs are returned but the creation and startup of the instances may be incomplete. You can call the [DescribeInstanceStatus](https://help.aliyun.com/document_detail/2679688.html) operation to query the status of the instances. When the status of an instance is `Running` in the DescribeInstanceStatus response, the instance is created and started.
|
|
85464
|
+
* * **Prerequisites**:
|
|
85465
|
+
* * Make sure that real-name verification is completed for your Alibaba Cloud account. For more information, see [Real-name verification](https://help.aliyun.com/document_detail/48263.html).
|
|
85466
|
+
* * Make sure that the number of ECS instances you created or the number of vCPUs on ECS instances of all instance types you created does not exceed the corresponding quota. Go to the [Quota Center](https://quotas.console.aliyun.com/products/ecs/quotas) to view the quotas.
|
|
85467
|
+
* * Before you create ECS instances of the Virtual Private Cloud (VPC) type in a region, create a VPC in the region. For more information, see [Create a VPC](https://help.aliyun.com/document_detail/65430.html).
|
|
85468
|
+
* * **Limits**:
|
|
85469
|
+
* * You can call the RunInstances operation to create up to 100 ECS instances at a time. To create more than 100 ECS instances, we recommend that you call this operation multiple times.
|
|
85470
|
+
* * If you set `InternetMaxBandwidthOut` to a value greater than 0, public IP addresses are automatically assigned to the ECS instances to be created.
|
|
85471
|
+
* > Starting November 27, 2020, when you create ECS instances or change ECS instance configurations, the maximum bandwidth value that you can specify is subject to the throttling policy of your account. To increase the maximum bandwidth value, submit a ticket. The throttling policy imposes the following constraints: In a single region, the total maximum bandwidth value of all instances that use the pay-by-traffic billing method for network usage cannot exceed 5 Gbit/s and the total bandwidth value of all instances that use the pay-by-bandwidth billing method for network usage cannot exceed 50 Gbit/s.
|
|
85472
|
+
* * **Suggestions**:
|
|
85473
|
+
* * In test scenarios, you can set `DryRun` to true to perform a dry run without performing the actual request.
|
|
85474
|
+
* * You can use `AutoReleaseTime` to configure an automatic release time for ECS instances in the request to RunInstances or call the [DeleteInstances](https://help.aliyun.com/document_detail/2679710.html) operation to release the instances.
|
|
85475
|
+
* * To better manage and search for ECS instances, we recommend that you add tags to the instances by specifying `Tag.N.Key` and `Tag.N.Value` and append incremental suffixes by specifying `UniqueSuffix` to the hostname specified by `HostName` and the instance name specified by `InstanceName`.
|
|
85476
|
+
* * A launch template contains the parameters required to create an instance so that you do not have to specify these parameters every time you create instances. You can call the [CreateLaunchTemplate](https://help.aliyun.com/document_detail/2679729.html) operation to create a launch template. Then, in the request to `RunInstances`, you can specify `LaunchTemplateId` and `LaunchTemplateVersion` to use the launch template.
|
|
85477
|
+
* * In memory-intensive scenarios, you can set `CpuOptions.ThreadsPerCore` to 1 to disable Hyper-Threading (HT) and increase the memory-to-vCPU ratio.
|
|
85478
|
+
* * You can set `NetworkOptions.EnableJumboFrame` to true to enable the `Jumbo Frames` feature when you create ECS instances. For more information, see [MTUs](https://help.aliyun.com/document_detail/200512.html).
|
|
85479
|
+
* ## [](#)Sample requests:
|
|
85480
|
+
* Use a specific image to create ECS instances of a specific instance type in the China (Hangzhou) region. The instances use disks with a specific capacity as the system disk and data disks and are automatically assigned public IP addresses. The instances have user-defined names and logon passwords. The instances are assigned to a specific security group and connected to a specific vSwitch. Request parameters:
|
|
85481
|
+
* RegionId: Set RegionId to cn-hangzhou, which indicates the China (Hangzhou) region.
|
|
85482
|
+
* ImageId: Specify the ID of an image. Example: aliyun_3_x64_20G_alibase_20221102.vhd.
|
|
85483
|
+
* InstanceType: Specify an instance type. Example: ecs.g7.large.
|
|
85484
|
+
* SecurityGroupId: Specify a security group ID. Example: sg-bp150uqocpf9jj70****.
|
|
85485
|
+
* VSwitchId: Specify a vSwitch ID. Example: vsw-bp1qo7s91cbch5i4l****.
|
|
85486
|
+
* SystemDisk.Size: Specify the size of the system disk. Example: 40.
|
|
85487
|
+
* DataDisk.Size: Specify the size of a data disk. Example: 100.
|
|
85488
|
+
* DataDisk.Category: Specify the category of a data disk. Example: cloud_essd.
|
|
85489
|
+
* SystemDisk.Category: Specify the category of the system disk. Example: cloud_essd.
|
|
85490
|
+
* HostName: Specify a hostname for the instance. Example: ECS-test.
|
|
85491
|
+
* Password: Specify the logon password of the instance. Example: ECS@test1234.
|
|
85492
|
+
* InternetMaxBandwidthOut: Specify the outbound public bandwidth. Example: 10.
|
|
85493
|
+
* Examples on how to create instances of different types based on the preceding parameters:
|
|
85494
|
+
* **Example 1: Create five subscription ECS instances for which auto-renewal is enabled**
|
|
85495
|
+
* Amount: "5".
|
|
85496
|
+
* InstanceChargeType: "PrePaid", which specifies the subscription billing method.
|
|
85497
|
+
* Period: "1".
|
|
85498
|
+
* PeriodUnit: "Month".
|
|
85499
|
+
* AutoRenew: "true", which specifies that auto-renewal is enabled.
|
|
85500
|
+
* AutoRenewPeriod: "1", which specifies a subscription period of one month.
|
|
85501
|
+
* **Example 2: Create 10 pay-as-you-go instances**
|
|
85502
|
+
* Amount: "10".InstanceChargeType: "PostPaid".
|
|
85503
|
+
* SpotStrategy: "NoSpot", which specifies that the instance is created as a pay-as-you-go instance.
|
|
85504
|
+
* **Example 3: Create 20 preemptible instances that have a specified bidding policy and a protection period**
|
|
85505
|
+
* Amount: "20".
|
|
85506
|
+
* InstanceChargeType: "PostPaid".
|
|
85507
|
+
* SpotStrategy: Specify the bidding policy for the instance. Example: SpotAsPriceGo, which specifies that the instance is created as a preemptible instance for which the market price at the time of purchase is automatically used as the bid price.
|
|
85508
|
+
* SpotDuration: "1", which specifies a 1-hour protection period.
|
|
84332
85509
|
*
|
|
84333
85510
|
* @param request - RunInstancesRequest
|
|
84334
85511
|
* @returns RunInstancesResponse
|