edas

package
v2.39.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	pulumi.CustomResourceState

	// Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.
	ApplicationName pulumi.StringOutput `pulumi:"applicationName"`
	// The package ID of Enterprise Distributed Application Service (EDAS) Container, which can be retrieved by calling container version list interface ListBuildPack or the "Pack ID" column in container version list. When creating High-speed Service Framework (HSF) application, this parameter is required.
	BuildPackId pulumi.IntPtrOutput `pulumi:"buildPackId"`
	// The ID of the cluster that you want to create the application. The default cluster will be used if you do not specify this parameter.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The description of the application that you want to create.
	Descriotion pulumi.StringPtrOutput `pulumi:"descriotion"`
	// The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.
	EcuInfos pulumi.StringArrayOutput `pulumi:"ecuInfos"`
	// 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.
	GroupId pulumi.StringPtrOutput `pulumi:"groupId"`
	// The URL for health checking of the application.
	HealthCheckUrl pulumi.StringPtrOutput `pulumi:"healthCheckUrl"`
	// The ID of the namespace where you want to create the application. You can call the ListUserDefineRegion operation to query the namespace ID.
	LogicalRegionId pulumi.StringPtrOutput `pulumi:"logicalRegionId"`
	// The type of the package for the deployment of the application that you want to create. The valid values are: WAR and JAR. We strongly recommend you to set this parameter when creating the application.
	PackageType pulumi.StringOutput `pulumi:"packageType"`
	// 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.
	PackageVersion pulumi.StringPtrOutput `pulumi:"packageVersion"`
	// 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.
	WarUrl pulumi.StringPtrOutput `pulumi:"warUrl"`
}

Creates an EDAS ecs application on EDAS. The application will be deployed when `groupId` and `warUrl` are given.

> **NOTE:** Available in 1.82.0+

## Import

EDAS application can be imported using the id, e.g.

```sh

$ pulumi import alicloud:edas/application:Application app app_Id

```

func GetApplication

func GetApplication(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApplicationState, opts ...pulumi.ResourceOption) (*Application, error)

GetApplication gets an existing Application resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewApplication

func NewApplication(ctx *pulumi.Context,
	name string, args *ApplicationArgs, opts ...pulumi.ResourceOption) (*Application, error)

NewApplication registers a new resource with the given unique name, arguments, and options.

func (*Application) ElementType added in v2.25.1

func (*Application) ElementType() reflect.Type

func (*Application) ToApplicationOutput added in v2.25.1

func (i *Application) ToApplicationOutput() ApplicationOutput

func (*Application) ToApplicationOutputWithContext added in v2.25.1

func (i *Application) ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput

func (*Application) ToApplicationPtrOutput added in v2.35.1

func (i *Application) ToApplicationPtrOutput() ApplicationPtrOutput

func (*Application) ToApplicationPtrOutputWithContext added in v2.35.1

func (i *Application) ToApplicationPtrOutputWithContext(ctx context.Context) ApplicationPtrOutput

type ApplicationArgs

type ApplicationArgs struct {
	// Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.
	ApplicationName pulumi.StringInput
	// The package ID of Enterprise Distributed Application Service (EDAS) Container, which can be retrieved by calling container version list interface ListBuildPack or the "Pack ID" column in container version list. When creating High-speed Service Framework (HSF) application, this parameter is required.
	BuildPackId pulumi.IntPtrInput
	// The ID of the cluster that you want to create the application. The default cluster will be used if you do not specify this parameter.
	ClusterId pulumi.StringInput
	// The description of the application that you want to create.
	Descriotion pulumi.StringPtrInput
	// The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.
	EcuInfos pulumi.StringArrayInput
	// 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.
	GroupId pulumi.StringPtrInput
	// The URL for health checking of the application.
	HealthCheckUrl pulumi.StringPtrInput
	// The ID of the namespace where you want to create the application. You can call the ListUserDefineRegion operation to query the namespace ID.
	LogicalRegionId pulumi.StringPtrInput
	// The type of the package for the deployment of the application that you want to create. The valid values are: WAR and JAR. We strongly recommend you to set this parameter when creating the application.
	PackageType pulumi.StringInput
	// 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.
	PackageVersion pulumi.StringPtrInput
	// 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.
	WarUrl pulumi.StringPtrInput
}

The set of arguments for constructing a Application resource.

func (ApplicationArgs) ElementType

func (ApplicationArgs) ElementType() reflect.Type

type ApplicationArray added in v2.35.1

type ApplicationArray []ApplicationInput

func (ApplicationArray) ElementType added in v2.35.1

func (ApplicationArray) ElementType() reflect.Type

func (ApplicationArray) ToApplicationArrayOutput added in v2.35.1

func (i ApplicationArray) ToApplicationArrayOutput() ApplicationArrayOutput

func (ApplicationArray) ToApplicationArrayOutputWithContext added in v2.35.1

func (i ApplicationArray) ToApplicationArrayOutputWithContext(ctx context.Context) ApplicationArrayOutput

type ApplicationArrayInput added in v2.35.1

type ApplicationArrayInput interface {
	pulumi.Input

	ToApplicationArrayOutput() ApplicationArrayOutput
	ToApplicationArrayOutputWithContext(context.Context) ApplicationArrayOutput
}

ApplicationArrayInput is an input type that accepts ApplicationArray and ApplicationArrayOutput values. You can construct a concrete instance of `ApplicationArrayInput` via:

ApplicationArray{ ApplicationArgs{...} }

type ApplicationArrayOutput added in v2.35.1

type ApplicationArrayOutput struct{ *pulumi.OutputState }

func (ApplicationArrayOutput) ElementType added in v2.35.1

func (ApplicationArrayOutput) ElementType() reflect.Type

func (ApplicationArrayOutput) Index added in v2.35.1

func (ApplicationArrayOutput) ToApplicationArrayOutput added in v2.35.1

func (o ApplicationArrayOutput) ToApplicationArrayOutput() ApplicationArrayOutput

func (ApplicationArrayOutput) ToApplicationArrayOutputWithContext added in v2.35.1

func (o ApplicationArrayOutput) ToApplicationArrayOutputWithContext(ctx context.Context) ApplicationArrayOutput

type ApplicationDeployment

type ApplicationDeployment struct {
	pulumi.CustomResourceState

	// The ID of the application that you want to deploy.
	AppId pulumi.StringOutput `pulumi:"appId"`
	// 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.
	GroupId pulumi.StringOutput `pulumi:"groupId"`
	// Last package version deployed.
	LastPackageVersion pulumi.StringOutput `pulumi:"lastPackageVersion"`
	// 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.
	PackageVersion pulumi.StringPtrOutput `pulumi:"packageVersion"`
	// 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.
	WarUrl pulumi.StringOutput `pulumi:"warUrl"`
}

Deploys applications on EDAS.

> **NOTE:** Available in 1.82.0+

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/edas"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := edas.NewApplicationDeployment(ctx, "_default", &edas.ApplicationDeploymentArgs{
			AppId:          pulumi.Any(_var.App_id),
			GroupId:        pulumi.Any(_var.Group_id),
			PackageVersion: pulumi.Any(_var.Package_version),
			WarUrl:         pulumi.Any(_var.War_url),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetApplicationDeployment

func GetApplicationDeployment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApplicationDeploymentState, opts ...pulumi.ResourceOption) (*ApplicationDeployment, error)

GetApplicationDeployment gets an existing ApplicationDeployment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewApplicationDeployment

func NewApplicationDeployment(ctx *pulumi.Context,
	name string, args *ApplicationDeploymentArgs, opts ...pulumi.ResourceOption) (*ApplicationDeployment, error)

NewApplicationDeployment registers a new resource with the given unique name, arguments, and options.

func (*ApplicationDeployment) ElementType added in v2.25.1

func (*ApplicationDeployment) ElementType() reflect.Type

func (*ApplicationDeployment) ToApplicationDeploymentOutput added in v2.25.1

func (i *ApplicationDeployment) ToApplicationDeploymentOutput() ApplicationDeploymentOutput

func (*ApplicationDeployment) ToApplicationDeploymentOutputWithContext added in v2.25.1

func (i *ApplicationDeployment) ToApplicationDeploymentOutputWithContext(ctx context.Context) ApplicationDeploymentOutput

func (*ApplicationDeployment) ToApplicationDeploymentPtrOutput added in v2.35.1

func (i *ApplicationDeployment) ToApplicationDeploymentPtrOutput() ApplicationDeploymentPtrOutput

func (*ApplicationDeployment) ToApplicationDeploymentPtrOutputWithContext added in v2.35.1

func (i *ApplicationDeployment) ToApplicationDeploymentPtrOutputWithContext(ctx context.Context) ApplicationDeploymentPtrOutput

type ApplicationDeploymentArgs

type ApplicationDeploymentArgs struct {
	// The ID of the application that you want to deploy.
	AppId pulumi.StringInput
	// 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.
	GroupId pulumi.StringInput
	// 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.
	PackageVersion pulumi.StringPtrInput
	// 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.
	WarUrl pulumi.StringInput
}

The set of arguments for constructing a ApplicationDeployment resource.

func (ApplicationDeploymentArgs) ElementType

func (ApplicationDeploymentArgs) ElementType() reflect.Type

type ApplicationDeploymentArray added in v2.35.1

type ApplicationDeploymentArray []ApplicationDeploymentInput

func (ApplicationDeploymentArray) ElementType added in v2.35.1

func (ApplicationDeploymentArray) ElementType() reflect.Type

func (ApplicationDeploymentArray) ToApplicationDeploymentArrayOutput added in v2.35.1

func (i ApplicationDeploymentArray) ToApplicationDeploymentArrayOutput() ApplicationDeploymentArrayOutput

func (ApplicationDeploymentArray) ToApplicationDeploymentArrayOutputWithContext added in v2.35.1

func (i ApplicationDeploymentArray) ToApplicationDeploymentArrayOutputWithContext(ctx context.Context) ApplicationDeploymentArrayOutput

type ApplicationDeploymentArrayInput added in v2.35.1

type ApplicationDeploymentArrayInput interface {
	pulumi.Input

	ToApplicationDeploymentArrayOutput() ApplicationDeploymentArrayOutput
	ToApplicationDeploymentArrayOutputWithContext(context.Context) ApplicationDeploymentArrayOutput
}

ApplicationDeploymentArrayInput is an input type that accepts ApplicationDeploymentArray and ApplicationDeploymentArrayOutput values. You can construct a concrete instance of `ApplicationDeploymentArrayInput` via:

ApplicationDeploymentArray{ ApplicationDeploymentArgs{...} }

type ApplicationDeploymentArrayOutput added in v2.35.1

type ApplicationDeploymentArrayOutput struct{ *pulumi.OutputState }

func (ApplicationDeploymentArrayOutput) ElementType added in v2.35.1

func (ApplicationDeploymentArrayOutput) Index added in v2.35.1

func (ApplicationDeploymentArrayOutput) ToApplicationDeploymentArrayOutput added in v2.35.1

func (o ApplicationDeploymentArrayOutput) ToApplicationDeploymentArrayOutput() ApplicationDeploymentArrayOutput

func (ApplicationDeploymentArrayOutput) ToApplicationDeploymentArrayOutputWithContext added in v2.35.1

func (o ApplicationDeploymentArrayOutput) ToApplicationDeploymentArrayOutputWithContext(ctx context.Context) ApplicationDeploymentArrayOutput

type ApplicationDeploymentInput added in v2.25.1

type ApplicationDeploymentInput interface {
	pulumi.Input

	ToApplicationDeploymentOutput() ApplicationDeploymentOutput
	ToApplicationDeploymentOutputWithContext(ctx context.Context) ApplicationDeploymentOutput
}

type ApplicationDeploymentMap added in v2.35.1

type ApplicationDeploymentMap map[string]ApplicationDeploymentInput

func (ApplicationDeploymentMap) ElementType added in v2.35.1

func (ApplicationDeploymentMap) ElementType() reflect.Type

func (ApplicationDeploymentMap) ToApplicationDeploymentMapOutput added in v2.35.1

func (i ApplicationDeploymentMap) ToApplicationDeploymentMapOutput() ApplicationDeploymentMapOutput

func (ApplicationDeploymentMap) ToApplicationDeploymentMapOutputWithContext added in v2.35.1

func (i ApplicationDeploymentMap) ToApplicationDeploymentMapOutputWithContext(ctx context.Context) ApplicationDeploymentMapOutput

type ApplicationDeploymentMapInput added in v2.35.1

type ApplicationDeploymentMapInput interface {
	pulumi.Input

	ToApplicationDeploymentMapOutput() ApplicationDeploymentMapOutput
	ToApplicationDeploymentMapOutputWithContext(context.Context) ApplicationDeploymentMapOutput
}

ApplicationDeploymentMapInput is an input type that accepts ApplicationDeploymentMap and ApplicationDeploymentMapOutput values. You can construct a concrete instance of `ApplicationDeploymentMapInput` via:

ApplicationDeploymentMap{ "key": ApplicationDeploymentArgs{...} }

type ApplicationDeploymentMapOutput added in v2.35.1

type ApplicationDeploymentMapOutput struct{ *pulumi.OutputState }

func (ApplicationDeploymentMapOutput) ElementType added in v2.35.1

func (ApplicationDeploymentMapOutput) MapIndex added in v2.35.1

func (ApplicationDeploymentMapOutput) ToApplicationDeploymentMapOutput added in v2.35.1

func (o ApplicationDeploymentMapOutput) ToApplicationDeploymentMapOutput() ApplicationDeploymentMapOutput

func (ApplicationDeploymentMapOutput) ToApplicationDeploymentMapOutputWithContext added in v2.35.1

func (o ApplicationDeploymentMapOutput) ToApplicationDeploymentMapOutputWithContext(ctx context.Context) ApplicationDeploymentMapOutput

type ApplicationDeploymentOutput added in v2.25.1

type ApplicationDeploymentOutput struct {
	*pulumi.OutputState
}

func (ApplicationDeploymentOutput) ElementType added in v2.25.1

func (ApplicationDeploymentOutput) ToApplicationDeploymentOutput added in v2.25.1

func (o ApplicationDeploymentOutput) ToApplicationDeploymentOutput() ApplicationDeploymentOutput

func (ApplicationDeploymentOutput) ToApplicationDeploymentOutputWithContext added in v2.25.1

func (o ApplicationDeploymentOutput) ToApplicationDeploymentOutputWithContext(ctx context.Context) ApplicationDeploymentOutput

func (ApplicationDeploymentOutput) ToApplicationDeploymentPtrOutput added in v2.35.1

func (o ApplicationDeploymentOutput) ToApplicationDeploymentPtrOutput() ApplicationDeploymentPtrOutput

func (ApplicationDeploymentOutput) ToApplicationDeploymentPtrOutputWithContext added in v2.35.1

func (o ApplicationDeploymentOutput) ToApplicationDeploymentPtrOutputWithContext(ctx context.Context) ApplicationDeploymentPtrOutput

type ApplicationDeploymentPtrInput added in v2.35.1

type ApplicationDeploymentPtrInput interface {
	pulumi.Input

	ToApplicationDeploymentPtrOutput() ApplicationDeploymentPtrOutput
	ToApplicationDeploymentPtrOutputWithContext(ctx context.Context) ApplicationDeploymentPtrOutput
}

type ApplicationDeploymentPtrOutput added in v2.35.1

type ApplicationDeploymentPtrOutput struct {
	*pulumi.OutputState
}

func (ApplicationDeploymentPtrOutput) ElementType added in v2.35.1

func (ApplicationDeploymentPtrOutput) ToApplicationDeploymentPtrOutput added in v2.35.1

func (o ApplicationDeploymentPtrOutput) ToApplicationDeploymentPtrOutput() ApplicationDeploymentPtrOutput

func (ApplicationDeploymentPtrOutput) ToApplicationDeploymentPtrOutputWithContext added in v2.35.1

func (o ApplicationDeploymentPtrOutput) ToApplicationDeploymentPtrOutputWithContext(ctx context.Context) ApplicationDeploymentPtrOutput

type ApplicationDeploymentState

type ApplicationDeploymentState struct {
	// The ID of the application that you want to deploy.
	AppId pulumi.StringPtrInput
	// 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.
	GroupId pulumi.StringPtrInput
	// Last package version deployed.
	LastPackageVersion pulumi.StringPtrInput
	// 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.
	PackageVersion pulumi.StringPtrInput
	// 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.
	WarUrl pulumi.StringPtrInput
}

func (ApplicationDeploymentState) ElementType

