edas

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v0.0.1

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

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

func (*Application) ElementType() reflect.Type

func (*Application) ToApplicationOutput

func (i *Application) ToApplicationOutput() ApplicationOutput

func (*Application) ToApplicationOutputWithContext

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

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

type ApplicationArray []ApplicationInput

func (ApplicationArray) ElementType

func (ApplicationArray) ElementType() reflect.Type

func (ApplicationArray) ToApplicationArrayOutput

func (i ApplicationArray) ToApplicationArrayOutput() ApplicationArrayOutput

func (ApplicationArray) ToApplicationArrayOutputWithContext

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

type ApplicationArrayInput

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

type ApplicationArrayOutput struct{ *pulumi.OutputState }

func (ApplicationArrayOutput) ElementType

func (ApplicationArrayOutput) ElementType() reflect.Type

func (ApplicationArrayOutput) Index

func (ApplicationArrayOutput) ToApplicationArrayOutput

func (o ApplicationArrayOutput) ToApplicationArrayOutput() ApplicationArrayOutput

func (ApplicationArrayOutput) ToApplicationArrayOutputWithContext

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/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/edas"

)

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

func (*ApplicationDeployment) ElementType() reflect.Type

func (*ApplicationDeployment) ToApplicationDeploymentOutput

func (i *ApplicationDeployment) ToApplicationDeploymentOutput() ApplicationDeploymentOutput

func (*ApplicationDeployment) ToApplicationDeploymentOutputWithContext

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

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

type ApplicationDeploymentArray []ApplicationDeploymentInput

func (ApplicationDeploymentArray) ElementType

func (ApplicationDeploymentArray) ElementType() reflect.Type

func (ApplicationDeploymentArray) ToApplicationDeploymentArrayOutput

func (i ApplicationDeploymentArray) ToApplicationDeploymentArrayOutput() ApplicationDeploymentArrayOutput

func (ApplicationDeploymentArray) ToApplicationDeploymentArrayOutputWithContext

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

type ApplicationDeploymentArrayInput

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

type ApplicationDeploymentArrayOutput struct{ *pulumi.OutputState }

func (ApplicationDeploymentArrayOutput) ElementType

func (ApplicationDeploymentArrayOutput) Index

func (ApplicationDeploymentArrayOutput) ToApplicationDeploymentArrayOutput

func (o ApplicationDeploymentArrayOutput) ToApplicationDeploymentArrayOutput() ApplicationDeploymentArrayOutput

func (ApplicationDeploymentArrayOutput) ToApplicationDeploymentArrayOutputWithContext

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

type ApplicationDeploymentInput

type ApplicationDeploymentInput interface {
	pulumi.Input

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

type ApplicationDeploymentMap

type ApplicationDeploymentMap map[string]ApplicationDeploymentInput

func (ApplicationDeploymentMap) ElementType

func (ApplicationDeploymentMap) ElementType() reflect.Type

func (ApplicationDeploymentMap) ToApplicationDeploymentMapOutput

func (i ApplicationDeploymentMap) ToApplicationDeploymentMapOutput() ApplicationDeploymentMapOutput

func (ApplicationDeploymentMap) ToApplicationDeploymentMapOutputWithContext

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

type ApplicationDeploymentMapInput

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

type ApplicationDeploymentMapOutput struct{ *pulumi.OutputState }

func (ApplicationDeploymentMapOutput) ElementType

func (ApplicationDeploymentMapOutput) MapIndex

func (ApplicationDeploymentMapOutput) ToApplicationDeploymentMapOutput

func (o ApplicationDeploymentMapOutput) ToApplicationDeploymentMapOutput() ApplicationDeploymentMapOutput

func (ApplicationDeploymentMapOutput) ToApplicationDeploymentMapOutputWithContext

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

type ApplicationDeploymentOutput

type ApplicationDeploymentOutput struct{ *pulumi.OutputState }

func (ApplicationDeploymentOutput) AppId

The ID of the application that you want to deploy.

func (ApplicationDeploymentOutput) ElementType

func (ApplicationDeploymentOutput) GroupId

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.

func (ApplicationDeploymentOutput) LastPackageVersion

func (o ApplicationDeploymentOutput) LastPackageVersion() pulumi.StringOutput

Last package version deployed.

func (ApplicationDeploymentOutput) PackageVersion

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.

func (ApplicationDeploymentOutput) ToApplicationDeploymentOutput

func (o ApplicationDeploymentOutput) ToApplicationDeploymentOutput() ApplicationDeploymentOutput

func (ApplicationDeploymentOutput) ToApplicationDeploymentOutputWithContext

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

func (ApplicationDeploymentOutput) WarUrl

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.

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

type ApplicationInput interface {
	pulumi.Input

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

type ApplicationMap

type ApplicationMap map[string]ApplicationInput

func (ApplicationMap) ElementType

func (ApplicationMap) ElementType() reflect.Type

func (ApplicationMap) ToApplicationMapOutput

func (i ApplicationMap) ToApplicationMapOutput() ApplicationMapOutput

func (ApplicationMap) ToApplicationMapOutputWithContext

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

type ApplicationMapInput

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

type ApplicationMapOutput struct{ *pulumi.OutputState }

func (ApplicationMapOutput) ElementType

func (ApplicationMapOutput) ElementType() reflect.Type

func (ApplicationMapOutput) MapIndex

func (ApplicationMapOutput) ToApplicationMapOutput

func (o ApplicationMapOutput) ToApplicationMapOutput() ApplicationMapOutput

func (ApplicationMapOutput) ToApplicationMapOutputWithContext

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

type ApplicationOutput

type ApplicationOutput struct{ *pulumi.OutputState }

func (ApplicationOutput) ApplicationName

func (o ApplicationOutput) ApplicationName() pulumi.StringOutput

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

func (ApplicationOutput) BuildPackId

func (o ApplicationOutput) BuildPackId() pulumi.IntPtrOutput

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.

func (ApplicationOutput) ClusterId

func (o ApplicationOutput) ClusterId() pulumi.StringOutput

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.

func (ApplicationOutput) Descriotion

func (o ApplicationOutput) Descriotion() pulumi.StringPtrOutput

The description of the application that you want to create.

func (ApplicationOutput) EcuInfos

The ID of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

func (ApplicationOutput) ElementType

func (ApplicationOutput) ElementType() reflect.Type

func (ApplicationOutput) GroupId

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.

func (ApplicationOutput) HealthCheckUrl

func (o ApplicationOutput) HealthCheckUrl() pulumi.StringPtrOutput

The URL for health checking of the application.

func (ApplicationOutput) LogicalRegionId

func (o ApplicationOutput) LogicalRegionId() pulumi.StringPtrOutput

The ID of the namespace where you want to create the application. You can call the ListUserDefineRegion operation to query the namespace ID.

func (ApplicationOutput) PackageType

func (o ApplicationOutput) PackageType() pulumi.StringOutput

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 (ApplicationOutput) PackageVersion

func (o ApplicationOutput) PackageVersion() pulumi.StringPtrOutput

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.

func (ApplicationOutput) ToApplicationOutput

func (o ApplicationOutput) ToApplicationOutput() ApplicationOutput

func (ApplicationOutput) ToApplicationOutputWithContext

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

func (ApplicationOutput) WarUrl

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.

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/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/edas"

)

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:    pulumi.Any(_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

func (*ApplicationScale) ElementType() reflect.Type

func (*ApplicationScale) ToApplicationScaleOutput

func (i *ApplicationScale) ToApplicationScaleOutput() ApplicationScaleOutput

func (*ApplicationScale) ToApplicationScaleOutputWithContext

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

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

type ApplicationScaleArray []ApplicationScaleInput

func (ApplicationScaleArray) ElementType

func (ApplicationScaleArray) ElementType() reflect.Type

func (ApplicationScaleArray) ToApplicationScaleArrayOutput

func (i ApplicationScaleArray) ToApplicationScaleArrayOutput() ApplicationScaleArrayOutput

func (ApplicationScaleArray) ToApplicationScaleArrayOutputWithContext

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

type ApplicationScaleArrayInput

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

type ApplicationScaleArrayOutput struct{ *pulumi.OutputState }

func (ApplicationScaleArrayOutput) ElementType

func (ApplicationScaleArrayOutput) Index

func (ApplicationScaleArrayOutput) ToApplicationScaleArrayOutput

func (o ApplicationScaleArrayOutput) ToApplicationScaleArrayOutput() ApplicationScaleArrayOutput

func (ApplicationScaleArrayOutput) ToApplicationScaleArrayOutputWithContext

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

type ApplicationScaleInput

type ApplicationScaleInput interface {
	pulumi.Input

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

type ApplicationScaleMap

type ApplicationScaleMap map[string]ApplicationScaleInput

func (ApplicationScaleMap) ElementType

func (ApplicationScaleMap) ElementType() reflect.Type

func (ApplicationScaleMap) ToApplicationScaleMapOutput

func (i ApplicationScaleMap) ToApplicationScaleMapOutput() ApplicationScaleMapOutput

func (ApplicationScaleMap) ToApplicationScaleMapOutputWithContext

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

type ApplicationScaleMapInput

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

type ApplicationScaleMapOutput struct{ *pulumi.OutputState }

func (ApplicationScaleMapOutput) ElementType

func (ApplicationScaleMapOutput) ElementType() reflect.Type

func (ApplicationScaleMapOutput) MapIndex

func (ApplicationScaleMapOutput) ToApplicationScaleMapOutput

func (o ApplicationScaleMapOutput) ToApplicationScaleMapOutput() ApplicationScaleMapOutput

func (ApplicationScaleMapOutput) ToApplicationScaleMapOutputWithContext

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

type ApplicationScaleOutput

type ApplicationScaleOutput struct{ *pulumi.OutputState }

func (ApplicationScaleOutput) AppId

The ID of the application that you want to deploy.

func (ApplicationScaleOutput) DeployGroup

func (o ApplicationScaleOutput) DeployGroup() pulumi.StringOutput

The ID of the instance group to which you want to add ECS instances to scale out the application.

func (ApplicationScaleOutput) EccInfo

The ecc information of the resource supplied above. The value is formulated as `<ecc1,ecc2>`.

func (ApplicationScaleOutput) EcuInfos

The IDs of the Elastic Compute Unit (ECU) where you want to deploy the application. Type: List.

func (ApplicationScaleOutput) ElementType

func (ApplicationScaleOutput) ElementType() reflect.Type

func (ApplicationScaleOutput) ForceStatus

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.

func (ApplicationScaleOutput) ToApplicationScaleOutput

func (o ApplicationScaleOutput) ToApplicationScaleOutput() ApplicationScaleOutput

func (ApplicationScaleOutput) ToApplicationScaleOutputWithContext

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

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/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/edas"

)

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

func (*Cluster) ElementType() reflect.Type

func (*Cluster) ToClusterOutput

func (i *Cluster) ToClusterOutput() ClusterOutput

func (*Cluster) ToClusterOutputWithContext

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

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

type ClusterArray []ClusterInput

func (ClusterArray) ElementType

func (ClusterArray) ElementType() reflect.Type

func (ClusterArray) ToClusterArrayOutput

func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArray) ToClusterArrayOutputWithContext

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

type ClusterArrayInput

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

type ClusterArrayOutput struct{ *pulumi.OutputState }

func (ClusterArrayOutput) ElementType

func (ClusterArrayOutput) ElementType() reflect.Type

func (ClusterArrayOutput) Index

func (ClusterArrayOutput) ToClusterArrayOutput

func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArrayOutput) ToClusterArrayOutputWithContext

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

