@alicloud/ecs20140526 3.0.4 → 3.0.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 +1674 -103
- package/dist/client.js +1806 -101
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1883 -101
package/dist/client.d.ts
CHANGED
|
@@ -9866,6 +9866,7 @@ export declare class DescribeResourceByTagsResponse extends $tea.Model {
|
|
|
9866
9866
|
});
|
|
9867
9867
|
}
|
|
9868
9868
|
export declare class DescribeResourcesModificationRequest extends $tea.Model {
|
|
9869
|
+
conditions?: string[];
|
|
9869
9870
|
cores?: number;
|
|
9870
9871
|
destinationResource?: string;
|
|
9871
9872
|
instanceType?: string;
|
|
@@ -13416,12 +13417,62 @@ export declare class ModifyDiskChargeTypeResponse extends $tea.Model {
|
|
|
13416
13417
|
[key: string]: any;
|
|
13417
13418
|
});
|
|
13418
13419
|
}
|
|
13420
|
+
export declare class ModifyDiskDeploymentRequest extends $tea.Model {
|
|
13421
|
+
diskCategory?: string;
|
|
13422
|
+
diskId?: string;
|
|
13423
|
+
dryRun?: boolean;
|
|
13424
|
+
ownerAccount?: string;
|
|
13425
|
+
ownerId?: number;
|
|
13426
|
+
performanceLevel?: string;
|
|
13427
|
+
resourceOwnerAccount?: string;
|
|
13428
|
+
resourceOwnerId?: number;
|
|
13429
|
+
storageClusterId?: string;
|
|
13430
|
+
static names(): {
|
|
13431
|
+
[key: string]: string;
|
|
13432
|
+
};
|
|
13433
|
+
static types(): {
|
|
13434
|
+
[key: string]: any;
|
|
13435
|
+
};
|
|
13436
|
+
constructor(map?: {
|
|
13437
|
+
[key: string]: any;
|
|
13438
|
+
});
|
|
13439
|
+
}
|
|
13440
|
+
export declare class ModifyDiskDeploymentResponseBody extends $tea.Model {
|
|
13441
|
+
requestId?: string;
|
|
13442
|
+
taskId?: string;
|
|
13443
|
+
static names(): {
|
|
13444
|
+
[key: string]: string;
|
|
13445
|
+
};
|
|
13446
|
+
static types(): {
|
|
13447
|
+
[key: string]: any;
|
|
13448
|
+
};
|
|
13449
|
+
constructor(map?: {
|
|
13450
|
+
[key: string]: any;
|
|
13451
|
+
});
|
|
13452
|
+
}
|
|
13453
|
+
export declare class ModifyDiskDeploymentResponse extends $tea.Model {
|
|
13454
|
+
headers: {
|
|
13455
|
+
[key: string]: string;
|
|
13456
|
+
};
|
|
13457
|
+
statusCode: number;
|
|
13458
|
+
body: ModifyDiskDeploymentResponseBody;
|
|
13459
|
+
static names(): {
|
|
13460
|
+
[key: string]: string;
|
|
13461
|
+
};
|
|
13462
|
+
static types(): {
|
|
13463
|
+
[key: string]: any;
|
|
13464
|
+
};
|
|
13465
|
+
constructor(map?: {
|
|
13466
|
+
[key: string]: any;
|
|
13467
|
+
});
|
|
13468
|
+
}
|
|
13419
13469
|
export declare class ModifyDiskSpecRequest extends $tea.Model {
|
|
13420
13470
|
diskCategory?: string;
|
|
13421
13471
|
diskId?: string;
|
|
13422
13472
|
dryRun?: boolean;
|
|
13423
13473
|
ownerAccount?: string;
|
|
13424
13474
|
ownerId?: number;
|
|
13475
|
+
performanceControlOptions?: ModifyDiskSpecRequestPerformanceControlOptions;
|
|
13425
13476
|
performanceLevel?: string;
|
|
13426
13477
|
provisionedIops?: number;
|
|
13427
13478
|
resourceOwnerAccount?: string;
|
|
@@ -14315,10 +14366,12 @@ export declare class ModifyInstanceSpecRequest extends $tea.Model {
|
|
|
14315
14366
|
allowMigrateAcrossZone?: boolean;
|
|
14316
14367
|
async?: boolean;
|
|
14317
14368
|
clientToken?: string;
|
|
14369
|
+
disk?: ModifyInstanceSpecRequestDisk[];
|
|
14318
14370
|
instanceId?: string;
|
|
14319
14371
|
instanceType?: string;
|
|
14320
14372
|
internetMaxBandwidthIn?: number;
|
|
14321
14373
|
internetMaxBandwidthOut?: number;
|
|
14374
|
+
modifyMode?: string;
|
|
14322
14375
|
ownerAccount?: string;
|
|
14323
14376
|
ownerId?: number;
|
|
14324
14377
|
resourceOwnerAccount?: string;
|
|
@@ -14707,10 +14760,12 @@ export declare class ModifyPrepayInstanceSpecRequest extends $tea.Model {
|
|
|
14707
14760
|
systemDisk?: ModifyPrepayInstanceSpecRequestSystemDisk;
|
|
14708
14761
|
autoPay?: boolean;
|
|
14709
14762
|
clientToken?: string;
|
|
14763
|
+
disk?: ModifyPrepayInstanceSpecRequestDisk[];
|
|
14710
14764
|
endTime?: string;
|
|
14711
14765
|
instanceId?: string;
|
|
14712
14766
|
instanceType?: string;
|
|
14713
14767
|
migrateAcrossZone?: boolean;
|
|
14768
|
+
modifyMode?: string;
|
|
14714
14769
|
operatorType?: string;
|
|
14715
14770
|
ownerAccount?: string;
|
|
14716
14771
|
ownerId?: number;
|
|
@@ -25679,6 +25734,60 @@ export declare class DescribeResourceByTagsResponseBodyResources extends $tea.Mo
|
|
|
25679
25734
|
[key: string]: any;
|
|
25680
25735
|
});
|
|
25681
25736
|
}
|
|
25737
|
+
export declare class DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResourceConditionsCondition extends $tea.Model {
|
|
25738
|
+
key?: string;
|
|
25739
|
+
static names(): {
|
|
25740
|
+
[key: string]: string;
|
|
25741
|
+
};
|
|
25742
|
+
static types(): {
|
|
25743
|
+
[key: string]: any;
|
|
25744
|
+
};
|
|
25745
|
+
constructor(map?: {
|
|
25746
|
+
[key: string]: any;
|
|
25747
|
+
});
|
|
25748
|
+
}
|
|
25749
|
+
export declare class DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResourceConditions extends $tea.Model {
|
|
25750
|
+
condition?: DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResourceConditionsCondition[];
|
|
25751
|
+
static names(): {
|
|
25752
|
+
[key: string]: string;
|
|
25753
|
+
};
|
|
25754
|
+
static types(): {
|
|
25755
|
+
[key: string]: any;
|
|
25756
|
+
};
|
|
25757
|
+
constructor(map?: {
|
|
25758
|
+
[key: string]: any;
|
|
25759
|
+
});
|
|
25760
|
+
}
|
|
25761
|
+
export declare class DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResource extends $tea.Model {
|
|
25762
|
+
conditions?: DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResourceConditions;
|
|
25763
|
+
max?: number;
|
|
25764
|
+
min?: number;
|
|
25765
|
+
status?: string;
|
|
25766
|
+
statusCategory?: string;
|
|
25767
|
+
unit?: string;
|
|
25768
|
+
value?: string;
|
|
25769
|
+
static names(): {
|
|
25770
|
+
[key: string]: string;
|
|
25771
|
+
};
|
|
25772
|
+
static types(): {
|
|
25773
|
+
[key: string]: any;
|
|
25774
|
+
};
|
|
25775
|
+
constructor(map?: {
|
|
25776
|
+
[key: string]: any;
|
|
25777
|
+
});
|
|
25778
|
+
}
|
|
25779
|
+
export declare class DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResources extends $tea.Model {
|
|
25780
|
+
conditionSupportedResource?: DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResourcesConditionSupportedResource[];
|
|
25781
|
+
static names(): {
|
|
25782
|
+
[key: string]: string;
|
|
25783
|
+
};
|
|
25784
|
+
static types(): {
|
|
25785
|
+
[key: string]: any;
|
|
25786
|
+
};
|
|
25787
|
+
constructor(map?: {
|
|
25788
|
+
[key: string]: any;
|
|
25789
|
+
});
|
|
25790
|
+
}
|
|
25682
25791
|
export declare class DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResourcesSupportedResource extends $tea.Model {
|
|
25683
25792
|
max?: number;
|
|
25684
25793
|
min?: number;
|
|
@@ -25709,6 +25818,7 @@ export declare class DescribeResourcesModificationResponseBodyAvailableZonesAvai
|
|
|
25709
25818
|
});
|
|
25710
25819
|
}
|
|
25711
25820
|
export declare class DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResource extends $tea.Model {
|
|
25821
|
+
conditionSupportedResources?: DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceConditionSupportedResources;
|
|
25712
25822
|
supportedResources?: DescribeResourcesModificationResponseBodyAvailableZonesAvailableZoneAvailableResourcesAvailableResourceSupportedResources;
|
|
25713
25823
|
type?: string;
|
|
25714
25824
|
static names(): {
|
|
@@ -27642,6 +27752,20 @@ export declare class ModifyDedicatedHostsChargeTypeResponseBodyFeeOfInstances ex
|
|
|
27642
27752
|
[key: string]: any;
|
|
27643
27753
|
});
|
|
27644
27754
|
}
|
|
27755
|
+
export declare class ModifyDiskSpecRequestPerformanceControlOptions extends $tea.Model {
|
|
27756
|
+
IOPS?: number;
|
|
27757
|
+
recover?: string;
|
|
27758
|
+
throughput?: number;
|
|
27759
|
+
static names(): {
|
|
27760
|
+
[key: string]: string;
|
|
27761
|
+
};
|
|
27762
|
+
static types(): {
|
|
27763
|
+
[key: string]: any;
|
|
27764
|
+
};
|
|
27765
|
+
constructor(map?: {
|
|
27766
|
+
[key: string]: any;
|
|
27767
|
+
});
|
|
27768
|
+
}
|
|
27645
27769
|
export declare class ModifyElasticityAssuranceRequestPrivatePoolOptions extends $tea.Model {
|
|
27646
27770
|
id?: string;
|
|
27647
27771
|
name?: string;
|
|
@@ -27758,6 +27882,20 @@ export declare class ModifyInstanceSpecRequestTemporary extends $tea.Model {
|
|
|
27758
27882
|
[key: string]: any;
|
|
27759
27883
|
});
|
|
27760
27884
|
}
|
|
27885
|
+
export declare class ModifyInstanceSpecRequestDisk extends $tea.Model {
|
|
27886
|
+
category?: string;
|
|
27887
|
+
diskId?: string;
|
|
27888
|
+
performanceLevel?: string;
|
|
27889
|
+
static names(): {
|
|
27890
|
+
[key: string]: string;
|
|
27891
|
+
};
|
|
27892
|
+
static types(): {
|
|
27893
|
+
[key: string]: any;
|
|
27894
|
+
};
|
|
27895
|
+
constructor(map?: {
|
|
27896
|
+
[key: string]: any;
|
|
27897
|
+
});
|
|
27898
|
+
}
|
|
27761
27899
|
export declare class ModifyManagedInstanceResponseBodyInstance extends $tea.Model {
|
|
27762
27900
|
instanceId?: string;
|
|
27763
27901
|
instanceName?: string;
|
|
@@ -27808,6 +27946,20 @@ export declare class ModifyPrepayInstanceSpecRequestSystemDisk extends $tea.Mode
|
|
|
27808
27946
|
[key: string]: any;
|
|
27809
27947
|
});
|
|
27810
27948
|
}
|
|
27949
|
+
export declare class ModifyPrepayInstanceSpecRequestDisk extends $tea.Model {
|
|
27950
|
+
category?: string;
|
|
27951
|
+
diskId?: string;
|
|
27952
|
+
performanceLevel?: string;
|
|
27953
|
+
static names(): {
|
|
27954
|
+
[key: string]: string;
|
|
27955
|
+
};
|
|
27956
|
+
static types(): {
|
|
27957
|
+
[key: string]: any;
|
|
27958
|
+
};
|
|
27959
|
+
constructor(map?: {
|
|
27960
|
+
[key: string]: any;
|
|
27961
|
+
});
|
|
27962
|
+
}
|
|
27811
27963
|
export declare class ModifyReservedInstancesRequestConfiguration extends $tea.Model {
|
|
27812
27964
|
instanceAmount?: number;
|
|
27813
27965
|
instanceType?: string;
|
|
@@ -28512,6 +28664,7 @@ export default class Client extends OpenApi {
|
|
|
28512
28664
|
allocateDedicatedHosts(request: AllocateDedicatedHostsRequest): Promise<AllocateDedicatedHostsResponse>;
|
|
28513
28665
|
/**
|
|
28514
28666
|
* @deprecated
|
|
28667
|
+
* > This operation has been upgraded. We recommend that you do not use it. For information about the new version of this operation, see [AllocateEipAddress](~~120192~~).
|
|
28515
28668
|
*
|
|
28516
28669
|
* @param request AllocateEipAddressRequest
|
|
28517
28670
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -28520,6 +28673,7 @@ export default class Client extends OpenApi {
|
|
|
28520
28673
|
allocateEipAddressWithOptions(request: AllocateEipAddressRequest, runtime: $Util.RuntimeOptions): Promise<AllocateEipAddressResponse>;
|
|
28521
28674
|
/**
|
|
28522
28675
|
* @deprecated
|
|
28676
|
+
* > This operation has been upgraded. We recommend that you do not use it. For information about the new version of this operation, see [AllocateEipAddress](~~120192~~).
|
|
28523
28677
|
*
|
|
28524
28678
|
* @param request AllocateEipAddressRequest
|
|
28525
28679
|
* @return AllocateEipAddressResponse
|
|
@@ -28554,7 +28708,7 @@ export default class Client extends OpenApi {
|
|
|
28554
28708
|
allocatePublicIpAddress(request: AllocatePublicIpAddressRequest): Promise<AllocatePublicIpAddressResponse>;
|
|
28555
28709
|
/**
|
|
28556
28710
|
* * Each disk can have only one automatic snapshot policy applied.
|
|
28557
|
-
* *
|
|
28711
|
+
* * Each automatic snapshot policy can be applied to multiple disks.
|
|
28558
28712
|
*
|
|
28559
28713
|
* @param request ApplyAutoSnapshotPolicyRequest
|
|
28560
28714
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -28563,7 +28717,7 @@ export default class Client extends OpenApi {
|
|
|
28563
28717
|
applyAutoSnapshotPolicyWithOptions(request: ApplyAutoSnapshotPolicyRequest, runtime: $Util.RuntimeOptions): Promise<ApplyAutoSnapshotPolicyResponse>;
|
|
28564
28718
|
/**
|
|
28565
28719
|
* * Each disk can have only one automatic snapshot policy applied.
|
|
28566
|
-
* *
|
|
28720
|
+
* * Each automatic snapshot policy can be applied to multiple disks.
|
|
28567
28721
|
*
|
|
28568
28722
|
* @param request ApplyAutoSnapshotPolicyRequest
|
|
28569
28723
|
* @return ApplyAutoSnapshotPolicyResponse
|
|
@@ -28770,18 +28924,17 @@ export default class Client extends OpenApi {
|
|
|
28770
28924
|
*/
|
|
28771
28925
|
attachNetworkInterface(request: AttachNetworkInterfaceRequest): Promise<AttachNetworkInterfaceResponse>;
|
|
28772
28926
|
/**
|
|
28773
|
-
* ## Description
|
|
28774
28927
|
* When you call this operation, take note of the following items:
|
|
28775
28928
|
* * The total number of inbound and outbound security group rules in each security group cannot exceed 200. For more information, see the "Security group limits" section in [Limits](~~25412#SecurityGroupQuota1~~).
|
|
28776
28929
|
* * The valid value of Priority ranges from 1 to 100. A smaller value indicates a higher priority.
|
|
28777
28930
|
* * When multiple security group rules have the same priority, drop rules take precedence.
|
|
28778
28931
|
* * The source can be a CIDR block specified by SourceCidrIp, Ipv6SourceCidrIp, or SourcePrefixListId or can be Elastic Compute Service (ECS) instances in a security group specified by SourceGroupId.
|
|
28779
|
-
* *
|
|
28780
|
-
* *
|
|
28932
|
+
* * Security groups cannot be referenced as authorization objects in rules of advanced security groups.
|
|
28933
|
+
* * Up to 20 security groups can be referenced as authorization objects in the rules of each basic security group.
|
|
28781
28934
|
* * If the specified security group rule exists in the security group, the call is successful but no security group rule is created.
|
|
28782
|
-
* * The `Permissions.N` prefix is added to some parameters to generate new parameters. Original parameters
|
|
28935
|
+
* * The `Permissions.N` prefix is added to some parameters to generate new parameters. Original parameters andparameters prefixed with Permissions.N cannot be specified together. We recommend that you use parameters prefixed with `Permissions.N`.
|
|
28783
28936
|
* * You can determine a security group rule by specifying one of the following groups of parameters. You cannot determine a security group rule by specifying only one parameter.
|
|
28784
|
-
* * Parameters used to specify
|
|
28937
|
+
* * Parameters used to specify an inbound security group rule that controls access from a specific CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and SourceCidrIp. For a security group of the Virtual Private Cloud (VPC) type, you must set the NicType parameter to intranet. For a security group of the classic network type, you can set the NicType parameter to either internet or intranet. Sample request:
|
|
28785
28938
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
28786
28939
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
28787
28940
|
* &Permissions.1.SourceCidrIp=10.0.0.0/8
|
|
@@ -28790,7 +28943,7 @@ export default class Client extends OpenApi {
|
|
|
28790
28943
|
* &Permissions.1.NicType=intranet
|
|
28791
28944
|
* &Permissions.1.Policy=Accept
|
|
28792
28945
|
* &<Common request parameters>
|
|
28793
|
-
* * Parameters used to specify
|
|
28946
|
+
* * Parameters used to specify an inbound security group rule that controls access from a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceGroupOwnerAccount, and SourceGroupId. In this case, you must set the NicType parameter to intranet. For access control between security groups in the classic network, you can allow or deny other security groups within the same region to access your security group. The security groups that are allowed to access your security group can belong to your own Alibaba Cloud account or another Alibaba Cloud account specified by the SourceGroupOwnerAccount parameter. For access control between security groups in VPCs, you can allow or deny another security group within the same VPC to access your security group. Sample request:
|
|
28794
28947
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
28795
28948
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
28796
28949
|
* &Permissions.1.SourceGroupId=sg-1651FBB**
|
|
@@ -28800,7 +28953,7 @@ export default class Client extends OpenApi {
|
|
|
28800
28953
|
* &Permissions.1.NicType=intranet
|
|
28801
28954
|
* &Permissions.1.Policy=Drop
|
|
28802
28955
|
* &<Common request parameters>
|
|
28803
|
-
* * Parameters used to specify
|
|
28956
|
+
* * Parameters used to specify an outbound security group rule that controls access to a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and DestPrefixListId. In this case, prefix lists support only security groups in VPCs. NicType must be set to intranet. Sample request:
|
|
28804
28957
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
28805
28958
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
28806
28959
|
* &Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****
|
|
@@ -28818,18 +28971,17 @@ export default class Client extends OpenApi {
|
|
|
28818
28971
|
*/
|
|
28819
28972
|
authorizeSecurityGroupWithOptions(request: AuthorizeSecurityGroupRequest, runtime: $Util.RuntimeOptions): Promise<AuthorizeSecurityGroupResponse>;
|
|
28820
28973
|
/**
|
|
28821
|
-
* ## Description
|
|
28822
28974
|
* When you call this operation, take note of the following items:
|
|
28823
28975
|
* * The total number of inbound and outbound security group rules in each security group cannot exceed 200. For more information, see the "Security group limits" section in [Limits](~~25412#SecurityGroupQuota1~~).
|
|
28824
28976
|
* * The valid value of Priority ranges from 1 to 100. A smaller value indicates a higher priority.
|
|
28825
28977
|
* * When multiple security group rules have the same priority, drop rules take precedence.
|
|
28826
28978
|
* * The source can be a CIDR block specified by SourceCidrIp, Ipv6SourceCidrIp, or SourcePrefixListId or can be Elastic Compute Service (ECS) instances in a security group specified by SourceGroupId.
|
|
28827
|
-
* *
|
|
28828
|
-
* *
|
|
28979
|
+
* * Security groups cannot be referenced as authorization objects in rules of advanced security groups.
|
|
28980
|
+
* * Up to 20 security groups can be referenced as authorization objects in the rules of each basic security group.
|
|
28829
28981
|
* * If the specified security group rule exists in the security group, the call is successful but no security group rule is created.
|
|
28830
|
-
* * The `Permissions.N` prefix is added to some parameters to generate new parameters. Original parameters
|
|
28982
|
+
* * The `Permissions.N` prefix is added to some parameters to generate new parameters. Original parameters andparameters prefixed with Permissions.N cannot be specified together. We recommend that you use parameters prefixed with `Permissions.N`.
|
|
28831
28983
|
* * You can determine a security group rule by specifying one of the following groups of parameters. You cannot determine a security group rule by specifying only one parameter.
|
|
28832
|
-
* * Parameters used to specify
|
|
28984
|
+
* * Parameters used to specify an inbound security group rule that controls access from a specific CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and SourceCidrIp. For a security group of the Virtual Private Cloud (VPC) type, you must set the NicType parameter to intranet. For a security group of the classic network type, you can set the NicType parameter to either internet or intranet. Sample request:
|
|
28833
28985
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
28834
28986
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
28835
28987
|
* &Permissions.1.SourceCidrIp=10.0.0.0/8
|
|
@@ -28838,7 +28990,7 @@ export default class Client extends OpenApi {
|
|
|
28838
28990
|
* &Permissions.1.NicType=intranet
|
|
28839
28991
|
* &Permissions.1.Policy=Accept
|
|
28840
28992
|
* &<Common request parameters>
|
|
28841
|
-
* * Parameters used to specify
|
|
28993
|
+
* * Parameters used to specify an inbound security group rule that controls access from a security group: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, SourceGroupOwnerAccount, and SourceGroupId. In this case, you must set the NicType parameter to intranet. For access control between security groups in the classic network, you can allow or deny other security groups within the same region to access your security group. The security groups that are allowed to access your security group can belong to your own Alibaba Cloud account or another Alibaba Cloud account specified by the SourceGroupOwnerAccount parameter. For access control between security groups in VPCs, you can allow or deny another security group within the same VPC to access your security group. Sample request:
|
|
28842
28994
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
28843
28995
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
28844
28996
|
* &Permissions.1.SourceGroupId=sg-1651FBB**
|
|
@@ -28848,7 +29000,7 @@ export default class Client extends OpenApi {
|
|
|
28848
29000
|
* &Permissions.1.NicType=intranet
|
|
28849
29001
|
* &Permissions.1.Policy=Drop
|
|
28850
29002
|
* &<Common request parameters>
|
|
28851
|
-
* * Parameters used to specify
|
|
29003
|
+
* * Parameters used to specify an outbound security group rule that controls access to a prefix list: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and DestPrefixListId. In this case, prefix lists support only security groups in VPCs. NicType must be set to intranet. Sample request:
|
|
28852
29004
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroup
|
|
28853
29005
|
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
28854
29006
|
* &Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****
|
|
@@ -28865,17 +29017,16 @@ export default class Client extends OpenApi {
|
|
|
28865
29017
|
*/
|
|
28866
29018
|
authorizeSecurityGroup(request: AuthorizeSecurityGroupRequest): Promise<AuthorizeSecurityGroupResponse>;
|
|
28867
29019
|
/**
|
|
28868
|
-
* ## Description
|
|
28869
29020
|
* When you call this operation, take note of the following items:
|
|
28870
29021
|
* * The total number of inbound and outbound security group rules in each security group cannot exceed 200. For more information, see the "Security group limits" section in [](~~25412#SecurityGroupQuota1~~).
|
|
28871
29022
|
* * You can set Policy to accept or drop for each security group rule to allow or deny access.
|
|
28872
29023
|
* * The valid value of Priority ranges from 1 to 100. A smaller value indicates a higher priority.
|
|
28873
29024
|
* * When several security group rules have the same priority, drop rules take precedence.
|
|
28874
29025
|
* * The destination can be a CIDR block specified by DestCidrIp, Ipv6DestCidrIp, or DestPrefixListId or can be Elastic Compute Service (ECS) instances in a security group specified by DestGroupId.
|
|
28875
|
-
* *
|
|
28876
|
-
* *
|
|
29026
|
+
* * Security groups cannot be referenced as authorization objects in the rules of advanced security groups.
|
|
29027
|
+
* * Up to 20 security groups can be referenced as authorization objects in the rules of each basic security group.
|
|
28877
29028
|
* * If the specified security group rule exists in the security group, the call is successful but no security group rule is created.
|
|
28878
|
-
* * The `Permissions.N` prefix is added to
|
|
29029
|
+
* * The `Permissions.N` prefix is added to certain parameters to generate new parameters. Original parameters and parameters prefixed with Permissions.N cannot be specified together. We recommend that you use parameters prefixed with `Permissions.N`.
|
|
28879
29030
|
* * You can determine a security group rule by specifying one of the following groups of parameters. You cannot determine a security group rule by specifying only one parameter.
|
|
28880
29031
|
* * Parameters used to specify a security group rule that controls access to a specified CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and DestCidrIp. Sample request:
|
|
28881
29032
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
|
|
@@ -28913,17 +29064,16 @@ export default class Client extends OpenApi {
|
|
|
28913
29064
|
*/
|
|
28914
29065
|
authorizeSecurityGroupEgressWithOptions(request: AuthorizeSecurityGroupEgressRequest, runtime: $Util.RuntimeOptions): Promise<AuthorizeSecurityGroupEgressResponse>;
|
|
28915
29066
|
/**
|
|
28916
|
-
* ## Description
|
|
28917
29067
|
* When you call this operation, take note of the following items:
|
|
28918
29068
|
* * The total number of inbound and outbound security group rules in each security group cannot exceed 200. For more information, see the "Security group limits" section in [](~~25412#SecurityGroupQuota1~~).
|
|
28919
29069
|
* * You can set Policy to accept or drop for each security group rule to allow or deny access.
|
|
28920
29070
|
* * The valid value of Priority ranges from 1 to 100. A smaller value indicates a higher priority.
|
|
28921
29071
|
* * When several security group rules have the same priority, drop rules take precedence.
|
|
28922
29072
|
* * The destination can be a CIDR block specified by DestCidrIp, Ipv6DestCidrIp, or DestPrefixListId or can be Elastic Compute Service (ECS) instances in a security group specified by DestGroupId.
|
|
28923
|
-
* *
|
|
28924
|
-
* *
|
|
29073
|
+
* * Security groups cannot be referenced as authorization objects in the rules of advanced security groups.
|
|
29074
|
+
* * Up to 20 security groups can be referenced as authorization objects in the rules of each basic security group.
|
|
28925
29075
|
* * If the specified security group rule exists in the security group, the call is successful but no security group rule is created.
|
|
28926
|
-
* * The `Permissions.N` prefix is added to
|
|
29076
|
+
* * The `Permissions.N` prefix is added to certain parameters to generate new parameters. Original parameters and parameters prefixed with Permissions.N cannot be specified together. We recommend that you use parameters prefixed with `Permissions.N`.
|
|
28927
29077
|
* * You can determine a security group rule by specifying one of the following groups of parameters. You cannot determine a security group rule by specifying only one parameter.
|
|
28928
29078
|
* * Parameters used to specify a security group rule that controls access to a specified CIDR block: IpProtocol, PortRange, SourcePortRange (optional), NicType, Policy, and DestCidrIp. Sample request:
|
|
28929
29079
|
* http(s)://ecs.aliyuncs.com/?Action=AuthorizeSecurityGroupEgress
|
|
@@ -29030,9 +29180,9 @@ export default class Client extends OpenApi {
|
|
|
29030
29180
|
*/
|
|
29031
29181
|
connectRouterInterface(request: ConnectRouterInterfaceRequest): Promise<ConnectRouterInterfaceResponse>;
|
|
29032
29182
|
/**
|
|
29033
|
-
* After a public IP address is converted
|
|
29183
|
+
* After a public IP address is converted to an EIP, the EIP is billed separately. Make sure that you understand the billing methods of EIPs. For more information, see [Billing overview](~~122035~~).
|
|
29034
29184
|
* Before you call this operation, make sure that the following requirements are met:
|
|
29035
|
-
* * The instance is in the `Stopped` or `Running` state.
|
|
29185
|
+
* * The instance is in the **Stopped** (`Stopped`) or **Running** (`Running`) state.
|
|
29036
29186
|
* * No EIPs are associated with the instance.
|
|
29037
29187
|
* * The instance has no configuration change tasks that have not taken effect.
|
|
29038
29188
|
* * The public bandwidth of the instance is not 0 Mbit/s.
|
|
@@ -29045,9 +29195,9 @@ export default class Client extends OpenApi {
|
|
|
29045
29195
|
*/
|
|
29046
29196
|
convertNatPublicIpToEipWithOptions(request: ConvertNatPublicIpToEipRequest, runtime: $Util.RuntimeOptions): Promise<ConvertNatPublicIpToEipResponse>;
|
|
29047
29197
|
/**
|
|
29048
|
-
* After a public IP address is converted
|
|
29198
|
+
* After a public IP address is converted to an EIP, the EIP is billed separately. Make sure that you understand the billing methods of EIPs. For more information, see [Billing overview](~~122035~~).
|
|
29049
29199
|
* Before you call this operation, make sure that the following requirements are met:
|
|
29050
|
-
* * The instance is in the `Stopped` or `Running` state.
|
|
29200
|
+
* * The instance is in the **Stopped** (`Stopped`) or **Running** (`Running`) state.
|
|
29051
29201
|
* * No EIPs are associated with the instance.
|
|
29052
29202
|
* * The instance has no configuration change tasks that have not taken effect.
|
|
29053
29203
|
* * The public bandwidth of the instance is not 0 Mbit/s.
|
|
@@ -29813,16 +29963,16 @@ export default class Client extends OpenApi {
|
|
|
29813
29963
|
*/
|
|
29814
29964
|
createSnapshot(request: CreateSnapshotRequest): Promise<CreateSnapshotResponse>;
|
|
29815
29965
|
/**
|
|
29816
|
-
* You can specify `InstanceId` to create a snapshot-consistent group for the specified disks
|
|
29817
|
-
* > You cannot specify both `DiskId.N` and `ExcludeDiskId.N`. If `InstanceId` is
|
|
29966
|
+
* You can specify `InstanceId` to create a snapshot-consistent group for the specified disks in an instance. You can also specify `DiskId.N` to create a snapshot-consistent group for multiple disks that are attached to multiple instances within the same zone.
|
|
29967
|
+
* > You cannot specify both `DiskId.N` and `ExcludeDiskId.N`. If `InstanceId` is set, you can use `DiskId.N` to specify only disks attached to the instance specified by InstanceId. You cannot use DiskId.N to specify disks attached to multiple instances.
|
|
29818
29968
|
* When you call this operation, take note of the following items:
|
|
29819
29969
|
* * The disk for which you want to create a snapshot must be in the **In Use** (`In_use`) or **Unattached** (`Available`) state.
|
|
29820
|
-
* * If the disk is in the **In Use** (`In_use`) state, the instance to which the disk is attached must be in the **Running**
|
|
29970
|
+
* * If the disk is in the **In Use** (`In_use`) state, the instance to which the disk is attached must be in the **Running** or **Stopped** state.````
|
|
29821
29971
|
* * If the disk is in the **Unattached** (`Available`) state, make sure that the disk has been attached to an ECS instance. Snapshots cannot be created for disks that have never been attached to ECS instances.
|
|
29822
29972
|
* * The snapshot-consistent group feature can be used to create snapshots only for enhanced SSDs (ESSDs).
|
|
29823
|
-
* * A single snapshot-consistent group can contain snapshots of up to 16 disks including the system disk and data disks
|
|
29973
|
+
* * A single snapshot-consistent group can contain snapshots of up to 16 disks including the system disk and data disks. A single snapshot-consistent group cannot exceed 32 TiB in size.
|
|
29824
29974
|
* * Snapshots that you created by using the snapshot-consistent group feature are retained until they are deleted. We recommend that you delete unnecessary snapshots on a regular basis to prevent them from incurring excessive fees.
|
|
29825
|
-
* * Snapshot-consistent groups cannot be created for disks that have the multi-attach feature enabled. If disks that have the multi-attach feature enabled are attached to
|
|
29975
|
+
* * Snapshot-consistent groups cannot be created for disks that have the multi-attach feature enabled. If disks that have the multi-attach feature enabled are attached to an instance, you must set the `ExcludeDiskId.N` parameter to exclude these disks.
|
|
29826
29976
|
* For information about the snapshot-consistent group feature and its billing, see [Create a snapshot-consistent group](~~199625~~).
|
|
29827
29977
|
*
|
|
29828
29978
|
* @param request CreateSnapshotGroupRequest
|
|
@@ -29831,16 +29981,16 @@ export default class Client extends OpenApi {
|
|
|
29831
29981
|
*/
|
|
29832
29982
|
createSnapshotGroupWithOptions(request: CreateSnapshotGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateSnapshotGroupResponse>;
|
|
29833
29983
|
/**
|
|
29834
|
-
* You can specify `InstanceId` to create a snapshot-consistent group for the specified disks
|
|
29835
|
-
* > You cannot specify both `DiskId.N` and `ExcludeDiskId.N`. If `InstanceId` is
|
|
29984
|
+
* You can specify `InstanceId` to create a snapshot-consistent group for the specified disks in an instance. You can also specify `DiskId.N` to create a snapshot-consistent group for multiple disks that are attached to multiple instances within the same zone.
|
|
29985
|
+
* > You cannot specify both `DiskId.N` and `ExcludeDiskId.N`. If `InstanceId` is set, you can use `DiskId.N` to specify only disks attached to the instance specified by InstanceId. You cannot use DiskId.N to specify disks attached to multiple instances.
|
|
29836
29986
|
* When you call this operation, take note of the following items:
|
|
29837
29987
|
* * The disk for which you want to create a snapshot must be in the **In Use** (`In_use`) or **Unattached** (`Available`) state.
|
|
29838
|
-
* * If the disk is in the **In Use** (`In_use`) state, the instance to which the disk is attached must be in the **Running**
|
|
29988
|
+
* * If the disk is in the **In Use** (`In_use`) state, the instance to which the disk is attached must be in the **Running** or **Stopped** state.````
|
|
29839
29989
|
* * If the disk is in the **Unattached** (`Available`) state, make sure that the disk has been attached to an ECS instance. Snapshots cannot be created for disks that have never been attached to ECS instances.
|
|
29840
29990
|
* * The snapshot-consistent group feature can be used to create snapshots only for enhanced SSDs (ESSDs).
|
|
29841
|
-
* * A single snapshot-consistent group can contain snapshots of up to 16 disks including the system disk and data disks
|
|
29991
|
+
* * A single snapshot-consistent group can contain snapshots of up to 16 disks including the system disk and data disks. A single snapshot-consistent group cannot exceed 32 TiB in size.
|
|
29842
29992
|
* * Snapshots that you created by using the snapshot-consistent group feature are retained until they are deleted. We recommend that you delete unnecessary snapshots on a regular basis to prevent them from incurring excessive fees.
|
|
29843
|
-
* * Snapshot-consistent groups cannot be created for disks that have the multi-attach feature enabled. If disks that have the multi-attach feature enabled are attached to
|
|
29993
|
+
* * Snapshot-consistent groups cannot be created for disks that have the multi-attach feature enabled. If disks that have the multi-attach feature enabled are attached to an instance, you must set the `ExcludeDiskId.N` parameter to exclude these disks.
|
|
29844
29994
|
* For information about the snapshot-consistent group feature and its billing, see [Create a snapshot-consistent group](~~199625~~).
|
|
29845
29995
|
*
|
|
29846
29996
|
* @param request CreateSnapshotGroupRequest
|
|
@@ -30325,7 +30475,7 @@ export default class Client extends OpenApi {
|
|
|
30325
30475
|
/**
|
|
30326
30476
|
* When you call this operation, take note of the following items:
|
|
30327
30477
|
* * If the specified snapshot does not exist, the request is ignored.
|
|
30328
|
-
* * If
|
|
30478
|
+
* * If a snapshot has been used to create custom images, the snapshot cannot be deleted. You must call the [DeleteImage](~~25537~~) operation to delete the custom images before you can delete the snapshot.
|
|
30329
30479
|
* * If the specified snapshot has been used to create disks and the `Force` parameter is not specified or is set to `false`, the snapshot cannot be deleted directly. If you want to delete the snapshot, set the `Force` parameter to true to forcefully delete the snapshot. The disks created from the snapshot cannot be re-initialized after the snapshot is forcefully deleted.
|
|
30330
30480
|
*
|
|
30331
30481
|
* @param request DeleteSnapshotRequest
|
|
@@ -30336,7 +30486,7 @@ export default class Client extends OpenApi {
|
|
|
30336
30486
|
/**
|
|
30337
30487
|
* When you call this operation, take note of the following items:
|
|
30338
30488
|
* * If the specified snapshot does not exist, the request is ignored.
|
|
30339
|
-
* * If
|
|
30489
|
+
* * If a snapshot has been used to create custom images, the snapshot cannot be deleted. You must call the [DeleteImage](~~25537~~) operation to delete the custom images before you can delete the snapshot.
|
|
30340
30490
|
* * If the specified snapshot has been used to create disks and the `Force` parameter is not specified or is set to `false`, the snapshot cannot be deleted directly. If you want to delete the snapshot, set the `Force` parameter to true to forcefully delete the snapshot. The disks created from the snapshot cannot be re-initialized after the snapshot is forcefully deleted.
|
|
30341
30491
|
*
|
|
30342
30492
|
* @param request DeleteSnapshotRequest
|
|
@@ -30426,7 +30576,7 @@ export default class Client extends OpenApi {
|
|
|
30426
30576
|
describeAccessPoints(request: DescribeAccessPointsRequest): Promise<DescribeAccessPointsResponse>;
|
|
30427
30577
|
/**
|
|
30428
30578
|
* After you [create](https://account.alibabacloud.com/register/intl_register.htm) an Alibaba Cloud account, you can create a specific number of ECS instances in different regions within the account. For more information, see [Limits](~~25412~~).
|
|
30429
|
-
* You can
|
|
30579
|
+
* You can apply for a quota increase in the [Quota Center console](https://ecs.console.aliyun.com/?#/privilegeQuotaV2/region/cn-hangzhou?subTab=userQuota).
|
|
30430
30580
|
*
|
|
30431
30581
|
* @param request DescribeAccountAttributesRequest
|
|
30432
30582
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30435,7 +30585,7 @@ export default class Client extends OpenApi {
|
|
|
30435
30585
|
describeAccountAttributesWithOptions(request: DescribeAccountAttributesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAccountAttributesResponse>;
|
|
30436
30586
|
/**
|
|
30437
30587
|
* After you [create](https://account.alibabacloud.com/register/intl_register.htm) an Alibaba Cloud account, you can create a specific number of ECS instances in different regions within the account. For more information, see [Limits](~~25412~~).
|
|
30438
|
-
* You can
|
|
30588
|
+
* You can apply for a quota increase in the [Quota Center console](https://ecs.console.aliyun.com/?#/privilegeQuotaV2/region/cn-hangzhou?subTab=userQuota).
|
|
30439
30589
|
*
|
|
30440
30590
|
* @param request DescribeAccountAttributesRequest
|
|
30441
30591
|
* @return DescribeAccountAttributesResponse
|
|
@@ -30692,7 +30842,22 @@ export default class Client extends OpenApi {
|
|
|
30692
30842
|
* @return DescribeDisksResponse
|
|
30693
30843
|
*/
|
|
30694
30844
|
describeDisks(request: DescribeDisksRequest): Promise<DescribeDisksResponse>;
|
|
30845
|
+
/**
|
|
30846
|
+
* * The full status information of an EBS device includes the lifecycle status provided by the `Status` parameter, health status provided by the `HealthStatus` parameter, and event type provided by the `EventType` parameter of the EBS device. You can filter the results based on these parameters.
|
|
30847
|
+
* * The release time, scheduled execution time, and actual execution time of each EBS device event are identical. If you specify a period of time by using the `EventTime.Start` and `EventTime.End` parameters, all events that occurred within this period are queried. You can query events that occurred within the last seven days.
|
|
30848
|
+
*
|
|
30849
|
+
* @param request DescribeDisksFullStatusRequest
|
|
30850
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
30851
|
+
* @return DescribeDisksFullStatusResponse
|
|
30852
|
+
*/
|
|
30695
30853
|
describeDisksFullStatusWithOptions(request: DescribeDisksFullStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDisksFullStatusResponse>;
|
|
30854
|
+
/**
|
|
30855
|
+
* * The full status information of an EBS device includes the lifecycle status provided by the `Status` parameter, health status provided by the `HealthStatus` parameter, and event type provided by the `EventType` parameter of the EBS device. You can filter the results based on these parameters.
|
|
30856
|
+
* * The release time, scheduled execution time, and actual execution time of each EBS device event are identical. If you specify a period of time by using the `EventTime.Start` and `EventTime.End` parameters, all events that occurred within this period are queried. You can query events that occurred within the last seven days.
|
|
30857
|
+
*
|
|
30858
|
+
* @param request DescribeDisksFullStatusRequest
|
|
30859
|
+
* @return DescribeDisksFullStatusResponse
|
|
30860
|
+
*/
|
|
30696
30861
|
describeDisksFullStatus(request: DescribeDisksFullStatusRequest): Promise<DescribeDisksFullStatusResponse>;
|
|
30697
30862
|
/**
|
|
30698
30863
|
* @deprecated
|
|
@@ -30725,7 +30890,7 @@ export default class Client extends OpenApi {
|
|
|
30725
30890
|
*/
|
|
30726
30891
|
describeEipMonitorData(request: DescribeEipMonitorDataRequest): Promise<DescribeEipMonitorDataResponse>;
|
|
30727
30892
|
/**
|
|
30728
|
-
* When an elasticity assurance expires, data about the association between instances and the private pool generated by the elasticity assurance becomes invalid. When you call this operation to query the expired elasticity assurance, no value is returned.
|
|
30893
|
+
* When an elasticity assurance expires, data about the association between the instances and the private pool generated by the elasticity assurance becomes invalid. When you call this operation to query the expired elasticity assurance, no value is returned.
|
|
30729
30894
|
*
|
|
30730
30895
|
* @param request DescribeElasticityAssuranceInstancesRequest
|
|
30731
30896
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -30733,7 +30898,7 @@ export default class Client extends OpenApi {
|
|
|
30733
30898
|
*/
|
|
30734
30899
|
describeElasticityAssuranceInstancesWithOptions(request: DescribeElasticityAssuranceInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeElasticityAssuranceInstancesResponse>;
|
|
30735
30900
|
/**
|
|
30736
|
-
* When an elasticity assurance expires, data about the association between instances and the private pool generated by the elasticity assurance becomes invalid. When you call this operation to query the expired elasticity assurance, no value is returned.
|
|
30901
|
+
* When an elasticity assurance expires, data about the association between the instances and the private pool generated by the elasticity assurance becomes invalid. When you call this operation to query the expired elasticity assurance, no value is returned.
|
|
30737
30902
|
*
|
|
30738
30903
|
* @param request DescribeElasticityAssuranceInstancesRequest
|
|
30739
30904
|
* @return DescribeElasticityAssuranceInstancesResponse
|
|
@@ -30847,7 +31012,20 @@ export default class Client extends OpenApi {
|
|
|
30847
31012
|
* @return DescribeImagePipelineExecutionsResponse
|
|
30848
31013
|
*/
|
|
30849
31014
|
describeImagePipelineExecutions(request: DescribeImagePipelineExecutionsRequest): Promise<DescribeImagePipelineExecutionsResponse>;
|
|
31015
|
+
/**
|
|
31016
|
+
* You can use `NextToken` to configure the query token. Set the value to the `NextToken` value that is returned in the last call to the `DescribeImagePipelines` operation. Then, use `MaxResults` to specify the maximum number of entries to return on each page.
|
|
31017
|
+
*
|
|
31018
|
+
* @param request DescribeImagePipelinesRequest
|
|
31019
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
31020
|
+
* @return DescribeImagePipelinesResponse
|
|
31021
|
+
*/
|
|
30850
31022
|
describeImagePipelinesWithOptions(request: DescribeImagePipelinesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeImagePipelinesResponse>;
|
|
31023
|
+
/**
|
|
31024
|
+
* You can use `NextToken` to configure the query token. Set the value to the `NextToken` value that is returned in the last call to the `DescribeImagePipelines` operation. Then, use `MaxResults` to specify the maximum number of entries to return on each page.
|
|
31025
|
+
*
|
|
31026
|
+
* @param request DescribeImagePipelinesRequest
|
|
31027
|
+
* @return DescribeImagePipelinesResponse
|
|
31028
|
+
*/
|
|
30851
31029
|
describeImagePipelines(request: DescribeImagePipelinesRequest): Promise<DescribeImagePipelinesResponse>;
|
|
30852
31030
|
describeImageSharePermissionWithOptions(request: DescribeImageSharePermissionRequest, runtime: $Util.RuntimeOptions): Promise<DescribeImageSharePermissionResponse>;
|
|
30853
31031
|
describeImageSharePermission(request: DescribeImageSharePermissionRequest): Promise<DescribeImageSharePermissionResponse>;
|
|
@@ -31005,10 +31183,25 @@ export default class Client extends OpenApi {
|
|
|
31005
31183
|
* @return DescribeInstanceRamRoleResponse
|
|
31006
31184
|
*/
|
|
31007
31185
|
describeInstanceRamRole(request: DescribeInstanceRamRoleRequest): Promise<DescribeInstanceRamRoleResponse>;
|
|
31186
|
+
/**
|
|
31187
|
+
* * For information about the lifecycle states of an ECS instance, see [Instance states](~~25687~~).
|
|
31188
|
+
* * You can also call this operation to query the list of ECS instances.
|
|
31189
|
+
*
|
|
31190
|
+
* @param request DescribeInstanceStatusRequest
|
|
31191
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
31192
|
+
* @return DescribeInstanceStatusResponse
|
|
31193
|
+
*/
|
|
31008
31194
|
describeInstanceStatusWithOptions(request: DescribeInstanceStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceStatusResponse>;
|
|
31195
|
+
/**
|
|
31196
|
+
* * For information about the lifecycle states of an ECS instance, see [Instance states](~~25687~~).
|
|
31197
|
+
* * You can also call this operation to query the list of ECS instances.
|
|
31198
|
+
*
|
|
31199
|
+
* @param request DescribeInstanceStatusRequest
|
|
31200
|
+
* @return DescribeInstanceStatusResponse
|
|
31201
|
+
*/
|
|
31009
31202
|
describeInstanceStatus(request: DescribeInstanceStatusRequest): Promise<DescribeInstanceStatusResponse>;
|
|
31010
31203
|
/**
|
|
31011
|
-
* >
|
|
31204
|
+
* > The DescribeInstanceTopology operation is in invitational preview and is not commercially available.
|
|
31012
31205
|
*
|
|
31013
31206
|
* @param request DescribeInstanceTopologyRequest
|
|
31014
31207
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31016,7 +31209,7 @@ export default class Client extends OpenApi {
|
|
|
31016
31209
|
*/
|
|
31017
31210
|
describeInstanceTopologyWithOptions(request: DescribeInstanceTopologyRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceTopologyResponse>;
|
|
31018
31211
|
/**
|
|
31019
|
-
* >
|
|
31212
|
+
* > The DescribeInstanceTopology operation is in invitational preview and is not commercially available.
|
|
31020
31213
|
*
|
|
31021
31214
|
* @param request DescribeInstanceTopologyRequest
|
|
31022
31215
|
* @return DescribeInstanceTopologyResponse
|
|
@@ -31024,7 +31217,30 @@ export default class Client extends OpenApi {
|
|
|
31024
31217
|
describeInstanceTopology(request: DescribeInstanceTopologyRequest): Promise<DescribeInstanceTopologyResponse>;
|
|
31025
31218
|
describeInstanceTypeFamiliesWithOptions(request: DescribeInstanceTypeFamiliesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceTypeFamiliesResponse>;
|
|
31026
31219
|
describeInstanceTypeFamilies(request: DescribeInstanceTypeFamiliesRequest): Promise<DescribeInstanceTypeFamiliesResponse>;
|
|
31220
|
+
/**
|
|
31221
|
+
* ## Description
|
|
31222
|
+
* Before you call this operation, take note of the following items:
|
|
31223
|
+
* * The MaxResults parameter specifies the maximum number of entries to return on each page. The maximum value of this parameter is changed from 1600 to 100. If you called this operation in 2022, you can continue to use 1600 as the maximum value of MaxResults until November 15, 2023. As of November 15, 2023, only 100 can be used as the maximum value of MaxResults. If you do not specify the NextToken parameter when you call the DescribeInstanceTypes operation, only the first page of results that contains up to 100 entries is returned. If you want to retrieve more results, specify the NextToken parameter to perform paged queries, or specify filter conditions to filter results. For information about the best practices for using DescribeInstanceTypes, see [Compare the specifications of instance types](https://help.aliyun.com/practice_detail/461278) .
|
|
31224
|
+
* * We recommend that you specify the MaxResults and NextToken parameters to perform paged queries. The first time you call the DescribeInstanceTypes operation, specify MaxResults to limit the maximum number of entries to return in the call. If the number of entries to return exceeds the specified value of MaxResults, the response includes a NextToken value. You can set NextToken to the return value and specify MaxResults in your next request to DescribeInstanceTypes to retrieve the next page of results.
|
|
31225
|
+
* * The DescribeInstanceTypes operation is used to query only the specifications and performance information of instance types. To query instance types that are available in a specific region, call the [DescribeAvailableResource](~~66186~~) operation.
|
|
31226
|
+
* * To use special instance types such as instance types that are unavailable for purchase, [submit a ticket](https://selfservice.console.aliyun.com/ticket/createIndex.htm).
|
|
31227
|
+
*
|
|
31228
|
+
* @param request DescribeInstanceTypesRequest
|
|
31229
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
31230
|
+
* @return DescribeInstanceTypesResponse
|
|
31231
|
+
*/
|
|
31027
31232
|
describeInstanceTypesWithOptions(request: DescribeInstanceTypesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceTypesResponse>;
|
|
31233
|
+
/**
|
|
31234
|
+
* ## Description
|
|
31235
|
+
* Before you call this operation, take note of the following items:
|
|
31236
|
+
* * The MaxResults parameter specifies the maximum number of entries to return on each page. The maximum value of this parameter is changed from 1600 to 100. If you called this operation in 2022, you can continue to use 1600 as the maximum value of MaxResults until November 15, 2023. As of November 15, 2023, only 100 can be used as the maximum value of MaxResults. If you do not specify the NextToken parameter when you call the DescribeInstanceTypes operation, only the first page of results that contains up to 100 entries is returned. If you want to retrieve more results, specify the NextToken parameter to perform paged queries, or specify filter conditions to filter results. For information about the best practices for using DescribeInstanceTypes, see [Compare the specifications of instance types](https://help.aliyun.com/practice_detail/461278) .
|
|
31237
|
+
* * We recommend that you specify the MaxResults and NextToken parameters to perform paged queries. The first time you call the DescribeInstanceTypes operation, specify MaxResults to limit the maximum number of entries to return in the call. If the number of entries to return exceeds the specified value of MaxResults, the response includes a NextToken value. You can set NextToken to the return value and specify MaxResults in your next request to DescribeInstanceTypes to retrieve the next page of results.
|
|
31238
|
+
* * The DescribeInstanceTypes operation is used to query only the specifications and performance information of instance types. To query instance types that are available in a specific region, call the [DescribeAvailableResource](~~66186~~) operation.
|
|
31239
|
+
* * To use special instance types such as instance types that are unavailable for purchase, [submit a ticket](https://selfservice.console.aliyun.com/ticket/createIndex.htm).
|
|
31240
|
+
*
|
|
31241
|
+
* @param request DescribeInstanceTypesRequest
|
|
31242
|
+
* @return DescribeInstanceTypesResponse
|
|
31243
|
+
*/
|
|
31028
31244
|
describeInstanceTypes(request: DescribeInstanceTypesRequest): Promise<DescribeInstanceTypesResponse>;
|
|
31029
31245
|
/**
|
|
31030
31246
|
* @deprecated
|
|
@@ -31045,13 +31261,13 @@ export default class Client extends OpenApi {
|
|
|
31045
31261
|
* When you call this operation, take note of the following items:
|
|
31046
31262
|
* * The URL returned is valid only for 15 seconds. If a connection is not established within 15 seconds after a successful query, the URL expires and you must query it again.
|
|
31047
31263
|
* * The **KeepAlive** time of a connection to a VNC management terminal is 60 seconds. If you do not interact with the VNC management terminal within 60 seconds, the VNC management terminal is automatically disconnected.
|
|
31048
|
-
* *
|
|
31049
|
-
* * You need to add `vncUrl`, `instanceId`, `isWindows`, and `password` parameters at the end of the URL `https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?`. Separate each parameter with an ampersand (`&`).``
|
|
31050
|
-
* * `vncUrl:` the `VncUrl`
|
|
31264
|
+
* * After the VNC management terminal is disconnected, you can only reconnect to the VNC management terminal a maximum of 30 times a minute.
|
|
31265
|
+
* * You need to add `vncUrl`, `instanceId`, `isWindows`, and `password` parameters at the end of the URL `https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?`. Separate each parameter with an ampersand (`&`).``
|
|
31266
|
+
* * `vncUrl:` the value of the `VncUrl` parameter that is returned after a successful query.
|
|
31051
31267
|
* * `instanceId:` the ID of your instance.
|
|
31052
31268
|
* * `isWindows:` specifies whether the operating system of the instance is Windows. Set the parameter to `true` if the operating system is Windows. Set the parameter to `false` if the operating system is not Windows.
|
|
31053
|
-
* * `password:` Optional. A six-character password used to connect to the VNC management terminal. It can contain digits and letters.
|
|
31054
|
-
*
|
|
31269
|
+
* * `password:` Optional. A six-character password that is used to connect to the VNC management terminal. It can contain digits and letters. If you specify this parameter, you do not need to enter your password again when the connection is being established.
|
|
31270
|
+
* Examples:
|
|
31055
31271
|
* ```
|
|
31056
31272
|
* ```
|
|
31057
31273
|
* <https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%\\\\*\\\\*\\\\*\\\\*&instanceId=i-wz9hhwq5a6tm\\\\*\\\\*\\\\*\\\\*&isWindows=true> \\`\\`\\`
|
|
@@ -31068,13 +31284,13 @@ export default class Client extends OpenApi {
|
|
|
31068
31284
|
* When you call this operation, take note of the following items:
|
|
31069
31285
|
* * The URL returned is valid only for 15 seconds. If a connection is not established within 15 seconds after a successful query, the URL expires and you must query it again.
|
|
31070
31286
|
* * The **KeepAlive** time of a connection to a VNC management terminal is 60 seconds. If you do not interact with the VNC management terminal within 60 seconds, the VNC management terminal is automatically disconnected.
|
|
31071
|
-
* *
|
|
31072
|
-
* * You need to add `vncUrl`, `instanceId`, `isWindows`, and `password` parameters at the end of the URL `https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?`. Separate each parameter with an ampersand (`&`).``
|
|
31073
|
-
* * `vncUrl:` the `VncUrl`
|
|
31287
|
+
* * After the VNC management terminal is disconnected, you can only reconnect to the VNC management terminal a maximum of 30 times a minute.
|
|
31288
|
+
* * You need to add `vncUrl`, `instanceId`, `isWindows`, and `password` parameters at the end of the URL `https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?`. Separate each parameter with an ampersand (`&`).``
|
|
31289
|
+
* * `vncUrl:` the value of the `VncUrl` parameter that is returned after a successful query.
|
|
31074
31290
|
* * `instanceId:` the ID of your instance.
|
|
31075
31291
|
* * `isWindows:` specifies whether the operating system of the instance is Windows. Set the parameter to `true` if the operating system is Windows. Set the parameter to `false` if the operating system is not Windows.
|
|
31076
|
-
* * `password:` Optional. A six-character password used to connect to the VNC management terminal. It can contain digits and letters.
|
|
31077
|
-
*
|
|
31292
|
+
* * `password:` Optional. A six-character password that is used to connect to the VNC management terminal. It can contain digits and letters. If you specify this parameter, you do not need to enter your password again when the connection is being established.
|
|
31293
|
+
* Examples:
|
|
31078
31294
|
* ```
|
|
31079
31295
|
* ```
|
|
31080
31296
|
* <https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=ws%3A%2F%\\\\*\\\\*\\\\*\\\\*&instanceId=i-wz9hhwq5a6tm\\\\*\\\\*\\\\*\\\\*&isWindows=true> \\`\\`\\`
|
|
@@ -31114,7 +31330,7 @@ export default class Client extends OpenApi {
|
|
|
31114
31330
|
*/
|
|
31115
31331
|
describeInstances(request: DescribeInstancesRequest): Promise<DescribeInstancesResponse>;
|
|
31116
31332
|
/**
|
|
31117
|
-
* The response includes instance states and instance system events in the Scheduled state.
|
|
31333
|
+
* The response includes instance states and instance system events that are in the Scheduled state.
|
|
31118
31334
|
* If a period is specified, events are queried based on the specified period.
|
|
31119
31335
|
*
|
|
31120
31336
|
* @param request DescribeInstancesFullStatusRequest
|
|
@@ -31123,14 +31339,29 @@ export default class Client extends OpenApi {
|
|
|
31123
31339
|
*/
|
|
31124
31340
|
describeInstancesFullStatusWithOptions(request: DescribeInstancesFullStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstancesFullStatusResponse>;
|
|
31125
31341
|
/**
|
|
31126
|
-
* The response includes instance states and instance system events in the Scheduled state.
|
|
31342
|
+
* The response includes instance states and instance system events that are in the Scheduled state.
|
|
31127
31343
|
* If a period is specified, events are queried based on the specified period.
|
|
31128
31344
|
*
|
|
31129
31345
|
* @param request DescribeInstancesFullStatusRequest
|
|
31130
31346
|
* @return DescribeInstancesFullStatusResponse
|
|
31131
31347
|
*/
|
|
31132
31348
|
describeInstancesFullStatus(request: DescribeInstancesFullStatusRequest): Promise<DescribeInstancesFullStatusResponse>;
|
|
31349
|
+
/**
|
|
31350
|
+
* * After you run a command, the command may not succeed or return the expected results. You can call this operation to query the actual execution results.
|
|
31351
|
+
* * You can query information about command executions within the last four weeks. A maximum of 100,000 pieces of execution information can be retained.
|
|
31352
|
+
*
|
|
31353
|
+
* @param request DescribeInvocationResultsRequest
|
|
31354
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
31355
|
+
* @return DescribeInvocationResultsResponse
|
|
31356
|
+
*/
|
|
31133
31357
|
describeInvocationResultsWithOptions(request: DescribeInvocationResultsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInvocationResultsResponse>;
|
|
31358
|
+
/**
|
|
31359
|
+
* * After you run a command, the command may not succeed or return the expected results. You can call this operation to query the actual execution results.
|
|
31360
|
+
* * You can query information about command executions within the last four weeks. A maximum of 100,000 pieces of execution information can be retained.
|
|
31361
|
+
*
|
|
31362
|
+
* @param request DescribeInvocationResultsRequest
|
|
31363
|
+
* @return DescribeInvocationResultsResponse
|
|
31364
|
+
*/
|
|
31134
31365
|
describeInvocationResults(request: DescribeInvocationResultsRequest): Promise<DescribeInvocationResultsResponse>;
|
|
31135
31366
|
/**
|
|
31136
31367
|
* * After you run a command, the command may not succeed or return the expected results. You can call this operation to query the execution results.
|
|
@@ -31191,7 +31422,22 @@ export default class Client extends OpenApi {
|
|
|
31191
31422
|
describeNetworkInterfaceAttribute(request: DescribeNetworkInterfaceAttributeRequest): Promise<DescribeNetworkInterfaceAttributeResponse>;
|
|
31192
31423
|
describeNetworkInterfacePermissionsWithOptions(request: DescribeNetworkInterfacePermissionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeNetworkInterfacePermissionsResponse>;
|
|
31193
31424
|
describeNetworkInterfacePermissions(request: DescribeNetworkInterfacePermissionsRequest): Promise<DescribeNetworkInterfacePermissionsResponse>;
|
|
31425
|
+
/**
|
|
31426
|
+
* The `DescribeNetworkInterfaces` operation supports multiple pagination mechanisms. We recommend that you set `MaxResults` to specify the maximum number of entries to return in each request. The returned value of `NextToken` is a pagination token, which can be used in the next request to retrieve a new page of results. When you perform the next request, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
31427
|
+
* > If you specify `MaxResults` or `NextToken`, the system returns results based on the preceding pagination mechanism. Otherwise, the system paginates the results based on the `PageNumber` and `PageSize` parameters.
|
|
31428
|
+
*
|
|
31429
|
+
* @param request DescribeNetworkInterfacesRequest
|
|
31430
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
31431
|
+
* @return DescribeNetworkInterfacesResponse
|
|
31432
|
+
*/
|
|
31194
31433
|
describeNetworkInterfacesWithOptions(request: DescribeNetworkInterfacesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeNetworkInterfacesResponse>;
|
|
31434
|
+
/**
|
|
31435
|
+
* The `DescribeNetworkInterfaces` operation supports multiple pagination mechanisms. We recommend that you set `MaxResults` to specify the maximum number of entries to return in each request. The returned value of `NextToken` is a pagination token, which can be used in the next request to retrieve a new page of results. When you perform the next request, set `NextToken` to the `NextToken` value returned in the previous call and set `MaxResults` to specify the maximum number of entries to return in this call.
|
|
31436
|
+
* > If you specify `MaxResults` or `NextToken`, the system returns results based on the preceding pagination mechanism. Otherwise, the system paginates the results based on the `PageNumber` and `PageSize` parameters.
|
|
31437
|
+
*
|
|
31438
|
+
* @param request DescribeNetworkInterfacesRequest
|
|
31439
|
+
* @return DescribeNetworkInterfacesResponse
|
|
31440
|
+
*/
|
|
31195
31441
|
describeNetworkInterfaces(request: DescribeNetworkInterfacesRequest): Promise<DescribeNetworkInterfacesResponse>;
|
|
31196
31442
|
/**
|
|
31197
31443
|
* @deprecated
|
|
@@ -31227,9 +31473,55 @@ export default class Client extends OpenApi {
|
|
|
31227
31473
|
describePrefixListAssociations(request: DescribePrefixListAssociationsRequest): Promise<DescribePrefixListAssociationsResponse>;
|
|
31228
31474
|
describePrefixListAttributesWithOptions(request: DescribePrefixListAttributesRequest, runtime: $Util.RuntimeOptions): Promise<DescribePrefixListAttributesResponse>;
|
|
31229
31475
|
describePrefixListAttributes(request: DescribePrefixListAttributesRequest): Promise<DescribePrefixListAttributesResponse>;
|
|
31476
|
+
/**
|
|
31477
|
+
* ## Description
|
|
31478
|
+
* You can specify the `AddressFamily`, `PrefixListId.N`, and `PrefixListName` request parameters to be queried. Specified parameters have logical AND relations. Only the specified parameters are included in the filter conditions.
|
|
31479
|
+
*
|
|
31480
|
+
* @param request DescribePrefixListsRequest
|
|
31481
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
31482
|
+
* @return DescribePrefixListsResponse
|
|
31483
|
+
*/
|
|
31230
31484
|
describePrefixListsWithOptions(request: DescribePrefixListsRequest, runtime: $Util.RuntimeOptions): Promise<DescribePrefixListsResponse>;
|
|
31485
|
+
/**
|
|
31486
|
+
* ## Description
|
|
31487
|
+
* You can specify the `AddressFamily`, `PrefixListId.N`, and `PrefixListName` request parameters to be queried. Specified parameters have logical AND relations. Only the specified parameters are included in the filter conditions.
|
|
31488
|
+
*
|
|
31489
|
+
* @param request DescribePrefixListsRequest
|
|
31490
|
+
* @return DescribePrefixListsResponse
|
|
31491
|
+
*/
|
|
31231
31492
|
describePrefixLists(request: DescribePrefixListsRequest): Promise<DescribePrefixListsResponse>;
|
|
31493
|
+
/**
|
|
31494
|
+
* ## Description
|
|
31495
|
+
* * The required parameters vary based on the types of resources whose prices you want to query.
|
|
31496
|
+
* * When the `ResourceType` parameter is set to instance, you must specify the `InstanceType` parameter.
|
|
31497
|
+
* * When the `ResourceType` parameter is set to disk, you must specify both the `DataDisk.1.Category` and `DataDisk.1.Size` parameters. When the `ResourceType` parameter is set to disk, only pay-as-you-go prices of cloud disks are returned. In this scenario, the `PriceUnit` parameter must be set to `Hour`.
|
|
31498
|
+
* * When the `ResourceType` parameter is set to ddh, you must specify the `DedicatedHostType` parameter.
|
|
31499
|
+
* * When the `ResourceType` parameter is set to ElasticityAssurance, you must specify the `InstanceType` parameter.
|
|
31500
|
+
* * When the `ResourceType` parameter is set to CapacityReservation, you must specify the `InstanceType` parameter.
|
|
31501
|
+
* * When the `ResourceType` parameter is set to bandwidth, only the pay-by-traffic (`PayByTraffic`) price for network usage is returned.
|
|
31502
|
+
* * When the `ResourceType` parameter is set to instance, the prices of up to four data disks can be queried.
|
|
31503
|
+
* * By default, the `ChargeType` parameter is set to `PostPaid`. You can specify the `PriceUnit` parameter to query the prices of ECS resources that have different billing cycles.
|
|
31504
|
+
*
|
|
31505
|
+
* @param request DescribePriceRequest
|
|
31506
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
31507
|
+
* @return DescribePriceResponse
|
|
31508
|
+
*/
|
|
31232
31509
|
describePriceWithOptions(request: DescribePriceRequest, runtime: $Util.RuntimeOptions): Promise<DescribePriceResponse>;
|
|
31510
|
+
/**
|
|
31511
|
+
* ## Description
|
|
31512
|
+
* * The required parameters vary based on the types of resources whose prices you want to query.
|
|
31513
|
+
* * When the `ResourceType` parameter is set to instance, you must specify the `InstanceType` parameter.
|
|
31514
|
+
* * When the `ResourceType` parameter is set to disk, you must specify both the `DataDisk.1.Category` and `DataDisk.1.Size` parameters. When the `ResourceType` parameter is set to disk, only pay-as-you-go prices of cloud disks are returned. In this scenario, the `PriceUnit` parameter must be set to `Hour`.
|
|
31515
|
+
* * When the `ResourceType` parameter is set to ddh, you must specify the `DedicatedHostType` parameter.
|
|
31516
|
+
* * When the `ResourceType` parameter is set to ElasticityAssurance, you must specify the `InstanceType` parameter.
|
|
31517
|
+
* * When the `ResourceType` parameter is set to CapacityReservation, you must specify the `InstanceType` parameter.
|
|
31518
|
+
* * When the `ResourceType` parameter is set to bandwidth, only the pay-by-traffic (`PayByTraffic`) price for network usage is returned.
|
|
31519
|
+
* * When the `ResourceType` parameter is set to instance, the prices of up to four data disks can be queried.
|
|
31520
|
+
* * By default, the `ChargeType` parameter is set to `PostPaid`. You can specify the `PriceUnit` parameter to query the prices of ECS resources that have different billing cycles.
|
|
31521
|
+
*
|
|
31522
|
+
* @param request DescribePriceRequest
|
|
31523
|
+
* @return DescribePriceResponse
|
|
31524
|
+
*/
|
|
31233
31525
|
describePrice(request: DescribePriceRequest): Promise<DescribePriceResponse>;
|
|
31234
31526
|
describeRecommendInstanceTypeWithOptions(request: DescribeRecommendInstanceTypeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRecommendInstanceTypeResponse>;
|
|
31235
31527
|
describeRecommendInstanceType(request: DescribeRecommendInstanceTypeRequest): Promise<DescribeRecommendInstanceTypeResponse>;
|
|
@@ -31248,7 +31540,28 @@ export default class Client extends OpenApi {
|
|
|
31248
31540
|
* @return DescribeRegionsResponse
|
|
31249
31541
|
*/
|
|
31250
31542
|
describeRegions(request: DescribeRegionsRequest): Promise<DescribeRegionsResponse>;
|
|
31543
|
+
/**
|
|
31544
|
+
* ## Description
|
|
31545
|
+
* * You can call this operation to query the price for renewing a subscription instance for a specific period of time or to a synchronized expiration date.
|
|
31546
|
+
* * Take note of the following items:
|
|
31547
|
+
* * If you set only the required parameters, the price for renewing a specified instance for one month is queried by default.
|
|
31548
|
+
* * The renewal period-related parameter pair (`Period` and `PeriodUnit`) and the synchronized expiration date-related parameter (`ExpectedRenewDay`) are mutually exclusive. You cannot set these parameters together to query the prices for renewing a specified instance for a period of time and to a synchronized expiration date at the same time.
|
|
31549
|
+
*
|
|
31550
|
+
* @param request DescribeRenewalPriceRequest
|
|
31551
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
31552
|
+
* @return DescribeRenewalPriceResponse
|
|
31553
|
+
*/
|
|
31251
31554
|
describeRenewalPriceWithOptions(request: DescribeRenewalPriceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRenewalPriceResponse>;
|
|
31555
|
+
/**
|
|
31556
|
+
* ## Description
|
|
31557
|
+
* * You can call this operation to query the price for renewing a subscription instance for a specific period of time or to a synchronized expiration date.
|
|
31558
|
+
* * Take note of the following items:
|
|
31559
|
+
* * If you set only the required parameters, the price for renewing a specified instance for one month is queried by default.
|
|
31560
|
+
* * The renewal period-related parameter pair (`Period` and `PeriodUnit`) and the synchronized expiration date-related parameter (`ExpectedRenewDay`) are mutually exclusive. You cannot set these parameters together to query the prices for renewing a specified instance for a period of time and to a synchronized expiration date at the same time.
|
|
31561
|
+
*
|
|
31562
|
+
* @param request DescribeRenewalPriceRequest
|
|
31563
|
+
* @return DescribeRenewalPriceResponse
|
|
31564
|
+
*/
|
|
31252
31565
|
describeRenewalPrice(request: DescribeRenewalPriceRequest): Promise<DescribeRenewalPriceResponse>;
|
|
31253
31566
|
describeReservedInstanceAutoRenewAttributeWithOptions(request: DescribeReservedInstanceAutoRenewAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeReservedInstanceAutoRenewAttributeResponse>;
|
|
31254
31567
|
describeReservedInstanceAutoRenewAttribute(request: DescribeReservedInstanceAutoRenewAttributeRequest): Promise<DescribeReservedInstanceAutoRenewAttributeResponse>;
|
|
@@ -31366,7 +31679,24 @@ export default class Client extends OpenApi {
|
|
|
31366
31679
|
* @return DescribeSnapshotGroupsResponse
|
|
31367
31680
|
*/
|
|
31368
31681
|
describeSnapshotGroups(request: DescribeSnapshotGroupsRequest): Promise<DescribeSnapshotGroupsResponse>;
|
|
31682
|
+
/**
|
|
31683
|
+
* When you call this operation, take note of the following items:
|
|
31684
|
+
* * You can specify multiple request parameters such as `RegionId`, `DiskIds`, and `InstanceId` to be queried. Specified parameters have logical AND relations.
|
|
31685
|
+
* * Only the specified parameters are used as filter conditions. If the `DiskIds` and `SnapshotLinkIds` parameters are set to empty JSON arrays, they are regarded as valid filter conditions and an empty result is returned.
|
|
31686
|
+
*
|
|
31687
|
+
* @param request DescribeSnapshotLinksRequest
|
|
31688
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
31689
|
+
* @return DescribeSnapshotLinksResponse
|
|
31690
|
+
*/
|
|
31369
31691
|
describeSnapshotLinksWithOptions(request: DescribeSnapshotLinksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSnapshotLinksResponse>;
|
|
31692
|
+
/**
|
|
31693
|
+
* When you call this operation, take note of the following items:
|
|
31694
|
+
* * You can specify multiple request parameters such as `RegionId`, `DiskIds`, and `InstanceId` to be queried. Specified parameters have logical AND relations.
|
|
31695
|
+
* * Only the specified parameters are used as filter conditions. If the `DiskIds` and `SnapshotLinkIds` parameters are set to empty JSON arrays, they are regarded as valid filter conditions and an empty result is returned.
|
|
31696
|
+
*
|
|
31697
|
+
* @param request DescribeSnapshotLinksRequest
|
|
31698
|
+
* @return DescribeSnapshotLinksResponse
|
|
31699
|
+
*/
|
|
31370
31700
|
describeSnapshotLinks(request: DescribeSnapshotLinksRequest): Promise<DescribeSnapshotLinksResponse>;
|
|
31371
31701
|
/**
|
|
31372
31702
|
* When you call this operation, take note of the following items:
|
|
@@ -31462,7 +31792,20 @@ export default class Client extends OpenApi {
|
|
|
31462
31792
|
describeStorageSetDetails(request: DescribeStorageSetDetailsRequest): Promise<DescribeStorageSetDetailsResponse>;
|
|
31463
31793
|
describeStorageSetsWithOptions(request: DescribeStorageSetsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeStorageSetsResponse>;
|
|
31464
31794
|
describeStorageSets(request: DescribeStorageSetsRequest): Promise<DescribeStorageSetsResponse>;
|
|
31795
|
+
/**
|
|
31796
|
+
* If a tag key is specified and no tag values are specified, all tags that contain the tag key are returned. If a tag key-value pair is specified, only tags that exactly match the key-value pair are returned.
|
|
31797
|
+
*
|
|
31798
|
+
* @param request DescribeTagsRequest
|
|
31799
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
31800
|
+
* @return DescribeTagsResponse
|
|
31801
|
+
*/
|
|
31465
31802
|
describeTagsWithOptions(request: DescribeTagsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTagsResponse>;
|
|
31803
|
+
/**
|
|
31804
|
+
* If a tag key is specified and no tag values are specified, all tags that contain the tag key are returned. If a tag key-value pair is specified, only tags that exactly match the key-value pair are returned.
|
|
31805
|
+
*
|
|
31806
|
+
* @param request DescribeTagsRequest
|
|
31807
|
+
* @return DescribeTagsResponse
|
|
31808
|
+
*/
|
|
31466
31809
|
describeTags(request: DescribeTagsRequest): Promise<DescribeTagsResponse>;
|
|
31467
31810
|
describeTaskAttributeWithOptions(request: DescribeTaskAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTaskAttributeResponse>;
|
|
31468
31811
|
describeTaskAttribute(request: DescribeTaskAttributeRequest): Promise<DescribeTaskAttributeResponse>;
|
|
@@ -31596,11 +31939,11 @@ export default class Client extends OpenApi {
|
|
|
31596
31939
|
detachClassicLinkVpc(request: DetachClassicLinkVpcRequest): Promise<DetachClassicLinkVpcResponse>;
|
|
31597
31940
|
/**
|
|
31598
31941
|
* When you call this operation, take note of the following items:
|
|
31599
|
-
* * The disk you want to detach must be in the `In_Use` state.
|
|
31600
|
-
* * The instance from which you want to detach a data disk must be in the `Running` or `Stopped`state
|
|
31601
|
-
* * The instance from which you want to detach the system disk must be in the `Stopped` state
|
|
31602
|
-
* * If the response contains `
|
|
31603
|
-
* * DetachDisk is an asynchronous operation. It takes about
|
|
31942
|
+
* * The disk that you want to detach must be in the In Use (`In_Use`) state.
|
|
31943
|
+
* * The instance from which you want to detach a data disk must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
31944
|
+
* * The instance from which you want to detach the system disk must be in the **Stopped** (`Stopped`) state.
|
|
31945
|
+
* * If the `OperationLocks` parameter in the response contains `"LockReason" : "security"` when you query the instance information, the instance is locked for security reasons and all operations do not take effect on the instance.
|
|
31946
|
+
* * DetachDisk is an asynchronous operation. It takes about 1 minute for a disk to be detached from an instance after the operation is called.
|
|
31604
31947
|
*
|
|
31605
31948
|
* @param request DetachDiskRequest
|
|
31606
31949
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31609,11 +31952,11 @@ export default class Client extends OpenApi {
|
|
|
31609
31952
|
detachDiskWithOptions(request: DetachDiskRequest, runtime: $Util.RuntimeOptions): Promise<DetachDiskResponse>;
|
|
31610
31953
|
/**
|
|
31611
31954
|
* When you call this operation, take note of the following items:
|
|
31612
|
-
* * The disk you want to detach must be in the `In_Use` state.
|
|
31613
|
-
* * The instance from which you want to detach a data disk must be in the `Running` or `Stopped`state
|
|
31614
|
-
* * The instance from which you want to detach the system disk must be in the `Stopped` state
|
|
31615
|
-
* * If the response contains `
|
|
31616
|
-
* * DetachDisk is an asynchronous operation. It takes about
|
|
31955
|
+
* * The disk that you want to detach must be in the In Use (`In_Use`) state.
|
|
31956
|
+
* * The instance from which you want to detach a data disk must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
31957
|
+
* * The instance from which you want to detach the system disk must be in the **Stopped** (`Stopped`) state.
|
|
31958
|
+
* * If the `OperationLocks` parameter in the response contains `"LockReason" : "security"` when you query the instance information, the instance is locked for security reasons and all operations do not take effect on the instance.
|
|
31959
|
+
* * DetachDisk is an asynchronous operation. It takes about 1 minute for a disk to be detached from an instance after the operation is called.
|
|
31617
31960
|
*
|
|
31618
31961
|
* @param request DetachDiskRequest
|
|
31619
31962
|
* @return DetachDiskResponse
|
|
@@ -31621,11 +31964,76 @@ export default class Client extends OpenApi {
|
|
|
31621
31964
|
detachDisk(request: DetachDiskRequest): Promise<DetachDiskResponse>;
|
|
31622
31965
|
detachInstanceRamRoleWithOptions(request: DetachInstanceRamRoleRequest, runtime: $Util.RuntimeOptions): Promise<DetachInstanceRamRoleResponse>;
|
|
31623
31966
|
detachInstanceRamRole(request: DetachInstanceRamRoleRequest): Promise<DetachInstanceRamRoleResponse>;
|
|
31967
|
+
/**
|
|
31968
|
+
* When you call this operation, take note of the following items:
|
|
31969
|
+
* * After you detach an SSH key pair from an instance, you must call the [RebootInstance](~~25502~~) operation to restart the instance for the detach operation to take effect.
|
|
31970
|
+
* * The username and password authentication method is automatically selected for an instance after you unbind an SSH key pair from the instance.
|
|
31971
|
+
*
|
|
31972
|
+
* @param request DetachKeyPairRequest
|
|
31973
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
31974
|
+
* @return DetachKeyPairResponse
|
|
31975
|
+
*/
|
|
31624
31976
|
detachKeyPairWithOptions(request: DetachKeyPairRequest, runtime: $Util.RuntimeOptions): Promise<DetachKeyPairResponse>;
|
|
31977
|
+
/**
|
|
31978
|
+
* When you call this operation, take note of the following items:
|
|
31979
|
+
* * After you detach an SSH key pair from an instance, you must call the [RebootInstance](~~25502~~) operation to restart the instance for the detach operation to take effect.
|
|
31980
|
+
* * The username and password authentication method is automatically selected for an instance after you unbind an SSH key pair from the instance.
|
|
31981
|
+
*
|
|
31982
|
+
* @param request DetachKeyPairRequest
|
|
31983
|
+
* @return DetachKeyPairResponse
|
|
31984
|
+
*/
|
|
31625
31985
|
detachKeyPair(request: DetachKeyPairRequest): Promise<DetachKeyPairResponse>;
|
|
31986
|
+
/**
|
|
31987
|
+
* ## Description
|
|
31988
|
+
* When you call this operation, take note of the following items:
|
|
31989
|
+
* * Primary ENIs cannot be detached from ECS instances.
|
|
31990
|
+
* * The ENI must be in the Detaching (Detaching) or InUse (InUse) state.
|
|
31991
|
+
* * The instance must be in the Running (Running) or Stopped (Stopped) state.
|
|
31992
|
+
* * This operation is an asynchronous operation. After this operation is called to detach an ENI, you can check the state or events of the ENI to determine whether the ENI is detached. The following figure shows the transitions between the states of the ENI.
|
|
31993
|
+
* 
|
|
31994
|
+
* * If the ENI is in the Detaching state, the ENI detachment request is sent and the ENI is being detached from its associated instance.
|
|
31995
|
+
* * If the ENI is in the Available state, the ENI is detached from its associated instance.
|
|
31996
|
+
* * If the ENI is stuck in the Detaching state, the ENI may fail to be detached from the associated instance due to specific reasons. For example, the ENI may fail to be detached because the operating system did not respond to the ENI detachment request. If this occurs, you can re-initiate the request to detach the ENI. If the problem persists, restart the instance.
|
|
31997
|
+
* **For information about examples on how to call this operation, see **[Detach an ENI](~~471551~~).
|
|
31998
|
+
*
|
|
31999
|
+
* @param request DetachNetworkInterfaceRequest
|
|
32000
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
32001
|
+
* @return DetachNetworkInterfaceResponse
|
|
32002
|
+
*/
|
|
31626
32003
|
detachNetworkInterfaceWithOptions(request: DetachNetworkInterfaceRequest, runtime: $Util.RuntimeOptions): Promise<DetachNetworkInterfaceResponse>;
|
|
32004
|
+
/**
|
|
32005
|
+
* ## Description
|
|
32006
|
+
* When you call this operation, take note of the following items:
|
|
32007
|
+
* * Primary ENIs cannot be detached from ECS instances.
|
|
32008
|
+
* * The ENI must be in the Detaching (Detaching) or InUse (InUse) state.
|
|
32009
|
+
* * The instance must be in the Running (Running) or Stopped (Stopped) state.
|
|
32010
|
+
* * This operation is an asynchronous operation. After this operation is called to detach an ENI, you can check the state or events of the ENI to determine whether the ENI is detached. The following figure shows the transitions between the states of the ENI.
|
|
32011
|
+
* 
|
|
32012
|
+
* * If the ENI is in the Detaching state, the ENI detachment request is sent and the ENI is being detached from its associated instance.
|
|
32013
|
+
* * If the ENI is in the Available state, the ENI is detached from its associated instance.
|
|
32014
|
+
* * If the ENI is stuck in the Detaching state, the ENI may fail to be detached from the associated instance due to specific reasons. For example, the ENI may fail to be detached because the operating system did not respond to the ENI detachment request. If this occurs, you can re-initiate the request to detach the ENI. If the problem persists, restart the instance.
|
|
32015
|
+
* **For information about examples on how to call this operation, see **[Detach an ENI](~~471551~~).
|
|
32016
|
+
*
|
|
32017
|
+
* @param request DetachNetworkInterfaceRequest
|
|
32018
|
+
* @return DetachNetworkInterfaceResponse
|
|
32019
|
+
*/
|
|
31627
32020
|
detachNetworkInterface(request: DetachNetworkInterfaceRequest): Promise<DetachNetworkInterfaceResponse>;
|
|
32021
|
+
/**
|
|
32022
|
+
* ## Description
|
|
32023
|
+
* To prevent an activation code from being leaked, you can call the DisableActivation operation to disable the activation code. Disabled activation codes cannot be used to register new managed instances. However, managed instances that are already registered are not affected.
|
|
32024
|
+
*
|
|
32025
|
+
* @param request DisableActivationRequest
|
|
32026
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
32027
|
+
* @return DisableActivationResponse
|
|
32028
|
+
*/
|
|
31628
32029
|
disableActivationWithOptions(request: DisableActivationRequest, runtime: $Util.RuntimeOptions): Promise<DisableActivationResponse>;
|
|
32030
|
+
/**
|
|
32031
|
+
* ## Description
|
|
32032
|
+
* To prevent an activation code from being leaked, you can call the DisableActivation operation to disable the activation code. Disabled activation codes cannot be used to register new managed instances. However, managed instances that are already registered are not affected.
|
|
32033
|
+
*
|
|
32034
|
+
* @param request DisableActivationRequest
|
|
32035
|
+
* @return DisableActivationResponse
|
|
32036
|
+
*/
|
|
31629
32037
|
disableActivation(request: DisableActivationRequest): Promise<DisableActivationResponse>;
|
|
31630
32038
|
/**
|
|
31631
32039
|
* @deprecated
|
|
@@ -31795,9 +32203,45 @@ export default class Client extends OpenApi {
|
|
|
31795
32203
|
* @return ExportSnapshotResponse
|
|
31796
32204
|
*/
|
|
31797
32205
|
exportSnapshot(request: ExportSnapshotRequest): Promise<ExportSnapshotResponse>;
|
|
31798
|
-
|
|
31799
|
-
|
|
32206
|
+
/**
|
|
32207
|
+
* * ECS is a virtualized cloud-based service and cannot be connected to display devices. However, Alibaba Cloud caches system command outputs for the last start, restart, or shutdown of ECS instances. You can call the GetInstanceConsoleOutput operation to obtain the command outputs.
|
|
32208
|
+
* * The command outputs of instances that use the retired instance types cannot be obtained. For more information, see [Retired instance types](~~55263~~).
|
|
32209
|
+
* * The command outputs of Windows instances cannot be obtained.
|
|
32210
|
+
*
|
|
32211
|
+
* @param request GetInstanceConsoleOutputRequest
|
|
32212
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
32213
|
+
* @return GetInstanceConsoleOutputResponse
|
|
32214
|
+
*/
|
|
32215
|
+
getInstanceConsoleOutputWithOptions(request: GetInstanceConsoleOutputRequest, runtime: $Util.RuntimeOptions): Promise<GetInstanceConsoleOutputResponse>;
|
|
32216
|
+
/**
|
|
32217
|
+
* * ECS is a virtualized cloud-based service and cannot be connected to display devices. However, Alibaba Cloud caches system command outputs for the last start, restart, or shutdown of ECS instances. You can call the GetInstanceConsoleOutput operation to obtain the command outputs.
|
|
32218
|
+
* * The command outputs of instances that use the retired instance types cannot be obtained. For more information, see [Retired instance types](~~55263~~).
|
|
32219
|
+
* * The command outputs of Windows instances cannot be obtained.
|
|
32220
|
+
*
|
|
32221
|
+
* @param request GetInstanceConsoleOutputRequest
|
|
32222
|
+
* @return GetInstanceConsoleOutputResponse
|
|
32223
|
+
*/
|
|
32224
|
+
getInstanceConsoleOutput(request: GetInstanceConsoleOutputRequest): Promise<GetInstanceConsoleOutputResponse>;
|
|
32225
|
+
/**
|
|
32226
|
+
* ECS returns an instance screenshot that is in the JPG format and encoded in Base64. You must manually decode the screenshot. We recommend that you call this operation for troubleshooting and diagnosis. When you call this operation, take note of the following items:
|
|
32227
|
+
* * The instance must be in the Running state.
|
|
32228
|
+
* * You cannot obtain screenshots of instances whose instance types have been retired. For more information, see [Retired instance types](~~55263~~).
|
|
32229
|
+
* * If you want to call this operation on the same instance multiple times, you must wait at least 10 seconds between each call. Otherwise, the `Throttling` error code is returned.
|
|
32230
|
+
*
|
|
32231
|
+
* @param request GetInstanceScreenshotRequest
|
|
32232
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
32233
|
+
* @return GetInstanceScreenshotResponse
|
|
32234
|
+
*/
|
|
31800
32235
|
getInstanceScreenshotWithOptions(request: GetInstanceScreenshotRequest, runtime: $Util.RuntimeOptions): Promise<GetInstanceScreenshotResponse>;
|
|
32236
|
+
/**
|
|
32237
|
+
* ECS returns an instance screenshot that is in the JPG format and encoded in Base64. You must manually decode the screenshot. We recommend that you call this operation for troubleshooting and diagnosis. When you call this operation, take note of the following items:
|
|
32238
|
+
* * The instance must be in the Running state.
|
|
32239
|
+
* * You cannot obtain screenshots of instances whose instance types have been retired. For more information, see [Retired instance types](~~55263~~).
|
|
32240
|
+
* * If you want to call this operation on the same instance multiple times, you must wait at least 10 seconds between each call. Otherwise, the `Throttling` error code is returned.
|
|
32241
|
+
*
|
|
32242
|
+
* @param request GetInstanceScreenshotRequest
|
|
32243
|
+
* @return GetInstanceScreenshotResponse
|
|
32244
|
+
*/
|
|
31801
32245
|
getInstanceScreenshot(request: GetInstanceScreenshotRequest): Promise<GetInstanceScreenshotResponse>;
|
|
31802
32246
|
/**
|
|
31803
32247
|
* When you call this operation, take note of the following items:
|
|
@@ -31912,7 +32356,48 @@ export default class Client extends OpenApi {
|
|
|
31912
32356
|
* @return ImportImageResponse
|
|
31913
32357
|
*/
|
|
31914
32358
|
importImage(request: ImportImageRequest): Promise<ImportImageResponse>;
|
|
32359
|
+
/**
|
|
32360
|
+
* When you call this operation, take note of the following items:
|
|
32361
|
+
* * A maximum of 500 key pairs can be created in each region.
|
|
32362
|
+
* * The key pair that you wan to import must support one of the following encryption methods:
|
|
32363
|
+
* * rsa
|
|
32364
|
+
* * dsa
|
|
32365
|
+
* * ssh-rsa
|
|
32366
|
+
* * ssh-dss
|
|
32367
|
+
* * ecdsa
|
|
32368
|
+
* * ssh-rsa-cert-v00@openssh.com
|
|
32369
|
+
* * ssh-dss-cert-v00@openssh.com
|
|
32370
|
+
* * ssh-rsa-cert-v01@openssh.com
|
|
32371
|
+
* * ssh-dss-cert-v01@openssh.com
|
|
32372
|
+
* * ecdsa-sha2-nistp256-cert-v01@openssh.com
|
|
32373
|
+
* * ecdsa-sha2-nistp384-cert-v01@openssh.com
|
|
32374
|
+
* * ecdsa-sha2-nistp521-cert-v01@openssh.com
|
|
32375
|
+
*
|
|
32376
|
+
* @param request ImportKeyPairRequest
|
|
32377
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
32378
|
+
* @return ImportKeyPairResponse
|
|
32379
|
+
*/
|
|
31915
32380
|
importKeyPairWithOptions(request: ImportKeyPairRequest, runtime: $Util.RuntimeOptions): Promise<ImportKeyPairResponse>;
|
|
32381
|
+
/**
|
|
32382
|
+
* When you call this operation, take note of the following items:
|
|
32383
|
+
* * A maximum of 500 key pairs can be created in each region.
|
|
32384
|
+
* * The key pair that you wan to import must support one of the following encryption methods:
|
|
32385
|
+
* * rsa
|
|
32386
|
+
* * dsa
|
|
32387
|
+
* * ssh-rsa
|
|
32388
|
+
* * ssh-dss
|
|
32389
|
+
* * ecdsa
|
|
32390
|
+
* * ssh-rsa-cert-v00@openssh.com
|
|
32391
|
+
* * ssh-dss-cert-v00@openssh.com
|
|
32392
|
+
* * ssh-rsa-cert-v01@openssh.com
|
|
32393
|
+
* * ssh-dss-cert-v01@openssh.com
|
|
32394
|
+
* * ecdsa-sha2-nistp256-cert-v01@openssh.com
|
|
32395
|
+
* * ecdsa-sha2-nistp384-cert-v01@openssh.com
|
|
32396
|
+
* * ecdsa-sha2-nistp521-cert-v01@openssh.com
|
|
32397
|
+
*
|
|
32398
|
+
* @param request ImportKeyPairRequest
|
|
32399
|
+
* @return ImportKeyPairResponse
|
|
32400
|
+
*/
|
|
31916
32401
|
importKeyPair(request: ImportKeyPairRequest): Promise<ImportKeyPairResponse>;
|
|
31917
32402
|
/**
|
|
31918
32403
|
* @deprecated
|
|
@@ -31944,11 +32429,94 @@ export default class Client extends OpenApi {
|
|
|
31944
32429
|
* @return InstallCloudAssistantResponse
|
|
31945
32430
|
*/
|
|
31946
32431
|
installCloudAssistant(request: InstallCloudAssistantRequest): Promise<InstallCloudAssistantResponse>;
|
|
32432
|
+
/**
|
|
32433
|
+
* * The ECS instances on which you want to run the Cloud Assistant command must meet the following requirements. If you specify multiple ECS instances and one of the instances does not meet the requirements to run the command, the call fails. Specify instances that meet the requirements and call the InvokeCommand operation again.
|
|
32434
|
+
* * The network type is virtual private cloud (VPC). For more information, see [What is a VPC?](~~34217~~)
|
|
32435
|
+
* * The instances are in the Running (`Running`) state.
|
|
32436
|
+
* * The Cloud Assistant client is installed on the instances. For more information, see [Install the Cloud Assistant client](~~64921~~).
|
|
32437
|
+
* * Before you run PowerShell commands, make sure that the PowerShell module is configured for the instances.
|
|
32438
|
+
* * If you set the `Timed` parameter to false, the command is run only once.
|
|
32439
|
+
* * If you set the `Timed` parameter to true, the command is run on a schedule.
|
|
32440
|
+
* * The schedule is specified by the `Frequency` parameter. The execution results of a command do not affect the next command execution.
|
|
32441
|
+
* * If you want to specify a schedule by using a cron expression, you can specify a time zone based on your business requirements. If you do not specify a time zone, the schedule is determined by the system time of the instance. Make sure that the time or time zone of the instance meets your business requirements. For more information, see [Configure the NTP service and time zone for Linux instances](~~92803~~) or [Configure the NTP service for Windows instances](~~51890~~).
|
|
32442
|
+
* To ensure that scheduled tasks can run as expected, make sure that the version of the Cloud Assistant client is not earlier than the following versions. A scheduled task can run a command at a specified interval, only once at a specified time, or at specific times based on a cron expression that includes a specific year or time zone. If the `ClientNeedUpgrade` error code is returned, you must update the Cloud Assistant client to the latest version. For more information, see [Upgrade or disable upgrades for the Cloud Assistant client](~~134383~~).
|
|
32443
|
+
* - Linux: 2.2.3.282
|
|
32444
|
+
* - Windows: 2.1.3.282
|
|
32445
|
+
* * Command executions may fail due to instance status exceptions, network exceptions, or exceptions on the Cloud Assistant client. If an execution fails, no execution information is generated.
|
|
32446
|
+
* * If you enable the custom parameter feature by setting the EnableParameter parameter to true when you create a command, you must specify custom parameters (`Parameters`) when you run the command.
|
|
32447
|
+
*
|
|
32448
|
+
* @param tmpReq InvokeCommandRequest
|
|
32449
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
32450
|
+
* @return InvokeCommandResponse
|
|
32451
|
+
*/
|
|
31947
32452
|
invokeCommandWithOptions(tmpReq: InvokeCommandRequest, runtime: $Util.RuntimeOptions): Promise<InvokeCommandResponse>;
|
|
32453
|
+
/**
|
|
32454
|
+
* * The ECS instances on which you want to run the Cloud Assistant command must meet the following requirements. If you specify multiple ECS instances and one of the instances does not meet the requirements to run the command, the call fails. Specify instances that meet the requirements and call the InvokeCommand operation again.
|
|
32455
|
+
* * The network type is virtual private cloud (VPC). For more information, see [What is a VPC?](~~34217~~)
|
|
32456
|
+
* * The instances are in the Running (`Running`) state.
|
|
32457
|
+
* * The Cloud Assistant client is installed on the instances. For more information, see [Install the Cloud Assistant client](~~64921~~).
|
|
32458
|
+
* * Before you run PowerShell commands, make sure that the PowerShell module is configured for the instances.
|
|
32459
|
+
* * If you set the `Timed` parameter to false, the command is run only once.
|
|
32460
|
+
* * If you set the `Timed` parameter to true, the command is run on a schedule.
|
|
32461
|
+
* * The schedule is specified by the `Frequency` parameter. The execution results of a command do not affect the next command execution.
|
|
32462
|
+
* * If you want to specify a schedule by using a cron expression, you can specify a time zone based on your business requirements. If you do not specify a time zone, the schedule is determined by the system time of the instance. Make sure that the time or time zone of the instance meets your business requirements. For more information, see [Configure the NTP service and time zone for Linux instances](~~92803~~) or [Configure the NTP service for Windows instances](~~51890~~).
|
|
32463
|
+
* To ensure that scheduled tasks can run as expected, make sure that the version of the Cloud Assistant client is not earlier than the following versions. A scheduled task can run a command at a specified interval, only once at a specified time, or at specific times based on a cron expression that includes a specific year or time zone. If the `ClientNeedUpgrade` error code is returned, you must update the Cloud Assistant client to the latest version. For more information, see [Upgrade or disable upgrades for the Cloud Assistant client](~~134383~~).
|
|
32464
|
+
* - Linux: 2.2.3.282
|
|
32465
|
+
* - Windows: 2.1.3.282
|
|
32466
|
+
* * Command executions may fail due to instance status exceptions, network exceptions, or exceptions on the Cloud Assistant client. If an execution fails, no execution information is generated.
|
|
32467
|
+
* * If you enable the custom parameter feature by setting the EnableParameter parameter to true when you create a command, you must specify custom parameters (`Parameters`) when you run the command.
|
|
32468
|
+
*
|
|
32469
|
+
* @param request InvokeCommandRequest
|
|
32470
|
+
* @return InvokeCommandResponse
|
|
32471
|
+
*/
|
|
31948
32472
|
invokeCommand(request: InvokeCommandRequest): Promise<InvokeCommandResponse>;
|
|
32473
|
+
/**
|
|
32474
|
+
* A resource is a cloud service entity that you create in Alibaba Cloud, such as an ECS instance, elastic network interface (ENI), or image. A resource group is a collection of infrastructure for projects, environments, or stacks. In a resource group, you can manage resources and monitor and run tasks in a centralized manner without switching between Alibaba Cloud services.
|
|
32475
|
+
*
|
|
32476
|
+
* @param request JoinResourceGroupRequest
|
|
32477
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
32478
|
+
* @return JoinResourceGroupResponse
|
|
32479
|
+
*/
|
|
31949
32480
|
joinResourceGroupWithOptions(request: JoinResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<JoinResourceGroupResponse>;
|
|
32481
|
+
/**
|
|
32482
|
+
* A resource is a cloud service entity that you create in Alibaba Cloud, such as an ECS instance, elastic network interface (ENI), or image. A resource group is a collection of infrastructure for projects, environments, or stacks. In a resource group, you can manage resources and monitor and run tasks in a centralized manner without switching between Alibaba Cloud services.
|
|
32483
|
+
*
|
|
32484
|
+
* @param request JoinResourceGroupRequest
|
|
32485
|
+
* @return JoinResourceGroupResponse
|
|
32486
|
+
*/
|
|
31950
32487
|
joinResourceGroup(request: JoinResourceGroupRequest): Promise<JoinResourceGroupResponse>;
|
|
32488
|
+
/**
|
|
32489
|
+
* > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](~~25503~~) operation to add instances to or remove instances from a security group, and call the [ModifyNetworkInterfaceAttribute](~~58513~~) operation to add ENIs to or remove ENIs from a security group.
|
|
32490
|
+
* When you call this operation, take note of the following items:
|
|
32491
|
+
* * Before you add an instance to a security group, the instance must be in the **Stopped** (Stopped) or **Running** (Running) state.
|
|
32492
|
+
* * An instance can be added to up to five security groups.
|
|
32493
|
+
* * To add an instance to more security groups, [submit a ticket](https://selfservice.console.aliyun.com/ticket/createIndex.htm). An instance can be added to up to 16 security groups.
|
|
32494
|
+
* *
|
|
32495
|
+
* * A basic security group can contain up to 2,000 instances. An advanced security group can contain up to 65,536 instances.
|
|
32496
|
+
* * The security group and the instance must belong to the same region.
|
|
32497
|
+
* * The security group and the instance must be of the same network type. If the network type is Virtual Private Cloud (VPC), the security group and the instance must be in the same VPC.
|
|
32498
|
+
* * An instance and an ENI cannot be added to a security group at the same time. You cannot specify the `InstanceId` and `NetworkInterfaceId` parameters at the same time.
|
|
32499
|
+
*
|
|
32500
|
+
* @param request JoinSecurityGroupRequest
|
|
32501
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
32502
|
+
* @return JoinSecurityGroupResponse
|
|
32503
|
+
*/
|
|
31951
32504
|
joinSecurityGroupWithOptions(request: JoinSecurityGroupRequest, runtime: $Util.RuntimeOptions): Promise<JoinSecurityGroupResponse>;
|
|
32505
|
+
/**
|
|
32506
|
+
* > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](~~25503~~) operation to add instances to or remove instances from a security group, and call the [ModifyNetworkInterfaceAttribute](~~58513~~) operation to add ENIs to or remove ENIs from a security group.
|
|
32507
|
+
* When you call this operation, take note of the following items:
|
|
32508
|
+
* * Before you add an instance to a security group, the instance must be in the **Stopped** (Stopped) or **Running** (Running) state.
|
|
32509
|
+
* * An instance can be added to up to five security groups.
|
|
32510
|
+
* * To add an instance to more security groups, [submit a ticket](https://selfservice.console.aliyun.com/ticket/createIndex.htm). An instance can be added to up to 16 security groups.
|
|
32511
|
+
* *
|
|
32512
|
+
* * A basic security group can contain up to 2,000 instances. An advanced security group can contain up to 65,536 instances.
|
|
32513
|
+
* * The security group and the instance must belong to the same region.
|
|
32514
|
+
* * The security group and the instance must be of the same network type. If the network type is Virtual Private Cloud (VPC), the security group and the instance must be in the same VPC.
|
|
32515
|
+
* * An instance and an ENI cannot be added to a security group at the same time. You cannot specify the `InstanceId` and `NetworkInterfaceId` parameters at the same time.
|
|
32516
|
+
*
|
|
32517
|
+
* @param request JoinSecurityGroupRequest
|
|
32518
|
+
* @return JoinSecurityGroupResponse
|
|
32519
|
+
*/
|
|
31952
32520
|
joinSecurityGroup(request: JoinSecurityGroupRequest): Promise<JoinSecurityGroupResponse>;
|
|
31953
32521
|
/**
|
|
31954
32522
|
* > This operation is not recommended. We recommend that you call the [ModifyInstanceAttribute](~~25503~~) operation to add instances to or remove instances from a security group, and call the [ModifyNetworkInterfaceAttribute](~~58513~~) operation to add ENIs to or remove ENIs from a security group.
|
|
@@ -31973,11 +32541,70 @@ export default class Client extends OpenApi {
|
|
|
31973
32541
|
* @return LeaveSecurityGroupResponse
|
|
31974
32542
|
*/
|
|
31975
32543
|
leaveSecurityGroup(request: LeaveSecurityGroupRequest): Promise<LeaveSecurityGroupResponse>;
|
|
32544
|
+
/**
|
|
32545
|
+
* Before you call this operation to query the states of Cloud Assistant plug-ins on ECS instances, make sure that the versions of the Cloud Assistant client installed on the instances are not earlier than the following ones:
|
|
32546
|
+
* - 2.2.3.344 for Linux instances
|
|
32547
|
+
* - 2.1.3.344 for Windows instances
|
|
32548
|
+
*
|
|
32549
|
+
* @param request ListPluginStatusRequest
|
|
32550
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
32551
|
+
* @return ListPluginStatusResponse
|
|
32552
|
+
*/
|
|
31976
32553
|
listPluginStatusWithOptions(request: ListPluginStatusRequest, runtime: $Util.RuntimeOptions): Promise<ListPluginStatusResponse>;
|
|
32554
|
+
/**
|
|
32555
|
+
* Before you call this operation to query the states of Cloud Assistant plug-ins on ECS instances, make sure that the versions of the Cloud Assistant client installed on the instances are not earlier than the following ones:
|
|
32556
|
+
* - 2.2.3.344 for Linux instances
|
|
32557
|
+
* - 2.1.3.344 for Windows instances
|
|
32558
|
+
*
|
|
32559
|
+
* @param request ListPluginStatusRequest
|
|
32560
|
+
* @return ListPluginStatusResponse
|
|
32561
|
+
*/
|
|
31977
32562
|
listPluginStatus(request: ListPluginStatusRequest): Promise<ListPluginStatusResponse>;
|
|
32563
|
+
/**
|
|
32564
|
+
* Specify at least one of the following parameters or parameter pairs in a request to determine a query object:
|
|
32565
|
+
* * `ResourceId.N`
|
|
32566
|
+
* * `Tag.N` parameter pair (`Tag.N.Key` and `Tag.N.Value`)
|
|
32567
|
+
* * `TagFilter.N`
|
|
32568
|
+
* If one of the following sets of request parameters is specified as filter conditions, only ECS resources that meet all of the specified filter conditions are returned:
|
|
32569
|
+
* * Set 1: `Tag.N.Key, Tag.N.Value`, and `ResourceId.N`
|
|
32570
|
+
* * Set 2: `TagFilter.N.TagKey, TagFilter.N.TagValues.N`, and `ResourceId.N`
|
|
32571
|
+
*
|
|
32572
|
+
* @param request ListTagResourcesRequest
|
|
32573
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
32574
|
+
* @return ListTagResourcesResponse
|
|
32575
|
+
*/
|
|
31978
32576
|
listTagResourcesWithOptions(request: ListTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse>;
|
|
32577
|
+
/**
|
|
32578
|
+
* Specify at least one of the following parameters or parameter pairs in a request to determine a query object:
|
|
32579
|
+
* * `ResourceId.N`
|
|
32580
|
+
* * `Tag.N` parameter pair (`Tag.N.Key` and `Tag.N.Value`)
|
|
32581
|
+
* * `TagFilter.N`
|
|
32582
|
+
* If one of the following sets of request parameters is specified as filter conditions, only ECS resources that meet all of the specified filter conditions are returned:
|
|
32583
|
+
* * Set 1: `Tag.N.Key, Tag.N.Value`, and `ResourceId.N`
|
|
32584
|
+
* * Set 2: `TagFilter.N.TagKey, TagFilter.N.TagValues.N`, and `ResourceId.N`
|
|
32585
|
+
*
|
|
32586
|
+
* @param request ListTagResourcesRequest
|
|
32587
|
+
* @return ListTagResourcesResponse
|
|
32588
|
+
*/
|
|
31979
32589
|
listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse>;
|
|
32590
|
+
/**
|
|
32591
|
+
* Before you call this operation, take note of the following items:
|
|
32592
|
+
* * If you modify the capacity or capacity-related settings of an auto provisioning group, the group executes a scheduling task once after the group is modified.
|
|
32593
|
+
* * You cannot modify an auto provisioning group when the group is being deleted.
|
|
32594
|
+
*
|
|
32595
|
+
* @param request ModifyAutoProvisioningGroupRequest
|
|
32596
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
32597
|
+
* @return ModifyAutoProvisioningGroupResponse
|
|
32598
|
+
*/
|
|
31980
32599
|
modifyAutoProvisioningGroupWithOptions(request: ModifyAutoProvisioningGroupRequest, runtime: $Util.RuntimeOptions): Promise<ModifyAutoProvisioningGroupResponse>;
|
|
32600
|
+
/**
|
|
32601
|
+
* Before you call this operation, take note of the following items:
|
|
32602
|
+
* * If you modify the capacity or capacity-related settings of an auto provisioning group, the group executes a scheduling task once after the group is modified.
|
|
32603
|
+
* * You cannot modify an auto provisioning group when the group is being deleted.
|
|
32604
|
+
*
|
|
32605
|
+
* @param request ModifyAutoProvisioningGroupRequest
|
|
32606
|
+
* @return ModifyAutoProvisioningGroupResponse
|
|
32607
|
+
*/
|
|
31981
32608
|
modifyAutoProvisioningGroup(request: ModifyAutoProvisioningGroupRequest): Promise<ModifyAutoProvisioningGroupResponse>;
|
|
31982
32609
|
/**
|
|
31983
32610
|
* @deprecated
|
|
@@ -32013,13 +32640,75 @@ export default class Client extends OpenApi {
|
|
|
32013
32640
|
modifyBandwidthPackageSpec(request: ModifyBandwidthPackageSpecRequest): Promise<ModifyBandwidthPackageSpecResponse>;
|
|
32014
32641
|
modifyCapacityReservationWithOptions(request: ModifyCapacityReservationRequest, runtime: $Util.RuntimeOptions): Promise<ModifyCapacityReservationResponse>;
|
|
32015
32642
|
modifyCapacityReservation(request: ModifyCapacityReservationRequest): Promise<ModifyCapacityReservationResponse>;
|
|
32643
|
+
/**
|
|
32644
|
+
* You can modify a command when it is being executed. After the command is modified, the new command content applies to subsequent executions.
|
|
32645
|
+
* You cannot modify the command type. For example, you cannot change a shell command (RunShellScript) to a batch command (RunBatScript).
|
|
32646
|
+
*
|
|
32647
|
+
* @param request ModifyCommandRequest
|
|
32648
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
32649
|
+
* @return ModifyCommandResponse
|
|
32650
|
+
*/
|
|
32016
32651
|
modifyCommandWithOptions(request: ModifyCommandRequest, runtime: $Util.RuntimeOptions): Promise<ModifyCommandResponse>;
|
|
32652
|
+
/**
|
|
32653
|
+
* You can modify a command when it is being executed. After the command is modified, the new command content applies to subsequent executions.
|
|
32654
|
+
* You cannot modify the command type. For example, you cannot change a shell command (RunShellScript) to a batch command (RunBatScript).
|
|
32655
|
+
*
|
|
32656
|
+
* @param request ModifyCommandRequest
|
|
32657
|
+
* @return ModifyCommandResponse
|
|
32658
|
+
*/
|
|
32017
32659
|
modifyCommand(request: ModifyCommandRequest): Promise<ModifyCommandResponse>;
|
|
32660
|
+
/**
|
|
32661
|
+
* ## Description
|
|
32662
|
+
* * All the Elastic Compute Service (ECS) instances that are hosted on a dedicated host must be in the Stopped (`Stopped`) state before you can modify the CPU overcommit ratio of the dedicated host.
|
|
32663
|
+
* * Modifications to the CPU overcommit ratio of a dedicated host do not affect the operation of the dedicated host. After the CPU overcommit ratio is modified, the number of allocated vCPUs on the dedicated host cannot exceed the new total number of vCPUs. Otherwise, ECS instances that use the excess vCPUs cannot start.
|
|
32664
|
+
*
|
|
32665
|
+
* @param request ModifyDedicatedHostAttributeRequest
|
|
32666
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
32667
|
+
* @return ModifyDedicatedHostAttributeResponse
|
|
32668
|
+
*/
|
|
32018
32669
|
modifyDedicatedHostAttributeWithOptions(request: ModifyDedicatedHostAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDedicatedHostAttributeResponse>;
|
|
32670
|
+
/**
|
|
32671
|
+
* ## Description
|
|
32672
|
+
* * All the Elastic Compute Service (ECS) instances that are hosted on a dedicated host must be in the Stopped (`Stopped`) state before you can modify the CPU overcommit ratio of the dedicated host.
|
|
32673
|
+
* * Modifications to the CPU overcommit ratio of a dedicated host do not affect the operation of the dedicated host. After the CPU overcommit ratio is modified, the number of allocated vCPUs on the dedicated host cannot exceed the new total number of vCPUs. Otherwise, ECS instances that use the excess vCPUs cannot start.
|
|
32674
|
+
*
|
|
32675
|
+
* @param request ModifyDedicatedHostAttributeRequest
|
|
32676
|
+
* @return ModifyDedicatedHostAttributeResponse
|
|
32677
|
+
*/
|
|
32019
32678
|
modifyDedicatedHostAttribute(request: ModifyDedicatedHostAttributeRequest): Promise<ModifyDedicatedHostAttributeResponse>;
|
|
32679
|
+
/**
|
|
32680
|
+
* The pay-as-you-go dedicated host is automatically released at the specified time. Make sure that the dedicated host is no longer needed and that its data is backed up.
|
|
32681
|
+
*
|
|
32682
|
+
* @param request ModifyDedicatedHostAutoReleaseTimeRequest
|
|
32683
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
32684
|
+
* @return ModifyDedicatedHostAutoReleaseTimeResponse
|
|
32685
|
+
*/
|
|
32020
32686
|
modifyDedicatedHostAutoReleaseTimeWithOptions(request: ModifyDedicatedHostAutoReleaseTimeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDedicatedHostAutoReleaseTimeResponse>;
|
|
32687
|
+
/**
|
|
32688
|
+
* The pay-as-you-go dedicated host is automatically released at the specified time. Make sure that the dedicated host is no longer needed and that its data is backed up.
|
|
32689
|
+
*
|
|
32690
|
+
* @param request ModifyDedicatedHostAutoReleaseTimeRequest
|
|
32691
|
+
* @return ModifyDedicatedHostAutoReleaseTimeResponse
|
|
32692
|
+
*/
|
|
32021
32693
|
modifyDedicatedHostAutoReleaseTime(request: ModifyDedicatedHostAutoReleaseTimeRequest): Promise<ModifyDedicatedHostAutoReleaseTimeResponse>;
|
|
32694
|
+
/**
|
|
32695
|
+
* ## Description
|
|
32696
|
+
* * If you enable auto-renewal for your subscription dedicated host, the dedicated host is automatically renewed nine days before expiration. The renewal fees are automatically paid at 08:00:00 (UTC+8). If the fees are not paid, they are paid at the same point in time the next day. Automatic payment stops after the fees are paid or after the dedicated host expires and is locked. Make sure that you have sufficient balance within your account.
|
|
32697
|
+
* * Subscription dedicated hosts can be automatically renewed along with the subscription Elastic Compute Service (ECS) instances hosted on the dedicated hosts. For more information, see the description of the AutoRenewWithEcs parameter.
|
|
32698
|
+
*
|
|
32699
|
+
* @param request ModifyDedicatedHostAutoRenewAttributeRequest
|
|
32700
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
32701
|
+
* @return ModifyDedicatedHostAutoRenewAttributeResponse
|
|
32702
|
+
*/
|
|
32022
32703
|
modifyDedicatedHostAutoRenewAttributeWithOptions(request: ModifyDedicatedHostAutoRenewAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDedicatedHostAutoRenewAttributeResponse>;
|
|
32704
|
+
/**
|
|
32705
|
+
* ## Description
|
|
32706
|
+
* * If you enable auto-renewal for your subscription dedicated host, the dedicated host is automatically renewed nine days before expiration. The renewal fees are automatically paid at 08:00:00 (UTC+8). If the fees are not paid, they are paid at the same point in time the next day. Automatic payment stops after the fees are paid or after the dedicated host expires and is locked. Make sure that you have sufficient balance within your account.
|
|
32707
|
+
* * Subscription dedicated hosts can be automatically renewed along with the subscription Elastic Compute Service (ECS) instances hosted on the dedicated hosts. For more information, see the description of the AutoRenewWithEcs parameter.
|
|
32708
|
+
*
|
|
32709
|
+
* @param request ModifyDedicatedHostAutoRenewAttributeRequest
|
|
32710
|
+
* @return ModifyDedicatedHostAutoRenewAttributeResponse
|
|
32711
|
+
*/
|
|
32023
32712
|
modifyDedicatedHostAutoRenewAttribute(request: ModifyDedicatedHostAutoRenewAttributeRequest): Promise<ModifyDedicatedHostAutoRenewAttributeResponse>;
|
|
32024
32713
|
modifyDedicatedHostClusterAttributeWithOptions(request: ModifyDedicatedHostClusterAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDedicatedHostClusterAttributeResponse>;
|
|
32025
32714
|
modifyDedicatedHostClusterAttribute(request: ModifyDedicatedHostClusterAttributeRequest): Promise<ModifyDedicatedHostClusterAttributeResponse>;
|
|
@@ -32063,8 +32752,39 @@ export default class Client extends OpenApi {
|
|
|
32063
32752
|
* @return ModifyDiskAttributeResponse
|
|
32064
32753
|
*/
|
|
32065
32754
|
modifyDiskAttribute(request: ModifyDiskAttributeRequest): Promise<ModifyDiskAttributeResponse>;
|
|
32755
|
+
/**
|
|
32756
|
+
* After you change the billing method, the payment (if any) is automatically completed. Maintain a sufficient account balance. Otherwise, your order becomes invalid and is canceled. If your account balance is insufficient, you can set the AutoPay parameter to false to generate an unpaid order. Then, you can log on to the [ECS console](https://ecs.console.aliyun.com/) to pay for the order.
|
|
32757
|
+
* When you call this operation, take note of the following items:
|
|
32758
|
+
* * You can change the billing method from subscription to pay-as-you-go for disks that are attached to a subscription instance.
|
|
32759
|
+
* * You can change the billing method from pay-as-you-go to subscription for data disks that are attached to a subscription or pay-as-you-go instance.
|
|
32760
|
+
* * The instance cannot be in the Stopped state due to overdue payments.
|
|
32761
|
+
* * You can change the billing method of each disk up to three times. Up to three refunds can be made for the price differences for each disk.
|
|
32762
|
+
* * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are not refundable.
|
|
32763
|
+
* * You cannot change the billing method again within 5 minutes of a successful change.
|
|
32764
|
+
* * The billing method of disks with the multi-attach feature enabled must be pay-as-you-go and cannot be changed to subscription.
|
|
32765
|
+
*
|
|
32766
|
+
* @param request ModifyDiskChargeTypeRequest
|
|
32767
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
32768
|
+
* @return ModifyDiskChargeTypeResponse
|
|
32769
|
+
*/
|
|
32066
32770
|
modifyDiskChargeTypeWithOptions(request: ModifyDiskChargeTypeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDiskChargeTypeResponse>;
|
|
32771
|
+
/**
|
|
32772
|
+
* After you change the billing method, the payment (if any) is automatically completed. Maintain a sufficient account balance. Otherwise, your order becomes invalid and is canceled. If your account balance is insufficient, you can set the AutoPay parameter to false to generate an unpaid order. Then, you can log on to the [ECS console](https://ecs.console.aliyun.com/) to pay for the order.
|
|
32773
|
+
* When you call this operation, take note of the following items:
|
|
32774
|
+
* * You can change the billing method from subscription to pay-as-you-go for disks that are attached to a subscription instance.
|
|
32775
|
+
* * You can change the billing method from pay-as-you-go to subscription for data disks that are attached to a subscription or pay-as-you-go instance.
|
|
32776
|
+
* * The instance cannot be in the Stopped state due to overdue payments.
|
|
32777
|
+
* * You can change the billing method of each disk up to three times. Up to three refunds can be made for the price differences for each disk.
|
|
32778
|
+
* * The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are not refundable.
|
|
32779
|
+
* * You cannot change the billing method again within 5 minutes of a successful change.
|
|
32780
|
+
* * The billing method of disks with the multi-attach feature enabled must be pay-as-you-go and cannot be changed to subscription.
|
|
32781
|
+
*
|
|
32782
|
+
* @param request ModifyDiskChargeTypeRequest
|
|
32783
|
+
* @return ModifyDiskChargeTypeResponse
|
|
32784
|
+
*/
|
|
32067
32785
|
modifyDiskChargeType(request: ModifyDiskChargeTypeRequest): Promise<ModifyDiskChargeTypeResponse>;
|
|
32786
|
+
modifyDiskDeploymentWithOptions(request: ModifyDiskDeploymentRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDiskDeploymentResponse>;
|
|
32787
|
+
modifyDiskDeployment(request: ModifyDiskDeploymentRequest): Promise<ModifyDiskDeploymentResponse>;
|
|
32068
32788
|
/**
|
|
32069
32789
|
* ## Description
|
|
32070
32790
|
* When you call this operation, take note of the following items:
|
|
@@ -32199,16 +32919,87 @@ export default class Client extends OpenApi {
|
|
|
32199
32919
|
* @return ModifyImageSharePermissionResponse
|
|
32200
32920
|
*/
|
|
32201
32921
|
modifyImageSharePermission(request: ModifyImageSharePermissionRequest): Promise<ModifyImageSharePermissionResponse>;
|
|
32922
|
+
/**
|
|
32923
|
+
* A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with information about instances that are created by using the private pool. You can also use a private pool when you create an ECS instance, so that the instance can be matched to the elasticity assurance or capacity reservation associated with the private pool.
|
|
32924
|
+
* * After you call this operation to modify the attributes of the private pool for an instance, you do not need to restart the instance.
|
|
32925
|
+
* * When you call the following operations, the system rematches the instance with private pools. If the instance already matches a specified private pool, the call to an operation may fail when the private pool capacity is used up or because the private pool expires. If the call fails, call the ModifyInstanceAttachmentAttributes operation to change the match mode of the private pool to `Open`.
|
|
32926
|
+
* * StartInstance
|
|
32927
|
+
* * ReActivateInstances
|
|
32928
|
+
* * ModifyInstanceChargeType
|
|
32929
|
+
* * ModifyPrepayInstanceSpec
|
|
32930
|
+
* * ReplaceSystemDisk
|
|
32931
|
+
*
|
|
32932
|
+
* @param request ModifyInstanceAttachmentAttributesRequest
|
|
32933
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
32934
|
+
* @return ModifyInstanceAttachmentAttributesResponse
|
|
32935
|
+
*/
|
|
32202
32936
|
modifyInstanceAttachmentAttributesWithOptions(request: ModifyInstanceAttachmentAttributesRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceAttachmentAttributesResponse>;
|
|
32937
|
+
/**
|
|
32938
|
+
* A private pool is generated after an elasticity assurance or a capacity reservation is created. The private pool is associated with information about instances that are created by using the private pool. You can also use a private pool when you create an ECS instance, so that the instance can be matched to the elasticity assurance or capacity reservation associated with the private pool.
|
|
32939
|
+
* * After you call this operation to modify the attributes of the private pool for an instance, you do not need to restart the instance.
|
|
32940
|
+
* * When you call the following operations, the system rematches the instance with private pools. If the instance already matches a specified private pool, the call to an operation may fail when the private pool capacity is used up or because the private pool expires. If the call fails, call the ModifyInstanceAttachmentAttributes operation to change the match mode of the private pool to `Open`.
|
|
32941
|
+
* * StartInstance
|
|
32942
|
+
* * ReActivateInstances
|
|
32943
|
+
* * ModifyInstanceChargeType
|
|
32944
|
+
* * ModifyPrepayInstanceSpec
|
|
32945
|
+
* * ReplaceSystemDisk
|
|
32946
|
+
*
|
|
32947
|
+
* @param request ModifyInstanceAttachmentAttributesRequest
|
|
32948
|
+
* @return ModifyInstanceAttachmentAttributesResponse
|
|
32949
|
+
*/
|
|
32203
32950
|
modifyInstanceAttachmentAttributes(request: ModifyInstanceAttachmentAttributesRequest): Promise<ModifyInstanceAttachmentAttributesResponse>;
|
|
32951
|
+
/**
|
|
32952
|
+
* If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of an instance, the instance is locked for security reasons and all operations are prohibited on it.
|
|
32953
|
+
* When you call this operation, take note of the following items:
|
|
32954
|
+
* * Modify the hostname (`HostName`): After the hostname is modified, you must restart the instance by performing the operations described in [Restart an instance](~~25440~~) in the ECS console or by calling the [RebootInstance](~~25502~~) operation for the new hostname to take effect. The new hostname does not take effect if you restart the instance from within the operating system.
|
|
32955
|
+
* * Reset the password (`Password`):
|
|
32956
|
+
* * The instance must not be in the **Starting** (`Starting`) state.
|
|
32957
|
+
* * After the password is reset, you must restart the instance by performing the operations described in [Restart an instance](~~25440~~) in the ECS console or by calling the [RebootInstance](~~25502~~) operation for the new password to take effect. The new password does not take effect if you restart the instance from within the operating system.
|
|
32958
|
+
* * Modify user data (`UserData`):
|
|
32959
|
+
* * The instance must be in the **Stopped** (`Stopped`) state.
|
|
32960
|
+
* * The instance must meet the conditions on user data. For more information, see [Overview of ECS instance user data](~~49121~~).
|
|
32961
|
+
* * Change the security group (`SecurityGroupIds.N`):
|
|
32962
|
+
* * You can move an instance to a security group of a different type. Before you move an instance to a security group of a different type, we recommend that you evaluate the differences in rule configurations of the two security group types. This helps prevent business continuity issues when you switch security groups.
|
|
32963
|
+
* * Security groups of instances in the classic network cannot be changed. For more information, see the description of the `SecurityGroupIds.N` parameter.
|
|
32964
|
+
* * Modify the number of queues supported by the primary elastic network interface (ENI) (`NetworkInterfaceQueueNumber`):
|
|
32965
|
+
* * The instance must be in the Stopped (`Stopped`) state.
|
|
32966
|
+
* * The value of this parameter cannot exceed the maximum number of queues per ENI allowed for the instance type.
|
|
32967
|
+
* * The total number of queues for all ENIs on the instance cannot exceed the queue quota for the instance type. To obtain the maximum number of queues per ENI and the queue quota for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation to query the `MaximumQueueNumberPerEni` and `TotalEniQueueQuantity` parameters.
|
|
32968
|
+
* * If you set the NetworkInterfaceQueueNumber parameter to -1, the value is reset to the default value for the instance type. To obtain the default number of queues supported by the primary ENI for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation to query the `PrimaryEniQueueNumber` parameter.
|
|
32969
|
+
*
|
|
32970
|
+
* @param request ModifyInstanceAttributeRequest
|
|
32971
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
32972
|
+
* @return ModifyInstanceAttributeResponse
|
|
32973
|
+
*/
|
|
32204
32974
|
modifyInstanceAttributeWithOptions(request: ModifyInstanceAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceAttributeResponse>;
|
|
32975
|
+
/**
|
|
32976
|
+
* If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of an instance, the instance is locked for security reasons and all operations are prohibited on it.
|
|
32977
|
+
* When you call this operation, take note of the following items:
|
|
32978
|
+
* * Modify the hostname (`HostName`): After the hostname is modified, you must restart the instance by performing the operations described in [Restart an instance](~~25440~~) in the ECS console or by calling the [RebootInstance](~~25502~~) operation for the new hostname to take effect. The new hostname does not take effect if you restart the instance from within the operating system.
|
|
32979
|
+
* * Reset the password (`Password`):
|
|
32980
|
+
* * The instance must not be in the **Starting** (`Starting`) state.
|
|
32981
|
+
* * After the password is reset, you must restart the instance by performing the operations described in [Restart an instance](~~25440~~) in the ECS console or by calling the [RebootInstance](~~25502~~) operation for the new password to take effect. The new password does not take effect if you restart the instance from within the operating system.
|
|
32982
|
+
* * Modify user data (`UserData`):
|
|
32983
|
+
* * The instance must be in the **Stopped** (`Stopped`) state.
|
|
32984
|
+
* * The instance must meet the conditions on user data. For more information, see [Overview of ECS instance user data](~~49121~~).
|
|
32985
|
+
* * Change the security group (`SecurityGroupIds.N`):
|
|
32986
|
+
* * You can move an instance to a security group of a different type. Before you move an instance to a security group of a different type, we recommend that you evaluate the differences in rule configurations of the two security group types. This helps prevent business continuity issues when you switch security groups.
|
|
32987
|
+
* * Security groups of instances in the classic network cannot be changed. For more information, see the description of the `SecurityGroupIds.N` parameter.
|
|
32988
|
+
* * Modify the number of queues supported by the primary elastic network interface (ENI) (`NetworkInterfaceQueueNumber`):
|
|
32989
|
+
* * The instance must be in the Stopped (`Stopped`) state.
|
|
32990
|
+
* * The value of this parameter cannot exceed the maximum number of queues per ENI allowed for the instance type.
|
|
32991
|
+
* * The total number of queues for all ENIs on the instance cannot exceed the queue quota for the instance type. To obtain the maximum number of queues per ENI and the queue quota for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation to query the `MaximumQueueNumberPerEni` and `TotalEniQueueQuantity` parameters.
|
|
32992
|
+
* * If you set the NetworkInterfaceQueueNumber parameter to -1, the value is reset to the default value for the instance type. To obtain the default number of queues supported by the primary ENI for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation to query the `PrimaryEniQueueNumber` parameter.
|
|
32993
|
+
*
|
|
32994
|
+
* @param request ModifyInstanceAttributeRequest
|
|
32995
|
+
* @return ModifyInstanceAttributeResponse
|
|
32996
|
+
*/
|
|
32205
32997
|
modifyInstanceAttribute(request: ModifyInstanceAttributeRequest): Promise<ModifyInstanceAttributeResponse>;
|
|
32206
32998
|
modifyInstanceAutoReleaseTimeWithOptions(request: ModifyInstanceAutoReleaseTimeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceAutoReleaseTimeResponse>;
|
|
32207
32999
|
modifyInstanceAutoReleaseTime(request: ModifyInstanceAutoReleaseTimeRequest): Promise<ModifyInstanceAutoReleaseTimeResponse>;
|
|
32208
33000
|
/**
|
|
32209
|
-
* Before you call this operation, make sure that you
|
|
32210
|
-
* * The payment for auto-renewal is
|
|
32211
|
-
* * If the subscription period of a new instance is one week, the renewal payment is automatically deducted on the day the instance is created.
|
|
33001
|
+
* Before you call this operation, make sure that you are familiar with the billing methods and pricing schedule of Elastic Compute Service (ECS). For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
|
|
33002
|
+
* * The payment for auto-renewal is deducted automatically at 08:00:00 (UTC+8) nine days before the instance expires.
|
|
32212
33003
|
* * If the first deduction attempt fails, Alibaba Cloud attempts to deduct the payment each day until the payment is deducted or until the instance is locked after the nine-day period ends. Make sure that your account balance or credit balance is sufficient.
|
|
32213
33004
|
*
|
|
32214
33005
|
* @param request ModifyInstanceAutoRenewAttributeRequest
|
|
@@ -32217,16 +33008,48 @@ export default class Client extends OpenApi {
|
|
|
32217
33008
|
*/
|
|
32218
33009
|
modifyInstanceAutoRenewAttributeWithOptions(request: ModifyInstanceAutoRenewAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceAutoRenewAttributeResponse>;
|
|
32219
33010
|
/**
|
|
32220
|
-
* Before you call this operation, make sure that you
|
|
32221
|
-
* * The payment for auto-renewal is
|
|
32222
|
-
* * If the subscription period of a new instance is one week, the renewal payment is automatically deducted on the day the instance is created.
|
|
33011
|
+
* Before you call this operation, make sure that you are familiar with the billing methods and pricing schedule of Elastic Compute Service (ECS). For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
|
|
33012
|
+
* * The payment for auto-renewal is deducted automatically at 08:00:00 (UTC+8) nine days before the instance expires.
|
|
32223
33013
|
* * If the first deduction attempt fails, Alibaba Cloud attempts to deduct the payment each day until the payment is deducted or until the instance is locked after the nine-day period ends. Make sure that your account balance or credit balance is sufficient.
|
|
32224
33014
|
*
|
|
32225
33015
|
* @param request ModifyInstanceAutoRenewAttributeRequest
|
|
32226
33016
|
* @return ModifyInstanceAutoRenewAttributeResponse
|
|
32227
33017
|
*/
|
|
32228
33018
|
modifyInstanceAutoRenewAttribute(request: ModifyInstanceAutoRenewAttributeRequest): Promise<ModifyInstanceAutoRenewAttributeResponse>;
|
|
33019
|
+
/**
|
|
33020
|
+
* Before you call this operation, make sure that you are familiar with the billing methods and pricing of ECS. For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
|
|
33021
|
+
* When you call this operation, take note of the following items:
|
|
33022
|
+
* * The instances must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state, and you cannot have overdue payments associated with them.
|
|
33023
|
+
* * After you change the billing method, the payment (if any) is automatically completed. Make sure that the balance in your account is sufficient. Otherwise, your order becomes invalid and is canceled. If your account balance is insufficient, you can set the `AutoPay` parameter to `false` to generate an unpaid order. Then, you can log on to the [ECS console](https://ecs.console.aliyun.com/) to pay for the order.
|
|
33024
|
+
* * **Change the billing method from subscription to pay-as-you-go**:
|
|
33025
|
+
* * Your ECS usage determines whether the billing method of an instance can be changed from subscription to pay-as-you-go.
|
|
33026
|
+
* * After you change the billing method of an instance from subscription to pay-as-you-go, the new billing method remains in effect for the remaining lifecycle of the instance. The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are not refundable.
|
|
33027
|
+
* * **Refund rule**: You have a quota for the total refund amount each month, and the unused balance of this quota is not carried over to the next month. If you use up the refund quota of the current month, you can change the billing method only in the next month. The refund amount incurred after you change the billing method is calculated based on the following formula: **Number of vCPUs × (Number of remaining days × 24 ± Number of remaining or elapsed hours)**.
|
|
33028
|
+
* * **Change the billing method from pay-as-you-go to subscription**:
|
|
33029
|
+
* * You can change the billing method of all data disks that are attached to an instance from pay-as-you-go to subscription.
|
|
33030
|
+
* * This operation cannot be called for a pay-as-you-go instance that has an automatic release time set.
|
|
33031
|
+
*
|
|
33032
|
+
* @param request ModifyInstanceChargeTypeRequest
|
|
33033
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33034
|
+
* @return ModifyInstanceChargeTypeResponse
|
|
33035
|
+
*/
|
|
32229
33036
|
modifyInstanceChargeTypeWithOptions(request: ModifyInstanceChargeTypeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceChargeTypeResponse>;
|
|
33037
|
+
/**
|
|
33038
|
+
* Before you call this operation, make sure that you are familiar with the billing methods and pricing of ECS. For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
|
|
33039
|
+
* When you call this operation, take note of the following items:
|
|
33040
|
+
* * The instances must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state, and you cannot have overdue payments associated with them.
|
|
33041
|
+
* * After you change the billing method, the payment (if any) is automatically completed. Make sure that the balance in your account is sufficient. Otherwise, your order becomes invalid and is canceled. If your account balance is insufficient, you can set the `AutoPay` parameter to `false` to generate an unpaid order. Then, you can log on to the [ECS console](https://ecs.console.aliyun.com/) to pay for the order.
|
|
33042
|
+
* * **Change the billing method from subscription to pay-as-you-go**:
|
|
33043
|
+
* * Your ECS usage determines whether the billing method of an instance can be changed from subscription to pay-as-you-go.
|
|
33044
|
+
* * After you change the billing method of an instance from subscription to pay-as-you-go, the new billing method remains in effect for the remaining lifecycle of the instance. The price difference is refunded to the payment account that you used. Vouchers that have been redeemed are not refundable.
|
|
33045
|
+
* * **Refund rule**: You have a quota for the total refund amount each month, and the unused balance of this quota is not carried over to the next month. If you use up the refund quota of the current month, you can change the billing method only in the next month. The refund amount incurred after you change the billing method is calculated based on the following formula: **Number of vCPUs × (Number of remaining days × 24 ± Number of remaining or elapsed hours)**.
|
|
33046
|
+
* * **Change the billing method from pay-as-you-go to subscription**:
|
|
33047
|
+
* * You can change the billing method of all data disks that are attached to an instance from pay-as-you-go to subscription.
|
|
33048
|
+
* * This operation cannot be called for a pay-as-you-go instance that has an automatic release time set.
|
|
33049
|
+
*
|
|
33050
|
+
* @param request ModifyInstanceChargeTypeRequest
|
|
33051
|
+
* @return ModifyInstanceChargeTypeResponse
|
|
33052
|
+
*/
|
|
32230
33053
|
modifyInstanceChargeType(request: ModifyInstanceChargeTypeRequest): Promise<ModifyInstanceChargeTypeResponse>;
|
|
32231
33054
|
/**
|
|
32232
33055
|
* When you call this operation for an ECS instance, take note of the following items:
|
|
@@ -32255,7 +33078,24 @@ export default class Client extends OpenApi {
|
|
|
32255
33078
|
* @return ModifyInstanceDeploymentResponse
|
|
32256
33079
|
*/
|
|
32257
33080
|
modifyInstanceDeployment(request: ModifyInstanceDeploymentRequest): Promise<ModifyInstanceDeploymentResponse>;
|
|
33081
|
+
/**
|
|
33082
|
+
* This operation is used to modify the maintenance policy of an instance. The maintenance policy consists of the following maintenance attributes:
|
|
33083
|
+
* * Maintenance window: the time period that you specify for maintenance.
|
|
33084
|
+
* * Maintenance action: the action that you specify in response to instance shutdown.
|
|
33085
|
+
*
|
|
33086
|
+
* @param request ModifyInstanceMaintenanceAttributesRequest
|
|
33087
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33088
|
+
* @return ModifyInstanceMaintenanceAttributesResponse
|
|
33089
|
+
*/
|
|
32258
33090
|
modifyInstanceMaintenanceAttributesWithOptions(request: ModifyInstanceMaintenanceAttributesRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceMaintenanceAttributesResponse>;
|
|
33091
|
+
/**
|
|
33092
|
+
* This operation is used to modify the maintenance policy of an instance. The maintenance policy consists of the following maintenance attributes:
|
|
33093
|
+
* * Maintenance window: the time period that you specify for maintenance.
|
|
33094
|
+
* * Maintenance action: the action that you specify in response to instance shutdown.
|
|
33095
|
+
*
|
|
33096
|
+
* @param request ModifyInstanceMaintenanceAttributesRequest
|
|
33097
|
+
* @return ModifyInstanceMaintenanceAttributesResponse
|
|
33098
|
+
*/
|
|
32259
33099
|
modifyInstanceMaintenanceAttributes(request: ModifyInstanceMaintenanceAttributesRequest): Promise<ModifyInstanceMaintenanceAttributesResponse>;
|
|
32260
33100
|
modifyInstanceMetadataOptionsWithOptions(request: ModifyInstanceMetadataOptionsRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceMetadataOptionsResponse>;
|
|
32261
33101
|
modifyInstanceMetadataOptions(request: ModifyInstanceMetadataOptionsRequest): Promise<ModifyInstanceMetadataOptionsResponse>;
|
|
@@ -32290,7 +33130,42 @@ export default class Client extends OpenApi {
|
|
|
32290
33130
|
* @return ModifyInstanceNetworkSpecResponse
|
|
32291
33131
|
*/
|
|
32292
33132
|
modifyInstanceNetworkSpec(request: ModifyInstanceNetworkSpecRequest): Promise<ModifyInstanceNetworkSpecResponse>;
|
|
33133
|
+
/**
|
|
33134
|
+
* ## Description
|
|
33135
|
+
* Before you call this operation, make sure that you understand the billing methods and pricing schedule of ECS. For more information, visit the [Elastic Compute Service](https://www.aliyun.com/price/product#/ecs/detail) product page.
|
|
33136
|
+
* For information about ECS SDK for Python used to change resource configurations, see [Query available resources for configuration changes](~~109517~~).
|
|
33137
|
+
* When you call this operation, take note of the following items:
|
|
33138
|
+
* * You must have no overdue payments in your account.
|
|
33139
|
+
* * You can adjust the public bandwidth of an instance only when the instance is in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
33140
|
+
* * Before you change the instance type of a pay-as-you-go instance, you can call the [DescribeResourcesModification](~~66187~~) operation to query the instance types to which you can change.
|
|
33141
|
+
* * You can change the instance type of an instance only when the instance is in the **Stopped** (`Stopped`) state.
|
|
33142
|
+
* * The instance type and the public bandwidth of an instance cannot be changed together.
|
|
33143
|
+
* * As of November 27, 2020, the maximum bandwidth value available for you to create ECS instances or to change ECS instance configurations is subject to throttling policies for your account. To increase the maximum bandwidth value, submit a ticket. The following throttling policies apply:
|
|
33144
|
+
* * Within a single region, the sum of actual maximum bandwidths of all ECS instances that use the pay-by-traffic billing method for network usage cannot exceed 5 Gbit/s.
|
|
33145
|
+
* * Within a single region, the sum of actual maximum bandwidths of all ECS instances that use the pay-by-bandwidth billing method for network usage cannot exceed 50 Gbit/s.
|
|
33146
|
+
*
|
|
33147
|
+
* @param request ModifyInstanceSpecRequest
|
|
33148
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33149
|
+
* @return ModifyInstanceSpecResponse
|
|
33150
|
+
*/
|
|
32293
33151
|
modifyInstanceSpecWithOptions(request: ModifyInstanceSpecRequest, runtime: $Util.RuntimeOptions): Promise<ModifyInstanceSpecResponse>;
|
|
33152
|
+
/**
|
|
33153
|
+
* ## Description
|
|
33154
|
+
* Before you call this operation, make sure that you understand the billing methods and pricing schedule of ECS. For more information, visit the [Elastic Compute Service](https://www.aliyun.com/price/product#/ecs/detail) product page.
|
|
33155
|
+
* For information about ECS SDK for Python used to change resource configurations, see [Query available resources for configuration changes](~~109517~~).
|
|
33156
|
+
* When you call this operation, take note of the following items:
|
|
33157
|
+
* * You must have no overdue payments in your account.
|
|
33158
|
+
* * You can adjust the public bandwidth of an instance only when the instance is in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
33159
|
+
* * Before you change the instance type of a pay-as-you-go instance, you can call the [DescribeResourcesModification](~~66187~~) operation to query the instance types to which you can change.
|
|
33160
|
+
* * You can change the instance type of an instance only when the instance is in the **Stopped** (`Stopped`) state.
|
|
33161
|
+
* * The instance type and the public bandwidth of an instance cannot be changed together.
|
|
33162
|
+
* * As of November 27, 2020, the maximum bandwidth value available for you to create ECS instances or to change ECS instance configurations is subject to throttling policies for your account. To increase the maximum bandwidth value, submit a ticket. The following throttling policies apply:
|
|
33163
|
+
* * Within a single region, the sum of actual maximum bandwidths of all ECS instances that use the pay-by-traffic billing method for network usage cannot exceed 5 Gbit/s.
|
|
33164
|
+
* * Within a single region, the sum of actual maximum bandwidths of all ECS instances that use the pay-by-bandwidth billing method for network usage cannot exceed 50 Gbit/s.
|
|
33165
|
+
*
|
|
33166
|
+
* @param request ModifyInstanceSpecRequest
|
|
33167
|
+
* @return ModifyInstanceSpecResponse
|
|
33168
|
+
*/
|
|
32294
33169
|
modifyInstanceSpec(request: ModifyInstanceSpecRequest): Promise<ModifyInstanceSpecResponse>;
|
|
32295
33170
|
/**
|
|
32296
33171
|
* * The password must be six characters in length and can contain only uppercase letters, lowercase letters, and digits.
|
|
@@ -32382,7 +33257,22 @@ export default class Client extends OpenApi {
|
|
|
32382
33257
|
modifyInstanceVpcAttribute(request: ModifyInstanceVpcAttributeRequest): Promise<ModifyInstanceVpcAttributeResponse>;
|
|
32383
33258
|
modifyLaunchTemplateDefaultVersionWithOptions(request: ModifyLaunchTemplateDefaultVersionRequest, runtime: $Util.RuntimeOptions): Promise<ModifyLaunchTemplateDefaultVersionResponse>;
|
|
32384
33259
|
modifyLaunchTemplateDefaultVersion(request: ModifyLaunchTemplateDefaultVersionRequest): Promise<ModifyLaunchTemplateDefaultVersionResponse>;
|
|
33260
|
+
/**
|
|
33261
|
+
* ## Description
|
|
33262
|
+
* The ModifyManagedInstance operation can be called to modify only the name of a single managed instance.
|
|
33263
|
+
*
|
|
33264
|
+
* @param request ModifyManagedInstanceRequest
|
|
33265
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33266
|
+
* @return ModifyManagedInstanceResponse
|
|
33267
|
+
*/
|
|
32385
33268
|
modifyManagedInstanceWithOptions(request: ModifyManagedInstanceRequest, runtime: $Util.RuntimeOptions): Promise<ModifyManagedInstanceResponse>;
|
|
33269
|
+
/**
|
|
33270
|
+
* ## Description
|
|
33271
|
+
* The ModifyManagedInstance operation can be called to modify only the name of a single managed instance.
|
|
33272
|
+
*
|
|
33273
|
+
* @param request ModifyManagedInstanceRequest
|
|
33274
|
+
* @return ModifyManagedInstanceResponse
|
|
33275
|
+
*/
|
|
32386
33276
|
modifyManagedInstance(request: ModifyManagedInstanceRequest): Promise<ModifyManagedInstanceResponse>;
|
|
32387
33277
|
modifyNetworkInterfaceAttributeWithOptions(request: ModifyNetworkInterfaceAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyNetworkInterfaceAttributeResponse>;
|
|
32388
33278
|
modifyNetworkInterfaceAttribute(request: ModifyNetworkInterfaceAttributeRequest): Promise<ModifyNetworkInterfaceAttributeResponse>;
|
|
@@ -32401,15 +33291,98 @@ export default class Client extends OpenApi {
|
|
|
32401
33291
|
* @return ModifyPhysicalConnectionAttributeResponse
|
|
32402
33292
|
*/
|
|
32403
33293
|
modifyPhysicalConnectionAttribute(request: ModifyPhysicalConnectionAttributeRequest): Promise<ModifyPhysicalConnectionAttributeResponse>;
|
|
33294
|
+
/**
|
|
33295
|
+
* ## Description
|
|
33296
|
+
* * The specified CIDR block must be valid. For example, 10.0.0.0/8 is a valid CIDR block while 10.0.0.1/8 is not. For more information, see the [What is CIDR?](https://www.alibabacloud.com/help/doc-detail/40637.htm#section-jua-0tj-q5m) section in Network FAQ.
|
|
33297
|
+
* * When you add or delete an entry, you cannot specify duplicate CIDR blocks. Examples:
|
|
33298
|
+
* * For IPv4 CIDR blocks, you cannot specify the 10.0.0.0/8 CIDR block in two entries. You cannot specify the 10.0.0.1/32 CIDR block in one entry and the 10.0.0.1 CIDR block in another entry. These two CIDR blocks are the same.
|
|
33299
|
+
* * For IPv6 CIDR blocks, you cannot specify the 2001:fd01:0:0:0:0:0:0/32 CIDR block in one entry and the 2001:fd01::/32 CIDR block in another entry. These two CIDR blocks are the same.
|
|
33300
|
+
* * The CIDR block in an entry to be added cannot the same as that in an entry to be deleted. For example, when you add an entry in which the 10.0.0.0/8 CIDR block is specified, the entry to be deleted cannot have the 10.0.0.0/8 CIDR block specified.
|
|
33301
|
+
* * If you want to modify the description of an entry, you must specify the CIDR block (`AddEntry.N.Cidr`) and new description (`AddEntry.N.Description`) in the entry.
|
|
33302
|
+
*
|
|
33303
|
+
* @param request ModifyPrefixListRequest
|
|
33304
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33305
|
+
* @return ModifyPrefixListResponse
|
|
33306
|
+
*/
|
|
32404
33307
|
modifyPrefixListWithOptions(request: ModifyPrefixListRequest, runtime: $Util.RuntimeOptions): Promise<ModifyPrefixListResponse>;
|
|
33308
|
+
/**
|
|
33309
|
+
* ## Description
|
|
33310
|
+
* * The specified CIDR block must be valid. For example, 10.0.0.0/8 is a valid CIDR block while 10.0.0.1/8 is not. For more information, see the [What is CIDR?](https://www.alibabacloud.com/help/doc-detail/40637.htm#section-jua-0tj-q5m) section in Network FAQ.
|
|
33311
|
+
* * When you add or delete an entry, you cannot specify duplicate CIDR blocks. Examples:
|
|
33312
|
+
* * For IPv4 CIDR blocks, you cannot specify the 10.0.0.0/8 CIDR block in two entries. You cannot specify the 10.0.0.1/32 CIDR block in one entry and the 10.0.0.1 CIDR block in another entry. These two CIDR blocks are the same.
|
|
33313
|
+
* * For IPv6 CIDR blocks, you cannot specify the 2001:fd01:0:0:0:0:0:0/32 CIDR block in one entry and the 2001:fd01::/32 CIDR block in another entry. These two CIDR blocks are the same.
|
|
33314
|
+
* * The CIDR block in an entry to be added cannot the same as that in an entry to be deleted. For example, when you add an entry in which the 10.0.0.0/8 CIDR block is specified, the entry to be deleted cannot have the 10.0.0.0/8 CIDR block specified.
|
|
33315
|
+
* * If you want to modify the description of an entry, you must specify the CIDR block (`AddEntry.N.Cidr`) and new description (`AddEntry.N.Description`) in the entry.
|
|
33316
|
+
*
|
|
33317
|
+
* @param request ModifyPrefixListRequest
|
|
33318
|
+
* @return ModifyPrefixListResponse
|
|
33319
|
+
*/
|
|
32405
33320
|
modifyPrefixList(request: ModifyPrefixListRequest): Promise<ModifyPrefixListResponse>;
|
|
33321
|
+
/**
|
|
33322
|
+
* Before you call this operation, make sure that you understand the billing methods, pricing schedule, and refund policies of [ECS](https://www.alibabacloud.com/product/ecs#pricing). For more information, see [Request a refund for the downgrade of resource specifications](~~201955~~).
|
|
33323
|
+
* Before you change the instance type of a subscription instance, you can call the [DescribeResourcesModification](~~66187~~) operation to query the instance types to which you can change. You can use ECS SDK for Python to query the instance types to which you can change. For more information, see [Query available resources for configuration changes](~~109517~~).
|
|
33324
|
+
* When you call this operation, take note of the following items:
|
|
33325
|
+
* * The instance type of an expired instance cannot be changed. You can renew the instance and try again.
|
|
33326
|
+
* * When you downgrade the instance type of an instance, take note of the following items:
|
|
33327
|
+
* * The instance must be in the **Stopped** state.``
|
|
33328
|
+
* * You must specify the operation type by setting `OperatorType` to downgrade.
|
|
33329
|
+
* * You can downgrade the configurations of an instance up to three times. Therefore, a maximum of three refunds for price difference can be made for an instance. Downgrade operations include instance type downgrades, bandwidth configuration downgrades, and the change of the disk billing method from subscription to pay-as-you-go.
|
|
33330
|
+
* * The price difference is refunded to the payment account you used. Vouchers that have been redeemed are not refundable.
|
|
33331
|
+
* * This operation is asynchronous. It takes 5 to 10 seconds for the instance type to change. You must restart the instance by calling the RebootInstance operation or by using the ECS console for the instance type change to take effect. If you restart only the operating system of the instance, the instance type change does not take effect.
|
|
33332
|
+
* * If the instance is in the **Stopped** state, you only need to start the instance. You do not need to restart the instance after it enters the Running state.
|
|
33333
|
+
* * If `RebootWhenFinished` is set to true for the instance, you do not need to manually restart the instance.
|
|
33334
|
+
*
|
|
33335
|
+
* @param request ModifyPrepayInstanceSpecRequest
|
|
33336
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33337
|
+
* @return ModifyPrepayInstanceSpecResponse
|
|
33338
|
+
*/
|
|
32406
33339
|
modifyPrepayInstanceSpecWithOptions(request: ModifyPrepayInstanceSpecRequest, runtime: $Util.RuntimeOptions): Promise<ModifyPrepayInstanceSpecResponse>;
|
|
33340
|
+
/**
|
|
33341
|
+
* Before you call this operation, make sure that you understand the billing methods, pricing schedule, and refund policies of [ECS](https://www.alibabacloud.com/product/ecs#pricing). For more information, see [Request a refund for the downgrade of resource specifications](~~201955~~).
|
|
33342
|
+
* Before you change the instance type of a subscription instance, you can call the [DescribeResourcesModification](~~66187~~) operation to query the instance types to which you can change. You can use ECS SDK for Python to query the instance types to which you can change. For more information, see [Query available resources for configuration changes](~~109517~~).
|
|
33343
|
+
* When you call this operation, take note of the following items:
|
|
33344
|
+
* * The instance type of an expired instance cannot be changed. You can renew the instance and try again.
|
|
33345
|
+
* * When you downgrade the instance type of an instance, take note of the following items:
|
|
33346
|
+
* * The instance must be in the **Stopped** state.``
|
|
33347
|
+
* * You must specify the operation type by setting `OperatorType` to downgrade.
|
|
33348
|
+
* * You can downgrade the configurations of an instance up to three times. Therefore, a maximum of three refunds for price difference can be made for an instance. Downgrade operations include instance type downgrades, bandwidth configuration downgrades, and the change of the disk billing method from subscription to pay-as-you-go.
|
|
33349
|
+
* * The price difference is refunded to the payment account you used. Vouchers that have been redeemed are not refundable.
|
|
33350
|
+
* * This operation is asynchronous. It takes 5 to 10 seconds for the instance type to change. You must restart the instance by calling the RebootInstance operation or by using the ECS console for the instance type change to take effect. If you restart only the operating system of the instance, the instance type change does not take effect.
|
|
33351
|
+
* * If the instance is in the **Stopped** state, you only need to start the instance. You do not need to restart the instance after it enters the Running state.
|
|
33352
|
+
* * If `RebootWhenFinished` is set to true for the instance, you do not need to manually restart the instance.
|
|
33353
|
+
*
|
|
33354
|
+
* @param request ModifyPrepayInstanceSpecRequest
|
|
33355
|
+
* @return ModifyPrepayInstanceSpecResponse
|
|
33356
|
+
*/
|
|
32407
33357
|
modifyPrepayInstanceSpec(request: ModifyPrepayInstanceSpecRequest): Promise<ModifyPrepayInstanceSpecResponse>;
|
|
32408
33358
|
modifyReservedInstanceAttributeWithOptions(request: ModifyReservedInstanceAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyReservedInstanceAttributeResponse>;
|
|
32409
33359
|
modifyReservedInstanceAttribute(request: ModifyReservedInstanceAttributeRequest): Promise<ModifyReservedInstanceAttributeResponse>;
|
|
32410
33360
|
modifyReservedInstanceAutoRenewAttributeWithOptions(request: ModifyReservedInstanceAutoRenewAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyReservedInstanceAutoRenewAttributeResponse>;
|
|
32411
33361
|
modifyReservedInstanceAutoRenewAttribute(request: ModifyReservedInstanceAutoRenewAttributeRequest): Promise<ModifyReservedInstanceAutoRenewAttributeResponse>;
|
|
33362
|
+
/**
|
|
33363
|
+
* ## Description
|
|
33364
|
+
* When you call this operation, take note of the following items:
|
|
33365
|
+
* * For information about limits on reserved instances, see the "Limits" section in [Reserved instance overview](~~100370~~).
|
|
33366
|
+
* * Before you call this operation to split a reserved instance, make sure that you fully understand the limits on splitting a reserved instance. For more information, see [Split a reserved instance](~~100375~~).
|
|
33367
|
+
* * Before you call this operation to merge reserved instances, make sure that you fully understand the limits on merging reserved instances. For more information, see [Merge reserved instances](~~132229~~).
|
|
33368
|
+
* * Before you call this operation to modify a reserved instance, make sure that you fully understand the limits and methods of modifying a reserved instance. For more information, see [Modify a reserved instance](~~132230~~).
|
|
33369
|
+
*
|
|
33370
|
+
* @param request ModifyReservedInstancesRequest
|
|
33371
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33372
|
+
* @return ModifyReservedInstancesResponse
|
|
33373
|
+
*/
|
|
32412
33374
|
modifyReservedInstancesWithOptions(request: ModifyReservedInstancesRequest, runtime: $Util.RuntimeOptions): Promise<ModifyReservedInstancesResponse>;
|
|
33375
|
+
/**
|
|
33376
|
+
* ## Description
|
|
33377
|
+
* When you call this operation, take note of the following items:
|
|
33378
|
+
* * For information about limits on reserved instances, see the "Limits" section in [Reserved instance overview](~~100370~~).
|
|
33379
|
+
* * Before you call this operation to split a reserved instance, make sure that you fully understand the limits on splitting a reserved instance. For more information, see [Split a reserved instance](~~100375~~).
|
|
33380
|
+
* * Before you call this operation to merge reserved instances, make sure that you fully understand the limits on merging reserved instances. For more information, see [Merge reserved instances](~~132229~~).
|
|
33381
|
+
* * Before you call this operation to modify a reserved instance, make sure that you fully understand the limits and methods of modifying a reserved instance. For more information, see [Modify a reserved instance](~~132230~~).
|
|
33382
|
+
*
|
|
33383
|
+
* @param request ModifyReservedInstancesRequest
|
|
33384
|
+
* @return ModifyReservedInstancesResponse
|
|
33385
|
+
*/
|
|
32413
33386
|
modifyReservedInstances(request: ModifyReservedInstancesRequest): Promise<ModifyReservedInstancesResponse>;
|
|
32414
33387
|
/**
|
|
32415
33388
|
* @deprecated
|
|
@@ -32443,11 +33416,74 @@ export default class Client extends OpenApi {
|
|
|
32443
33416
|
modifyRouterInterfaceSpec(request: ModifyRouterInterfaceSpecRequest): Promise<ModifyRouterInterfaceSpecResponse>;
|
|
32444
33417
|
modifySecurityGroupAttributeWithOptions(request: ModifySecurityGroupAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifySecurityGroupAttributeResponse>;
|
|
32445
33418
|
modifySecurityGroupAttribute(request: ModifySecurityGroupAttributeRequest): Promise<ModifySecurityGroupAttributeResponse>;
|
|
33419
|
+
/**
|
|
33420
|
+
* ## Description
|
|
33421
|
+
* When you modify the rules of a security group by specifying the rule IDs, take note of the following limits:
|
|
33422
|
+
* * If the type of the authorization object (source or destination) is IP address or CIDR block, security group, or prefix list, the type cannot be changed. If the original authorization object is an IP address, you can change it to another IP address or a CIDR block, but not to a security group or prefix list.
|
|
33423
|
+
* * The IP address family of the authorization object cannot be changed. For example, if the original authorization object is an IPv4 CIDR block, you cannot change it to an IPv6 CIDR block. If the original authorization object is an IPv4 prefix list, you cannot change it to an IPv6 prefix list.
|
|
33424
|
+
* * The modified security group rule cannot be the same as other existing rules.
|
|
33425
|
+
* * If you want to delete the values of non-empty parameters for the rule, we recommend that you create a new rule and delete the original rule.
|
|
33426
|
+
*
|
|
33427
|
+
* @param request ModifySecurityGroupEgressRuleRequest
|
|
33428
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33429
|
+
* @return ModifySecurityGroupEgressRuleResponse
|
|
33430
|
+
*/
|
|
32446
33431
|
modifySecurityGroupEgressRuleWithOptions(request: ModifySecurityGroupEgressRuleRequest, runtime: $Util.RuntimeOptions): Promise<ModifySecurityGroupEgressRuleResponse>;
|
|
33432
|
+
/**
|
|
33433
|
+
* ## Description
|
|
33434
|
+
* When you modify the rules of a security group by specifying the rule IDs, take note of the following limits:
|
|
33435
|
+
* * If the type of the authorization object (source or destination) is IP address or CIDR block, security group, or prefix list, the type cannot be changed. If the original authorization object is an IP address, you can change it to another IP address or a CIDR block, but not to a security group or prefix list.
|
|
33436
|
+
* * The IP address family of the authorization object cannot be changed. For example, if the original authorization object is an IPv4 CIDR block, you cannot change it to an IPv6 CIDR block. If the original authorization object is an IPv4 prefix list, you cannot change it to an IPv6 prefix list.
|
|
33437
|
+
* * The modified security group rule cannot be the same as other existing rules.
|
|
33438
|
+
* * If you want to delete the values of non-empty parameters for the rule, we recommend that you create a new rule and delete the original rule.
|
|
33439
|
+
*
|
|
33440
|
+
* @param request ModifySecurityGroupEgressRuleRequest
|
|
33441
|
+
* @return ModifySecurityGroupEgressRuleResponse
|
|
33442
|
+
*/
|
|
32447
33443
|
modifySecurityGroupEgressRule(request: ModifySecurityGroupEgressRuleRequest): Promise<ModifySecurityGroupEgressRuleResponse>;
|
|
33444
|
+
/**
|
|
33445
|
+
* When you call this operation, take note of the following items:
|
|
33446
|
+
* * When InnerAccessPolicy is set to Accept for a security group, the instances in the security group can communicate with each other. In this case, the Accept internal access control policy takes precedence over user-created security group rules to keep instances in the security group accessible to each other.
|
|
33447
|
+
* * When InnerAccessPolicy is set to Drop for a security group, the instances in the security group are isolated from each other. In this case, user-created security group rules take precedence over the Drop internal access control policy and can be used to allow access between the instances. For example, you can call the [AuthorizeSecurityGroup](~~25554~~) operation to create an inbound security group rule that allows the instances in the security group to communicate with each other.
|
|
33448
|
+
* * You can call the [DescribeSecurityGroupAttribute](~~25555~~) operation to query the internal access policy of a security group.
|
|
33449
|
+
*
|
|
33450
|
+
* @param request ModifySecurityGroupPolicyRequest
|
|
33451
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33452
|
+
* @return ModifySecurityGroupPolicyResponse
|
|
33453
|
+
*/
|
|
32448
33454
|
modifySecurityGroupPolicyWithOptions(request: ModifySecurityGroupPolicyRequest, runtime: $Util.RuntimeOptions): Promise<ModifySecurityGroupPolicyResponse>;
|
|
33455
|
+
/**
|
|
33456
|
+
* When you call this operation, take note of the following items:
|
|
33457
|
+
* * When InnerAccessPolicy is set to Accept for a security group, the instances in the security group can communicate with each other. In this case, the Accept internal access control policy takes precedence over user-created security group rules to keep instances in the security group accessible to each other.
|
|
33458
|
+
* * When InnerAccessPolicy is set to Drop for a security group, the instances in the security group are isolated from each other. In this case, user-created security group rules take precedence over the Drop internal access control policy and can be used to allow access between the instances. For example, you can call the [AuthorizeSecurityGroup](~~25554~~) operation to create an inbound security group rule that allows the instances in the security group to communicate with each other.
|
|
33459
|
+
* * You can call the [DescribeSecurityGroupAttribute](~~25555~~) operation to query the internal access policy of a security group.
|
|
33460
|
+
*
|
|
33461
|
+
* @param request ModifySecurityGroupPolicyRequest
|
|
33462
|
+
* @return ModifySecurityGroupPolicyResponse
|
|
33463
|
+
*/
|
|
32449
33464
|
modifySecurityGroupPolicy(request: ModifySecurityGroupPolicyRequest): Promise<ModifySecurityGroupPolicyResponse>;
|
|
33465
|
+
/**
|
|
33466
|
+
* When you modify a security group rule by specifying its ID, take note of the following items:
|
|
33467
|
+
* * If the type of the authorization object (source or destination) is IP address or CIDR block, security group, or prefix list, the authorization object type cannot be changed. The type of an existing security group authorization object cannot be modified. If the original authorization object is an IP address, you can change it to another IP address or a CIDR block, but not to a security group or prefix list.
|
|
33468
|
+
* * The IP address family of the authorization object cannot be changed. For example, if the original authorization object is an IPv4 CIDR block, you cannot change it to an IPv6 CIDR block. If the original authorization object is an IPv4 prefix list, you cannot change it to an IPv6 prefix list.
|
|
33469
|
+
* * The modified security group rule cannot be the same as other existing rules.
|
|
33470
|
+
* * If you want to delete the values of non-empty parameters for the rule, we recommend that you create a new rule and delete the original rule.
|
|
33471
|
+
*
|
|
33472
|
+
* @param request ModifySecurityGroupRuleRequest
|
|
33473
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33474
|
+
* @return ModifySecurityGroupRuleResponse
|
|
33475
|
+
*/
|
|
32450
33476
|
modifySecurityGroupRuleWithOptions(request: ModifySecurityGroupRuleRequest, runtime: $Util.RuntimeOptions): Promise<ModifySecurityGroupRuleResponse>;
|
|
33477
|
+
/**
|
|
33478
|
+
* When you modify a security group rule by specifying its ID, take note of the following items:
|
|
33479
|
+
* * If the type of the authorization object (source or destination) is IP address or CIDR block, security group, or prefix list, the authorization object type cannot be changed. The type of an existing security group authorization object cannot be modified. If the original authorization object is an IP address, you can change it to another IP address or a CIDR block, but not to a security group or prefix list.
|
|
33480
|
+
* * The IP address family of the authorization object cannot be changed. For example, if the original authorization object is an IPv4 CIDR block, you cannot change it to an IPv6 CIDR block. If the original authorization object is an IPv4 prefix list, you cannot change it to an IPv6 prefix list.
|
|
33481
|
+
* * The modified security group rule cannot be the same as other existing rules.
|
|
33482
|
+
* * If you want to delete the values of non-empty parameters for the rule, we recommend that you create a new rule and delete the original rule.
|
|
33483
|
+
*
|
|
33484
|
+
* @param request ModifySecurityGroupRuleRequest
|
|
33485
|
+
* @return ModifySecurityGroupRuleResponse
|
|
33486
|
+
*/
|
|
32451
33487
|
modifySecurityGroupRule(request: ModifySecurityGroupRuleRequest): Promise<ModifySecurityGroupRuleResponse>;
|
|
32452
33488
|
modifySnapshotAttributeWithOptions(request: ModifySnapshotAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifySnapshotAttributeResponse>;
|
|
32453
33489
|
modifySnapshotAttribute(request: ModifySnapshotAttributeRequest): Promise<ModifySnapshotAttributeResponse>;
|
|
@@ -32532,9 +33568,37 @@ export default class Client extends OpenApi {
|
|
|
32532
33568
|
* @return ModifyVpcAttributeResponse
|
|
32533
33569
|
*/
|
|
32534
33570
|
modifyVpcAttribute(request: ModifyVpcAttributeRequest): Promise<ModifyVpcAttributeResponse>;
|
|
33571
|
+
/**
|
|
33572
|
+
* * Before you call this operation, make sure that you are familiar with the billing method of reserved instances. For more information, see [Reserved instances](~~100371~~).
|
|
33573
|
+
* * Before you purchase a reserved instance, you can call the [DescribeAvailableResource](~~66186~~) operation to query available instance resources.
|
|
33574
|
+
*
|
|
33575
|
+
* @param request PurchaseReservedInstancesOfferingRequest
|
|
33576
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33577
|
+
* @return PurchaseReservedInstancesOfferingResponse
|
|
33578
|
+
*/
|
|
32535
33579
|
purchaseReservedInstancesOfferingWithOptions(request: PurchaseReservedInstancesOfferingRequest, runtime: $Util.RuntimeOptions): Promise<PurchaseReservedInstancesOfferingResponse>;
|
|
33580
|
+
/**
|
|
33581
|
+
* * Before you call this operation, make sure that you are familiar with the billing method of reserved instances. For more information, see [Reserved instances](~~100371~~).
|
|
33582
|
+
* * Before you purchase a reserved instance, you can call the [DescribeAvailableResource](~~66186~~) operation to query available instance resources.
|
|
33583
|
+
*
|
|
33584
|
+
* @param request PurchaseReservedInstancesOfferingRequest
|
|
33585
|
+
* @return PurchaseReservedInstancesOfferingResponse
|
|
33586
|
+
*/
|
|
32536
33587
|
purchaseReservedInstancesOffering(request: PurchaseReservedInstancesOfferingRequest): Promise<PurchaseReservedInstancesOfferingResponse>;
|
|
33588
|
+
/**
|
|
33589
|
+
* Before you call this operation, make sure that you understand the billing methods and pricing of SCUs. For more information, see [Storage capacity units](~~137897~~).
|
|
33590
|
+
*
|
|
33591
|
+
* @param request PurchaseStorageCapacityUnitRequest
|
|
33592
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33593
|
+
* @return PurchaseStorageCapacityUnitResponse
|
|
33594
|
+
*/
|
|
32537
33595
|
purchaseStorageCapacityUnitWithOptions(request: PurchaseStorageCapacityUnitRequest, runtime: $Util.RuntimeOptions): Promise<PurchaseStorageCapacityUnitResponse>;
|
|
33596
|
+
/**
|
|
33597
|
+
* Before you call this operation, make sure that you understand the billing methods and pricing of SCUs. For more information, see [Storage capacity units](~~137897~~).
|
|
33598
|
+
*
|
|
33599
|
+
* @param request PurchaseStorageCapacityUnitRequest
|
|
33600
|
+
* @return PurchaseStorageCapacityUnitResponse
|
|
33601
|
+
*/
|
|
32538
33602
|
purchaseStorageCapacityUnit(request: PurchaseStorageCapacityUnitRequest): Promise<PurchaseStorageCapacityUnitResponse>;
|
|
32539
33603
|
/**
|
|
32540
33604
|
* When you call this operation, take note of the following points:
|
|
@@ -32561,13 +33625,42 @@ export default class Client extends OpenApi {
|
|
|
32561
33625
|
* @return ReActivateInstancesResponse
|
|
32562
33626
|
*/
|
|
32563
33627
|
reActivateInstances(request: ReActivateInstancesRequest): Promise<ReActivateInstancesResponse>;
|
|
33628
|
+
/**
|
|
33629
|
+
* When you call this operation, take note of the following items:
|
|
33630
|
+
* * The disk that you want to re-initialize must be in the **In Use** (In_use) state and the instance to which the disk is attached must be in the **Stopped** (Stopped) state.
|
|
33631
|
+
* * If the instance has never been started since it was created, the disks attached to it cannot be re-initialized.
|
|
33632
|
+
* * If a local snapshot has been created for a disk, the disk cannot be re-initialized.
|
|
33633
|
+
* * Disks that have the multi-attach feature enabled cannot be re-initialized.
|
|
33634
|
+
* * When a system disk is re-initialized, it is restored to the state of the image from which it was created. If the source image is deleted, the system disk cannot be re-initialized.
|
|
33635
|
+
* * When a separately created data disk is re-initialized, it is restored to an empty data disk.
|
|
33636
|
+
* * When a data disk that was created from a snapshot is re-initialized, the disk is restored to the state of the snapshot.
|
|
33637
|
+
* > If the source snapshot is deleted, the disk cannot be re-initialized and an error is returned.
|
|
33638
|
+
*
|
|
33639
|
+
* @param request ReInitDiskRequest
|
|
33640
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33641
|
+
* @return ReInitDiskResponse
|
|
33642
|
+
*/
|
|
32564
33643
|
reInitDiskWithOptions(request: ReInitDiskRequest, runtime: $Util.RuntimeOptions): Promise<ReInitDiskResponse>;
|
|
33644
|
+
/**
|
|
33645
|
+
* When you call this operation, take note of the following items:
|
|
33646
|
+
* * The disk that you want to re-initialize must be in the **In Use** (In_use) state and the instance to which the disk is attached must be in the **Stopped** (Stopped) state.
|
|
33647
|
+
* * If the instance has never been started since it was created, the disks attached to it cannot be re-initialized.
|
|
33648
|
+
* * If a local snapshot has been created for a disk, the disk cannot be re-initialized.
|
|
33649
|
+
* * Disks that have the multi-attach feature enabled cannot be re-initialized.
|
|
33650
|
+
* * When a system disk is re-initialized, it is restored to the state of the image from which it was created. If the source image is deleted, the system disk cannot be re-initialized.
|
|
33651
|
+
* * When a separately created data disk is re-initialized, it is restored to an empty data disk.
|
|
33652
|
+
* * When a data disk that was created from a snapshot is re-initialized, the disk is restored to the state of the snapshot.
|
|
33653
|
+
* > If the source snapshot is deleted, the disk cannot be re-initialized and an error is returned.
|
|
33654
|
+
*
|
|
33655
|
+
* @param request ReInitDiskRequest
|
|
33656
|
+
* @return ReInitDiskResponse
|
|
33657
|
+
*/
|
|
32565
33658
|
reInitDisk(request: ReInitDiskRequest): Promise<ReInitDiskResponse>;
|
|
32566
33659
|
/**
|
|
32567
|
-
* *
|
|
32568
|
-
* * After
|
|
32569
|
-
* * An instance can be
|
|
32570
|
-
* * If
|
|
33660
|
+
* * The ECS instance to which you want to restart must be in the **Running** (`Running`) state.
|
|
33661
|
+
* * After this operation is called, the status of the instance changes to `Starting`.****
|
|
33662
|
+
* * An instance can be forcefully restarted. A forced restart (`ForceReboot`) is equivalent to powering off a traditional server and then starting the server. If data in the instance operating system is not written to block storage devices when the operation is called, the data is lost.
|
|
33663
|
+
* * If `OperationLocks` in the DescribeInstances response contains "LockReason" : "security" for an instance, the instance is locked for security reasons and cannot be restarted. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
32571
33664
|
*
|
|
32572
33665
|
* @param request RebootInstanceRequest
|
|
32573
33666
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -32575,35 +33668,16 @@ export default class Client extends OpenApi {
|
|
|
32575
33668
|
*/
|
|
32576
33669
|
rebootInstanceWithOptions(request: RebootInstanceRequest, runtime: $Util.RuntimeOptions): Promise<RebootInstanceResponse>;
|
|
32577
33670
|
/**
|
|
32578
|
-
* *
|
|
32579
|
-
* * After
|
|
32580
|
-
* * An instance can be
|
|
32581
|
-
* * If
|
|
33671
|
+
* * The ECS instance to which you want to restart must be in the **Running** (`Running`) state.
|
|
33672
|
+
* * After this operation is called, the status of the instance changes to `Starting`.****
|
|
33673
|
+
* * An instance can be forcefully restarted. A forced restart (`ForceReboot`) is equivalent to powering off a traditional server and then starting the server. If data in the instance operating system is not written to block storage devices when the operation is called, the data is lost.
|
|
33674
|
+
* * If `OperationLocks` in the DescribeInstances response contains "LockReason" : "security" for an instance, the instance is locked for security reasons and cannot be restarted. For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
32582
33675
|
*
|
|
32583
33676
|
* @param request RebootInstanceRequest
|
|
32584
33677
|
* @return RebootInstanceResponse
|
|
32585
33678
|
*/
|
|
32586
33679
|
rebootInstance(request: RebootInstanceRequest): Promise<RebootInstanceResponse>;
|
|
32587
|
-
/**
|
|
32588
|
-
* * The ECS instances to which you want to restart are in the **Running** (`Running`) state.
|
|
32589
|
-
* * You can restart multiple instances at a time and use the `BatchOptimization` parameter to specify the batch operation mode.
|
|
32590
|
-
* * Instances can be forcefully restarted. A force restart (`ForceStop`) is equivalent to powering off traditional servers to restart them. This operation may lead to data loss if data in the instance operating system is not written to block storage devices.
|
|
32591
|
-
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of the instance, the instance is locked for security reasons and all operations are prohibited on it.
|
|
32592
|
-
*
|
|
32593
|
-
* @param request RebootInstancesRequest
|
|
32594
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
32595
|
-
* @return RebootInstancesResponse
|
|
32596
|
-
*/
|
|
32597
33680
|
rebootInstancesWithOptions(request: RebootInstancesRequest, runtime: $Util.RuntimeOptions): Promise<RebootInstancesResponse>;
|
|
32598
|
-
/**
|
|
32599
|
-
* * The ECS instances to which you want to restart are in the **Running** (`Running`) state.
|
|
32600
|
-
* * You can restart multiple instances at a time and use the `BatchOptimization` parameter to specify the batch operation mode.
|
|
32601
|
-
* * Instances can be forcefully restarted. A force restart (`ForceStop`) is equivalent to powering off traditional servers to restart them. This operation may lead to data loss if data in the instance operating system is not written to block storage devices.
|
|
32602
|
-
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}` when you query the information of the instance, the instance is locked for security reasons and all operations are prohibited on it.
|
|
32603
|
-
*
|
|
32604
|
-
* @param request RebootInstancesRequest
|
|
32605
|
-
* @return RebootInstancesResponse
|
|
32606
|
-
*/
|
|
32607
33681
|
rebootInstances(request: RebootInstancesRequest): Promise<RebootInstancesResponse>;
|
|
32608
33682
|
/**
|
|
32609
33683
|
* @deprecated
|
|
@@ -32620,13 +33694,105 @@ export default class Client extends OpenApi {
|
|
|
32620
33694
|
* @return RecoverVirtualBorderRouterResponse
|
|
32621
33695
|
*/
|
|
32622
33696
|
recoverVirtualBorderRouter(request: RecoverVirtualBorderRouterRequest): Promise<RecoverVirtualBorderRouterResponse>;
|
|
33697
|
+
/**
|
|
33698
|
+
* If a dedicated host is in the UnderAssessment state, we recommend that you call this operation to migrate ECS instances away from the dedicated host to prevent permanent failures. You can call the [DescribeDedicatedHosts](~~134242~~) operation to query the status of a dedicated host.
|
|
33699
|
+
*
|
|
33700
|
+
* @param request RedeployDedicatedHostRequest
|
|
33701
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33702
|
+
* @return RedeployDedicatedHostResponse
|
|
33703
|
+
*/
|
|
32623
33704
|
redeployDedicatedHostWithOptions(request: RedeployDedicatedHostRequest, runtime: $Util.RuntimeOptions): Promise<RedeployDedicatedHostResponse>;
|
|
33705
|
+
/**
|
|
33706
|
+
* If a dedicated host is in the UnderAssessment state, we recommend that you call this operation to migrate ECS instances away from the dedicated host to prevent permanent failures. You can call the [DescribeDedicatedHosts](~~134242~~) operation to query the status of a dedicated host.
|
|
33707
|
+
*
|
|
33708
|
+
* @param request RedeployDedicatedHostRequest
|
|
33709
|
+
* @return RedeployDedicatedHostResponse
|
|
33710
|
+
*/
|
|
32624
33711
|
redeployDedicatedHost(request: RedeployDedicatedHostRequest): Promise<RedeployDedicatedHostResponse>;
|
|
33712
|
+
/**
|
|
33713
|
+
* RedeployInstance is an asynchronous operation. This operation migrates data before it restarts the instance. After the instance is redeployed, the instance enters the Running (`Running`) state. If the instance fails to be redeployed, the instance returns to the original physical server and the state before redeployment.
|
|
33714
|
+
* When you call this operation, take note of the following items:
|
|
33715
|
+
* * The instance must be in the Running (Running) or Stopped (Stopped) state. After the instance is redeployed, the following changes occur to the status of the instance:
|
|
33716
|
+
* * If the instance is in the Running (`Running`) state, the instance enters the Stopping (`Stopping`) state.
|
|
33717
|
+
* * If the instance is in the Stopped (`Stopped`) state, the instance enters the Starting (`Starting`) state.
|
|
33718
|
+
* * If an instance is deployed on a dedicated host, you cannot redeploy the instance.
|
|
33719
|
+
* * If the `OperationLocks` parameter in the DescribeInstances response contains `"LockReason" : "security"` for an instance, the instance is locked for security reasons and cannot be redeployed.
|
|
33720
|
+
* * If you receive notifications about simulated events that are created by calling the CreateSimulatedSystemEvent operation for an instance, you cannot redeploy the instance.
|
|
33721
|
+
* * If the damaged local disk is isolated but the **SystemMaintenance.RebootAndReInitErrorDisk** event is not sent when you handle a local disk-related system event for an instance, you can still call the RedeployInstance operation to redeploy the instance. The SystemMaintenance.RebootAndReInitErrorDisk event indicates that the instance is restarted and the damaged disks are reinitialized due to system maintenance. For more information, see [System events for ECS instances equipped with local disks](~~107693~~).
|
|
33722
|
+
* The following table describes the system events that you can handle by calling the RedeployInstance operation. The table also provides possible event status.
|
|
33723
|
+
* |System event|Event status|
|
|
33724
|
+
* |---|---|
|
|
33725
|
+
* |Instance restart due to system maintenance (SystemMaintenance.Reboot)|Inquiring and Scheduled|
|
|
33726
|
+
* |Instance redeployment due to system maintenance (SystemMaintenance.Redeploy)|Inquiring and Scheduled|
|
|
33727
|
+
* |Instance restart and replacement of damaged disks due to system maintenance (SystemMaintenance.RebootAndIsolateErrorDisk)|Inquiring|
|
|
33728
|
+
* |Instance restart and re-initialization of damaged disks due to system maintenance (SystemMaintenance.RebootAndReInitErrorDisk)|Inquiring|
|
|
33729
|
+
* |Instance redeployment due to system errors (SystemFailure.Redeploy)|Inquiring and Scheduled|
|
|
33730
|
+
* |For ECS instances that use only local disks: instance restart due to a system error (SystemFailure.Reboot)|Executing|
|
|
33731
|
+
* |Isolation of damaged disks due to system maintenance (SystemMaintenance.IsolateErrorDisk)|Inquiring|
|
|
33732
|
+
* |Re-initialization of damaged disks due to system maintenance (SystemMaintenance.ReInitErrorDisk)|Inquiring|
|
|
33733
|
+
* **Note**When instances that use local disks are redeployed, the local disks are re-initialized and data on the local disks is cleared.
|
|
33734
|
+
*
|
|
33735
|
+
* @param request RedeployInstanceRequest
|
|
33736
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33737
|
+
* @return RedeployInstanceResponse
|
|
33738
|
+
*/
|
|
32625
33739
|
redeployInstanceWithOptions(request: RedeployInstanceRequest, runtime: $Util.RuntimeOptions): Promise<RedeployInstanceResponse>;
|
|
33740
|
+
/**
|
|
33741
|
+
* RedeployInstance is an asynchronous operation. This operation migrates data before it restarts the instance. After the instance is redeployed, the instance enters the Running (`Running`) state. If the instance fails to be redeployed, the instance returns to the original physical server and the state before redeployment.
|
|
33742
|
+
* When you call this operation, take note of the following items:
|
|
33743
|
+
* * The instance must be in the Running (Running) or Stopped (Stopped) state. After the instance is redeployed, the following changes occur to the status of the instance:
|
|
33744
|
+
* * If the instance is in the Running (`Running`) state, the instance enters the Stopping (`Stopping`) state.
|
|
33745
|
+
* * If the instance is in the Stopped (`Stopped`) state, the instance enters the Starting (`Starting`) state.
|
|
33746
|
+
* * If an instance is deployed on a dedicated host, you cannot redeploy the instance.
|
|
33747
|
+
* * If the `OperationLocks` parameter in the DescribeInstances response contains `"LockReason" : "security"` for an instance, the instance is locked for security reasons and cannot be redeployed.
|
|
33748
|
+
* * If you receive notifications about simulated events that are created by calling the CreateSimulatedSystemEvent operation for an instance, you cannot redeploy the instance.
|
|
33749
|
+
* * If the damaged local disk is isolated but the **SystemMaintenance.RebootAndReInitErrorDisk** event is not sent when you handle a local disk-related system event for an instance, you can still call the RedeployInstance operation to redeploy the instance. The SystemMaintenance.RebootAndReInitErrorDisk event indicates that the instance is restarted and the damaged disks are reinitialized due to system maintenance. For more information, see [System events for ECS instances equipped with local disks](~~107693~~).
|
|
33750
|
+
* The following table describes the system events that you can handle by calling the RedeployInstance operation. The table also provides possible event status.
|
|
33751
|
+
* |System event|Event status|
|
|
33752
|
+
* |---|---|
|
|
33753
|
+
* |Instance restart due to system maintenance (SystemMaintenance.Reboot)|Inquiring and Scheduled|
|
|
33754
|
+
* |Instance redeployment due to system maintenance (SystemMaintenance.Redeploy)|Inquiring and Scheduled|
|
|
33755
|
+
* |Instance restart and replacement of damaged disks due to system maintenance (SystemMaintenance.RebootAndIsolateErrorDisk)|Inquiring|
|
|
33756
|
+
* |Instance restart and re-initialization of damaged disks due to system maintenance (SystemMaintenance.RebootAndReInitErrorDisk)|Inquiring|
|
|
33757
|
+
* |Instance redeployment due to system errors (SystemFailure.Redeploy)|Inquiring and Scheduled|
|
|
33758
|
+
* |For ECS instances that use only local disks: instance restart due to a system error (SystemFailure.Reboot)|Executing|
|
|
33759
|
+
* |Isolation of damaged disks due to system maintenance (SystemMaintenance.IsolateErrorDisk)|Inquiring|
|
|
33760
|
+
* |Re-initialization of damaged disks due to system maintenance (SystemMaintenance.ReInitErrorDisk)|Inquiring|
|
|
33761
|
+
* **Note**When instances that use local disks are redeployed, the local disks are re-initialized and data on the local disks is cleared.
|
|
33762
|
+
*
|
|
33763
|
+
* @param request RedeployInstanceRequest
|
|
33764
|
+
* @return RedeployInstanceResponse
|
|
33765
|
+
*/
|
|
32626
33766
|
redeployInstance(request: RedeployInstanceRequest): Promise<RedeployInstanceResponse>;
|
|
33767
|
+
/**
|
|
33768
|
+
* If the release mode of a capacity reservation that takes effect immediately is set to manual release, you can call this operation to release the capacity reservation.
|
|
33769
|
+
*
|
|
33770
|
+
* @param request ReleaseCapacityReservationRequest
|
|
33771
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33772
|
+
* @return ReleaseCapacityReservationResponse
|
|
33773
|
+
*/
|
|
32627
33774
|
releaseCapacityReservationWithOptions(request: ReleaseCapacityReservationRequest, runtime: $Util.RuntimeOptions): Promise<ReleaseCapacityReservationResponse>;
|
|
33775
|
+
/**
|
|
33776
|
+
* If the release mode of a capacity reservation that takes effect immediately is set to manual release, you can call this operation to release the capacity reservation.
|
|
33777
|
+
*
|
|
33778
|
+
* @param request ReleaseCapacityReservationRequest
|
|
33779
|
+
* @return ReleaseCapacityReservationResponse
|
|
33780
|
+
*/
|
|
32628
33781
|
releaseCapacityReservation(request: ReleaseCapacityReservationRequest): Promise<ReleaseCapacityReservationResponse>;
|
|
33782
|
+
/**
|
|
33783
|
+
* Before you release a pay-as-you-go dedicated host, make sure that no Elastic Compute Service (ECS) instances are deployed on the dedicated host.
|
|
33784
|
+
*
|
|
33785
|
+
* @param request ReleaseDedicatedHostRequest
|
|
33786
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33787
|
+
* @return ReleaseDedicatedHostResponse
|
|
33788
|
+
*/
|
|
32629
33789
|
releaseDedicatedHostWithOptions(request: ReleaseDedicatedHostRequest, runtime: $Util.RuntimeOptions): Promise<ReleaseDedicatedHostResponse>;
|
|
33790
|
+
/**
|
|
33791
|
+
* Before you release a pay-as-you-go dedicated host, make sure that no Elastic Compute Service (ECS) instances are deployed on the dedicated host.
|
|
33792
|
+
*
|
|
33793
|
+
* @param request ReleaseDedicatedHostRequest
|
|
33794
|
+
* @return ReleaseDedicatedHostResponse
|
|
33795
|
+
*/
|
|
32630
33796
|
releaseDedicatedHost(request: ReleaseDedicatedHostRequest): Promise<ReleaseDedicatedHostResponse>;
|
|
32631
33797
|
/**
|
|
32632
33798
|
* @deprecated
|
|
@@ -32662,7 +33828,22 @@ export default class Client extends OpenApi {
|
|
|
32662
33828
|
removeBandwidthPackageIps(request: RemoveBandwidthPackageIpsRequest): Promise<RemoveBandwidthPackageIpsResponse>;
|
|
32663
33829
|
removeTagsWithOptions(request: RemoveTagsRequest, runtime: $Util.RuntimeOptions): Promise<RemoveTagsResponse>;
|
|
32664
33830
|
removeTags(request: RemoveTagsRequest): Promise<RemoveTagsResponse>;
|
|
33831
|
+
/**
|
|
33832
|
+
* ## Description
|
|
33833
|
+
* When you renew the subscription dedicated hosts, deductible vouchers are used first by default. Make sure that your account supports credit card payments or balance payments.
|
|
33834
|
+
*
|
|
33835
|
+
* @param request RenewDedicatedHostsRequest
|
|
33836
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33837
|
+
* @return RenewDedicatedHostsResponse
|
|
33838
|
+
*/
|
|
32665
33839
|
renewDedicatedHostsWithOptions(request: RenewDedicatedHostsRequest, runtime: $Util.RuntimeOptions): Promise<RenewDedicatedHostsResponse>;
|
|
33840
|
+
/**
|
|
33841
|
+
* ## Description
|
|
33842
|
+
* When you renew the subscription dedicated hosts, deductible vouchers are used first by default. Make sure that your account supports credit card payments or balance payments.
|
|
33843
|
+
*
|
|
33844
|
+
* @param request RenewDedicatedHostsRequest
|
|
33845
|
+
* @return RenewDedicatedHostsResponse
|
|
33846
|
+
*/
|
|
32666
33847
|
renewDedicatedHosts(request: RenewDedicatedHostsRequest): Promise<RenewDedicatedHostsResponse>;
|
|
32667
33848
|
/**
|
|
32668
33849
|
* * Before you call this operation, make sure that you are familiar with the billing methods and pricing schedule of ECS. For more information, see the [Elastic Compute Service](https://www.alibabacloud.com/product/ecs#pricing) product page.
|
|
@@ -32685,19 +33866,189 @@ export default class Client extends OpenApi {
|
|
|
32685
33866
|
* @return RenewInstanceResponse
|
|
32686
33867
|
*/
|
|
32687
33868
|
renewInstance(request: RenewInstanceRequest): Promise<RenewInstanceResponse>;
|
|
33869
|
+
/**
|
|
33870
|
+
* * Before you call this operation, make sure that you fully understand the billing method of reserved instances. For more information, see [Reserved instances](~~100371~~).
|
|
33871
|
+
* * You can call the [DescribeReservedInstances](~~100065~~) operation to query the reserved instances that you purchased.
|
|
33872
|
+
*
|
|
33873
|
+
* @param request RenewReservedInstancesRequest
|
|
33874
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33875
|
+
* @return RenewReservedInstancesResponse
|
|
33876
|
+
*/
|
|
32688
33877
|
renewReservedInstancesWithOptions(request: RenewReservedInstancesRequest, runtime: $Util.RuntimeOptions): Promise<RenewReservedInstancesResponse>;
|
|
33878
|
+
/**
|
|
33879
|
+
* * Before you call this operation, make sure that you fully understand the billing method of reserved instances. For more information, see [Reserved instances](~~100371~~).
|
|
33880
|
+
* * You can call the [DescribeReservedInstances](~~100065~~) operation to query the reserved instances that you purchased.
|
|
33881
|
+
*
|
|
33882
|
+
* @param request RenewReservedInstancesRequest
|
|
33883
|
+
* @return RenewReservedInstancesResponse
|
|
33884
|
+
*/
|
|
32689
33885
|
renewReservedInstances(request: RenewReservedInstancesRequest): Promise<RenewReservedInstancesResponse>;
|
|
33886
|
+
/**
|
|
33887
|
+
* When you call this operation, take note of the following items:
|
|
33888
|
+
* * You must specify the `ImageId` parameter or the `DiskId` parameter. You cannot specify both parameters in the same request. Otherwise, the request fails and an error message is returned.````
|
|
33889
|
+
* > You can use the `DiskId` parameter to replace the operating system of an instance. This feature is in invitational preview. To use this feature, [submit a ticket](https://workorder-intl.console.aliyun.com/console.htm).
|
|
33890
|
+
* * The category of the system disk cannot be changed.
|
|
33891
|
+
* * The billing method of the system disk cannot be changed.
|
|
33892
|
+
* * The instance must be in the `Stopped` state.
|
|
33893
|
+
* **
|
|
33894
|
+
* **Note**This item is applicable only to instances in virtual private clouds (VPCs). If the instance is a pay-as-you-go instance and the economical mode is enabled by default for the instance, you must set the stop mode to the standard mode when you stop the instance. This prevents instance restart failures caused by insufficient resources after the system disk is replaced. For more information, see [StopInstance](~~25501~~).
|
|
33895
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance.`` For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
33896
|
+
* * You cannot have unpaid orders that are associated with the instance.
|
|
33897
|
+
* * You can configure the `SystemDisk.Size` parameter to specify the capacity of the new system disk.
|
|
33898
|
+
* After you call this operation, you can use one of the following methods to check whether the system disk is replaced:
|
|
33899
|
+
* * Call the [DescribeDisks](~~25514~~) operation to query the state of the new system disk. If the new system disk is in the In_use state, the system disk is replaced.
|
|
33900
|
+
* * Call the [DescribeInstances](~~25506~~) operation to query the state of the instance whose system disk is replaced. If `OperationLocks` in the response is empty, the system disk is replaced.
|
|
33901
|
+
*
|
|
33902
|
+
* @param request ReplaceSystemDiskRequest
|
|
33903
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33904
|
+
* @return ReplaceSystemDiskResponse
|
|
33905
|
+
*/
|
|
32690
33906
|
replaceSystemDiskWithOptions(request: ReplaceSystemDiskRequest, runtime: $Util.RuntimeOptions): Promise<ReplaceSystemDiskResponse>;
|
|
33907
|
+
/**
|
|
33908
|
+
* When you call this operation, take note of the following items:
|
|
33909
|
+
* * You must specify the `ImageId` parameter or the `DiskId` parameter. You cannot specify both parameters in the same request. Otherwise, the request fails and an error message is returned.````
|
|
33910
|
+
* > You can use the `DiskId` parameter to replace the operating system of an instance. This feature is in invitational preview. To use this feature, [submit a ticket](https://workorder-intl.console.aliyun.com/console.htm).
|
|
33911
|
+
* * The category of the system disk cannot be changed.
|
|
33912
|
+
* * The billing method of the system disk cannot be changed.
|
|
33913
|
+
* * The instance must be in the `Stopped` state.
|
|
33914
|
+
* **
|
|
33915
|
+
* **Note**This item is applicable only to instances in virtual private clouds (VPCs). If the instance is a pay-as-you-go instance and the economical mode is enabled by default for the instance, you must set the stop mode to the standard mode when you stop the instance. This prevents instance restart failures caused by insufficient resources after the system disk is replaced. For more information, see [StopInstance](~~25501~~).
|
|
33916
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance.`` For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
33917
|
+
* * You cannot have unpaid orders that are associated with the instance.
|
|
33918
|
+
* * You can configure the `SystemDisk.Size` parameter to specify the capacity of the new system disk.
|
|
33919
|
+
* After you call this operation, you can use one of the following methods to check whether the system disk is replaced:
|
|
33920
|
+
* * Call the [DescribeDisks](~~25514~~) operation to query the state of the new system disk. If the new system disk is in the In_use state, the system disk is replaced.
|
|
33921
|
+
* * Call the [DescribeInstances](~~25506~~) operation to query the state of the instance whose system disk is replaced. If `OperationLocks` in the response is empty, the system disk is replaced.
|
|
33922
|
+
*
|
|
33923
|
+
* @param request ReplaceSystemDiskRequest
|
|
33924
|
+
* @return ReplaceSystemDiskResponse
|
|
33925
|
+
*/
|
|
32691
33926
|
replaceSystemDisk(request: ReplaceSystemDiskRequest): Promise<ReplaceSystemDiskResponse>;
|
|
32692
33927
|
reportInstancesStatusWithOptions(request: ReportInstancesStatusRequest, runtime: $Util.RuntimeOptions): Promise<ReportInstancesStatusResponse>;
|
|
32693
33928
|
reportInstancesStatus(request: ReportInstancesStatusRequest): Promise<ReportInstancesStatusResponse>;
|
|
33929
|
+
/**
|
|
33930
|
+
* When you call this operation, take note of the following items:
|
|
33931
|
+
* * The disk must be in the In Use (In_Use) or Unattached (Available) state.
|
|
33932
|
+
* * The Elastic Compute Service (ECS) instance to which the disk is attached must be in the Stopped (Stopped) state. You can call the [StopInstances](~~155372~~) operation to stop an instance.
|
|
33933
|
+
* * The snapshot specified by the SnapshotId parameter must be created from the disk specified by the DiskId parameter.
|
|
33934
|
+
* * When you call the [DescribeInstances](~~25506~~) operation to query instance information, if the response contains `{"OperationLocks": {"LockReason" : "security"}}` for an instance, the instance is locked for security reasons and no operations can be performed on the instance.
|
|
33935
|
+
*
|
|
33936
|
+
* @param request ResetDiskRequest
|
|
33937
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33938
|
+
* @return ResetDiskResponse
|
|
33939
|
+
*/
|
|
32694
33940
|
resetDiskWithOptions(request: ResetDiskRequest, runtime: $Util.RuntimeOptions): Promise<ResetDiskResponse>;
|
|
33941
|
+
/**
|
|
33942
|
+
* When you call this operation, take note of the following items:
|
|
33943
|
+
* * The disk must be in the In Use (In_Use) or Unattached (Available) state.
|
|
33944
|
+
* * The Elastic Compute Service (ECS) instance to which the disk is attached must be in the Stopped (Stopped) state. You can call the [StopInstances](~~155372~~) operation to stop an instance.
|
|
33945
|
+
* * The snapshot specified by the SnapshotId parameter must be created from the disk specified by the DiskId parameter.
|
|
33946
|
+
* * When you call the [DescribeInstances](~~25506~~) operation to query instance information, if the response contains `{"OperationLocks": {"LockReason" : "security"}}` for an instance, the instance is locked for security reasons and no operations can be performed on the instance.
|
|
33947
|
+
*
|
|
33948
|
+
* @param request ResetDiskRequest
|
|
33949
|
+
* @return ResetDiskResponse
|
|
33950
|
+
*/
|
|
32695
33951
|
resetDisk(request: ResetDiskRequest): Promise<ResetDiskResponse>;
|
|
33952
|
+
/**
|
|
33953
|
+
* This operation will be removed in the future. We recommend that you call the [ResetDisk](~~25520~~) operation to roll back a disk.
|
|
33954
|
+
*
|
|
33955
|
+
* @param request ResetDisksRequest
|
|
33956
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33957
|
+
* @return ResetDisksResponse
|
|
33958
|
+
*/
|
|
32696
33959
|
resetDisksWithOptions(request: ResetDisksRequest, runtime: $Util.RuntimeOptions): Promise<ResetDisksResponse>;
|
|
33960
|
+
/**
|
|
33961
|
+
* This operation will be removed in the future. We recommend that you call the [ResetDisk](~~25520~~) operation to roll back a disk.
|
|
33962
|
+
*
|
|
33963
|
+
* @param request ResetDisksRequest
|
|
33964
|
+
* @return ResetDisksResponse
|
|
33965
|
+
*/
|
|
32697
33966
|
resetDisks(request: ResetDisksRequest): Promise<ResetDisksResponse>;
|
|
33967
|
+
/**
|
|
33968
|
+
* ## Description
|
|
33969
|
+
* > Before you call this operation to resize a disk, you must check the partition format of the disk. You cannot resize a master boot record (MBR) disk to greater than or equal to 2 TiB without data loss. To resize an MBR disk to greater than or equal to 2 TiB in size, we recommend that you create and attach a new data disk with the desired size. Then, you can partition and format the new data disk to GUID partition table (GPT) and copy data from the MBR disk to the new GPT data disk. For more information, see [Resize disks offline](~~44986~~).
|
|
33970
|
+
* * You can resize the following categories of disks: basic disks (`cloud`), ultra disks (`cloud_efficiency`), standard SSDs (`cloud_ssd`), and enhanced SSDs (ESSDs) (`cloud_essd`).
|
|
33971
|
+
* * You cannot resize a disk when a snapshot is being created for the disk.
|
|
33972
|
+
* * The instance to which the disk to be resized is attached must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
33973
|
+
* * After you resize a disk, its partitions and file systems are not changed. You must manually allocate the storage space on the disk after it is resized.
|
|
33974
|
+
* * Disks for which the multi-attach feature is enabled can only be resized offline. Before you resize the disks, make sure that instances to which the disks are attached are in the **Stopped** (`Stopped`) state.
|
|
33975
|
+
*
|
|
33976
|
+
* @param request ResizeDiskRequest
|
|
33977
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33978
|
+
* @return ResizeDiskResponse
|
|
33979
|
+
*/
|
|
32698
33980
|
resizeDiskWithOptions(request: ResizeDiskRequest, runtime: $Util.RuntimeOptions): Promise<ResizeDiskResponse>;
|
|
33981
|
+
/**
|
|
33982
|
+
* ## Description
|
|
33983
|
+
* > Before you call this operation to resize a disk, you must check the partition format of the disk. You cannot resize a master boot record (MBR) disk to greater than or equal to 2 TiB without data loss. To resize an MBR disk to greater than or equal to 2 TiB in size, we recommend that you create and attach a new data disk with the desired size. Then, you can partition and format the new data disk to GUID partition table (GPT) and copy data from the MBR disk to the new GPT data disk. For more information, see [Resize disks offline](~~44986~~).
|
|
33984
|
+
* * You can resize the following categories of disks: basic disks (`cloud`), ultra disks (`cloud_efficiency`), standard SSDs (`cloud_ssd`), and enhanced SSDs (ESSDs) (`cloud_essd`).
|
|
33985
|
+
* * You cannot resize a disk when a snapshot is being created for the disk.
|
|
33986
|
+
* * The instance to which the disk to be resized is attached must be in the **Running** (`Running`) or **Stopped** (`Stopped`) state.
|
|
33987
|
+
* * After you resize a disk, its partitions and file systems are not changed. You must manually allocate the storage space on the disk after it is resized.
|
|
33988
|
+
* * Disks for which the multi-attach feature is enabled can only be resized offline. Before you resize the disks, make sure that instances to which the disks are attached are in the **Stopped** (`Stopped`) state.
|
|
33989
|
+
*
|
|
33990
|
+
* @param request ResizeDiskRequest
|
|
33991
|
+
* @return ResizeDiskResponse
|
|
33992
|
+
*/
|
|
32699
33993
|
resizeDisk(request: ResizeDiskRequest): Promise<ResizeDiskResponse>;
|
|
33994
|
+
/**
|
|
33995
|
+
* When you call this operation, you can use one of the following groups of parameters to specify the security group rules that you want to delete:
|
|
33996
|
+
* * Parameters used to specify the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules. - If the specified security group rule ID does not exist, an error is reported. - Parameters that are no longer used and their Permissions.N-prefixed counterparts cannot be specified at the same time. - Sample request:
|
|
33997
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup
|
|
33998
|
+
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
33999
|
+
* &SecurityGroupRuleId.1=sgr-bpdfmk****
|
|
34000
|
+
* &SecurityGroupRuleId.2=sgr-bpdfmg****
|
|
34001
|
+
* &<Common request parameters>
|
|
34002
|
+
* * Parameters prefixed with Permissions.N.
|
|
34003
|
+
* * If no security group rule matches the specified parameters, the call to RevokeSecurityGroup is successful but no security group rule is deleted.
|
|
34004
|
+
* * Security group rule IDs and parameters without the Permissions.N prefix cannot be specified.
|
|
34005
|
+
* * You can determine an inbound rule by specifying one of the following groups of parameters. You cannot determine a security group rule by specifying only one parameter.
|
|
34006
|
+
* * Parameters used to determine an inbound security group rule that controls access from a specified CIDR block: SecurityGroupId, Permissions.N.IpProtocol, Permissions.N.PortRange, Permissions.N.SourcePortRange, Permissions.N.NicType, Permissions.N.Policy, Permissions.N.DestCidrIp, and Permissions.N.SourceCidrIp. The Permissions.N.SourcePortRange and Permissions.N.DestCidrIp parameters are optional. Sample request:
|
|
34007
|
+
* ```
|
|
34008
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourceCidrIp=10.0.0.0/8&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
|
|
34009
|
+
* ```
|
|
34010
|
+
* * Parameters used to determine an inbound security group rule that controls access from a security group: SecurityGroupId, Permissions.N.IpProtocol, Permissions.N.PortRange, Permissions.N.SourcePortRange, Permissions.N.NicType, Permissions.N.Policy, Permissions.N.DestCidrIp, and Permissions.N.SourceGroupId. The Permissions.N.SourcePortRange and Permissions.N.DestCidrIp parameters are optional. Sample request:
|
|
34011
|
+
* ```
|
|
34012
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup \\&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourceGroupId=sg-bp67acfmxa123b****&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
|
|
34013
|
+
* ```
|
|
34014
|
+
* * Parameters used to delete an inbound security group rule that controls access from a prefix list. SecurityGroupId, Permissions.N.IpProtocol, Permissions.N.PortRange, Permissions.N.SourcePortRange, Permissions.N.NicType, Permissions.N.Policy, Permissions.N.DestCidrIp, and Permissions.N.SourcePrefixListId. The Permissions.N.SourcePortRange and Permissions.N.DestCidrIp parameters are optional. Sample request:
|
|
34015
|
+
* ```
|
|
34016
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
|
|
34017
|
+
* ```
|
|
34018
|
+
*
|
|
34019
|
+
* @param request RevokeSecurityGroupRequest
|
|
34020
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
34021
|
+
* @return RevokeSecurityGroupResponse
|
|
34022
|
+
*/
|
|
32700
34023
|
revokeSecurityGroupWithOptions(request: RevokeSecurityGroupRequest, runtime: $Util.RuntimeOptions): Promise<RevokeSecurityGroupResponse>;
|
|
34024
|
+
/**
|
|
34025
|
+
* When you call this operation, you can use one of the following groups of parameters to specify the security group rules that you want to delete:
|
|
34026
|
+
* * Parameters used to specify the IDs of security group rules. We recommend that you specify the IDs of security group rules to delete the rules. - If the specified security group rule ID does not exist, an error is reported. - Parameters that are no longer used and their Permissions.N-prefixed counterparts cannot be specified at the same time. - Sample request:
|
|
34027
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup
|
|
34028
|
+
* &SecurityGroupId=sg-bp67acfmxazb4p****
|
|
34029
|
+
* &SecurityGroupRuleId.1=sgr-bpdfmk****
|
|
34030
|
+
* &SecurityGroupRuleId.2=sgr-bpdfmg****
|
|
34031
|
+
* &<Common request parameters>
|
|
34032
|
+
* * Parameters prefixed with Permissions.N.
|
|
34033
|
+
* * If no security group rule matches the specified parameters, the call to RevokeSecurityGroup is successful but no security group rule is deleted.
|
|
34034
|
+
* * Security group rule IDs and parameters without the Permissions.N prefix cannot be specified.
|
|
34035
|
+
* * You can determine an inbound rule by specifying one of the following groups of parameters. You cannot determine a security group rule by specifying only one parameter.
|
|
34036
|
+
* * Parameters used to determine an inbound security group rule that controls access from a specified CIDR block: SecurityGroupId, Permissions.N.IpProtocol, Permissions.N.PortRange, Permissions.N.SourcePortRange, Permissions.N.NicType, Permissions.N.Policy, Permissions.N.DestCidrIp, and Permissions.N.SourceCidrIp. The Permissions.N.SourcePortRange and Permissions.N.DestCidrIp parameters are optional. Sample request:
|
|
34037
|
+
* ```
|
|
34038
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourceCidrIp=10.0.0.0/8&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
|
|
34039
|
+
* ```
|
|
34040
|
+
* * Parameters used to determine an inbound security group rule that controls access from a security group: SecurityGroupId, Permissions.N.IpProtocol, Permissions.N.PortRange, Permissions.N.SourcePortRange, Permissions.N.NicType, Permissions.N.Policy, Permissions.N.DestCidrIp, and Permissions.N.SourceGroupId. The Permissions.N.SourcePortRange and Permissions.N.DestCidrIp parameters are optional. Sample request:
|
|
34041
|
+
* ```
|
|
34042
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup \\&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourceGroupId=sg-bp67acfmxa123b****&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
|
|
34043
|
+
* ```
|
|
34044
|
+
* * Parameters used to delete an inbound security group rule that controls access from a prefix list. SecurityGroupId, Permissions.N.IpProtocol, Permissions.N.PortRange, Permissions.N.SourcePortRange, Permissions.N.NicType, Permissions.N.Policy, Permissions.N.DestCidrIp, and Permissions.N.SourcePrefixListId. The Permissions.N.SourcePortRange and Permissions.N.DestCidrIp parameters are optional. Sample request:
|
|
34045
|
+
* ```
|
|
34046
|
+
* http(s)://ecs.aliyuncs.com/?Action=RevokeSecurityGroup&SecurityGroupId=sg-bp67acfmxazb4p****&Permissions.1.SourcePrefixListId=pl-x1j1k5ykzqlixdcy****&Permissions.1.IpProtocol=TCP&Permissions.1.PortRange=80/80&Permissions.1.NicType=intranet&Permissions.1.Policy=accept&<Common request parameters>
|
|
34047
|
+
* ```
|
|
34048
|
+
*
|
|
34049
|
+
* @param request RevokeSecurityGroupRequest
|
|
34050
|
+
* @return RevokeSecurityGroupResponse
|
|
34051
|
+
*/
|
|
32701
34052
|
revokeSecurityGroup(request: RevokeSecurityGroupRequest): Promise<RevokeSecurityGroupResponse>;
|
|
32702
34053
|
/**
|
|
32703
34054
|
* ## Description
|
|
@@ -32841,9 +34192,87 @@ export default class Client extends OpenApi {
|
|
|
32841
34192
|
* @return RunCommandResponse
|
|
32842
34193
|
*/
|
|
32843
34194
|
runCommand(request: RunCommandRequest): Promise<RunCommandResponse>;
|
|
34195
|
+
/**
|
|
34196
|
+
* * **Preparations**:
|
|
34197
|
+
* * The real-name verification is complete. For more information, see [Real-name verification](~~48263~~).
|
|
34198
|
+
* * Cost estimation: Learn about the billing methods of ECS resources. For more information, see [Billing overview](~~25398~~).
|
|
34199
|
+
* * Instance type selection: Call the [DescribeInstanceTypes](~~25620~~) operation to query the performance data of instance types, or see [Best practices for instance type selection](~~58291~~) to learn about how to select instance types.
|
|
34200
|
+
* * Query for available resources: Call the [DescribeAvailableResource](~~66186~~) operation to query available resources in a specific region or zone.
|
|
34201
|
+
* * Network planning: Make sure that you have security groups available for use. For more information, see [CreateSecurityGroup](~~25553~~). Before you create an instance of the Virtual Private Cloud (VPC) type, create a VPC in the region where you want to create the instance. For more information, see [Create a VPC](~~65430~~).
|
|
34202
|
+
* * **Precautions**:
|
|
34203
|
+
* * You can create a maximum of 100 instances at a time.
|
|
34204
|
+
* * You can use the `AutoReleaseTime` parameter to set the time when you want the instances to be automatically released.
|
|
34205
|
+
* * After instances are created, you can call the [DescribeInstances](~~25506~~) operation to check their states.
|
|
34206
|
+
* * By default, instances automatically start after they are created. Instances are ready for use when they are in the Running (`Running`) state.
|
|
34207
|
+
* * As of November 27, 2020, the maximum bandwidth value available for you to create ECS instances or to change ECS instance configurations is subject to the throttling policy for your account. To increase the maximum bandwidth value, submit a ticket. The throttling policy imposes the following constraints: Within 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 that of all instances that use the pay-by-bandwidth billing method for network usage cannot exceed 50 Gbit/s.
|
|
34208
|
+
* * Different from the [CreateInstance](~~25499~~) operation, the `RunInstances` operation allows the system to assign public IP addresses to the new instances if you set the `InternetMaxBandwidthOut` parameter to a value greater than 0.
|
|
34209
|
+
* * When you call the RunInstances operation to create an instance, you can use one of the following methods to bind a primary elastic network interface (ENI) to the instance. Note that you can use only one of the methods to configure the primary ENI in each call. Otherwise, the call fails and an error message is returned. Specify parameters such as `SecurityGroupId`, `VSwitchId`, `PrivateIpAddress`, `NetworkInterfaceQueueNumber`, and `Ipv6AddressCount` to configure the primary ENI. Specify parameters that start with `NetworkInterface.N.` to configure the primary and secondary ENIs. If `NetworkInterface.N.InstanceType` is set to `Primary`, the primary ENI is bound to the instance. If `NetworkInterface.N.InstanceType` is set to `Secondary` or left empty, a secondary ENI is bound to the instance.
|
|
34210
|
+
* * After you call this operation, an error is returned if a parameter is invalid or if available resources are insufficient. For more information, see the "Error codes" section of this topic.
|
|
34211
|
+
* > If the `QuotaExceed.ElasticQuota` error is returned when you call this operation, you have reached the maximum number of instances of the specified instance type that can be created within the specified region or the maximum number of vCPUs for all instance types in a zone. You can go to the [ECS console](https://ecs.console.aliyun.com/?spm=a2c8b.12215451.favorites.decs.5e3a336aMGTtzy#/privileges/quota) or [Quota Center](https://quotas.console.aliyun.com/products/ecs/quotas) to request a quota increase.
|
|
34212
|
+
* * **Best practices**:
|
|
34213
|
+
* * We recommend that you use auto provisioning groups in the following scenarios: Resources are insufficient to create more than 100 instances at a time, you want to quickly create instances regardless of resource configurations such as instance types or zones, or you want to create instances to consume a specific total number of vCPUs regardless of the number of the instances. You can call the [CreateAutoProvisioningGroup](~~122738~~) operation to create an auto provisioning group to deploy an instance cluster across different billing methods, instance families, and zones. For more information, see [Use auto provisioning group-related API operations to create multiple ECS instances at the same time](~~200772~~).
|
|
34214
|
+
* * You can call the `RunInstances` operation to batch create instances. To better manage and search for these instances, we recommend that you specify tags for the instances by using the `Tag.N.Key` and `Tag.N.Value` parameters. You can also append incremental suffixes (`UniqueSuffix`) to the hostname (`HostName`) and to the instance name (`InstanceName`).
|
|
34215
|
+
* * A launch template contains 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](~~74686~~) operation to create a launch template. Then, in your request to call the `RunInstances` operation, you can specify the `LaunchTemplateId` and `LaunchTemplateVersion` parameters to use the launch template.
|
|
34216
|
+
* * When you create an instance in the [ECS console](https://ecs.console.aliyun.com/), you can view the best practices for calling the `RunInstances` operation. In the Preview step, click View Open API in the Configurations Selected section. In the dialog box that appears, the left-side **API Workflow** section shows the operations and request parameters that are related to the `RunInstances` operation. The right-side section shows SDK examples for the **Java** and **Python** programming languages.
|
|
34217
|
+
*
|
|
34218
|
+
* @param request RunInstancesRequest
|
|
34219
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
34220
|
+
* @return RunInstancesResponse
|
|
34221
|
+
*/
|
|
32844
34222
|
runInstancesWithOptions(request: RunInstancesRequest, runtime: $Util.RuntimeOptions): Promise<RunInstancesResponse>;
|
|
34223
|
+
/**
|
|
34224
|
+
* * **Preparations**:
|
|
34225
|
+
* * The real-name verification is complete. For more information, see [Real-name verification](~~48263~~).
|
|
34226
|
+
* * Cost estimation: Learn about the billing methods of ECS resources. For more information, see [Billing overview](~~25398~~).
|
|
34227
|
+
* * Instance type selection: Call the [DescribeInstanceTypes](~~25620~~) operation to query the performance data of instance types, or see [Best practices for instance type selection](~~58291~~) to learn about how to select instance types.
|
|
34228
|
+
* * Query for available resources: Call the [DescribeAvailableResource](~~66186~~) operation to query available resources in a specific region or zone.
|
|
34229
|
+
* * Network planning: Make sure that you have security groups available for use. For more information, see [CreateSecurityGroup](~~25553~~). Before you create an instance of the Virtual Private Cloud (VPC) type, create a VPC in the region where you want to create the instance. For more information, see [Create a VPC](~~65430~~).
|
|
34230
|
+
* * **Precautions**:
|
|
34231
|
+
* * You can create a maximum of 100 instances at a time.
|
|
34232
|
+
* * You can use the `AutoReleaseTime` parameter to set the time when you want the instances to be automatically released.
|
|
34233
|
+
* * After instances are created, you can call the [DescribeInstances](~~25506~~) operation to check their states.
|
|
34234
|
+
* * By default, instances automatically start after they are created. Instances are ready for use when they are in the Running (`Running`) state.
|
|
34235
|
+
* * As of November 27, 2020, the maximum bandwidth value available for you to create ECS instances or to change ECS instance configurations is subject to the throttling policy for your account. To increase the maximum bandwidth value, submit a ticket. The throttling policy imposes the following constraints: Within 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 that of all instances that use the pay-by-bandwidth billing method for network usage cannot exceed 50 Gbit/s.
|
|
34236
|
+
* * Different from the [CreateInstance](~~25499~~) operation, the `RunInstances` operation allows the system to assign public IP addresses to the new instances if you set the `InternetMaxBandwidthOut` parameter to a value greater than 0.
|
|
34237
|
+
* * When you call the RunInstances operation to create an instance, you can use one of the following methods to bind a primary elastic network interface (ENI) to the instance. Note that you can use only one of the methods to configure the primary ENI in each call. Otherwise, the call fails and an error message is returned. Specify parameters such as `SecurityGroupId`, `VSwitchId`, `PrivateIpAddress`, `NetworkInterfaceQueueNumber`, and `Ipv6AddressCount` to configure the primary ENI. Specify parameters that start with `NetworkInterface.N.` to configure the primary and secondary ENIs. If `NetworkInterface.N.InstanceType` is set to `Primary`, the primary ENI is bound to the instance. If `NetworkInterface.N.InstanceType` is set to `Secondary` or left empty, a secondary ENI is bound to the instance.
|
|
34238
|
+
* * After you call this operation, an error is returned if a parameter is invalid or if available resources are insufficient. For more information, see the "Error codes" section of this topic.
|
|
34239
|
+
* > If the `QuotaExceed.ElasticQuota` error is returned when you call this operation, you have reached the maximum number of instances of the specified instance type that can be created within the specified region or the maximum number of vCPUs for all instance types in a zone. You can go to the [ECS console](https://ecs.console.aliyun.com/?spm=a2c8b.12215451.favorites.decs.5e3a336aMGTtzy#/privileges/quota) or [Quota Center](https://quotas.console.aliyun.com/products/ecs/quotas) to request a quota increase.
|
|
34240
|
+
* * **Best practices**:
|
|
34241
|
+
* * We recommend that you use auto provisioning groups in the following scenarios: Resources are insufficient to create more than 100 instances at a time, you want to quickly create instances regardless of resource configurations such as instance types or zones, or you want to create instances to consume a specific total number of vCPUs regardless of the number of the instances. You can call the [CreateAutoProvisioningGroup](~~122738~~) operation to create an auto provisioning group to deploy an instance cluster across different billing methods, instance families, and zones. For more information, see [Use auto provisioning group-related API operations to create multiple ECS instances at the same time](~~200772~~).
|
|
34242
|
+
* * You can call the `RunInstances` operation to batch create instances. To better manage and search for these instances, we recommend that you specify tags for the instances by using the `Tag.N.Key` and `Tag.N.Value` parameters. You can also append incremental suffixes (`UniqueSuffix`) to the hostname (`HostName`) and to the instance name (`InstanceName`).
|
|
34243
|
+
* * A launch template contains 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](~~74686~~) operation to create a launch template. Then, in your request to call the `RunInstances` operation, you can specify the `LaunchTemplateId` and `LaunchTemplateVersion` parameters to use the launch template.
|
|
34244
|
+
* * When you create an instance in the [ECS console](https://ecs.console.aliyun.com/), you can view the best practices for calling the `RunInstances` operation. In the Preview step, click View Open API in the Configurations Selected section. In the dialog box that appears, the left-side **API Workflow** section shows the operations and request parameters that are related to the `RunInstances` operation. The right-side section shows SDK examples for the **Java** and **Python** programming languages.
|
|
34245
|
+
*
|
|
34246
|
+
* @param request RunInstancesRequest
|
|
34247
|
+
* @return RunInstancesResponse
|
|
34248
|
+
*/
|
|
32845
34249
|
runInstances(request: RunInstancesRequest): Promise<RunInstancesResponse>;
|
|
34250
|
+
/**
|
|
34251
|
+
* * The instances to which to send a file must be in the Running (`Running`) state.
|
|
34252
|
+
* * The Cloud Assistant client must be installed on the instances. For information about how to install the Cloud Assistant client, see [InstallCloudAssistant](~~85916~~).
|
|
34253
|
+
* * Only the Cloud Assistant client versions that are later than the following ones support file sending. If the `ClientNeedUpgrade` error code is returned, you must upgrade the Cloud Assistant client to the latest version. For more information, see [Update or disable updates for the Cloud Assistant client](~~134383~~).
|
|
34254
|
+
* * For Linux instances, the version of the Cloud Assistant client must be later than 1.0.2.569.
|
|
34255
|
+
* * For Windows instances, the version of the Cloud Assistant client must be later than 1.0.0.149.
|
|
34256
|
+
* * The file to be sent must not exceed 32 KB in size after it is encoded in Base64.
|
|
34257
|
+
* * The file may fail to be sent due to exceptions on the instances, network, or the Cloud Assistance client. Call the [DescribeSendFileResults](~~~~) operation to troubleshoot the issues.
|
|
34258
|
+
*
|
|
34259
|
+
* @param request SendFileRequest
|
|
34260
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
34261
|
+
* @return SendFileResponse
|
|
34262
|
+
*/
|
|
32846
34263
|
sendFileWithOptions(request: SendFileRequest, runtime: $Util.RuntimeOptions): Promise<SendFileResponse>;
|
|
34264
|
+
/**
|
|
34265
|
+
* * The instances to which to send a file must be in the Running (`Running`) state.
|
|
34266
|
+
* * The Cloud Assistant client must be installed on the instances. For information about how to install the Cloud Assistant client, see [InstallCloudAssistant](~~85916~~).
|
|
34267
|
+
* * Only the Cloud Assistant client versions that are later than the following ones support file sending. If the `ClientNeedUpgrade` error code is returned, you must upgrade the Cloud Assistant client to the latest version. For more information, see [Update or disable updates for the Cloud Assistant client](~~134383~~).
|
|
34268
|
+
* * For Linux instances, the version of the Cloud Assistant client must be later than 1.0.2.569.
|
|
34269
|
+
* * For Windows instances, the version of the Cloud Assistant client must be later than 1.0.0.149.
|
|
34270
|
+
* * The file to be sent must not exceed 32 KB in size after it is encoded in Base64.
|
|
34271
|
+
* * The file may fail to be sent due to exceptions on the instances, network, or the Cloud Assistance client. Call the [DescribeSendFileResults](~~~~) operation to troubleshoot the issues.
|
|
34272
|
+
*
|
|
34273
|
+
* @param request SendFileRequest
|
|
34274
|
+
* @return SendFileResponse
|
|
34275
|
+
*/
|
|
32847
34276
|
sendFile(request: SendFileRequest): Promise<SendFileResponse>;
|
|
32848
34277
|
/**
|
|
32849
34278
|
* @deprecated
|
|
@@ -32860,21 +34289,163 @@ export default class Client extends OpenApi {
|
|
|
32860
34289
|
* @return StartElasticityAssuranceResponse
|
|
32861
34290
|
*/
|
|
32862
34291
|
startElasticityAssurance(request: StartElasticityAssuranceRequest): Promise<StartElasticityAssuranceResponse>;
|
|
34292
|
+
/**
|
|
34293
|
+
* * After an image template is created, you must call the StartImagePipelineExecution operation to execute an image creation task. The system creates, distributes, and shares an image based on the parameters configured in the image template.
|
|
34294
|
+
* * Only one image creation task can be executed at a time based on a single image template. You can call the CancelImagePipelineExecution operation multiple times to cancel multiple image creation tasks at a time. If you cancel some image creation tasks, the other tasks are not affected.
|
|
34295
|
+
*
|
|
34296
|
+
* @param request StartImagePipelineExecutionRequest
|
|
34297
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
34298
|
+
* @return StartImagePipelineExecutionResponse
|
|
34299
|
+
*/
|
|
32863
34300
|
startImagePipelineExecutionWithOptions(request: StartImagePipelineExecutionRequest, runtime: $Util.RuntimeOptions): Promise<StartImagePipelineExecutionResponse>;
|
|
34301
|
+
/**
|
|
34302
|
+
* * After an image template is created, you must call the StartImagePipelineExecution operation to execute an image creation task. The system creates, distributes, and shares an image based on the parameters configured in the image template.
|
|
34303
|
+
* * Only one image creation task can be executed at a time based on a single image template. You can call the CancelImagePipelineExecution operation multiple times to cancel multiple image creation tasks at a time. If you cancel some image creation tasks, the other tasks are not affected.
|
|
34304
|
+
*
|
|
34305
|
+
* @param request StartImagePipelineExecutionRequest
|
|
34306
|
+
* @return StartImagePipelineExecutionResponse
|
|
34307
|
+
*/
|
|
32864
34308
|
startImagePipelineExecution(request: StartImagePipelineExecutionRequest): Promise<StartImagePipelineExecutionResponse>;
|
|
34309
|
+
/**
|
|
34310
|
+
* ## Usage notes
|
|
34311
|
+
* When you call this operation, take note of the following items:
|
|
34312
|
+
* * The instances that you want to start must be in the **Stopped** (`Stopped`) state.
|
|
34313
|
+
* * If the response contains `{"OperationLocks"`: `{"LockReason" : "security"}}` for an instance when you query the information of the instance, the instance is locked for [security reasons](~~25695~~) and cannot be started.
|
|
34314
|
+
*
|
|
34315
|
+
* @param request StartInstanceRequest
|
|
34316
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
34317
|
+
* @return StartInstanceResponse
|
|
34318
|
+
*/
|
|
32865
34319
|
startInstanceWithOptions(request: StartInstanceRequest, runtime: $Util.RuntimeOptions): Promise<StartInstanceResponse>;
|
|
34320
|
+
/**
|
|
34321
|
+
* ## Usage notes
|
|
34322
|
+
* When you call this operation, take note of the following items:
|
|
34323
|
+
* * The instances that you want to start must be in the **Stopped** (`Stopped`) state.
|
|
34324
|
+
* * If the response contains `{"OperationLocks"`: `{"LockReason" : "security"}}` for an instance when you query the information of the instance, the instance is locked for [security reasons](~~25695~~) and cannot be started.
|
|
34325
|
+
*
|
|
34326
|
+
* @param request StartInstanceRequest
|
|
34327
|
+
* @return StartInstanceResponse
|
|
34328
|
+
*/
|
|
32866
34329
|
startInstance(request: StartInstanceRequest): Promise<StartInstanceResponse>;
|
|
34330
|
+
/**
|
|
34331
|
+
* When you call this operation, take note of the following items:
|
|
34332
|
+
* * The ECS instances that you want to start must be in the **Stopped** (`Stopped`) state.
|
|
34333
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the ECS instance is locked to ensure security. No operations are allowed on the ECS instance.
|
|
34334
|
+
* * You can start multiple ECS instances at the same time and use the `BatchOptimization` parameter to specify the batch operation mode.
|
|
34335
|
+
*
|
|
34336
|
+
* @param request StartInstancesRequest
|
|
34337
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
34338
|
+
* @return StartInstancesResponse
|
|
34339
|
+
*/
|
|
32867
34340
|
startInstancesWithOptions(request: StartInstancesRequest, runtime: $Util.RuntimeOptions): Promise<StartInstancesResponse>;
|
|
34341
|
+
/**
|
|
34342
|
+
* When you call this operation, take note of the following items:
|
|
34343
|
+
* * The ECS instances that you want to start must be in the **Stopped** (`Stopped`) state.
|
|
34344
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the ECS instance is locked to ensure security. No operations are allowed on the ECS instance.
|
|
34345
|
+
* * You can start multiple ECS instances at the same time and use the `BatchOptimization` parameter to specify the batch operation mode.
|
|
34346
|
+
*
|
|
34347
|
+
* @param request StartInstancesRequest
|
|
34348
|
+
* @return StartInstancesResponse
|
|
34349
|
+
*/
|
|
32868
34350
|
startInstances(request: StartInstancesRequest): Promise<StartInstancesResponse>;
|
|
34351
|
+
/**
|
|
34352
|
+
* ## Description
|
|
34353
|
+
* The session management feature is in public preview. To use this feature, log on with your Alibaba Cloud account and activate this feature.
|
|
34354
|
+
* When you use custom code to connect to an ECS instance that serves as a client, you can call this operation to obtain the WebSocket URL that is used to connect to the instance. Before you call this operation to create a session to an ECS instance, take note of the following items:
|
|
34355
|
+
* - The ECS instance must be in the Running (Running) state.
|
|
34356
|
+
* - The Cloud Assistant client must be installed on the ECS instance. You can call the [DescribeCloudAssistantStatus](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/describecloudassistantstatus) operation to check whether the Cloud Assistant client is installed on the ECS instance and query the version number of the installed Cloud Assistant client. - If the Cloud Assistant client is not installed on the ECS instance, call the [InstallCloudAssistant](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/installcloudassistant) operation to install the client.
|
|
34357
|
+
* - Only the Cloud Assistant client versions that are later than the following ones support the session management feature. You can upgrade your Cloud Assistant client. For information about how to upgrade the Cloud Assistant client, see [Update or disable updates for the Cloud Assistant client](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/update-or-disable-updates-for-the-cloud-assistant-client). - For Linux operating systems: V2.2.3.256
|
|
34358
|
+
* - For Windows operating systems: V2.1.3.256
|
|
34359
|
+
* - Each WebSocket URL returned by the StartTerminalSession operation remains valid for 10 minutes.
|
|
34360
|
+
* - Up to 1,000 sessions can be created and available per region. Each ECS instance can have up to 10 sessions in the connected state.
|
|
34361
|
+
*
|
|
34362
|
+
* @param request StartTerminalSessionRequest
|
|
34363
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
34364
|
+
* @return StartTerminalSessionResponse
|
|
34365
|
+
*/
|
|
32869
34366
|
startTerminalSessionWithOptions(request: StartTerminalSessionRequest, runtime: $Util.RuntimeOptions): Promise<StartTerminalSessionResponse>;
|
|
34367
|
+
/**
|
|
34368
|
+
* ## Description
|
|
34369
|
+
* The session management feature is in public preview. To use this feature, log on with your Alibaba Cloud account and activate this feature.
|
|
34370
|
+
* When you use custom code to connect to an ECS instance that serves as a client, you can call this operation to obtain the WebSocket URL that is used to connect to the instance. Before you call this operation to create a session to an ECS instance, take note of the following items:
|
|
34371
|
+
* - The ECS instance must be in the Running (Running) state.
|
|
34372
|
+
* - The Cloud Assistant client must be installed on the ECS instance. You can call the [DescribeCloudAssistantStatus](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/describecloudassistantstatus) operation to check whether the Cloud Assistant client is installed on the ECS instance and query the version number of the installed Cloud Assistant client. - If the Cloud Assistant client is not installed on the ECS instance, call the [InstallCloudAssistant](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/installcloudassistant) operation to install the client.
|
|
34373
|
+
* - Only the Cloud Assistant client versions that are later than the following ones support the session management feature. You can upgrade your Cloud Assistant client. For information about how to upgrade the Cloud Assistant client, see [Update or disable updates for the Cloud Assistant client](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/update-or-disable-updates-for-the-cloud-assistant-client). - For Linux operating systems: V2.2.3.256
|
|
34374
|
+
* - For Windows operating systems: V2.1.3.256
|
|
34375
|
+
* - Each WebSocket URL returned by the StartTerminalSession operation remains valid for 10 minutes.
|
|
34376
|
+
* - Up to 1,000 sessions can be created and available per region. Each ECS instance can have up to 10 sessions in the connected state.
|
|
34377
|
+
*
|
|
34378
|
+
* @param request StartTerminalSessionRequest
|
|
34379
|
+
* @return StartTerminalSessionResponse
|
|
34380
|
+
*/
|
|
32870
34381
|
startTerminalSession(request: StartTerminalSessionRequest): Promise<StartTerminalSessionResponse>;
|
|
34382
|
+
/**
|
|
34383
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance. ``For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
34384
|
+
* * If economical mode is enabled, you can set `StoppedMode` to KeepCharging to switch to standard mode. This allows an instance that is stopped in standard mode to retain its instance type resources and public IP address. However, you continue to be charged for the instance.
|
|
34385
|
+
*
|
|
34386
|
+
* @param request StopInstanceRequest
|
|
34387
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
34388
|
+
* @return StopInstanceResponse
|
|
34389
|
+
*/
|
|
32871
34390
|
stopInstanceWithOptions(request: StopInstanceRequest, runtime: $Util.RuntimeOptions): Promise<StopInstanceResponse>;
|
|
34391
|
+
/**
|
|
34392
|
+
* * If the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instance is locked for security reasons. No operations are allowed on the instance. ``For more information, see [API behavior when an instance is locked for security reasons](~~25695~~).
|
|
34393
|
+
* * If economical mode is enabled, you can set `StoppedMode` to KeepCharging to switch to standard mode. This allows an instance that is stopped in standard mode to retain its instance type resources and public IP address. However, you continue to be charged for the instance.
|
|
34394
|
+
*
|
|
34395
|
+
* @param request StopInstanceRequest
|
|
34396
|
+
* @return StopInstanceResponse
|
|
34397
|
+
*/
|
|
32872
34398
|
stopInstance(request: StopInstanceRequest): Promise<StopInstanceResponse>;
|
|
34399
|
+
/**
|
|
34400
|
+
* * If you call the DescribeInstances operation and the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instances are locked for security reasons and cannot be stopped.
|
|
34401
|
+
* * If the economical mode is enabled for pay-as-you-go instances, you can set `StoppedMode` to KeepCharging to enable the standard mode for the instances. Then, after the instances are stopped in standard mode, you continue to be charged for them, and their instance type resources and public IP addresses are retained.
|
|
34402
|
+
* * Batch operations are supported. You can use the `BatchOptimization` parameter to specify the batch operation mode.
|
|
34403
|
+
*
|
|
34404
|
+
* @param request StopInstancesRequest
|
|
34405
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
34406
|
+
* @return StopInstancesResponse
|
|
34407
|
+
*/
|
|
32873
34408
|
stopInstancesWithOptions(request: StopInstancesRequest, runtime: $Util.RuntimeOptions): Promise<StopInstancesResponse>;
|
|
34409
|
+
/**
|
|
34410
|
+
* * If you call the DescribeInstances operation and the response contains `{"OperationLocks": {"LockReason" : "security"}}`, the instances are locked for security reasons and cannot be stopped.
|
|
34411
|
+
* * If the economical mode is enabled for pay-as-you-go instances, you can set `StoppedMode` to KeepCharging to enable the standard mode for the instances. Then, after the instances are stopped in standard mode, you continue to be charged for them, and their instance type resources and public IP addresses are retained.
|
|
34412
|
+
* * Batch operations are supported. You can use the `BatchOptimization` parameter to specify the batch operation mode.
|
|
34413
|
+
*
|
|
34414
|
+
* @param request StopInstancesRequest
|
|
34415
|
+
* @return StopInstancesResponse
|
|
34416
|
+
*/
|
|
32874
34417
|
stopInstances(request: StopInstancesRequest): Promise<StopInstancesResponse>;
|
|
34418
|
+
/**
|
|
34419
|
+
* * If you stop the process of a command that runs only once, the executions that have started are not interrupted. The executions that have not started are canceled.
|
|
34420
|
+
* * If you stop the process of a scheduled invocation command, the executions that have started are not interrupted. However, the execution does not start in the next period.
|
|
34421
|
+
*
|
|
34422
|
+
* @param request StopInvocationRequest
|
|
34423
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
34424
|
+
* @return StopInvocationResponse
|
|
34425
|
+
*/
|
|
32875
34426
|
stopInvocationWithOptions(request: StopInvocationRequest, runtime: $Util.RuntimeOptions): Promise<StopInvocationResponse>;
|
|
34427
|
+
/**
|
|
34428
|
+
* * If you stop the process of a command that runs only once, the executions that have started are not interrupted. The executions that have not started are canceled.
|
|
34429
|
+
* * If you stop the process of a scheduled invocation command, the executions that have started are not interrupted. However, the execution does not start in the next period.
|
|
34430
|
+
*
|
|
34431
|
+
* @param request StopInvocationRequest
|
|
34432
|
+
* @return StopInvocationResponse
|
|
34433
|
+
*/
|
|
32876
34434
|
stopInvocation(request: StopInvocationRequest): Promise<StopInvocationResponse>;
|
|
34435
|
+
/**
|
|
34436
|
+
* Before you add tags to a resource, Alibaba Cloud checks the number of existing tags of the resource. If the maximum number of tags is reached, an error message is returned. For more information, see the "Tag limits" section in [Limits](~~25412~~).
|
|
34437
|
+
*
|
|
34438
|
+
* @param request TagResourcesRequest
|
|
34439
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
34440
|
+
* @return TagResourcesResponse
|
|
34441
|
+
*/
|
|
32877
34442
|
tagResourcesWithOptions(request: TagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<TagResourcesResponse>;
|
|
34443
|
+
/**
|
|
34444
|
+
* Before you add tags to a resource, Alibaba Cloud checks the number of existing tags of the resource. If the maximum number of tags is reached, an error message is returned. For more information, see the "Tag limits" section in [Limits](~~25412~~).
|
|
34445
|
+
*
|
|
34446
|
+
* @param request TagResourcesRequest
|
|
34447
|
+
* @return TagResourcesResponse
|
|
34448
|
+
*/
|
|
32878
34449
|
tagResources(request: TagResourcesRequest): Promise<TagResourcesResponse>;
|
|
32879
34450
|
/**
|
|
32880
34451
|
* @deprecated
|