Class ApplicationScale
Inherited Members
Namespace: Pulumi.AliCloud.Edas
Assembly: Pulumi.AliCloud.dll
Syntax
public class ApplicationScale : CustomResource
Constructors
View SourceApplicationScale(String, ApplicationScaleArgs, CustomResourceOptions)
Create a ApplicationScale resource with the given unique name, arguments, and options.
Declaration
public ApplicationScale(string name, ApplicationScaleArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ApplicationScaleArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAppId
The ID of the application that you want to deploy.
Declaration
public Output<string> AppId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DeployGroup
The ID of the instance group to which you want to add ECS instances to scale out the application.
Declaration
public Output<string> DeployGroup { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
EccInfo
The ecc information of the resource supplied above. The value is formulated as <ecc1,ecc2>.
Declaration
public Output<string> EccInfo { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
EcuInfos
The IDs of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.
Declaration
public Output<ImmutableArray<string>> EcuInfos { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
ForceStatus
This parameter specifies whether to forcibly remove an ECS instance where the application is deployed. It is set as true only after the ECS instance expires. In normal cases, this parameter do not need to be specified.
Declaration
public Output<bool?> ForceStatus { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Methods
View SourceGet(String, Input<String>, ApplicationScaleState, CustomResourceOptions)
Get an existing ApplicationScale resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ApplicationScale Get(string name, Input<string> id, ApplicationScaleState 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. |
| ApplicationScaleState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ApplicationScale |