func (ApplicationDeploymentState) ElementType() reflect.Type

type ApplicationInput added in v2.25.1

type ApplicationInput interface {
	pulumi.Input

	ToApplicationOutput() ApplicationOutput
	ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput
}

type ApplicationMap added in v2.35.1

type ApplicationMap map[string]ApplicationInput

func (ApplicationMap) ElementType added in v2.35.1

func (ApplicationMap) ElementType() reflect.Type

func (ApplicationMap) ToApplicationMapOutput added in v2.35.1

func (i ApplicationMap) ToApplicationMapOutput() ApplicationMapOutput

func (ApplicationMap) ToApplicationMapOutputWithContext added in v2.35.1

func (i ApplicationMap) ToApplicationMapOutputWithContext(ctx context.Context) ApplicationMapOutput

type ApplicationMapInput added in v2.35.1

type ApplicationMapInput interface {
	pulumi.Input

	ToApplicationMapOutput() ApplicationMapOutput
	ToApplicationMapOutputWithContext(context.Context) ApplicationMapOutput
}

ApplicationMapInput is an input type that accepts ApplicationMap and ApplicationMapOutput values. You can construct a concrete instance of `ApplicationMapInput` via:

ApplicationMap{ "key": ApplicationArgs{...} }

type ApplicationMapOutput added in v2.35.1

type ApplicationMapOutput struct{ *pulumi.OutputState }

func (ApplicationMapOutput) ElementType added in v2.35.1

func (ApplicationMapOutput) ElementType() reflect.Type

func (ApplicationMapOutput) MapIndex added in v2.35.1

func (ApplicationMapOutput) ToApplicationMapOutput added in v2.35.1

func (o ApplicationMapOutput) ToApplicationMapOutput() ApplicationMapOutput

func (ApplicationMapOutput) ToApplicationMapOutputWithContext added in v2.35.1

func (o ApplicationMapOutput) ToApplicationMapOutputWithContext(ctx context.Context) ApplicationMapOutput

type ApplicationOutput added in v2.25.1

type ApplicationOutput struct {
	*pulumi.OutputState
}

func (ApplicationOutput) ElementType added in v2.25.1

func (ApplicationOutput) ElementType() reflect.Type

func (ApplicationOutput) ToApplicationOutput added in v2.25.1

func (o ApplicationOutput) ToApplicationOutput() ApplicationOutput

func (ApplicationOutput) ToApplicationOutputWithContext added in v2.25.1

func (o ApplicationOutput) ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput

func (ApplicationOutput) ToApplicationPtrOutput added in v2.35.1

func (o ApplicationOutput) ToApplicationPtrOutput() ApplicationPtrOutput

func (ApplicationOutput) ToApplicationPtrOutputWithContext added in v2.35.1

func (o ApplicationOutput) ToApplicationPtrOutputWithContext(ctx context.Context) ApplicationPtrOutput

type ApplicationPtrInput added in v2.35.1

type ApplicationPtrInput interface {
	pulumi.Input

	ToApplicationPtrOutput() ApplicationPtrOutput
	ToApplicationPtrOutputWithContext(ctx context.Context) ApplicationPtrOutput
}

type ApplicationPtrOutput added in v2.35.1

type ApplicationPtrOutput struct {
	*pulumi.OutputState
}

func (ApplicationPtrOutput) ElementType added in v2.35.1

func (ApplicationPtrOutput) ElementType() reflect.Type

func (ApplicationPtrOutput) ToApplicationPtrOutput added in v2.35.1

func (o ApplicationPtrOutput) ToApplicationPtrOutput() ApplicationPtrOutput

func (ApplicationPtrOutput) ToApplicationPtrOutputWithContext added in v2.35.1

func (o ApplicationPtrOutput) ToApplicationPtrOutputWithContext(ctx context.Context) ApplicationPtrOutput

type ApplicationScale

type ApplicationScale struct {
	pulumi.CustomResourceState

	// The ID of the application that you want to deploy.
	AppId pulumi.StringOutput `pulumi:"appId"`
	// The ID of the instance group to which you want to add ECS instances to scale out the application.
	DeployGroup pulumi.StringOutput `pulumi:"deployGroup"`
	// The ecc information of the resource supplied above. The value is formulated as `<ecc1,ecc2>`.
	EccInfo pulumi.StringOutput `pulumi:"eccInfo"`
	// The IDs of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.
	EcuInfos pulumi.StringArrayOutput `pulumi:"ecuInfos"`
	// 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.
	ForceStatus pulumi.BoolPtrOutput `pulumi:"forceStatus"`
}

This operation is provided to scale out an EDAS application.

> **NOTE:** Available in 1.82.0+

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/edas"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := edas.NewApplicationScale(ctx, "_default", &edas.ApplicationScaleArgs{
			AppId:       pulumi.Any(_var.App_id),
			DeployGroup: pulumi.Any(_var.Deploy_group),
			EcuInfos:    _var.Ecu_info,
			ForceStatus: pulumi.Any(_var.Force_status),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetApplicationScale

func GetApplicationScale(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApplicationScaleState, opts ...pulumi.ResourceOption) (*ApplicationScale, error)

GetApplicationScale gets an existing ApplicationScale resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewApplicationScale

func NewApplicationScale(ctx *pulumi.Context,
	name string, args *ApplicationScaleArgs, opts ...pulumi.ResourceOption) (*ApplicationScale, error)

NewApplicationScale registers a new resource with the given unique name, arguments, and options.

func (*ApplicationScale) ElementType added in v2.25.1

func (*ApplicationScale) ElementType() reflect.Type

func (*ApplicationScale) ToApplicationScaleOutput added in v2.25.1

func (i *ApplicationScale) ToApplicationScaleOutput() ApplicationScaleOutput

func (*ApplicationScale) ToApplicationScaleOutputWithContext added in v2.25.1

func (i *ApplicationScale) ToApplicationScaleOutputWithContext(ctx context.Context) ApplicationScaleOutput

func (*ApplicationScale) ToApplicationScalePtrOutput added in v2.35.1

func (i *ApplicationScale) ToApplicationScalePtrOutput() ApplicationScalePtrOutput

func (*ApplicationScale) ToApplicationScalePtrOutputWithContext added in v2.35.1

func (i *ApplicationScale) ToApplicationScalePtrOutputWithContext(ctx context.Context) ApplicationScalePtrOutput

type ApplicationScaleArgs

type ApplicationScaleArgs struct {
	// The ID of the application that you want to deploy.
	AppId pulumi.StringInput
	// The ID of the instance group to which you want to add ECS instances to scale out the application.
	DeployGroup pulumi.StringInput
	// The IDs of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.
	EcuInfos pulumi.StringArrayInput
	// 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.
	ForceStatus pulumi.BoolPtrInput
}

The set of arguments for constructing a ApplicationScale resource.

func (ApplicationScaleArgs) ElementType

func (ApplicationScaleArgs) ElementType() reflect.Type

type ApplicationScaleArray added in v2.35.1

type ApplicationScaleArray []ApplicationScaleInput

func (ApplicationScaleArray) ElementType added in v2.35.1

func (ApplicationScaleArray) ElementType() reflect.Type

func (ApplicationScaleArray) ToApplicationScaleArrayOutput added in v2.35.1

func (i ApplicationScaleArray) ToApplicationScaleArrayOutput() ApplicationScaleArrayOutput

func (ApplicationScaleArray) ToApplicationScaleArrayOutputWithContext added in v2.35.1

func (i ApplicationScaleArray) ToApplicationScaleArrayOutputWithContext(ctx context.Context) ApplicationScaleArrayOutput

type ApplicationScaleArrayInput added in v2.35.1

type ApplicationScaleArrayInput interface {
	pulumi.Input

	ToApplicationScaleArrayOutput() ApplicationScaleArrayOutput
	ToApplicationScaleArrayOutputWithContext(context.Context) ApplicationScaleArrayOutput
}

ApplicationScaleArrayInput is an input type that accepts ApplicationScaleArray and ApplicationScaleArrayOutput values. You can construct a concrete instance of `ApplicationScaleArrayInput` via:

ApplicationScaleArray{ ApplicationScaleArgs{...} }

type ApplicationScaleArrayOutput added in v2.35.1

type ApplicationScaleArrayOutput struct{ *pulumi.OutputState }

func (ApplicationScaleArrayOutput) ElementType added in v2.35.1

func (ApplicationScaleArrayOutput) Index added in v2.35.1

func (ApplicationScaleArrayOutput) ToApplicationScaleArrayOutput added in v2.35.1

func (o ApplicationScaleArrayOutput) ToApplicationScaleArrayOutput() ApplicationScaleArrayOutput

func (ApplicationScaleArrayOutput) ToApplicationScaleArrayOutputWithContext added in v2.35.1

func (o ApplicationScaleArrayOutput) ToApplicationScaleArrayOutputWithContext(ctx context.Context) ApplicationScaleArrayOutput

type ApplicationScaleInput added in v2.25.1

type ApplicationScaleInput interface {
	pulumi.Input

	ToApplicationScaleOutput() ApplicationScaleOutput
	ToApplicationScaleOutputWithContext(ctx context.Context) ApplicationScaleOutput
}

type ApplicationScaleMap added in v2.35.1

type ApplicationScaleMap map[string]ApplicationScaleInput

func (ApplicationScaleMap) ElementType added in v2.35.1

func (ApplicationScaleMap) ElementType() reflect.Type

func (ApplicationScaleMap) ToApplicationScaleMapOutput added in v2.35.1

func (i ApplicationScaleMap) ToApplicationScaleMapOutput() ApplicationScaleMapOutput

func (ApplicationScaleMap) ToApplicationScaleMapOutputWithContext added in v2.35.1

func (i ApplicationScaleMap) ToApplicationScaleMapOutputWithContext(ctx context.Context) ApplicationScaleMapOutput

type ApplicationScaleMapInput added in v2.35.1

type ApplicationScaleMapInput interface {
	pulumi.Input

	ToApplicationScaleMapOutput() ApplicationScaleMapOutput
	ToApplicationScaleMapOutputWithContext(context.Context) ApplicationScaleMapOutput
}

ApplicationScaleMapInput is an input type that accepts ApplicationScaleMap and ApplicationScaleMapOutput values. You can construct a concrete instance of `ApplicationScaleMapInput` via:

ApplicationScaleMap{ "key": ApplicationScaleArgs{...} }

type ApplicationScaleMapOutput added in v2.35.1

type ApplicationScaleMapOutput struct{ *pulumi.OutputState }

func (ApplicationScaleMapOutput) ElementType added in v2.35.1

func (ApplicationScaleMapOutput) ElementType() reflect.Type

func (ApplicationScaleMapOutput) MapIndex added in v2.35.1

func (ApplicationScaleMapOutput) ToApplicationScaleMapOutput added in v2.35.1

func (o ApplicationScaleMapOutput) ToApplicationScaleMapOutput() ApplicationScaleMapOutput

func (ApplicationScaleMapOutput) ToApplicationScaleMapOutputWithContext added in v2.35.1

func (o ApplicationScaleMapOutput) ToApplicationScaleMapOutputWithContext(ctx context.Context) ApplicationScaleMapOutput

type ApplicationScaleOutput added in v2.25.1

type ApplicationScaleOutput struct {
	*pulumi.OutputState
}

func (ApplicationScaleOutput) ElementType added in v2.25.1

func (ApplicationScaleOutput) ElementType() reflect.Type

func (ApplicationScaleOutput) ToApplicationScaleOutput added in v2.25.1

func (o ApplicationScaleOutput) ToApplicationScaleOutput() ApplicationScaleOutput

func (ApplicationScaleOutput) ToApplicationScaleOutputWithContext added in v2.25.1

func (o ApplicationScaleOutput) ToApplicationScaleOutputWithContext(ctx context.Context) ApplicationScaleOutput

func (ApplicationScaleOutput) ToApplicationScalePtrOutput added in v2.35.1

func (o ApplicationScaleOutput) ToApplicationScalePtrOutput() ApplicationScalePtrOutput

func (ApplicationScaleOutput) ToApplicationScalePtrOutputWithContext added in v2.35.1

func (o ApplicationScaleOutput) ToApplicationScalePtrOutputWithContext(ctx context.Context) ApplicationScalePtrOutput

type ApplicationScalePtrInput added in v2.35.1

type ApplicationScalePtrInput interface {
	pulumi.Input

	ToApplicationScalePtrOutput() ApplicationScalePtrOutput
	ToApplicationScalePtrOutputWithContext(ctx context.Context) ApplicationScalePtrOutput
}

type ApplicationScalePtrOutput added in v2.35.1

type ApplicationScalePtrOutput struct {
	*pulumi.OutputState
}

func (ApplicationScalePtrOutput) ElementType added in v2.35.1

func (ApplicationScalePtrOutput) ElementType() reflect.Type

func (ApplicationScalePtrOutput) ToApplicationScalePtrOutput added in v2.35.1

func (o ApplicationScalePtrOutput) ToApplicationScalePtrOutput() ApplicationScalePtrOutput

func (ApplicationScalePtrOutput) ToApplicationScalePtrOutputWithContext added in v2.35.1

func (o ApplicationScalePtrOutput) ToApplicationScalePtrOutputWithContext(ctx context.Context) ApplicationScalePtrOutput

type ApplicationScaleState

type ApplicationScaleState struct {
	// The ID of the application that you want to deploy.
	AppId pulumi.StringPtrInput
	// The ID of the instance group to which you want to add ECS instances to scale out the application.
	DeployGroup pulumi.StringPtrInput
	// The ecc information of the resource supplied above. The value is formulated as `<ecc1,ecc2>`.
	EccInfo pulumi.StringPtrInput
	// The IDs of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.
	EcuInfos pulumi.StringArrayInput
	// 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.
	ForceStatus pulumi.BoolPtrInput
}

func (ApplicationScaleState) ElementType

func (ApplicationScaleState) ElementType() reflect.Type

type ApplicationState

type ApplicationState struct {
	// Name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.
	ApplicationName pulumi.StringPtrInput
	// The package ID of Enterprise Distributed Application Service (EDAS) Container, which can be retrieved by calling container version list interface ListBuildPack or the "Pack ID" column in container version list. When creating High-speed Service Framework (HSF) application, this parameter is required.
	BuildPackId pulumi.IntPtrInput
	// The ID of the cluster that you want to create the application. The default cluster will be used if you do not specify this parameter.
	ClusterId pulumi.StringPtrInput
	// The description of the application that you want to create.
	Descriotion pulumi.StringPtrInput
	// The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.
	EcuInfos pulumi.StringArrayInput
	// 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.
	GroupId pulumi.StringPtrInput
	// The URL for health checking of the application.
	HealthCheckUrl pulumi.StringPtrInput
	// The ID of the namespace where you want to create the application. You can call the ListUserDefineRegion operation to query the namespace ID.
	LogicalRegionId pulumi.StringPtrInput
	// The type of the package for the deployment of the application that you want to create. The valid values are: WAR and JAR. We strongly recommend you to set this parameter when creating the application.
	PackageType pulumi.StringPtrInput
	// 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.
	PackageVersion pulumi.StringPtrInput
	// 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.
	WarUrl pulumi.StringPtrInput
}

func (ApplicationState) ElementType

func (ApplicationState) ElementType() reflect.Type

type Cluster

type Cluster struct {
	pulumi.CustomResourceState

	// The name of the cluster that you want to create.
	ClusterName pulumi.StringOutput `pulumi:"clusterName"`
	// The type of the cluster that you want to create. Valid values only: 2: ECS cluster.
	ClusterType pulumi.IntOutput `pulumi:"clusterType"`
	// The ID of the namespace where you want to create the application. You can call the ListUserDefineRegion operation to query the namespace ID.
	LogicalRegionId pulumi.StringPtrOutput `pulumi:"logicalRegionId"`
	// The network type of the cluster that you want to create. Valid values: 1: classic network. 2: VPC.
	NetworkMode pulumi.IntOutput `pulumi:"networkMode"`
	// The ID of the Virtual Private Cloud (VPC) for the cluster.
	VpcId pulumi.StringPtrOutput `pulumi:"vpcId"`
}

Provides an EDAS cluster resource.

> **NOTE:** Available in 1.82.0+

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/edas"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := edas.NewCluster(ctx, "_default", &edas.ClusterArgs{
			ClusterName:     pulumi.Any(_var.Cluster_name),
			ClusterType:     pulumi.Any(_var.Cluster_type),
			NetworkMode:     pulumi.Any(_var.Network_mode),
			LogicalRegionId: pulumi.Any(_var.Logical_region_id),
			VpcId:           pulumi.Any(_var.Vpc_id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

EDAS cluster can be imported using the id, e.g.

```sh

$ pulumi import alicloud:edas/cluster:Cluster cluster cluster_id

```

func GetCluster

func GetCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)

