Show / Hide Table of Contents

Class ScalingConfiguration

Inheritance
System.Object
Resource
CustomResource
ScalingConfiguration
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Ess
Assembly: Pulumi.AliCloud.dll
Syntax
public class ScalingConfiguration : CustomResource

Constructors

View Source

ScalingConfiguration(String, ScalingConfigurationArgs, CustomResourceOptions)

Create a ScalingConfiguration resource with the given unique name, arguments, and options.

Declaration
public ScalingConfiguration(string name, ScalingConfigurationArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ScalingConfigurationArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Active

Whether active current scaling configuration in the specified scaling group. Default to false.

Declaration
public Output<bool> Active { get; }
Property Value
Type Description
Output<System.Boolean>
View Source

DataDisks

DataDisk mappings to attach to ecs instance. See Block datadisk below for details.

Declaration
public Output<ImmutableArray<ScalingConfigurationDataDisk>> DataDisks { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<ScalingConfigurationDataDisk>>
View Source

Enable

Whether enable the specified scaling group(make it active) to which the current scaling configuration belongs.

Declaration
public Output<bool?> Enable { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

ForceDelete

The last scaling configuration will be deleted forcibly with deleting its scaling group. Default to false.

Declaration
public Output<bool?> ForceDelete { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

ImageId

ID of an image file, indicating the image resource selected when an instance is enabled.

Declaration
public Output<string> ImageId { get; }
Property Value
Type Description
Output<System.String>
View Source

InstanceIds

It has been deprecated from version 1.6.0. New resource alicloud.ess.Attachment replaces it.

Declaration
public Output<ImmutableArray<string>> InstanceIds { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

InstanceName

Name of an ECS instance. Default to "ESS-Instance". It is valid from version 1.7.1.

Declaration
public Output<string> InstanceName { get; }
Property Value
Type Description
Output<System.String>
View Source

InstanceType

Resource type of an ECS instance.

Declaration
public Output<string> InstanceType { get; }
Property Value
Type Description
Output<System.String>
View Source

InstanceTypes

Resource types of an ECS instance.

Declaration
public Output<ImmutableArray<string>> InstanceTypes { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

InternetChargeType

Network billing type, Values: PayByBandwidth or PayByTraffic. Default to PayByBandwidth.

Declaration
public Output<string> InternetChargeType { get; }
Property Value
Type Description
Output<System.String>
View Source

InternetMaxBandwidthIn

Maximum incoming bandwidth from the public network, measured in Mbps (Mega bit per second). The value range is [1,200].

Declaration
public Output<int> InternetMaxBandwidthIn { get; }
Property Value
Type Description
Output<System.Int32>
View Source

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 Output<int?> InternetMaxBandwidthOut { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

IoOptimized

It has been deprecated on instance resource. All the launched alicloud instances will be I/O optimized.

Declaration
public Output<string> IoOptimized { get; }
Property Value
Type Description
Output<System.String>
View Source

IsOutdated

Whether to use outdated instance type. Default to false.

Declaration
public Output<bool?> IsOutdated { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

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 Output<string> KeyName { get; }
Property Value
Type Description
Output<System.String>
View Source

KmsEncryptedPassword

An KMS encrypts password used to a db account. If the password is filled in, this field will be ignored.

Declaration
public Output<string> KmsEncryptedPassword { get; }
Property Value
Type Description
Output<System.String>
View Source

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 Output<ImmutableDictionary<string, object>> KmsEncryptionContext { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

Override

Indicates whether to overwrite the existing data. Default to false.

Declaration
public Output<bool?> Override { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

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 () ~!@#$%^&amp;*-_+=\|{}[]:;&apos;&lt;>,.?/, The password of Windows-based instances cannot start with a forward slash (/).

Declaration
public Output<string> Password { get; }
Property Value
Type Description
Output<System.String>
View Source

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 Output<bool?> PasswordInherit { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

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 Output<string> RoleName { get; }
Property Value
Type Description
Output<System.String>
View Source

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 Output<string> ScalingConfigurationName { get; }
Property Value
Type Description
Output<System.String>
View Source

ScalingGroupId

ID of the scaling group of a scaling configuration.

Declaration
public Output<string> ScalingGroupId { get; }
Property Value
Type Description
Output<System.String>
View Source

SecurityGroupId

ID of the security group used to create new instance. It is conflict with security_group_ids.

Declaration
public Output<string> SecurityGroupId { get; }
Property Value
Type Description
Output<System.String>
View Source

SecurityGroupIds

List IDs of the security group used to create new instances. It is conflict with security_group_id.

Declaration
public Output<ImmutableArray<string>> SecurityGroupIds { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

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 Output<string> Substitute { get; }
Property Value
Type Description
Output<System.String>
View Source

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 Output<string> SystemDiskCategory { get; }
Property Value
Type Description
Output<System.String>
View Source

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 Output<int?> SystemDiskSize { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

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 Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

UserData

User-defined data to customize the startup behaviors of the ECS instance and to pass data into the ECS instance.

Declaration
public Output<string> UserData { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, ScalingConfigurationState, CustomResourceOptions)

Get an existing ScalingConfiguration resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static ScalingConfiguration Get(string name, Input<string> id, ScalingConfigurationState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

ScalingConfigurationState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
ScalingConfiguration
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.