type ClusterInput

type ClusterInput interface {
	pulumi.Input

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

type ClusterMap

type ClusterMap map[string]ClusterInput

func (ClusterMap) ElementType

func (ClusterMap) ElementType() reflect.Type

func (ClusterMap) ToClusterMapOutput

func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput

func (ClusterMap) ToClusterMapOutputWithContext

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

type ClusterMapInput

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

type ClusterMapOutput struct{ *pulumi.OutputState }

func (ClusterMapOutput) ElementType

func (ClusterMapOutput) ElementType() reflect.Type

func (ClusterMapOutput) MapIndex

func (ClusterMapOutput) ToClusterMapOutput

func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput

func (ClusterMapOutput) ToClusterMapOutputWithContext

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

type ClusterOutput

type ClusterOutput struct{ *pulumi.OutputState }

func (ClusterOutput) ClusterName

func (o ClusterOutput) ClusterName() pulumi.StringOutput

The name of the cluster that you want to create.

func (ClusterOutput) ClusterType

func (o ClusterOutput) ClusterType() pulumi.IntOutput

The type of the cluster that you want to create. Valid values only: 2: ECS cluster.

func (ClusterOutput) ElementType

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) LogicalRegionId

func (o ClusterOutput) LogicalRegionId() pulumi.StringPtrOutput

The ID of the namespace where you want to create the application. You can call the ListUserDefineRegion operation to query the namespace ID.

func (ClusterOutput) NetworkMode

func (o ClusterOutput) NetworkMode() pulumi.IntOutput

The network type of the cluster that you want to create. Valid values: 1: classic network. 2: VPC.

func (ClusterOutput) ToClusterOutput

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext

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

func (ClusterOutput) VpcId

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

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/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/edas"

)

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

func (*DeployGroup) ElementType() reflect.Type

func (*DeployGroup) ToDeployGroupOutput

func (i *DeployGroup) ToDeployGroupOutput() DeployGroupOutput

func (*DeployGroup) ToDeployGroupOutputWithContext

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

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

type DeployGroupArray []DeployGroupInput

func (DeployGroupArray) ElementType

func (DeployGroupArray) ElementType() reflect.Type

func (DeployGroupArray) ToDeployGroupArrayOutput

func (i DeployGroupArray) ToDeployGroupArrayOutput() DeployGroupArrayOutput

func (DeployGroupArray) ToDeployGroupArrayOutputWithContext

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

type DeployGroupArrayInput

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

type DeployGroupArrayOutput struct{ *pulumi.OutputState }

func (DeployGroupArrayOutput) ElementType

func (DeployGroupArrayOutput) ElementType() reflect.Type

func (DeployGroupArrayOutput) Index

func (DeployGroupArrayOutput) ToDeployGroupArrayOutput

func (o DeployGroupArrayOutput) ToDeployGroupArrayOutput() DeployGroupArrayOutput

func (DeployGroupArrayOutput) ToDeployGroupArrayOutputWithContext

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

type DeployGroupInput