GetCluster gets an existing Cluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCluster

func NewCluster(ctx *pulumi.Context,
	name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)

NewCluster registers a new resource with the given unique name, arguments, and options.

func (*Cluster) ElementType added in v2.25.1

func (*Cluster) ElementType() reflect.Type

func (*Cluster) ToClusterOutput added in v2.25.1

func (i *Cluster) ToClusterOutput() ClusterOutput

func (*Cluster) ToClusterOutputWithContext added in v2.25.1

func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

func (*Cluster) ToClusterPtrOutput added in v2.35.1

func (i *Cluster) ToClusterPtrOutput() ClusterPtrOutput

func (*Cluster) ToClusterPtrOutputWithContext added in v2.35.1

func (i *Cluster) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput

type ClusterArgs

type ClusterArgs struct {
	// The name of the cluster that you want to create.
	ClusterName pulumi.StringInput
	// The type of the cluster that you want to create. Valid values only: 2: ECS cluster.
	ClusterType pulumi.IntInput
	// The ID of the namespace where you want to create the application. You can call the ListUserDefineRegion operation to query the namespace ID.
	LogicalRegionId pulumi.StringPtrInput
	// The network type of the cluster that you want to create. Valid values: 1: classic network. 2: VPC.
	NetworkMode pulumi.IntInput
	// The ID of the Virtual Private Cloud (VPC) for the cluster.
	VpcId pulumi.StringPtrInput
}

The set of arguments for constructing a Cluster resource.

func (ClusterArgs) ElementType

func (ClusterArgs) ElementType() reflect.Type

type ClusterArray added in v2.35.1

type ClusterArray []ClusterInput

func (ClusterArray) ElementType added in v2.35.1

func (ClusterArray) ElementType() reflect.Type

func (ClusterArray) ToClusterArrayOutput added in v2.35.1

func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArray) ToClusterArrayOutputWithContext added in v2.35.1

func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterArrayInput added in v2.35.1

type ClusterArrayInput interface {
	pulumi.Input

	ToClusterArrayOutput() ClusterArrayOutput
	ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput
}

ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:

ClusterArray{ ClusterArgs{...} }

type ClusterArrayOutput added in v2.35.1

type ClusterArrayOutput struct{ *pulumi.OutputState }

func (ClusterArrayOutput) ElementType added in v2.35.1

func (ClusterArrayOutput) ElementType() reflect.Type

func (ClusterArrayOutput) Index added in v2.35.1

func (ClusterArrayOutput) ToClusterArrayOutput added in v2.35.1

func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArrayOutput) ToClusterArrayOutputWithContext added in v2.35.1

func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterInput added in v2.25.1

type ClusterInput interface {
	pulumi.Input

	ToClusterOutput() ClusterOutput
	ToClusterOutputWithContext(ctx context.Context) ClusterOutput
}

type ClusterMap added in v2.35.1

type ClusterMap map[string]ClusterInput

func (ClusterMap) ElementType added in v2.35.1

func (ClusterMap) ElementType() reflect.Type

func (ClusterMap) ToClusterMapOutput added in v2.35.1

func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput

func (ClusterMap) ToClusterMapOutputWithContext added in v2.35.1

func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterMapInput added in v2.35.1

type ClusterMapInput interface {
	pulumi.Input

	ToClusterMapOutput() ClusterMapOutput
	ToClusterMapOutputWithContext(context.Context) ClusterMapOutput
}

ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:

ClusterMap{ "key": ClusterArgs{...} }

type ClusterMapOutput added in v2.35.1

type ClusterMapOutput struct{ *pulumi.OutputState }

func (ClusterMapOutput) ElementType added in v2.35.1

func (ClusterMapOutput) ElementType() reflect.Type

func (ClusterMapOutput) MapIndex added in v2.35.1

func (ClusterMapOutput) ToClusterMapOutput added in v2.35.1

func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput

func (ClusterMapOutput) ToClusterMapOutputWithContext added in v2.35.1

func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterOutput added in v2.25.1

type ClusterOutput struct {
	*pulumi.OutputState
}

func (ClusterOutput) ElementType added in v2.25.1

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) ToClusterOutput added in v2.25.1

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext added in v2.25.1

func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

func (ClusterOutput) ToClusterPtrOutput added in v2.35.1

func (o ClusterOutput) ToClusterPtrOutput() ClusterPtrOutput

func (ClusterOutput) ToClusterPtrOutputWithContext added in v2.35.1

func (o ClusterOutput) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput

type ClusterPtrInput added in v2.35.1

type ClusterPtrInput interface {
	pulumi.Input

	ToClusterPtrOutput() ClusterPtrOutput
	ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput
}

type ClusterPtrOutput added in v2.35.1

type ClusterPtrOutput struct {
	*pulumi.OutputState
}

func (ClusterPtrOutput) ElementType added in v2.35.1

func (ClusterPtrOutput) ElementType() reflect.Type

func (ClusterPtrOutput) ToClusterPtrOutput added in v2.35.1

func (o ClusterPtrOutput) ToClusterPtrOutput() ClusterPtrOutput

func (ClusterPtrOutput) ToClusterPtrOutputWithContext added in v2.35.1

func (o ClusterPtrOutput) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput

type ClusterState

type ClusterState struct {
	// The name of the cluster that you want to create.
	ClusterName pulumi.StringPtrInput
	// The type of the cluster that you want to create. Valid values only: 2: ECS cluster.
	ClusterType pulumi.IntPtrInput
	// The ID of the namespace where you want to create the application. You can call the ListUserDefineRegion operation to query the namespace ID.
	LogicalRegionId pulumi.StringPtrInput
	// The network type of the cluster that you want to create. Valid values: 1: classic network. 2: VPC.
	NetworkMode pulumi.IntPtrInput
	// The ID of the Virtual Private Cloud (VPC) for the cluster.
	VpcId pulumi.StringPtrInput
}

func (ClusterState) ElementType

func (ClusterState) ElementType() reflect.Type

type DeployGroup

type DeployGroup struct {
	pulumi.CustomResourceState

	// The ID of the application that you want to deploy.
	AppId pulumi.StringOutput `pulumi:"appId"`
	// The name of the instance group that you want to create.
	GroupName pulumi.StringOutput `pulumi:"groupName"`
	// The type of the instance group that you want to create. Valid values: 0: Default group. 1: Phased release is disabled for traffic management. 2: Phased release is enabled for traffic management.
	GroupType pulumi.IntOutput `pulumi:"groupType"`
}

Provides an EDAS deploy group resource.

> **NOTE:** Available in 1.82.0+

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/edas"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := edas.NewDeployGroup(ctx, "_default", &edas.DeployGroupArgs{
			AppId:     pulumi.Any(_var.App_id),
			GroupName: pulumi.Any(_var.Group_name),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

EDAS deploy group can be imported using the id, e.g.

```sh

$ pulumi import alicloud:edas/deployGroup:DeployGroup group app_id:group_name:group_id

```

func GetDeployGroup

func GetDeployGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeployGroupState, opts ...pulumi.ResourceOption) (*DeployGroup, error)

GetDeployGroup gets an existing DeployGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDeployGroup

func NewDeployGroup(ctx *pulumi.Context,
	name string, args *DeployGroupArgs, opts ...pulumi.ResourceOption) (*DeployGroup, error)

NewDeployGroup registers a new resource with the given unique name, arguments, and options.

func (*DeployGroup) ElementType added in v2.25.1

func (*DeployGroup) ElementType() reflect.Type

func (*DeployGroup) ToDeployGroupOutput added in v2.25.1

func (i *DeployGroup) ToDeployGroupOutput() DeployGroupOutput

func (*DeployGroup) ToDeployGroupOutputWithContext added in v2.25.1

func (i *DeployGroup) ToDeployGroupOutputWithContext(ctx context.Context) DeployGroupOutput

func (*DeployGroup) ToDeployGroupPtrOutput added in v2.35.1

func (i *DeployGroup) ToDeployGroupPtrOutput() DeployGroupPtrOutput

func (*DeployGroup) ToDeployGroupPtrOutputWithContext added in v2.35.1

func (i *DeployGroup) ToDeployGroupPtrOutputWithContext(ctx context.Context) DeployGroupPtrOutput

type DeployGroupArgs

type DeployGroupArgs struct {
	// The ID of the application that you want to deploy.
	AppId pulumi.StringInput
	// The name of the instance group that you want to create.
	GroupName pulumi.StringInput
}

The set of arguments for constructing a DeployGroup resource.

func (DeployGroupArgs) ElementType

func (DeployGroupArgs) ElementType() reflect.Type

type DeployGroupArray added in v2.35.1

type DeployGroupArray []DeployGroupInput

func (DeployGroupArray) ElementType added in v2.35.1

func (DeployGroupArray) ElementType() reflect.Type

func (DeployGroupArray) ToDeployGroupArrayOutput added in v2.35.1

func (i DeployGroupArray) ToDeployGroupArrayOutput() DeployGroupArrayOutput

func (DeployGroupArray) ToDeployGroupArrayOutputWithContext added in v2.35.1

func (i DeployGroupArray) ToDeployGroupArrayOutputWithContext(ctx context.Context) DeployGroupArrayOutput

type DeployGroupArrayInput added in v2.35.1

type DeployGroupArrayInput interface {
	pulumi.Input

	ToDeployGroupArrayOutput() DeployGroupArrayOutput
	ToDeployGroupArrayOutputWithContext(context.Context) DeployGroupArrayOutput
}

DeployGroupArrayInput is an input type that accepts DeployGroupArray and DeployGroupArrayOutput values. You can construct a concrete instance of `DeployGroupArrayInput` via:

DeployGroupArray{ DeployGroupArgs{...} }

type DeployGroupArrayOutput added in v2.35.1

type DeployGroupArrayOutput struct{ *pulumi.OutputState }

func (DeployGroupArrayOutput) ElementType added in v2.35.1

func (DeployGroupArrayOutput) ElementType() reflect.Type

func (DeployGroupArrayOutput) Index added in v2.35.1

func (DeployGroupArrayOutput) ToDeployGroupArrayOutput added in v2.35.1

func (o DeployGroupArrayOutput) ToDeployGroupArrayOutput() DeployGroupArrayOutput

func (DeployGroupArrayOutput) ToDeployGroupArrayOutputWithContext added in v2.35.1

func (o DeployGroupArrayOutput) ToDeployGroupArrayOutputWithContext(ctx context.Context) DeployGroupArrayOutput

type DeployGroupInput added in v2.25.1

type DeployGroupInput interface {
	pulumi.Input

	ToDeployGroupOutput() DeployGroupOutput
	ToDeployGroupOutputWithContext(ctx context.Context) DeployGroupOutput
}

type DeployGroupMap added in v2.35.1

type DeployGroupMap map[string]DeployGroupInput

func (DeployGroupMap) ElementType added in v2.35.1

func (DeployGroupMap) ElementType() reflect.Type

func (DeployGroupMap) ToDeployGroupMapOutput added in v2.35.1

func (i DeployGroupMap) ToDeployGroupMapOutput() DeployGroupMapOutput

func (DeployGroupMap) ToDeployGroupMapOutputWithContext added in v2.35.1

func (i DeployGroupMap) ToDeployGroupMapOutputWithContext(ctx context.Context) DeployGroupMapOutput

type DeployGroupMapInput added in v2.35.1

type DeployGroupMapInput interface {
	pulumi.Input

	ToDeployGroupMapOutput() DeployGroupMapOutput
	ToDeployGroupMapOutputWithContext(context.Context) DeployGroupMapOutput
}

DeployGroupMapInput is an input type that accepts DeployGroupMap and DeployGroupMapOutput values. You can construct a concrete instance of `DeployGroupMapInput` via:

DeployGroupMap{ "key": DeployGroupArgs{...} }

type DeployGroupMapOutput added in v2.35.1

type DeployGroupMapOutput struct{ *pulumi.OutputState }

func (DeployGroupMapOutput) ElementType added in v2.35.1

func (DeployGroupMapOutput) ElementType() reflect.Type

func (DeployGroupMapOutput) MapIndex added in v2.35.1

func (DeployGroupMapOutput) ToDeployGroupMapOutput added in v2.35.1

func (o DeployGroupMapOutput) ToDeployGroupMapOutput() DeployGroupMapOutput

func (DeployGroupMapOutput) ToDeployGroupMapOutputWithContext added in v2.35.1

func (o DeployGroupMapOutput) ToDeployGroupMapOutputWithContext(ctx context.Context) DeployGroupMapOutput

type DeployGroupOutput added in v2.25.1

type DeployGroupOutput struct {
	*pulumi.OutputState
}

func (DeployGroupOutput) ElementType added in v2.25.1

func (DeployGroupOutput) ElementType() reflect.Type

func (DeployGroupOutput) ToDeployGroupOutput added in v2.25.1

func (o DeployGroupOutput) ToDeployGroupOutput() DeployGroupOutput

func (DeployGroupOutput) ToDeployGroupOutputWithContext added in v2.25.1

func (o DeployGroupOutput) ToDeployGroupOutputWithContext(ctx context.Context) DeployGroupOutput

func (DeployGroupOutput) ToDeployGroupPtrOutput added in v2.35.1

func (o DeployGroupOutput) ToDeployGroupPtrOutput() DeployGroupPtrOutput

func (DeployGroupOutput) ToDeployGroupPtrOutputWithContext added in v2.35.1

func (o DeployGroupOutput) ToDeployGroupPtrOutputWithContext(ctx context.Context) DeployGroupPtrOutput

type DeployGroupPtrInput added in v2.35.1

type DeployGroupPtrInput interface {
	pulumi.Input

	ToDeployGroupPtrOutput() DeployGroupPtrOutput
	ToDeployGroupPtrOutputWithContext(ctx context.Context) DeployGroupPtrOutput
}

type DeployGroupPtrOutput added in v2.35.1

type DeployGroupPtrOutput struct {
	*pulumi.OutputState
}

func (DeployGroupPtrOutput) ElementType added in v2.35.1

func (DeployGroupPtrOutput) ElementType() reflect.Type

func (DeployGroupPtrOutput) ToDeployGroupPtrOutput added in v2.35.1

func (o DeployGroupPtrOutput) ToDeployGroupPtrOutput() DeployGroupPtrOutput

func (DeployGroupPtrOutput) ToDeployGroupPtrOutputWithContext added in v2.35.1

func (o DeployGroupPtrOutput) ToDeployGroupPtrOutputWithContext(ctx context.Context) DeployGroupPtrOutput

type DeployGroupState

type DeployGroupState struct {
	// The ID of the application that you want to deploy.
	AppId pulumi.StringPtrInput
	// The name of the instance group that you want to create.
	GroupName pulumi.StringPtrInput
	// The type of the instance group that you want to create. Valid values: 0: Default group. 1: Phased release is disabled for traffic management. 2: Phased release is enabled for traffic management.
	GroupType pulumi.IntPtrInput
}

func (DeployGroupState) ElementType

func (DeployGroupState) ElementType() reflect.Type

type GetApplicationsApplication

type GetApplicationsApplication struct {
	// The ID of the application that you want to deploy.
	AppId string `pulumi:"appId"`
	// The name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.
	AppName string `pulumi:"appName"`
	// The type of the package for the deployment of the application that you want to create. The valid values are: WAR and JAR. We strongly recommend you to set this parameter when creating the application.
	ApplicationType string `pulumi:"applicationType"`
	// The package ID of Enterprise Distributed Application Service (EDAS) Container.
	BuildPackageId int `pulumi:"buildPackageId"`
	// The ID of the cluster that you want to create the application.
	ClusterId string `pulumi:"clusterId"`
	// The type of the cluster that you want to create. Valid values: 1: Swarm cluster. 2: ECS cluster. 3: Kubernates cluster.
	ClusterType int `pulumi:"clusterType"`
	// The ID of the namespace the application belongs to.
	RegionId string `pulumi:"regionId"`
}

type GetApplicationsApplicationArgs

