ApplicationDeployment
Create a ApplicationDeployment Resource
new ApplicationDeployment(name: string, args: ApplicationDeploymentArgs, opts?: CustomResourceOptions);def ApplicationDeployment(resource_name, opts=None, app_id=None, group_id=None, package_version=None, war_url=None, __props__=None);func NewApplicationDeployment(ctx *Context, name string, args ApplicationDeploymentArgs, opts ...ResourceOption) (*ApplicationDeployment, error)public ApplicationDeployment(string name, ApplicationDeploymentArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args ApplicationDeploymentArgs
- 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 ApplicationDeploymentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationDeploymentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
ApplicationDeployment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The ApplicationDeployment resource accepts the following input properties:
- App
Id string The ID of the application that you want to deploy.
- Group
Id string The ID of the instance group where the application is going to be deployed. Set this parameter to all if you want to deploy the application to all groups.
- War
Url string The address to store the uploaded web application (WAR) package for application deployment. This parameter is required when the deployType parameter is set as url.
- Package
Version string The version of the application that you want to deploy. It must be unique for every application. The length cannot exceed 64 characters. We recommended you to use a timestamp.
- App
Id string The ID of the application that you want to deploy.
- Group
Id string The ID of the instance group where the application is going to be deployed. Set this parameter to all if you want to deploy the application to all groups.
- War
Url string The address to store the uploaded web application (WAR) package for application deployment. This parameter is required when the deployType parameter is set as url.
- Package
Version string The version of the application that you want to deploy. It must be unique for every application. The length cannot exceed 64 characters. We recommended you to use a timestamp.
- app
Id string The ID of the application that you want to deploy.
- group
Id string The ID of the instance group where the application is going to be deployed. Set this parameter to all if you want to deploy the application to all groups.
- war
Url string The address to store the uploaded web application (WAR) package for application deployment. This parameter is required when the deployType parameter is set as url.
- package
Version string The version of the application that you want to deploy. It must be unique for every application. The length cannot exceed 64 characters. We recommended you to use a timestamp.
- app_
id str The ID of the application that you want to deploy.
- group_
id str The ID of the instance group where the application is going to be deployed. Set this parameter to all if you want to deploy the application to all groups.
- war_
url str The address to store the uploaded web application (WAR) package for application deployment. This parameter is required when the deployType parameter is set as url.
- package_
version str The version of the application that you want to deploy. It must be unique for every application. The length cannot exceed 64 characters. We recommended you to use a timestamp.
Outputs
All input properties are implicitly available as output properties. Additionally, the ApplicationDeployment resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Package stringVersion Last package version deployed.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Package stringVersion Last package version deployed.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Package stringVersion Last package version deployed.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
package_ strversion Last package version deployed.
Look up an Existing ApplicationDeployment Resource
Get an existing ApplicationDeployment 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?: ApplicationDeploymentState, opts?: CustomResourceOptions): ApplicationDeploymentstatic get(resource_name, id, opts=None, app_id=None, group_id=None, last_package_version=None, package_version=None, war_url=None, __props__=None);func GetApplicationDeployment(ctx *Context, name string, id IDInput, state *ApplicationDeploymentState, opts ...ResourceOption) (*ApplicationDeployment, error)public static ApplicationDeployment Get(string name, Input<string> id, ApplicationDeploymentState? 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.
- Group
Id string The ID of the instance group where the application is going to be deployed. Set this parameter to all if you want to deploy the application to all groups.
- Last
Package stringVersion Last package version deployed.
- Package
Version string The version of the application that you want to deploy. It must be unique for every application. The length cannot exceed 64 characters. We recommended you to use a timestamp.
- War
Url string The address to store the uploaded web application (WAR) package for application deployment. This parameter is required when the deployType parameter is set as url.
- App
Id string The ID of the application that you want to deploy.
- Group
Id string The ID of the instance group where the application is going to be deployed. Set this parameter to all if you want to deploy the application to all groups.
- Last
Package stringVersion Last package version deployed.
- Package
Version string The version of the application that you want to deploy. It must be unique for every application. The length cannot exceed 64 characters. We recommended you to use a timestamp.
- War
Url string The address to store the uploaded web application (WAR) package for application deployment. This parameter is required when the deployType parameter is set as url.
- app
Id string The ID of the application that you want to deploy.
- group
Id string The ID of the instance group where the application is going to be deployed. Set this parameter to all if you want to deploy the application to all groups.
- last
Package stringVersion Last package version deployed.
- package
Version string The version of the application that you want to deploy. It must be unique for every application. The length cannot exceed 64 characters. We recommended you to use a timestamp.
- war
Url string The address to store the uploaded web application (WAR) package for application deployment. This parameter is required when the deployType parameter is set as url.
- app_
id str The ID of the application that you want to deploy.
- group_
id str The ID of the instance group where the application is going to be deployed. Set this parameter to all if you want to deploy the application to all groups.
- last_
package_ strversion Last package version deployed.
- package_
version str The version of the application that you want to deploy. It must be unique for every application. The length cannot exceed 64 characters. We recommended you to use a timestamp.
- war_
url str The address to store the uploaded web application (WAR) package for application deployment. This parameter is required when the deployType parameter is set as url.
Package Details
- Repository
- https://github.com/pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.