Class ScalingConfigurationArgs
Inherited Members
Namespace: Pulumi.AliCloud.Ess
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class ScalingConfigurationArgs : ResourceArgs
Constructors
View SourceScalingConfigurationArgs()
Declaration
public ScalingConfigurationArgs()
Properties
View SourceActive
Whether active current scaling configuration in the specified scaling group. Default to false.
Declaration
public Input<bool> Active { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
DataDisks
DataDisk mappings to attach to ecs instance. See Block datadisk below for details.
Declaration
public InputList<ScalingConfigurationDataDiskArgs> DataDisks { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<ScalingConfigurationDataDiskArgs> |
Enable
Whether enable the specified scaling group(make it active) to which the current scaling configuration belongs.
Declaration
public Input<bool> Enable { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
ForceDelete
The last scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.
Declaration
public Input<bool> ForceDelete { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
ImageId
ID of an image file, indicating the image resource selected when an instance is enabled.
Declaration
public Input<string> ImageId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
InstanceIds
It has been deprecated from version 1.6.0. New resource alicloud.ess.Attachment replaces it.
Declaration
[Obsolete("Field 'instance_ids' has been deprecated from provider version 1.6.0. New resource 'alicloud_ess_attachment' replaces it.")]
public InputList<string> InstanceIds { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
InstanceName
Name of an ECS instance. Default to "ESS-Instance". It is valid from version 1.7.1.
Declaration
public Input<string> InstanceName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
InstanceType
Resource type of an ECS instance.
Declaration
public Input<string> InstanceType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
InstanceTypes
Resource types of an ECS instance.
Declaration
public InputList<string> InstanceTypes { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
InternetChargeType
Network billing type, Values: PayByBandwidth or PayByTraffic. Default to PayByBandwidth.
Declaration
public Input<string> InternetChargeType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
InternetMaxBandwidthIn
Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].
Declaration
public Input<int> InternetMaxBandwidthIn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
InternetMaxBandwidthOut
Maximum outgoing bandwidth from the public network, measured in Mbps (Mega bit per second). The value range for PayByBandwidth is [0,100].
Declaration
public Input<int> InternetMaxBandwidthOut { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
IoOptimized
It has been deprecated on instance resource. All the launched alicloud instances will be I/O optimized.
Declaration
public Input<string> IoOptimized { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
IsOutdated
Whether to use outdated instance type. Default to false.
Declaration
public Input<bool> IsOutdated { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
KeyName
The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid.
Declaration
public Input<string> KeyName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
KmsEncryptedPassword
An KMS encrypts password used to a db account. If the password is filled in, this field will be ignored.
Declaration
public Input<string> KmsEncryptedPassword { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
KmsEncryptionContext
An KMS encryption context used to decrypt kms_encrypted_password before creating or updating a db account with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
Declaration
public InputMap<object> KmsEncryptionContext { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
Override
Indicates whether to overwrite the existing data. Default to false.
Declaration
public Input<bool> Override { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Password
The password of the ECS instance. The password must be 8 to 30 characters in length. It must contains at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include () ~!@#$%^&*-_+=\|{}[]:;'<>,.?/, The password of Windows-based instances cannot start with a forward slash (/).
Declaration
public Input<string> Password { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PasswordInherit
Specifies whether to use the password that is predefined in the image. If the PasswordInherit parameter is set to true, the password and kms_encrypted_password will be ignored. You must ensure that the selected image has a password configured.
Declaration
public Input<bool> PasswordInherit { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
RoleName
Instance RAM role name. The name is provided and maintained by RAM. You can use alicloud.ram.Role to create a new one.
Declaration
public Input<string> RoleName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ScalingConfigurationName
Name shown for the scheduled task. which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores _, hypens -, and decimal point .. If this parameter value is not specified, the default value is ScalingConfigurationId.
Declaration
public Input<string> ScalingConfigurationName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ScalingGroupId
ID of the scaling group of a scaling configuration.
Declaration
public Input<string> ScalingGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SecurityGroupId
ID of the security group used to create new instance. It is conflict with security_group_ids.
Declaration
public Input<string> SecurityGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SecurityGroupIds
List IDs of the security group used to create new instances. It is conflict with security_group_id.
Declaration
public InputList<string> SecurityGroupIds { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Substitute
The another scaling configuration which will be active automatically and replace current configuration when setting active to 'false'. It is invalid when active is 'true'.
Declaration
public Input<string> Substitute { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SystemDiskCategory
Category of the system disk. The parameter value options are ephemeral_ssd, cloud_efficiency, cloud_ssd, cloud_essd and cloud. cloud only is used to some no I/O optimized instance. Default to cloud_efficiency.
Declaration
public Input<string> SystemDiskCategory { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SystemDiskSize
Size of system disk, in GiB. Optional values: cloud: 20-500, cloud_efficiency: 20-500, cloud_ssd: 20-500, ephemeral_ssd: 20-500 The default value is max{40, ImageSize}. If this parameter is set, the system disk size must be greater than or equal to max{40, ImageSize}.
Declaration
public Input<int> SystemDiskSize { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Tags
A mapping of tags to assign to the resource. It will be applied for ECS instances finally.
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
- Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
UserData
User-defined data to customize the startup behaviors of the ECS instance and to pass data into the ECS instance.
Declaration
public Input<string> UserData { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |