Alibaba Cloud

Pulumi Official
Package maintained by Pulumi
v3.27.0 published on Monday, Aug 8, 2022 by Pulumi

Application

Create a 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:

ClusterName string
Template string
BlueGreen bool
BlueGreenConfirm bool
Description string
Environment Dictionary<string, object>
LatestImage bool
Name string
Version string
ClusterName string
Template string
BlueGreen bool
BlueGreenConfirm bool
Description string
Environment map[string]interface{}
LatestImage bool
Name string
Version string
clusterName String
template String
blueGreen Boolean
blueGreenConfirm Boolean
description String
environment Map<String,Object>
latestImage Boolean
name String
version String
clusterName string
template string
blueGreen boolean
blueGreenConfirm boolean
description string
environment {[key: string]: any}
latestImage boolean
name string
version string
clusterName String
template String
blueGreen Boolean
blueGreenConfirm Boolean
description String
environment Map<Any>
latestImage Boolean
name String
version String

Outputs

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

DefaultDomain string
Id string

The provider-assigned unique ID for this managed resource.

Services List<Pulumi.AliCloud.CS.Outputs.ApplicationService>
DefaultDomain string
Id string

The provider-assigned unique ID for this managed resource.

Services []ApplicationService
defaultDomain String
id String

The provider-assigned unique ID for this managed resource.

services List<ApplicationService>
defaultDomain string
id string

The provider-assigned unique ID for this managed resource.

services ApplicationService[]
default_domain str
id str

The provider-assigned unique ID for this managed resource.

services Sequence[ApplicationService]
defaultDomain String
id String

The provider-assigned unique ID for this managed resource.

services List<Property Map>

Look up an 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.
The following state arguments are supported:

Supporting Types

ApplicationService

Id string
Name string
Status string
Version string
Id string
Name string
Status string
Version string
id String
name String
status String
version String
id string
name string
status string
version string
id str
name str
status str
version str
id String
name String
status String
version String

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.