type DeployGroupInput interface {
	pulumi.Input

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

type DeployGroupMap

type DeployGroupMap map[string]DeployGroupInput

func (DeployGroupMap) ElementType

func (DeployGroupMap) ElementType() reflect.Type

func (DeployGroupMap) ToDeployGroupMapOutput

func (i DeployGroupMap) ToDeployGroupMapOutput() DeployGroupMapOutput

func (DeployGroupMap) ToDeployGroupMapOutputWithContext

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

type DeployGroupMapInput

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

type DeployGroupMapOutput struct{ *pulumi.OutputState }

func (DeployGroupMapOutput) ElementType

func (DeployGroupMapOutput) ElementType() reflect.Type

func (DeployGroupMapOutput) MapIndex

func (DeployGroupMapOutput) ToDeployGroupMapOutput

func (o DeployGroupMapOutput) ToDeployGroupMapOutput() DeployGroupMapOutput

func (DeployGroupMapOutput) ToDeployGroupMapOutputWithContext

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

type DeployGroupOutput

type DeployGroupOutput struct{ *pulumi.OutputState }

func (DeployGroupOutput) AppId

The ID of the application that you want to deploy.

func (DeployGroupOutput) ElementType

func (DeployGroupOutput) ElementType() reflect.Type

func (DeployGroupOutput) GroupName

func (o DeployGroupOutput) GroupName() pulumi.StringOutput

The name of the instance group that you want to create.

func (DeployGroupOutput) GroupType

func (o DeployGroupOutput) GroupType() pulumi.IntOutput

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.

func (DeployGroupOutput) ToDeployGroupOutput

func (o DeployGroupOutput) ToDeployGroupOutput() DeployGroupOutput

func (DeployGroupOutput) ToDeployGroupOutputWithContext

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

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 GetApplicationsOutputArgs

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

A collection of arguments for invoking getApplications.

func (GetApplicationsOutputArgs) ElementType

func (GetApplicationsOutputArgs) ElementType() reflect.Type

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/go/alicloud/edas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/edas"

)

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

```

type GetApplicationsResultOutput

type GetApplicationsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getApplications.

func (GetApplicationsResultOutput) Applications

A list of applications.

func (GetApplicationsResultOutput) ElementType

func (GetApplicationsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetApplicationsResultOutput) Ids

A list of application IDs.

func (GetApplicationsResultOutput) NameRegex

func (GetApplicationsResultOutput) Names

A list of applications names.

func (GetApplicationsResultOutput) OutputFile

func (GetApplicationsResultOutput) ToGetApplicationsResultOutput

func (o GetApplicationsResultOutput) ToGetApplicationsResultOutput() GetApplicationsResultOutput

func (GetApplicationsResultOutput) ToGetApplicationsResultOutputWithContext

func (o GetApplicationsResultOutput) ToGetApplicationsResultOutputWithContext(ctx context.Context) GetApplicationsResultOutput

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 GetClustersOutputArgs

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

A collection of arguments for invoking getClusters.

func (GetClustersOutputArgs) ElementType

func (GetClustersOutputArgs) ElementType() reflect.Type

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/go/alicloud/edas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/edas"

)

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

```

type GetClustersResultOutput

type GetClustersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getClusters.

func (GetClustersResultOutput) Clusters

A list of clusters.

func (GetClustersResultOutput) ElementType

func (GetClustersResultOutput) ElementType() reflect.Type

func (GetClustersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetClustersResultOutput) Ids

A list of cluster IDs.

func (GetClustersResultOutput) LogicalRegionId

func (o GetClustersResultOutput) LogicalRegionId() pulumi.StringOutput

func (GetClustersResultOutput) NameRegex

func (GetClustersResultOutput) Names

A list of cluster names.

func (GetClustersResultOutput) OutputFile

func (GetClustersResultOutput) ToGetClustersResultOutput

func (o GetClustersResultOutput) ToGetClustersResultOutput() GetClustersResultOutput

func (GetClustersResultOutput) ToGetClustersResultOutputWithContext

func (o GetClustersResultOutput) ToGetClustersResultOutputWithContext(ctx context.Context) GetClustersResultOutput

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 GetDeployGroupsOutputArgs

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

A collection of arguments for invoking getDeployGroups.

func (GetDeployGroupsOutputArgs) ElementType

func (GetDeployGroupsOutputArgs) ElementType() reflect.Type

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+

type GetDeployGroupsResultOutput

type GetDeployGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDeployGroups.

func (GetDeployGroupsResultOutput) AppId

The ID of the application that you want to deploy.

func (GetDeployGroupsResultOutput) ElementType

func (GetDeployGroupsResultOutput) Groups

A list of consumer group ids.

func (GetDeployGroupsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDeployGroupsResultOutput) NameRegex

func (GetDeployGroupsResultOutput) Names

A list of deploy group names.

func (GetDeployGroupsResultOutput) OutputFile

func (GetDeployGroupsResultOutput) ToGetDeployGroupsResultOutput

func (o GetDeployGroupsResultOutput) ToGetDeployGroupsResultOutput() GetDeployGroupsResultOutput

func (GetDeployGroupsResultOutput) ToGetDeployGroupsResultOutputWithContext

func (o GetDeployGroupsResultOutput) ToGetDeployGroupsResultOutputWithContext(ctx context.Context) GetDeployGroupsResultOutput

type GetNamespacesArgs

