ApplicationScale

Create a ApplicationScale Resource

def ApplicationScale(resource_name, opts=None, app_id=None, deploy_group=None, ecu_infos=None, force_status=None, __props__=None);
name string
The unique name of the resource.
args ApplicationScaleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ApplicationScaleArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ApplicationScaleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ApplicationScale Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The ApplicationScale resource accepts the following input properties:

AppId string

The ID of the application that you want to deploy.

DeployGroup string

The ID of the instance group to which you want to add ECS instances to scale out the application.

EcuInfos List<string>

The IDs of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

ForceStatus bool

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.

AppId string

The ID of the application that you want to deploy.

DeployGroup string

The ID of the instance group to which you want to add ECS instances to scale out the application.

EcuInfos []string

The IDs of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

ForceStatus bool

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.

appId string

The ID of the application that you want to deploy.

deployGroup string

The ID of the instance group to which you want to add ECS instances to scale out the application.

ecuInfos string[]

The IDs of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

forceStatus boolean

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.

app_id str

The ID of the application that you want to deploy.

deploy_group str

The ID of the instance group to which you want to add ECS instances to scale out the application.

ecu_infos List[str]

The IDs of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

force_status bool

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.

Outputs

All input properties are implicitly available as output properties. Additionally, the ApplicationScale resource produces the following output properties:

EccInfo string

The ecc information of the resource supplied above. The value is formulated as <ecc1,ecc2>.

Id string
The provider-assigned unique ID for this managed resource.
EccInfo string

The ecc information of the resource supplied above. The value is formulated as <ecc1,ecc2>.

Id string
The provider-assigned unique ID for this managed resource.
eccInfo string

The ecc information of the resource supplied above. The value is formulated as <ecc1,ecc2>.

id string
The provider-assigned unique ID for this managed resource.
ecc_info str

The ecc information of the resource supplied above. The value is formulated as <ecc1,ecc2>.

id str
The provider-assigned unique ID for this managed resource.

Look up an Existing ApplicationScale Resource

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

public static get(name: string, id: Input<ID>, state?: ApplicationScaleState, opts?: CustomResourceOptions): ApplicationScale
static get(resource_name, id, opts=None, app_id=None, deploy_group=None, ecc_info=None, ecu_infos=None, force_status=None, __props__=None);
func GetApplicationScale(ctx *Context, name string, id IDInput, state *ApplicationScaleState, opts ...ResourceOption) (*ApplicationScale, error)
public static ApplicationScale Get(string name, Input<string> id, ApplicationScaleState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

AppId string

The ID of the application that you want to deploy.

DeployGroup string

The ID of the instance group to which you want to add ECS instances to scale out the application.

EccInfo string

The ecc information of the resource supplied above. The value is formulated as <ecc1,ecc2>.

EcuInfos List<string>

The IDs of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

ForceStatus bool

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.

AppId string

The ID of the application that you want to deploy.

DeployGroup string

The ID of the instance group to which you want to add ECS instances to scale out the application.

EccInfo string

The ecc information of the resource supplied above. The value is formulated as <ecc1,ecc2>.

EcuInfos []string

The IDs of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

ForceStatus bool

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.

appId string

The ID of the application that you want to deploy.

deployGroup string

The ID of the instance group to which you want to add ECS instances to scale out the application.

eccInfo string

The ecc information of the resource supplied above. The value is formulated as <ecc1,ecc2>.

ecuInfos string[]

The IDs of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

forceStatus boolean

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.

app_id str

The ID of the application that you want to deploy.

deploy_group str

The ID of the instance group to which you want to add ECS instances to scale out the application.

ecc_info str

The ecc information of the resource supplied above. The value is formulated as <ecc1,ecc2>.

ecu_infos List[str]

The IDs of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

force_status bool

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.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.