alicloud.cs.Application
Explore with Pulumi AI
Create Application Resource
new Application(name: string, args: ApplicationArgs, opts?: CustomResourceOptions);
@overload
def Application(resource_name: str,
opts: Optional[ResourceOptions] = None,
blue_green: Optional[bool] = None,
blue_green_confirm: Optional[bool] = None,
cluster_name: Optional[str] = None,
description: Optional[str] = None,
environment: Optional[Mapping[str, Any]] = None,
latest_image: Optional[bool] = None,
name: Optional[str] = None,
template: Optional[str] = None,
version: Optional[str] = None)
@overload
def Application(resource_name: str,
args: ApplicationArgs,
opts: Optional[ResourceOptions] = None)
func NewApplication(ctx *Context, name string, args ApplicationArgs, opts ...ResourceOption) (*Application, error)
public Application(string name, ApplicationArgs args, CustomResourceOptions? opts = null)
public Application(String name, ApplicationArgs args)
public Application(String name, ApplicationArgs args, CustomResourceOptions options)
type: alicloud:cs:Application
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Application Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Application resource accepts the following input properties:
- Cluster
Name string - Template string
- Blue
Green bool - Blue
Green boolConfirm - Description string
- Environment Dictionary<string, object>
- Latest
Image bool - Name string
- Version string
- Cluster
Name string - Template string
- Blue
Green bool - Blue
Green boolConfirm - Description string
- Environment map[string]interface{}
- Latest
Image bool - Name string
- Version string
- cluster
Name String - template String
- blue
Green Boolean - blue
Green BooleanConfirm - description String
- environment Map<String,Object>
- latest
Image Boolean - name String
- version String
- cluster
Name string - template string
- blue
Green boolean - blue
Green booleanConfirm - description string
- environment {[key: string]: any}
- latest
Image boolean - name string
- version string
- cluster_
name str - template str
- blue_
green bool - blue_
green_ boolconfirm - description str
- environment Mapping[str, Any]
- latest_
image bool - name str
- version str
- cluster
Name String - template String
- blue
Green Boolean - blue
Green BooleanConfirm - description String
- environment Map<Any>
- latest
Image Boolean - name String
- version String
Outputs
All input properties are implicitly available as output properties. Additionally, the Application resource produces the following output properties:
- Default
Domain string - Id string
The provider-assigned unique ID for this managed resource.
- Services
List<Pulumi.
Ali Cloud. CS. Outputs. Application Service>
- Default
Domain string - Id string
The provider-assigned unique ID for this managed resource.
- Services
[]Application
Service
- default
Domain String - id String
The provider-assigned unique ID for this managed resource.
- services
List<Application
Service>
- default
Domain string - id string
The provider-assigned unique ID for this managed resource.
- services
Application
Service[]
- default_
domain str - id str
The provider-assigned unique ID for this managed resource.
- services
Sequence[Application
Service]
- default
Domain String - id String
The provider-assigned unique ID for this managed resource.
- services List<Property Map>
Look up Existing Application Resource
Get an existing Application 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?: ApplicationState, opts?: CustomResourceOptions): Application
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
blue_green: Optional[bool] = None,
blue_green_confirm: Optional[bool] = None,
cluster_name: Optional[str] = None,
default_domain: Optional[str] = None,
description: Optional[str] = None,
environment: Optional[Mapping[str, Any]] = None,
latest_image: Optional[bool] = None,
name: Optional[str] = None,
services: Optional[Sequence[ApplicationServiceArgs]] = None,
template: Optional[str] = None,
version: Optional[str] = None) -> Application
func GetApplication(ctx *Context, name string, id IDInput, state *ApplicationState, opts ...ResourceOption) (*Application, error)
public static Application Get(string name, Input<string> id, ApplicationState? state, CustomResourceOptions? opts = null)
public static Application get(String name, Output<String> id, ApplicationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
- Blue
Green bool - Blue
Green boolConfirm - Cluster
Name string - Default
Domain string - Description string
- Environment Dictionary<string, object>
- Latest
Image bool - Name string
- Services
List<Pulumi.
Ali Cloud. CS. Inputs. Application Service> - Template string
- Version string
- Blue
Green bool - Blue
Green boolConfirm - Cluster
Name string - Default
Domain string - Description string
- Environment map[string]interface{}
- Latest
Image bool - Name string
- Services
[]Application
Service Args - Template string
- Version string
- blue
Green Boolean - blue
Green BooleanConfirm - cluster
Name String - default
Domain String - description String
- environment Map<String,Object>
- latest
Image Boolean - name String
- services
List<Application
Service> - template String
- version String
- blue
Green boolean - blue
Green booleanConfirm - cluster
Name string - default
Domain string - description string
- environment {[key: string]: any}
- latest
Image boolean - name string
- services
Application
Service[] - template string
- version string
- blue_
green bool - blue_
green_ boolconfirm - cluster_
name str - default_
domain str - description str
- environment Mapping[str, Any]
- latest_
image bool - name str
- services
Sequence[Application
Service Args] - template str
- version str
- blue
Green Boolean - blue
Green BooleanConfirm - cluster
Name String - default
Domain String - description String
- environment Map<Any>
- latest
Image Boolean - name String
- services List<Property Map>
- template String
- version String
Supporting Types
ApplicationService, ApplicationServiceArgs
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.