type GetApplicationsApplicationArgs struct {
	// The ID of the application that you want to deploy.
	AppId pulumi.StringInput `pulumi:"appId"`
	// The name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.
	AppName pulumi.StringInput `pulumi:"appName"`
	// The type of the package for the deployment of the application that you want to create. The valid values are: WAR and JAR. We strongly recommend you to set this parameter when creating the application.
	ApplicationType pulumi.StringInput `pulumi:"applicationType"`
	// The package ID of Enterprise Distributed Application Service (EDAS) Container.
	BuildPackageId pulumi.IntInput `pulumi:"buildPackageId"`
	// The ID of the cluster that you want to create the application.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The type of the cluster that you want to create. Valid values: 1: Swarm cluster. 2: ECS cluster. 3: Kubernates cluster.
	ClusterType pulumi.IntInput `pulumi:"clusterType"`
	// The ID of the namespace the application belongs to.
	RegionId pulumi.StringInput `pulumi:"regionId"`
}

func (GetApplicationsApplicationArgs) ElementType

func (GetApplicationsApplicationArgs) ToGetApplicationsApplicationOutput

func (i GetApplicationsApplicationArgs) ToGetApplicationsApplicationOutput() GetApplicationsApplicationOutput

func (GetApplicationsApplicationArgs) ToGetApplicationsApplicationOutputWithContext

func (i GetApplicationsApplicationArgs) ToGetApplicationsApplicationOutputWithContext(ctx context.Context) GetApplicationsApplicationOutput

type GetApplicationsApplicationArray

type GetApplicationsApplicationArray []GetApplicationsApplicationInput

func (GetApplicationsApplicationArray) ElementType

func (GetApplicationsApplicationArray) ToGetApplicationsApplicationArrayOutput

func (i GetApplicationsApplicationArray) ToGetApplicationsApplicationArrayOutput() GetApplicationsApplicationArrayOutput

func (GetApplicationsApplicationArray) ToGetApplicationsApplicationArrayOutputWithContext

func (i GetApplicationsApplicationArray) ToGetApplicationsApplicationArrayOutputWithContext(ctx context.Context) GetApplicationsApplicationArrayOutput

type GetApplicationsApplicationArrayInput

type GetApplicationsApplicationArrayInput interface {
	pulumi.Input

	ToGetApplicationsApplicationArrayOutput() GetApplicationsApplicationArrayOutput
	ToGetApplicationsApplicationArrayOutputWithContext(context.Context) GetApplicationsApplicationArrayOutput
}

GetApplicationsApplicationArrayInput is an input type that accepts GetApplicationsApplicationArray and GetApplicationsApplicationArrayOutput values. You can construct a concrete instance of `GetApplicationsApplicationArrayInput` via:

GetApplicationsApplicationArray{ GetApplicationsApplicationArgs{...} }

type GetApplicationsApplicationArrayOutput

type GetApplicationsApplicationArrayOutput struct{ *pulumi.OutputState }

func (GetApplicationsApplicationArrayOutput) ElementType

func (GetApplicationsApplicationArrayOutput) Index

func (GetApplicationsApplicationArrayOutput) ToGetApplicationsApplicationArrayOutput

func (o GetApplicationsApplicationArrayOutput) ToGetApplicationsApplicationArrayOutput() GetApplicationsApplicationArrayOutput

func (GetApplicationsApplicationArrayOutput) ToGetApplicationsApplicationArrayOutputWithContext

func (o GetApplicationsApplicationArrayOutput) ToGetApplicationsApplicationArrayOutputWithContext(ctx context.Context) GetApplicationsApplicationArrayOutput

type GetApplicationsApplicationInput

type GetApplicationsApplicationInput interface {
	pulumi.Input

	ToGetApplicationsApplicationOutput() GetApplicationsApplicationOutput
	ToGetApplicationsApplicationOutputWithContext(context.Context) GetApplicationsApplicationOutput
}

GetApplicationsApplicationInput is an input type that accepts GetApplicationsApplicationArgs and GetApplicationsApplicationOutput values. You can construct a concrete instance of `GetApplicationsApplicationInput` via:

GetApplicationsApplicationArgs{...}

type GetApplicationsApplicationOutput

type GetApplicationsApplicationOutput struct{ *pulumi.OutputState }

func (GetApplicationsApplicationOutput) AppId

The ID of the application that you want to deploy.

func (GetApplicationsApplicationOutput) AppName

The name of your EDAS application. Only letters '-' '_' and numbers are allowed. The length cannot exceed 36 characters.

func (GetApplicationsApplicationOutput) ApplicationType

The type of the package for the deployment of the application that you want to create. The valid values are: WAR and JAR. We strongly recommend you to set this parameter when creating the application.

func (GetApplicationsApplicationOutput) BuildPackageId

The package ID of Enterprise Distributed Application Service (EDAS) Container.

func (GetApplicationsApplicationOutput) ClusterId

The ID of the cluster that you want to create the application.

func (GetApplicationsApplicationOutput) ClusterType

The type of the cluster that you want to create. Valid values: 1: Swarm cluster. 2: ECS cluster. 3: Kubernates cluster.

func (GetApplicationsApplicationOutput) ElementType

func (GetApplicationsApplicationOutput) RegionId

The ID of the namespace the application belongs to.

func (GetApplicationsApplicationOutput) ToGetApplicationsApplicationOutput

func (o GetApplicationsApplicationOutput) ToGetApplicationsApplicationOutput() GetApplicationsApplicationOutput

func (GetApplicationsApplicationOutput) ToGetApplicationsApplicationOutputWithContext

func (o GetApplicationsApplicationOutput) ToGetApplicationsApplicationOutputWithContext(ctx context.Context) GetApplicationsApplicationOutput

type GetApplicationsArgs