type GetNamespacesArgs struct {
	// A list of Namespace IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by Namespace name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getNamespaces.

type GetNamespacesNamespace

type GetNamespacesNamespace struct {
	// The ID of the physical region to which the namespace belongs.
	BelongRegion string `pulumi:"belongRegion"`
	// Indicates whether remote debugging is allowed in this region.
	DebugEnable bool `pulumi:"debugEnable"`
	// The description of the namespace.
	Description string `pulumi:"description"`
	// The ID of the resource.
	Id string `pulumi:"id"`
	// The unique ID of the namespace generated by Enterprise Distributed Application Service (EDAS).
	NamespaceId string `pulumi:"namespaceId"`
	// The ID of the namespace. **Note:** The ID cannot be changed after the namespace is created. The ID is in the format of `Physical region ID:Logical region identifier`.
	NamespaceLogicalId string `pulumi:"namespaceLogicalId"`
	// The name of the namespace.
	NamespaceName string `pulumi:"namespaceName"`
	// The ID of the Alibaba Cloud account to which the namespace belongs.
	UserId string `pulumi:"userId"`
}

type GetNamespacesNamespaceArgs

type GetNamespacesNamespaceArgs struct {
	// The ID of the physical region to which the namespace belongs.
	BelongRegion pulumi.StringInput `pulumi:"belongRegion"`
	// Indicates whether remote debugging is allowed in this region.
	DebugEnable pulumi.BoolInput `pulumi:"debugEnable"`
	// The description of the namespace.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of the resource.
	Id pulumi.StringInput `pulumi:"id"`
	// The unique ID of the namespace generated by Enterprise Distributed Application Service (EDAS).
	NamespaceId pulumi.StringInput `pulumi:"namespaceId"`
	// The ID of the namespace. **Note:** The ID cannot be changed after the namespace is created. The ID is in the format of `Physical region ID:Logical region identifier`.
	NamespaceLogicalId pulumi.StringInput `pulumi:"namespaceLogicalId"`
	// The name of the namespace.
	NamespaceName pulumi.StringInput `pulumi:"namespaceName"`
	// The ID of the Alibaba Cloud account to which the namespace belongs.
	UserId pulumi.StringInput `pulumi:"userId"`
}

func (GetNamespacesNamespaceArgs) ElementType

func (GetNamespacesNamespaceArgs) ElementType() reflect.Type

func (GetNamespacesNamespaceArgs) ToGetNamespacesNamespaceOutput

func (i GetNamespacesNamespaceArgs) ToGetNamespacesNamespaceOutput() GetNamespacesNamespaceOutput

func (GetNamespacesNamespaceArgs) ToGetNamespacesNamespaceOutputWithContext

func (i GetNamespacesNamespaceArgs) ToGetNamespacesNamespaceOutputWithContext(ctx context.Context) GetNamespacesNamespaceOutput

type GetNamespacesNamespaceArray

type GetNamespacesNamespaceArray []GetNamespacesNamespaceInput

func (GetNamespacesNamespaceArray) ElementType

func (GetNamespacesNamespaceArray) ToGetNamespacesNamespaceArrayOutput

func (i GetNamespacesNamespaceArray) ToGetNamespacesNamespaceArrayOutput() GetNamespacesNamespaceArrayOutput

func (GetNamespacesNamespaceArray) ToGetNamespacesNamespaceArrayOutputWithContext

func (i GetNamespacesNamespaceArray) ToGetNamespacesNamespaceArrayOutputWithContext(ctx context.Context) GetNamespacesNamespaceArrayOutput

type GetNamespacesNamespaceArrayInput

type GetNamespacesNamespaceArrayInput interface {
	pulumi.Input

	ToGetNamespacesNamespaceArrayOutput() GetNamespacesNamespaceArrayOutput
	ToGetNamespacesNamespaceArrayOutputWithContext(context.Context) GetNamespacesNamespaceArrayOutput
}

GetNamespacesNamespaceArrayInput is an input type that accepts GetNamespacesNamespaceArray and GetNamespacesNamespaceArrayOutput values. You can construct a concrete instance of `GetNamespacesNamespaceArrayInput` via:

GetNamespacesNamespaceArray{ GetNamespacesNamespaceArgs{...} }

type GetNamespacesNamespaceArrayOutput

type GetNamespacesNamespaceArrayOutput struct{ *pulumi.OutputState }

func (GetNamespacesNamespaceArrayOutput) ElementType

func (GetNamespacesNamespaceArrayOutput) Index

func (GetNamespacesNamespaceArrayOutput) ToGetNamespacesNamespaceArrayOutput

func (o GetNamespacesNamespaceArrayOutput) ToGetNamespacesNamespaceArrayOutput() GetNamespacesNamespaceArrayOutput

func (GetNamespacesNamespaceArrayOutput) ToGetNamespacesNamespaceArrayOutputWithContext

func (o GetNamespacesNamespaceArrayOutput) ToGetNamespacesNamespaceArrayOutputWithContext(ctx context.Context) GetNamespacesNamespaceArrayOutput

type GetNamespacesNamespaceInput

type GetNamespacesNamespaceInput interface {
	pulumi.Input

	ToGetNamespacesNamespaceOutput() GetNamespacesNamespaceOutput
	ToGetNamespacesNamespaceOutputWithContext(context.Context) GetNamespacesNamespaceOutput
}

GetNamespacesNamespaceInput is an input type that accepts GetNamespacesNamespaceArgs and GetNamespacesNamespaceOutput values. You can construct a concrete instance of `GetNamespacesNamespaceInput` via:

GetNamespacesNamespaceArgs{...}

type GetNamespacesNamespaceOutput

type GetNamespacesNamespaceOutput struct{ *pulumi.OutputState }

func (GetNamespacesNamespaceOutput) BelongRegion

The ID of the physical region to which the namespace belongs.

func (GetNamespacesNamespaceOutput) DebugEnable

Indicates whether remote debugging is allowed in this region.

func (GetNamespacesNamespaceOutput) Description

The description of the namespace.

func (GetNamespacesNamespaceOutput) ElementType

func (GetNamespacesNamespaceOutput) Id

The ID of the resource.

func (GetNamespacesNamespaceOutput) NamespaceId

The unique ID of the namespace generated by Enterprise Distributed Application Service (EDAS).

func (GetNamespacesNamespaceOutput) NamespaceLogicalId

func (o GetNamespacesNamespaceOutput) NamespaceLogicalId() pulumi.StringOutput

The ID of the namespace. **Note:** The ID cannot be changed after the namespace is created. The ID is in the format of `Physical region ID:Logical region identifier`.

func (GetNamespacesNamespaceOutput) NamespaceName

The name of the namespace.

func (GetNamespacesNamespaceOutput) ToGetNamespacesNamespaceOutput

func (o GetNamespacesNamespaceOutput) ToGetNamespacesNamespaceOutput() GetNamespacesNamespaceOutput

func (GetNamespacesNamespaceOutput) ToGetNamespacesNamespaceOutputWithContext

func (o GetNamespacesNamespaceOutput) ToGetNamespacesNamespaceOutputWithContext(ctx context.Context) GetNamespacesNamespaceOutput

func (GetNamespacesNamespaceOutput) UserId

The ID of the Alibaba Cloud account to which the namespace belongs.

type GetNamespacesOutputArgs

type GetNamespacesOutputArgs struct {
	// A list of Namespace IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Namespace name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getNamespaces.

func (GetNamespacesOutputArgs) ElementType

func (GetNamespacesOutputArgs) ElementType() reflect.Type

type GetNamespacesResult

type GetNamespacesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string                   `pulumi:"id"`
	Ids        []string                 `pulumi:"ids"`
	NameRegex  *string                  `pulumi:"nameRegex"`
	Names      []string                 `pulumi:"names"`
	Namespaces []GetNamespacesNamespace `pulumi:"namespaces"`
	OutputFile *string                  `pulumi:"outputFile"`
}

A collection of values returned by getNamespaces.

func GetNamespaces

func GetNamespaces(ctx *pulumi.Context, args *GetNamespacesArgs, opts ...pulumi.InvokeOption) (*GetNamespacesResult, error)

This data source provides the Edas Namespaces of the current Alibaba Cloud user.

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

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/edas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/edas"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := edas.GetNamespaces(ctx, &edas.GetNamespacesArgs{
			Ids: []string{
				"example_id",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("edasNamespaceId1", ids.Namespaces[0].Id)
		nameRegex, err := edas.GetNamespaces(ctx, &edas.GetNamespacesArgs{
			NameRegex: pulumi.StringRef("^my-Namespace"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("edasNamespaceId2", nameRegex.Namespaces[0].Id)
		return nil
	})
}

```

type GetNamespacesResultOutput

type GetNamespacesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNamespaces.

func (GetNamespacesResultOutput) ElementType

func (GetNamespacesResultOutput) ElementType() reflect.Type

func (GetNamespacesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetNamespacesResultOutput) Ids

func (GetNamespacesResultOutput) NameRegex

func (GetNamespacesResultOutput) Names

func (GetNamespacesResultOutput) Namespaces

func (GetNamespacesResultOutput) OutputFile

func (GetNamespacesResultOutput) ToGetNamespacesResultOutput

func (o GetNamespacesResultOutput) ToGetNamespacesResultOutput() GetNamespacesResultOutput

func (GetNamespacesResultOutput) ToGetNamespacesResultOutputWithContext

func (o GetNamespacesResultOutput) ToGetNamespacesResultOutputWithContext(ctx context.Context) GetNamespacesResultOutput

type GetServiceArgs

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 GetServiceOutputArgs

type GetServiceOutputArgs 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 pulumi.StringPtrInput `pulumi:"enable"`
}

A collection of arguments for invoking getService.

func (GetServiceOutputArgs) ElementType

func (GetServiceOutputArgs) ElementType() reflect.Type

type GetServiceResult

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

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+

> **NOTE:** The EDAS service is not support to be open automatically in the international site.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/edas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/edas"

)

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

```

type GetServiceResultOutput

type GetServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getService.

func (GetServiceResultOutput) ElementType

func (GetServiceResultOutput) ElementType() reflect.Type

func (GetServiceResultOutput) Enable

func (GetServiceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetServiceResultOutput) Status

The current service enable status.

func (GetServiceResultOutput) ToGetServiceResultOutput

func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput

func (GetServiceResultOutput) ToGetServiceResultOutputWithContext

func (o GetServiceResultOutput) ToGetServiceResultOutputWithContext(ctx context.Context) GetServiceResultOutput

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/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/edas"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := edas.NewInstanceClusterAttachment(ctx, "default", &edas.InstanceClusterAttachmentArgs{
			ClusterId:   pulumi.Any(_var.Cluster_id),
			InstanceIds: pulumi.Any(_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

func (*InstanceClusterAttachment) ElementType() reflect.Type

func (*InstanceClusterAttachment) ToInstanceClusterAttachmentOutput

func (i *InstanceClusterAttachment) ToInstanceClusterAttachmentOutput() InstanceClusterAttachmentOutput

func (*InstanceClusterAttachment) ToInstanceClusterAttachmentOutputWithContext

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

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

type InstanceClusterAttachmentArray []InstanceClusterAttachmentInput

func (InstanceClusterAttachmentArray) ElementType

func (InstanceClusterAttachmentArray) ToInstanceClusterAttachmentArrayOutput

func (i InstanceClusterAttachmentArray) ToInstanceClusterAttachmentArrayOutput() InstanceClusterAttachmentArrayOutput

func (InstanceClusterAttachmentArray) ToInstanceClusterAttachmentArrayOutputWithContext

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

type InstanceClusterAttachmentArrayInput

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

type InstanceClusterAttachmentArrayOutput struct{ *pulumi.OutputState }

func (InstanceClusterAttachmentArrayOutput) ElementType

func (InstanceClusterAttachmentArrayOutput) Index

func (InstanceClusterAttachmentArrayOutput) ToInstanceClusterAttachmentArrayOutput

func (o InstanceClusterAttachmentArrayOutput) ToInstanceClusterAttachmentArrayOutput() InstanceClusterAttachmentArrayOutput

func (InstanceClusterAttachmentArrayOutput) ToInstanceClusterAttachmentArrayOutputWithContext

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

type InstanceClusterAttachmentInput

type InstanceClusterAttachmentInput interface {
	pulumi.Input

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

type InstanceClusterAttachmentMap

type InstanceClusterAttachmentMap map[string]InstanceClusterAttachmentInput

func (InstanceClusterAttachmentMap) ElementType

func (InstanceClusterAttachmentMap) ToInstanceClusterAttachmentMapOutput

func (i InstanceClusterAttachmentMap) ToInstanceClusterAttachmentMapOutput() InstanceClusterAttachmentMapOutput

func (InstanceClusterAttachmentMap) ToInstanceClusterAttachmentMapOutputWithContext

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

type InstanceClusterAttachmentMapInput

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

type InstanceClusterAttachmentMapOutput struct{ *pulumi.OutputState }

func (InstanceClusterAttachmentMapOutput) ElementType

func (InstanceClusterAttachmentMapOutput) MapIndex

func (InstanceClusterAttachmentMapOutput) ToInstanceClusterAttachmentMapOutput

func (o InstanceClusterAttachmentMapOutput) ToInstanceClusterAttachmentMapOutput() InstanceClusterAttachmentMapOutput

func (InstanceClusterAttachmentMapOutput) ToInstanceClusterAttachmentMapOutputWithContext

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

type InstanceClusterAttachmentOutput

type InstanceClusterAttachmentOutput struct{ *pulumi.OutputState }

func (InstanceClusterAttachmentOutput) ClusterId

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

func (InstanceClusterAttachmentOutput) ClusterMemberIds

The cluster members map of the resource supplied above. The key is instanceId and the value is cluster_member_id.

func (InstanceClusterAttachmentOutput) EcuMap

The ecu map of the resource supplied above. The key is instanceId and the value is ecu_id.

func (InstanceClusterAttachmentOutput) ElementType

func (InstanceClusterAttachmentOutput) InstanceIds

The ID of instance. Type: list.

func (InstanceClusterAttachmentOutput) StatusMap

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).

func (InstanceClusterAttachmentOutput) ToInstanceClusterAttachmentOutput

func (o InstanceClusterAttachmentOutput) ToInstanceClusterAttachmentOutput() InstanceClusterAttachmentOutput

func (InstanceClusterAttachmentOutput) ToInstanceClusterAttachmentOutputWithContext

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

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

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.
	//
	// Deprecated: Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it
	InternetSlbId pulumi.StringPtrOutput `pulumi:"internetSlbId"`
	// The public network SLB front-end port, range 1~65535.
	//
	// Deprecated: Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it
	InternetSlbPort pulumi.IntPtrOutput `pulumi:"internetSlbPort"`
	// The public network SLB protocol supports TCP, HTTP and HTTPS protocols.
	//
	// Deprecated: Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it
	InternetSlbProtocol pulumi.StringPtrOutput `pulumi:"internetSlbProtocol"`
	// The private SLB back-end port, is also the service port of the application, ranging from 1 to 65535.
	//
	// Deprecated: Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it
	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.StringOutput `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

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

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

func (*K8sApplication) ElementType() reflect.Type

func (*K8sApplication) ToK8sApplicationOutput

func (i *K8sApplication) ToK8sApplicationOutput() K8sApplicationOutput

func (*K8sApplication) ToK8sApplicationOutputWithContext

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

type K8sApplicationArgs

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.
	//
	// Deprecated: Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it
	InternetSlbId pulumi.StringPtrInput
	// The public network SLB front-end port, range 1~65535.
	//
	// Deprecated: Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it
	InternetSlbPort pulumi.IntPtrInput
	// The public network SLB protocol supports TCP, HTTP and HTTPS protocols.
	//
	// Deprecated: Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it
	InternetSlbProtocol pulumi.StringPtrInput
	// The private SLB back-end port, is also the service port of the application, ranging from 1 to 65535.
	//
	// Deprecated: Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it
	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

func (K8sApplicationArgs) ElementType() reflect.Type

type K8sApplicationArray

type K8sApplicationArray []K8sApplicationInput

func (K8sApplicationArray) ElementType

func (K8sApplicationArray) ElementType() reflect.Type

func (K8sApplicationArray) ToK8sApplicationArrayOutput

func (i K8sApplicationArray) ToK8sApplicationArrayOutput() K8sApplicationArrayOutput

func (K8sApplicationArray) ToK8sApplicationArrayOutputWithContext

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

type K8sApplicationArrayInput

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

type K8sApplicationArrayOutput struct{ *pulumi.OutputState }

func (K8sApplicationArrayOutput) ElementType

func (K8sApplicationArrayOutput) ElementType() reflect.Type

func (K8sApplicationArrayOutput) Index

func (K8sApplicationArrayOutput) ToK8sApplicationArrayOutput

func (o K8sApplicationArrayOutput) ToK8sApplicationArrayOutput() K8sApplicationArrayOutput

func (K8sApplicationArrayOutput) ToK8sApplicationArrayOutputWithContext

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

type K8sApplicationInput

type K8sApplicationInput interface {
	pulumi.Input

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

type K8sApplicationMap

type K8sApplicationMap map[string]K8sApplicationInput

func (K8sApplicationMap) ElementType

func (K8sApplicationMap) ElementType() reflect.Type

func (K8sApplicationMap) ToK8sApplicationMapOutput

func (i K8sApplicationMap) ToK8sApplicationMapOutput() K8sApplicationMapOutput

func (K8sApplicationMap) ToK8sApplicationMapOutputWithContext

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

type K8sApplicationMapInput

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

type K8sApplicationMapOutput struct{ *pulumi.OutputState }

func (K8sApplicationMapOutput) ElementType

func (K8sApplicationMapOutput) ElementType() reflect.Type

func (K8sApplicationMapOutput) MapIndex

func (K8sApplicationMapOutput) ToK8sApplicationMapOutput

func (o K8sApplicationMapOutput) ToK8sApplicationMapOutput() K8sApplicationMapOutput

func (K8sApplicationMapOutput) ToK8sApplicationMapOutputWithContext

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

type K8sApplicationOutput

type K8sApplicationOutput struct{ *pulumi.OutputState }

func (K8sApplicationOutput) ApplicationDescriotion

func (o K8sApplicationOutput) ApplicationDescriotion() pulumi.StringPtrOutput

The description of the application

func (K8sApplicationOutput) ApplicationName

func (o K8sApplicationOutput) ApplicationName() pulumi.StringOutput

The name of the application you want to create. Must start with character,supports numbers, letters and dashes (-), supports up to 36 characters

func (K8sApplicationOutput) ClusterId

The ID of the alicloud container service kubernetes cluster that you want to import to. You can call the ListCluster operation to query.

func (K8sApplicationOutput) Command

The set command, if set, will replace the startup command in the mirror when the mirror is started.

func (K8sApplicationOutput) CommandArgs

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.

func (K8sApplicationOutput) EdasContainerVersion

func (o K8sApplicationOutput) EdasContainerVersion() pulumi.StringPtrOutput

EDAS-Container version that the deployed package depends on. Image does not support this parameter.

func (K8sApplicationOutput) ElementType

func (K8sApplicationOutput) ElementType() reflect.Type

func (K8sApplicationOutput) Envs

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.

func (K8sApplicationOutput) ImageUrl

Mirror address. When the packageType is set to 'Image', this parameter item is required.

func (K8sApplicationOutput) InternetSlbId deprecated

func (o K8sApplicationOutput) InternetSlbId() pulumi.StringPtrOutput

Public network SLB ID. If not configured, EDAS will automatically purchase a new SLB for the user.

Deprecated: Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

func (K8sApplicationOutput) InternetSlbPort deprecated

func (o K8sApplicationOutput) InternetSlbPort() pulumi.IntPtrOutput

The public network SLB front-end port, range 1~65535.

Deprecated: Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

func (K8sApplicationOutput) InternetSlbProtocol deprecated

func (o K8sApplicationOutput) InternetSlbProtocol() pulumi.StringPtrOutput

The public network SLB protocol supports TCP, HTTP and HTTPS protocols.

Deprecated: Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

func (K8sApplicationOutput) InternetTargetPort deprecated

func (o K8sApplicationOutput) InternetTargetPort() pulumi.IntPtrOutput

The private SLB back-end port, is also the service port of the application, ranging from 1 to 65535.

Deprecated: Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it

func (K8sApplicationOutput) Jdk

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.

func (K8sApplicationOutput) LimitMCpu

The CPU quota of the application instance during application operation. Unit: Number of millcores, set to 0 means unlimited, similar to request_cpu.

func (K8sApplicationOutput) LimitMem

The memory limit of the application instance during application operation, unit: M.

func (K8sApplicationOutput) Liveness

Container survival status monitoring, format such as: `{"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080} }`.

func (K8sApplicationOutput) LocalVolume

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.

func (K8sApplicationOutput) LogicalRegionId

func (o K8sApplicationOutput) LogicalRegionId() pulumi.StringPtrOutput

The ID corresponding to the EDAS namespace, the non-default namespace must be filled in.

func (K8sApplicationOutput) MountDescs

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.

func (K8sApplicationOutput) Namespace

The namespace of the K8s cluster, it will determine which K8s namespace your application is deployed in. The default is 'default'.

func (K8sApplicationOutput) NasId

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.

func (K8sApplicationOutput) PackageType

Application package type. Optional parameter values include: FatJar, WAR and Image.

func (K8sApplicationOutput) PackageUrl

The url of the package to deploy.Applications deployed through FatJar or WAR packages need to configure it.

func (K8sApplicationOutput) PackageVersion

func (o K8sApplicationOutput) PackageVersion() pulumi.StringOutput

The version number of the deployment package. WAR and FatJar types are required. Please customize its meaning.

func (K8sApplicationOutput) PostStart

Execute script after startup

func (K8sApplicationOutput) PreStop

Execute script before stopping

func (K8sApplicationOutput) Readiness

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"} ]}}`.

func (K8sApplicationOutput) Replicas

Number of application instances.

func (K8sApplicationOutput) RequestsMCpu

func (o K8sApplicationOutput) RequestsMCpu() pulumi.IntPtrOutput

When the application is created, the CPU quota of the application instance, unit: number of millcores, similar to request_cpu

func (K8sApplicationOutput) RequestsMem

func (o K8sApplicationOutput) RequestsMem() pulumi.IntPtrOutput

When the application is created, the memory limit of the application instance, unit: M. When set to 0, it means unlimited.

func (K8sApplicationOutput) ToK8sApplicationOutput

func (o K8sApplicationOutput) ToK8sApplicationOutput() K8sApplicationOutput

func (K8sApplicationOutput) ToK8sApplicationOutputWithContext

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

func (K8sApplicationOutput) WebContainer

func (o K8sApplicationOutput) WebContainer() pulumi.StringPtrOutput

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.

type K8sApplicationState

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.
	//
	// Deprecated: Field 'internet_slb_id' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it
	InternetSlbId pulumi.StringPtrInput
	// The public network SLB front-end port, range 1~65535.
	//
	// Deprecated: Field 'internet_slb_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it
	InternetSlbPort pulumi.IntPtrInput
	// The public network SLB protocol supports TCP, HTTP and HTTPS protocols.
	//
	// Deprecated: Field 'internet_slb_protocol' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it
	InternetSlbProtocol pulumi.StringPtrInput
	// The private SLB back-end port, is also the service port of the application, ranging from 1 to 65535.
	//
	// Deprecated: Field 'internet_target_port' has been deprecated, New Resource 'alicloud_edas_k8s_slb_attachment' replaces it
	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

func (K8sApplicationState) ElementType() reflect.Type

type K8sCluster

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/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/edas"

)

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

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

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

func (*K8sCluster) ElementType() reflect.Type

func (*K8sCluster) ToK8sClusterOutput

func (i *K8sCluster) ToK8sClusterOutput() K8sClusterOutput

func (*K8sCluster) ToK8sClusterOutputWithContext

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

type K8sClusterArgs

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

func (K8sClusterArgs) ElementType() reflect.Type

type K8sClusterArray

type K8sClusterArray []K8sClusterInput

func (K8sClusterArray) ElementType

func (K8sClusterArray) ElementType() reflect.Type

func (K8sClusterArray) ToK8sClusterArrayOutput

func (i K8sClusterArray) ToK8sClusterArrayOutput() K8sClusterArrayOutput

func (K8sClusterArray) ToK8sClusterArrayOutputWithContext

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

type K8sClusterArrayInput

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

type K8sClusterArrayOutput struct{ *pulumi.OutputState }

func (K8sClusterArrayOutput) ElementType

func (K8sClusterArrayOutput) ElementType() reflect.Type

func (K8sClusterArrayOutput) Index

func (K8sClusterArrayOutput) ToK8sClusterArrayOutput

func (o K8sClusterArrayOutput) ToK8sClusterArrayOutput() K8sClusterArrayOutput

func (K8sClusterArrayOutput) ToK8sClusterArrayOutputWithContext

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

type K8sClusterInput

type K8sClusterInput interface {
	pulumi.Input

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

type K8sClusterMap

type K8sClusterMap map[string]K8sClusterInput

func (K8sClusterMap) ElementType

func (K8sClusterMap) ElementType() reflect.Type

func (K8sClusterMap) ToK8sClusterMapOutput

func (i K8sClusterMap) ToK8sClusterMapOutput() K8sClusterMapOutput

func (K8sClusterMap) ToK8sClusterMapOutputWithContext

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

type K8sClusterMapInput

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

type K8sClusterMapOutput struct{ *pulumi.OutputState }

func (K8sClusterMapOutput) ElementType

func (K8sClusterMapOutput) ElementType() reflect.Type

func (K8sClusterMapOutput) MapIndex

func (K8sClusterMapOutput) ToK8sClusterMapOutput

func (o K8sClusterMapOutput) ToK8sClusterMapOutput() K8sClusterMapOutput

func (K8sClusterMapOutput) ToK8sClusterMapOutputWithContext

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

type K8sClusterOutput

type K8sClusterOutput struct{ *pulumi.OutputState }

func (K8sClusterOutput) ClusterImportStatus

func (o K8sClusterOutput) ClusterImportStatus() pulumi.IntOutput

The import status of cluster: `1`: success. `2`: failed. `3`: importing. `4`: deleted.

func (K8sClusterOutput) ClusterName

func (o K8sClusterOutput) ClusterName() pulumi.StringOutput

The name of the cluster that you want to create.

func (K8sClusterOutput) ClusterType

func (o K8sClusterOutput) ClusterType() pulumi.IntOutput

The type of the cluster that you want to create. Valid values only: 5: K8s cluster.

func (K8sClusterOutput) CsClusterId

func (o K8sClusterOutput) CsClusterId() pulumi.StringOutput

The ID of the alicloud container service kubernetes cluster that you want to import.

func (K8sClusterOutput) ElementType

func (K8sClusterOutput) ElementType() reflect.Type

func (K8sClusterOutput) NamespaceId

func (o K8sClusterOutput) NamespaceId() pulumi.StringPtrOutput

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.

func (K8sClusterOutput) NetworkMode

func (o K8sClusterOutput) NetworkMode() pulumi.IntOutput

The network type of the cluster that you want to create. Valid values: 1: classic network. 2: VPC.

func (K8sClusterOutput) ToK8sClusterOutput

func (o K8sClusterOutput) ToK8sClusterOutput() K8sClusterOutput

func (K8sClusterOutput) ToK8sClusterOutputWithContext

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

func (K8sClusterOutput) VpcId

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

type K8sClusterState

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

func (K8sClusterState) ElementType() reflect.Type

type Namespace

type Namespace struct {
	pulumi.CustomResourceState

	// Specifies whether to enable remote debugging.
	DebugEnable pulumi.BoolOutput `pulumi:"debugEnable"`
	// The description of the namespace, The description can be up to `128` characters in length.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ID of the namespace.
	// - The ID of a custom namespace is in the `region ID:namespace identifier` format. An example is `cn-beijing:tdy218`.
	// - The ID of the default namespace is in the `region ID` format. An example is cn-beijing.
	NamespaceLogicalId pulumi.StringOutput `pulumi:"namespaceLogicalId"`
	// The name of the namespace, The name can be up to `63` characters in length.
	NamespaceName pulumi.StringOutput `pulumi:"namespaceName"`
}

Provides a EDAS Namespace resource.

For information about EDAS Namespace and how to use it, see [What is Namespace](https://www.alibabacloud.com/help/en/enterprise-distributed-application-service/latest/insertorupdateregion).

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

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/edas"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := edas.NewNamespace(ctx, "example", &edas.NamespaceArgs{
			NamespaceLogicalId: pulumi.String("example_value"),
			NamespaceName:      pulumi.String("example_value"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import alicloud:edas/namespace:Namespace example <id>

```

func GetNamespace

func GetNamespace(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NamespaceState, opts ...pulumi.ResourceOption) (*Namespace, error)

GetNamespace gets an existing Namespace 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 NewNamespace

func NewNamespace(ctx *pulumi.Context,
	name string, args *NamespaceArgs, opts ...pulumi.ResourceOption) (*Namespace, error)

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

func (*Namespace) ElementType

func (*Namespace) ElementType() reflect.Type

func (*Namespace) ToNamespaceOutput

func (i *Namespace) ToNamespaceOutput() NamespaceOutput

func (*Namespace) ToNamespaceOutputWithContext

func (i *Namespace) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput

type NamespaceArgs

type NamespaceArgs struct {
	// Specifies whether to enable remote debugging.
	DebugEnable pulumi.BoolPtrInput
	// The description of the namespace, The description can be up to `128` characters in length.
	Description pulumi.StringPtrInput
	// The ID of the namespace.
	// - The ID of a custom namespace is in the `region ID:namespace identifier` format. An example is `cn-beijing:tdy218`.
	// - The ID of the default namespace is in the `region ID` format. An example is cn-beijing.
	NamespaceLogicalId pulumi.StringInput
	// The name of the namespace, The name can be up to `63` characters in length.
	NamespaceName pulumi.StringInput
}

The set of arguments for constructing a Namespace resource.

func (NamespaceArgs) ElementType

func (NamespaceArgs) ElementType() reflect.Type

type NamespaceArray

type NamespaceArray []NamespaceInput

func (NamespaceArray) ElementType

func (NamespaceArray) ElementType() reflect.Type

func (NamespaceArray) ToNamespaceArrayOutput

func (i NamespaceArray) ToNamespaceArrayOutput() NamespaceArrayOutput

func (NamespaceArray) ToNamespaceArrayOutputWithContext

func (i NamespaceArray) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput

type NamespaceArrayInput

type NamespaceArrayInput interface {
	pulumi.Input

	ToNamespaceArrayOutput() NamespaceArrayOutput
	ToNamespaceArrayOutputWithContext(context.Context) NamespaceArrayOutput
}

NamespaceArrayInput is an input type that accepts NamespaceArray and NamespaceArrayOutput values. You can construct a concrete instance of `NamespaceArrayInput` via:

NamespaceArray{ NamespaceArgs{...} }

type NamespaceArrayOutput

type NamespaceArrayOutput struct{ *pulumi.OutputState }

func (NamespaceArrayOutput) ElementType

func (NamespaceArrayOutput) ElementType() reflect.Type

func (NamespaceArrayOutput) Index

func (NamespaceArrayOutput) ToNamespaceArrayOutput

func (o NamespaceArrayOutput) ToNamespaceArrayOutput() NamespaceArrayOutput

func (NamespaceArrayOutput) ToNamespaceArrayOutputWithContext

func (o NamespaceArrayOutput) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput

type NamespaceInput

type NamespaceInput interface {
	pulumi.Input

	ToNamespaceOutput() NamespaceOutput
	ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput
}

type NamespaceMap

type NamespaceMap map[string]NamespaceInput

func (NamespaceMap) ElementType

func (NamespaceMap) ElementType() reflect.Type

func (NamespaceMap) ToNamespaceMapOutput

func (i NamespaceMap) ToNamespaceMapOutput() NamespaceMapOutput

func (NamespaceMap) ToNamespaceMapOutputWithContext

func (i NamespaceMap) ToNamespaceMapOutputWithContext(ctx context.Context) NamespaceMapOutput

type NamespaceMapInput

type NamespaceMapInput interface {
	pulumi.Input

	ToNamespaceMapOutput() NamespaceMapOutput
	ToNamespaceMapOutputWithContext(context.Context) NamespaceMapOutput
}

NamespaceMapInput is an input type that accepts NamespaceMap and NamespaceMapOutput values. You can construct a concrete instance of `NamespaceMapInput` via:

NamespaceMap{ "key": NamespaceArgs{...} }

type NamespaceMapOutput

type NamespaceMapOutput struct{ *pulumi.OutputState }

func (NamespaceMapOutput) ElementType

func (NamespaceMapOutput) ElementType() reflect.Type

func (NamespaceMapOutput) MapIndex

func (NamespaceMapOutput) ToNamespaceMapOutput

func (o NamespaceMapOutput) ToNamespaceMapOutput() NamespaceMapOutput

func (NamespaceMapOutput) ToNamespaceMapOutputWithContext

func (o NamespaceMapOutput) ToNamespaceMapOutputWithContext(ctx context.Context) NamespaceMapOutput

type NamespaceOutput

type NamespaceOutput struct{ *pulumi.OutputState }

func (NamespaceOutput) DebugEnable

func (o NamespaceOutput) DebugEnable() pulumi.BoolOutput

Specifies whether to enable remote debugging.

func (NamespaceOutput) Description

func (o NamespaceOutput) Description() pulumi.StringPtrOutput

The description of the namespace, The description can be up to `128` characters in length.

func (NamespaceOutput) ElementType

func (NamespaceOutput) ElementType() reflect.Type

func (NamespaceOutput) NamespaceLogicalId

func (o NamespaceOutput) NamespaceLogicalId() pulumi.StringOutput

The ID of the namespace. - The ID of a custom namespace is in the `region ID:namespace identifier` format. An example is `cn-beijing:tdy218`. - The ID of the default namespace is in the `region ID` format. An example is cn-beijing.

func (NamespaceOutput) NamespaceName

func (o NamespaceOutput) NamespaceName() pulumi.StringOutput

The name of the namespace, The name can be up to `63` characters in length.

func (NamespaceOutput) ToNamespaceOutput

func (o NamespaceOutput) ToNamespaceOutput() NamespaceOutput

func (NamespaceOutput) ToNamespaceOutputWithContext

func (o NamespaceOutput) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput

type NamespaceState

type NamespaceState struct {
	// Specifies whether to enable remote debugging.
	DebugEnable pulumi.BoolPtrInput
	// The description of the namespace, The description can be up to `128` characters in length.
	Description pulumi.StringPtrInput
	// The ID of the namespace.
	// - The ID of a custom namespace is in the `region ID:namespace identifier` format. An example is `cn-beijing:tdy218`.
	// - The ID of the default namespace is in the `region ID` format. An example is cn-beijing.
	NamespaceLogicalId pulumi.StringPtrInput
	// The name of the namespace, The name can be up to `63` characters in length.
	NamespaceName pulumi.StringPtrInput
}

func (NamespaceState) ElementType

func (NamespaceState) ElementType() reflect.Type

type SlbAttachment

type SlbAttachment struct {
	pulumi.CustomResourceState

	// The ID of the application 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 forward 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/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/edas"

)

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

func (*SlbAttachment) ElementType() reflect.Type

func (*SlbAttachment) ToSlbAttachmentOutput

func (i *SlbAttachment) ToSlbAttachmentOutput() SlbAttachmentOutput

func (*SlbAttachment) ToSlbAttachmentOutputWithContext

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

type SlbAttachmentArgs

type SlbAttachmentArgs struct {
	// The ID of the application 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

type SlbAttachmentArray []SlbAttachmentInput

func (SlbAttachmentArray) ElementType

func (SlbAttachmentArray) ElementType() reflect.Type

func (SlbAttachmentArray) ToSlbAttachmentArrayOutput

func (i SlbAttachmentArray) ToSlbAttachmentArrayOutput() SlbAttachmentArrayOutput

func (SlbAttachmentArray) ToSlbAttachmentArrayOutputWithContext

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

type SlbAttachmentArrayInput

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

type SlbAttachmentArrayOutput struct{ *pulumi.OutputState }

func (SlbAttachmentArrayOutput) ElementType

func (SlbAttachmentArrayOutput) ElementType() reflect.Type

func (SlbAttachmentArrayOutput) Index

func (SlbAttachmentArrayOutput) ToSlbAttachmentArrayOutput

func (o SlbAttachmentArrayOutput) ToSlbAttachmentArrayOutput() SlbAttachmentArrayOutput

func (SlbAttachmentArrayOutput) ToSlbAttachmentArrayOutputWithContext

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

type SlbAttachmentInput

type SlbAttachmentInput interface {
	pulumi.Input

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

type SlbAttachmentMap

type SlbAttachmentMap map[string]SlbAttachmentInput

func (SlbAttachmentMap) ElementType

func (SlbAttachmentMap) ElementType() reflect.Type

func (SlbAttachmentMap) ToSlbAttachmentMapOutput

func (i SlbAttachmentMap) ToSlbAttachmentMapOutput() SlbAttachmentMapOutput

func (SlbAttachmentMap) ToSlbAttachmentMapOutputWithContext

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

type SlbAttachmentMapInput

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

type SlbAttachmentMapOutput struct{ *pulumi.OutputState }

func (SlbAttachmentMapOutput) ElementType

func (SlbAttachmentMapOutput) ElementType() reflect.Type

func (SlbAttachmentMapOutput) MapIndex

func (SlbAttachmentMapOutput) ToSlbAttachmentMapOutput

func (o SlbAttachmentMapOutput) ToSlbAttachmentMapOutput() SlbAttachmentMapOutput

func (SlbAttachmentMapOutput) ToSlbAttachmentMapOutputWithContext

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

type SlbAttachmentOutput

type SlbAttachmentOutput struct{ *pulumi.OutputState }

func (SlbAttachmentOutput) AppId

The ID of the application to which you want to bind an SLB instance.

func (SlbAttachmentOutput) ElementType

func (SlbAttachmentOutput) ElementType() reflect.Type

func (SlbAttachmentOutput) ListenerPort

func (o SlbAttachmentOutput) ListenerPort() pulumi.IntPtrOutput

The listening port for the bound SLB instance.

func (SlbAttachmentOutput) SlbId

The ID of the SLB instance that is going to be bound.

func (SlbAttachmentOutput) SlbIp

The IP address that is allocated to the bound SLB instance.

func (SlbAttachmentOutput) SlbStatus

func (o SlbAttachmentOutput) SlbStatus() pulumi.StringOutput

Running Status of SLB instance. Inactive:The instance is stopped, and listener will not monitor and forward 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.

func (SlbAttachmentOutput) ToSlbAttachmentOutput

func (o SlbAttachmentOutput) ToSlbAttachmentOutput() SlbAttachmentOutput

func (SlbAttachmentOutput) ToSlbAttachmentOutputWithContext

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

func (SlbAttachmentOutput) Type

The type of the bound SLB instance.

func (SlbAttachmentOutput) VserverGroupId

func (o SlbAttachmentOutput) VserverGroupId() pulumi.StringPtrOutput

The ID of the virtual server (VServer) group associated with the intranet SLB instance.

func (SlbAttachmentOutput) VswitchId

func (o SlbAttachmentOutput) VswitchId() pulumi.StringOutput

VPC related vswitch ID.

type SlbAttachmentState

type SlbAttachmentState struct {
	// The ID of the application 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 forward 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