ApplicationScale
Create a ApplicationScale Resource
new ApplicationScale(name: string, args: ApplicationScaleArgs, opts?: CustomResourceOptions);def ApplicationScale(resource_name, opts=None, app_id=None, deploy_group=None, ecu_infos=None, force_status=None, __props__=None);func NewApplicationScale(ctx *Context, name string, args ApplicationScaleArgs, opts ...ResourceOption) (*ApplicationScale, error)public ApplicationScale(string name, ApplicationScaleArgs args, CustomResourceOptions? opts = null)- 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:
- App
Id string The ID of the application that you want to deploy.
- Deploy
Group string The ID of the instance group to which you want to add ECS instances to scale out the application.
- Ecu
Infos List<string> 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.
- App
Id string The ID of the application that you want to deploy.
- Deploy
Group string The ID of the instance group to which you want to add ECS instances to scale out the application.
- Ecu
Infos []string 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.
- app
Id string The ID of the application that you want to deploy.
- deploy
Group string The ID of the instance group to which you want to add ECS instances to scale out the application.
- ecu
Infos string[] The IDs of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.
- force
Status 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:
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): ApplicationScalestatic 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:
- App
Id string The ID of the application that you want to deploy.
- Deploy
Group string The ID of the instance group to which you want to add ECS instances to scale out the application.
- Ecc
Info string The ecc information of the resource supplied above. The value is formulated as
<ecc1,ecc2>.- Ecu
Infos List<string> 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.
- App
Id string The ID of the application that you want to deploy.
- Deploy
Group string The ID of the instance group to which you want to add ECS instances to scale out the application.
- Ecc
Info string The ecc information of the resource supplied above. The value is formulated as
<ecc1,ecc2>.- Ecu
Infos []string 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.
- app
Id string The ID of the application that you want to deploy.
- deploy
Group string The ID of the instance group to which you want to add ECS instances to scale out the application.
- ecc
Info string The ecc information of the resource supplied above. The value is formulated as
<ecc1,ecc2>.- ecu
Infos string[] The IDs of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.
- force
Status 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
alicloudTerraform Provider.