type GetApplicationsArgs struct {
	// An ids string to filter results by the application id.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by the application name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getApplications.

type GetApplicationsResult

type GetApplicationsResult struct {
	// A list of applications.
	Applications []GetApplicationsApplication `pulumi:"applications"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of application IDs.
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// A list of applications names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getApplications.

func GetApplications

func GetApplications(ctx *pulumi.Context, args *GetApplicationsArgs, opts ...pulumi.InvokeOption) (*GetApplicationsResult, error)

This data source provides a list of EDAS application in an Alibaba Cloud account according to the specified filters.

> **NOTE:** Available in 1.82.0+

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/edas"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "application.txt"
		applications, err := edas.GetApplications(ctx, &edas.GetApplicationsArgs{
			Ids: []string{
				"xxx",
			},
			OutputFile: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstApplicationName", applications.Applications[0].AppName)
		return nil
	})
}

```

type GetClustersArgs

type GetClustersArgs struct {
	// An ids string to filter results by the cluster id.
	Ids []string `pulumi:"ids"`
	// ID of the namespace in EDAS.
	LogicalRegionId string `pulumi:"logicalRegionId"`
	// A regex string to filter results by the cluster name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getClusters.

type GetClustersCluster

type GetClustersCluster struct {
	// The ID of the cluster that you want to create the application.
	ClusterId string `pulumi:"clusterId"`
	// The name of the cluster.
	ClusterName string `pulumi:"clusterName"`
	// The type of the cluster, Valid values: 1: Swarm cluster. 2: ECS cluster. 3: Kubernates cluster.
	ClusterType int `pulumi:"clusterType"`
	// The total number of CPUs in the cluster.
	Cpu int `pulumi:"cpu"`
	// The number of used CPUs in the cluster.
	CpuUsed int `pulumi:"cpuUsed"`
	// Cluster's creation time.
	CreateTime int `pulumi:"createTime"`
	// The total amount of memory in the cluser. Unit: MB.
	Mem int `pulumi:"mem"`
	// The amount of used memory in the cluser. Unit: MB.
	MemUsed int `pulumi:"memUsed"`
	// The network type of the cluster. Valid values: 1: classic network. 2: VPC.
	NetworkMode int `pulumi:"networkMode"`
	// The number of the Elastic Compute Service (ECS) instances that are deployed to the cluster.
	NodeNum int `pulumi:"nodeNum"`
	// The ID of the namespace the application belongs to.
	RegionId string `pulumi:"regionId"`
	// The time when the cluster was last updated.
	UpdateTime int `pulumi:"updateTime"`
	// The ID of the Virtual Private Cloud (VPC) for the cluster.
	VpcId string `pulumi:"vpcId"`
}

type GetClustersClusterArgs

type GetClustersClusterArgs struct {
	// The ID of the cluster that you want to create the application.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The name of the cluster.
	ClusterName pulumi.StringInput `pulumi:"clusterName"`
	// The type of the cluster, Valid values: 1: Swarm cluster. 2: ECS cluster. 3: Kubernates cluster.
	ClusterType pulumi.IntInput `pulumi:"clusterType"`
	// The total number of CPUs in the cluster.
	Cpu pulumi.IntInput `pulumi:"cpu"`
	// The number of used CPUs in the cluster.
	CpuUsed pulumi.IntInput `pulumi:"cpuUsed"`
	// Cluster's creation time.
	CreateTime pulumi.IntInput `pulumi:"createTime"`
	// The total amount of memory in the cluser. Unit: MB.
	Mem pulumi.IntInput `pulumi:"mem"`
	// The amount of used memory in the cluser. Unit: MB.
	MemUsed pulumi.IntInput `pulumi:"memUsed"`
	// The network type of the cluster. Valid values: 1: classic network. 2: VPC.
	NetworkMode pulumi.IntInput `pulumi:"networkMode"`
	// The number of the Elastic Compute Service (ECS) instances that are deployed to the cluster.
	NodeNum pulumi.IntInput `pulumi:"nodeNum"`
	// The ID of the namespace the application belongs to.
	RegionId pulumi.StringInput `pulumi:"regionId"`
	// The time when the cluster was last updated.
	UpdateTime pulumi.IntInput `pulumi:"updateTime"`
	// The ID of the Virtual Private Cloud (VPC) for the cluster.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (GetClustersClusterArgs) ElementType

func (GetClustersClusterArgs) ElementType() reflect.Type

func (GetClustersClusterArgs) ToGetClustersClusterOutput

func (i GetClustersClusterArgs) ToGetClustersClusterOutput() GetClustersClusterOutput

func (GetClustersClusterArgs) ToGetClustersClusterOutputWithContext

func (i GetClustersClusterArgs) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput

type GetClustersClusterArray

type GetClustersClusterArray []GetClustersClusterInput

func (GetClustersClusterArray) ElementType

func (GetClustersClusterArray) ElementType() reflect.Type

func (GetClustersClusterArray) ToGetClustersClusterArrayOutput

func (i GetClustersClusterArray) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput

func (GetClustersClusterArray) ToGetClustersClusterArrayOutputWithContext

func (i GetClustersClusterArray) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput

type GetClustersClusterArrayInput

type GetClustersClusterArrayInput interface {
	pulumi.Input

	ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput
	ToGetClustersClusterArrayOutputWithContext(context.Context) GetClustersClusterArrayOutput
}

GetClustersClusterArrayInput is an input type that accepts GetClustersClusterArray and GetClustersClusterArrayOutput values. You can construct a concrete instance of `GetClustersClusterArrayInput` via:

GetClustersClusterArray{ GetClustersClusterArgs{...} }

type GetClustersClusterArrayOutput

type GetClustersClusterArrayOutput struct{ *pulumi.OutputState }

func (GetClustersClusterArrayOutput) ElementType

func (GetClustersClusterArrayOutput) Index

func (GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutput

func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput

func (GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutputWithContext

func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput

type GetClustersClusterInput

type GetClustersClusterInput interface {
	pulumi.Input

	ToGetClustersClusterOutput() GetClustersClusterOutput
	ToGetClustersClusterOutputWithContext(context.Context) GetClustersClusterOutput
}

GetClustersClusterInput is an input type that accepts GetClustersClusterArgs and GetClustersClusterOutput values. You can construct a concrete instance of `GetClustersClusterInput` via:

GetClustersClusterArgs{...}

type GetClustersClusterOutput

type GetClustersClusterOutput struct{ *pulumi.OutputState }

func (GetClustersClusterOutput) ClusterId

The ID of the cluster that you want to create the application.

func (GetClustersClusterOutput) ClusterName

The name of the cluster.

func (GetClustersClusterOutput) ClusterType

func (o GetClustersClusterOutput) ClusterType() pulumi.IntOutput

The type of the cluster, Valid values: 1: Swarm cluster. 2: ECS cluster. 3: Kubernates cluster.

func (GetClustersClusterOutput) Cpu

The total number of CPUs in the cluster.

func (GetClustersClusterOutput) CpuUsed

The number of used CPUs in the cluster.

func (GetClustersClusterOutput) CreateTime

func (o GetClustersClusterOutput) CreateTime() pulumi.IntOutput

Cluster's creation time.

func (GetClustersClusterOutput) ElementType

func (GetClustersClusterOutput) ElementType() reflect.Type

func (GetClustersClusterOutput) Mem

The total amount of memory in the cluser. Unit: MB.

func (GetClustersClusterOutput) MemUsed

The amount of used memory in the cluser. Unit: MB.

func (GetClustersClusterOutput) NetworkMode

func (o GetClustersClusterOutput) NetworkMode() pulumi.IntOutput

The network type of the cluster. Valid values: 1: classic network. 2: VPC.

func (GetClustersClusterOutput) NodeNum

The number of the Elastic Compute Service (ECS) instances that are deployed to the cluster.

func (GetClustersClusterOutput) RegionId

The ID of the namespace the application belongs to.

func (GetClustersClusterOutput) ToGetClustersClusterOutput

func (o GetClustersClusterOutput) ToGetClustersClusterOutput() GetClustersClusterOutput

func (GetClustersClusterOutput) ToGetClustersClusterOutputWithContext

func (o GetClustersClusterOutput) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput

func (GetClustersClusterOutput) UpdateTime

func (o GetClustersClusterOutput) UpdateTime() pulumi.IntOutput

The time when the cluster was last updated.

func (GetClustersClusterOutput) VpcId

The ID of the Virtual Private Cloud (VPC) for the cluster.

type GetClustersResult

type GetClustersResult struct {
	// A list of clusters.
	Clusters []GetClustersCluster `pulumi:"clusters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of cluster IDs.
	Ids             []string `pulumi:"ids"`
	LogicalRegionId string   `pulumi:"logicalRegionId"`
	NameRegex       *string  `pulumi:"nameRegex"`
	// A list of cluster names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getClusters.

func GetClusters

func GetClusters(ctx *pulumi.Context, args *GetClustersArgs, opts ...pulumi.InvokeOption) (*GetClustersResult, error)

This data source provides a list of EDAS clusters in an Alibaba Cloud account according to the specified filters.

> **NOTE:** Available in 1.82.0+

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/edas"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "clusters.txt"
		_, err := edas.GetClusters(ctx, &edas.GetClustersArgs{
			LogicalRegionId: "cn-shenzhen:xxx",
			Ids: []string{
				"addfs-dfsasd",
			},
			OutputFile: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstClusterName", data.Alicloud_alikafka_consumer_groups.Clusters.Clusters[0].Cluster_name)
		return nil
	})
}

```

type GetDeployGroupsArgs

type GetDeployGroupsArgs struct {
	// ID of the EDAS application.
	AppId string `pulumi:"appId"`
	// A regex string to filter results by the deploy group name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getDeployGroups.

type GetDeployGroupsGroup

type GetDeployGroupsGroup struct {
	// ID of the EDAS application.
	AppId string `pulumi:"appId"`
	// The version of the deployment package for the application.
	AppVersionId string `pulumi:"appVersionId"`
	// The ID of the cluster that you want to create the application.
	ClusterId string `pulumi:"clusterId"`
	// The time when the instance group was created.
	CreateTime int `pulumi:"createTime"`
	// The ID of the instance group.
	GroupId string `pulumi:"groupId"`
	// The name of the instance group. The length cannot exceed 64 characters.
	GroupName string `pulumi:"groupName"`
	// The type of the instance group. Valid values: 0: Default group. 1: Phased release is disabled for traffic management. 2: Phased release is enabled for traffic management.
	GroupType int `pulumi:"groupType"`
	// The version of the deployment package for the instance group that was created.
	PackageVersionId string `pulumi:"packageVersionId"`
	// The time when the instance group was updated.
	UpdateTime int `pulumi:"updateTime"`
}

type GetDeployGroupsGroupArgs

type GetDeployGroupsGroupArgs struct {
	// ID of the EDAS application.
	AppId pulumi.StringInput `pulumi:"appId"`
	// The version of the deployment package for the application.
	AppVersionId pulumi.StringInput `pulumi:"appVersionId"`
	// The ID of the cluster that you want to create the application.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The time when the instance group was created.
	CreateTime pulumi.IntInput `pulumi:"createTime"`
	// The ID of the instance group.
	GroupId pulumi.StringInput `pulumi:"groupId"`
	// The name of the instance group. The length cannot exceed 64 characters.
	GroupName pulumi.StringInput `pulumi:"groupName"`
	// The type of the instance group. Valid values: 0: Default group. 1: Phased release is disabled for traffic management. 2: Phased release is enabled for traffic management.
	GroupType pulumi.IntInput `pulumi:"groupType"`
	// The version of the deployment package for the instance group that was created.
	PackageVersionId pulumi.StringInput `pulumi:"packageVersionId"`
	// The time when the instance group was updated.
	UpdateTime pulumi.IntInput `pulumi:"updateTime"`
}

func (GetDeployGroupsGroupArgs) ElementType

func (GetDeployGroupsGroupArgs) ElementType() reflect.Type

func (GetDeployGroupsGroupArgs) ToGetDeployGroupsGroupOutput

func (i GetDeployGroupsGroupArgs) ToGetDeployGroupsGroupOutput() GetDeployGroupsGroupOutput

func (GetDeployGroupsGroupArgs) ToGetDeployGroupsGroupOutputWithContext

func (i GetDeployGroupsGroupArgs) ToGetDeployGroupsGroupOutputWithContext(ctx context.Context) GetDeployGroupsGroupOutput

type GetDeployGroupsGroupArray

type GetDeployGroupsGroupArray []GetDeployGroupsGroupInput

func (GetDeployGroupsGroupArray) ElementType

func (GetDeployGroupsGroupArray) ElementType() reflect.Type

func (GetDeployGroupsGroupArray) ToGetDeployGroupsGroupArrayOutput

func (i GetDeployGroupsGroupArray) ToGetDeployGroupsGroupArrayOutput() GetDeployGroupsGroupArrayOutput

func (GetDeployGroupsGroupArray) ToGetDeployGroupsGroupArrayOutputWithContext

func (i GetDeployGroupsGroupArray) ToGetDeployGroupsGroupArrayOutputWithContext(ctx context.Context) GetDeployGroupsGroupArrayOutput

type GetDeployGroupsGroupArrayInput

type GetDeployGroupsGroupArrayInput interface {
	pulumi.Input

	ToGetDeployGroupsGroupArrayOutput() GetDeployGroupsGroupArrayOutput
	ToGetDeployGroupsGroupArrayOutputWithContext(context.Context) GetDeployGroupsGroupArrayOutput
}

GetDeployGroupsGroupArrayInput is an input type that accepts GetDeployGroupsGroupArray and GetDeployGroupsGroupArrayOutput values. You can construct a concrete instance of `GetDeployGroupsGroupArrayInput` via:

GetDeployGroupsGroupArray{ GetDeployGroupsGroupArgs{...} }

type GetDeployGroupsGroupArrayOutput

type GetDeployGroupsGroupArrayOutput struct{ *pulumi.OutputState }

func (GetDeployGroupsGroupArrayOutput) ElementType

func (GetDeployGroupsGroupArrayOutput) Index

func (GetDeployGroupsGroupArrayOutput) ToGetDeployGroupsGroupArrayOutput

func (o GetDeployGroupsGroupArrayOutput) ToGetDeployGroupsGroupArrayOutput() GetDeployGroupsGroupArrayOutput

func (GetDeployGroupsGroupArrayOutput) ToGetDeployGroupsGroupArrayOutputWithContext

func (o GetDeployGroupsGroupArrayOutput) ToGetDeployGroupsGroupArrayOutputWithContext(ctx context.Context) GetDeployGroupsGroupArrayOutput

type GetDeployGroupsGroupInput

type GetDeployGroupsGroupInput interface {
	pulumi.Input

	ToGetDeployGroupsGroupOutput() GetDeployGroupsGroupOutput
	ToGetDeployGroupsGroupOutputWithContext(context.Context) GetDeployGroupsGroupOutput
}

GetDeployGroupsGroupInput is an input type that accepts GetDeployGroupsGroupArgs and GetDeployGroupsGroupOutput values. You can construct a concrete instance of `GetDeployGroupsGroupInput` via:

GetDeployGroupsGroupArgs{...}

type GetDeployGroupsGroupOutput

type GetDeployGroupsGroupOutput struct{ *pulumi.OutputState }

func (GetDeployGroupsGroupOutput) AppId

ID of the EDAS application.

func (GetDeployGroupsGroupOutput) AppVersionId

The version of the deployment package for the application.

func (GetDeployGroupsGroupOutput) ClusterId

The ID of the cluster that you want to create the application.

func (GetDeployGroupsGroupOutput) CreateTime

The time when the instance group was created.

func (GetDeployGroupsGroupOutput) ElementType

func (GetDeployGroupsGroupOutput) ElementType() reflect.Type

func (GetDeployGroupsGroupOutput) GroupId

The ID of the instance group.

func (GetDeployGroupsGroupOutput) GroupName

The name of the instance group. The length cannot exceed 64 characters.

func (GetDeployGroupsGroupOutput) GroupType

The type of the instance group. Valid values: 0: Default group. 1: Phased release is disabled for traffic management. 2: Phased release is enabled for traffic management.

func (GetDeployGroupsGroupOutput) PackageVersionId

func (o GetDeployGroupsGroupOutput) PackageVersionId() pulumi.StringOutput

The version of the deployment package for the instance group that was created.

func (GetDeployGroupsGroupOutput) ToGetDeployGroupsGroupOutput

func (o GetDeployGroupsGroupOutput) ToGetDeployGroupsGroupOutput() GetDeployGroupsGroupOutput

func (GetDeployGroupsGroupOutput) ToGetDeployGroupsGroupOutputWithContext

func (o GetDeployGroupsGroupOutput) ToGetDeployGroupsGroupOutputWithContext(ctx context.Context) GetDeployGroupsGroupOutput

func (GetDeployGroupsGroupOutput) UpdateTime

The time when the instance group was updated.

type GetDeployGroupsResult

type GetDeployGroupsResult struct {
	// The ID of the application that you want to deploy.
	AppId string `pulumi:"appId"`
	// A list of consumer group ids.
	Groups []GetDeployGroupsGroup `pulumi:"groups"`
	// The provider-assigned unique ID for this managed resource.
	Id        string  `pulumi:"id"`
	NameRegex *string `pulumi:"nameRegex"`
	// A list of deploy group names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getDeployGroups.

func GetDeployGroups

func GetDeployGroups(ctx *pulumi.Context, args *GetDeployGroupsArgs, opts ...pulumi.InvokeOption) (*GetDeployGroupsResult, error)

This data source provides a list of EDAS deploy groups in an Alibaba Cloud account according to the specified filters.

> **NOTE:** Available in 1.82.0+

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/edas"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "groups.txt"
		groups, err := edas.GetDeployGroups(ctx, &edas.GetDeployGroupsArgs{
			AppId: "xxx",
			Ids: []string{
				"xxx",
			},
			OutputFile: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstGroupName", groups.Groups[0].GroupName)
		return nil
	})
}

```

type GetServiceArgs added in v2.20.0

type GetServiceArgs struct {
	// Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: "On" or "Off". Default to "Off".
	Enable *string `pulumi:"enable"`
}

A collection of arguments for invoking getService.

type GetServiceResult added in v2.20.0

type GetServiceResult struct {
	Enable *string `pulumi:"enable"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The current service enable status.
	Status string `pulumi:"status"`
}

A collection of values returned by getService.

func GetService added in v2.20.0

func GetService(ctx *pulumi.Context, args *GetServiceArgs, opts ...pulumi.InvokeOption) (*GetServiceResult, error)

Using this data source can open EDAS service automatically. If the service has been opened, it will return opened.

For information about EDAS and how to use it, see [What is EDAS](https://www.alibabacloud.com/help/product/29500.htm).

> **NOTE:** Available in v1.98.0+

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/edas"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "On"
		_, err := edas.GetService(ctx, &edas.GetServiceArgs{
			Enable: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type InstanceClusterAttachment

type InstanceClusterAttachment struct {
	pulumi.CustomResourceState

	// The ID of the cluster that you want to create the application.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The cluster members map of the resource supplied above. The key is instanceId and the value is cluster_member_id.
	ClusterMemberIds pulumi.StringMapOutput `pulumi:"clusterMemberIds"`
	// The ecu map of the resource supplied above. The key is instanceId and the value is ecu_id.
	EcuMap pulumi.StringMapOutput `pulumi:"ecuMap"`
	// The ID of instance. Type: list.
	InstanceIds pulumi.StringArrayOutput `pulumi:"instanceIds"`
	// The status map of the resource supplied above. The key is instanceId and the values are 1(running) 0(converting) -1(failed) and -2(offline).
	StatusMap pulumi.IntMapOutput `pulumi:"statusMap"`
}

Provides an EDAS instance cluster attachment resource.

> **NOTE:** Available in 1.82.0+

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/edas"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := edas.NewInstanceClusterAttachment(ctx, "_default", &edas.InstanceClusterAttachmentArgs{
			ClusterId:   pulumi.Any(_var.Cluster_id),
			InstanceIds: _var.Instance_ids,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetInstanceClusterAttachment

func GetInstanceClusterAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceClusterAttachmentState, opts ...pulumi.ResourceOption) (*InstanceClusterAttachment, error)

GetInstanceClusterAttachment gets an existing InstanceClusterAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInstanceClusterAttachment

func NewInstanceClusterAttachment(ctx *pulumi.Context,
	name string, args *InstanceClusterAttachmentArgs, opts ...pulumi.ResourceOption) (*InstanceClusterAttachment, error)

NewInstanceClusterAttachment registers a new resource with the given unique name, arguments, and options.

func (*InstanceClusterAttachment) ElementType added in v2.25.1

func (*InstanceClusterAttachment) ElementType() reflect.Type

func (*InstanceClusterAttachment) ToInstanceClusterAttachmentOutput added in v2.25.1

func (i *InstanceClusterAttachment) ToInstanceClusterAttachmentOutput() InstanceClusterAttachmentOutput

func (*InstanceClusterAttachment) ToInstanceClusterAttachmentOutputWithContext added in v2.25.1

func (i *InstanceClusterAttachment) ToInstanceClusterAttachmentOutputWithContext(ctx context.Context) InstanceClusterAttachmentOutput

func (*InstanceClusterAttachment) ToInstanceClusterAttachmentPtrOutput added in v2.35.1

func (i *InstanceClusterAttachment) ToInstanceClusterAttachmentPtrOutput() InstanceClusterAttachmentPtrOutput

func (*InstanceClusterAttachment) ToInstanceClusterAttachmentPtrOutputWithContext added in v2.35.1

func (i *InstanceClusterAttachment) ToInstanceClusterAttachmentPtrOutputWithContext(ctx context.Context) InstanceClusterAttachmentPtrOutput

type InstanceClusterAttachmentArgs

type InstanceClusterAttachmentArgs struct {
	// The ID of the cluster that you want to create the application.
	ClusterId pulumi.StringInput
	// The ID of instance. Type: list.
	InstanceIds pulumi.StringArrayInput
}

The set of arguments for constructing a InstanceClusterAttachment resource.

func (InstanceClusterAttachmentArgs) ElementType

type InstanceClusterAttachmentArray added in v2.35.1

type InstanceClusterAttachmentArray []InstanceClusterAttachmentInput

func (InstanceClusterAttachmentArray) ElementType added in v2.35.1

func (InstanceClusterAttachmentArray) ToInstanceClusterAttachmentArrayOutput added in v2.35.1

func (i InstanceClusterAttachmentArray) ToInstanceClusterAttachmentArrayOutput() InstanceClusterAttachmentArrayOutput

func (InstanceClusterAttachmentArray) ToInstanceClusterAttachmentArrayOutputWithContext added in v2.35.1

func (i InstanceClusterAttachmentArray) ToInstanceClusterAttachmentArrayOutputWithContext(ctx context.Context) InstanceClusterAttachmentArrayOutput

type InstanceClusterAttachmentArrayInput added in v2.35.1

type InstanceClusterAttachmentArrayInput interface {
	pulumi.Input

	ToInstanceClusterAttachmentArrayOutput() InstanceClusterAttachmentArrayOutput
	ToInstanceClusterAttachmentArrayOutputWithContext(context.Context) InstanceClusterAttachmentArrayOutput
}

InstanceClusterAttachmentArrayInput is an input type that accepts InstanceClusterAttachmentArray and InstanceClusterAttachmentArrayOutput values. You can construct a concrete instance of `InstanceClusterAttachmentArrayInput` via:

InstanceClusterAttachmentArray{ InstanceClusterAttachmentArgs{...} }

type InstanceClusterAttachmentArrayOutput added in v2.35.1

type InstanceClusterAttachmentArrayOutput struct{ *pulumi.OutputState }

func (InstanceClusterAttachmentArrayOutput) ElementType added in v2.35.1

func (InstanceClusterAttachmentArrayOutput) Index added in v2.35.1

func (InstanceClusterAttachmentArrayOutput) ToInstanceClusterAttachmentArrayOutput added in v2.35.1

func (o InstanceClusterAttachmentArrayOutput) ToInstanceClusterAttachmentArrayOutput() InstanceClusterAttachmentArrayOutput

func (InstanceClusterAttachmentArrayOutput) ToInstanceClusterAttachmentArrayOutputWithContext added in v2.35.1

func (o InstanceClusterAttachmentArrayOutput) ToInstanceClusterAttachmentArrayOutputWithContext(ctx context.Context) InstanceClusterAttachmentArrayOutput

type InstanceClusterAttachmentInput added in v2.25.1

type InstanceClusterAttachmentInput interface {
	pulumi.Input

	ToInstanceClusterAttachmentOutput() InstanceClusterAttachmentOutput
	ToInstanceClusterAttachmentOutputWithContext(ctx context.Context) InstanceClusterAttachmentOutput
}

type InstanceClusterAttachmentMap added in v2.35.1

type InstanceClusterAttachmentMap map[string]InstanceClusterAttachmentInput

func (InstanceClusterAttachmentMap) ElementType added in v2.35.1

func (InstanceClusterAttachmentMap) ToInstanceClusterAttachmentMapOutput added in v2.35.1

func (i InstanceClusterAttachmentMap) ToInstanceClusterAttachmentMapOutput() InstanceClusterAttachmentMapOutput

func (InstanceClusterAttachmentMap) ToInstanceClusterAttachmentMapOutputWithContext added in v2.35.1

func (i InstanceClusterAttachmentMap) ToInstanceClusterAttachmentMapOutputWithContext(ctx context.Context) InstanceClusterAttachmentMapOutput

type InstanceClusterAttachmentMapInput added in v2.35.1

type InstanceClusterAttachmentMapInput interface {
	pulumi.Input

	ToInstanceClusterAttachmentMapOutput() InstanceClusterAttachmentMapOutput
	ToInstanceClusterAttachmentMapOutputWithContext(context.Context) InstanceClusterAttachmentMapOutput
}

InstanceClusterAttachmentMapInput is an input type that accepts InstanceClusterAttachmentMap and InstanceClusterAttachmentMapOutput values. You can construct a concrete instance of `InstanceClusterAttachmentMapInput` via:

InstanceClusterAttachmentMap{ "key": InstanceClusterAttachmentArgs{...} }

type InstanceClusterAttachmentMapOutput added in v2.35.1

type InstanceClusterAttachmentMapOutput struct{ *pulumi.OutputState }

func (InstanceClusterAttachmentMapOutput) ElementType added in v2.35.1

func (InstanceClusterAttachmentMapOutput) MapIndex added in v2.35.1

func (InstanceClusterAttachmentMapOutput) ToInstanceClusterAttachmentMapOutput added in v2.35.1

func (o InstanceClusterAttachmentMapOutput) ToInstanceClusterAttachmentMapOutput() InstanceClusterAttachmentMapOutput

func (InstanceClusterAttachmentMapOutput) ToInstanceClusterAttachmentMapOutputWithContext added in v2.35.1

func (o InstanceClusterAttachmentMapOutput) ToInstanceClusterAttachmentMapOutputWithContext(ctx context.Context) InstanceClusterAttachmentMapOutput

type InstanceClusterAttachmentOutput added in v2.25.1

type InstanceClusterAttachmentOutput struct {
	*pulumi.OutputState
}

func (InstanceClusterAttachmentOutput) ElementType added in v2.25.1

func (InstanceClusterAttachmentOutput) ToInstanceClusterAttachmentOutput added in v2.25.1

func (o InstanceClusterAttachmentOutput) ToInstanceClusterAttachmentOutput() InstanceClusterAttachmentOutput

func (InstanceClusterAttachmentOutput) ToInstanceClusterAttachmentOutputWithContext added in v2.25.1

func (o InstanceClusterAttachmentOutput) ToInstanceClusterAttachmentOutputWithContext(ctx context.Context) InstanceClusterAttachmentOutput

func (InstanceClusterAttachmentOutput) ToInstanceClusterAttachmentPtrOutput added in v2.35.1

func (o InstanceClusterAttachmentOutput) ToInstanceClusterAttachmentPtrOutput() InstanceClusterAttachmentPtrOutput

func (InstanceClusterAttachmentOutput) ToInstanceClusterAttachmentPtrOutputWithContext added in v2.35.1

func (o InstanceClusterAttachmentOutput) ToInstanceClusterAttachmentPtrOutputWithContext(ctx context.Context) InstanceClusterAttachmentPtrOutput

type InstanceClusterAttachmentPtrInput added in v2.35.1

type InstanceClusterAttachmentPtrInput interface {
	pulumi.Input

	ToInstanceClusterAttachmentPtrOutput() InstanceClusterAttachmentPtrOutput
	ToInstanceClusterAttachmentPtrOutputWithContext(ctx context.Context) InstanceClusterAttachmentPtrOutput
}

type InstanceClusterAttachmentPtrOutput added in v2.35.1

type InstanceClusterAttachmentPtrOutput struct {
	*pulumi.OutputState
}

func (InstanceClusterAttachmentPtrOutput) ElementType added in v2.35.1

func (InstanceClusterAttachmentPtrOutput) ToInstanceClusterAttachmentPtrOutput added in v2.35.1

func (o InstanceClusterAttachmentPtrOutput) ToInstanceClusterAttachmentPtrOutput() InstanceClusterAttachmentPtrOutput

func (InstanceClusterAttachmentPtrOutput) ToInstanceClusterAttachmentPtrOutputWithContext added in v2.35.1

func (o InstanceClusterAttachmentPtrOutput) ToInstanceClusterAttachmentPtrOutputWithContext(ctx context.Context) InstanceClusterAttachmentPtrOutput

type InstanceClusterAttachmentState

type InstanceClusterAttachmentState struct {
	// The ID of the cluster that you want to create the application.
	ClusterId pulumi.StringPtrInput
	// The cluster members map of the resource supplied above. The key is instanceId and the value is cluster_member_id.
	ClusterMemberIds pulumi.StringMapInput
	// The ecu map of the resource supplied above. The key is instanceId and the value is ecu_id.
	EcuMap pulumi.StringMapInput
	// The ID of instance. Type: list.
	InstanceIds pulumi.StringArrayInput
	// The status map of the resource supplied above. The key is instanceId and the values are 1(running) 0(converting) -1(failed) and -2(offline).
	StatusMap pulumi.IntMapInput
}

func (InstanceClusterAttachmentState) ElementType

type K8sApplication added in v2.27.0

type K8sApplication struct {
	pulumi.CustomResourceState

	// The description of the application
	ApplicationDescriotion pulumi.StringPtrOutput `pulumi:"applicationDescriotion"`
	// The name of the application you want to create. Must start with character,supports numbers, letters and dashes (-), supports up to 36 characters
	ApplicationName pulumi.StringOutput `pulumi:"applicationName"`
	// The ID of the alicloud container service kubernetes cluster that you want to import to. You can call the ListCluster operation to query.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The set command, if set, will replace the startup command in the mirror when the mirror is started.
	Command pulumi.StringPtrOutput `pulumi:"command"`
	// Used in combination with the command, the parameter of the command is a JsonArray string in the format: `[{"argument":"-c"},{"argument":"test"}]`. Among them, -c and test are two parameters that need to be set.
	CommandArgs pulumi.StringArrayOutput `pulumi:"commandArgs"`
	// EDAS-Container version that the deployed package depends on. Image does not support this parameter.
	EdasContainerVersion pulumi.StringPtrOutput `pulumi:"edasContainerVersion"`
	// Deployment environment variables, the format must conform to the JSON object array, such as: `{"name":"x","value":"y"},{"name":"x2","value":"y2"}`, If you want to cancel the configuration, you need to set an empty JSON array "" to indicate no configuration.
	Envs pulumi.StringMapOutput `pulumi:"envs"`
	// Mirror address. When the packageType is set to 'Image', this parameter item is required.
	ImageUrl pulumi.StringPtrOutput `pulumi:"imageUrl"`
	// Public network SLB ID. If not configured, EDAS will automatically purchase a new SLB for the user.
	InternetSlbId pulumi.StringPtrOutput `pulumi:"internetSlbId"`
	// The public network SLB front-end port, range 1~65535.
	InternetSlbPort pulumi.IntPtrOutput `pulumi:"internetSlbPort"`
	// The public network SLB protocol supports TCP, HTTP and HTTPS protocols.
	InternetSlbProtocol pulumi.StringPtrOutput `pulumi:"internetSlbProtocol"`
	// The private SLB back-end port, is also the service port of the application, ranging from 1 to 65535.
	InternetTargetPort pulumi.IntPtrOutput `pulumi:"internetTargetPort"`
	// The JDK version that the deployed package depends on. The optional parameter values are Open JDK 7 and Open JDK 8. Image does not support this parameter.
	Jdk pulumi.StringPtrOutput `pulumi:"jdk"`
	// The CPU quota of the application instance during application operation. Unit: Number of millcores, set to 0 means unlimited, similar to request_cpu.
	LimitMCpu pulumi.IntPtrOutput `pulumi:"limitMCpu"`
	// The memory limit of the application instance during application operation, unit: M.
	LimitMem pulumi.IntPtrOutput `pulumi:"limitMem"`
	// Container survival status monitoring, format such as: `{"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080} }`.
	Liveness pulumi.StringPtrOutput `pulumi:"liveness"`
	// The configuration of the host file mounted to the container. For example: `[{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt", "mountPath":"/app/storage"}]`. Among them, nodePath is the host path; mountPath is the path in the container; type is the mount type.
	LocalVolume pulumi.StringPtrOutput `pulumi:"localVolume"`
	// The ID corresponding to the EDAS namespace, the non-default namespace must be filled in.
	LogicalRegionId pulumi.StringPtrOutput `pulumi:"logicalRegionId"`
	// Mount configuration description, as a serialized JSON. For example: `[{"nasPath": "/k8s","mountPath": "/mnt"},{"nasPath": "/files","mountPath": "/app/files"}]`. Among them, nasPath refers to the file storage path; mountPath refers to the path mounted in the container.
	MountDescs pulumi.StringPtrOutput `pulumi:"mountDescs"`
	// The namespace of the K8s cluster, it will determine which K8s namespace your application is deployed in. The default is 'default'.
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// The ID of the mounted NAS must be in the same region as the cluster. It must have an available mount point creation quota, or its mount point must be on a switch in the VPC. If it is not filled in and the mountDescs field exists, a NAS will be automatically purchased and mounted on the switch in the VPC by default.
	NasId pulumi.StringPtrOutput `pulumi:"nasId"`
	// Application package type. Optional parameter values include: FatJar, WAR and Image.
	PackageType pulumi.StringPtrOutput `pulumi:"packageType"`
	// The url of the package to deploy.Applications deployed through FatJar or WAR packages need to configure it.
	PackageUrl pulumi.StringPtrOutput `pulumi:"packageUrl"`
	// The version number of the deployment package. WAR and FatJar types are required. Please customize its meaning.
	PackageVersion pulumi.StringPtrOutput `pulumi:"packageVersion"`
	// Execute script after startup
	PostStart pulumi.StringPtrOutput `pulumi:"postStart"`
	// Execute script before stopping
	PreStop pulumi.StringPtrOutput `pulumi:"preStop"`
	// Container service status check. If the check fails, the traffic passing through K8s Service will not be transferred to the container. The format is: `{"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1, "httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"} ]}}`.
	Readiness pulumi.StringPtrOutput `pulumi:"readiness"`
	// Number of application instances.
	Replicas pulumi.IntPtrOutput `pulumi:"replicas"`
	// When the application is created, the CPU quota of the application instance, unit: number of millcores, similar to request_cpu
	RequestsMCpu pulumi.IntPtrOutput `pulumi:"requestsMCpu"`
	// When the application is created, the memory limit of the application instance, unit: M. When set to 0, it means unlimited.
	RequestsMem pulumi.IntPtrOutput `pulumi:"requestsMem"`
	// The Tomcat version that the deployment package depends on. Applicable to Spring Cloud and Dubbo applications deployed through WAR packages. Image does not support this parameter.
	WebContainer pulumi.StringPtrOutput `pulumi:"webContainer"`
}

Create an EDAS k8s application.For information about EDAS K8s Application and how to use it, see [What is EDAS K8s Application](https://www.alibabacloud.com/help/doc-detail/85029.htm).

> **NOTE:** Available in 1.105.0+

## Import

EDAS k8s application can be imported as below, e.g.

```sh

$ pulumi import alicloud:edas/k8sApplication:K8sApplication new_k8s_application application_id

```

func GetK8sApplication added in v2.27.0

func GetK8sApplication(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *K8sApplicationState, opts ...pulumi.ResourceOption) (*K8sApplication, error)

GetK8sApplication gets an existing K8sApplication resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewK8sApplication added in v2.27.0

func NewK8sApplication(ctx *pulumi.Context,
	name string, args *K8sApplicationArgs, opts ...pulumi.ResourceOption) (*K8sApplication, error)

NewK8sApplication registers a new resource with the given unique name, arguments, and options.

func (*K8sApplication) ElementType added in v2.27.0

func (*K8sApplication) ElementType() reflect.Type

func (*K8sApplication) ToK8sApplicationOutput added in v2.27.0

func (i *K8sApplication) ToK8sApplicationOutput() K8sApplicationOutput

func (*K8sApplication) ToK8sApplicationOutputWithContext added in v2.27.0

func (i *K8sApplication) ToK8sApplicationOutputWithContext(ctx context.Context) K8sApplicationOutput

func (*K8sApplication) ToK8sApplicationPtrOutput added in v2.35.1

func (i *K8sApplication) ToK8sApplicationPtrOutput() K8sApplicationPtrOutput

func (*K8sApplication) ToK8sApplicationPtrOutputWithContext added in v2.35.1

func (i *K8sApplication) ToK8sApplicationPtrOutputWithContext(ctx context.Context) K8sApplicationPtrOutput

type K8sApplicationArgs added in v2.27.0

type K8sApplicationArgs struct {
	// The description of the application
	ApplicationDescriotion pulumi.StringPtrInput
	// The name of the application you want to create. Must start with character,supports numbers, letters and dashes (-), supports up to 36 characters
	ApplicationName pulumi.StringInput
	// The ID of the alicloud container service kubernetes cluster that you want to import to. You can call the ListCluster operation to query.
	ClusterId pulumi.StringInput
	// The set command, if set, will replace the startup command in the mirror when the mirror is started.
	Command pulumi.StringPtrInput
	// Used in combination with the command, the parameter of the command is a JsonArray string in the format: `[{"argument":"-c"},{"argument":"test"}]`. Among them, -c and test are two parameters that need to be set.
	CommandArgs pulumi.StringArrayInput
	// EDAS-Container version that the deployed package depends on. Image does not support this parameter.
	EdasContainerVersion pulumi.StringPtrInput
	// Deployment environment variables, the format must conform to the JSON object array, such as: `{"name":"x","value":"y"},{"name":"x2","value":"y2"}`, If you want to cancel the configuration, you need to set an empty JSON array "" to indicate no configuration.
	Envs pulumi.StringMapInput
	// Mirror address. When the packageType is set to 'Image', this parameter item is required.
	ImageUrl pulumi.StringPtrInput
	// Public network SLB ID. If not configured, EDAS will automatically purchase a new SLB for the user.
	InternetSlbId pulumi.StringPtrInput
	// The public network SLB front-end port, range 1~65535.
	InternetSlbPort pulumi.IntPtrInput
	// The public network SLB protocol supports TCP, HTTP and HTTPS protocols.
	InternetSlbProtocol pulumi.StringPtrInput
	// The private SLB back-end port, is also the service port of the application, ranging from 1 to 65535.
	InternetTargetPort pulumi.IntPtrInput
	// The JDK version that the deployed package depends on. The optional parameter values are Open JDK 7 and Open JDK 8. Image does not support this parameter.
	Jdk pulumi.StringPtrInput
	// The CPU quota of the application instance during application operation. Unit: Number of millcores, set to 0 means unlimited, similar to request_cpu.
	LimitMCpu pulumi.IntPtrInput
	// The memory limit of the application instance during application operation, unit: M.
	LimitMem pulumi.IntPtrInput
	// Container survival status monitoring, format such as: `{"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080} }`.
	Liveness pulumi.StringPtrInput
	// The configuration of the host file mounted to the container. For example: `[{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt", "mountPath":"/app/storage"}]`. Among them, nodePath is the host path; mountPath is the path in the container; type is the mount type.
	LocalVolume pulumi.StringPtrInput
	// The ID corresponding to the EDAS namespace, the non-default namespace must be filled in.
	LogicalRegionId pulumi.StringPtrInput
	// Mount configuration description, as a serialized JSON. For example: `[{"nasPath": "/k8s","mountPath": "/mnt"},{"nasPath": "/files","mountPath": "/app/files"}]`. Among them, nasPath refers to the file storage path; mountPath refers to the path mounted in the container.
	MountDescs pulumi.StringPtrInput
	// The namespace of the K8s cluster, it will determine which K8s namespace your application is deployed in. The default is 'default'.
	Namespace pulumi.StringPtrInput
	// The ID of the mounted NAS must be in the same region as the cluster. It must have an available mount point creation quota, or its mount point must be on a switch in the VPC. If it is not filled in and the mountDescs field exists, a NAS will be automatically purchased and mounted on the switch in the VPC by default.
	NasId pulumi.StringPtrInput
	// Application package type. Optional parameter values include: FatJar, WAR and Image.
	PackageType pulumi.StringPtrInput
	// The url of the package to deploy.Applications deployed through FatJar or WAR packages need to configure it.
	PackageUrl pulumi.StringPtrInput
	// The version number of the deployment package. WAR and FatJar types are required. Please customize its meaning.
	PackageVersion pulumi.StringPtrInput
	// Execute script after startup
	PostStart pulumi.StringPtrInput
	// Execute script before stopping
	PreStop pulumi.StringPtrInput
	// Container service status check. If the check fails, the traffic passing through K8s Service will not be transferred to the container. The format is: `{"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1, "httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"} ]}}`.
	Readiness pulumi.StringPtrInput
	// Number of application instances.
	Replicas pulumi.IntPtrInput
	// When the application is created, the CPU quota of the application instance, unit: number of millcores, similar to request_cpu
	RequestsMCpu pulumi.IntPtrInput
	// When the application is created, the memory limit of the application instance, unit: M. When set to 0, it means unlimited.
	RequestsMem pulumi.IntPtrInput
	// The Tomcat version that the deployment package depends on. Applicable to Spring Cloud and Dubbo applications deployed through WAR packages. Image does not support this parameter.
	WebContainer pulumi.StringPtrInput
}

The set of arguments for constructing a K8sApplication resource.

func (K8sApplicationArgs) ElementType added in v2.27.0

func (K8sApplicationArgs) ElementType() reflect.Type

type K8sApplicationArray added in v2.35.1

type K8sApplicationArray []K8sApplicationInput

func (K8sApplicationArray) ElementType added in v2.35.1

func (K8sApplicationArray) ElementType() reflect.Type

func (K8sApplicationArray) ToK8sApplicationArrayOutput added in v2.35.1

func (i K8sApplicationArray) ToK8sApplicationArrayOutput() K8sApplicationArrayOutput

func (K8sApplicationArray) ToK8sApplicationArrayOutputWithContext added in v2.35.1

func (i K8sApplicationArray) ToK8sApplicationArrayOutputWithContext(ctx context.Context) K8sApplicationArrayOutput

type K8sApplicationArrayInput added in v2.35.1

type K8sApplicationArrayInput interface {
	pulumi.Input

	ToK8sApplicationArrayOutput() K8sApplicationArrayOutput
	ToK8sApplicationArrayOutputWithContext(context.Context) K8sApplicationArrayOutput
}

K8sApplicationArrayInput is an input type that accepts K8sApplicationArray and K8sApplicationArrayOutput values. You can construct a concrete instance of `K8sApplicationArrayInput` via:

K8sApplicationArray{ K8sApplicationArgs{...} }

type K8sApplicationArrayOutput added in v2.35.1

type K8sApplicationArrayOutput struct{ *pulumi.OutputState }

func (K8sApplicationArrayOutput) ElementType added in v2.35.1

func (K8sApplicationArrayOutput) ElementType() reflect.Type

func (K8sApplicationArrayOutput) Index added in v2.35.1

func (K8sApplicationArrayOutput) ToK8sApplicationArrayOutput added in v2.35.1

func (o K8sApplicationArrayOutput) ToK8sApplicationArrayOutput() K8sApplicationArrayOutput

func (K8sApplicationArrayOutput) ToK8sApplicationArrayOutputWithContext added in v2.35.1

func (o K8sApplicationArrayOutput) ToK8sApplicationArrayOutputWithContext(ctx context.Context) K8sApplicationArrayOutput

type K8sApplicationInput added in v2.27.0

type K8sApplicationInput interface {
	pulumi.Input

	ToK8sApplicationOutput() K8sApplicationOutput
	ToK8sApplicationOutputWithContext(ctx context.Context) K8sApplicationOutput
}

type K8sApplicationMap added in v2.35.1

type K8sApplicationMap map[string]K8sApplicationInput

func (K8sApplicationMap) ElementType added in v2.35.1

func (K8sApplicationMap) ElementType() reflect.Type

func (K8sApplicationMap) ToK8sApplicationMapOutput added in v2.35.1

func (i K8sApplicationMap) ToK8sApplicationMapOutput() K8sApplicationMapOutput

func (K8sApplicationMap) ToK8sApplicationMapOutputWithContext added in v2.35.1

func (i K8sApplicationMap) ToK8sApplicationMapOutputWithContext(ctx context.Context) K8sApplicationMapOutput

type K8sApplicationMapInput added in v2.35.1

type K8sApplicationMapInput interface {
	pulumi.Input

	ToK8sApplicationMapOutput() K8sApplicationMapOutput
	ToK8sApplicationMapOutputWithContext(context.Context) K8sApplicationMapOutput
}

K8sApplicationMapInput is an input type that accepts K8sApplicationMap and K8sApplicationMapOutput values. You can construct a concrete instance of `K8sApplicationMapInput` via:

K8sApplicationMap{ "key": K8sApplicationArgs{...} }

type K8sApplicationMapOutput added in v2.35.1

type K8sApplicationMapOutput struct{ *pulumi.OutputState }

func (K8sApplicationMapOutput) ElementType added in v2.35.1

func (K8sApplicationMapOutput) ElementType() reflect.Type

func (K8sApplicationMapOutput) MapIndex added in v2.35.1

func (K8sApplicationMapOutput) ToK8sApplicationMapOutput added in v2.35.1

func (o K8sApplicationMapOutput) ToK8sApplicationMapOutput() K8sApplicationMapOutput

func (K8sApplicationMapOutput) ToK8sApplicationMapOutputWithContext added in v2.35.1

func (o K8sApplicationMapOutput) ToK8sApplicationMapOutputWithContext(ctx context.Context) K8sApplicationMapOutput

type K8sApplicationOutput added in v2.27.0

type K8sApplicationOutput struct {
	*pulumi.OutputState
}

func (K8sApplicationOutput) ElementType added in v2.27.0

func (K8sApplicationOutput) ElementType() reflect.Type

func (K8sApplicationOutput) ToK8sApplicationOutput added in v2.27.0

func (o K8sApplicationOutput) ToK8sApplicationOutput() K8sApplicationOutput

func (K8sApplicationOutput) ToK8sApplicationOutputWithContext added in v2.27.0

func (o K8sApplicationOutput) ToK8sApplicationOutputWithContext(ctx context.Context) K8sApplicationOutput

func (K8sApplicationOutput) ToK8sApplicationPtrOutput added in v2.35.1

func (o K8sApplicationOutput) ToK8sApplicationPtrOutput() K8sApplicationPtrOutput

func (K8sApplicationOutput) ToK8sApplicationPtrOutputWithContext added in v2.35.1

func (o K8sApplicationOutput) ToK8sApplicationPtrOutputWithContext(ctx context.Context) K8sApplicationPtrOutput

type K8sApplicationPtrInput added in v2.35.1

type K8sApplicationPtrInput interface {
	pulumi.Input

	ToK8sApplicationPtrOutput() K8sApplicationPtrOutput
	ToK8sApplicationPtrOutputWithContext(ctx context.Context) K8sApplicationPtrOutput
}

type K8sApplicationPtrOutput added in v2.35.1

type K8sApplicationPtrOutput struct {
	*pulumi.OutputState
}

func (K8sApplicationPtrOutput) ElementType added in v2.35.1

func (K8sApplicationPtrOutput) ElementType() reflect.Type

func (K8sApplicationPtrOutput) ToK8sApplicationPtrOutput added in v2.35.1

func (o K8sApplicationPtrOutput) ToK8sApplicationPtrOutput() K8sApplicationPtrOutput

func (K8sApplicationPtrOutput) ToK8sApplicationPtrOutputWithContext added in v2.35.1

func (o K8sApplicationPtrOutput) ToK8sApplicationPtrOutputWithContext(ctx context.Context) K8sApplicationPtrOutput

type K8sApplicationState added in v2.27.0

type K8sApplicationState struct {
	// The description of the application
	ApplicationDescriotion pulumi.StringPtrInput
	// The name of the application you want to create. Must start with character,supports numbers, letters and dashes (-), supports up to 36 characters
	ApplicationName pulumi.StringPtrInput
	// The ID of the alicloud container service kubernetes cluster that you want to import to. You can call the ListCluster operation to query.
	ClusterId pulumi.StringPtrInput
	// The set command, if set, will replace the startup command in the mirror when the mirror is started.
	Command pulumi.StringPtrInput
	// Used in combination with the command, the parameter of the command is a JsonArray string in the format: `[{"argument":"-c"},{"argument":"test"}]`. Among them, -c and test are two parameters that need to be set.
	CommandArgs pulumi.StringArrayInput
	// EDAS-Container version that the deployed package depends on. Image does not support this parameter.
	EdasContainerVersion pulumi.StringPtrInput
	// Deployment environment variables, the format must conform to the JSON object array, such as: `{"name":"x","value":"y"},{"name":"x2","value":"y2"}`, If you want to cancel the configuration, you need to set an empty JSON array "" to indicate no configuration.
	Envs pulumi.StringMapInput
	// Mirror address. When the packageType is set to 'Image', this parameter item is required.
	ImageUrl pulumi.StringPtrInput
	// Public network SLB ID. If not configured, EDAS will automatically purchase a new SLB for the user.
	InternetSlbId pulumi.StringPtrInput
	// The public network SLB front-end port, range 1~65535.
	InternetSlbPort pulumi.IntPtrInput
	// The public network SLB protocol supports TCP, HTTP and HTTPS protocols.
	InternetSlbProtocol pulumi.StringPtrInput
	// The private SLB back-end port, is also the service port of the application, ranging from 1 to 65535.
	InternetTargetPort pulumi.IntPtrInput
	// The JDK version that the deployed package depends on. The optional parameter values are Open JDK 7 and Open JDK 8. Image does not support this parameter.
	Jdk pulumi.StringPtrInput
	// The CPU quota of the application instance during application operation. Unit: Number of millcores, set to 0 means unlimited, similar to request_cpu.
	LimitMCpu pulumi.IntPtrInput
	// The memory limit of the application instance during application operation, unit: M.
	LimitMem pulumi.IntPtrInput
	// Container survival status monitoring, format such as: `{"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080} }`.
	Liveness pulumi.StringPtrInput
	// The configuration of the host file mounted to the container. For example: `[{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt", "mountPath":"/app/storage"}]`. Among them, nodePath is the host path; mountPath is the path in the container; type is the mount type.
	LocalVolume pulumi.StringPtrInput
	// The ID corresponding to the EDAS namespace, the non-default namespace must be filled in.
	LogicalRegionId pulumi.StringPtrInput
	// Mount configuration description, as a serialized JSON. For example: `[{"nasPath": "/k8s","mountPath": "/mnt"},{"nasPath": "/files","mountPath": "/app/files"}]`. Among them, nasPath refers to the file storage path; mountPath refers to the path mounted in the container.
	MountDescs pulumi.StringPtrInput
	// The namespace of the K8s cluster, it will determine which K8s namespace your application is deployed in. The default is 'default'.
	Namespace pulumi.StringPtrInput
	// The ID of the mounted NAS must be in the same region as the cluster. It must have an available mount point creation quota, or its mount point must be on a switch in the VPC. If it is not filled in and the mountDescs field exists, a NAS will be automatically purchased and mounted on the switch in the VPC by default.
	NasId pulumi.StringPtrInput
	// Application package type. Optional parameter values include: FatJar, WAR and Image.
	PackageType pulumi.StringPtrInput
	// The url of the package to deploy.Applications deployed through FatJar or WAR packages need to configure it.
	PackageUrl pulumi.StringPtrInput
	// The version number of the deployment package. WAR and FatJar types are required. Please customize its meaning.
	PackageVersion pulumi.StringPtrInput
	// Execute script after startup
	PostStart pulumi.StringPtrInput
	// Execute script before stopping
	PreStop pulumi.StringPtrInput
	// Container service status check. If the check fails, the traffic passing through K8s Service will not be transferred to the container. The format is: `{"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1, "httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"} ]}}`.
	Readiness pulumi.StringPtrInput
	// Number of application instances.
	Replicas pulumi.IntPtrInput
	// When the application is created, the CPU quota of the application instance, unit: number of millcores, similar to request_cpu
	RequestsMCpu pulumi.IntPtrInput
	// When the application is created, the memory limit of the application instance, unit: M. When set to 0, it means unlimited.
	RequestsMem pulumi.IntPtrInput
	// The Tomcat version that the deployment package depends on. Applicable to Spring Cloud and Dubbo applications deployed through WAR packages. Image does not support this parameter.
	WebContainer pulumi.StringPtrInput
}

func (K8sApplicationState) ElementType added in v2.27.0

func (K8sApplicationState) ElementType() reflect.Type

type K8sCluster added in v2.14.0

type K8sCluster struct {
	pulumi.CustomResourceState

	// The import status of cluster:
	// `1`: success.
	// `2`: failed.
	// `3`: importing.
	// `4`: deleted.
	ClusterImportStatus pulumi.IntOutput `pulumi:"clusterImportStatus"`
	// The name of the cluster that you want to create.
	ClusterName pulumi.StringOutput `pulumi:"clusterName"`
	// The type of the cluster that you want to create. Valid values only: 5: K8s cluster.
	ClusterType pulumi.IntOutput `pulumi:"clusterType"`
	// The ID of the alicloud container service kubernetes cluster that you want to import.
	CsClusterId pulumi.StringOutput `pulumi:"csClusterId"`
	// The ID of the namespace where you want to import. You can call the [ListUserDefineRegion](https://www.alibabacloud.com/help/en/doc-detail/149377.htm?spm=a2c63.p38356.879954.34.331054faK2yNvC#doc-api-Edas-ListUserDefineRegion) operation to query the namespace ID.
	NamespaceId pulumi.StringPtrOutput `pulumi:"namespaceId"`
	// The network type of the cluster that you want to create. Valid values: 1: classic network. 2: VPC.
	NetworkMode pulumi.IntOutput `pulumi:"networkMode"`
	// The ID of the Virtual Private Cloud (VPC) for the cluster.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

Provides an EDAS K8s cluster resource. For information about EDAS K8s Cluster and how to use it, see[What is EDAS K8s Cluster](https://www.alibabacloud.com/help/en/doc-detail/85108.htm).

> **NOTE:** Available in 1.93.0+

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/edas"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := edas.NewK8sCluster(ctx, "_default", &edas.K8sClusterArgs{
			CsClusterId: pulumi.String("xxxx-xxx-xxx"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

EDAS cluster can be imported using the id, e.g.

```sh

$ pulumi import alicloud:edas/k8sCluster:K8sCluster cluster cluster_id

```

func GetK8sCluster added in v2.14.0

func GetK8sCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *K8sClusterState, opts ...pulumi.ResourceOption) (*K8sCluster, error)

GetK8sCluster gets an existing K8sCluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewK8sCluster added in v2.14.0

func NewK8sCluster(ctx *pulumi.Context,
	name string, args *K8sClusterArgs, opts ...pulumi.ResourceOption) (*K8sCluster, error)

NewK8sCluster registers a new resource with the given unique name, arguments, and options.

func (*K8sCluster) ElementType added in v2.25.1

func (*K8sCluster) ElementType() reflect.Type

func (*K8sCluster) ToK8sClusterOutput added in v2.25.1

func (i *K8sCluster) ToK8sClusterOutput() K8sClusterOutput

func (*K8sCluster) ToK8sClusterOutputWithContext added in v2.25.1

func (i *K8sCluster) ToK8sClusterOutputWithContext(ctx context.Context) K8sClusterOutput

func (*K8sCluster) ToK8sClusterPtrOutput added in v2.35.1

func (i *K8sCluster) ToK8sClusterPtrOutput() K8sClusterPtrOutput

func (*K8sCluster) ToK8sClusterPtrOutputWithContext added in v2.35.1

func (i *K8sCluster) ToK8sClusterPtrOutputWithContext(ctx context.Context) K8sClusterPtrOutput

type K8sClusterArgs added in v2.14.0

type K8sClusterArgs struct {
	// The ID of the alicloud container service kubernetes cluster that you want to import.
	CsClusterId pulumi.StringInput
	// The ID of the namespace where you want to import. You can call the [ListUserDefineRegion](https://www.alibabacloud.com/help/en/doc-detail/149377.htm?spm=a2c63.p38356.879954.34.331054faK2yNvC#doc-api-Edas-ListUserDefineRegion) operation to query the namespace ID.
	NamespaceId pulumi.StringPtrInput
}

The set of arguments for constructing a K8sCluster resource.

func (K8sClusterArgs) ElementType added in v2.14.0

func (K8sClusterArgs) ElementType() reflect.Type

type K8sClusterArray added in v2.35.1

type K8sClusterArray []K8sClusterInput

func (K8sClusterArray) ElementType added in v2.35.1

func (K8sClusterArray) ElementType() reflect.Type

func (K8sClusterArray) ToK8sClusterArrayOutput added in v2.35.1

func (i K8sClusterArray) ToK8sClusterArrayOutput() K8sClusterArrayOutput

func (K8sClusterArray) ToK8sClusterArrayOutputWithContext added in v2.35.1

func (i K8sClusterArray) ToK8sClusterArrayOutputWithContext(ctx context.Context) K8sClusterArrayOutput

type K8sClusterArrayInput added in v2.35.1

type K8sClusterArrayInput interface {
	pulumi.Input

	ToK8sClusterArrayOutput() K8sClusterArrayOutput
	ToK8sClusterArrayOutputWithContext(context.Context) K8sClusterArrayOutput
}

K8sClusterArrayInput is an input type that accepts K8sClusterArray and K8sClusterArrayOutput values. You can construct a concrete instance of `K8sClusterArrayInput` via:

K8sClusterArray{ K8sClusterArgs{...} }

type K8sClusterArrayOutput added in v2.35.1

type K8sClusterArrayOutput struct{ *pulumi.OutputState }

func (K8sClusterArrayOutput) ElementType added in v2.35.1

func (K8sClusterArrayOutput) ElementType() reflect.Type

func (K8sClusterArrayOutput) Index added in v2.35.1

func (K8sClusterArrayOutput) ToK8sClusterArrayOutput added in v2.35.1

func (o K8sClusterArrayOutput) ToK8sClusterArrayOutput() K8sClusterArrayOutput

func (K8sClusterArrayOutput) ToK8sClusterArrayOutputWithContext added in v2.35.1

func (o K8sClusterArrayOutput) ToK8sClusterArrayOutputWithContext(ctx context.Context) K8sClusterArrayOutput

type K8sClusterInput added in v2.25.1

type K8sClusterInput interface {
	pulumi.Input

	ToK8sClusterOutput() K8sClusterOutput
	ToK8sClusterOutputWithContext(ctx context.Context) K8sClusterOutput
}

type K8sClusterMap added in v2.35.1

type K8sClusterMap map[string]K8sClusterInput

func (K8sClusterMap) ElementType added in v2.35.1

func (K8sClusterMap) ElementType() reflect.Type

func (K8sClusterMap) ToK8sClusterMapOutput added in v2.35.1

func (i K8sClusterMap) ToK8sClusterMapOutput() K8sClusterMapOutput

func (K8sClusterMap) ToK8sClusterMapOutputWithContext added in v2.35.1

func (i K8sClusterMap) ToK8sClusterMapOutputWithContext(ctx context.Context) K8sClusterMapOutput

type K8sClusterMapInput added in v2.35.1

type K8sClusterMapInput interface {
	pulumi.Input

	ToK8sClusterMapOutput() K8sClusterMapOutput
	ToK8sClusterMapOutputWithContext(context.Context) K8sClusterMapOutput
}

K8sClusterMapInput is an input type that accepts K8sClusterMap and K8sClusterMapOutput values. You can construct a concrete instance of `K8sClusterMapInput` via:

K8sClusterMap{ "key": K8sClusterArgs{...} }

type K8sClusterMapOutput added in v2.35.1

type K8sClusterMapOutput struct{ *pulumi.OutputState }

func (K8sClusterMapOutput) ElementType added in v2.35.1

func (K8sClusterMapOutput) ElementType() reflect.Type

func (K8sClusterMapOutput) MapIndex added in v2.35.1

func (K8sClusterMapOutput) ToK8sClusterMapOutput added in v2.35.1

func (o K8sClusterMapOutput) ToK8sClusterMapOutput() K8sClusterMapOutput

func (K8sClusterMapOutput) ToK8sClusterMapOutputWithContext added in v2.35.1

func (o K8sClusterMapOutput) ToK8sClusterMapOutputWithContext(ctx context.Context) K8sClusterMapOutput

type K8sClusterOutput added in v2.25.1

type K8sClusterOutput struct {
	*pulumi.OutputState
}

func (K8sClusterOutput) ElementType added in v2.25.1

func (K8sClusterOutput) ElementType() reflect.Type

func (K8sClusterOutput) ToK8sClusterOutput added in v2.25.1

func (o K8sClusterOutput) ToK8sClusterOutput() K8sClusterOutput

func (K8sClusterOutput) ToK8sClusterOutputWithContext added in v2.25.1

func (o K8sClusterOutput) ToK8sClusterOutputWithContext(ctx context.Context) K8sClusterOutput

func (K8sClusterOutput) ToK8sClusterPtrOutput added in v2.35.1

func (o K8sClusterOutput) ToK8sClusterPtrOutput() K8sClusterPtrOutput

func (K8sClusterOutput) ToK8sClusterPtrOutputWithContext added in v2.35.1

func (o K8sClusterOutput) ToK8sClusterPtrOutputWithContext(ctx context.Context) K8sClusterPtrOutput

type K8sClusterPtrInput added in v2.35.1

type K8sClusterPtrInput interface {
	pulumi.Input

	ToK8sClusterPtrOutput() K8sClusterPtrOutput
	ToK8sClusterPtrOutputWithContext(ctx context.Context) K8sClusterPtrOutput
}

type K8sClusterPtrOutput added in v2.35.1

type K8sClusterPtrOutput struct {
	*pulumi.OutputState
}

func (K8sClusterPtrOutput) ElementType added in v2.35.1

func (K8sClusterPtrOutput) ElementType() reflect.Type

func (K8sClusterPtrOutput) ToK8sClusterPtrOutput added in v2.35.1

func (o K8sClusterPtrOutput) ToK8sClusterPtrOutput() K8sClusterPtrOutput

func (K8sClusterPtrOutput) ToK8sClusterPtrOutputWithContext added in v2.35.1

func (o K8sClusterPtrOutput) ToK8sClusterPtrOutputWithContext(ctx context.Context) K8sClusterPtrOutput

type K8sClusterState added in v2.14.0

type K8sClusterState struct {
	// The import status of cluster:
	// `1`: success.
	// `2`: failed.
	// `3`: importing.
	// `4`: deleted.
	ClusterImportStatus pulumi.IntPtrInput
	// The name of the cluster that you want to create.
	ClusterName pulumi.StringPtrInput
	// The type of the cluster that you want to create. Valid values only: 5: K8s cluster.
	ClusterType pulumi.IntPtrInput
	// The ID of the alicloud container service kubernetes cluster that you want to import.
	CsClusterId pulumi.StringPtrInput
	// The ID of the namespace where you want to import. You can call the [ListUserDefineRegion](https://www.alibabacloud.com/help/en/doc-detail/149377.htm?spm=a2c63.p38356.879954.34.331054faK2yNvC#doc-api-Edas-ListUserDefineRegion) operation to query the namespace ID.
	NamespaceId pulumi.StringPtrInput
	// The network type of the cluster that you want to create. Valid values: 1: classic network. 2: VPC.
	NetworkMode pulumi.IntPtrInput
	// The ID of the Virtual Private Cloud (VPC) for the cluster.
	VpcId pulumi.StringPtrInput
}

func (K8sClusterState) ElementType added in v2.14.0

func (K8sClusterState) ElementType() reflect.Type

type SlbAttachment

type SlbAttachment struct {
	pulumi.CustomResourceState

	// The ID of the applicaton to which you want to bind an SLB instance.
	AppId pulumi.StringOutput `pulumi:"appId"`
	// The listening port for the bound SLB instance.
	ListenerPort pulumi.IntPtrOutput `pulumi:"listenerPort"`
	// The ID of the SLB instance that is going to be bound.
	SlbId pulumi.StringOutput `pulumi:"slbId"`
	// The IP address that is allocated to the bound SLB instance.
	SlbIp pulumi.StringOutput `pulumi:"slbIp"`
	// Running Status of SLB instance. Inactive:The instance is stopped, and listener will not monitor and foward traffic. Active:The instance is running. After the instance is created, the default state is active. Locked:The instance is locked, the instance has been owed or locked by Alibaba Cloud. Expired: The instance has expired.
	SlbStatus pulumi.StringOutput `pulumi:"slbStatus"`
	// The type of the bound SLB instance.
	Type pulumi.StringOutput `pulumi:"type"`
	// The ID of the virtual server (VServer) group associated with the intranet SLB instance.
	VserverGroupId pulumi.StringPtrOutput `pulumi:"vserverGroupId"`
	// VPC related vswitch ID.
	VswitchId pulumi.StringOutput `pulumi:"vswitchId"`
}

Binds SLB to an EDAS application.

> **NOTE:** Available in 1.82.0+

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/edas"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := edas.NewSlbAttachment(ctx, "_default", &edas.SlbAttachmentArgs{
			AppId:          pulumi.Any(_var.App_id),
			SlbId:          pulumi.Any(_var.Slb_id),
			SlbIp:          pulumi.Any(_var.Slb_ip),
			Type:           pulumi.Any(_var.Type),
			ListenerPort:   pulumi.Any(_var.Listener_port),
			VserverGroupId: pulumi.Any(_var.Vserver_group_id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetSlbAttachment

func GetSlbAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SlbAttachmentState, opts ...pulumi.ResourceOption) (*SlbAttachment, error)

GetSlbAttachment gets an existing SlbAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSlbAttachment

func NewSlbAttachment(ctx *pulumi.Context,
	name string, args *SlbAttachmentArgs, opts ...pulumi.ResourceOption) (*SlbAttachment, error)

NewSlbAttachment registers a new resource with the given unique name, arguments, and options.

func (*SlbAttachment) ElementType added in v2.25.1

func (*SlbAttachment) ElementType() reflect.Type

func (*SlbAttachment) ToSlbAttachmentOutput added in v2.25.1

func (i *SlbAttachment) ToSlbAttachmentOutput() SlbAttachmentOutput

func (*SlbAttachment) ToSlbAttachmentOutputWithContext added in v2.25.1

func (i *SlbAttachment) ToSlbAttachmentOutputWithContext(ctx context.Context) SlbAttachmentOutput

func (*SlbAttachment) ToSlbAttachmentPtrOutput added in v2.35.1

func (i *SlbAttachment) ToSlbAttachmentPtrOutput() SlbAttachmentPtrOutput

func (*SlbAttachment) ToSlbAttachmentPtrOutputWithContext added in v2.35.1

func (i *SlbAttachment) ToSlbAttachmentPtrOutputWithContext(ctx context.Context) SlbAttachmentPtrOutput

type SlbAttachmentArgs

type SlbAttachmentArgs struct {
	// The ID of the applicaton to which you want to bind an SLB instance.
	AppId pulumi.StringInput
	// The listening port for the bound SLB instance.
	ListenerPort pulumi.IntPtrInput
	// The ID of the SLB instance that is going to be bound.
	SlbId pulumi.StringInput
	// The IP address that is allocated to the bound SLB instance.
	SlbIp pulumi.StringInput
	// The type of the bound SLB instance.
	Type pulumi.StringInput
	// The ID of the virtual server (VServer) group associated with the intranet SLB instance.
	VserverGroupId pulumi.StringPtrInput
}

The set of arguments for constructing a SlbAttachment resource.

func (SlbAttachmentArgs) ElementType

func (SlbAttachmentArgs) ElementType() reflect.Type

type SlbAttachmentArray added in v2.35.1

type SlbAttachmentArray []SlbAttachmentInput

func (SlbAttachmentArray) ElementType added in v2.35.1

func (SlbAttachmentArray) ElementType() reflect.Type

func (SlbAttachmentArray) ToSlbAttachmentArrayOutput added in v2.35.1

func (i SlbAttachmentArray) ToSlbAttachmentArrayOutput() SlbAttachmentArrayOutput

func (SlbAttachmentArray) ToSlbAttachmentArrayOutputWithContext added in v2.35.1

func (i SlbAttachmentArray) ToSlbAttachmentArrayOutputWithContext(ctx context.Context) SlbAttachmentArrayOutput

type SlbAttachmentArrayInput added in v2.35.1

type SlbAttachmentArrayInput interface {
	pulumi.Input

	ToSlbAttachmentArrayOutput() SlbAttachmentArrayOutput
	ToSlbAttachmentArrayOutputWithContext(context.Context) SlbAttachmentArrayOutput
}

SlbAttachmentArrayInput is an input type that accepts SlbAttachmentArray and SlbAttachmentArrayOutput values. You can construct a concrete instance of `SlbAttachmentArrayInput` via:

SlbAttachmentArray{ SlbAttachmentArgs{...} }

type SlbAttachmentArrayOutput added in v2.35.1

type SlbAttachmentArrayOutput struct{ *pulumi.OutputState }

func (SlbAttachmentArrayOutput) ElementType added in v2.35.1

func (SlbAttachmentArrayOutput) ElementType() reflect.Type

func (SlbAttachmentArrayOutput) Index added in v2.35.1

func (SlbAttachmentArrayOutput) ToSlbAttachmentArrayOutput added in v2.35.1

func (o SlbAttachmentArrayOutput) ToSlbAttachmentArrayOutput() SlbAttachmentArrayOutput

func (SlbAttachmentArrayOutput) ToSlbAttachmentArrayOutputWithContext added in v2.35.1

func (o SlbAttachmentArrayOutput) ToSlbAttachmentArrayOutputWithContext(ctx context.Context) SlbAttachmentArrayOutput

type SlbAttachmentInput added in v2.25.1

type SlbAttachmentInput interface {
	pulumi.Input

	ToSlbAttachmentOutput() SlbAttachmentOutput
	ToSlbAttachmentOutputWithContext(ctx context.Context) SlbAttachmentOutput
}

type SlbAttachmentMap added in v2.35.1

type SlbAttachmentMap map[string]SlbAttachmentInput

func (SlbAttachmentMap) ElementType added in v2.35.1

func (SlbAttachmentMap) ElementType() reflect.Type

func (SlbAttachmentMap) ToSlbAttachmentMapOutput added in v2.35.1

func (i SlbAttachmentMap) ToSlbAttachmentMapOutput() SlbAttachmentMapOutput

func (SlbAttachmentMap) ToSlbAttachmentMapOutputWithContext added in v2.35.1

func (i SlbAttachmentMap) ToSlbAttachmentMapOutputWithContext(ctx context.Context) SlbAttachmentMapOutput

type SlbAttachmentMapInput added in v2.35.1

type SlbAttachmentMapInput interface {
	pulumi.Input

	ToSlbAttachmentMapOutput() SlbAttachmentMapOutput
	ToSlbAttachmentMapOutputWithContext(context.Context) SlbAttachmentMapOutput
}

SlbAttachmentMapInput is an input type that accepts SlbAttachmentMap and SlbAttachmentMapOutput values. You can construct a concrete instance of `SlbAttachmentMapInput` via:

SlbAttachmentMap{ "key": SlbAttachmentArgs{...} }

type SlbAttachmentMapOutput added in v2.35.1

type SlbAttachmentMapOutput struct{ *pulumi.OutputState }

func (SlbAttachmentMapOutput) ElementType added in v2.35.1

func (SlbAttachmentMapOutput) ElementType() reflect.Type

func (SlbAttachmentMapOutput) MapIndex added in v2.35.1

func (SlbAttachmentMapOutput) ToSlbAttachmentMapOutput added in v2.35.1

func (o SlbAttachmentMapOutput) ToSlbAttachmentMapOutput() SlbAttachmentMapOutput

func (SlbAttachmentMapOutput) ToSlbAttachmentMapOutputWithContext added in v2.35.1

func (o SlbAttachmentMapOutput) ToSlbAttachmentMapOutputWithContext(ctx context.Context) SlbAttachmentMapOutput

type SlbAttachmentOutput added in v2.25.1

type SlbAttachmentOutput struct {
	*pulumi.OutputState
}

func (SlbAttachmentOutput) ElementType added in v2.25.1

func (SlbAttachmentOutput) ElementType() reflect.Type

func (SlbAttachmentOutput) ToSlbAttachmentOutput added in v2.25.1

func (o SlbAttachmentOutput) ToSlbAttachmentOutput() SlbAttachmentOutput

func (SlbAttachmentOutput) ToSlbAttachmentOutputWithContext added in v2.25.1

func (o SlbAttachmentOutput) ToSlbAttachmentOutputWithContext(ctx context.Context) SlbAttachmentOutput

func (SlbAttachmentOutput) ToSlbAttachmentPtrOutput added in v2.35.1

func (o SlbAttachmentOutput) ToSlbAttachmentPtrOutput() SlbAttachmentPtrOutput

func (SlbAttachmentOutput) ToSlbAttachmentPtrOutputWithContext added in v2.35.1

func (o SlbAttachmentOutput) ToSlbAttachmentPtrOutputWithContext(ctx context.Context) SlbAttachmentPtrOutput

type SlbAttachmentPtrInput added in v2.35.1

type SlbAttachmentPtrInput interface {
	pulumi.Input

	ToSlbAttachmentPtrOutput() SlbAttachmentPtrOutput
	ToSlbAttachmentPtrOutputWithContext(ctx context.Context) SlbAttachmentPtrOutput
}

type SlbAttachmentPtrOutput added in v2.35.1

type SlbAttachmentPtrOutput struct {
	*pulumi.OutputState
}

func (SlbAttachmentPtrOutput) ElementType added in v2.35.1

func (SlbAttachmentPtrOutput) ElementType() reflect.Type

func (SlbAttachmentPtrOutput) ToSlbAttachmentPtrOutput added in v2.35.1

func (o SlbAttachmentPtrOutput) ToSlbAttachmentPtrOutput() SlbAttachmentPtrOutput

func (SlbAttachmentPtrOutput) ToSlbAttachmentPtrOutputWithContext added in v2.35.1

func (o SlbAttachmentPtrOutput) ToSlbAttachmentPtrOutputWithContext(ctx context.Context) SlbAttachmentPtrOutput

type SlbAttachmentState

type SlbAttachmentState struct {
	// The ID of the applicaton to which you want to bind an SLB instance.
	AppId pulumi.StringPtrInput
	// The listening port for the bound SLB instance.
	ListenerPort pulumi.IntPtrInput
	// The ID of the SLB instance that is going to be bound.
	SlbId pulumi.StringPtrInput
	// The IP address that is allocated to the bound SLB instance.
	SlbIp pulumi.StringPtrInput
	// Running Status of SLB instance. Inactive:The instance is stopped, and listener will not monitor and foward traffic. Active:The instance is running. After the instance is created, the default state is active. Locked:The instance is locked, the instance has been owed or locked by Alibaba Cloud. Expired: The instance has expired.
	SlbStatus pulumi.StringPtrInput
	// The type of the bound SLB instance.
	Type pulumi.StringPtrInput
	// The ID of the virtual server (VServer) group associated with the intranet SLB instance.
	VserverGroupId pulumi.StringPtrInput
	// VPC related vswitch ID.
	VswitchId pulumi.StringPtrInput
}

func (SlbAttachmentState) ElementType

func (SlbAttachmentState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL