ecs

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AvailableResourcesArgs added in v0.0.20

type AvailableResourcesArgs struct {
	// The type of resource to query. Valid values: `InstanceType`, `DedicatedHost`.
	DestinationResource string `pulumi:"destinationResource"`
	// The charge type of instance. Valid values: `PostPaid`, `PrePaid`, `ReservedInstance`. Default is `PostPaid`.
	InstanceChargeType *string `pulumi:"instanceChargeType"`
	// The id of instance type.
	InstanceTypeId *string `pulumi:"instanceTypeId"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The spot strategy of PostPaid instance. Valid values: `NoSpot`, `SpotAsPriceGo`. Default is `NoSpot`.
	SpotStrategy *string `pulumi:"spotStrategy"`
	// The id of available zone.
	ZoneId *string `pulumi:"zoneId"`
}

A collection of arguments for invoking AvailableResources.

type AvailableResourcesAvailableZone added in v0.0.20

type AvailableResourcesAvailableZone struct {
	// The resource information of the available zone.
	AvailableResources []AvailableResourcesAvailableZoneAvailableResource `pulumi:"availableResources"`
	// The id of the region.
	RegionId string `pulumi:"regionId"`
	// The resource status of the available zone. Valid values: `Available`, `SoldOut`.
	Status string `pulumi:"status"`
	// The id of available zone.
	ZoneId string `pulumi:"zoneId"`
}

type AvailableResourcesAvailableZoneArgs added in v0.0.20

type AvailableResourcesAvailableZoneArgs struct {
	// The resource information of the available zone.
	AvailableResources AvailableResourcesAvailableZoneAvailableResourceArrayInput `pulumi:"availableResources"`
	// The id of the region.
	RegionId pulumi.StringInput `pulumi:"regionId"`
	// The resource status of the available zone. Valid values: `Available`, `SoldOut`.
	Status pulumi.StringInput `pulumi:"status"`
	// The id of available zone.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (AvailableResourcesAvailableZoneArgs) ElementType added in v0.0.20

func (AvailableResourcesAvailableZoneArgs) ToAvailableResourcesAvailableZoneOutput added in v0.0.20

func (i AvailableResourcesAvailableZoneArgs) ToAvailableResourcesAvailableZoneOutput() AvailableResourcesAvailableZoneOutput

func (AvailableResourcesAvailableZoneArgs) ToAvailableResourcesAvailableZoneOutputWithContext added in v0.0.20

func (i AvailableResourcesAvailableZoneArgs) ToAvailableResourcesAvailableZoneOutputWithContext(ctx context.Context) AvailableResourcesAvailableZoneOutput

type AvailableResourcesAvailableZoneArray added in v0.0.20

type AvailableResourcesAvailableZoneArray []AvailableResourcesAvailableZoneInput

func (AvailableResourcesAvailableZoneArray) ElementType added in v0.0.20

func (AvailableResourcesAvailableZoneArray) ToAvailableResourcesAvailableZoneArrayOutput added in v0.0.20

func (i AvailableResourcesAvailableZoneArray) ToAvailableResourcesAvailableZoneArrayOutput() AvailableResourcesAvailableZoneArrayOutput

func (AvailableResourcesAvailableZoneArray) ToAvailableResourcesAvailableZoneArrayOutputWithContext added in v0.0.20

func (i AvailableResourcesAvailableZoneArray) ToAvailableResourcesAvailableZoneArrayOutputWithContext(ctx context.Context) AvailableResourcesAvailableZoneArrayOutput

type AvailableResourcesAvailableZoneArrayInput added in v0.0.20

type AvailableResourcesAvailableZoneArrayInput interface {
	pulumi.Input

	ToAvailableResourcesAvailableZoneArrayOutput() AvailableResourcesAvailableZoneArrayOutput
	ToAvailableResourcesAvailableZoneArrayOutputWithContext(context.Context) AvailableResourcesAvailableZoneArrayOutput
}

AvailableResourcesAvailableZoneArrayInput is an input type that accepts AvailableResourcesAvailableZoneArray and AvailableResourcesAvailableZoneArrayOutput values. You can construct a concrete instance of `AvailableResourcesAvailableZoneArrayInput` via:

AvailableResourcesAvailableZoneArray{ AvailableResourcesAvailableZoneArgs{...} }

type AvailableResourcesAvailableZoneArrayOutput added in v0.0.20

type AvailableResourcesAvailableZoneArrayOutput struct{ *pulumi.OutputState }

func (AvailableResourcesAvailableZoneArrayOutput) ElementType added in v0.0.20

func (AvailableResourcesAvailableZoneArrayOutput) Index added in v0.0.20

func (AvailableResourcesAvailableZoneArrayOutput) ToAvailableResourcesAvailableZoneArrayOutput added in v0.0.20

func (o AvailableResourcesAvailableZoneArrayOutput) ToAvailableResourcesAvailableZoneArrayOutput() AvailableResourcesAvailableZoneArrayOutput

func (AvailableResourcesAvailableZoneArrayOutput) ToAvailableResourcesAvailableZoneArrayOutputWithContext added in v0.0.20

func (o AvailableResourcesAvailableZoneArrayOutput) ToAvailableResourcesAvailableZoneArrayOutputWithContext(ctx context.Context) AvailableResourcesAvailableZoneArrayOutput

type AvailableResourcesAvailableZoneAvailableResource added in v0.0.20

type AvailableResourcesAvailableZoneAvailableResource struct {
	// The supported resource information.
	SupportedResources []AvailableResourcesAvailableZoneAvailableResourceSupportedResource `pulumi:"supportedResources"`
	// The type of resource. Valid values: `InstanceType`, `DedicatedHost`.
	Type string `pulumi:"type"`
}

type AvailableResourcesAvailableZoneAvailableResourceArgs added in v0.0.20

type AvailableResourcesAvailableZoneAvailableResourceArgs struct {
	// The supported resource information.
	SupportedResources AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArrayInput `pulumi:"supportedResources"`
	// The type of resource. Valid values: `InstanceType`, `DedicatedHost`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (AvailableResourcesAvailableZoneAvailableResourceArgs) ElementType added in v0.0.20

func (AvailableResourcesAvailableZoneAvailableResourceArgs) ToAvailableResourcesAvailableZoneAvailableResourceOutput added in v0.0.20

func (i AvailableResourcesAvailableZoneAvailableResourceArgs) ToAvailableResourcesAvailableZoneAvailableResourceOutput() AvailableResourcesAvailableZoneAvailableResourceOutput

func (AvailableResourcesAvailableZoneAvailableResourceArgs) ToAvailableResourcesAvailableZoneAvailableResourceOutputWithContext added in v0.0.20

func (i AvailableResourcesAvailableZoneAvailableResourceArgs) ToAvailableResourcesAvailableZoneAvailableResourceOutputWithContext(ctx context.Context) AvailableResourcesAvailableZoneAvailableResourceOutput

type AvailableResourcesAvailableZoneAvailableResourceArray added in v0.0.20

type AvailableResourcesAvailableZoneAvailableResourceArray []AvailableResourcesAvailableZoneAvailableResourceInput

func (AvailableResourcesAvailableZoneAvailableResourceArray) ElementType added in v0.0.20

func (AvailableResourcesAvailableZoneAvailableResourceArray) ToAvailableResourcesAvailableZoneAvailableResourceArrayOutput added in v0.0.20

func (i AvailableResourcesAvailableZoneAvailableResourceArray) ToAvailableResourcesAvailableZoneAvailableResourceArrayOutput() AvailableResourcesAvailableZoneAvailableResourceArrayOutput

func (AvailableResourcesAvailableZoneAvailableResourceArray) ToAvailableResourcesAvailableZoneAvailableResourceArrayOutputWithContext added in v0.0.20

func (i AvailableResourcesAvailableZoneAvailableResourceArray) ToAvailableResourcesAvailableZoneAvailableResourceArrayOutputWithContext(ctx context.Context) AvailableResourcesAvailableZoneAvailableResourceArrayOutput

type AvailableResourcesAvailableZoneAvailableResourceArrayInput added in v0.0.20

type AvailableResourcesAvailableZoneAvailableResourceArrayInput interface {
	pulumi.Input

	ToAvailableResourcesAvailableZoneAvailableResourceArrayOutput() AvailableResourcesAvailableZoneAvailableResourceArrayOutput
	ToAvailableResourcesAvailableZoneAvailableResourceArrayOutputWithContext(context.Context) AvailableResourcesAvailableZoneAvailableResourceArrayOutput
}

AvailableResourcesAvailableZoneAvailableResourceArrayInput is an input type that accepts AvailableResourcesAvailableZoneAvailableResourceArray and AvailableResourcesAvailableZoneAvailableResourceArrayOutput values. You can construct a concrete instance of `AvailableResourcesAvailableZoneAvailableResourceArrayInput` via:

AvailableResourcesAvailableZoneAvailableResourceArray{ AvailableResourcesAvailableZoneAvailableResourceArgs{...} }

type AvailableResourcesAvailableZoneAvailableResourceArrayOutput added in v0.0.20

type AvailableResourcesAvailableZoneAvailableResourceArrayOutput struct{ *pulumi.OutputState }

func (AvailableResourcesAvailableZoneAvailableResourceArrayOutput) ElementType added in v0.0.20

func (AvailableResourcesAvailableZoneAvailableResourceArrayOutput) Index added in v0.0.20

func (AvailableResourcesAvailableZoneAvailableResourceArrayOutput) ToAvailableResourcesAvailableZoneAvailableResourceArrayOutput added in v0.0.20

func (AvailableResourcesAvailableZoneAvailableResourceArrayOutput) ToAvailableResourcesAvailableZoneAvailableResourceArrayOutputWithContext added in v0.0.20

func (o AvailableResourcesAvailableZoneAvailableResourceArrayOutput) ToAvailableResourcesAvailableZoneAvailableResourceArrayOutputWithContext(ctx context.Context) AvailableResourcesAvailableZoneAvailableResourceArrayOutput

type AvailableResourcesAvailableZoneAvailableResourceInput added in v0.0.20

type AvailableResourcesAvailableZoneAvailableResourceInput interface {
	pulumi.Input

	ToAvailableResourcesAvailableZoneAvailableResourceOutput() AvailableResourcesAvailableZoneAvailableResourceOutput
	ToAvailableResourcesAvailableZoneAvailableResourceOutputWithContext(context.Context) AvailableResourcesAvailableZoneAvailableResourceOutput
}

AvailableResourcesAvailableZoneAvailableResourceInput is an input type that accepts AvailableResourcesAvailableZoneAvailableResourceArgs and AvailableResourcesAvailableZoneAvailableResourceOutput values. You can construct a concrete instance of `AvailableResourcesAvailableZoneAvailableResourceInput` via:

AvailableResourcesAvailableZoneAvailableResourceArgs{...}

type AvailableResourcesAvailableZoneAvailableResourceOutput added in v0.0.20

type AvailableResourcesAvailableZoneAvailableResourceOutput struct{ *pulumi.OutputState }

func (AvailableResourcesAvailableZoneAvailableResourceOutput) ElementType added in v0.0.20

func (AvailableResourcesAvailableZoneAvailableResourceOutput) SupportedResources added in v0.0.20

The supported resource information.

func (AvailableResourcesAvailableZoneAvailableResourceOutput) ToAvailableResourcesAvailableZoneAvailableResourceOutput added in v0.0.20

func (AvailableResourcesAvailableZoneAvailableResourceOutput) ToAvailableResourcesAvailableZoneAvailableResourceOutputWithContext added in v0.0.20

func (o AvailableResourcesAvailableZoneAvailableResourceOutput) ToAvailableResourcesAvailableZoneAvailableResourceOutputWithContext(ctx context.Context) AvailableResourcesAvailableZoneAvailableResourceOutput

func (AvailableResourcesAvailableZoneAvailableResourceOutput) Type added in v0.0.20

The type of resource. Valid values: `InstanceType`, `DedicatedHost`.

type AvailableResourcesAvailableZoneAvailableResourceSupportedResource added in v0.0.20

type AvailableResourcesAvailableZoneAvailableResourceSupportedResource struct {
	// The resource status of the available zone. Valid values: `Available`, `SoldOut`.
	Status string `pulumi:"status"`
	// The value of the resource.
	Value string `pulumi:"value"`
}

type AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArgs added in v0.0.20

type AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArgs struct {
	// The resource status of the available zone. Valid values: `Available`, `SoldOut`.
	Status pulumi.StringInput `pulumi:"status"`
	// The value of the resource.
	Value pulumi.StringInput `pulumi:"value"`
}

func (AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArgs) ElementType added in v0.0.20

func (AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArgs) ToAvailableResourcesAvailableZoneAvailableResourceSupportedResourceOutput added in v0.0.20

func (AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArgs) ToAvailableResourcesAvailableZoneAvailableResourceSupportedResourceOutputWithContext added in v0.0.20

func (i AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArgs) ToAvailableResourcesAvailableZoneAvailableResourceSupportedResourceOutputWithContext(ctx context.Context) AvailableResourcesAvailableZoneAvailableResourceSupportedResourceOutput

type AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArray added in v0.0.20

type AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArray []AvailableResourcesAvailableZoneAvailableResourceSupportedResourceInput

func (AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArray) ElementType added in v0.0.20

func (AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArray) ToAvailableResourcesAvailableZoneAvailableResourceSupportedResourceArrayOutput added in v0.0.20

func (AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArray) ToAvailableResourcesAvailableZoneAvailableResourceSupportedResourceArrayOutputWithContext added in v0.0.20

func (i AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArray) ToAvailableResourcesAvailableZoneAvailableResourceSupportedResourceArrayOutputWithContext(ctx context.Context) AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArrayOutput

type AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArrayInput added in v0.0.20

type AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArrayInput interface {
	pulumi.Input

	ToAvailableResourcesAvailableZoneAvailableResourceSupportedResourceArrayOutput() AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArrayOutput
	ToAvailableResourcesAvailableZoneAvailableResourceSupportedResourceArrayOutputWithContext(context.Context) AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArrayOutput
}

AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArrayInput is an input type that accepts AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArray and AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArrayOutput values. You can construct a concrete instance of `AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArrayInput` via:

AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArray{ AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArgs{...} }

type AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArrayOutput added in v0.0.20

type AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArrayOutput struct{ *pulumi.OutputState }

func (AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArrayOutput) ElementType added in v0.0.20

func (AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArrayOutput) Index added in v0.0.20

func (AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArrayOutput) ToAvailableResourcesAvailableZoneAvailableResourceSupportedResourceArrayOutput added in v0.0.20

func (AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArrayOutput) ToAvailableResourcesAvailableZoneAvailableResourceSupportedResourceArrayOutputWithContext added in v0.0.20

type AvailableResourcesAvailableZoneAvailableResourceSupportedResourceInput added in v0.0.20

type AvailableResourcesAvailableZoneAvailableResourceSupportedResourceInput interface {
	pulumi.Input

	ToAvailableResourcesAvailableZoneAvailableResourceSupportedResourceOutput() AvailableResourcesAvailableZoneAvailableResourceSupportedResourceOutput
	ToAvailableResourcesAvailableZoneAvailableResourceSupportedResourceOutputWithContext(context.Context) AvailableResourcesAvailableZoneAvailableResourceSupportedResourceOutput
}

AvailableResourcesAvailableZoneAvailableResourceSupportedResourceInput is an input type that accepts AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArgs and AvailableResourcesAvailableZoneAvailableResourceSupportedResourceOutput values. You can construct a concrete instance of `AvailableResourcesAvailableZoneAvailableResourceSupportedResourceInput` via:

AvailableResourcesAvailableZoneAvailableResourceSupportedResourceArgs{...}

type AvailableResourcesAvailableZoneAvailableResourceSupportedResourceOutput added in v0.0.20

type AvailableResourcesAvailableZoneAvailableResourceSupportedResourceOutput struct{ *pulumi.OutputState }

func (AvailableResourcesAvailableZoneAvailableResourceSupportedResourceOutput) ElementType added in v0.0.20

func (AvailableResourcesAvailableZoneAvailableResourceSupportedResourceOutput) Status added in v0.0.20

The resource status of the available zone. Valid values: `Available`, `SoldOut`.

func (AvailableResourcesAvailableZoneAvailableResourceSupportedResourceOutput) ToAvailableResourcesAvailableZoneAvailableResourceSupportedResourceOutput added in v0.0.20

func (AvailableResourcesAvailableZoneAvailableResourceSupportedResourceOutput) ToAvailableResourcesAvailableZoneAvailableResourceSupportedResourceOutputWithContext added in v0.0.20

func (o AvailableResourcesAvailableZoneAvailableResourceSupportedResourceOutput) ToAvailableResourcesAvailableZoneAvailableResourceSupportedResourceOutputWithContext(ctx context.Context) AvailableResourcesAvailableZoneAvailableResourceSupportedResourceOutput

func (AvailableResourcesAvailableZoneAvailableResourceSupportedResourceOutput) Value added in v0.0.20

The value of the resource.

type AvailableResourcesAvailableZoneInput added in v0.0.20

type AvailableResourcesAvailableZoneInput interface {
	pulumi.Input

	ToAvailableResourcesAvailableZoneOutput() AvailableResourcesAvailableZoneOutput
	ToAvailableResourcesAvailableZoneOutputWithContext(context.Context) AvailableResourcesAvailableZoneOutput
}

AvailableResourcesAvailableZoneInput is an input type that accepts AvailableResourcesAvailableZoneArgs and AvailableResourcesAvailableZoneOutput values. You can construct a concrete instance of `AvailableResourcesAvailableZoneInput` via:

AvailableResourcesAvailableZoneArgs{...}

type AvailableResourcesAvailableZoneOutput added in v0.0.20

type AvailableResourcesAvailableZoneOutput struct{ *pulumi.OutputState }

func (AvailableResourcesAvailableZoneOutput) AvailableResources added in v0.0.20

The resource information of the available zone.

func (AvailableResourcesAvailableZoneOutput) ElementType added in v0.0.20

func (AvailableResourcesAvailableZoneOutput) RegionId added in v0.0.20

The id of the region.

func (AvailableResourcesAvailableZoneOutput) Status added in v0.0.20

The resource status of the available zone. Valid values: `Available`, `SoldOut`.

func (AvailableResourcesAvailableZoneOutput) ToAvailableResourcesAvailableZoneOutput added in v0.0.20

func (o AvailableResourcesAvailableZoneOutput) ToAvailableResourcesAvailableZoneOutput() AvailableResourcesAvailableZoneOutput

func (AvailableResourcesAvailableZoneOutput) ToAvailableResourcesAvailableZoneOutputWithContext added in v0.0.20

func (o AvailableResourcesAvailableZoneOutput) ToAvailableResourcesAvailableZoneOutputWithContext(ctx context.Context) AvailableResourcesAvailableZoneOutput

func (AvailableResourcesAvailableZoneOutput) ZoneId added in v0.0.20

The id of available zone.

type AvailableResourcesOutputArgs added in v0.0.20

type AvailableResourcesOutputArgs struct {
	// The type of resource to query. Valid values: `InstanceType`, `DedicatedHost`.
	DestinationResource pulumi.StringInput `pulumi:"destinationResource"`
	// The charge type of instance. Valid values: `PostPaid`, `PrePaid`, `ReservedInstance`. Default is `PostPaid`.
	InstanceChargeType pulumi.StringPtrInput `pulumi:"instanceChargeType"`
	// The id of instance type.
	InstanceTypeId pulumi.StringPtrInput `pulumi:"instanceTypeId"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The spot strategy of PostPaid instance. Valid values: `NoSpot`, `SpotAsPriceGo`. Default is `NoSpot`.
	SpotStrategy pulumi.StringPtrInput `pulumi:"spotStrategy"`
	// The id of available zone.
	ZoneId pulumi.StringPtrInput `pulumi:"zoneId"`
}

A collection of arguments for invoking AvailableResources.

func (AvailableResourcesOutputArgs) ElementType added in v0.0.20

type AvailableResourcesResult added in v0.0.20

type AvailableResourcesResult struct {
	// The collection of query.
	AvailableZones      []AvailableResourcesAvailableZone `pulumi:"availableZones"`
	DestinationResource string                            `pulumi:"destinationResource"`
	// The provider-assigned unique ID for this managed resource.
	Id                 string  `pulumi:"id"`
	InstanceChargeType *string `pulumi:"instanceChargeType"`
	InstanceTypeId     *string `pulumi:"instanceTypeId"`
	OutputFile         *string `pulumi:"outputFile"`
	SpotStrategy       *string `pulumi:"spotStrategy"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
	// The id of the available zone.
	ZoneId *string `pulumi:"zoneId"`
}

A collection of values returned by AvailableResources.

func AvailableResources added in v0.0.20

func AvailableResources(ctx *pulumi.Context, args *AvailableResourcesArgs, opts ...pulumi.InvokeOption) (*AvailableResourcesResult, error)

Use this data source to query detailed information of ecs available resources ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.AvailableResources(ctx, &ecs.AvailableResourcesArgs{
			DestinationResource: "InstanceType",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type AvailableResourcesResultOutput added in v0.0.20

type AvailableResourcesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by AvailableResources.

func AvailableResourcesOutput added in v0.0.20

func (AvailableResourcesResultOutput) AvailableZones added in v0.0.20

The collection of query.

func (AvailableResourcesResultOutput) DestinationResource added in v0.0.20

func (o AvailableResourcesResultOutput) DestinationResource() pulumi.StringOutput

func (AvailableResourcesResultOutput) ElementType added in v0.0.20

func (AvailableResourcesResultOutput) Id added in v0.0.20

The provider-assigned unique ID for this managed resource.

func (AvailableResourcesResultOutput) InstanceChargeType added in v0.0.20

func (o AvailableResourcesResultOutput) InstanceChargeType() pulumi.StringPtrOutput

func (AvailableResourcesResultOutput) InstanceTypeId added in v0.0.20

func (AvailableResourcesResultOutput) OutputFile added in v0.0.20

func (AvailableResourcesResultOutput) SpotStrategy added in v0.0.20

func (AvailableResourcesResultOutput) ToAvailableResourcesResultOutput added in v0.0.20

func (o AvailableResourcesResultOutput) ToAvailableResourcesResultOutput() AvailableResourcesResultOutput

func (AvailableResourcesResultOutput) ToAvailableResourcesResultOutputWithContext added in v0.0.20

func (o AvailableResourcesResultOutput) ToAvailableResourcesResultOutputWithContext(ctx context.Context) AvailableResourcesResultOutput

func (AvailableResourcesResultOutput) TotalCount added in v0.0.20

The total count of query.

func (AvailableResourcesResultOutput) ZoneId added in v0.0.20

The id of the available zone.

type Command added in v0.0.18

type Command struct {
	pulumi.CustomResourceState

	// The base64 encoded content of the ecs command.
	CommandContent pulumi.StringOutput `pulumi:"commandContent"`
	// The create time of the ecs command.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The description of the ecs command.
	Description pulumi.StringOutput `pulumi:"description"`
	// The invocation times of the ecs command. Public commands do not display the invocation times.
	InvocationTimes pulumi.IntOutput `pulumi:"invocationTimes"`
	// The name of the ecs command.
	Name pulumi.StringOutput `pulumi:"name"`
	// The timeout of the ecs command. Valid value range: 10-600.
	Timeout pulumi.IntOutput `pulumi:"timeout"`
	// The update time of the ecs command.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
	// The username of the ecs command.
	Username pulumi.StringOutput `pulumi:"username"`
	// The working directory of the ecs command.
	WorkingDir pulumi.StringOutput `pulumi:"workingDir"`
}

Provides a resource to manage ecs command ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.NewCommand(ctx, "foo", &ecs.CommandArgs{
			CommandContent: pulumi.String("IyEvYmluL2Jhc2gKCgplY2hvICJvcGVyYXRpb24gc3VjY2VzcyEi"),
			Description:    pulumi.String("tf"),
			Timeout:        pulumi.Int(100),
			Username:       pulumi.String("root"),
			WorkingDir:     pulumi.String("/home"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

EcsCommand can be imported using the id, e.g.

```sh

$ pulumi import volcengine:ecs/command:Command default cmd-ychkepkhtim0tr3bcsw1

```

func GetCommand added in v0.0.18

func GetCommand(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CommandState, opts ...pulumi.ResourceOption) (*Command, error)

GetCommand gets an existing Command 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 NewCommand added in v0.0.18

func NewCommand(ctx *pulumi.Context,
	name string, args *CommandArgs, opts ...pulumi.ResourceOption) (*Command, error)

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

func (*Command) ElementType added in v0.0.18

func (*Command) ElementType() reflect.Type

func (*Command) ToCommandOutput added in v0.0.18

func (i *Command) ToCommandOutput() CommandOutput

func (*Command) ToCommandOutputWithContext added in v0.0.18

func (i *Command) ToCommandOutputWithContext(ctx context.Context) CommandOutput

type CommandArgs added in v0.0.18

type CommandArgs struct {
	// The base64 encoded content of the ecs command.
	CommandContent pulumi.StringInput
	// The description of the ecs command.
	Description pulumi.StringPtrInput
	// The name of the ecs command.
	Name pulumi.StringPtrInput
	// The timeout of the ecs command. Valid value range: 10-600.
	Timeout pulumi.IntPtrInput
	// The username of the ecs command.
	Username pulumi.StringPtrInput
	// The working directory of the ecs command.
	WorkingDir pulumi.StringPtrInput
}

The set of arguments for constructing a Command resource.

func (CommandArgs) ElementType added in v0.0.18

func (CommandArgs) ElementType() reflect.Type

type CommandArray added in v0.0.18

type CommandArray []CommandInput

func (CommandArray) ElementType added in v0.0.18

func (CommandArray) ElementType() reflect.Type

func (CommandArray) ToCommandArrayOutput added in v0.0.18

func (i CommandArray) ToCommandArrayOutput() CommandArrayOutput

func (CommandArray) ToCommandArrayOutputWithContext added in v0.0.18

func (i CommandArray) ToCommandArrayOutputWithContext(ctx context.Context) CommandArrayOutput

type CommandArrayInput added in v0.0.18

type CommandArrayInput interface {
	pulumi.Input

	ToCommandArrayOutput() CommandArrayOutput
	ToCommandArrayOutputWithContext(context.Context) CommandArrayOutput
}

CommandArrayInput is an input type that accepts CommandArray and CommandArrayOutput values. You can construct a concrete instance of `CommandArrayInput` via:

CommandArray{ CommandArgs{...} }

type CommandArrayOutput added in v0.0.18

type CommandArrayOutput struct{ *pulumi.OutputState }

func (CommandArrayOutput) ElementType added in v0.0.18

func (CommandArrayOutput) ElementType() reflect.Type

func (CommandArrayOutput) Index added in v0.0.18

func (CommandArrayOutput) ToCommandArrayOutput added in v0.0.18

func (o CommandArrayOutput) ToCommandArrayOutput() CommandArrayOutput

func (CommandArrayOutput) ToCommandArrayOutputWithContext added in v0.0.18

func (o CommandArrayOutput) ToCommandArrayOutputWithContext(ctx context.Context) CommandArrayOutput

type CommandInput added in v0.0.18

type CommandInput interface {
	pulumi.Input

	ToCommandOutput() CommandOutput
	ToCommandOutputWithContext(ctx context.Context) CommandOutput
}

type CommandMap added in v0.0.18

type CommandMap map[string]CommandInput

func (CommandMap) ElementType added in v0.0.18

func (CommandMap) ElementType() reflect.Type

func (CommandMap) ToCommandMapOutput added in v0.0.18

func (i CommandMap) ToCommandMapOutput() CommandMapOutput

func (CommandMap) ToCommandMapOutputWithContext added in v0.0.18

func (i CommandMap) ToCommandMapOutputWithContext(ctx context.Context) CommandMapOutput

type CommandMapInput added in v0.0.18

type CommandMapInput interface {
	pulumi.Input

	ToCommandMapOutput() CommandMapOutput
	ToCommandMapOutputWithContext(context.Context) CommandMapOutput
}

CommandMapInput is an input type that accepts CommandMap and CommandMapOutput values. You can construct a concrete instance of `CommandMapInput` via:

CommandMap{ "key": CommandArgs{...} }

type CommandMapOutput added in v0.0.18

type CommandMapOutput struct{ *pulumi.OutputState }

func (CommandMapOutput) ElementType added in v0.0.18

func (CommandMapOutput) ElementType() reflect.Type

func (CommandMapOutput) MapIndex added in v0.0.18

func (CommandMapOutput) ToCommandMapOutput added in v0.0.18

func (o CommandMapOutput) ToCommandMapOutput() CommandMapOutput

func (CommandMapOutput) ToCommandMapOutputWithContext added in v0.0.18

func (o CommandMapOutput) ToCommandMapOutputWithContext(ctx context.Context) CommandMapOutput

type CommandOutput added in v0.0.18

type CommandOutput struct{ *pulumi.OutputState }

func (CommandOutput) CommandContent added in v0.0.18

func (o CommandOutput) CommandContent() pulumi.StringOutput

The base64 encoded content of the ecs command.

func (CommandOutput) CreatedAt added in v0.0.18

func (o CommandOutput) CreatedAt() pulumi.StringOutput

The create time of the ecs command.

func (CommandOutput) Description added in v0.0.18

func (o CommandOutput) Description() pulumi.StringOutput

The description of the ecs command.

func (CommandOutput) ElementType added in v0.0.18

func (CommandOutput) ElementType() reflect.Type

func (CommandOutput) InvocationTimes added in v0.0.18

func (o CommandOutput) InvocationTimes() pulumi.IntOutput

The invocation times of the ecs command. Public commands do not display the invocation times.

func (CommandOutput) Name added in v0.0.18

The name of the ecs command.

func (CommandOutput) Timeout added in v0.0.18

func (o CommandOutput) Timeout() pulumi.IntOutput

The timeout of the ecs command. Valid value range: 10-600.

func (CommandOutput) ToCommandOutput added in v0.0.18

func (o CommandOutput) ToCommandOutput() CommandOutput

func (CommandOutput) ToCommandOutputWithContext added in v0.0.18

func (o CommandOutput) ToCommandOutputWithContext(ctx context.Context) CommandOutput

func (CommandOutput) UpdatedAt added in v0.0.18

func (o CommandOutput) UpdatedAt() pulumi.StringOutput

The update time of the ecs command.

func (CommandOutput) Username added in v0.0.18

func (o CommandOutput) Username() pulumi.StringOutput

The username of the ecs command.

func (CommandOutput) WorkingDir added in v0.0.18

func (o CommandOutput) WorkingDir() pulumi.StringOutput

The working directory of the ecs command.

type CommandState added in v0.0.18

type CommandState struct {
	// The base64 encoded content of the ecs command.
	CommandContent pulumi.StringPtrInput
	// The create time of the ecs command.
	CreatedAt pulumi.StringPtrInput
	// The description of the ecs command.
	Description pulumi.StringPtrInput
	// The invocation times of the ecs command. Public commands do not display the invocation times.
	InvocationTimes pulumi.IntPtrInput
	// The name of the ecs command.
	Name pulumi.StringPtrInput
	// The timeout of the ecs command. Valid value range: 10-600.
	Timeout pulumi.IntPtrInput
	// The update time of the ecs command.
	UpdatedAt pulumi.StringPtrInput
	// The username of the ecs command.
	Username pulumi.StringPtrInput
	// The working directory of the ecs command.
	WorkingDir pulumi.StringPtrInput
}

func (CommandState) ElementType added in v0.0.18

func (CommandState) ElementType() reflect.Type

type CommandsArgs added in v0.0.18

type CommandsArgs struct {
	// The id of ecs command.
	CommandId *string `pulumi:"commandId"`
	// The provider of public command. When this field is not specified, query for custom commands.
	CommandProvider *string `pulumi:"commandProvider"`
	// The name of ecs command. This field support fuzzy query.
	Name *string `pulumi:"name"`
	// A Name Regex of Resource.
	NameRegex *string `pulumi:"nameRegex"`
	// The order of ecs command query result.
	Order *string `pulumi:"order"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The type of ecs command. Valid values: `Shell`.
	Type *string `pulumi:"type"`
}

A collection of arguments for invoking Commands.

type CommandsCommand added in v0.0.18

type CommandsCommand struct {
	// The base64 encoded content of the ecs command.
	CommandContent string `pulumi:"commandContent"`
	// The id of ecs command.
	CommandId string `pulumi:"commandId"`
	// The provider of public command. When this field is not specified, query for custom commands.
	CommandProvider string `pulumi:"commandProvider"`
	// The create time of the ecs command.
	CreatedAt string `pulumi:"createdAt"`
	// The description of the ecs command.
	Description string `pulumi:"description"`
	// The id of the ecs command.
	Id string `pulumi:"id"`
	// The invocation times of the ecs command. Public commands do not display the invocation times.
	InvocationTimes int `pulumi:"invocationTimes"`
	// The name of ecs command. This field support fuzzy query.
	Name string `pulumi:"name"`
	// The timeout of the ecs command.
	Timeout int `pulumi:"timeout"`
	// The type of ecs command. Valid values: `Shell`.
	Type string `pulumi:"type"`
	// The update time of the ecs command.
	UpdatedAt string `pulumi:"updatedAt"`
	// The username of the ecs command.
	Username string `pulumi:"username"`
	// The working directory of the ecs command.
	WorkingDir string `pulumi:"workingDir"`
}

type CommandsCommandArgs added in v0.0.18

type CommandsCommandArgs struct {
	// The base64 encoded content of the ecs command.
	CommandContent pulumi.StringInput `pulumi:"commandContent"`
	// The id of ecs command.
	CommandId pulumi.StringInput `pulumi:"commandId"`
	// The provider of public command. When this field is not specified, query for custom commands.
	CommandProvider pulumi.StringInput `pulumi:"commandProvider"`
	// The create time of the ecs command.
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// The description of the ecs command.
	Description pulumi.StringInput `pulumi:"description"`
	// The id of the ecs command.
	Id pulumi.StringInput `pulumi:"id"`
	// The invocation times of the ecs command. Public commands do not display the invocation times.
	InvocationTimes pulumi.IntInput `pulumi:"invocationTimes"`
	// The name of ecs command. This field support fuzzy query.
	Name pulumi.StringInput `pulumi:"name"`
	// The timeout of the ecs command.
	Timeout pulumi.IntInput `pulumi:"timeout"`
	// The type of ecs command. Valid values: `Shell`.
	Type pulumi.StringInput `pulumi:"type"`
	// The update time of the ecs command.
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
	// The username of the ecs command.
	Username pulumi.StringInput `pulumi:"username"`
	// The working directory of the ecs command.
	WorkingDir pulumi.StringInput `pulumi:"workingDir"`
}

func (CommandsCommandArgs) ElementType added in v0.0.18

func (CommandsCommandArgs) ElementType() reflect.Type

func (CommandsCommandArgs) ToCommandsCommandOutput added in v0.0.18

func (i CommandsCommandArgs) ToCommandsCommandOutput() CommandsCommandOutput

func (CommandsCommandArgs) ToCommandsCommandOutputWithContext added in v0.0.18

func (i CommandsCommandArgs) ToCommandsCommandOutputWithContext(ctx context.Context) CommandsCommandOutput

type CommandsCommandArray added in v0.0.18

type CommandsCommandArray []CommandsCommandInput

func (CommandsCommandArray) ElementType added in v0.0.18

func (CommandsCommandArray) ElementType() reflect.Type

func (CommandsCommandArray) ToCommandsCommandArrayOutput added in v0.0.18

func (i CommandsCommandArray) ToCommandsCommandArrayOutput() CommandsCommandArrayOutput

func (CommandsCommandArray) ToCommandsCommandArrayOutputWithContext added in v0.0.18

func (i CommandsCommandArray) ToCommandsCommandArrayOutputWithContext(ctx context.Context) CommandsCommandArrayOutput

type CommandsCommandArrayInput added in v0.0.18

type CommandsCommandArrayInput interface {
	pulumi.Input

	ToCommandsCommandArrayOutput() CommandsCommandArrayOutput
	ToCommandsCommandArrayOutputWithContext(context.Context) CommandsCommandArrayOutput
}

CommandsCommandArrayInput is an input type that accepts CommandsCommandArray and CommandsCommandArrayOutput values. You can construct a concrete instance of `CommandsCommandArrayInput` via:

CommandsCommandArray{ CommandsCommandArgs{...} }

type CommandsCommandArrayOutput added in v0.0.18

type CommandsCommandArrayOutput struct{ *pulumi.OutputState }

func (CommandsCommandArrayOutput) ElementType added in v0.0.18

func (CommandsCommandArrayOutput) ElementType() reflect.Type

func (CommandsCommandArrayOutput) Index added in v0.0.18

func (CommandsCommandArrayOutput) ToCommandsCommandArrayOutput added in v0.0.18

func (o CommandsCommandArrayOutput) ToCommandsCommandArrayOutput() CommandsCommandArrayOutput

func (CommandsCommandArrayOutput) ToCommandsCommandArrayOutputWithContext added in v0.0.18

func (o CommandsCommandArrayOutput) ToCommandsCommandArrayOutputWithContext(ctx context.Context) CommandsCommandArrayOutput

type CommandsCommandInput added in v0.0.18

type CommandsCommandInput interface {
	pulumi.Input

	ToCommandsCommandOutput() CommandsCommandOutput
	ToCommandsCommandOutputWithContext(context.Context) CommandsCommandOutput
}

CommandsCommandInput is an input type that accepts CommandsCommandArgs and CommandsCommandOutput values. You can construct a concrete instance of `CommandsCommandInput` via:

CommandsCommandArgs{...}

type CommandsCommandOutput added in v0.0.18

type CommandsCommandOutput struct{ *pulumi.OutputState }

func (CommandsCommandOutput) CommandContent added in v0.0.18

func (o CommandsCommandOutput) CommandContent() pulumi.StringOutput

The base64 encoded content of the ecs command.

func (CommandsCommandOutput) CommandId added in v0.0.18

The id of ecs command.

func (CommandsCommandOutput) CommandProvider added in v0.0.18

func (o CommandsCommandOutput) CommandProvider() pulumi.StringOutput

The provider of public command. When this field is not specified, query for custom commands.

func (CommandsCommandOutput) CreatedAt added in v0.0.18

The create time of the ecs command.

func (CommandsCommandOutput) Description added in v0.0.18

func (o CommandsCommandOutput) Description() pulumi.StringOutput

The description of the ecs command.

func (CommandsCommandOutput) ElementType added in v0.0.18

func (CommandsCommandOutput) ElementType() reflect.Type

func (CommandsCommandOutput) Id added in v0.0.18

The id of the ecs command.

func (CommandsCommandOutput) InvocationTimes added in v0.0.18

func (o CommandsCommandOutput) InvocationTimes() pulumi.IntOutput

The invocation times of the ecs command. Public commands do not display the invocation times.

func (CommandsCommandOutput) Name added in v0.0.18

The name of ecs command. This field support fuzzy query.

func (CommandsCommandOutput) Timeout added in v0.0.18

The timeout of the ecs command.

func (CommandsCommandOutput) ToCommandsCommandOutput added in v0.0.18

func (o CommandsCommandOutput) ToCommandsCommandOutput() CommandsCommandOutput

func (CommandsCommandOutput) ToCommandsCommandOutputWithContext added in v0.0.18

func (o CommandsCommandOutput) ToCommandsCommandOutputWithContext(ctx context.Context) CommandsCommandOutput

func (CommandsCommandOutput) Type added in v0.0.18

The type of ecs command. Valid values: `Shell`.

func (CommandsCommandOutput) UpdatedAt added in v0.0.18

The update time of the ecs command.

func (CommandsCommandOutput) Username added in v0.0.18

The username of the ecs command.

func (CommandsCommandOutput) WorkingDir added in v0.0.18

func (o CommandsCommandOutput) WorkingDir() pulumi.StringOutput

The working directory of the ecs command.

type CommandsOutputArgs added in v0.0.18

type CommandsOutputArgs struct {
	// The id of ecs command.
	CommandId pulumi.StringPtrInput `pulumi:"commandId"`
	// The provider of public command. When this field is not specified, query for custom commands.
	CommandProvider pulumi.StringPtrInput `pulumi:"commandProvider"`
	// The name of ecs command. This field support fuzzy query.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// A Name Regex of Resource.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// The order of ecs command query result.
	Order pulumi.StringPtrInput `pulumi:"order"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The type of ecs command. Valid values: `Shell`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

A collection of arguments for invoking Commands.

func (CommandsOutputArgs) ElementType added in v0.0.18

func (CommandsOutputArgs) ElementType() reflect.Type

type CommandsResult added in v0.0.18

type CommandsResult struct {
	// The id of the ecs command.
	CommandId *string `pulumi:"commandId"`
	// The provider of the public command.
	CommandProvider *string `pulumi:"commandProvider"`
	// The collection of query.
	Commands []CommandsCommand `pulumi:"commands"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the ecs command.
	Name       *string `pulumi:"name"`
	NameRegex  *string `pulumi:"nameRegex"`
	Order      *string `pulumi:"order"`
	OutputFile *string `pulumi:"outputFile"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
	// The type of the ecs command.
	Type *string `pulumi:"type"`
}

A collection of values returned by Commands.

func Commands added in v0.0.18

func Commands(ctx *pulumi.Context, args *CommandsArgs, opts ...pulumi.InvokeOption) (*CommandsResult, error)

Use this data source to query detailed information of ecs commands ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.Commands(ctx, &ecs.CommandsArgs{
			CommandId: pulumi.StringRef("cmd-ychkepkhtim0tr3b****"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type CommandsResultOutput added in v0.0.18

type CommandsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Commands.

func CommandsOutput added in v0.0.18

func CommandsOutput(ctx *pulumi.Context, args CommandsOutputArgs, opts ...pulumi.InvokeOption) CommandsResultOutput

func (CommandsResultOutput) CommandId added in v0.0.18

The id of the ecs command.

func (CommandsResultOutput) CommandProvider added in v0.0.18

func (o CommandsResultOutput) CommandProvider() pulumi.StringPtrOutput

The provider of the public command.

func (CommandsResultOutput) Commands added in v0.0.18

The collection of query.

func (CommandsResultOutput) ElementType added in v0.0.18

func (CommandsResultOutput) ElementType() reflect.Type

func (CommandsResultOutput) Id added in v0.0.18

The provider-assigned unique ID for this managed resource.

func (CommandsResultOutput) Name added in v0.0.18

The name of the ecs command.

func (CommandsResultOutput) NameRegex added in v0.0.18

func (CommandsResultOutput) Order added in v0.0.18

func (CommandsResultOutput) OutputFile added in v0.0.18

func (CommandsResultOutput) ToCommandsResultOutput added in v0.0.18

func (o CommandsResultOutput) ToCommandsResultOutput() CommandsResultOutput

func (CommandsResultOutput) ToCommandsResultOutputWithContext added in v0.0.18

func (o CommandsResultOutput) ToCommandsResultOutputWithContext(ctx context.Context) CommandsResultOutput

func (CommandsResultOutput) TotalCount added in v0.0.18

func (o CommandsResultOutput) TotalCount() pulumi.IntOutput

The total count of query.

func (CommandsResultOutput) Type added in v0.0.18

The type of the ecs command.

type DeploymentSet

type DeploymentSet struct {
	pulumi.CustomResourceState

	// The ID of ECS DeploymentSet.
	DeploymentSetId pulumi.StringOutput `pulumi:"deploymentSetId"`
	// The name of ECS DeploymentSet.
	DeploymentSetName pulumi.StringOutput `pulumi:"deploymentSetName"`
	// The description of ECS DeploymentSet.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The granularity of ECS DeploymentSet.Valid values: switch, host, rack,Default is host.
	Granularity pulumi.StringPtrOutput `pulumi:"granularity"`
	// The strategy of ECS DeploymentSet.Valid values: Availability.Default is Availability.
	Strategy pulumi.StringPtrOutput `pulumi:"strategy"`
}

Provides a resource to manage ecs deployment set ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.NewDeploymentSet(ctx, "foo", &ecs.DeploymentSetArgs{
			DeploymentSetName: pulumi.String("acc-test-ecs-ds"),
			Description:       pulumi.String("acc-test"),
			Granularity:       pulumi.String("switch"),
			Strategy:          pulumi.String("Availability"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ECS deployment set can be imported using the id, e.g.

```sh

$ pulumi import volcengine:ecs/deploymentSet:DeploymentSet default i-mizl7m1kqccg5smt1bdpijuj

```

func GetDeploymentSet

func GetDeploymentSet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeploymentSetState, opts ...pulumi.ResourceOption) (*DeploymentSet, error)

GetDeploymentSet gets an existing DeploymentSet 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 NewDeploymentSet

func NewDeploymentSet(ctx *pulumi.Context,
	name string, args *DeploymentSetArgs, opts ...pulumi.ResourceOption) (*DeploymentSet, error)

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

func (*DeploymentSet) ElementType

func (*DeploymentSet) ElementType() reflect.Type

func (*DeploymentSet) ToDeploymentSetOutput

func (i *DeploymentSet) ToDeploymentSetOutput() DeploymentSetOutput

func (*DeploymentSet) ToDeploymentSetOutputWithContext

func (i *DeploymentSet) ToDeploymentSetOutputWithContext(ctx context.Context) DeploymentSetOutput

type DeploymentSetArgs

type DeploymentSetArgs struct {
	// The name of ECS DeploymentSet.
	DeploymentSetName pulumi.StringInput
	// The description of ECS DeploymentSet.
	Description pulumi.StringPtrInput
	// The granularity of ECS DeploymentSet.Valid values: switch, host, rack,Default is host.
	Granularity pulumi.StringPtrInput
	// The strategy of ECS DeploymentSet.Valid values: Availability.Default is Availability.
	Strategy pulumi.StringPtrInput
}

The set of arguments for constructing a DeploymentSet resource.

func (DeploymentSetArgs) ElementType

func (DeploymentSetArgs) ElementType() reflect.Type

type DeploymentSetArray

type DeploymentSetArray []DeploymentSetInput

func (DeploymentSetArray) ElementType

func (DeploymentSetArray) ElementType() reflect.Type

func (DeploymentSetArray) ToDeploymentSetArrayOutput

func (i DeploymentSetArray) ToDeploymentSetArrayOutput() DeploymentSetArrayOutput

func (DeploymentSetArray) ToDeploymentSetArrayOutputWithContext

func (i DeploymentSetArray) ToDeploymentSetArrayOutputWithContext(ctx context.Context) DeploymentSetArrayOutput

type DeploymentSetArrayInput

type DeploymentSetArrayInput interface {
	pulumi.Input

	ToDeploymentSetArrayOutput() DeploymentSetArrayOutput
	ToDeploymentSetArrayOutputWithContext(context.Context) DeploymentSetArrayOutput
}

DeploymentSetArrayInput is an input type that accepts DeploymentSetArray and DeploymentSetArrayOutput values. You can construct a concrete instance of `DeploymentSetArrayInput` via:

DeploymentSetArray{ DeploymentSetArgs{...} }

type DeploymentSetArrayOutput

type DeploymentSetArrayOutput struct{ *pulumi.OutputState }

func (DeploymentSetArrayOutput) ElementType

func (DeploymentSetArrayOutput) ElementType() reflect.Type

func (DeploymentSetArrayOutput) Index

func (DeploymentSetArrayOutput) ToDeploymentSetArrayOutput

func (o DeploymentSetArrayOutput) ToDeploymentSetArrayOutput() DeploymentSetArrayOutput

func (DeploymentSetArrayOutput) ToDeploymentSetArrayOutputWithContext

func (o DeploymentSetArrayOutput) ToDeploymentSetArrayOutputWithContext(ctx context.Context) DeploymentSetArrayOutput

type DeploymentSetAssociate

type DeploymentSetAssociate struct {
	pulumi.CustomResourceState

	// The ID of ECS DeploymentSet Associate.
	DeploymentSetId pulumi.StringOutput `pulumi:"deploymentSetId"`
	// The ID of ECS Instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
}

Provides a resource to manage ecs deployment set associate ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooZones, err := ecs.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     *pulumi.String(fooZones.Zones[0].Id),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooSecurityGroup, err := vpc.NewSecurityGroup(ctx, "fooSecurityGroup", &vpc.SecurityGroupArgs{
			SecurityGroupName: pulumi.String("acc-test-security-group"),
			VpcId:             fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooImages, err := ecs.Images(ctx, &ecs.ImagesArgs{
			OsType:         pulumi.StringRef("Linux"),
			Visibility:     pulumi.StringRef("public"),
			InstanceTypeId: pulumi.StringRef("ecs.g1.large"),
		}, nil)
		if err != nil {
			return err
		}
		fooInstance, err := ecs.NewInstance(ctx, "fooInstance", &ecs.InstanceArgs{
			InstanceName:       pulumi.String("acc-test-ecs"),
			ImageId:            *pulumi.String(fooImages.Images[0].ImageId),
			InstanceType:       pulumi.String("ecs.g1.large"),
			Password:           pulumi.String("93f0cb0614Aab12"),
			InstanceChargeType: pulumi.String("PostPaid"),
			SystemVolumeType:   pulumi.String("ESSD_PL0"),
			SystemVolumeSize:   pulumi.Int(40),
			SubnetId:           fooSubnet.ID(),
			SecurityGroupIds: pulumi.StringArray{
				fooSecurityGroup.ID(),
			},
		})
		if err != nil {
			return err
		}
		fooState, err := ecs.NewState(ctx, "fooState", &ecs.StateArgs{
			InstanceId:  fooInstance.ID(),
			Action:      pulumi.String("Stop"),
			StoppedMode: pulumi.String("KeepCharging"),
		})
		if err != nil {
			return err
		}
		fooDeploymentSet, err := ecs.NewDeploymentSet(ctx, "fooDeploymentSet", &ecs.DeploymentSetArgs{
			DeploymentSetName: pulumi.String("acc-test-ecs-ds"),
			Description:       pulumi.String("acc-test"),
			Granularity:       pulumi.String("switch"),
			Strategy:          pulumi.String("Availability"),
		})
		if err != nil {
			return err
		}
		_, err = ecs.NewDeploymentSetAssociate(ctx, "fooDeploymentSetAssociate", &ecs.DeploymentSetAssociateArgs{
			DeploymentSetId: fooDeploymentSet.ID(),
			InstanceId:      fooInstance.ID(),
		}, pulumi.DependsOn([]pulumi.Resource{
			fooState,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ECS deployment set associate can be imported using the id, e.g.

```sh

$ pulumi import volcengine:ecs/deploymentSetAssociate:DeploymentSetAssociate default dps-ybti5tkpkv2udbfolrft:i-mizl7m1kqccg5smt1bdpijuj

```

func GetDeploymentSetAssociate

func GetDeploymentSetAssociate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeploymentSetAssociateState, opts ...pulumi.ResourceOption) (*DeploymentSetAssociate, error)

GetDeploymentSetAssociate gets an existing DeploymentSetAssociate 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 NewDeploymentSetAssociate

func NewDeploymentSetAssociate(ctx *pulumi.Context,
	name string, args *DeploymentSetAssociateArgs, opts ...pulumi.ResourceOption) (*DeploymentSetAssociate, error)

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

func (*DeploymentSetAssociate) ElementType

func (*DeploymentSetAssociate) ElementType() reflect.Type

func (*DeploymentSetAssociate) ToDeploymentSetAssociateOutput

func (i *DeploymentSetAssociate) ToDeploymentSetAssociateOutput() DeploymentSetAssociateOutput

func (*DeploymentSetAssociate) ToDeploymentSetAssociateOutputWithContext

func (i *DeploymentSetAssociate) ToDeploymentSetAssociateOutputWithContext(ctx context.Context) DeploymentSetAssociateOutput

type DeploymentSetAssociateArgs

type DeploymentSetAssociateArgs struct {
	// The ID of ECS DeploymentSet Associate.
	DeploymentSetId pulumi.StringInput
	// The ID of ECS Instance.
	InstanceId pulumi.StringInput
}

The set of arguments for constructing a DeploymentSetAssociate resource.

func (DeploymentSetAssociateArgs) ElementType

func (DeploymentSetAssociateArgs) ElementType() reflect.Type

type DeploymentSetAssociateArray

type DeploymentSetAssociateArray []DeploymentSetAssociateInput

func (DeploymentSetAssociateArray) ElementType

func (DeploymentSetAssociateArray) ToDeploymentSetAssociateArrayOutput

func (i DeploymentSetAssociateArray) ToDeploymentSetAssociateArrayOutput() DeploymentSetAssociateArrayOutput

func (DeploymentSetAssociateArray) ToDeploymentSetAssociateArrayOutputWithContext

func (i DeploymentSetAssociateArray) ToDeploymentSetAssociateArrayOutputWithContext(ctx context.Context) DeploymentSetAssociateArrayOutput

type DeploymentSetAssociateArrayInput

type DeploymentSetAssociateArrayInput interface {
	pulumi.Input

	ToDeploymentSetAssociateArrayOutput() DeploymentSetAssociateArrayOutput
	ToDeploymentSetAssociateArrayOutputWithContext(context.Context) DeploymentSetAssociateArrayOutput
}

DeploymentSetAssociateArrayInput is an input type that accepts DeploymentSetAssociateArray and DeploymentSetAssociateArrayOutput values. You can construct a concrete instance of `DeploymentSetAssociateArrayInput` via:

DeploymentSetAssociateArray{ DeploymentSetAssociateArgs{...} }

type DeploymentSetAssociateArrayOutput

type DeploymentSetAssociateArrayOutput struct{ *pulumi.OutputState }

func (DeploymentSetAssociateArrayOutput) ElementType

func (DeploymentSetAssociateArrayOutput) Index

func (DeploymentSetAssociateArrayOutput) ToDeploymentSetAssociateArrayOutput

func (o DeploymentSetAssociateArrayOutput) ToDeploymentSetAssociateArrayOutput() DeploymentSetAssociateArrayOutput

func (DeploymentSetAssociateArrayOutput) ToDeploymentSetAssociateArrayOutputWithContext

func (o DeploymentSetAssociateArrayOutput) ToDeploymentSetAssociateArrayOutputWithContext(ctx context.Context) DeploymentSetAssociateArrayOutput

type DeploymentSetAssociateInput

type DeploymentSetAssociateInput interface {
	pulumi.Input

	ToDeploymentSetAssociateOutput() DeploymentSetAssociateOutput
	ToDeploymentSetAssociateOutputWithContext(ctx context.Context) DeploymentSetAssociateOutput
}

type DeploymentSetAssociateMap

type DeploymentSetAssociateMap map[string]DeploymentSetAssociateInput

func (DeploymentSetAssociateMap) ElementType

func (DeploymentSetAssociateMap) ElementType() reflect.Type

func (DeploymentSetAssociateMap) ToDeploymentSetAssociateMapOutput

func (i DeploymentSetAssociateMap) ToDeploymentSetAssociateMapOutput() DeploymentSetAssociateMapOutput

func (DeploymentSetAssociateMap) ToDeploymentSetAssociateMapOutputWithContext

func (i DeploymentSetAssociateMap) ToDeploymentSetAssociateMapOutputWithContext(ctx context.Context) DeploymentSetAssociateMapOutput

type DeploymentSetAssociateMapInput

type DeploymentSetAssociateMapInput interface {
	pulumi.Input

	ToDeploymentSetAssociateMapOutput() DeploymentSetAssociateMapOutput
	ToDeploymentSetAssociateMapOutputWithContext(context.Context) DeploymentSetAssociateMapOutput
}

DeploymentSetAssociateMapInput is an input type that accepts DeploymentSetAssociateMap and DeploymentSetAssociateMapOutput values. You can construct a concrete instance of `DeploymentSetAssociateMapInput` via:

DeploymentSetAssociateMap{ "key": DeploymentSetAssociateArgs{...} }

type DeploymentSetAssociateMapOutput

type DeploymentSetAssociateMapOutput struct{ *pulumi.OutputState }

func (DeploymentSetAssociateMapOutput) ElementType

func (DeploymentSetAssociateMapOutput) MapIndex

func (DeploymentSetAssociateMapOutput) ToDeploymentSetAssociateMapOutput

func (o DeploymentSetAssociateMapOutput) ToDeploymentSetAssociateMapOutput() DeploymentSetAssociateMapOutput

func (DeploymentSetAssociateMapOutput) ToDeploymentSetAssociateMapOutputWithContext

func (o DeploymentSetAssociateMapOutput) ToDeploymentSetAssociateMapOutputWithContext(ctx context.Context) DeploymentSetAssociateMapOutput

type DeploymentSetAssociateOutput

type DeploymentSetAssociateOutput struct{ *pulumi.OutputState }

func (DeploymentSetAssociateOutput) DeploymentSetId

func (o DeploymentSetAssociateOutput) DeploymentSetId() pulumi.StringOutput

The ID of ECS DeploymentSet Associate.

func (DeploymentSetAssociateOutput) ElementType

func (DeploymentSetAssociateOutput) InstanceId

The ID of ECS Instance.

func (DeploymentSetAssociateOutput) ToDeploymentSetAssociateOutput

func (o DeploymentSetAssociateOutput) ToDeploymentSetAssociateOutput() DeploymentSetAssociateOutput

func (DeploymentSetAssociateOutput) ToDeploymentSetAssociateOutputWithContext

func (o DeploymentSetAssociateOutput) ToDeploymentSetAssociateOutputWithContext(ctx context.Context) DeploymentSetAssociateOutput

type DeploymentSetAssociateState

type DeploymentSetAssociateState struct {
	// The ID of ECS DeploymentSet Associate.
	DeploymentSetId pulumi.StringPtrInput
	// The ID of ECS Instance.
	InstanceId pulumi.StringPtrInput
}

func (DeploymentSetAssociateState) ElementType

type DeploymentSetInput

type DeploymentSetInput interface {
	pulumi.Input

	ToDeploymentSetOutput() DeploymentSetOutput
	ToDeploymentSetOutputWithContext(ctx context.Context) DeploymentSetOutput
}

type DeploymentSetMap

type DeploymentSetMap map[string]DeploymentSetInput

func (DeploymentSetMap) ElementType

func (DeploymentSetMap) ElementType() reflect.Type

func (DeploymentSetMap) ToDeploymentSetMapOutput

func (i DeploymentSetMap) ToDeploymentSetMapOutput() DeploymentSetMapOutput

func (DeploymentSetMap) ToDeploymentSetMapOutputWithContext

func (i DeploymentSetMap) ToDeploymentSetMapOutputWithContext(ctx context.Context) DeploymentSetMapOutput

type DeploymentSetMapInput

type DeploymentSetMapInput interface {
	pulumi.Input

	ToDeploymentSetMapOutput() DeploymentSetMapOutput
	ToDeploymentSetMapOutputWithContext(context.Context) DeploymentSetMapOutput
}

DeploymentSetMapInput is an input type that accepts DeploymentSetMap and DeploymentSetMapOutput values. You can construct a concrete instance of `DeploymentSetMapInput` via:

DeploymentSetMap{ "key": DeploymentSetArgs{...} }

type DeploymentSetMapOutput

type DeploymentSetMapOutput struct{ *pulumi.OutputState }

func (DeploymentSetMapOutput) ElementType

func (DeploymentSetMapOutput) ElementType() reflect.Type

func (DeploymentSetMapOutput) MapIndex

func (DeploymentSetMapOutput) ToDeploymentSetMapOutput

func (o DeploymentSetMapOutput) ToDeploymentSetMapOutput() DeploymentSetMapOutput

func (DeploymentSetMapOutput) ToDeploymentSetMapOutputWithContext

func (o DeploymentSetMapOutput) ToDeploymentSetMapOutputWithContext(ctx context.Context) DeploymentSetMapOutput

type DeploymentSetOutput

type DeploymentSetOutput struct{ *pulumi.OutputState }

func (DeploymentSetOutput) DeploymentSetId

func (o DeploymentSetOutput) DeploymentSetId() pulumi.StringOutput

The ID of ECS DeploymentSet.

func (DeploymentSetOutput) DeploymentSetName

func (o DeploymentSetOutput) DeploymentSetName() pulumi.StringOutput

The name of ECS DeploymentSet.

func (DeploymentSetOutput) Description

func (o DeploymentSetOutput) Description() pulumi.StringPtrOutput

The description of ECS DeploymentSet.

func (DeploymentSetOutput) ElementType

func (DeploymentSetOutput) ElementType() reflect.Type

func (DeploymentSetOutput) Granularity

func (o DeploymentSetOutput) Granularity() pulumi.StringPtrOutput

The granularity of ECS DeploymentSet.Valid values: switch, host, rack,Default is host.

func (DeploymentSetOutput) Strategy

The strategy of ECS DeploymentSet.Valid values: Availability.Default is Availability.

func (DeploymentSetOutput) ToDeploymentSetOutput

func (o DeploymentSetOutput) ToDeploymentSetOutput() DeploymentSetOutput

func (DeploymentSetOutput) ToDeploymentSetOutputWithContext

func (o DeploymentSetOutput) ToDeploymentSetOutputWithContext(ctx context.Context) DeploymentSetOutput

type DeploymentSetState

type DeploymentSetState struct {
	// The ID of ECS DeploymentSet.
	DeploymentSetId pulumi.StringPtrInput
	// The name of ECS DeploymentSet.
	DeploymentSetName pulumi.StringPtrInput
	// The description of ECS DeploymentSet.
	Description pulumi.StringPtrInput
	// The granularity of ECS DeploymentSet.Valid values: switch, host, rack,Default is host.
	Granularity pulumi.StringPtrInput
	// The strategy of ECS DeploymentSet.Valid values: Availability.Default is Availability.
	Strategy pulumi.StringPtrInput
}

func (DeploymentSetState) ElementType

func (DeploymentSetState) ElementType() reflect.Type

type DeploymentSetsArgs

type DeploymentSetsArgs struct {
	// The granularity of ECS DeploymentSet.Valid values: switch, host, rack.
	Granularity *string `pulumi:"granularity"`
	// A list of ECS DeploymentSet IDs.
	Ids []string `pulumi:"ids"`
	// A Name Regex of ECS DeploymentSet.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking DeploymentSets.

type DeploymentSetsDeploymentSet

type DeploymentSetsDeploymentSet struct {
	// The ID of ECS DeploymentSet.
	DeploymentSetId string `pulumi:"deploymentSetId"`
	// The name of ECS DeploymentSet.
	DeploymentSetName string `pulumi:"deploymentSetName"`
	// The description of ECS DeploymentSet.
	Description string `pulumi:"description"`
	// The granularity of ECS DeploymentSet.Valid values: switch, host, rack.
	Granularity string `pulumi:"granularity"`
	// The strategy of ECS DeploymentSet.
	Strategy string `pulumi:"strategy"`
}

type DeploymentSetsDeploymentSetArgs

type DeploymentSetsDeploymentSetArgs struct {
	// The ID of ECS DeploymentSet.
	DeploymentSetId pulumi.StringInput `pulumi:"deploymentSetId"`
	// The name of ECS DeploymentSet.
	DeploymentSetName pulumi.StringInput `pulumi:"deploymentSetName"`
	// The description of ECS DeploymentSet.
	Description pulumi.StringInput `pulumi:"description"`
	// The granularity of ECS DeploymentSet.Valid values: switch, host, rack.
	Granularity pulumi.StringInput `pulumi:"granularity"`
	// The strategy of ECS DeploymentSet.
	Strategy pulumi.StringInput `pulumi:"strategy"`
}

func (DeploymentSetsDeploymentSetArgs) ElementType

func (DeploymentSetsDeploymentSetArgs) ToDeploymentSetsDeploymentSetOutput

func (i DeploymentSetsDeploymentSetArgs) ToDeploymentSetsDeploymentSetOutput() DeploymentSetsDeploymentSetOutput

func (DeploymentSetsDeploymentSetArgs) ToDeploymentSetsDeploymentSetOutputWithContext

func (i DeploymentSetsDeploymentSetArgs) ToDeploymentSetsDeploymentSetOutputWithContext(ctx context.Context) DeploymentSetsDeploymentSetOutput

type DeploymentSetsDeploymentSetArray

type DeploymentSetsDeploymentSetArray []DeploymentSetsDeploymentSetInput

func (DeploymentSetsDeploymentSetArray) ElementType

func (DeploymentSetsDeploymentSetArray) ToDeploymentSetsDeploymentSetArrayOutput

func (i DeploymentSetsDeploymentSetArray) ToDeploymentSetsDeploymentSetArrayOutput() DeploymentSetsDeploymentSetArrayOutput

func (DeploymentSetsDeploymentSetArray) ToDeploymentSetsDeploymentSetArrayOutputWithContext

func (i DeploymentSetsDeploymentSetArray) ToDeploymentSetsDeploymentSetArrayOutputWithContext(ctx context.Context) DeploymentSetsDeploymentSetArrayOutput

type DeploymentSetsDeploymentSetArrayInput

type DeploymentSetsDeploymentSetArrayInput interface {
	pulumi.Input

	ToDeploymentSetsDeploymentSetArrayOutput() DeploymentSetsDeploymentSetArrayOutput
	ToDeploymentSetsDeploymentSetArrayOutputWithContext(context.Context) DeploymentSetsDeploymentSetArrayOutput
}

DeploymentSetsDeploymentSetArrayInput is an input type that accepts DeploymentSetsDeploymentSetArray and DeploymentSetsDeploymentSetArrayOutput values. You can construct a concrete instance of `DeploymentSetsDeploymentSetArrayInput` via:

DeploymentSetsDeploymentSetArray{ DeploymentSetsDeploymentSetArgs{...} }

type DeploymentSetsDeploymentSetArrayOutput

type DeploymentSetsDeploymentSetArrayOutput struct{ *pulumi.OutputState }

func (DeploymentSetsDeploymentSetArrayOutput) ElementType

func (DeploymentSetsDeploymentSetArrayOutput) Index

func (DeploymentSetsDeploymentSetArrayOutput) ToDeploymentSetsDeploymentSetArrayOutput

func (o DeploymentSetsDeploymentSetArrayOutput) ToDeploymentSetsDeploymentSetArrayOutput() DeploymentSetsDeploymentSetArrayOutput

func (DeploymentSetsDeploymentSetArrayOutput) ToDeploymentSetsDeploymentSetArrayOutputWithContext

func (o DeploymentSetsDeploymentSetArrayOutput) ToDeploymentSetsDeploymentSetArrayOutputWithContext(ctx context.Context) DeploymentSetsDeploymentSetArrayOutput

type DeploymentSetsDeploymentSetInput

type DeploymentSetsDeploymentSetInput interface {
	pulumi.Input

	ToDeploymentSetsDeploymentSetOutput() DeploymentSetsDeploymentSetOutput
	ToDeploymentSetsDeploymentSetOutputWithContext(context.Context) DeploymentSetsDeploymentSetOutput
}

DeploymentSetsDeploymentSetInput is an input type that accepts DeploymentSetsDeploymentSetArgs and DeploymentSetsDeploymentSetOutput values. You can construct a concrete instance of `DeploymentSetsDeploymentSetInput` via:

DeploymentSetsDeploymentSetArgs{...}

type DeploymentSetsDeploymentSetOutput

type DeploymentSetsDeploymentSetOutput struct{ *pulumi.OutputState }

func (DeploymentSetsDeploymentSetOutput) DeploymentSetId

The ID of ECS DeploymentSet.

func (DeploymentSetsDeploymentSetOutput) DeploymentSetName

The name of ECS DeploymentSet.

func (DeploymentSetsDeploymentSetOutput) Description

The description of ECS DeploymentSet.

func (DeploymentSetsDeploymentSetOutput) ElementType

func (DeploymentSetsDeploymentSetOutput) Granularity

The granularity of ECS DeploymentSet.Valid values: switch, host, rack.

func (DeploymentSetsDeploymentSetOutput) Strategy

The strategy of ECS DeploymentSet.

func (DeploymentSetsDeploymentSetOutput) ToDeploymentSetsDeploymentSetOutput

func (o DeploymentSetsDeploymentSetOutput) ToDeploymentSetsDeploymentSetOutput() DeploymentSetsDeploymentSetOutput

func (DeploymentSetsDeploymentSetOutput) ToDeploymentSetsDeploymentSetOutputWithContext

func (o DeploymentSetsDeploymentSetOutput) ToDeploymentSetsDeploymentSetOutputWithContext(ctx context.Context) DeploymentSetsDeploymentSetOutput

type DeploymentSetsOutputArgs

type DeploymentSetsOutputArgs struct {
	// The granularity of ECS DeploymentSet.Valid values: switch, host, rack.
	Granularity pulumi.StringPtrInput `pulumi:"granularity"`
	// A list of ECS DeploymentSet IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A Name Regex of ECS DeploymentSet.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking DeploymentSets.

func (DeploymentSetsOutputArgs) ElementType

func (DeploymentSetsOutputArgs) ElementType() reflect.Type

type DeploymentSetsResult

type DeploymentSetsResult struct {
	// The collection of ECS DeploymentSet query.
	DeploymentSets []DeploymentSetsDeploymentSet `pulumi:"deploymentSets"`
	// The granularity of ECS DeploymentSet.
	Granularity *string `pulumi:"granularity"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	NameRegex  *string  `pulumi:"nameRegex"`
	OutputFile *string  `pulumi:"outputFile"`
	// The total count of ECS DeploymentSet query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by DeploymentSets.

func DeploymentSets

func DeploymentSets(ctx *pulumi.Context, args *DeploymentSetsArgs, opts ...pulumi.InvokeOption) (*DeploymentSetsResult, error)

Use this data source to query detailed information of ecs deployment sets ## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"

) func main() { pulumi.Run(func(ctx *pulumi.Context) error { var fooDeploymentSet []*ecs.DeploymentSet

for index := 0; index < 3; index++ {
    key0 := index
    val0 := index

__res, err := ecs.NewDeploymentSet(ctx, fmt.Sprintf("fooDeploymentSet-%v", key0), &ecs.DeploymentSetArgs{ DeploymentSetName: pulumi.String(fmt.Sprintf("acc-test-ecs-ds-%v", val0)), Description: pulumi.String("acc-test"), Granularity: pulumi.String("switch"), Strategy: pulumi.String("Availability"), }) if err != nil { return err } fooDeploymentSet = append(fooDeploymentSet, __res) } _ = ecs.DeploymentSetsOutput(ctx, ecs.DeploymentSetsOutputArgs{ Granularity: pulumi.String("switch"), Ids: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ #-functions-volcengine:ecs-deploymentSets:DeploymentSets.pp:12,17-39), }, nil); return nil }) } ```

type DeploymentSetsResultOutput

type DeploymentSetsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by DeploymentSets.

func (DeploymentSetsResultOutput) DeploymentSets

The collection of ECS DeploymentSet query.

func (DeploymentSetsResultOutput) ElementType

func (DeploymentSetsResultOutput) ElementType() reflect.Type

func (DeploymentSetsResultOutput) Granularity

The granularity of ECS DeploymentSet.

func (DeploymentSetsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (DeploymentSetsResultOutput) Ids

func (DeploymentSetsResultOutput) NameRegex

func (DeploymentSetsResultOutput) OutputFile

func (DeploymentSetsResultOutput) ToDeploymentSetsResultOutput

func (o DeploymentSetsResultOutput) ToDeploymentSetsResultOutput() DeploymentSetsResultOutput

func (DeploymentSetsResultOutput) ToDeploymentSetsResultOutputWithContext

func (o DeploymentSetsResultOutput) ToDeploymentSetsResultOutputWithContext(ctx context.Context) DeploymentSetsResultOutput

func (DeploymentSetsResultOutput) TotalCount

The total count of ECS DeploymentSet query.

type IamRoleAttachment added in v0.0.23

type IamRoleAttachment struct {
	pulumi.CustomResourceState

	// The name of the iam role.
	IamRoleName pulumi.StringOutput `pulumi:"iamRoleName"`
	// The id of the ecs instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
}

Provides a resource to manage iam role attachment ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/iam"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooZones, err := ecs.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     *pulumi.String(fooZones.Zones[0].Id),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooSecurityGroup, err := vpc.NewSecurityGroup(ctx, "fooSecurityGroup", &vpc.SecurityGroupArgs{
			SecurityGroupName: pulumi.String("acc-test-security-group"),
			VpcId:             fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooImages, err := ecs.Images(ctx, &ecs.ImagesArgs{
			OsType:         pulumi.StringRef("Linux"),
			Visibility:     pulumi.StringRef("public"),
			InstanceTypeId: pulumi.StringRef("ecs.g1ie.large"),
		}, nil)
		if err != nil {
			return err
		}
		fooInstance, err := ecs.NewInstance(ctx, "fooInstance", &ecs.InstanceArgs{
			InstanceName:       pulumi.String("acc-test-ecs"),
			Description:        pulumi.String("acc-test"),
			HostName:           pulumi.String("tf-acc-test"),
			ImageId:            *pulumi.String(fooImages.Images[0].ImageId),
			InstanceType:       pulumi.String("ecs.g1ie.large"),
			Password:           pulumi.String("93f0cb0614Aab12"),
			InstanceChargeType: pulumi.String("PostPaid"),
			SystemVolumeType:   pulumi.String("ESSD_PL0"),
			SystemVolumeSize:   pulumi.Int(40),
			DataVolumes: ecs.InstanceDataVolumeArray{
				&ecs.InstanceDataVolumeArgs{
					VolumeType:         pulumi.String("ESSD_PL0"),
					Size:               pulumi.Int(50),
					DeleteWithInstance: pulumi.Bool(true),
				},
			},
			SubnetId: fooSubnet.ID(),
			SecurityGroupIds: pulumi.StringArray{
				fooSecurityGroup.ID(),
			},
			ProjectName: pulumi.String("default"),
			Tags: ecs.InstanceTagArray{
				&ecs.InstanceTagArgs{
					Key:   pulumi.String("k1"),
					Value: pulumi.String("v1"),
				},
			},
		})
		if err != nil {
			return err
		}
		fooRole, err := iam.NewRole(ctx, "fooRole", &iam.RoleArgs{
			RoleName:            pulumi.String("acc-test-role"),
			DisplayName:         pulumi.String("acc-test"),
			Description:         pulumi.String("acc-test"),
			TrustPolicyDocument: pulumi.String("{\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"sts:AssumeRole\"],\"Principal\":{\"Service\":[\"ecs\"]}}]}"),
			MaxSessionDuration:  pulumi.Int(36000),
		})
		if err != nil {
			return err
		}
		_, err = ecs.NewIamRoleAttachment(ctx, "fooIamRoleAttachment", &ecs.IamRoleAttachmentArgs{
			IamRoleName: fooRole.ID(),
			InstanceId:  fooInstance.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

IamRoleAttachment can be imported using the iam_role_name:instance_id, e.g.

```sh

$ pulumi import volcengine:ecs/iamRoleAttachment:IamRoleAttachment default role_name:instance_id

```

func GetIamRoleAttachment added in v0.0.23

func GetIamRoleAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IamRoleAttachmentState, opts ...pulumi.ResourceOption) (*IamRoleAttachment, error)

GetIamRoleAttachment gets an existing IamRoleAttachment 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 NewIamRoleAttachment added in v0.0.23

func NewIamRoleAttachment(ctx *pulumi.Context,
	name string, args *IamRoleAttachmentArgs, opts ...pulumi.ResourceOption) (*IamRoleAttachment, error)

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

func (*IamRoleAttachment) ElementType added in v0.0.23

func (*IamRoleAttachment) ElementType() reflect.Type

func (*IamRoleAttachment) ToIamRoleAttachmentOutput added in v0.0.23

func (i *IamRoleAttachment) ToIamRoleAttachmentOutput() IamRoleAttachmentOutput

func (*IamRoleAttachment) ToIamRoleAttachmentOutputWithContext added in v0.0.23

func (i *IamRoleAttachment) ToIamRoleAttachmentOutputWithContext(ctx context.Context) IamRoleAttachmentOutput

type IamRoleAttachmentArgs added in v0.0.23

type IamRoleAttachmentArgs struct {
	// The name of the iam role.
	IamRoleName pulumi.StringInput
	// The id of the ecs instance.
	InstanceId pulumi.StringInput
}

The set of arguments for constructing a IamRoleAttachment resource.

func (IamRoleAttachmentArgs) ElementType added in v0.0.23

func (IamRoleAttachmentArgs) ElementType() reflect.Type

type IamRoleAttachmentArray added in v0.0.23

type IamRoleAttachmentArray []IamRoleAttachmentInput

func (IamRoleAttachmentArray) ElementType added in v0.0.23

func (IamRoleAttachmentArray) ElementType() reflect.Type

func (IamRoleAttachmentArray) ToIamRoleAttachmentArrayOutput added in v0.0.23

func (i IamRoleAttachmentArray) ToIamRoleAttachmentArrayOutput() IamRoleAttachmentArrayOutput

func (IamRoleAttachmentArray) ToIamRoleAttachmentArrayOutputWithContext added in v0.0.23

func (i IamRoleAttachmentArray) ToIamRoleAttachmentArrayOutputWithContext(ctx context.Context) IamRoleAttachmentArrayOutput

type IamRoleAttachmentArrayInput added in v0.0.23

type IamRoleAttachmentArrayInput interface {
	pulumi.Input

	ToIamRoleAttachmentArrayOutput() IamRoleAttachmentArrayOutput
	ToIamRoleAttachmentArrayOutputWithContext(context.Context) IamRoleAttachmentArrayOutput
}

IamRoleAttachmentArrayInput is an input type that accepts IamRoleAttachmentArray and IamRoleAttachmentArrayOutput values. You can construct a concrete instance of `IamRoleAttachmentArrayInput` via:

IamRoleAttachmentArray{ IamRoleAttachmentArgs{...} }

type IamRoleAttachmentArrayOutput added in v0.0.23

type IamRoleAttachmentArrayOutput struct{ *pulumi.OutputState }

func (IamRoleAttachmentArrayOutput) ElementType added in v0.0.23

func (IamRoleAttachmentArrayOutput) Index added in v0.0.23

func (IamRoleAttachmentArrayOutput) ToIamRoleAttachmentArrayOutput added in v0.0.23

func (o IamRoleAttachmentArrayOutput) ToIamRoleAttachmentArrayOutput() IamRoleAttachmentArrayOutput

func (IamRoleAttachmentArrayOutput) ToIamRoleAttachmentArrayOutputWithContext added in v0.0.23

func (o IamRoleAttachmentArrayOutput) ToIamRoleAttachmentArrayOutputWithContext(ctx context.Context) IamRoleAttachmentArrayOutput

type IamRoleAttachmentInput added in v0.0.23

type IamRoleAttachmentInput interface {
	pulumi.Input

	ToIamRoleAttachmentOutput() IamRoleAttachmentOutput
	ToIamRoleAttachmentOutputWithContext(ctx context.Context) IamRoleAttachmentOutput
}

type IamRoleAttachmentMap added in v0.0.23

type IamRoleAttachmentMap map[string]IamRoleAttachmentInput

func (IamRoleAttachmentMap) ElementType added in v0.0.23

func (IamRoleAttachmentMap) ElementType() reflect.Type

func (IamRoleAttachmentMap) ToIamRoleAttachmentMapOutput added in v0.0.23

func (i IamRoleAttachmentMap) ToIamRoleAttachmentMapOutput() IamRoleAttachmentMapOutput

func (IamRoleAttachmentMap) ToIamRoleAttachmentMapOutputWithContext added in v0.0.23

func (i IamRoleAttachmentMap) ToIamRoleAttachmentMapOutputWithContext(ctx context.Context) IamRoleAttachmentMapOutput

type IamRoleAttachmentMapInput added in v0.0.23

type IamRoleAttachmentMapInput interface {
	pulumi.Input

	ToIamRoleAttachmentMapOutput() IamRoleAttachmentMapOutput
	ToIamRoleAttachmentMapOutputWithContext(context.Context) IamRoleAttachmentMapOutput
}

IamRoleAttachmentMapInput is an input type that accepts IamRoleAttachmentMap and IamRoleAttachmentMapOutput values. You can construct a concrete instance of `IamRoleAttachmentMapInput` via:

IamRoleAttachmentMap{ "key": IamRoleAttachmentArgs{...} }

type IamRoleAttachmentMapOutput added in v0.0.23

type IamRoleAttachmentMapOutput struct{ *pulumi.OutputState }

func (IamRoleAttachmentMapOutput) ElementType added in v0.0.23

func (IamRoleAttachmentMapOutput) ElementType() reflect.Type

func (IamRoleAttachmentMapOutput) MapIndex added in v0.0.23

func (IamRoleAttachmentMapOutput) ToIamRoleAttachmentMapOutput added in v0.0.23

func (o IamRoleAttachmentMapOutput) ToIamRoleAttachmentMapOutput() IamRoleAttachmentMapOutput

func (IamRoleAttachmentMapOutput) ToIamRoleAttachmentMapOutputWithContext added in v0.0.23

func (o IamRoleAttachmentMapOutput) ToIamRoleAttachmentMapOutputWithContext(ctx context.Context) IamRoleAttachmentMapOutput

type IamRoleAttachmentOutput added in v0.0.23

type IamRoleAttachmentOutput struct{ *pulumi.OutputState }

func (IamRoleAttachmentOutput) ElementType added in v0.0.23

func (IamRoleAttachmentOutput) ElementType() reflect.Type

func (IamRoleAttachmentOutput) IamRoleName added in v0.0.23

The name of the iam role.

func (IamRoleAttachmentOutput) InstanceId added in v0.0.23

The id of the ecs instance.

func (IamRoleAttachmentOutput) ToIamRoleAttachmentOutput added in v0.0.23

func (o IamRoleAttachmentOutput) ToIamRoleAttachmentOutput() IamRoleAttachmentOutput

func (IamRoleAttachmentOutput) ToIamRoleAttachmentOutputWithContext added in v0.0.23

func (o IamRoleAttachmentOutput) ToIamRoleAttachmentOutputWithContext(ctx context.Context) IamRoleAttachmentOutput

type IamRoleAttachmentState added in v0.0.23

type IamRoleAttachmentState struct {
	// The name of the iam role.
	IamRoleName pulumi.StringPtrInput
	// The id of the ecs instance.
	InstanceId pulumi.StringPtrInput
}

func (IamRoleAttachmentState) ElementType added in v0.0.23

func (IamRoleAttachmentState) ElementType() reflect.Type

type ImagesArgs

type ImagesArgs struct {
	// A list of Image IDs.
	Ids []string `pulumi:"ids"`
	// The specification of  Instance.
	InstanceTypeId *string `pulumi:"instanceTypeId"`
	// Whether the Image support cloud-init.
	IsSupportCloudInit *bool `pulumi:"isSupportCloudInit"`
	// A Name Regex of Image.
	NameRegex *string `pulumi:"nameRegex"`
	// The operating system type of Image.
	OsType *string `pulumi:"osType"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// A list of Image status, the value can be `available` or `creating` or `error`.
	Statuses []string `pulumi:"statuses"`
	// The visibility of Image.
	Visibility *string `pulumi:"visibility"`
}

A collection of arguments for invoking Images.

type ImagesImage

type ImagesImage struct {
	// The architecture of Image.
	Architecture string `pulumi:"architecture"`
	// The create time of Image.
	CreatedAt string `pulumi:"createdAt"`
	// The description of Image.
	Description string `pulumi:"description"`
	// The ID of Image.
	ImageId string `pulumi:"imageId"`
	// The name of Image.
	ImageName string `pulumi:"imageName"`
	// Whether the Image support cloud-init.
	IsSupportCloudInit bool `pulumi:"isSupportCloudInit"`
	// The name of Image operating system.
	OsName string `pulumi:"osName"`
	// The operating system type of Image.
	OsType string `pulumi:"osType"`
	// The platform of Image.
	Platform string `pulumi:"platform"`
	// The platform version of Image.
	PlatformVersion string `pulumi:"platformVersion"`
	// The share mode of Image.
	ShareStatus string `pulumi:"shareStatus"`
	// The size(GiB) of Image.
	Size int `pulumi:"size"`
	// A list of Image status, the value can be `available` or `creating` or `error`.
	Status string `pulumi:"status"`
	// The update time of Image.
	UpdatedAt string `pulumi:"updatedAt"`
	// The visibility of Image.
	Visibility string `pulumi:"visibility"`
}

type ImagesImageArgs

type ImagesImageArgs struct {
	// The architecture of Image.
	Architecture pulumi.StringInput `pulumi:"architecture"`
	// The create time of Image.
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// The description of Image.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of Image.
	ImageId pulumi.StringInput `pulumi:"imageId"`
	// The name of Image.
	ImageName pulumi.StringInput `pulumi:"imageName"`
	// Whether the Image support cloud-init.
	IsSupportCloudInit pulumi.BoolInput `pulumi:"isSupportCloudInit"`
	// The name of Image operating system.
	OsName pulumi.StringInput `pulumi:"osName"`
	// The operating system type of Image.
	OsType pulumi.StringInput `pulumi:"osType"`
	// The platform of Image.
	Platform pulumi.StringInput `pulumi:"platform"`
	// The platform version of Image.
	PlatformVersion pulumi.StringInput `pulumi:"platformVersion"`
	// The share mode of Image.
	ShareStatus pulumi.StringInput `pulumi:"shareStatus"`
	// The size(GiB) of Image.
	Size pulumi.IntInput `pulumi:"size"`
	// A list of Image status, the value can be `available` or `creating` or `error`.
	Status pulumi.StringInput `pulumi:"status"`
	// The update time of Image.
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
	// The visibility of Image.
	Visibility pulumi.StringInput `pulumi:"visibility"`
}

func (ImagesImageArgs) ElementType

func (ImagesImageArgs) ElementType() reflect.Type

func (ImagesImageArgs) ToImagesImageOutput

func (i ImagesImageArgs) ToImagesImageOutput() ImagesImageOutput

func (ImagesImageArgs) ToImagesImageOutputWithContext

func (i ImagesImageArgs) ToImagesImageOutputWithContext(ctx context.Context) ImagesImageOutput

type ImagesImageArray

type ImagesImageArray []ImagesImageInput

func (ImagesImageArray) ElementType

func (ImagesImageArray) ElementType() reflect.Type

func (ImagesImageArray) ToImagesImageArrayOutput

func (i ImagesImageArray) ToImagesImageArrayOutput() ImagesImageArrayOutput

func (ImagesImageArray) ToImagesImageArrayOutputWithContext

func (i ImagesImageArray) ToImagesImageArrayOutputWithContext(ctx context.Context) ImagesImageArrayOutput

type ImagesImageArrayInput

type ImagesImageArrayInput interface {
	pulumi.Input

	ToImagesImageArrayOutput() ImagesImageArrayOutput
	ToImagesImageArrayOutputWithContext(context.Context) ImagesImageArrayOutput
}

ImagesImageArrayInput is an input type that accepts ImagesImageArray and ImagesImageArrayOutput values. You can construct a concrete instance of `ImagesImageArrayInput` via:

ImagesImageArray{ ImagesImageArgs{...} }

type ImagesImageArrayOutput

type ImagesImageArrayOutput struct{ *pulumi.OutputState }

func (ImagesImageArrayOutput) ElementType

func (ImagesImageArrayOutput) ElementType() reflect.Type

func (ImagesImageArrayOutput) Index

func (ImagesImageArrayOutput) ToImagesImageArrayOutput

func (o ImagesImageArrayOutput) ToImagesImageArrayOutput() ImagesImageArrayOutput

func (ImagesImageArrayOutput) ToImagesImageArrayOutputWithContext

func (o ImagesImageArrayOutput) ToImagesImageArrayOutputWithContext(ctx context.Context) ImagesImageArrayOutput

type ImagesImageInput

type ImagesImageInput interface {
	pulumi.Input

	ToImagesImageOutput() ImagesImageOutput
	ToImagesImageOutputWithContext(context.Context) ImagesImageOutput
}

ImagesImageInput is an input type that accepts ImagesImageArgs and ImagesImageOutput values. You can construct a concrete instance of `ImagesImageInput` via:

ImagesImageArgs{...}

type ImagesImageOutput

type ImagesImageOutput struct{ *pulumi.OutputState }

func (ImagesImageOutput) Architecture

func (o ImagesImageOutput) Architecture() pulumi.StringOutput

The architecture of Image.

func (ImagesImageOutput) CreatedAt

func (o ImagesImageOutput) CreatedAt() pulumi.StringOutput

The create time of Image.

func (ImagesImageOutput) Description

func (o ImagesImageOutput) Description() pulumi.StringOutput

The description of Image.

func (ImagesImageOutput) ElementType

func (ImagesImageOutput) ElementType() reflect.Type

func (ImagesImageOutput) ImageId

The ID of Image.

func (ImagesImageOutput) ImageName

func (o ImagesImageOutput) ImageName() pulumi.StringOutput

The name of Image.

func (ImagesImageOutput) IsSupportCloudInit

func (o ImagesImageOutput) IsSupportCloudInit() pulumi.BoolOutput

Whether the Image support cloud-init.

func (ImagesImageOutput) OsName

The name of Image operating system.

func (ImagesImageOutput) OsType

The operating system type of Image.

func (ImagesImageOutput) Platform

func (o ImagesImageOutput) Platform() pulumi.StringOutput

The platform of Image.

func (ImagesImageOutput) PlatformVersion

func (o ImagesImageOutput) PlatformVersion() pulumi.StringOutput

The platform version of Image.

func (ImagesImageOutput) ShareStatus

func (o ImagesImageOutput) ShareStatus() pulumi.StringOutput

The share mode of Image.

func (ImagesImageOutput) Size

The size(GiB) of Image.

func (ImagesImageOutput) Status

A list of Image status, the value can be `available` or `creating` or `error`.

func (ImagesImageOutput) ToImagesImageOutput

func (o ImagesImageOutput) ToImagesImageOutput() ImagesImageOutput

func (ImagesImageOutput) ToImagesImageOutputWithContext

func (o ImagesImageOutput) ToImagesImageOutputWithContext(ctx context.Context) ImagesImageOutput

func (ImagesImageOutput) UpdatedAt

func (o ImagesImageOutput) UpdatedAt() pulumi.StringOutput

The update time of Image.

func (ImagesImageOutput) Visibility

func (o ImagesImageOutput) Visibility() pulumi.StringOutput

The visibility of Image.

type ImagesOutputArgs

type ImagesOutputArgs struct {
	// A list of Image IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The specification of  Instance.
	InstanceTypeId pulumi.StringPtrInput `pulumi:"instanceTypeId"`
	// Whether the Image support cloud-init.
	IsSupportCloudInit pulumi.BoolPtrInput `pulumi:"isSupportCloudInit"`
	// A Name Regex of Image.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// The operating system type of Image.
	OsType pulumi.StringPtrInput `pulumi:"osType"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// A list of Image status, the value can be `available` or `creating` or `error`.
	Statuses pulumi.StringArrayInput `pulumi:"statuses"`
	// The visibility of Image.
	Visibility pulumi.StringPtrInput `pulumi:"visibility"`
}

A collection of arguments for invoking Images.

func (ImagesOutputArgs) ElementType

func (ImagesOutputArgs) ElementType() reflect.Type

type ImagesResult

type ImagesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id  string   `pulumi:"id"`
	Ids []string `pulumi:"ids"`
	// The collection of Image query.
	Images         []ImagesImage `pulumi:"images"`
	InstanceTypeId *string       `pulumi:"instanceTypeId"`
	// Whether the Image support cloud-init.
	IsSupportCloudInit *bool   `pulumi:"isSupportCloudInit"`
	NameRegex          *string `pulumi:"nameRegex"`
	// The operating system type of Image.
	OsType     *string `pulumi:"osType"`
	OutputFile *string `pulumi:"outputFile"`
	// The status of Image.
	Statuses []string `pulumi:"statuses"`
	// The total count of Image query.
	TotalCount int `pulumi:"totalCount"`
	// The visibility of Image.
	Visibility *string `pulumi:"visibility"`
}

A collection of values returned by Images.

func Images

func Images(ctx *pulumi.Context, args *ImagesArgs, opts ...pulumi.InvokeOption) (*ImagesResult, error)

Use this data source to query detailed information of images ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.Images(ctx, &ecs.ImagesArgs{
			InstanceTypeId: pulumi.StringRef("ecs.g1.large"),
			OsType:         pulumi.StringRef("Linux"),
			Visibility:     pulumi.StringRef("public"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type ImagesResultOutput

type ImagesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Images.

func ImagesOutput

func ImagesOutput(ctx *pulumi.Context, args ImagesOutputArgs, opts ...pulumi.InvokeOption) ImagesResultOutput

func (ImagesResultOutput) ElementType

func (ImagesResultOutput) ElementType() reflect.Type

func (ImagesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (ImagesResultOutput) Ids

func (ImagesResultOutput) Images

The collection of Image query.

func (ImagesResultOutput) InstanceTypeId

func (o ImagesResultOutput) InstanceTypeId() pulumi.StringPtrOutput

func (ImagesResultOutput) IsSupportCloudInit

func (o ImagesResultOutput) IsSupportCloudInit() pulumi.BoolPtrOutput

Whether the Image support cloud-init.

func (ImagesResultOutput) NameRegex

func (ImagesResultOutput) OsType

The operating system type of Image.

func (ImagesResultOutput) OutputFile

func (o ImagesResultOutput) OutputFile() pulumi.StringPtrOutput

func (ImagesResultOutput) Statuses

The status of Image.

func (ImagesResultOutput) ToImagesResultOutput

func (o ImagesResultOutput) ToImagesResultOutput() ImagesResultOutput

func (ImagesResultOutput) ToImagesResultOutputWithContext

func (o ImagesResultOutput) ToImagesResultOutputWithContext(ctx context.Context) ImagesResultOutput

func (ImagesResultOutput) TotalCount

func (o ImagesResultOutput) TotalCount() pulumi.IntOutput

The total count of Image query.

func (ImagesResultOutput) Visibility

func (o ImagesResultOutput) Visibility() pulumi.StringPtrOutput

The visibility of Image.

type Instance

type Instance struct {
	pulumi.CustomResourceState

	// The auto renew flag of ECS instance.Only effective when instanceChargeType is PrePaid. Default is true.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	AutoRenew pulumi.BoolPtrOutput `pulumi:"autoRenew"`
	// The auto renew period of ECS instance.Only effective when instanceChargeType is PrePaid. Default is 1.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	AutoRenewPeriod pulumi.IntPtrOutput `pulumi:"autoRenewPeriod"`
	// The option of cpu,only support for ebm.
	CpuOptions InstanceCpuOptionsOutput `pulumi:"cpuOptions"`
	// The number of ECS instance CPU cores.
	Cpus pulumi.IntOutput `pulumi:"cpus"`
	// The create time of ECS instance.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The data volumes collection of  ECS instance.
	DataVolumes InstanceDataVolumeArrayOutput `pulumi:"dataVolumes"`
	// The ID of Ecs Deployment Set.
	DeploymentSetId pulumi.StringOutput `pulumi:"deploymentSetId"`
	// The description of ECS instance.
	Description pulumi.StringOutput `pulumi:"description"`
	// The GPU device info of Instance.
	GpuDevices InstanceGpuDeviceArrayOutput `pulumi:"gpuDevices"`
	// The host name of ECS instance.
	HostName pulumi.StringOutput `pulumi:"hostName"`
	// The hpc cluster ID of ECS instance.
	HpcClusterId pulumi.StringPtrOutput `pulumi:"hpcClusterId"`
	// The Image ID of ECS instance.
	ImageId pulumi.StringOutput `pulumi:"imageId"`
	// The include data volumes flag of ECS instance.Only effective when change instance charge type.include_data_volumes.
	IncludeDataVolumes pulumi.BoolPtrOutput `pulumi:"includeDataVolumes"`
	// The charge type of ECS instance, the value can be `PrePaid` or `PostPaid`.
	InstanceChargeType pulumi.StringOutput `pulumi:"instanceChargeType"`
	// The ID of ECS instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The name of ECS instance.
	InstanceName pulumi.StringOutput `pulumi:"instanceName"`
	// The instance type of ECS instance.
	InstanceType pulumi.StringOutput `pulumi:"instanceType"`
	// The number of IPv6 addresses to be automatically assigned from within the CIDR block of the subnet that hosts the ENI. Valid values: 1 to 10.
	Ipv6AddressCount pulumi.IntOutput `pulumi:"ipv6AddressCount"`
	// One or more IPv6 addresses selected from within the CIDR block of the subnet that hosts the ENI. Support up to 10.
	// You cannot specify both the ipv6Addresses and ipv6AddressCount parameters.
	Ipv6Addresses pulumi.StringArrayOutput `pulumi:"ipv6Addresses"`
	// The Flag of GPU instance.If the instance is GPU,The flag is true.
	IsGpu pulumi.BoolOutput `pulumi:"isGpu"`
	// Whether to keep the mirror settings. Only custom images and shared images support this field.
	// When the value of this field is true, the Password and KeyPairName cannot be specified.
	// When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	KeepImageCredential pulumi.BoolPtrOutput `pulumi:"keepImageCredential"`
	// The ssh key ID of ECS instance.
	KeyPairId pulumi.StringOutput `pulumi:"keyPairId"`
	// The ssh key name of ECS instance.
	KeyPairName pulumi.StringOutput `pulumi:"keyPairName"`
	// The memory size of ECS instance.
	MemorySize pulumi.IntOutput `pulumi:"memorySize"`
	// The ID of primary networkInterface.
	NetworkInterfaceId pulumi.StringOutput `pulumi:"networkInterfaceId"`
	// The os name of ECS instance.
	OsName pulumi.StringOutput `pulumi:"osName"`
	// The os type of ECS instance.
	OsType pulumi.StringOutput `pulumi:"osType"`
	// The password of ECS instance.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// The period of ECS instance.Only effective when instanceChargeType is PrePaid. Default is 12. Unit is Month.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// The private ip address of primary networkInterface.
	PrimaryIpAddress pulumi.StringOutput `pulumi:"primaryIpAddress"`
	// The ProjectName of the ecs instance.
	ProjectName pulumi.StringOutput `pulumi:"projectName"`
	// The secondary networkInterface detail collection of ECS instance.
	SecondaryNetworkInterfaces InstanceSecondaryNetworkInterfaceArrayOutput `pulumi:"secondaryNetworkInterfaces"`
	// The security enhancement strategy of ECS instance. The value can be Active or InActive. Default is Active.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	SecurityEnhancementStrategy pulumi.StringPtrOutput `pulumi:"securityEnhancementStrategy"`
	// The security group ID set of primary networkInterface.
	SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"`
	// The maximum hourly price for spot instances supports up to three decimal places. This parameter only takes effect when SpotStrategy=SpotWithPriceLimit.
	SpotPriceLimit pulumi.Float64PtrOutput `pulumi:"spotPriceLimit"`
	// The spot strategy will autoremove instance in some conditions.Please make sure you can maintain instance lifecycle before auto remove.The spot strategy of ECS instance, values:
	// NoSpot (default): indicates creating a normal pay-as-you-go instance.
	// SpotAsPriceGo: spot instance with system automatically bidding and following the current market price.
	// SpotWithPriceLimit: spot instance with a set upper limit for bidding price.
	SpotStrategy pulumi.StringOutput `pulumi:"spotStrategy"`
	// The status of ECS instance.
	Status pulumi.StringOutput `pulumi:"status"`
	// The stop mode of ECS instance.
	StoppedMode pulumi.StringOutput `pulumi:"stoppedMode"`
	// The subnet ID of primary networkInterface.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// The ID of system volume.
	SystemVolumeId pulumi.StringOutput `pulumi:"systemVolumeId"`
	// The size of system volume. The value range of the system volume size is ESSD_PL0: 20~2048, ESSD_FlexPL: 20~2048, PTSSD: 10~500.
	SystemVolumeSize pulumi.IntOutput `pulumi:"systemVolumeSize"`
	// The type of system volume, the value is `PTSSD` or `ESSD_PL0` or `ESSD_PL1` or `ESSD_PL2` or `ESSD_FlexPL`.
	SystemVolumeType pulumi.StringOutput `pulumi:"systemVolumeType"`
	// Tags.
	Tags InstanceTagArrayOutput `pulumi:"tags"`
	// The update time of ECS instance.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
	// The user data of ECS instance, this field must be encrypted with base64.
	UserData pulumi.StringOutput `pulumi:"userData"`
	// The VPC ID of ECS instance.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// The available zone ID of ECS instance.
	ZoneId pulumi.StringOutput `pulumi:"zoneId"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooZones, err := ecs.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     *pulumi.String(fooZones.Zones[0].Id),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooSecurityGroup, err := vpc.NewSecurityGroup(ctx, "fooSecurityGroup", &vpc.SecurityGroupArgs{
			SecurityGroupName: pulumi.String("acc-test-security-group"),
			VpcId:             fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooImages, err := ecs.Images(ctx, &ecs.ImagesArgs{
			OsType:         pulumi.StringRef("Linux"),
			Visibility:     pulumi.StringRef("public"),
			InstanceTypeId: pulumi.StringRef("ecs.g1.large"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = ecs.NewInstance(ctx, "fooInstance", &ecs.InstanceArgs{
			InstanceName:       pulumi.String("acc-test-ecs"),
			Description:        pulumi.String("acc-test"),
			HostName:           pulumi.String("tf-acc-test"),
			ImageId:            *pulumi.String(fooImages.Images[0].ImageId),
			InstanceType:       pulumi.String("ecs.g1.large"),
			Password:           pulumi.String("93f0cb0614Aab12"),
			InstanceChargeType: pulumi.String("PostPaid"),
			SystemVolumeType:   pulumi.String("ESSD_PL0"),
			SystemVolumeSize:   pulumi.Int(40),
			DataVolumes: ecs.InstanceDataVolumeArray{
				&ecs.InstanceDataVolumeArgs{
					VolumeType:         pulumi.String("ESSD_PL0"),
					Size:               pulumi.Int(50),
					DeleteWithInstance: pulumi.Bool(true),
				},
			},
			SubnetId: fooSubnet.ID(),
			SecurityGroupIds: pulumi.StringArray{
				fooSecurityGroup.ID(),
			},
			ProjectName: pulumi.String("default"),
			Tags: ecs.InstanceTagArray{
				&ecs.InstanceTagArgs{
					Key:   pulumi.String("k1"),
					Value: pulumi.String("v1"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ECS Instance can be imported using the id, e.g. If Import,The data_volumes is sort by volume name

```sh

$ pulumi import volcengine:ecs/instance:Instance default i-mizl7m1kqccg5smt1bdpijuj

```

func GetInstance

func GetInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)

GetInstance gets an existing Instance 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 NewInstance

func NewInstance(ctx *pulumi.Context,
	name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)

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

func (*Instance) ElementType

func (*Instance) ElementType() reflect.Type

func (*Instance) ToInstanceOutput

func (i *Instance) ToInstanceOutput() InstanceOutput

func (*Instance) ToInstanceOutputWithContext

func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

type InstanceArgs

type InstanceArgs struct {
	// The auto renew flag of ECS instance.Only effective when instanceChargeType is PrePaid. Default is true.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	AutoRenew pulumi.BoolPtrInput
	// The auto renew period of ECS instance.Only effective when instanceChargeType is PrePaid. Default is 1.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	AutoRenewPeriod pulumi.IntPtrInput
	// The option of cpu,only support for ebm.
	CpuOptions InstanceCpuOptionsPtrInput
	// The data volumes collection of  ECS instance.
	DataVolumes InstanceDataVolumeArrayInput
	// The ID of Ecs Deployment Set.
	DeploymentSetId pulumi.StringPtrInput
	// The description of ECS instance.
	Description pulumi.StringPtrInput
	// The host name of ECS instance.
	HostName pulumi.StringPtrInput
	// The hpc cluster ID of ECS instance.
	HpcClusterId pulumi.StringPtrInput
	// The Image ID of ECS instance.
	ImageId pulumi.StringInput
	// The include data volumes flag of ECS instance.Only effective when change instance charge type.include_data_volumes.
	IncludeDataVolumes pulumi.BoolPtrInput
	// The charge type of ECS instance, the value can be `PrePaid` or `PostPaid`.
	InstanceChargeType pulumi.StringPtrInput
	// The name of ECS instance.
	InstanceName pulumi.StringPtrInput
	// The instance type of ECS instance.
	InstanceType pulumi.StringInput
	// The number of IPv6 addresses to be automatically assigned from within the CIDR block of the subnet that hosts the ENI. Valid values: 1 to 10.
	Ipv6AddressCount pulumi.IntPtrInput
	// One or more IPv6 addresses selected from within the CIDR block of the subnet that hosts the ENI. Support up to 10.
	// You cannot specify both the ipv6Addresses and ipv6AddressCount parameters.
	Ipv6Addresses pulumi.StringArrayInput
	// Whether to keep the mirror settings. Only custom images and shared images support this field.
	// When the value of this field is true, the Password and KeyPairName cannot be specified.
	// When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	KeepImageCredential pulumi.BoolPtrInput
	// The ssh key name of ECS instance.
	KeyPairName pulumi.StringPtrInput
	// The password of ECS instance.
	Password pulumi.StringPtrInput
	// The period of ECS instance.Only effective when instanceChargeType is PrePaid. Default is 12. Unit is Month.
	Period pulumi.IntPtrInput
	// The private ip address of primary networkInterface.
	PrimaryIpAddress pulumi.StringPtrInput
	// The ProjectName of the ecs instance.
	ProjectName pulumi.StringPtrInput
	// The secondary networkInterface detail collection of ECS instance.
	SecondaryNetworkInterfaces InstanceSecondaryNetworkInterfaceArrayInput
	// The security enhancement strategy of ECS instance. The value can be Active or InActive. Default is Active.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	SecurityEnhancementStrategy pulumi.StringPtrInput
	// The security group ID set of primary networkInterface.
	SecurityGroupIds pulumi.StringArrayInput
	// The maximum hourly price for spot instances supports up to three decimal places. This parameter only takes effect when SpotStrategy=SpotWithPriceLimit.
	SpotPriceLimit pulumi.Float64PtrInput
	// The spot strategy will autoremove instance in some conditions.Please make sure you can maintain instance lifecycle before auto remove.The spot strategy of ECS instance, values:
	// NoSpot (default): indicates creating a normal pay-as-you-go instance.
	// SpotAsPriceGo: spot instance with system automatically bidding and following the current market price.
	// SpotWithPriceLimit: spot instance with a set upper limit for bidding price.
	SpotStrategy pulumi.StringPtrInput
	// The subnet ID of primary networkInterface.
	SubnetId pulumi.StringInput
	// The size of system volume. The value range of the system volume size is ESSD_PL0: 20~2048, ESSD_FlexPL: 20~2048, PTSSD: 10~500.
	SystemVolumeSize pulumi.IntInput
	// The type of system volume, the value is `PTSSD` or `ESSD_PL0` or `ESSD_PL1` or `ESSD_PL2` or `ESSD_FlexPL`.
	SystemVolumeType pulumi.StringInput
	// Tags.
	Tags InstanceTagArrayInput
	// The user data of ECS instance, this field must be encrypted with base64.
	UserData pulumi.StringPtrInput
	// The available zone ID of ECS instance.
	ZoneId pulumi.StringPtrInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType

func (InstanceArgs) ElementType() reflect.Type

type InstanceArray

type InstanceArray []InstanceInput

func (InstanceArray) ElementType

func (InstanceArray) ElementType() reflect.Type

func (InstanceArray) ToInstanceArrayOutput

func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArray) ToInstanceArrayOutputWithContext

func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceArrayInput

type InstanceArrayInput interface {
	pulumi.Input

	ToInstanceArrayOutput() InstanceArrayOutput
	ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput
}

InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:

InstanceArray{ InstanceArgs{...} }

type InstanceArrayOutput

type InstanceArrayOutput struct{ *pulumi.OutputState }

func (InstanceArrayOutput) ElementType

func (InstanceArrayOutput) ElementType() reflect.Type

func (InstanceArrayOutput) Index

func (InstanceArrayOutput) ToInstanceArrayOutput

func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArrayOutput) ToInstanceArrayOutputWithContext

func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceCpuOptions

type InstanceCpuOptions struct {
	// The number of subnuma in socket, only support for ebm. `1` indicates disabling SNC/NPS function. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	NumaPerSocket *int `pulumi:"numaPerSocket"`
	// The per core of threads, only support for ebm. `1` indicates disabling hyper threading function.
	ThreadsPerCore *int `pulumi:"threadsPerCore"`
}

type InstanceCpuOptionsArgs

type InstanceCpuOptionsArgs struct {
	// The number of subnuma in socket, only support for ebm. `1` indicates disabling SNC/NPS function. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	NumaPerSocket pulumi.IntPtrInput `pulumi:"numaPerSocket"`
	// The per core of threads, only support for ebm. `1` indicates disabling hyper threading function.
	ThreadsPerCore pulumi.IntPtrInput `pulumi:"threadsPerCore"`
}

func (InstanceCpuOptionsArgs) ElementType

func (InstanceCpuOptionsArgs) ElementType() reflect.Type

func (InstanceCpuOptionsArgs) ToInstanceCpuOptionsOutput

func (i InstanceCpuOptionsArgs) ToInstanceCpuOptionsOutput() InstanceCpuOptionsOutput

func (InstanceCpuOptionsArgs) ToInstanceCpuOptionsOutputWithContext

func (i InstanceCpuOptionsArgs) ToInstanceCpuOptionsOutputWithContext(ctx context.Context) InstanceCpuOptionsOutput

func (InstanceCpuOptionsArgs) ToInstanceCpuOptionsPtrOutput

func (i InstanceCpuOptionsArgs) ToInstanceCpuOptionsPtrOutput() InstanceCpuOptionsPtrOutput

func (InstanceCpuOptionsArgs) ToInstanceCpuOptionsPtrOutputWithContext

func (i InstanceCpuOptionsArgs) ToInstanceCpuOptionsPtrOutputWithContext(ctx context.Context) InstanceCpuOptionsPtrOutput

type InstanceCpuOptionsInput

type InstanceCpuOptionsInput interface {
	pulumi.Input

	ToInstanceCpuOptionsOutput() InstanceCpuOptionsOutput
	ToInstanceCpuOptionsOutputWithContext(context.Context) InstanceCpuOptionsOutput
}

InstanceCpuOptionsInput is an input type that accepts InstanceCpuOptionsArgs and InstanceCpuOptionsOutput values. You can construct a concrete instance of `InstanceCpuOptionsInput` via:

InstanceCpuOptionsArgs{...}

type InstanceCpuOptionsOutput

type InstanceCpuOptionsOutput struct{ *pulumi.OutputState }

func (InstanceCpuOptionsOutput) ElementType

func (InstanceCpuOptionsOutput) ElementType() reflect.Type

func (InstanceCpuOptionsOutput) NumaPerSocket added in v0.0.23

func (o InstanceCpuOptionsOutput) NumaPerSocket() pulumi.IntPtrOutput

The number of subnuma in socket, only support for ebm. `1` indicates disabling SNC/NPS function. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.

func (InstanceCpuOptionsOutput) ThreadsPerCore

func (o InstanceCpuOptionsOutput) ThreadsPerCore() pulumi.IntPtrOutput

The per core of threads, only support for ebm. `1` indicates disabling hyper threading function.

func (InstanceCpuOptionsOutput) ToInstanceCpuOptionsOutput

func (o InstanceCpuOptionsOutput) ToInstanceCpuOptionsOutput() InstanceCpuOptionsOutput

func (InstanceCpuOptionsOutput) ToInstanceCpuOptionsOutputWithContext

func (o InstanceCpuOptionsOutput) ToInstanceCpuOptionsOutputWithContext(ctx context.Context) InstanceCpuOptionsOutput

func (InstanceCpuOptionsOutput) ToInstanceCpuOptionsPtrOutput

func (o InstanceCpuOptionsOutput) ToInstanceCpuOptionsPtrOutput() InstanceCpuOptionsPtrOutput

func (InstanceCpuOptionsOutput) ToInstanceCpuOptionsPtrOutputWithContext

func (o InstanceCpuOptionsOutput) ToInstanceCpuOptionsPtrOutputWithContext(ctx context.Context) InstanceCpuOptionsPtrOutput

type InstanceCpuOptionsPtrInput

type InstanceCpuOptionsPtrInput interface {
	pulumi.Input

	ToInstanceCpuOptionsPtrOutput() InstanceCpuOptionsPtrOutput
	ToInstanceCpuOptionsPtrOutputWithContext(context.Context) InstanceCpuOptionsPtrOutput
}

InstanceCpuOptionsPtrInput is an input type that accepts InstanceCpuOptionsArgs, InstanceCpuOptionsPtr and InstanceCpuOptionsPtrOutput values. You can construct a concrete instance of `InstanceCpuOptionsPtrInput` via:

        InstanceCpuOptionsArgs{...}

or:

        nil

type InstanceCpuOptionsPtrOutput

type InstanceCpuOptionsPtrOutput struct{ *pulumi.OutputState }

func (InstanceCpuOptionsPtrOutput) Elem

func (InstanceCpuOptionsPtrOutput) ElementType

func (InstanceCpuOptionsPtrOutput) NumaPerSocket added in v0.0.23

The number of subnuma in socket, only support for ebm. `1` indicates disabling SNC/NPS function. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.

func (InstanceCpuOptionsPtrOutput) ThreadsPerCore

func (o InstanceCpuOptionsPtrOutput) ThreadsPerCore() pulumi.IntPtrOutput

The per core of threads, only support for ebm. `1` indicates disabling hyper threading function.

func (InstanceCpuOptionsPtrOutput) ToInstanceCpuOptionsPtrOutput

func (o InstanceCpuOptionsPtrOutput) ToInstanceCpuOptionsPtrOutput() InstanceCpuOptionsPtrOutput

func (InstanceCpuOptionsPtrOutput) ToInstanceCpuOptionsPtrOutputWithContext

func (o InstanceCpuOptionsPtrOutput) ToInstanceCpuOptionsPtrOutputWithContext(ctx context.Context) InstanceCpuOptionsPtrOutput

type InstanceDataVolume

type InstanceDataVolume struct {
	// The delete with instance flag of volume.
	DeleteWithInstance *bool `pulumi:"deleteWithInstance"`
	// The size of volume. The value range of the data volume size is ESSD_PL0: 10~32768, ESSD_FlexPL: 10~32768, PTSSD: 20~8192.
	Size int `pulumi:"size"`
	// The type of volume, the value is `PTSSD` or `ESSD_PL0` or `ESSD_PL1` or `ESSD_PL2` or `ESSD_FlexPL`.
	VolumeType string `pulumi:"volumeType"`
}

type InstanceDataVolumeArgs

type InstanceDataVolumeArgs struct {
	// The delete with instance flag of volume.
	DeleteWithInstance pulumi.BoolPtrInput `pulumi:"deleteWithInstance"`
	// The size of volume. The value range of the data volume size is ESSD_PL0: 10~32768, ESSD_FlexPL: 10~32768, PTSSD: 20~8192.
	Size pulumi.IntInput `pulumi:"size"`
	// The type of volume, the value is `PTSSD` or `ESSD_PL0` or `ESSD_PL1` or `ESSD_PL2` or `ESSD_FlexPL`.
	VolumeType pulumi.StringInput `pulumi:"volumeType"`
}

func (InstanceDataVolumeArgs) ElementType

func (InstanceDataVolumeArgs) ElementType() reflect.Type

func (InstanceDataVolumeArgs) ToInstanceDataVolumeOutput

func (i InstanceDataVolumeArgs) ToInstanceDataVolumeOutput() InstanceDataVolumeOutput

func (InstanceDataVolumeArgs) ToInstanceDataVolumeOutputWithContext

func (i InstanceDataVolumeArgs) ToInstanceDataVolumeOutputWithContext(ctx context.Context) InstanceDataVolumeOutput

type InstanceDataVolumeArray

type InstanceDataVolumeArray []InstanceDataVolumeInput

func (InstanceDataVolumeArray) ElementType

func (InstanceDataVolumeArray) ElementType() reflect.Type

func (InstanceDataVolumeArray) ToInstanceDataVolumeArrayOutput

func (i InstanceDataVolumeArray) ToInstanceDataVolumeArrayOutput() InstanceDataVolumeArrayOutput

func (InstanceDataVolumeArray) ToInstanceDataVolumeArrayOutputWithContext

func (i InstanceDataVolumeArray) ToInstanceDataVolumeArrayOutputWithContext(ctx context.Context) InstanceDataVolumeArrayOutput

type InstanceDataVolumeArrayInput

type InstanceDataVolumeArrayInput interface {
	pulumi.Input

	ToInstanceDataVolumeArrayOutput() InstanceDataVolumeArrayOutput
	ToInstanceDataVolumeArrayOutputWithContext(context.Context) InstanceDataVolumeArrayOutput
}

InstanceDataVolumeArrayInput is an input type that accepts InstanceDataVolumeArray and InstanceDataVolumeArrayOutput values. You can construct a concrete instance of `InstanceDataVolumeArrayInput` via:

InstanceDataVolumeArray{ InstanceDataVolumeArgs{...} }

type InstanceDataVolumeArrayOutput

type InstanceDataVolumeArrayOutput struct{ *pulumi.OutputState }

func (InstanceDataVolumeArrayOutput) ElementType

func (InstanceDataVolumeArrayOutput) Index

func (InstanceDataVolumeArrayOutput) ToInstanceDataVolumeArrayOutput

func (o InstanceDataVolumeArrayOutput) ToInstanceDataVolumeArrayOutput() InstanceDataVolumeArrayOutput

func (InstanceDataVolumeArrayOutput) ToInstanceDataVolumeArrayOutputWithContext

func (o InstanceDataVolumeArrayOutput) ToInstanceDataVolumeArrayOutputWithContext(ctx context.Context) InstanceDataVolumeArrayOutput

type InstanceDataVolumeInput

type InstanceDataVolumeInput interface {
	pulumi.Input

	ToInstanceDataVolumeOutput() InstanceDataVolumeOutput
	ToInstanceDataVolumeOutputWithContext(context.Context) InstanceDataVolumeOutput
}

InstanceDataVolumeInput is an input type that accepts InstanceDataVolumeArgs and InstanceDataVolumeOutput values. You can construct a concrete instance of `InstanceDataVolumeInput` via:

InstanceDataVolumeArgs{...}

type InstanceDataVolumeOutput

type InstanceDataVolumeOutput struct{ *pulumi.OutputState }

func (InstanceDataVolumeOutput) DeleteWithInstance

func (o InstanceDataVolumeOutput) DeleteWithInstance() pulumi.BoolPtrOutput

The delete with instance flag of volume.

func (InstanceDataVolumeOutput) ElementType

func (InstanceDataVolumeOutput) ElementType() reflect.Type

func (InstanceDataVolumeOutput) Size

The size of volume. The value range of the data volume size is ESSD_PL0: 10~32768, ESSD_FlexPL: 10~32768, PTSSD: 20~8192.

func (InstanceDataVolumeOutput) ToInstanceDataVolumeOutput

func (o InstanceDataVolumeOutput) ToInstanceDataVolumeOutput() InstanceDataVolumeOutput

func (InstanceDataVolumeOutput) ToInstanceDataVolumeOutputWithContext

func (o InstanceDataVolumeOutput) ToInstanceDataVolumeOutputWithContext(ctx context.Context) InstanceDataVolumeOutput

func (InstanceDataVolumeOutput) VolumeType

The type of volume, the value is `PTSSD` or `ESSD_PL0` or `ESSD_PL1` or `ESSD_PL2` or `ESSD_FlexPL`.

type InstanceGpuDevice

type InstanceGpuDevice struct {
	// The Count of GPU device.
	Count *int `pulumi:"count"`
	// The Encrypted Memory Size of GPU device.
	EncryptedMemorySize *int `pulumi:"encryptedMemorySize"`
	// The memory size of ECS instance.
	MemorySize *int `pulumi:"memorySize"`
	// The Product Name of GPU device.
	ProductName *string `pulumi:"productName"`
}

type InstanceGpuDeviceArgs

type InstanceGpuDeviceArgs struct {
	// The Count of GPU device.
	Count pulumi.IntPtrInput `pulumi:"count"`
	// The Encrypted Memory Size of GPU device.
	EncryptedMemorySize pulumi.IntPtrInput `pulumi:"encryptedMemorySize"`
	// The memory size of ECS instance.
	MemorySize pulumi.IntPtrInput `pulumi:"memorySize"`
	// The Product Name of GPU device.
	ProductName pulumi.StringPtrInput `pulumi:"productName"`
}

func (InstanceGpuDeviceArgs) ElementType

func (InstanceGpuDeviceArgs) ElementType() reflect.Type

func (InstanceGpuDeviceArgs) ToInstanceGpuDeviceOutput

func (i InstanceGpuDeviceArgs) ToInstanceGpuDeviceOutput() InstanceGpuDeviceOutput

func (InstanceGpuDeviceArgs) ToInstanceGpuDeviceOutputWithContext

func (i InstanceGpuDeviceArgs) ToInstanceGpuDeviceOutputWithContext(ctx context.Context) InstanceGpuDeviceOutput

type InstanceGpuDeviceArray

type InstanceGpuDeviceArray []InstanceGpuDeviceInput

func (InstanceGpuDeviceArray) ElementType

func (InstanceGpuDeviceArray) ElementType() reflect.Type

func (InstanceGpuDeviceArray) ToInstanceGpuDeviceArrayOutput

func (i InstanceGpuDeviceArray) ToInstanceGpuDeviceArrayOutput() InstanceGpuDeviceArrayOutput

func (InstanceGpuDeviceArray) ToInstanceGpuDeviceArrayOutputWithContext

func (i InstanceGpuDeviceArray) ToInstanceGpuDeviceArrayOutputWithContext(ctx context.Context) InstanceGpuDeviceArrayOutput

type InstanceGpuDeviceArrayInput

type InstanceGpuDeviceArrayInput interface {
	pulumi.Input

	ToInstanceGpuDeviceArrayOutput() InstanceGpuDeviceArrayOutput
	ToInstanceGpuDeviceArrayOutputWithContext(context.Context) InstanceGpuDeviceArrayOutput
}

InstanceGpuDeviceArrayInput is an input type that accepts InstanceGpuDeviceArray and InstanceGpuDeviceArrayOutput values. You can construct a concrete instance of `InstanceGpuDeviceArrayInput` via:

InstanceGpuDeviceArray{ InstanceGpuDeviceArgs{...} }

type InstanceGpuDeviceArrayOutput

type InstanceGpuDeviceArrayOutput struct{ *pulumi.OutputState }

func (InstanceGpuDeviceArrayOutput) ElementType

func (InstanceGpuDeviceArrayOutput) Index

func (InstanceGpuDeviceArrayOutput) ToInstanceGpuDeviceArrayOutput

func (o InstanceGpuDeviceArrayOutput) ToInstanceGpuDeviceArrayOutput() InstanceGpuDeviceArrayOutput

func (InstanceGpuDeviceArrayOutput) ToInstanceGpuDeviceArrayOutputWithContext

func (o InstanceGpuDeviceArrayOutput) ToInstanceGpuDeviceArrayOutputWithContext(ctx context.Context) InstanceGpuDeviceArrayOutput

type InstanceGpuDeviceInput

type InstanceGpuDeviceInput interface {
	pulumi.Input

	ToInstanceGpuDeviceOutput() InstanceGpuDeviceOutput
	ToInstanceGpuDeviceOutputWithContext(context.Context) InstanceGpuDeviceOutput
}

InstanceGpuDeviceInput is an input type that accepts InstanceGpuDeviceArgs and InstanceGpuDeviceOutput values. You can construct a concrete instance of `InstanceGpuDeviceInput` via:

InstanceGpuDeviceArgs{...}

type InstanceGpuDeviceOutput

type InstanceGpuDeviceOutput struct{ *pulumi.OutputState }

func (InstanceGpuDeviceOutput) Count

The Count of GPU device.

func (InstanceGpuDeviceOutput) ElementType

func (InstanceGpuDeviceOutput) ElementType() reflect.Type

func (InstanceGpuDeviceOutput) EncryptedMemorySize

func (o InstanceGpuDeviceOutput) EncryptedMemorySize() pulumi.IntPtrOutput

The Encrypted Memory Size of GPU device.

func (InstanceGpuDeviceOutput) MemorySize

The memory size of ECS instance.

func (InstanceGpuDeviceOutput) ProductName

The Product Name of GPU device.

func (InstanceGpuDeviceOutput) ToInstanceGpuDeviceOutput

func (o InstanceGpuDeviceOutput) ToInstanceGpuDeviceOutput() InstanceGpuDeviceOutput

func (InstanceGpuDeviceOutput) ToInstanceGpuDeviceOutputWithContext

func (o InstanceGpuDeviceOutput) ToInstanceGpuDeviceOutputWithContext(ctx context.Context) InstanceGpuDeviceOutput

type InstanceInput

type InstanceInput interface {
	pulumi.Input

	ToInstanceOutput() InstanceOutput
	ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
}

type InstanceMap

type InstanceMap map[string]InstanceInput

func (InstanceMap) ElementType

func (InstanceMap) ElementType() reflect.Type

func (InstanceMap) ToInstanceMapOutput

func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMap) ToInstanceMapOutputWithContext

func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceMapInput

type InstanceMapInput interface {
	pulumi.Input

	ToInstanceMapOutput() InstanceMapOutput
	ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput
}

InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:

InstanceMap{ "key": InstanceArgs{...} }

type InstanceMapOutput

type InstanceMapOutput struct{ *pulumi.OutputState }

func (InstanceMapOutput) ElementType

func (InstanceMapOutput) ElementType() reflect.Type

func (InstanceMapOutput) MapIndex

func (InstanceMapOutput) ToInstanceMapOutput

func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMapOutput) ToInstanceMapOutputWithContext

func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceOutput

type InstanceOutput struct{ *pulumi.OutputState }

func (InstanceOutput) AutoRenew

func (o InstanceOutput) AutoRenew() pulumi.BoolPtrOutput

The auto renew flag of ECS instance.Only effective when instanceChargeType is PrePaid. Default is true.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.

func (InstanceOutput) AutoRenewPeriod

func (o InstanceOutput) AutoRenewPeriod() pulumi.IntPtrOutput

The auto renew period of ECS instance.Only effective when instanceChargeType is PrePaid. Default is 1.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.

func (InstanceOutput) CpuOptions

The option of cpu,only support for ebm.

func (InstanceOutput) Cpus

func (o InstanceOutput) Cpus() pulumi.IntOutput

The number of ECS instance CPU cores.

func (InstanceOutput) CreatedAt

func (o InstanceOutput) CreatedAt() pulumi.StringOutput

The create time of ECS instance.

func (InstanceOutput) DataVolumes

The data volumes collection of ECS instance.

func (InstanceOutput) DeploymentSetId

func (o InstanceOutput) DeploymentSetId() pulumi.StringOutput

The ID of Ecs Deployment Set.

func (InstanceOutput) Description

func (o InstanceOutput) Description() pulumi.StringOutput

The description of ECS instance.

func (InstanceOutput) ElementType

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) GpuDevices

The GPU device info of Instance.

func (InstanceOutput) HostName

func (o InstanceOutput) HostName() pulumi.StringOutput

The host name of ECS instance.

func (InstanceOutput) HpcClusterId

func (o InstanceOutput) HpcClusterId() pulumi.StringPtrOutput

The hpc cluster ID of ECS instance.

func (InstanceOutput) ImageId

func (o InstanceOutput) ImageId() pulumi.StringOutput

The Image ID of ECS instance.

func (InstanceOutput) IncludeDataVolumes

func (o InstanceOutput) IncludeDataVolumes() pulumi.BoolPtrOutput

The include data volumes flag of ECS instance.Only effective when change instance charge type.include_data_volumes.

func (InstanceOutput) InstanceChargeType

func (o InstanceOutput) InstanceChargeType() pulumi.StringOutput

The charge type of ECS instance, the value can be `PrePaid` or `PostPaid`.

func (InstanceOutput) InstanceId

func (o InstanceOutput) InstanceId() pulumi.StringOutput

The ID of ECS instance.

func (InstanceOutput) InstanceName

func (o InstanceOutput) InstanceName() pulumi.StringOutput

The name of ECS instance.

func (InstanceOutput) InstanceType

func (o InstanceOutput) InstanceType() pulumi.StringOutput

The instance type of ECS instance.

func (InstanceOutput) Ipv6AddressCount

func (o InstanceOutput) Ipv6AddressCount() pulumi.IntOutput

The number of IPv6 addresses to be automatically assigned from within the CIDR block of the subnet that hosts the ENI. Valid values: 1 to 10.

func (InstanceOutput) Ipv6Addresses

func (o InstanceOutput) Ipv6Addresses() pulumi.StringArrayOutput

One or more IPv6 addresses selected from within the CIDR block of the subnet that hosts the ENI. Support up to 10. You cannot specify both the ipv6Addresses and ipv6AddressCount parameters.

func (InstanceOutput) IsGpu

func (o InstanceOutput) IsGpu() pulumi.BoolOutput

The Flag of GPU instance.If the instance is GPU,The flag is true.

func (InstanceOutput) KeepImageCredential

func (o InstanceOutput) KeepImageCredential() pulumi.BoolPtrOutput

Whether to keep the mirror settings. Only custom images and shared images support this field. When the value of this field is true, the Password and KeyPairName cannot be specified. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.

func (InstanceOutput) KeyPairId

func (o InstanceOutput) KeyPairId() pulumi.StringOutput

The ssh key ID of ECS instance.

func (InstanceOutput) KeyPairName

func (o InstanceOutput) KeyPairName() pulumi.StringOutput

The ssh key name of ECS instance.

func (InstanceOutput) MemorySize

func (o InstanceOutput) MemorySize() pulumi.IntOutput

The memory size of ECS instance.

func (InstanceOutput) NetworkInterfaceId

func (o InstanceOutput) NetworkInterfaceId() pulumi.StringOutput

The ID of primary networkInterface.

func (InstanceOutput) OsName

func (o InstanceOutput) OsName() pulumi.StringOutput

The os name of ECS instance.

func (InstanceOutput) OsType

func (o InstanceOutput) OsType() pulumi.StringOutput

The os type of ECS instance.

func (InstanceOutput) Password

func (o InstanceOutput) Password() pulumi.StringPtrOutput

The password of ECS instance.

func (InstanceOutput) Period

func (o InstanceOutput) Period() pulumi.IntPtrOutput

The period of ECS instance.Only effective when instanceChargeType is PrePaid. Default is 12. Unit is Month.

func (InstanceOutput) PrimaryIpAddress

func (o InstanceOutput) PrimaryIpAddress() pulumi.StringOutput

The private ip address of primary networkInterface.

func (InstanceOutput) ProjectName

func (o InstanceOutput) ProjectName() pulumi.StringOutput

The ProjectName of the ecs instance.

func (InstanceOutput) SecondaryNetworkInterfaces

func (o InstanceOutput) SecondaryNetworkInterfaces() InstanceSecondaryNetworkInterfaceArrayOutput

The secondary networkInterface detail collection of ECS instance.

func (InstanceOutput) SecurityEnhancementStrategy

func (o InstanceOutput) SecurityEnhancementStrategy() pulumi.StringPtrOutput

The security enhancement strategy of ECS instance. The value can be Active or InActive. Default is Active.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.

func (InstanceOutput) SecurityGroupIds

func (o InstanceOutput) SecurityGroupIds() pulumi.StringArrayOutput

The security group ID set of primary networkInterface.

func (InstanceOutput) SpotPriceLimit added in v0.0.19

func (o InstanceOutput) SpotPriceLimit() pulumi.Float64PtrOutput

The maximum hourly price for spot instances supports up to three decimal places. This parameter only takes effect when SpotStrategy=SpotWithPriceLimit.

func (InstanceOutput) SpotStrategy

func (o InstanceOutput) SpotStrategy() pulumi.StringOutput

The spot strategy will autoremove instance in some conditions.Please make sure you can maintain instance lifecycle before auto remove.The spot strategy of ECS instance, values: NoSpot (default): indicates creating a normal pay-as-you-go instance. SpotAsPriceGo: spot instance with system automatically bidding and following the current market price. SpotWithPriceLimit: spot instance with a set upper limit for bidding price.

func (InstanceOutput) Status

func (o InstanceOutput) Status() pulumi.StringOutput

The status of ECS instance.

func (InstanceOutput) StoppedMode

func (o InstanceOutput) StoppedMode() pulumi.StringOutput

The stop mode of ECS instance.

func (InstanceOutput) SubnetId

func (o InstanceOutput) SubnetId() pulumi.StringOutput

The subnet ID of primary networkInterface.

func (InstanceOutput) SystemVolumeId

func (o InstanceOutput) SystemVolumeId() pulumi.StringOutput

The ID of system volume.

func (InstanceOutput) SystemVolumeSize

func (o InstanceOutput) SystemVolumeSize() pulumi.IntOutput

The size of system volume. The value range of the system volume size is ESSD_PL0: 20~2048, ESSD_FlexPL: 20~2048, PTSSD: 10~500.

func (InstanceOutput) SystemVolumeType

func (o InstanceOutput) SystemVolumeType() pulumi.StringOutput

The type of system volume, the value is `PTSSD` or `ESSD_PL0` or `ESSD_PL1` or `ESSD_PL2` or `ESSD_FlexPL`.

func (InstanceOutput) Tags

Tags.

func (InstanceOutput) ToInstanceOutput

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext

func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

func (InstanceOutput) UpdatedAt

func (o InstanceOutput) UpdatedAt() pulumi.StringOutput

The update time of ECS instance.

func (InstanceOutput) UserData

func (o InstanceOutput) UserData() pulumi.StringOutput

The user data of ECS instance, this field must be encrypted with base64.

func (InstanceOutput) VpcId

The VPC ID of ECS instance.

func (InstanceOutput) ZoneId

func (o InstanceOutput) ZoneId() pulumi.StringOutput

The available zone ID of ECS instance.

type InstanceSecondaryNetworkInterface

type InstanceSecondaryNetworkInterface struct {
	// The private ip address of primary networkInterface.
	PrimaryIpAddress *string `pulumi:"primaryIpAddress"`
	// The security group ID set of secondary networkInterface.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// The subnet ID of secondary networkInterface.
	SubnetId string `pulumi:"subnetId"`
}

type InstanceSecondaryNetworkInterfaceArgs

type InstanceSecondaryNetworkInterfaceArgs struct {
	// The private ip address of primary networkInterface.
	PrimaryIpAddress pulumi.StringPtrInput `pulumi:"primaryIpAddress"`
	// The security group ID set of secondary networkInterface.
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	// The subnet ID of secondary networkInterface.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
}

func (InstanceSecondaryNetworkInterfaceArgs) ElementType

func (InstanceSecondaryNetworkInterfaceArgs) ToInstanceSecondaryNetworkInterfaceOutput

func (i InstanceSecondaryNetworkInterfaceArgs) ToInstanceSecondaryNetworkInterfaceOutput() InstanceSecondaryNetworkInterfaceOutput

func (InstanceSecondaryNetworkInterfaceArgs) ToInstanceSecondaryNetworkInterfaceOutputWithContext

func (i InstanceSecondaryNetworkInterfaceArgs) ToInstanceSecondaryNetworkInterfaceOutputWithContext(ctx context.Context) InstanceSecondaryNetworkInterfaceOutput

type InstanceSecondaryNetworkInterfaceArray

type InstanceSecondaryNetworkInterfaceArray []InstanceSecondaryNetworkInterfaceInput

func (InstanceSecondaryNetworkInterfaceArray) ElementType

func (InstanceSecondaryNetworkInterfaceArray) ToInstanceSecondaryNetworkInterfaceArrayOutput

func (i InstanceSecondaryNetworkInterfaceArray) ToInstanceSecondaryNetworkInterfaceArrayOutput() InstanceSecondaryNetworkInterfaceArrayOutput

func (InstanceSecondaryNetworkInterfaceArray) ToInstanceSecondaryNetworkInterfaceArrayOutputWithContext

func (i InstanceSecondaryNetworkInterfaceArray) ToInstanceSecondaryNetworkInterfaceArrayOutputWithContext(ctx context.Context) InstanceSecondaryNetworkInterfaceArrayOutput

type InstanceSecondaryNetworkInterfaceArrayInput

type InstanceSecondaryNetworkInterfaceArrayInput interface {
	pulumi.Input

	ToInstanceSecondaryNetworkInterfaceArrayOutput() InstanceSecondaryNetworkInterfaceArrayOutput
	ToInstanceSecondaryNetworkInterfaceArrayOutputWithContext(context.Context) InstanceSecondaryNetworkInterfaceArrayOutput
}

InstanceSecondaryNetworkInterfaceArrayInput is an input type that accepts InstanceSecondaryNetworkInterfaceArray and InstanceSecondaryNetworkInterfaceArrayOutput values. You can construct a concrete instance of `InstanceSecondaryNetworkInterfaceArrayInput` via:

InstanceSecondaryNetworkInterfaceArray{ InstanceSecondaryNetworkInterfaceArgs{...} }

type InstanceSecondaryNetworkInterfaceArrayOutput

type InstanceSecondaryNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }

func (InstanceSecondaryNetworkInterfaceArrayOutput) ElementType

func (InstanceSecondaryNetworkInterfaceArrayOutput) Index

func (InstanceSecondaryNetworkInterfaceArrayOutput) ToInstanceSecondaryNetworkInterfaceArrayOutput

func (o InstanceSecondaryNetworkInterfaceArrayOutput) ToInstanceSecondaryNetworkInterfaceArrayOutput() InstanceSecondaryNetworkInterfaceArrayOutput

func (InstanceSecondaryNetworkInterfaceArrayOutput) ToInstanceSecondaryNetworkInterfaceArrayOutputWithContext

func (o InstanceSecondaryNetworkInterfaceArrayOutput) ToInstanceSecondaryNetworkInterfaceArrayOutputWithContext(ctx context.Context) InstanceSecondaryNetworkInterfaceArrayOutput

type InstanceSecondaryNetworkInterfaceInput

type InstanceSecondaryNetworkInterfaceInput interface {
	pulumi.Input

	ToInstanceSecondaryNetworkInterfaceOutput() InstanceSecondaryNetworkInterfaceOutput
	ToInstanceSecondaryNetworkInterfaceOutputWithContext(context.Context) InstanceSecondaryNetworkInterfaceOutput
}

InstanceSecondaryNetworkInterfaceInput is an input type that accepts InstanceSecondaryNetworkInterfaceArgs and InstanceSecondaryNetworkInterfaceOutput values. You can construct a concrete instance of `InstanceSecondaryNetworkInterfaceInput` via:

InstanceSecondaryNetworkInterfaceArgs{...}

type InstanceSecondaryNetworkInterfaceOutput

type InstanceSecondaryNetworkInterfaceOutput struct{ *pulumi.OutputState }

func (InstanceSecondaryNetworkInterfaceOutput) ElementType

func (InstanceSecondaryNetworkInterfaceOutput) PrimaryIpAddress

The private ip address of primary networkInterface.

func (InstanceSecondaryNetworkInterfaceOutput) SecurityGroupIds

The security group ID set of secondary networkInterface.

func (InstanceSecondaryNetworkInterfaceOutput) SubnetId

The subnet ID of secondary networkInterface.

func (InstanceSecondaryNetworkInterfaceOutput) ToInstanceSecondaryNetworkInterfaceOutput

func (o InstanceSecondaryNetworkInterfaceOutput) ToInstanceSecondaryNetworkInterfaceOutput() InstanceSecondaryNetworkInterfaceOutput

func (InstanceSecondaryNetworkInterfaceOutput) ToInstanceSecondaryNetworkInterfaceOutputWithContext

func (o InstanceSecondaryNetworkInterfaceOutput) ToInstanceSecondaryNetworkInterfaceOutputWithContext(ctx context.Context) InstanceSecondaryNetworkInterfaceOutput

type InstanceState

type InstanceState struct {
	// The auto renew flag of ECS instance.Only effective when instanceChargeType is PrePaid. Default is true.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	AutoRenew pulumi.BoolPtrInput
	// The auto renew period of ECS instance.Only effective when instanceChargeType is PrePaid. Default is 1.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	AutoRenewPeriod pulumi.IntPtrInput
	// The option of cpu,only support for ebm.
	CpuOptions InstanceCpuOptionsPtrInput
	// The number of ECS instance CPU cores.
	Cpus pulumi.IntPtrInput
	// The create time of ECS instance.
	CreatedAt pulumi.StringPtrInput
	// The data volumes collection of  ECS instance.
	DataVolumes InstanceDataVolumeArrayInput
	// The ID of Ecs Deployment Set.
	DeploymentSetId pulumi.StringPtrInput
	// The description of ECS instance.
	Description pulumi.StringPtrInput
	// The GPU device info of Instance.
	GpuDevices InstanceGpuDeviceArrayInput
	// The host name of ECS instance.
	HostName pulumi.StringPtrInput
	// The hpc cluster ID of ECS instance.
	HpcClusterId pulumi.StringPtrInput
	// The Image ID of ECS instance.
	ImageId pulumi.StringPtrInput
	// The include data volumes flag of ECS instance.Only effective when change instance charge type.include_data_volumes.
	IncludeDataVolumes pulumi.BoolPtrInput
	// The charge type of ECS instance, the value can be `PrePaid` or `PostPaid`.
	InstanceChargeType pulumi.StringPtrInput
	// The ID of ECS instance.
	InstanceId pulumi.StringPtrInput
	// The name of ECS instance.
	InstanceName pulumi.StringPtrInput
	// The instance type of ECS instance.
	InstanceType pulumi.StringPtrInput
	// The number of IPv6 addresses to be automatically assigned from within the CIDR block of the subnet that hosts the ENI. Valid values: 1 to 10.
	Ipv6AddressCount pulumi.IntPtrInput
	// One or more IPv6 addresses selected from within the CIDR block of the subnet that hosts the ENI. Support up to 10.
	// You cannot specify both the ipv6Addresses and ipv6AddressCount parameters.
	Ipv6Addresses pulumi.StringArrayInput
	// The Flag of GPU instance.If the instance is GPU,The flag is true.
	IsGpu pulumi.BoolPtrInput
	// Whether to keep the mirror settings. Only custom images and shared images support this field.
	// When the value of this field is true, the Password and KeyPairName cannot be specified.
	// When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	KeepImageCredential pulumi.BoolPtrInput
	// The ssh key ID of ECS instance.
	KeyPairId pulumi.StringPtrInput
	// The ssh key name of ECS instance.
	KeyPairName pulumi.StringPtrInput
	// The memory size of ECS instance.
	MemorySize pulumi.IntPtrInput
	// The ID of primary networkInterface.
	NetworkInterfaceId pulumi.StringPtrInput
	// The os name of ECS instance.
	OsName pulumi.StringPtrInput
	// The os type of ECS instance.
	OsType pulumi.StringPtrInput
	// The password of ECS instance.
	Password pulumi.StringPtrInput
	// The period of ECS instance.Only effective when instanceChargeType is PrePaid. Default is 12. Unit is Month.
	Period pulumi.IntPtrInput
	// The private ip address of primary networkInterface.
	PrimaryIpAddress pulumi.StringPtrInput
	// The ProjectName of the ecs instance.
	ProjectName pulumi.StringPtrInput
	// The secondary networkInterface detail collection of ECS instance.
	SecondaryNetworkInterfaces InstanceSecondaryNetworkInterfaceArrayInput
	// The security enhancement strategy of ECS instance. The value can be Active or InActive. Default is Active.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
	SecurityEnhancementStrategy pulumi.StringPtrInput
	// The security group ID set of primary networkInterface.
	SecurityGroupIds pulumi.StringArrayInput
	// The maximum hourly price for spot instances supports up to three decimal places. This parameter only takes effect when SpotStrategy=SpotWithPriceLimit.
	SpotPriceLimit pulumi.Float64PtrInput
	// The spot strategy will autoremove instance in some conditions.Please make sure you can maintain instance lifecycle before auto remove.The spot strategy of ECS instance, values:
	// NoSpot (default): indicates creating a normal pay-as-you-go instance.
	// SpotAsPriceGo: spot instance with system automatically bidding and following the current market price.
	// SpotWithPriceLimit: spot instance with a set upper limit for bidding price.
	SpotStrategy pulumi.StringPtrInput
	// The status of ECS instance.
	Status pulumi.StringPtrInput
	// The stop mode of ECS instance.
	StoppedMode pulumi.StringPtrInput
	// The subnet ID of primary networkInterface.
	SubnetId pulumi.StringPtrInput
	// The ID of system volume.
	SystemVolumeId pulumi.StringPtrInput
	// The size of system volume. The value range of the system volume size is ESSD_PL0: 20~2048, ESSD_FlexPL: 20~2048, PTSSD: 10~500.
	SystemVolumeSize pulumi.IntPtrInput
	// The type of system volume, the value is `PTSSD` or `ESSD_PL0` or `ESSD_PL1` or `ESSD_PL2` or `ESSD_FlexPL`.
	SystemVolumeType pulumi.StringPtrInput
	// Tags.
	Tags InstanceTagArrayInput
	// The update time of ECS instance.
	UpdatedAt pulumi.StringPtrInput
	// The user data of ECS instance, this field must be encrypted with base64.
	UserData pulumi.StringPtrInput
	// The VPC ID of ECS instance.
	VpcId pulumi.StringPtrInput
	// The available zone ID of ECS instance.
	ZoneId pulumi.StringPtrInput
}

func (InstanceState) ElementType

func (InstanceState) ElementType() reflect.Type

type InstanceTag

type InstanceTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

type InstanceTagArgs

type InstanceTagArgs struct {
	// The Key of Tags.
	Key pulumi.StringInput `pulumi:"key"`
	// The Value of Tags.
	Value pulumi.StringInput `pulumi:"value"`
}

func (InstanceTagArgs) ElementType

func (InstanceTagArgs) ElementType() reflect.Type

func (InstanceTagArgs) ToInstanceTagOutput

func (i InstanceTagArgs) ToInstanceTagOutput() InstanceTagOutput

func (InstanceTagArgs) ToInstanceTagOutputWithContext

func (i InstanceTagArgs) ToInstanceTagOutputWithContext(ctx context.Context) InstanceTagOutput

type InstanceTagArray

type InstanceTagArray []InstanceTagInput

func (InstanceTagArray) ElementType

func (InstanceTagArray) ElementType() reflect.Type

func (InstanceTagArray) ToInstanceTagArrayOutput

func (i InstanceTagArray) ToInstanceTagArrayOutput() InstanceTagArrayOutput

func (InstanceTagArray) ToInstanceTagArrayOutputWithContext

func (i InstanceTagArray) ToInstanceTagArrayOutputWithContext(ctx context.Context) InstanceTagArrayOutput

type InstanceTagArrayInput

type InstanceTagArrayInput interface {
	pulumi.Input

	ToInstanceTagArrayOutput() InstanceTagArrayOutput
	ToInstanceTagArrayOutputWithContext(context.Context) InstanceTagArrayOutput
}

InstanceTagArrayInput is an input type that accepts InstanceTagArray and InstanceTagArrayOutput values. You can construct a concrete instance of `InstanceTagArrayInput` via:

InstanceTagArray{ InstanceTagArgs{...} }

type InstanceTagArrayOutput

type InstanceTagArrayOutput struct{ *pulumi.OutputState }

func (InstanceTagArrayOutput) ElementType

func (InstanceTagArrayOutput) ElementType() reflect.Type

func (InstanceTagArrayOutput) Index

func (InstanceTagArrayOutput) ToInstanceTagArrayOutput

func (o InstanceTagArrayOutput) ToInstanceTagArrayOutput() InstanceTagArrayOutput

func (InstanceTagArrayOutput) ToInstanceTagArrayOutputWithContext

func (o InstanceTagArrayOutput) ToInstanceTagArrayOutputWithContext(ctx context.Context) InstanceTagArrayOutput

type InstanceTagInput

type InstanceTagInput interface {
	pulumi.Input

	ToInstanceTagOutput() InstanceTagOutput
	ToInstanceTagOutputWithContext(context.Context) InstanceTagOutput
}

InstanceTagInput is an input type that accepts InstanceTagArgs and InstanceTagOutput values. You can construct a concrete instance of `InstanceTagInput` via:

InstanceTagArgs{...}

type InstanceTagOutput

type InstanceTagOutput struct{ *pulumi.OutputState }

func (InstanceTagOutput) ElementType

func (InstanceTagOutput) ElementType() reflect.Type

func (InstanceTagOutput) Key

The Key of Tags.

func (InstanceTagOutput) ToInstanceTagOutput

func (o InstanceTagOutput) ToInstanceTagOutput() InstanceTagOutput

func (InstanceTagOutput) ToInstanceTagOutputWithContext

func (o InstanceTagOutput) ToInstanceTagOutputWithContext(ctx context.Context) InstanceTagOutput

func (InstanceTagOutput) Value

The Value of Tags.

type InstanceTypesArgs added in v0.0.23

type InstanceTypesArgs struct {
	// A list of instance type IDs. When the number of ids is greater than 10, only the first 10 are effective.
	Ids []string `pulumi:"ids"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking InstanceTypes.

type InstanceTypesInstanceType added in v0.0.23

type InstanceTypesInstanceType struct {
	// The CPU benchmark performance that can be provided steadily by on-demand instances is determined by the instance type.
	BaselineCredit int `pulumi:"baselineCredit"`
	// The GPU device info of Instance.
	Gpus []InstanceTypesInstanceTypeGpus `pulumi:"gpus"`
	// The CPU credits obtained at once when creating a on-demand performance instance are fixed at 30 credits per vCPU.
	InitialCredit int `pulumi:"initialCredit"`
	// The instance type family.
	InstanceTypeFamily string `pulumi:"instanceTypeFamily"`
	// The id of the instance type.
	InstanceTypeId string `pulumi:"instanceTypeId"`
	// Local disk configuration information corresponding to instance specifications.
	LocalVolumes []InstanceTypesInstanceTypeLocalVolume `pulumi:"localVolumes"`
	// Memory information of instance specifications.
	Memories []InstanceTypesInstanceTypeMemory `pulumi:"memories"`
	// Network information of instance specifications.
	Networks []InstanceTypesInstanceTypeNetwork `pulumi:"networks"`
	// CPU information of instance specifications.
	Processors []InstanceTypesInstanceTypeProcessor `pulumi:"processors"`
	// RDMA Specification Information.
	Rdmas []InstanceTypesInstanceTypeRdma `pulumi:"rdmas"`
	// Cloud disk information for instance specifications.
	Volumes []InstanceTypesInstanceTypeVolume `pulumi:"volumes"`
}

type InstanceTypesInstanceTypeArgs added in v0.0.23

type InstanceTypesInstanceTypeArgs struct {
	// The CPU benchmark performance that can be provided steadily by on-demand instances is determined by the instance type.
	BaselineCredit pulumi.IntInput `pulumi:"baselineCredit"`
	// The GPU device info of Instance.
	Gpus InstanceTypesInstanceTypeGpusArrayInput `pulumi:"gpus"`
	// The CPU credits obtained at once when creating a on-demand performance instance are fixed at 30 credits per vCPU.
	InitialCredit pulumi.IntInput `pulumi:"initialCredit"`
	// The instance type family.
	InstanceTypeFamily pulumi.StringInput `pulumi:"instanceTypeFamily"`
	// The id of the instance type.
	InstanceTypeId pulumi.StringInput `pulumi:"instanceTypeId"`
	// Local disk configuration information corresponding to instance specifications.
	LocalVolumes InstanceTypesInstanceTypeLocalVolumeArrayInput `pulumi:"localVolumes"`
	// Memory information of instance specifications.
	Memories InstanceTypesInstanceTypeMemoryArrayInput `pulumi:"memories"`
	// Network information of instance specifications.
	Networks InstanceTypesInstanceTypeNetworkArrayInput `pulumi:"networks"`
	// CPU information of instance specifications.
	Processors InstanceTypesInstanceTypeProcessorArrayInput `pulumi:"processors"`
	// RDMA Specification Information.
	Rdmas InstanceTypesInstanceTypeRdmaArrayInput `pulumi:"rdmas"`
	// Cloud disk information for instance specifications.
	Volumes InstanceTypesInstanceTypeVolumeArrayInput `pulumi:"volumes"`
}

func (InstanceTypesInstanceTypeArgs) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeArgs) ToInstanceTypesInstanceTypeOutput added in v0.0.23

func (i InstanceTypesInstanceTypeArgs) ToInstanceTypesInstanceTypeOutput() InstanceTypesInstanceTypeOutput

func (InstanceTypesInstanceTypeArgs) ToInstanceTypesInstanceTypeOutputWithContext added in v0.0.23

func (i InstanceTypesInstanceTypeArgs) ToInstanceTypesInstanceTypeOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeOutput

type InstanceTypesInstanceTypeArray added in v0.0.23

type InstanceTypesInstanceTypeArray []InstanceTypesInstanceTypeInput

func (InstanceTypesInstanceTypeArray) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeArray) ToInstanceTypesInstanceTypeArrayOutput added in v0.0.23

func (i InstanceTypesInstanceTypeArray) ToInstanceTypesInstanceTypeArrayOutput() InstanceTypesInstanceTypeArrayOutput

func (InstanceTypesInstanceTypeArray) ToInstanceTypesInstanceTypeArrayOutputWithContext added in v0.0.23

func (i InstanceTypesInstanceTypeArray) ToInstanceTypesInstanceTypeArrayOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeArrayOutput

type InstanceTypesInstanceTypeArrayInput added in v0.0.23

type InstanceTypesInstanceTypeArrayInput interface {
	pulumi.Input

	ToInstanceTypesInstanceTypeArrayOutput() InstanceTypesInstanceTypeArrayOutput
	ToInstanceTypesInstanceTypeArrayOutputWithContext(context.Context) InstanceTypesInstanceTypeArrayOutput
}

InstanceTypesInstanceTypeArrayInput is an input type that accepts InstanceTypesInstanceTypeArray and InstanceTypesInstanceTypeArrayOutput values. You can construct a concrete instance of `InstanceTypesInstanceTypeArrayInput` via:

InstanceTypesInstanceTypeArray{ InstanceTypesInstanceTypeArgs{...} }

type InstanceTypesInstanceTypeArrayOutput added in v0.0.23

type InstanceTypesInstanceTypeArrayOutput struct{ *pulumi.OutputState }

func (InstanceTypesInstanceTypeArrayOutput) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeArrayOutput) Index added in v0.0.23

func (InstanceTypesInstanceTypeArrayOutput) ToInstanceTypesInstanceTypeArrayOutput added in v0.0.23

func (o InstanceTypesInstanceTypeArrayOutput) ToInstanceTypesInstanceTypeArrayOutput() InstanceTypesInstanceTypeArrayOutput

func (InstanceTypesInstanceTypeArrayOutput) ToInstanceTypesInstanceTypeArrayOutputWithContext added in v0.0.23

func (o InstanceTypesInstanceTypeArrayOutput) ToInstanceTypesInstanceTypeArrayOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeArrayOutput

type InstanceTypesInstanceTypeGpus added in v0.0.23

type InstanceTypesInstanceTypeGpus struct {
	// GPU device information list.
	GpuDevices []InstanceTypesInstanceTypeGpusGpuDevice `pulumi:"gpuDevices"`
}

type InstanceTypesInstanceTypeGpusArgs added in v0.0.23

type InstanceTypesInstanceTypeGpusArgs struct {
	// GPU device information list.
	GpuDevices InstanceTypesInstanceTypeGpusGpuDeviceArrayInput `pulumi:"gpuDevices"`
}

func (InstanceTypesInstanceTypeGpusArgs) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeGpusArgs) ToInstanceTypesInstanceTypeGpusOutput added in v0.0.23

func (i InstanceTypesInstanceTypeGpusArgs) ToInstanceTypesInstanceTypeGpusOutput() InstanceTypesInstanceTypeGpusOutput

func (InstanceTypesInstanceTypeGpusArgs) ToInstanceTypesInstanceTypeGpusOutputWithContext added in v0.0.23

func (i InstanceTypesInstanceTypeGpusArgs) ToInstanceTypesInstanceTypeGpusOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeGpusOutput

type InstanceTypesInstanceTypeGpusArray added in v0.0.23

type InstanceTypesInstanceTypeGpusArray []InstanceTypesInstanceTypeGpusInput

func (InstanceTypesInstanceTypeGpusArray) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeGpusArray) ToInstanceTypesInstanceTypeGpusArrayOutput added in v0.0.23

func (i InstanceTypesInstanceTypeGpusArray) ToInstanceTypesInstanceTypeGpusArrayOutput() InstanceTypesInstanceTypeGpusArrayOutput

func (InstanceTypesInstanceTypeGpusArray) ToInstanceTypesInstanceTypeGpusArrayOutputWithContext added in v0.0.23

func (i InstanceTypesInstanceTypeGpusArray) ToInstanceTypesInstanceTypeGpusArrayOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeGpusArrayOutput

type InstanceTypesInstanceTypeGpusArrayInput added in v0.0.23

type InstanceTypesInstanceTypeGpusArrayInput interface {
	pulumi.Input

	ToInstanceTypesInstanceTypeGpusArrayOutput() InstanceTypesInstanceTypeGpusArrayOutput
	ToInstanceTypesInstanceTypeGpusArrayOutputWithContext(context.Context) InstanceTypesInstanceTypeGpusArrayOutput
}

InstanceTypesInstanceTypeGpusArrayInput is an input type that accepts InstanceTypesInstanceTypeGpusArray and InstanceTypesInstanceTypeGpusArrayOutput values. You can construct a concrete instance of `InstanceTypesInstanceTypeGpusArrayInput` via:

InstanceTypesInstanceTypeGpusArray{ InstanceTypesInstanceTypeGpusArgs{...} }

type InstanceTypesInstanceTypeGpusArrayOutput added in v0.0.23

type InstanceTypesInstanceTypeGpusArrayOutput struct{ *pulumi.OutputState }

func (InstanceTypesInstanceTypeGpusArrayOutput) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeGpusArrayOutput) Index added in v0.0.23

func (InstanceTypesInstanceTypeGpusArrayOutput) ToInstanceTypesInstanceTypeGpusArrayOutput added in v0.0.23

func (o InstanceTypesInstanceTypeGpusArrayOutput) ToInstanceTypesInstanceTypeGpusArrayOutput() InstanceTypesInstanceTypeGpusArrayOutput

func (InstanceTypesInstanceTypeGpusArrayOutput) ToInstanceTypesInstanceTypeGpusArrayOutputWithContext added in v0.0.23

func (o InstanceTypesInstanceTypeGpusArrayOutput) ToInstanceTypesInstanceTypeGpusArrayOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeGpusArrayOutput

type InstanceTypesInstanceTypeGpusGpuDevice added in v0.0.23

type InstanceTypesInstanceTypeGpusGpuDevice struct {
	// The number of local disks mounted on the instance.
	Count int `pulumi:"count"`
	// Memory information of instance specifications.
	Memories []InstanceTypesInstanceTypeGpusGpuDeviceMemory `pulumi:"memories"`
	// The Product Name of GPU device.
	ProductName string `pulumi:"productName"`
}

type InstanceTypesInstanceTypeGpusGpuDeviceArgs added in v0.0.23

type InstanceTypesInstanceTypeGpusGpuDeviceArgs struct {
	// The number of local disks mounted on the instance.
	Count pulumi.IntInput `pulumi:"count"`
	// Memory information of instance specifications.
	Memories InstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayInput `pulumi:"memories"`
	// The Product Name of GPU device.
	ProductName pulumi.StringInput `pulumi:"productName"`
}

func (InstanceTypesInstanceTypeGpusGpuDeviceArgs) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeGpusGpuDeviceArgs) ToInstanceTypesInstanceTypeGpusGpuDeviceOutput added in v0.0.23

func (i InstanceTypesInstanceTypeGpusGpuDeviceArgs) ToInstanceTypesInstanceTypeGpusGpuDeviceOutput() InstanceTypesInstanceTypeGpusGpuDeviceOutput

func (InstanceTypesInstanceTypeGpusGpuDeviceArgs) ToInstanceTypesInstanceTypeGpusGpuDeviceOutputWithContext added in v0.0.23

func (i InstanceTypesInstanceTypeGpusGpuDeviceArgs) ToInstanceTypesInstanceTypeGpusGpuDeviceOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeGpusGpuDeviceOutput

type InstanceTypesInstanceTypeGpusGpuDeviceArray added in v0.0.23

type InstanceTypesInstanceTypeGpusGpuDeviceArray []InstanceTypesInstanceTypeGpusGpuDeviceInput

func (InstanceTypesInstanceTypeGpusGpuDeviceArray) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeGpusGpuDeviceArray) ToInstanceTypesInstanceTypeGpusGpuDeviceArrayOutput added in v0.0.23

func (i InstanceTypesInstanceTypeGpusGpuDeviceArray) ToInstanceTypesInstanceTypeGpusGpuDeviceArrayOutput() InstanceTypesInstanceTypeGpusGpuDeviceArrayOutput

func (InstanceTypesInstanceTypeGpusGpuDeviceArray) ToInstanceTypesInstanceTypeGpusGpuDeviceArrayOutputWithContext added in v0.0.23

func (i InstanceTypesInstanceTypeGpusGpuDeviceArray) ToInstanceTypesInstanceTypeGpusGpuDeviceArrayOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeGpusGpuDeviceArrayOutput

type InstanceTypesInstanceTypeGpusGpuDeviceArrayInput added in v0.0.23

type InstanceTypesInstanceTypeGpusGpuDeviceArrayInput interface {
	pulumi.Input

	ToInstanceTypesInstanceTypeGpusGpuDeviceArrayOutput() InstanceTypesInstanceTypeGpusGpuDeviceArrayOutput
	ToInstanceTypesInstanceTypeGpusGpuDeviceArrayOutputWithContext(context.Context) InstanceTypesInstanceTypeGpusGpuDeviceArrayOutput
}

InstanceTypesInstanceTypeGpusGpuDeviceArrayInput is an input type that accepts InstanceTypesInstanceTypeGpusGpuDeviceArray and InstanceTypesInstanceTypeGpusGpuDeviceArrayOutput values. You can construct a concrete instance of `InstanceTypesInstanceTypeGpusGpuDeviceArrayInput` via:

InstanceTypesInstanceTypeGpusGpuDeviceArray{ InstanceTypesInstanceTypeGpusGpuDeviceArgs{...} }

type InstanceTypesInstanceTypeGpusGpuDeviceArrayOutput added in v0.0.23

type InstanceTypesInstanceTypeGpusGpuDeviceArrayOutput struct{ *pulumi.OutputState }

func (InstanceTypesInstanceTypeGpusGpuDeviceArrayOutput) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeGpusGpuDeviceArrayOutput) Index added in v0.0.23

func (InstanceTypesInstanceTypeGpusGpuDeviceArrayOutput) ToInstanceTypesInstanceTypeGpusGpuDeviceArrayOutput added in v0.0.23

func (o InstanceTypesInstanceTypeGpusGpuDeviceArrayOutput) ToInstanceTypesInstanceTypeGpusGpuDeviceArrayOutput() InstanceTypesInstanceTypeGpusGpuDeviceArrayOutput

func (InstanceTypesInstanceTypeGpusGpuDeviceArrayOutput) ToInstanceTypesInstanceTypeGpusGpuDeviceArrayOutputWithContext added in v0.0.23

func (o InstanceTypesInstanceTypeGpusGpuDeviceArrayOutput) ToInstanceTypesInstanceTypeGpusGpuDeviceArrayOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeGpusGpuDeviceArrayOutput

type InstanceTypesInstanceTypeGpusGpuDeviceInput added in v0.0.23

type InstanceTypesInstanceTypeGpusGpuDeviceInput interface {
	pulumi.Input

	ToInstanceTypesInstanceTypeGpusGpuDeviceOutput() InstanceTypesInstanceTypeGpusGpuDeviceOutput
	ToInstanceTypesInstanceTypeGpusGpuDeviceOutputWithContext(context.Context) InstanceTypesInstanceTypeGpusGpuDeviceOutput
}

InstanceTypesInstanceTypeGpusGpuDeviceInput is an input type that accepts InstanceTypesInstanceTypeGpusGpuDeviceArgs and InstanceTypesInstanceTypeGpusGpuDeviceOutput values. You can construct a concrete instance of `InstanceTypesInstanceTypeGpusGpuDeviceInput` via:

InstanceTypesInstanceTypeGpusGpuDeviceArgs{...}

type InstanceTypesInstanceTypeGpusGpuDeviceMemory added in v0.0.23

type InstanceTypesInstanceTypeGpusGpuDeviceMemory struct {
	// The Encrypted Memory Size of GPU device.
	EncryptedSize int `pulumi:"encryptedSize"`
	// Memory size, unit: MiB.
	Size int `pulumi:"size"`
}

type InstanceTypesInstanceTypeGpusGpuDeviceMemoryArgs added in v0.0.23

type InstanceTypesInstanceTypeGpusGpuDeviceMemoryArgs struct {
	// The Encrypted Memory Size of GPU device.
	EncryptedSize pulumi.IntInput `pulumi:"encryptedSize"`
	// Memory size, unit: MiB.
	Size pulumi.IntInput `pulumi:"size"`
}

func (InstanceTypesInstanceTypeGpusGpuDeviceMemoryArgs) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeGpusGpuDeviceMemoryArgs) ToInstanceTypesInstanceTypeGpusGpuDeviceMemoryOutput added in v0.0.23

func (i InstanceTypesInstanceTypeGpusGpuDeviceMemoryArgs) ToInstanceTypesInstanceTypeGpusGpuDeviceMemoryOutput() InstanceTypesInstanceTypeGpusGpuDeviceMemoryOutput

func (InstanceTypesInstanceTypeGpusGpuDeviceMemoryArgs) ToInstanceTypesInstanceTypeGpusGpuDeviceMemoryOutputWithContext added in v0.0.23

func (i InstanceTypesInstanceTypeGpusGpuDeviceMemoryArgs) ToInstanceTypesInstanceTypeGpusGpuDeviceMemoryOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeGpusGpuDeviceMemoryOutput

type InstanceTypesInstanceTypeGpusGpuDeviceMemoryArray added in v0.0.23

type InstanceTypesInstanceTypeGpusGpuDeviceMemoryArray []InstanceTypesInstanceTypeGpusGpuDeviceMemoryInput

func (InstanceTypesInstanceTypeGpusGpuDeviceMemoryArray) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeGpusGpuDeviceMemoryArray) ToInstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayOutput added in v0.0.23

func (i InstanceTypesInstanceTypeGpusGpuDeviceMemoryArray) ToInstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayOutput() InstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayOutput

func (InstanceTypesInstanceTypeGpusGpuDeviceMemoryArray) ToInstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayOutputWithContext added in v0.0.23

func (i InstanceTypesInstanceTypeGpusGpuDeviceMemoryArray) ToInstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayOutput

type InstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayInput added in v0.0.23

type InstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayInput interface {
	pulumi.Input

	ToInstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayOutput() InstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayOutput
	ToInstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayOutputWithContext(context.Context) InstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayOutput
}

InstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayInput is an input type that accepts InstanceTypesInstanceTypeGpusGpuDeviceMemoryArray and InstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayOutput values. You can construct a concrete instance of `InstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayInput` via:

InstanceTypesInstanceTypeGpusGpuDeviceMemoryArray{ InstanceTypesInstanceTypeGpusGpuDeviceMemoryArgs{...} }

type InstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayOutput added in v0.0.23

type InstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayOutput struct{ *pulumi.OutputState }

func (InstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayOutput) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayOutput) Index added in v0.0.23

func (InstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayOutput) ToInstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayOutput added in v0.0.23

func (InstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayOutput) ToInstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayOutputWithContext added in v0.0.23

func (o InstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayOutput) ToInstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeGpusGpuDeviceMemoryArrayOutput

type InstanceTypesInstanceTypeGpusGpuDeviceMemoryInput added in v0.0.23

type InstanceTypesInstanceTypeGpusGpuDeviceMemoryInput interface {
	pulumi.Input

	ToInstanceTypesInstanceTypeGpusGpuDeviceMemoryOutput() InstanceTypesInstanceTypeGpusGpuDeviceMemoryOutput
	ToInstanceTypesInstanceTypeGpusGpuDeviceMemoryOutputWithContext(context.Context) InstanceTypesInstanceTypeGpusGpuDeviceMemoryOutput
}

InstanceTypesInstanceTypeGpusGpuDeviceMemoryInput is an input type that accepts InstanceTypesInstanceTypeGpusGpuDeviceMemoryArgs and InstanceTypesInstanceTypeGpusGpuDeviceMemoryOutput values. You can construct a concrete instance of `InstanceTypesInstanceTypeGpusGpuDeviceMemoryInput` via:

InstanceTypesInstanceTypeGpusGpuDeviceMemoryArgs{...}

type InstanceTypesInstanceTypeGpusGpuDeviceMemoryOutput added in v0.0.23

type InstanceTypesInstanceTypeGpusGpuDeviceMemoryOutput struct{ *pulumi.OutputState }

func (InstanceTypesInstanceTypeGpusGpuDeviceMemoryOutput) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeGpusGpuDeviceMemoryOutput) EncryptedSize added in v0.0.23

The Encrypted Memory Size of GPU device.

func (InstanceTypesInstanceTypeGpusGpuDeviceMemoryOutput) Size added in v0.0.23

Memory size, unit: MiB.

func (InstanceTypesInstanceTypeGpusGpuDeviceMemoryOutput) ToInstanceTypesInstanceTypeGpusGpuDeviceMemoryOutput added in v0.0.23

func (o InstanceTypesInstanceTypeGpusGpuDeviceMemoryOutput) ToInstanceTypesInstanceTypeGpusGpuDeviceMemoryOutput() InstanceTypesInstanceTypeGpusGpuDeviceMemoryOutput

func (InstanceTypesInstanceTypeGpusGpuDeviceMemoryOutput) ToInstanceTypesInstanceTypeGpusGpuDeviceMemoryOutputWithContext added in v0.0.23

func (o InstanceTypesInstanceTypeGpusGpuDeviceMemoryOutput) ToInstanceTypesInstanceTypeGpusGpuDeviceMemoryOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeGpusGpuDeviceMemoryOutput

type InstanceTypesInstanceTypeGpusGpuDeviceOutput added in v0.0.23

type InstanceTypesInstanceTypeGpusGpuDeviceOutput struct{ *pulumi.OutputState }

func (InstanceTypesInstanceTypeGpusGpuDeviceOutput) Count added in v0.0.23

The number of local disks mounted on the instance.

func (InstanceTypesInstanceTypeGpusGpuDeviceOutput) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeGpusGpuDeviceOutput) Memories added in v0.0.23

Memory information of instance specifications.

func (InstanceTypesInstanceTypeGpusGpuDeviceOutput) ProductName added in v0.0.23

The Product Name of GPU device.

func (InstanceTypesInstanceTypeGpusGpuDeviceOutput) ToInstanceTypesInstanceTypeGpusGpuDeviceOutput added in v0.0.23

func (o InstanceTypesInstanceTypeGpusGpuDeviceOutput) ToInstanceTypesInstanceTypeGpusGpuDeviceOutput() InstanceTypesInstanceTypeGpusGpuDeviceOutput

func (InstanceTypesInstanceTypeGpusGpuDeviceOutput) ToInstanceTypesInstanceTypeGpusGpuDeviceOutputWithContext added in v0.0.23

func (o InstanceTypesInstanceTypeGpusGpuDeviceOutput) ToInstanceTypesInstanceTypeGpusGpuDeviceOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeGpusGpuDeviceOutput

type InstanceTypesInstanceTypeGpusInput added in v0.0.23

type InstanceTypesInstanceTypeGpusInput interface {
	pulumi.Input

	ToInstanceTypesInstanceTypeGpusOutput() InstanceTypesInstanceTypeGpusOutput
	ToInstanceTypesInstanceTypeGpusOutputWithContext(context.Context) InstanceTypesInstanceTypeGpusOutput
}

InstanceTypesInstanceTypeGpusInput is an input type that accepts InstanceTypesInstanceTypeGpusArgs and InstanceTypesInstanceTypeGpusOutput values. You can construct a concrete instance of `InstanceTypesInstanceTypeGpusInput` via:

InstanceTypesInstanceTypeGpusArgs{...}

type InstanceTypesInstanceTypeGpusOutput added in v0.0.23

type InstanceTypesInstanceTypeGpusOutput struct{ *pulumi.OutputState }

func (InstanceTypesInstanceTypeGpusOutput) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeGpusOutput) GpuDevices added in v0.0.23

GPU device information list.

func (InstanceTypesInstanceTypeGpusOutput) ToInstanceTypesInstanceTypeGpusOutput added in v0.0.23

func (o InstanceTypesInstanceTypeGpusOutput) ToInstanceTypesInstanceTypeGpusOutput() InstanceTypesInstanceTypeGpusOutput

func (InstanceTypesInstanceTypeGpusOutput) ToInstanceTypesInstanceTypeGpusOutputWithContext added in v0.0.23

func (o InstanceTypesInstanceTypeGpusOutput) ToInstanceTypesInstanceTypeGpusOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeGpusOutput

type InstanceTypesInstanceTypeInput added in v0.0.23

type InstanceTypesInstanceTypeInput interface {
	pulumi.Input

	ToInstanceTypesInstanceTypeOutput() InstanceTypesInstanceTypeOutput
	ToInstanceTypesInstanceTypeOutputWithContext(context.Context) InstanceTypesInstanceTypeOutput
}

InstanceTypesInstanceTypeInput is an input type that accepts InstanceTypesInstanceTypeArgs and InstanceTypesInstanceTypeOutput values. You can construct a concrete instance of `InstanceTypesInstanceTypeInput` via:

InstanceTypesInstanceTypeArgs{...}

type InstanceTypesInstanceTypeLocalVolume added in v0.0.23

type InstanceTypesInstanceTypeLocalVolume struct {
	// The number of local disks mounted on the instance.
	Count int `pulumi:"count"`
	// Memory size, unit: MiB.
	Size int `pulumi:"size"`
	// The type of volume.
	VolumeType string `pulumi:"volumeType"`
}

type InstanceTypesInstanceTypeLocalVolumeArgs added in v0.0.23

type InstanceTypesInstanceTypeLocalVolumeArgs struct {
	// The number of local disks mounted on the instance.
	Count pulumi.IntInput `pulumi:"count"`
	// Memory size, unit: MiB.
	Size pulumi.IntInput `pulumi:"size"`
	// The type of volume.
	VolumeType pulumi.StringInput `pulumi:"volumeType"`
}

func (InstanceTypesInstanceTypeLocalVolumeArgs) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeLocalVolumeArgs) ToInstanceTypesInstanceTypeLocalVolumeOutput added in v0.0.23

func (i InstanceTypesInstanceTypeLocalVolumeArgs) ToInstanceTypesInstanceTypeLocalVolumeOutput() InstanceTypesInstanceTypeLocalVolumeOutput

func (InstanceTypesInstanceTypeLocalVolumeArgs) ToInstanceTypesInstanceTypeLocalVolumeOutputWithContext added in v0.0.23

func (i InstanceTypesInstanceTypeLocalVolumeArgs) ToInstanceTypesInstanceTypeLocalVolumeOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeLocalVolumeOutput

type InstanceTypesInstanceTypeLocalVolumeArray added in v0.0.23

type InstanceTypesInstanceTypeLocalVolumeArray []InstanceTypesInstanceTypeLocalVolumeInput

func (InstanceTypesInstanceTypeLocalVolumeArray) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeLocalVolumeArray) ToInstanceTypesInstanceTypeLocalVolumeArrayOutput added in v0.0.23

func (i InstanceTypesInstanceTypeLocalVolumeArray) ToInstanceTypesInstanceTypeLocalVolumeArrayOutput() InstanceTypesInstanceTypeLocalVolumeArrayOutput

func (InstanceTypesInstanceTypeLocalVolumeArray) ToInstanceTypesInstanceTypeLocalVolumeArrayOutputWithContext added in v0.0.23

func (i InstanceTypesInstanceTypeLocalVolumeArray) ToInstanceTypesInstanceTypeLocalVolumeArrayOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeLocalVolumeArrayOutput

type InstanceTypesInstanceTypeLocalVolumeArrayInput added in v0.0.23

type InstanceTypesInstanceTypeLocalVolumeArrayInput interface {
	pulumi.Input

	ToInstanceTypesInstanceTypeLocalVolumeArrayOutput() InstanceTypesInstanceTypeLocalVolumeArrayOutput
	ToInstanceTypesInstanceTypeLocalVolumeArrayOutputWithContext(context.Context) InstanceTypesInstanceTypeLocalVolumeArrayOutput
}

InstanceTypesInstanceTypeLocalVolumeArrayInput is an input type that accepts InstanceTypesInstanceTypeLocalVolumeArray and InstanceTypesInstanceTypeLocalVolumeArrayOutput values. You can construct a concrete instance of `InstanceTypesInstanceTypeLocalVolumeArrayInput` via:

InstanceTypesInstanceTypeLocalVolumeArray{ InstanceTypesInstanceTypeLocalVolumeArgs{...} }

type InstanceTypesInstanceTypeLocalVolumeArrayOutput added in v0.0.23

type InstanceTypesInstanceTypeLocalVolumeArrayOutput struct{ *pulumi.OutputState }

func (InstanceTypesInstanceTypeLocalVolumeArrayOutput) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeLocalVolumeArrayOutput) Index added in v0.0.23

func (InstanceTypesInstanceTypeLocalVolumeArrayOutput) ToInstanceTypesInstanceTypeLocalVolumeArrayOutput added in v0.0.23

func (o InstanceTypesInstanceTypeLocalVolumeArrayOutput) ToInstanceTypesInstanceTypeLocalVolumeArrayOutput() InstanceTypesInstanceTypeLocalVolumeArrayOutput

func (InstanceTypesInstanceTypeLocalVolumeArrayOutput) ToInstanceTypesInstanceTypeLocalVolumeArrayOutputWithContext added in v0.0.23

func (o InstanceTypesInstanceTypeLocalVolumeArrayOutput) ToInstanceTypesInstanceTypeLocalVolumeArrayOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeLocalVolumeArrayOutput

type InstanceTypesInstanceTypeLocalVolumeInput added in v0.0.23

type InstanceTypesInstanceTypeLocalVolumeInput interface {
	pulumi.Input

	ToInstanceTypesInstanceTypeLocalVolumeOutput() InstanceTypesInstanceTypeLocalVolumeOutput
	ToInstanceTypesInstanceTypeLocalVolumeOutputWithContext(context.Context) InstanceTypesInstanceTypeLocalVolumeOutput
}

InstanceTypesInstanceTypeLocalVolumeInput is an input type that accepts InstanceTypesInstanceTypeLocalVolumeArgs and InstanceTypesInstanceTypeLocalVolumeOutput values. You can construct a concrete instance of `InstanceTypesInstanceTypeLocalVolumeInput` via:

InstanceTypesInstanceTypeLocalVolumeArgs{...}

type InstanceTypesInstanceTypeLocalVolumeOutput added in v0.0.23

type InstanceTypesInstanceTypeLocalVolumeOutput struct{ *pulumi.OutputState }

func (InstanceTypesInstanceTypeLocalVolumeOutput) Count added in v0.0.23

The number of local disks mounted on the instance.

func (InstanceTypesInstanceTypeLocalVolumeOutput) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeLocalVolumeOutput) Size added in v0.0.23

Memory size, unit: MiB.

func (InstanceTypesInstanceTypeLocalVolumeOutput) ToInstanceTypesInstanceTypeLocalVolumeOutput added in v0.0.23

func (o InstanceTypesInstanceTypeLocalVolumeOutput) ToInstanceTypesInstanceTypeLocalVolumeOutput() InstanceTypesInstanceTypeLocalVolumeOutput

func (InstanceTypesInstanceTypeLocalVolumeOutput) ToInstanceTypesInstanceTypeLocalVolumeOutputWithContext added in v0.0.23

func (o InstanceTypesInstanceTypeLocalVolumeOutput) ToInstanceTypesInstanceTypeLocalVolumeOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeLocalVolumeOutput

func (InstanceTypesInstanceTypeLocalVolumeOutput) VolumeType added in v0.0.23

The type of volume.

type InstanceTypesInstanceTypeMemory added in v0.0.23

type InstanceTypesInstanceTypeMemory struct {
	// The Encrypted Memory Size of GPU device.
	EncryptedSize int `pulumi:"encryptedSize"`
	// Memory size, unit: MiB.
	Size int `pulumi:"size"`
}

type InstanceTypesInstanceTypeMemoryArgs added in v0.0.23

type InstanceTypesInstanceTypeMemoryArgs struct {
	// The Encrypted Memory Size of GPU device.
	EncryptedSize pulumi.IntInput `pulumi:"encryptedSize"`
	// Memory size, unit: MiB.
	Size pulumi.IntInput `pulumi:"size"`
}

func (InstanceTypesInstanceTypeMemoryArgs) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeMemoryArgs) ToInstanceTypesInstanceTypeMemoryOutput added in v0.0.23

func (i InstanceTypesInstanceTypeMemoryArgs) ToInstanceTypesInstanceTypeMemoryOutput() InstanceTypesInstanceTypeMemoryOutput

func (InstanceTypesInstanceTypeMemoryArgs) ToInstanceTypesInstanceTypeMemoryOutputWithContext added in v0.0.23

func (i InstanceTypesInstanceTypeMemoryArgs) ToInstanceTypesInstanceTypeMemoryOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeMemoryOutput

type InstanceTypesInstanceTypeMemoryArray added in v0.0.23

type InstanceTypesInstanceTypeMemoryArray []InstanceTypesInstanceTypeMemoryInput

func (InstanceTypesInstanceTypeMemoryArray) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeMemoryArray) ToInstanceTypesInstanceTypeMemoryArrayOutput added in v0.0.23

func (i InstanceTypesInstanceTypeMemoryArray) ToInstanceTypesInstanceTypeMemoryArrayOutput() InstanceTypesInstanceTypeMemoryArrayOutput

func (InstanceTypesInstanceTypeMemoryArray) ToInstanceTypesInstanceTypeMemoryArrayOutputWithContext added in v0.0.23

func (i InstanceTypesInstanceTypeMemoryArray) ToInstanceTypesInstanceTypeMemoryArrayOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeMemoryArrayOutput

type InstanceTypesInstanceTypeMemoryArrayInput added in v0.0.23

type InstanceTypesInstanceTypeMemoryArrayInput interface {
	pulumi.Input

	ToInstanceTypesInstanceTypeMemoryArrayOutput() InstanceTypesInstanceTypeMemoryArrayOutput
	ToInstanceTypesInstanceTypeMemoryArrayOutputWithContext(context.Context) InstanceTypesInstanceTypeMemoryArrayOutput
}

InstanceTypesInstanceTypeMemoryArrayInput is an input type that accepts InstanceTypesInstanceTypeMemoryArray and InstanceTypesInstanceTypeMemoryArrayOutput values. You can construct a concrete instance of `InstanceTypesInstanceTypeMemoryArrayInput` via:

InstanceTypesInstanceTypeMemoryArray{ InstanceTypesInstanceTypeMemoryArgs{...} }

type InstanceTypesInstanceTypeMemoryArrayOutput added in v0.0.23

type InstanceTypesInstanceTypeMemoryArrayOutput struct{ *pulumi.OutputState }

func (InstanceTypesInstanceTypeMemoryArrayOutput) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeMemoryArrayOutput) Index added in v0.0.23

func (InstanceTypesInstanceTypeMemoryArrayOutput) ToInstanceTypesInstanceTypeMemoryArrayOutput added in v0.0.23

func (o InstanceTypesInstanceTypeMemoryArrayOutput) ToInstanceTypesInstanceTypeMemoryArrayOutput() InstanceTypesInstanceTypeMemoryArrayOutput

func (InstanceTypesInstanceTypeMemoryArrayOutput) ToInstanceTypesInstanceTypeMemoryArrayOutputWithContext added in v0.0.23

func (o InstanceTypesInstanceTypeMemoryArrayOutput) ToInstanceTypesInstanceTypeMemoryArrayOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeMemoryArrayOutput

type InstanceTypesInstanceTypeMemoryInput added in v0.0.23

type InstanceTypesInstanceTypeMemoryInput interface {
	pulumi.Input

	ToInstanceTypesInstanceTypeMemoryOutput() InstanceTypesInstanceTypeMemoryOutput
	ToInstanceTypesInstanceTypeMemoryOutputWithContext(context.Context) InstanceTypesInstanceTypeMemoryOutput
}

InstanceTypesInstanceTypeMemoryInput is an input type that accepts InstanceTypesInstanceTypeMemoryArgs and InstanceTypesInstanceTypeMemoryOutput values. You can construct a concrete instance of `InstanceTypesInstanceTypeMemoryInput` via:

InstanceTypesInstanceTypeMemoryArgs{...}

type InstanceTypesInstanceTypeMemoryOutput added in v0.0.23

type InstanceTypesInstanceTypeMemoryOutput struct{ *pulumi.OutputState }

func (InstanceTypesInstanceTypeMemoryOutput) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeMemoryOutput) EncryptedSize added in v0.0.23

The Encrypted Memory Size of GPU device.

func (InstanceTypesInstanceTypeMemoryOutput) Size added in v0.0.23

Memory size, unit: MiB.

func (InstanceTypesInstanceTypeMemoryOutput) ToInstanceTypesInstanceTypeMemoryOutput added in v0.0.23

func (o InstanceTypesInstanceTypeMemoryOutput) ToInstanceTypesInstanceTypeMemoryOutput() InstanceTypesInstanceTypeMemoryOutput

func (InstanceTypesInstanceTypeMemoryOutput) ToInstanceTypesInstanceTypeMemoryOutputWithContext added in v0.0.23

func (o InstanceTypesInstanceTypeMemoryOutput) ToInstanceTypesInstanceTypeMemoryOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeMemoryOutput

type InstanceTypesInstanceTypeNetwork added in v0.0.23

type InstanceTypesInstanceTypeNetwork struct {
	// Network benchmark bandwidth capacity (out/in), unit: Mbps.
	BaselineBandwidthMbps int `pulumi:"baselineBandwidthMbps"`
	// Peak network bandwidth capacity (out/in), unit: Mbps.
	MaximumBandwidthMbps int `pulumi:"maximumBandwidthMbps"`
	// Maximum number of elastic network interfaces supported for attachment.
	MaximumNetworkInterfaces int `pulumi:"maximumNetworkInterfaces"`
	// Maximum number of IPv4 addresses for a single elastic network interface.
	MaximumPrivateIpv4AddressesPerNetworkInterface int `pulumi:"maximumPrivateIpv4AddressesPerNetworkInterface"`
	// Maximum queue number for a single elastic network interface, including the queue number supported by the primary network interface and the auxiliary network interface.
	MaximumQueuesPerNetworkInterface int `pulumi:"maximumQueuesPerNetworkInterface"`
	// Network packet sending and receiving capacity (in+out), unit: Kpps.
	MaximumThroughputKpps int `pulumi:"maximumThroughputKpps"`
}

type InstanceTypesInstanceTypeNetworkArgs added in v0.0.23

type InstanceTypesInstanceTypeNetworkArgs struct {
	// Network benchmark bandwidth capacity (out/in), unit: Mbps.
	BaselineBandwidthMbps pulumi.IntInput `pulumi:"baselineBandwidthMbps"`
	// Peak network bandwidth capacity (out/in), unit: Mbps.
	MaximumBandwidthMbps pulumi.IntInput `pulumi:"maximumBandwidthMbps"`
	// Maximum number of elastic network interfaces supported for attachment.
	MaximumNetworkInterfaces pulumi.IntInput `pulumi:"maximumNetworkInterfaces"`
	// Maximum number of IPv4 addresses for a single elastic network interface.
	MaximumPrivateIpv4AddressesPerNetworkInterface pulumi.IntInput `pulumi:"maximumPrivateIpv4AddressesPerNetworkInterface"`
	// Maximum queue number for a single elastic network interface, including the queue number supported by the primary network interface and the auxiliary network interface.
	MaximumQueuesPerNetworkInterface pulumi.IntInput `pulumi:"maximumQueuesPerNetworkInterface"`
	// Network packet sending and receiving capacity (in+out), unit: Kpps.
	MaximumThroughputKpps pulumi.IntInput `pulumi:"maximumThroughputKpps"`
}

func (InstanceTypesInstanceTypeNetworkArgs) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeNetworkArgs) ToInstanceTypesInstanceTypeNetworkOutput added in v0.0.23

func (i InstanceTypesInstanceTypeNetworkArgs) ToInstanceTypesInstanceTypeNetworkOutput() InstanceTypesInstanceTypeNetworkOutput

func (InstanceTypesInstanceTypeNetworkArgs) ToInstanceTypesInstanceTypeNetworkOutputWithContext added in v0.0.23

func (i InstanceTypesInstanceTypeNetworkArgs) ToInstanceTypesInstanceTypeNetworkOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeNetworkOutput

type InstanceTypesInstanceTypeNetworkArray added in v0.0.23

type InstanceTypesInstanceTypeNetworkArray []InstanceTypesInstanceTypeNetworkInput

func (InstanceTypesInstanceTypeNetworkArray) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeNetworkArray) ToInstanceTypesInstanceTypeNetworkArrayOutput added in v0.0.23

func (i InstanceTypesInstanceTypeNetworkArray) ToInstanceTypesInstanceTypeNetworkArrayOutput() InstanceTypesInstanceTypeNetworkArrayOutput

func (InstanceTypesInstanceTypeNetworkArray) ToInstanceTypesInstanceTypeNetworkArrayOutputWithContext added in v0.0.23

func (i InstanceTypesInstanceTypeNetworkArray) ToInstanceTypesInstanceTypeNetworkArrayOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeNetworkArrayOutput

type InstanceTypesInstanceTypeNetworkArrayInput added in v0.0.23

type InstanceTypesInstanceTypeNetworkArrayInput interface {
	pulumi.Input

	ToInstanceTypesInstanceTypeNetworkArrayOutput() InstanceTypesInstanceTypeNetworkArrayOutput
	ToInstanceTypesInstanceTypeNetworkArrayOutputWithContext(context.Context) InstanceTypesInstanceTypeNetworkArrayOutput
}

InstanceTypesInstanceTypeNetworkArrayInput is an input type that accepts InstanceTypesInstanceTypeNetworkArray and InstanceTypesInstanceTypeNetworkArrayOutput values. You can construct a concrete instance of `InstanceTypesInstanceTypeNetworkArrayInput` via:

InstanceTypesInstanceTypeNetworkArray{ InstanceTypesInstanceTypeNetworkArgs{...} }

type InstanceTypesInstanceTypeNetworkArrayOutput added in v0.0.23

type InstanceTypesInstanceTypeNetworkArrayOutput struct{ *pulumi.OutputState }

func (InstanceTypesInstanceTypeNetworkArrayOutput) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeNetworkArrayOutput) Index added in v0.0.23

func (InstanceTypesInstanceTypeNetworkArrayOutput) ToInstanceTypesInstanceTypeNetworkArrayOutput added in v0.0.23

func (o InstanceTypesInstanceTypeNetworkArrayOutput) ToInstanceTypesInstanceTypeNetworkArrayOutput() InstanceTypesInstanceTypeNetworkArrayOutput

func (InstanceTypesInstanceTypeNetworkArrayOutput) ToInstanceTypesInstanceTypeNetworkArrayOutputWithContext added in v0.0.23

func (o InstanceTypesInstanceTypeNetworkArrayOutput) ToInstanceTypesInstanceTypeNetworkArrayOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeNetworkArrayOutput

type InstanceTypesInstanceTypeNetworkInput added in v0.0.23

type InstanceTypesInstanceTypeNetworkInput interface {
	pulumi.Input

	ToInstanceTypesInstanceTypeNetworkOutput() InstanceTypesInstanceTypeNetworkOutput
	ToInstanceTypesInstanceTypeNetworkOutputWithContext(context.Context) InstanceTypesInstanceTypeNetworkOutput
}

InstanceTypesInstanceTypeNetworkInput is an input type that accepts InstanceTypesInstanceTypeNetworkArgs and InstanceTypesInstanceTypeNetworkOutput values. You can construct a concrete instance of `InstanceTypesInstanceTypeNetworkInput` via:

InstanceTypesInstanceTypeNetworkArgs{...}

type InstanceTypesInstanceTypeNetworkOutput added in v0.0.23

type InstanceTypesInstanceTypeNetworkOutput struct{ *pulumi.OutputState }

func (InstanceTypesInstanceTypeNetworkOutput) BaselineBandwidthMbps added in v0.0.23

func (o InstanceTypesInstanceTypeNetworkOutput) BaselineBandwidthMbps() pulumi.IntOutput

Network benchmark bandwidth capacity (out/in), unit: Mbps.

func (InstanceTypesInstanceTypeNetworkOutput) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeNetworkOutput) MaximumBandwidthMbps added in v0.0.23

func (o InstanceTypesInstanceTypeNetworkOutput) MaximumBandwidthMbps() pulumi.IntOutput

Peak network bandwidth capacity (out/in), unit: Mbps.

func (InstanceTypesInstanceTypeNetworkOutput) MaximumNetworkInterfaces added in v0.0.23

func (o InstanceTypesInstanceTypeNetworkOutput) MaximumNetworkInterfaces() pulumi.IntOutput

Maximum number of elastic network interfaces supported for attachment.

func (InstanceTypesInstanceTypeNetworkOutput) MaximumPrivateIpv4AddressesPerNetworkInterface added in v0.0.23

func (o InstanceTypesInstanceTypeNetworkOutput) MaximumPrivateIpv4AddressesPerNetworkInterface() pulumi.IntOutput

Maximum number of IPv4 addresses for a single elastic network interface.

func (InstanceTypesInstanceTypeNetworkOutput) MaximumQueuesPerNetworkInterface added in v0.0.23

func (o InstanceTypesInstanceTypeNetworkOutput) MaximumQueuesPerNetworkInterface() pulumi.IntOutput

Maximum queue number for a single elastic network interface, including the queue number supported by the primary network interface and the auxiliary network interface.

func (InstanceTypesInstanceTypeNetworkOutput) MaximumThroughputKpps added in v0.0.23

func (o InstanceTypesInstanceTypeNetworkOutput) MaximumThroughputKpps() pulumi.IntOutput

Network packet sending and receiving capacity (in+out), unit: Kpps.

func (InstanceTypesInstanceTypeNetworkOutput) ToInstanceTypesInstanceTypeNetworkOutput added in v0.0.23

func (o InstanceTypesInstanceTypeNetworkOutput) ToInstanceTypesInstanceTypeNetworkOutput() InstanceTypesInstanceTypeNetworkOutput

func (InstanceTypesInstanceTypeNetworkOutput) ToInstanceTypesInstanceTypeNetworkOutputWithContext added in v0.0.23

func (o InstanceTypesInstanceTypeNetworkOutput) ToInstanceTypesInstanceTypeNetworkOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeNetworkOutput

type InstanceTypesInstanceTypeOutput added in v0.0.23

type InstanceTypesInstanceTypeOutput struct{ *pulumi.OutputState }

func (InstanceTypesInstanceTypeOutput) BaselineCredit added in v0.0.23

The CPU benchmark performance that can be provided steadily by on-demand instances is determined by the instance type.

func (InstanceTypesInstanceTypeOutput) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeOutput) Gpus added in v0.0.23

The GPU device info of Instance.

func (InstanceTypesInstanceTypeOutput) InitialCredit added in v0.0.23

The CPU credits obtained at once when creating a on-demand performance instance are fixed at 30 credits per vCPU.

func (InstanceTypesInstanceTypeOutput) InstanceTypeFamily added in v0.0.23

func (o InstanceTypesInstanceTypeOutput) InstanceTypeFamily() pulumi.StringOutput

The instance type family.

func (InstanceTypesInstanceTypeOutput) InstanceTypeId added in v0.0.23

The id of the instance type.

func (InstanceTypesInstanceTypeOutput) LocalVolumes added in v0.0.23

Local disk configuration information corresponding to instance specifications.

func (InstanceTypesInstanceTypeOutput) Memories added in v0.0.23

Memory information of instance specifications.

func (InstanceTypesInstanceTypeOutput) Networks added in v0.0.23

Network information of instance specifications.

func (InstanceTypesInstanceTypeOutput) Processors added in v0.0.23

CPU information of instance specifications.

func (InstanceTypesInstanceTypeOutput) Rdmas added in v0.0.23

RDMA Specification Information.

func (InstanceTypesInstanceTypeOutput) ToInstanceTypesInstanceTypeOutput added in v0.0.23

func (o InstanceTypesInstanceTypeOutput) ToInstanceTypesInstanceTypeOutput() InstanceTypesInstanceTypeOutput

func (InstanceTypesInstanceTypeOutput) ToInstanceTypesInstanceTypeOutputWithContext added in v0.0.23

func (o InstanceTypesInstanceTypeOutput) ToInstanceTypesInstanceTypeOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeOutput

func (InstanceTypesInstanceTypeOutput) Volumes added in v0.0.23

Cloud disk information for instance specifications.

type InstanceTypesInstanceTypeProcessor added in v0.0.23

type InstanceTypesInstanceTypeProcessor struct {
	// CPU clock speed, unit: GHz.
	BaseFrequency float64 `pulumi:"baseFrequency"`
	// The number of ECS instance CPU cores.
	Cpus int `pulumi:"cpus"`
	// CPU model.
	Model string `pulumi:"model"`
	// CPU Turbo Boost, unit: GHz.
	TurboFrequency float64 `pulumi:"turboFrequency"`
}

type InstanceTypesInstanceTypeProcessorArgs added in v0.0.23

type InstanceTypesInstanceTypeProcessorArgs struct {
	// CPU clock speed, unit: GHz.
	BaseFrequency pulumi.Float64Input `pulumi:"baseFrequency"`
	// The number of ECS instance CPU cores.
	Cpus pulumi.IntInput `pulumi:"cpus"`
	// CPU model.
	Model pulumi.StringInput `pulumi:"model"`
	// CPU Turbo Boost, unit: GHz.
	TurboFrequency pulumi.Float64Input `pulumi:"turboFrequency"`
}

func (InstanceTypesInstanceTypeProcessorArgs) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeProcessorArgs) ToInstanceTypesInstanceTypeProcessorOutput added in v0.0.23

func (i InstanceTypesInstanceTypeProcessorArgs) ToInstanceTypesInstanceTypeProcessorOutput() InstanceTypesInstanceTypeProcessorOutput

func (InstanceTypesInstanceTypeProcessorArgs) ToInstanceTypesInstanceTypeProcessorOutputWithContext added in v0.0.23

func (i InstanceTypesInstanceTypeProcessorArgs) ToInstanceTypesInstanceTypeProcessorOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeProcessorOutput

type InstanceTypesInstanceTypeProcessorArray added in v0.0.23

type InstanceTypesInstanceTypeProcessorArray []InstanceTypesInstanceTypeProcessorInput

func (InstanceTypesInstanceTypeProcessorArray) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeProcessorArray) ToInstanceTypesInstanceTypeProcessorArrayOutput added in v0.0.23

func (i InstanceTypesInstanceTypeProcessorArray) ToInstanceTypesInstanceTypeProcessorArrayOutput() InstanceTypesInstanceTypeProcessorArrayOutput

func (InstanceTypesInstanceTypeProcessorArray) ToInstanceTypesInstanceTypeProcessorArrayOutputWithContext added in v0.0.23

func (i InstanceTypesInstanceTypeProcessorArray) ToInstanceTypesInstanceTypeProcessorArrayOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeProcessorArrayOutput

type InstanceTypesInstanceTypeProcessorArrayInput added in v0.0.23

type InstanceTypesInstanceTypeProcessorArrayInput interface {
	pulumi.Input

	ToInstanceTypesInstanceTypeProcessorArrayOutput() InstanceTypesInstanceTypeProcessorArrayOutput
	ToInstanceTypesInstanceTypeProcessorArrayOutputWithContext(context.Context) InstanceTypesInstanceTypeProcessorArrayOutput
}

InstanceTypesInstanceTypeProcessorArrayInput is an input type that accepts InstanceTypesInstanceTypeProcessorArray and InstanceTypesInstanceTypeProcessorArrayOutput values. You can construct a concrete instance of `InstanceTypesInstanceTypeProcessorArrayInput` via:

InstanceTypesInstanceTypeProcessorArray{ InstanceTypesInstanceTypeProcessorArgs{...} }

type InstanceTypesInstanceTypeProcessorArrayOutput added in v0.0.23

type InstanceTypesInstanceTypeProcessorArrayOutput struct{ *pulumi.OutputState }

func (InstanceTypesInstanceTypeProcessorArrayOutput) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeProcessorArrayOutput) Index added in v0.0.23

func (InstanceTypesInstanceTypeProcessorArrayOutput) ToInstanceTypesInstanceTypeProcessorArrayOutput added in v0.0.23

func (o InstanceTypesInstanceTypeProcessorArrayOutput) ToInstanceTypesInstanceTypeProcessorArrayOutput() InstanceTypesInstanceTypeProcessorArrayOutput

func (InstanceTypesInstanceTypeProcessorArrayOutput) ToInstanceTypesInstanceTypeProcessorArrayOutputWithContext added in v0.0.23

func (o InstanceTypesInstanceTypeProcessorArrayOutput) ToInstanceTypesInstanceTypeProcessorArrayOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeProcessorArrayOutput

type InstanceTypesInstanceTypeProcessorInput added in v0.0.23

type InstanceTypesInstanceTypeProcessorInput interface {
	pulumi.Input

	ToInstanceTypesInstanceTypeProcessorOutput() InstanceTypesInstanceTypeProcessorOutput
	ToInstanceTypesInstanceTypeProcessorOutputWithContext(context.Context) InstanceTypesInstanceTypeProcessorOutput
}

InstanceTypesInstanceTypeProcessorInput is an input type that accepts InstanceTypesInstanceTypeProcessorArgs and InstanceTypesInstanceTypeProcessorOutput values. You can construct a concrete instance of `InstanceTypesInstanceTypeProcessorInput` via:

InstanceTypesInstanceTypeProcessorArgs{...}

type InstanceTypesInstanceTypeProcessorOutput added in v0.0.23

type InstanceTypesInstanceTypeProcessorOutput struct{ *pulumi.OutputState }

func (InstanceTypesInstanceTypeProcessorOutput) BaseFrequency added in v0.0.23

CPU clock speed, unit: GHz.

func (InstanceTypesInstanceTypeProcessorOutput) Cpus added in v0.0.23

The number of ECS instance CPU cores.

func (InstanceTypesInstanceTypeProcessorOutput) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeProcessorOutput) Model added in v0.0.23

CPU model.

func (InstanceTypesInstanceTypeProcessorOutput) ToInstanceTypesInstanceTypeProcessorOutput added in v0.0.23

func (o InstanceTypesInstanceTypeProcessorOutput) ToInstanceTypesInstanceTypeProcessorOutput() InstanceTypesInstanceTypeProcessorOutput

func (InstanceTypesInstanceTypeProcessorOutput) ToInstanceTypesInstanceTypeProcessorOutputWithContext added in v0.0.23

func (o InstanceTypesInstanceTypeProcessorOutput) ToInstanceTypesInstanceTypeProcessorOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeProcessorOutput

func (InstanceTypesInstanceTypeProcessorOutput) TurboFrequency added in v0.0.23

CPU Turbo Boost, unit: GHz.

type InstanceTypesInstanceTypeRdma added in v0.0.23

type InstanceTypesInstanceTypeRdma struct {
	// Number of RDMA network cards.
	RdmaNetworkInterfaces int `pulumi:"rdmaNetworkInterfaces"`
}

type InstanceTypesInstanceTypeRdmaArgs added in v0.0.23

type InstanceTypesInstanceTypeRdmaArgs struct {
	// Number of RDMA network cards.
	RdmaNetworkInterfaces pulumi.IntInput `pulumi:"rdmaNetworkInterfaces"`
}

func (InstanceTypesInstanceTypeRdmaArgs) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeRdmaArgs) ToInstanceTypesInstanceTypeRdmaOutput added in v0.0.23

func (i InstanceTypesInstanceTypeRdmaArgs) ToInstanceTypesInstanceTypeRdmaOutput() InstanceTypesInstanceTypeRdmaOutput

func (InstanceTypesInstanceTypeRdmaArgs) ToInstanceTypesInstanceTypeRdmaOutputWithContext added in v0.0.23

func (i InstanceTypesInstanceTypeRdmaArgs) ToInstanceTypesInstanceTypeRdmaOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeRdmaOutput

type InstanceTypesInstanceTypeRdmaArray added in v0.0.23

type InstanceTypesInstanceTypeRdmaArray []InstanceTypesInstanceTypeRdmaInput

func (InstanceTypesInstanceTypeRdmaArray) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeRdmaArray) ToInstanceTypesInstanceTypeRdmaArrayOutput added in v0.0.23

func (i InstanceTypesInstanceTypeRdmaArray) ToInstanceTypesInstanceTypeRdmaArrayOutput() InstanceTypesInstanceTypeRdmaArrayOutput

func (InstanceTypesInstanceTypeRdmaArray) ToInstanceTypesInstanceTypeRdmaArrayOutputWithContext added in v0.0.23

func (i InstanceTypesInstanceTypeRdmaArray) ToInstanceTypesInstanceTypeRdmaArrayOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeRdmaArrayOutput

type InstanceTypesInstanceTypeRdmaArrayInput added in v0.0.23

type InstanceTypesInstanceTypeRdmaArrayInput interface {
	pulumi.Input

	ToInstanceTypesInstanceTypeRdmaArrayOutput() InstanceTypesInstanceTypeRdmaArrayOutput
	ToInstanceTypesInstanceTypeRdmaArrayOutputWithContext(context.Context) InstanceTypesInstanceTypeRdmaArrayOutput
}

InstanceTypesInstanceTypeRdmaArrayInput is an input type that accepts InstanceTypesInstanceTypeRdmaArray and InstanceTypesInstanceTypeRdmaArrayOutput values. You can construct a concrete instance of `InstanceTypesInstanceTypeRdmaArrayInput` via:

InstanceTypesInstanceTypeRdmaArray{ InstanceTypesInstanceTypeRdmaArgs{...} }

type InstanceTypesInstanceTypeRdmaArrayOutput added in v0.0.23

type InstanceTypesInstanceTypeRdmaArrayOutput struct{ *pulumi.OutputState }

func (InstanceTypesInstanceTypeRdmaArrayOutput) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeRdmaArrayOutput) Index added in v0.0.23

func (InstanceTypesInstanceTypeRdmaArrayOutput) ToInstanceTypesInstanceTypeRdmaArrayOutput added in v0.0.23

func (o InstanceTypesInstanceTypeRdmaArrayOutput) ToInstanceTypesInstanceTypeRdmaArrayOutput() InstanceTypesInstanceTypeRdmaArrayOutput

func (InstanceTypesInstanceTypeRdmaArrayOutput) ToInstanceTypesInstanceTypeRdmaArrayOutputWithContext added in v0.0.23

func (o InstanceTypesInstanceTypeRdmaArrayOutput) ToInstanceTypesInstanceTypeRdmaArrayOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeRdmaArrayOutput

type InstanceTypesInstanceTypeRdmaInput added in v0.0.23

type InstanceTypesInstanceTypeRdmaInput interface {
	pulumi.Input

	ToInstanceTypesInstanceTypeRdmaOutput() InstanceTypesInstanceTypeRdmaOutput
	ToInstanceTypesInstanceTypeRdmaOutputWithContext(context.Context) InstanceTypesInstanceTypeRdmaOutput
}

InstanceTypesInstanceTypeRdmaInput is an input type that accepts InstanceTypesInstanceTypeRdmaArgs and InstanceTypesInstanceTypeRdmaOutput values. You can construct a concrete instance of `InstanceTypesInstanceTypeRdmaInput` via:

InstanceTypesInstanceTypeRdmaArgs{...}

type InstanceTypesInstanceTypeRdmaOutput added in v0.0.23

type InstanceTypesInstanceTypeRdmaOutput struct{ *pulumi.OutputState }

func (InstanceTypesInstanceTypeRdmaOutput) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeRdmaOutput) RdmaNetworkInterfaces added in v0.0.23

func (o InstanceTypesInstanceTypeRdmaOutput) RdmaNetworkInterfaces() pulumi.IntOutput

Number of RDMA network cards.

func (InstanceTypesInstanceTypeRdmaOutput) ToInstanceTypesInstanceTypeRdmaOutput added in v0.0.23

func (o InstanceTypesInstanceTypeRdmaOutput) ToInstanceTypesInstanceTypeRdmaOutput() InstanceTypesInstanceTypeRdmaOutput

func (InstanceTypesInstanceTypeRdmaOutput) ToInstanceTypesInstanceTypeRdmaOutputWithContext added in v0.0.23

func (o InstanceTypesInstanceTypeRdmaOutput) ToInstanceTypesInstanceTypeRdmaOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeRdmaOutput

type InstanceTypesInstanceTypeVolume added in v0.0.23

type InstanceTypesInstanceTypeVolume struct {
	// The maximum number of volumes.
	MaximumCount int `pulumi:"maximumCount"`
	// List of supported volume types.
	SupportedVolumeTypes []string `pulumi:"supportedVolumeTypes"`
}

type InstanceTypesInstanceTypeVolumeArgs added in v0.0.23

type InstanceTypesInstanceTypeVolumeArgs struct {
	// The maximum number of volumes.
	MaximumCount pulumi.IntInput `pulumi:"maximumCount"`
	// List of supported volume types.
	SupportedVolumeTypes pulumi.StringArrayInput `pulumi:"supportedVolumeTypes"`
}

func (InstanceTypesInstanceTypeVolumeArgs) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeVolumeArgs) ToInstanceTypesInstanceTypeVolumeOutput added in v0.0.23

func (i InstanceTypesInstanceTypeVolumeArgs) ToInstanceTypesInstanceTypeVolumeOutput() InstanceTypesInstanceTypeVolumeOutput

func (InstanceTypesInstanceTypeVolumeArgs) ToInstanceTypesInstanceTypeVolumeOutputWithContext added in v0.0.23

func (i InstanceTypesInstanceTypeVolumeArgs) ToInstanceTypesInstanceTypeVolumeOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeVolumeOutput

type InstanceTypesInstanceTypeVolumeArray added in v0.0.23

type InstanceTypesInstanceTypeVolumeArray []InstanceTypesInstanceTypeVolumeInput

func (InstanceTypesInstanceTypeVolumeArray) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeVolumeArray) ToInstanceTypesInstanceTypeVolumeArrayOutput added in v0.0.23

func (i InstanceTypesInstanceTypeVolumeArray) ToInstanceTypesInstanceTypeVolumeArrayOutput() InstanceTypesInstanceTypeVolumeArrayOutput

func (InstanceTypesInstanceTypeVolumeArray) ToInstanceTypesInstanceTypeVolumeArrayOutputWithContext added in v0.0.23

func (i InstanceTypesInstanceTypeVolumeArray) ToInstanceTypesInstanceTypeVolumeArrayOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeVolumeArrayOutput

type InstanceTypesInstanceTypeVolumeArrayInput added in v0.0.23

type InstanceTypesInstanceTypeVolumeArrayInput interface {
	pulumi.Input

	ToInstanceTypesInstanceTypeVolumeArrayOutput() InstanceTypesInstanceTypeVolumeArrayOutput
	ToInstanceTypesInstanceTypeVolumeArrayOutputWithContext(context.Context) InstanceTypesInstanceTypeVolumeArrayOutput
}

InstanceTypesInstanceTypeVolumeArrayInput is an input type that accepts InstanceTypesInstanceTypeVolumeArray and InstanceTypesInstanceTypeVolumeArrayOutput values. You can construct a concrete instance of `InstanceTypesInstanceTypeVolumeArrayInput` via:

InstanceTypesInstanceTypeVolumeArray{ InstanceTypesInstanceTypeVolumeArgs{...} }

type InstanceTypesInstanceTypeVolumeArrayOutput added in v0.0.23

type InstanceTypesInstanceTypeVolumeArrayOutput struct{ *pulumi.OutputState }

func (InstanceTypesInstanceTypeVolumeArrayOutput) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeVolumeArrayOutput) Index added in v0.0.23

func (InstanceTypesInstanceTypeVolumeArrayOutput) ToInstanceTypesInstanceTypeVolumeArrayOutput added in v0.0.23

func (o InstanceTypesInstanceTypeVolumeArrayOutput) ToInstanceTypesInstanceTypeVolumeArrayOutput() InstanceTypesInstanceTypeVolumeArrayOutput

func (InstanceTypesInstanceTypeVolumeArrayOutput) ToInstanceTypesInstanceTypeVolumeArrayOutputWithContext added in v0.0.23

func (o InstanceTypesInstanceTypeVolumeArrayOutput) ToInstanceTypesInstanceTypeVolumeArrayOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeVolumeArrayOutput

type InstanceTypesInstanceTypeVolumeInput added in v0.0.23

type InstanceTypesInstanceTypeVolumeInput interface {
	pulumi.Input

	ToInstanceTypesInstanceTypeVolumeOutput() InstanceTypesInstanceTypeVolumeOutput
	ToInstanceTypesInstanceTypeVolumeOutputWithContext(context.Context) InstanceTypesInstanceTypeVolumeOutput
}

InstanceTypesInstanceTypeVolumeInput is an input type that accepts InstanceTypesInstanceTypeVolumeArgs and InstanceTypesInstanceTypeVolumeOutput values. You can construct a concrete instance of `InstanceTypesInstanceTypeVolumeInput` via:

InstanceTypesInstanceTypeVolumeArgs{...}

type InstanceTypesInstanceTypeVolumeOutput added in v0.0.23

type InstanceTypesInstanceTypeVolumeOutput struct{ *pulumi.OutputState }

func (InstanceTypesInstanceTypeVolumeOutput) ElementType added in v0.0.23

func (InstanceTypesInstanceTypeVolumeOutput) MaximumCount added in v0.0.23

The maximum number of volumes.

func (InstanceTypesInstanceTypeVolumeOutput) SupportedVolumeTypes added in v0.0.23

List of supported volume types.

func (InstanceTypesInstanceTypeVolumeOutput) ToInstanceTypesInstanceTypeVolumeOutput added in v0.0.23

func (o InstanceTypesInstanceTypeVolumeOutput) ToInstanceTypesInstanceTypeVolumeOutput() InstanceTypesInstanceTypeVolumeOutput

func (InstanceTypesInstanceTypeVolumeOutput) ToInstanceTypesInstanceTypeVolumeOutputWithContext added in v0.0.23

func (o InstanceTypesInstanceTypeVolumeOutput) ToInstanceTypesInstanceTypeVolumeOutputWithContext(ctx context.Context) InstanceTypesInstanceTypeVolumeOutput

type InstanceTypesOutputArgs added in v0.0.23

type InstanceTypesOutputArgs struct {
	// A list of instance type IDs. When the number of ids is greater than 10, only the first 10 are effective.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking InstanceTypes.

func (InstanceTypesOutputArgs) ElementType added in v0.0.23

func (InstanceTypesOutputArgs) ElementType() reflect.Type

type InstanceTypesResult added in v0.0.23

type InstanceTypesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id  string   `pulumi:"id"`
	Ids []string `pulumi:"ids"`
	// The collection of query.
	InstanceTypes []InstanceTypesInstanceType `pulumi:"instanceTypes"`
	OutputFile    *string                     `pulumi:"outputFile"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by InstanceTypes.

func InstanceTypes added in v0.0.23

func InstanceTypes(ctx *pulumi.Context, args *InstanceTypesArgs, opts ...pulumi.InvokeOption) (*InstanceTypesResult, error)

Use this data source to query detailed information of ecs instance types ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.InstanceTypes(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type InstanceTypesResultOutput added in v0.0.23

type InstanceTypesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by InstanceTypes.

func InstanceTypesOutput added in v0.0.23

func InstanceTypesOutput(ctx *pulumi.Context, args InstanceTypesOutputArgs, opts ...pulumi.InvokeOption) InstanceTypesResultOutput

func (InstanceTypesResultOutput) ElementType added in v0.0.23

func (InstanceTypesResultOutput) ElementType() reflect.Type

func (InstanceTypesResultOutput) Id added in v0.0.23

The provider-assigned unique ID for this managed resource.

func (InstanceTypesResultOutput) Ids added in v0.0.23

func (InstanceTypesResultOutput) InstanceTypes added in v0.0.23

The collection of query.

func (InstanceTypesResultOutput) OutputFile added in v0.0.23

func (InstanceTypesResultOutput) ToInstanceTypesResultOutput added in v0.0.23

func (o InstanceTypesResultOutput) ToInstanceTypesResultOutput() InstanceTypesResultOutput

func (InstanceTypesResultOutput) ToInstanceTypesResultOutputWithContext added in v0.0.23

func (o InstanceTypesResultOutput) ToInstanceTypesResultOutputWithContext(ctx context.Context) InstanceTypesResultOutput

func (InstanceTypesResultOutput) TotalCount added in v0.0.23

The total count of query.

type InstancesArgs

type InstancesArgs struct {
	// A list of DeploymentSet IDs.
	DeploymentSetIds []string `pulumi:"deploymentSetIds"`
	// The hpc cluster ID of ECS instance.
	HpcClusterId *string `pulumi:"hpcClusterId"`
	// A list of ECS instance IDs.
	Ids []string `pulumi:"ids"`
	// The charge type of ECS instance.
	InstanceChargeType *string `pulumi:"instanceChargeType"`
	// The key pair name of ECS instance.
	KeyPairName *string `pulumi:"keyPairName"`
	// A Name Regex of ECS instance.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The primary ip address of ECS instance.
	PrimaryIpAddress *string `pulumi:"primaryIpAddress"`
	// The ProjectName of ECS instance.
	ProjectName *string `pulumi:"projectName"`
	// The status of ECS instance.
	Status *string `pulumi:"status"`
	// Tags.
	Tags []InstancesTag `pulumi:"tags"`
	// The VPC ID of ECS instance.
	VpcId *string `pulumi:"vpcId"`
	// The available zone ID of ECS instance.
	ZoneId *string `pulumi:"zoneId"`
}

A collection of arguments for invoking Instances.

type InstancesInstance

type InstancesInstance struct {
	// The number of ECS instance CPU cores.
	Cpus int `pulumi:"cpus"`
	// The create time of ECS instance.
	CreatedAt string `pulumi:"createdAt"`
	// The ID of DeploymentSet.
	DeploymentSetId string `pulumi:"deploymentSetId"`
	// The description of ECS instance.
	Description string `pulumi:"description"`
	// The GPU device info of Instance.
	GpuDevices []InstancesInstanceGpuDevice `pulumi:"gpuDevices"`
	// The host name of ECS instance.
	HostName string `pulumi:"hostName"`
	// The image ID of ECS instance.
	ImageId string `pulumi:"imageId"`
	// The charge type of ECS instance.
	InstanceChargeType string `pulumi:"instanceChargeType"`
	// The ID of ECS instance.
	InstanceId string `pulumi:"instanceId"`
	// The name of ECS instance.
	InstanceName string `pulumi:"instanceName"`
	// The spec type of ECS instance.
	InstanceType string `pulumi:"instanceType"`
	// The number of IPv6 addresses of the ECS instance.
	Ipv6AddressCount int `pulumi:"ipv6AddressCount"`
	// The  IPv6 address list of the ECS instance.
	Ipv6Addresses []string `pulumi:"ipv6Addresses"`
	// The Flag of GPU instance.If the instance is GPU,The flag is true.
	IsGpu bool `pulumi:"isGpu"`
	// The ssh key ID of ECS instance.
	KeyPairId string `pulumi:"keyPairId"`
	// The key pair name of ECS instance.
	KeyPairName string `pulumi:"keyPairName"`
	// The memory size of ECS instance.
	MemorySize int `pulumi:"memorySize"`
	// The networkInterface detail collection of ECS instance.
	NetworkInterfaces []InstancesInstanceNetworkInterface `pulumi:"networkInterfaces"`
	// The os name of ECS instance.
	OsName string `pulumi:"osName"`
	// The os type of ECS instance.
	OsType string `pulumi:"osType"`
	// The ProjectName of ECS instance.
	ProjectName string `pulumi:"projectName"`
	// The spot price limit of ECS instance.
	SpotPriceLimit float64 `pulumi:"spotPriceLimit"`
	// The spot strategy of ECS instance.
	SpotStrategy string `pulumi:"spotStrategy"`
	// The status of ECS instance.
	Status string `pulumi:"status"`
	// The stop mode of ECS instance.
	StoppedMode string `pulumi:"stoppedMode"`
	// Tags.
	Tags []InstancesInstanceTag `pulumi:"tags"`
	// The update time of ECS instance.
	UpdatedAt string `pulumi:"updatedAt"`
	// The volume detail collection of volume.
	Volumes []InstancesInstanceVolume `pulumi:"volumes"`
	// The VPC ID of ECS instance.
	VpcId string `pulumi:"vpcId"`
	// The available zone ID of ECS instance.
	ZoneId string `pulumi:"zoneId"`
}

type InstancesInstanceArgs

type InstancesInstanceArgs struct {
	// The number of ECS instance CPU cores.
	Cpus pulumi.IntInput `pulumi:"cpus"`
	// The create time of ECS instance.
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// The ID of DeploymentSet.
	DeploymentSetId pulumi.StringInput `pulumi:"deploymentSetId"`
	// The description of ECS instance.
	Description pulumi.StringInput `pulumi:"description"`
	// The GPU device info of Instance.
	GpuDevices InstancesInstanceGpuDeviceArrayInput `pulumi:"gpuDevices"`
	// The host name of ECS instance.
	HostName pulumi.StringInput `pulumi:"hostName"`
	// The image ID of ECS instance.
	ImageId pulumi.StringInput `pulumi:"imageId"`
	// The charge type of ECS instance.
	InstanceChargeType pulumi.StringInput `pulumi:"instanceChargeType"`
	// The ID of ECS instance.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// The name of ECS instance.
	InstanceName pulumi.StringInput `pulumi:"instanceName"`
	// The spec type of ECS instance.
	InstanceType pulumi.StringInput `pulumi:"instanceType"`
	// The number of IPv6 addresses of the ECS instance.
	Ipv6AddressCount pulumi.IntInput `pulumi:"ipv6AddressCount"`
	// The  IPv6 address list of the ECS instance.
	Ipv6Addresses pulumi.StringArrayInput `pulumi:"ipv6Addresses"`
	// The Flag of GPU instance.If the instance is GPU,The flag is true.
	IsGpu pulumi.BoolInput `pulumi:"isGpu"`
	// The ssh key ID of ECS instance.
	KeyPairId pulumi.StringInput `pulumi:"keyPairId"`
	// The key pair name of ECS instance.
	KeyPairName pulumi.StringInput `pulumi:"keyPairName"`
	// The memory size of ECS instance.
	MemorySize pulumi.IntInput `pulumi:"memorySize"`
	// The networkInterface detail collection of ECS instance.
	NetworkInterfaces InstancesInstanceNetworkInterfaceArrayInput `pulumi:"networkInterfaces"`
	// The os name of ECS instance.
	OsName pulumi.StringInput `pulumi:"osName"`
	// The os type of ECS instance.
	OsType pulumi.StringInput `pulumi:"osType"`
	// The ProjectName of ECS instance.
	ProjectName pulumi.StringInput `pulumi:"projectName"`
	// The spot price limit of ECS instance.
	SpotPriceLimit pulumi.Float64Input `pulumi:"spotPriceLimit"`
	// The spot strategy of ECS instance.
	SpotStrategy pulumi.StringInput `pulumi:"spotStrategy"`
	// The status of ECS instance.
	Status pulumi.StringInput `pulumi:"status"`
	// The stop mode of ECS instance.
	StoppedMode pulumi.StringInput `pulumi:"stoppedMode"`
	// Tags.
	Tags InstancesInstanceTagArrayInput `pulumi:"tags"`
	// The update time of ECS instance.
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
	// The volume detail collection of volume.
	Volumes InstancesInstanceVolumeArrayInput `pulumi:"volumes"`
	// The VPC ID of ECS instance.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// The available zone ID of ECS instance.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (InstancesInstanceArgs) ElementType

func (InstancesInstanceArgs) ElementType() reflect.Type

func (InstancesInstanceArgs) ToInstancesInstanceOutput

func (i InstancesInstanceArgs) ToInstancesInstanceOutput() InstancesInstanceOutput

func (InstancesInstanceArgs) ToInstancesInstanceOutputWithContext

func (i InstancesInstanceArgs) ToInstancesInstanceOutputWithContext(ctx context.Context) InstancesInstanceOutput

type InstancesInstanceArray

type InstancesInstanceArray []InstancesInstanceInput

func (InstancesInstanceArray) ElementType

func (InstancesInstanceArray) ElementType() reflect.Type

func (InstancesInstanceArray) ToInstancesInstanceArrayOutput

func (i InstancesInstanceArray) ToInstancesInstanceArrayOutput() InstancesInstanceArrayOutput

func (InstancesInstanceArray) ToInstancesInstanceArrayOutputWithContext

func (i InstancesInstanceArray) ToInstancesInstanceArrayOutputWithContext(ctx context.Context) InstancesInstanceArrayOutput

type InstancesInstanceArrayInput

type InstancesInstanceArrayInput interface {
	pulumi.Input

	ToInstancesInstanceArrayOutput() InstancesInstanceArrayOutput
	ToInstancesInstanceArrayOutputWithContext(context.Context) InstancesInstanceArrayOutput
}

InstancesInstanceArrayInput is an input type that accepts InstancesInstanceArray and InstancesInstanceArrayOutput values. You can construct a concrete instance of `InstancesInstanceArrayInput` via:

InstancesInstanceArray{ InstancesInstanceArgs{...} }

type InstancesInstanceArrayOutput

type InstancesInstanceArrayOutput struct{ *pulumi.OutputState }

func (InstancesInstanceArrayOutput) ElementType

func (InstancesInstanceArrayOutput) Index

func (InstancesInstanceArrayOutput) ToInstancesInstanceArrayOutput

func (o InstancesInstanceArrayOutput) ToInstancesInstanceArrayOutput() InstancesInstanceArrayOutput

func (InstancesInstanceArrayOutput) ToInstancesInstanceArrayOutputWithContext

func (o InstancesInstanceArrayOutput) ToInstancesInstanceArrayOutputWithContext(ctx context.Context) InstancesInstanceArrayOutput

type InstancesInstanceGpuDevice

type InstancesInstanceGpuDevice struct {
	// The Count of GPU device.
	Count int `pulumi:"count"`
	// The Encrypted Memory Size of GPU device.
	EncryptedMemorySize int `pulumi:"encryptedMemorySize"`
	// The memory size of ECS instance.
	MemorySize int `pulumi:"memorySize"`
	// The Product Name of GPU device.
	ProductName string `pulumi:"productName"`
}

type InstancesInstanceGpuDeviceArgs

type InstancesInstanceGpuDeviceArgs struct {
	// The Count of GPU device.
	Count pulumi.IntInput `pulumi:"count"`
	// The Encrypted Memory Size of GPU device.
	EncryptedMemorySize pulumi.IntInput `pulumi:"encryptedMemorySize"`
	// The memory size of ECS instance.
	MemorySize pulumi.IntInput `pulumi:"memorySize"`
	// The Product Name of GPU device.
	ProductName pulumi.StringInput `pulumi:"productName"`
}

func (InstancesInstanceGpuDeviceArgs) ElementType

func (InstancesInstanceGpuDeviceArgs) ToInstancesInstanceGpuDeviceOutput

func (i InstancesInstanceGpuDeviceArgs) ToInstancesInstanceGpuDeviceOutput() InstancesInstanceGpuDeviceOutput

func (InstancesInstanceGpuDeviceArgs) ToInstancesInstanceGpuDeviceOutputWithContext

func (i InstancesInstanceGpuDeviceArgs) ToInstancesInstanceGpuDeviceOutputWithContext(ctx context.Context) InstancesInstanceGpuDeviceOutput

type InstancesInstanceGpuDeviceArray

type InstancesInstanceGpuDeviceArray []InstancesInstanceGpuDeviceInput

func (InstancesInstanceGpuDeviceArray) ElementType

func (InstancesInstanceGpuDeviceArray) ToInstancesInstanceGpuDeviceArrayOutput

func (i InstancesInstanceGpuDeviceArray) ToInstancesInstanceGpuDeviceArrayOutput() InstancesInstanceGpuDeviceArrayOutput

func (InstancesInstanceGpuDeviceArray) ToInstancesInstanceGpuDeviceArrayOutputWithContext

func (i InstancesInstanceGpuDeviceArray) ToInstancesInstanceGpuDeviceArrayOutputWithContext(ctx context.Context) InstancesInstanceGpuDeviceArrayOutput

type InstancesInstanceGpuDeviceArrayInput

type InstancesInstanceGpuDeviceArrayInput interface {
	pulumi.Input

	ToInstancesInstanceGpuDeviceArrayOutput() InstancesInstanceGpuDeviceArrayOutput
	ToInstancesInstanceGpuDeviceArrayOutputWithContext(context.Context) InstancesInstanceGpuDeviceArrayOutput
}

InstancesInstanceGpuDeviceArrayInput is an input type that accepts InstancesInstanceGpuDeviceArray and InstancesInstanceGpuDeviceArrayOutput values. You can construct a concrete instance of `InstancesInstanceGpuDeviceArrayInput` via:

InstancesInstanceGpuDeviceArray{ InstancesInstanceGpuDeviceArgs{...} }

type InstancesInstanceGpuDeviceArrayOutput

type InstancesInstanceGpuDeviceArrayOutput struct{ *pulumi.OutputState }

func (InstancesInstanceGpuDeviceArrayOutput) ElementType

func (InstancesInstanceGpuDeviceArrayOutput) Index

func (InstancesInstanceGpuDeviceArrayOutput) ToInstancesInstanceGpuDeviceArrayOutput

func (o InstancesInstanceGpuDeviceArrayOutput) ToInstancesInstanceGpuDeviceArrayOutput() InstancesInstanceGpuDeviceArrayOutput

func (InstancesInstanceGpuDeviceArrayOutput) ToInstancesInstanceGpuDeviceArrayOutputWithContext

func (o InstancesInstanceGpuDeviceArrayOutput) ToInstancesInstanceGpuDeviceArrayOutputWithContext(ctx context.Context) InstancesInstanceGpuDeviceArrayOutput

type InstancesInstanceGpuDeviceInput

type InstancesInstanceGpuDeviceInput interface {
	pulumi.Input

	ToInstancesInstanceGpuDeviceOutput() InstancesInstanceGpuDeviceOutput
	ToInstancesInstanceGpuDeviceOutputWithContext(context.Context) InstancesInstanceGpuDeviceOutput
}

InstancesInstanceGpuDeviceInput is an input type that accepts InstancesInstanceGpuDeviceArgs and InstancesInstanceGpuDeviceOutput values. You can construct a concrete instance of `InstancesInstanceGpuDeviceInput` via:

InstancesInstanceGpuDeviceArgs{...}

type InstancesInstanceGpuDeviceOutput

type InstancesInstanceGpuDeviceOutput struct{ *pulumi.OutputState }

func (InstancesInstanceGpuDeviceOutput) Count

The Count of GPU device.

func (InstancesInstanceGpuDeviceOutput) ElementType

func (InstancesInstanceGpuDeviceOutput) EncryptedMemorySize

func (o InstancesInstanceGpuDeviceOutput) EncryptedMemorySize() pulumi.IntOutput

The Encrypted Memory Size of GPU device.

func (InstancesInstanceGpuDeviceOutput) MemorySize

The memory size of ECS instance.

func (InstancesInstanceGpuDeviceOutput) ProductName

The Product Name of GPU device.

func (InstancesInstanceGpuDeviceOutput) ToInstancesInstanceGpuDeviceOutput

func (o InstancesInstanceGpuDeviceOutput) ToInstancesInstanceGpuDeviceOutput() InstancesInstanceGpuDeviceOutput

func (InstancesInstanceGpuDeviceOutput) ToInstancesInstanceGpuDeviceOutputWithContext

func (o InstancesInstanceGpuDeviceOutput) ToInstancesInstanceGpuDeviceOutputWithContext(ctx context.Context) InstancesInstanceGpuDeviceOutput

type InstancesInstanceInput

type InstancesInstanceInput interface {
	pulumi.Input

	ToInstancesInstanceOutput() InstancesInstanceOutput
	ToInstancesInstanceOutputWithContext(context.Context) InstancesInstanceOutput
}

InstancesInstanceInput is an input type that accepts InstancesInstanceArgs and InstancesInstanceOutput values. You can construct a concrete instance of `InstancesInstanceInput` via:

InstancesInstanceArgs{...}

type InstancesInstanceNetworkInterface

type InstancesInstanceNetworkInterface struct {
	// The mac address of networkInterface.
	MacAddress string `pulumi:"macAddress"`
	// The ID of networkInterface.
	NetworkInterfaceId string `pulumi:"networkInterfaceId"`
	// The primary ip address of ECS instance.
	PrimaryIpAddress string `pulumi:"primaryIpAddress"`
	// The subnet ID of networkInterface.
	SubnetId string `pulumi:"subnetId"`
	// The type of networkInterface.
	Type string `pulumi:"type"`
	// The VPC ID of ECS instance.
	VpcId string `pulumi:"vpcId"`
}

type InstancesInstanceNetworkInterfaceArgs

type InstancesInstanceNetworkInterfaceArgs struct {
	// The mac address of networkInterface.
	MacAddress pulumi.StringInput `pulumi:"macAddress"`
	// The ID of networkInterface.
	NetworkInterfaceId pulumi.StringInput `pulumi:"networkInterfaceId"`
	// The primary ip address of ECS instance.
	PrimaryIpAddress pulumi.StringInput `pulumi:"primaryIpAddress"`
	// The subnet ID of networkInterface.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
	// The type of networkInterface.
	Type pulumi.StringInput `pulumi:"type"`
	// The VPC ID of ECS instance.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (InstancesInstanceNetworkInterfaceArgs) ElementType

func (InstancesInstanceNetworkInterfaceArgs) ToInstancesInstanceNetworkInterfaceOutput

func (i InstancesInstanceNetworkInterfaceArgs) ToInstancesInstanceNetworkInterfaceOutput() InstancesInstanceNetworkInterfaceOutput

func (InstancesInstanceNetworkInterfaceArgs) ToInstancesInstanceNetworkInterfaceOutputWithContext

func (i InstancesInstanceNetworkInterfaceArgs) ToInstancesInstanceNetworkInterfaceOutputWithContext(ctx context.Context) InstancesInstanceNetworkInterfaceOutput

type InstancesInstanceNetworkInterfaceArray

type InstancesInstanceNetworkInterfaceArray []InstancesInstanceNetworkInterfaceInput

func (InstancesInstanceNetworkInterfaceArray) ElementType

func (InstancesInstanceNetworkInterfaceArray) ToInstancesInstanceNetworkInterfaceArrayOutput

func (i InstancesInstanceNetworkInterfaceArray) ToInstancesInstanceNetworkInterfaceArrayOutput() InstancesInstanceNetworkInterfaceArrayOutput

func (InstancesInstanceNetworkInterfaceArray) ToInstancesInstanceNetworkInterfaceArrayOutputWithContext

func (i InstancesInstanceNetworkInterfaceArray) ToInstancesInstanceNetworkInterfaceArrayOutputWithContext(ctx context.Context) InstancesInstanceNetworkInterfaceArrayOutput

type InstancesInstanceNetworkInterfaceArrayInput

type InstancesInstanceNetworkInterfaceArrayInput interface {
	pulumi.Input

	ToInstancesInstanceNetworkInterfaceArrayOutput() InstancesInstanceNetworkInterfaceArrayOutput
	ToInstancesInstanceNetworkInterfaceArrayOutputWithContext(context.Context) InstancesInstanceNetworkInterfaceArrayOutput
}

InstancesInstanceNetworkInterfaceArrayInput is an input type that accepts InstancesInstanceNetworkInterfaceArray and InstancesInstanceNetworkInterfaceArrayOutput values. You can construct a concrete instance of `InstancesInstanceNetworkInterfaceArrayInput` via:

InstancesInstanceNetworkInterfaceArray{ InstancesInstanceNetworkInterfaceArgs{...} }

type InstancesInstanceNetworkInterfaceArrayOutput

type InstancesInstanceNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }

func (InstancesInstanceNetworkInterfaceArrayOutput) ElementType

func (InstancesInstanceNetworkInterfaceArrayOutput) Index

func (InstancesInstanceNetworkInterfaceArrayOutput) ToInstancesInstanceNetworkInterfaceArrayOutput

func (o InstancesInstanceNetworkInterfaceArrayOutput) ToInstancesInstanceNetworkInterfaceArrayOutput() InstancesInstanceNetworkInterfaceArrayOutput

func (InstancesInstanceNetworkInterfaceArrayOutput) ToInstancesInstanceNetworkInterfaceArrayOutputWithContext

func (o InstancesInstanceNetworkInterfaceArrayOutput) ToInstancesInstanceNetworkInterfaceArrayOutputWithContext(ctx context.Context) InstancesInstanceNetworkInterfaceArrayOutput

type InstancesInstanceNetworkInterfaceInput

type InstancesInstanceNetworkInterfaceInput interface {
	pulumi.Input

	ToInstancesInstanceNetworkInterfaceOutput() InstancesInstanceNetworkInterfaceOutput
	ToInstancesInstanceNetworkInterfaceOutputWithContext(context.Context) InstancesInstanceNetworkInterfaceOutput
}

InstancesInstanceNetworkInterfaceInput is an input type that accepts InstancesInstanceNetworkInterfaceArgs and InstancesInstanceNetworkInterfaceOutput values. You can construct a concrete instance of `InstancesInstanceNetworkInterfaceInput` via:

InstancesInstanceNetworkInterfaceArgs{...}

type InstancesInstanceNetworkInterfaceOutput

type InstancesInstanceNetworkInterfaceOutput struct{ *pulumi.OutputState }

func (InstancesInstanceNetworkInterfaceOutput) ElementType

func (InstancesInstanceNetworkInterfaceOutput) MacAddress

The mac address of networkInterface.

func (InstancesInstanceNetworkInterfaceOutput) NetworkInterfaceId

The ID of networkInterface.

func (InstancesInstanceNetworkInterfaceOutput) PrimaryIpAddress

The primary ip address of ECS instance.

func (InstancesInstanceNetworkInterfaceOutput) SubnetId

The subnet ID of networkInterface.

func (InstancesInstanceNetworkInterfaceOutput) ToInstancesInstanceNetworkInterfaceOutput

func (o InstancesInstanceNetworkInterfaceOutput) ToInstancesInstanceNetworkInterfaceOutput() InstancesInstanceNetworkInterfaceOutput

func (InstancesInstanceNetworkInterfaceOutput) ToInstancesInstanceNetworkInterfaceOutputWithContext

func (o InstancesInstanceNetworkInterfaceOutput) ToInstancesInstanceNetworkInterfaceOutputWithContext(ctx context.Context) InstancesInstanceNetworkInterfaceOutput

func (InstancesInstanceNetworkInterfaceOutput) Type

The type of networkInterface.

func (InstancesInstanceNetworkInterfaceOutput) VpcId

The VPC ID of ECS instance.

type InstancesInstanceOutput

type InstancesInstanceOutput struct{ *pulumi.OutputState }

func (InstancesInstanceOutput) Cpus

The number of ECS instance CPU cores.

func (InstancesInstanceOutput) CreatedAt

The create time of ECS instance.

func (InstancesInstanceOutput) DeploymentSetId

func (o InstancesInstanceOutput) DeploymentSetId() pulumi.StringOutput

The ID of DeploymentSet.

func (InstancesInstanceOutput) Description

The description of ECS instance.

func (InstancesInstanceOutput) ElementType

func (InstancesInstanceOutput) ElementType() reflect.Type

func (InstancesInstanceOutput) GpuDevices

The GPU device info of Instance.

func (InstancesInstanceOutput) HostName

The host name of ECS instance.

func (InstancesInstanceOutput) ImageId

The image ID of ECS instance.

func (InstancesInstanceOutput) InstanceChargeType

func (o InstancesInstanceOutput) InstanceChargeType() pulumi.StringOutput

The charge type of ECS instance.

func (InstancesInstanceOutput) InstanceId

The ID of ECS instance.

func (InstancesInstanceOutput) InstanceName

func (o InstancesInstanceOutput) InstanceName() pulumi.StringOutput

The name of ECS instance.

func (InstancesInstanceOutput) InstanceType

func (o InstancesInstanceOutput) InstanceType() pulumi.StringOutput

The spec type of ECS instance.

func (InstancesInstanceOutput) Ipv6AddressCount

func (o InstancesInstanceOutput) Ipv6AddressCount() pulumi.IntOutput

The number of IPv6 addresses of the ECS instance.

func (InstancesInstanceOutput) Ipv6Addresses

The IPv6 address list of the ECS instance.

func (InstancesInstanceOutput) IsGpu

The Flag of GPU instance.If the instance is GPU,The flag is true.

func (InstancesInstanceOutput) KeyPairId

The ssh key ID of ECS instance.

func (InstancesInstanceOutput) KeyPairName

The key pair name of ECS instance.

func (InstancesInstanceOutput) MemorySize

func (o InstancesInstanceOutput) MemorySize() pulumi.IntOutput

The memory size of ECS instance.

func (InstancesInstanceOutput) NetworkInterfaces

The networkInterface detail collection of ECS instance.

func (InstancesInstanceOutput) OsName

The os name of ECS instance.

func (InstancesInstanceOutput) OsType

The os type of ECS instance.

func (InstancesInstanceOutput) ProjectName

The ProjectName of ECS instance.

func (InstancesInstanceOutput) SpotPriceLimit added in v0.0.19

func (o InstancesInstanceOutput) SpotPriceLimit() pulumi.Float64Output

The spot price limit of ECS instance.

func (InstancesInstanceOutput) SpotStrategy

func (o InstancesInstanceOutput) SpotStrategy() pulumi.StringOutput

The spot strategy of ECS instance.

func (InstancesInstanceOutput) Status

The status of ECS instance.

func (InstancesInstanceOutput) StoppedMode

The stop mode of ECS instance.

func (InstancesInstanceOutput) Tags

Tags.

func (InstancesInstanceOutput) ToInstancesInstanceOutput

func (o InstancesInstanceOutput) ToInstancesInstanceOutput() InstancesInstanceOutput

func (InstancesInstanceOutput) ToInstancesInstanceOutputWithContext

func (o InstancesInstanceOutput) ToInstancesInstanceOutputWithContext(ctx context.Context) InstancesInstanceOutput

func (InstancesInstanceOutput) UpdatedAt

The update time of ECS instance.

func (InstancesInstanceOutput) Volumes

The volume detail collection of volume.

func (InstancesInstanceOutput) VpcId

The VPC ID of ECS instance.

func (InstancesInstanceOutput) ZoneId

The available zone ID of ECS instance.

type InstancesInstanceTag

type InstancesInstanceTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

type InstancesInstanceTagArgs

type InstancesInstanceTagArgs struct {
	// The Key of Tags.
	Key pulumi.StringInput `pulumi:"key"`
	// The Value of Tags.
	Value pulumi.StringInput `pulumi:"value"`
}

func (InstancesInstanceTagArgs) ElementType

func (InstancesInstanceTagArgs) ElementType() reflect.Type

func (InstancesInstanceTagArgs) ToInstancesInstanceTagOutput

func (i InstancesInstanceTagArgs) ToInstancesInstanceTagOutput() InstancesInstanceTagOutput

func (InstancesInstanceTagArgs) ToInstancesInstanceTagOutputWithContext

func (i InstancesInstanceTagArgs) ToInstancesInstanceTagOutputWithContext(ctx context.Context) InstancesInstanceTagOutput

type InstancesInstanceTagArray

type InstancesInstanceTagArray []InstancesInstanceTagInput

func (InstancesInstanceTagArray) ElementType

func (InstancesInstanceTagArray) ElementType() reflect.Type

func (InstancesInstanceTagArray) ToInstancesInstanceTagArrayOutput

func (i InstancesInstanceTagArray) ToInstancesInstanceTagArrayOutput() InstancesInstanceTagArrayOutput

func (InstancesInstanceTagArray) ToInstancesInstanceTagArrayOutputWithContext

func (i InstancesInstanceTagArray) ToInstancesInstanceTagArrayOutputWithContext(ctx context.Context) InstancesInstanceTagArrayOutput

type InstancesInstanceTagArrayInput

type InstancesInstanceTagArrayInput interface {
	pulumi.Input

	ToInstancesInstanceTagArrayOutput() InstancesInstanceTagArrayOutput
	ToInstancesInstanceTagArrayOutputWithContext(context.Context) InstancesInstanceTagArrayOutput
}

InstancesInstanceTagArrayInput is an input type that accepts InstancesInstanceTagArray and InstancesInstanceTagArrayOutput values. You can construct a concrete instance of `InstancesInstanceTagArrayInput` via:

InstancesInstanceTagArray{ InstancesInstanceTagArgs{...} }

type InstancesInstanceTagArrayOutput

type InstancesInstanceTagArrayOutput struct{ *pulumi.OutputState }

func (InstancesInstanceTagArrayOutput) ElementType

func (InstancesInstanceTagArrayOutput) Index

func (InstancesInstanceTagArrayOutput) ToInstancesInstanceTagArrayOutput

func (o InstancesInstanceTagArrayOutput) ToInstancesInstanceTagArrayOutput() InstancesInstanceTagArrayOutput

func (InstancesInstanceTagArrayOutput) ToInstancesInstanceTagArrayOutputWithContext

func (o InstancesInstanceTagArrayOutput) ToInstancesInstanceTagArrayOutputWithContext(ctx context.Context) InstancesInstanceTagArrayOutput

type InstancesInstanceTagInput

type InstancesInstanceTagInput interface {
	pulumi.Input

	ToInstancesInstanceTagOutput() InstancesInstanceTagOutput
	ToInstancesInstanceTagOutputWithContext(context.Context) InstancesInstanceTagOutput
}

InstancesInstanceTagInput is an input type that accepts InstancesInstanceTagArgs and InstancesInstanceTagOutput values. You can construct a concrete instance of `InstancesInstanceTagInput` via:

InstancesInstanceTagArgs{...}

type InstancesInstanceTagOutput

type InstancesInstanceTagOutput struct{ *pulumi.OutputState }

func (InstancesInstanceTagOutput) ElementType

func (InstancesInstanceTagOutput) ElementType() reflect.Type

func (InstancesInstanceTagOutput) Key

The Key of Tags.

func (InstancesInstanceTagOutput) ToInstancesInstanceTagOutput

func (o InstancesInstanceTagOutput) ToInstancesInstanceTagOutput() InstancesInstanceTagOutput

func (InstancesInstanceTagOutput) ToInstancesInstanceTagOutputWithContext

func (o InstancesInstanceTagOutput) ToInstancesInstanceTagOutputWithContext(ctx context.Context) InstancesInstanceTagOutput

func (InstancesInstanceTagOutput) Value

The Value of Tags.

type InstancesInstanceVolume

type InstancesInstanceVolume struct {
	// The delete with instance flag of volume.
	DeleteWithInstance bool `pulumi:"deleteWithInstance"`
	// The size of volume.
	Size int `pulumi:"size"`
	// The ID of volume.
	VolumeId string `pulumi:"volumeId"`
	// The Name of volume.
	VolumeName string `pulumi:"volumeName"`
	// The type of volume.
	VolumeType string `pulumi:"volumeType"`
}

type InstancesInstanceVolumeArgs

type InstancesInstanceVolumeArgs struct {
	// The delete with instance flag of volume.
	DeleteWithInstance pulumi.BoolInput `pulumi:"deleteWithInstance"`
	// The size of volume.
	Size pulumi.IntInput `pulumi:"size"`
	// The ID of volume.
	VolumeId pulumi.StringInput `pulumi:"volumeId"`
	// The Name of volume.
	VolumeName pulumi.StringInput `pulumi:"volumeName"`
	// The type of volume.
	VolumeType pulumi.StringInput `pulumi:"volumeType"`
}

func (InstancesInstanceVolumeArgs) ElementType

func (InstancesInstanceVolumeArgs) ToInstancesInstanceVolumeOutput

func (i InstancesInstanceVolumeArgs) ToInstancesInstanceVolumeOutput() InstancesInstanceVolumeOutput

func (InstancesInstanceVolumeArgs) ToInstancesInstanceVolumeOutputWithContext

func (i InstancesInstanceVolumeArgs) ToInstancesInstanceVolumeOutputWithContext(ctx context.Context) InstancesInstanceVolumeOutput

type InstancesInstanceVolumeArray

type InstancesInstanceVolumeArray []InstancesInstanceVolumeInput

func (InstancesInstanceVolumeArray) ElementType

func (InstancesInstanceVolumeArray) ToInstancesInstanceVolumeArrayOutput

func (i InstancesInstanceVolumeArray) ToInstancesInstanceVolumeArrayOutput() InstancesInstanceVolumeArrayOutput

func (InstancesInstanceVolumeArray) ToInstancesInstanceVolumeArrayOutputWithContext

func (i InstancesInstanceVolumeArray) ToInstancesInstanceVolumeArrayOutputWithContext(ctx context.Context) InstancesInstanceVolumeArrayOutput

type InstancesInstanceVolumeArrayInput

type InstancesInstanceVolumeArrayInput interface {
	pulumi.Input

	ToInstancesInstanceVolumeArrayOutput() InstancesInstanceVolumeArrayOutput
	ToInstancesInstanceVolumeArrayOutputWithContext(context.Context) InstancesInstanceVolumeArrayOutput
}

InstancesInstanceVolumeArrayInput is an input type that accepts InstancesInstanceVolumeArray and InstancesInstanceVolumeArrayOutput values. You can construct a concrete instance of `InstancesInstanceVolumeArrayInput` via:

InstancesInstanceVolumeArray{ InstancesInstanceVolumeArgs{...} }

type InstancesInstanceVolumeArrayOutput

type InstancesInstanceVolumeArrayOutput struct{ *pulumi.OutputState }

func (InstancesInstanceVolumeArrayOutput) ElementType

func (InstancesInstanceVolumeArrayOutput) Index

func (InstancesInstanceVolumeArrayOutput) ToInstancesInstanceVolumeArrayOutput

func (o InstancesInstanceVolumeArrayOutput) ToInstancesInstanceVolumeArrayOutput() InstancesInstanceVolumeArrayOutput

func (InstancesInstanceVolumeArrayOutput) ToInstancesInstanceVolumeArrayOutputWithContext

func (o InstancesInstanceVolumeArrayOutput) ToInstancesInstanceVolumeArrayOutputWithContext(ctx context.Context) InstancesInstanceVolumeArrayOutput

type InstancesInstanceVolumeInput

type InstancesInstanceVolumeInput interface {
	pulumi.Input

	ToInstancesInstanceVolumeOutput() InstancesInstanceVolumeOutput
	ToInstancesInstanceVolumeOutputWithContext(context.Context) InstancesInstanceVolumeOutput
}

InstancesInstanceVolumeInput is an input type that accepts InstancesInstanceVolumeArgs and InstancesInstanceVolumeOutput values. You can construct a concrete instance of `InstancesInstanceVolumeInput` via:

InstancesInstanceVolumeArgs{...}

type InstancesInstanceVolumeOutput

type InstancesInstanceVolumeOutput struct{ *pulumi.OutputState }

func (InstancesInstanceVolumeOutput) DeleteWithInstance

func (o InstancesInstanceVolumeOutput) DeleteWithInstance() pulumi.BoolOutput

The delete with instance flag of volume.

func (InstancesInstanceVolumeOutput) ElementType

func (InstancesInstanceVolumeOutput) Size

The size of volume.

func (InstancesInstanceVolumeOutput) ToInstancesInstanceVolumeOutput

func (o InstancesInstanceVolumeOutput) ToInstancesInstanceVolumeOutput() InstancesInstanceVolumeOutput

func (InstancesInstanceVolumeOutput) ToInstancesInstanceVolumeOutputWithContext

func (o InstancesInstanceVolumeOutput) ToInstancesInstanceVolumeOutputWithContext(ctx context.Context) InstancesInstanceVolumeOutput

func (InstancesInstanceVolumeOutput) VolumeId

The ID of volume.

func (InstancesInstanceVolumeOutput) VolumeName

The Name of volume.

func (InstancesInstanceVolumeOutput) VolumeType

The type of volume.

type InstancesOutputArgs

type InstancesOutputArgs struct {
	// A list of DeploymentSet IDs.
	DeploymentSetIds pulumi.StringArrayInput `pulumi:"deploymentSetIds"`
	// The hpc cluster ID of ECS instance.
	HpcClusterId pulumi.StringPtrInput `pulumi:"hpcClusterId"`
	// A list of ECS instance IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The charge type of ECS instance.
	InstanceChargeType pulumi.StringPtrInput `pulumi:"instanceChargeType"`
	// The key pair name of ECS instance.
	KeyPairName pulumi.StringPtrInput `pulumi:"keyPairName"`
	// A Name Regex of ECS instance.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The primary ip address of ECS instance.
	PrimaryIpAddress pulumi.StringPtrInput `pulumi:"primaryIpAddress"`
	// The ProjectName of ECS instance.
	ProjectName pulumi.StringPtrInput `pulumi:"projectName"`
	// The status of ECS instance.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Tags.
	Tags InstancesTagArrayInput `pulumi:"tags"`
	// The VPC ID of ECS instance.
	VpcId pulumi.StringPtrInput `pulumi:"vpcId"`
	// The available zone ID of ECS instance.
	ZoneId pulumi.StringPtrInput `pulumi:"zoneId"`
}

A collection of arguments for invoking Instances.

func (InstancesOutputArgs) ElementType

func (InstancesOutputArgs) ElementType() reflect.Type

type InstancesResult

type InstancesResult struct {
	DeploymentSetIds []string `pulumi:"deploymentSetIds"`
	HpcClusterId     *string  `pulumi:"hpcClusterId"`
	// The provider-assigned unique ID for this managed resource.
	Id  string   `pulumi:"id"`
	Ids []string `pulumi:"ids"`
	// The charge type of ECS instance.
	InstanceChargeType *string `pulumi:"instanceChargeType"`
	// The collection of ECS instance query.
	Instances []InstancesInstance `pulumi:"instances"`
	// The ssh key name of ECS instance.
	KeyPairName *string `pulumi:"keyPairName"`
	NameRegex   *string `pulumi:"nameRegex"`
	OutputFile  *string `pulumi:"outputFile"`
	// The private ip address of networkInterface.
	PrimaryIpAddress *string `pulumi:"primaryIpAddress"`
	// The ProjectName of ECS instance.
	ProjectName *string `pulumi:"projectName"`
	// The status of ECS instance.
	Status *string `pulumi:"status"`
	// Tags.
	Tags []InstancesTag `pulumi:"tags"`
	// The total count of ECS instance query.
	TotalCount int `pulumi:"totalCount"`
	// The VPC ID of ECS instance.
	VpcId *string `pulumi:"vpcId"`
	// The available zone ID of ECS instance.
	ZoneId *string `pulumi:"zoneId"`
}

A collection of values returned by Instances.

func Instances

func Instances(ctx *pulumi.Context, args *InstancesArgs, opts ...pulumi.InvokeOption) (*InstancesResult, error)

Use this data source to query detailed information of ecs instances ## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"

) func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooZones, err := ecs.Zones(ctx, nil, nil); if err != nil { return err } fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{ VpcName: pulumi.String("acc-test-vpc"), CidrBlock: pulumi.String("172.16.0.0/16"), }) if err != nil { return err } fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{ SubnetName: pulumi.String("acc-test-subnet"), CidrBlock: pulumi.String("172.16.0.0/24"), ZoneId: *pulumi.String(fooZones.Zones[0].Id), VpcId: fooVpc.ID(), }) if err != nil { return err } fooSecurityGroup, err := vpc.NewSecurityGroup(ctx, "fooSecurityGroup", &vpc.SecurityGroupArgs{ SecurityGroupName: pulumi.String("acc-test-security-group"), VpcId: fooVpc.ID(), }) if err != nil { return err } fooImages, err := ecs.Images(ctx, &ecs.ImagesArgs{ OsType: pulumi.StringRef("Linux"), Visibility: pulumi.StringRef("public"), InstanceTypeId: pulumi.StringRef("ecs.g1.large"), }, nil); if err != nil { return err } var fooInstance []*ecs.Instance

for index := 0; index < 2; index++ {
    key0 := index
    val0 := index

__res, err := ecs.NewInstance(ctx, fmt.Sprintf("fooInstance-%v", key0), &ecs.InstanceArgs{ InstanceName: pulumi.String(fmt.Sprintf("acc-test-ecs-%v", val0)), Description: pulumi.String("acc-test"), HostName: pulumi.String("tf-acc-test"), ImageId: *pulumi.String(fooImages.Images[0].ImageId), InstanceType: pulumi.String("ecs.g1.large"), Password: pulumi.String("93f0cb0614Aab12"), InstanceChargeType: pulumi.String("PostPaid"), SystemVolumeType: pulumi.String("ESSD_PL0"), SystemVolumeSize: pulumi.Int(40), DataVolumes: ecs.InstanceDataVolumeArray{ &ecs.InstanceDataVolumeArgs{ VolumeType: pulumi.String("ESSD_PL0"), Size: pulumi.Int(50), DeleteWithInstance: pulumi.Bool(true), }, }, SubnetId: fooSubnet.ID(), SecurityGroupIds: pulumi.StringArray{ fooSecurityGroup.ID(), }, ProjectName: pulumi.String("default"), Tags: ecs.InstanceTagArray{ &ecs.InstanceTagArgs{ Key: pulumi.String("k1"), Value: pulumi.String("v1"), }, }, }) if err != nil { return err } fooInstance = append(fooInstance, __res) } _ = ecs.InstancesOutput(ctx, ecs.InstancesOutputArgs{ Ids: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ #-functions-volcengine:ecs-instances:Instances.pp:49,9-26), }, nil); return nil }) } ```

type InstancesResultOutput

type InstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Instances.

func (InstancesResultOutput) DeploymentSetIds

func (o InstancesResultOutput) DeploymentSetIds() pulumi.StringArrayOutput

func (InstancesResultOutput) ElementType

func (InstancesResultOutput) ElementType() reflect.Type

func (InstancesResultOutput) HpcClusterId

func (o InstancesResultOutput) HpcClusterId() pulumi.StringPtrOutput

func (InstancesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (InstancesResultOutput) Ids

func (InstancesResultOutput) InstanceChargeType

func (o InstancesResultOutput) InstanceChargeType() pulumi.StringPtrOutput

The charge type of ECS instance.

func (InstancesResultOutput) Instances

The collection of ECS instance query.

func (InstancesResultOutput) KeyPairName

The ssh key name of ECS instance.

func (InstancesResultOutput) NameRegex

func (InstancesResultOutput) OutputFile

func (InstancesResultOutput) PrimaryIpAddress

func (o InstancesResultOutput) PrimaryIpAddress() pulumi.StringPtrOutput

The private ip address of networkInterface.

func (InstancesResultOutput) ProjectName

The ProjectName of ECS instance.

func (InstancesResultOutput) Status

The status of ECS instance.

func (InstancesResultOutput) Tags

Tags.

func (InstancesResultOutput) ToInstancesResultOutput

func (o InstancesResultOutput) ToInstancesResultOutput() InstancesResultOutput

func (InstancesResultOutput) ToInstancesResultOutputWithContext

func (o InstancesResultOutput) ToInstancesResultOutputWithContext(ctx context.Context) InstancesResultOutput

func (InstancesResultOutput) TotalCount

func (o InstancesResultOutput) TotalCount() pulumi.IntOutput

The total count of ECS instance query.

func (InstancesResultOutput) VpcId

The VPC ID of ECS instance.

func (InstancesResultOutput) ZoneId

The available zone ID of ECS instance.

type InstancesTag

type InstancesTag struct {
	// The Key of Tags.
	Key string `pulumi:"key"`
	// The Value of Tags.
	Value string `pulumi:"value"`
}

type InstancesTagArgs

type InstancesTagArgs struct {
	// The Key of Tags.
	Key pulumi.StringInput `pulumi:"key"`
	// The Value of Tags.
	Value pulumi.StringInput `pulumi:"value"`
}

func (InstancesTagArgs) ElementType

func (InstancesTagArgs) ElementType() reflect.Type

func (InstancesTagArgs) ToInstancesTagOutput

func (i InstancesTagArgs) ToInstancesTagOutput() InstancesTagOutput

func (InstancesTagArgs) ToInstancesTagOutputWithContext

func (i InstancesTagArgs) ToInstancesTagOutputWithContext(ctx context.Context) InstancesTagOutput

type InstancesTagArray

type InstancesTagArray []InstancesTagInput

func (InstancesTagArray) ElementType

func (InstancesTagArray) ElementType() reflect.Type

func (InstancesTagArray) ToInstancesTagArrayOutput

func (i InstancesTagArray) ToInstancesTagArrayOutput() InstancesTagArrayOutput

func (InstancesTagArray) ToInstancesTagArrayOutputWithContext

func (i InstancesTagArray) ToInstancesTagArrayOutputWithContext(ctx context.Context) InstancesTagArrayOutput

type InstancesTagArrayInput

type InstancesTagArrayInput interface {
	pulumi.Input

	ToInstancesTagArrayOutput() InstancesTagArrayOutput
	ToInstancesTagArrayOutputWithContext(context.Context) InstancesTagArrayOutput
}

InstancesTagArrayInput is an input type that accepts InstancesTagArray and InstancesTagArrayOutput values. You can construct a concrete instance of `InstancesTagArrayInput` via:

InstancesTagArray{ InstancesTagArgs{...} }

type InstancesTagArrayOutput

type InstancesTagArrayOutput struct{ *pulumi.OutputState }

func (InstancesTagArrayOutput) ElementType

func (InstancesTagArrayOutput) ElementType() reflect.Type

func (InstancesTagArrayOutput) Index

func (InstancesTagArrayOutput) ToInstancesTagArrayOutput

func (o InstancesTagArrayOutput) ToInstancesTagArrayOutput() InstancesTagArrayOutput

func (InstancesTagArrayOutput) ToInstancesTagArrayOutputWithContext

func (o InstancesTagArrayOutput) ToInstancesTagArrayOutputWithContext(ctx context.Context) InstancesTagArrayOutput

type InstancesTagInput

type InstancesTagInput interface {
	pulumi.Input

	ToInstancesTagOutput() InstancesTagOutput
	ToInstancesTagOutputWithContext(context.Context) InstancesTagOutput
}

InstancesTagInput is an input type that accepts InstancesTagArgs and InstancesTagOutput values. You can construct a concrete instance of `InstancesTagInput` via:

InstancesTagArgs{...}

type InstancesTagOutput

type InstancesTagOutput struct{ *pulumi.OutputState }

func (InstancesTagOutput) ElementType

func (InstancesTagOutput) ElementType() reflect.Type

func (InstancesTagOutput) Key

The Key of Tags.

func (InstancesTagOutput) ToInstancesTagOutput

func (o InstancesTagOutput) ToInstancesTagOutput() InstancesTagOutput

func (InstancesTagOutput) ToInstancesTagOutputWithContext

func (o InstancesTagOutput) ToInstancesTagOutputWithContext(ctx context.Context) InstancesTagOutput

func (InstancesTagOutput) Value

The Value of Tags.

type Invocation added in v0.0.18

type Invocation struct {
	pulumi.CustomResourceState

	// The command id of the ecs invocation.
	CommandId pulumi.StringOutput `pulumi:"commandId"`
	// The end time of the ecs invocation.
	EndTime pulumi.StringOutput `pulumi:"endTime"`
	// The frequency of the ecs invocation. This field is valid and required when the value of the repeatMode field is `Rate`.
	Frequency pulumi.StringPtrOutput `pulumi:"frequency"`
	// The list of ECS instance IDs.
	InstanceIds pulumi.StringArrayOutput `pulumi:"instanceIds"`
	// The description of the ecs invocation.
	InvocationDescription pulumi.StringPtrOutput `pulumi:"invocationDescription"`
	// The name of the ecs invocation.
	InvocationName pulumi.StringOutput `pulumi:"invocationName"`
	// The status of the ecs invocation.
	InvocationStatus pulumi.StringOutput `pulumi:"invocationStatus"`
	// The launch time of the ecs invocation. RFC3339 format. This field is valid and required when the value of the repeatMode field is `Rate` or `Fixed`.
	LaunchTime pulumi.StringPtrOutput `pulumi:"launchTime"`
	// The recurrence end time of the ecs invocation. RFC3339 format. This field is valid and required when the value of the repeatMode field is `Rate`.
	RecurrenceEndTime pulumi.StringPtrOutput `pulumi:"recurrenceEndTime"`
	// The repeat mode of the ecs invocation. Valid values: `Once`, `Rate`, `Fixed`.
	RepeatMode pulumi.StringPtrOutput `pulumi:"repeatMode"`
	// The start time of the ecs invocation.
	StartTime pulumi.StringOutput `pulumi:"startTime"`
	// The timeout of the ecs command. Valid value range: 10-600. When this field is not specified, use the value of the field with the same name in ecs command as the default value.
	Timeout pulumi.IntOutput `pulumi:"timeout"`
	// The username of the ecs command. When this field is not specified, use the value of the field with the same name in ecs command as the default value.
	Username pulumi.StringOutput `pulumi:"username"`
	// The working directory of the ecs invocation. When this field is not specified, use the value of the field with the same name in ecs command as the default value.
	WorkingDir pulumi.StringOutput `pulumi:"workingDir"`
}

Provides a resource to manage ecs invocation ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.NewInvocation(ctx, "foo", &ecs.InvocationArgs{
			CommandId: pulumi.String("cmd-ychkepkhtim0tr3b****"),
			Frequency: pulumi.String("5m"),
			InstanceIds: pulumi.StringArray{
				pulumi.String("i-ychmz92487l8j00o****"),
			},
			InvocationDescription: pulumi.String("tf"),
			InvocationName:        pulumi.String("tf-test"),
			LaunchTime:            pulumi.String("2023-06-20T09:48:00Z"),
			RecurrenceEndTime:     pulumi.String("2023-06-20T09:59:00Z"),
			RepeatMode:            pulumi.String("Rate"),
			Timeout:               pulumi.Int(90),
			Username:              pulumi.String("root"),
			WorkingDir:            pulumi.String("/home"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

EcsInvocation can be imported using the id, e.g.

```sh

$ pulumi import volcengine:ecs/invocation:Invocation default ivk-ychnxnm45dl8j0mm****

```

func GetInvocation added in v0.0.18

func GetInvocation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InvocationState, opts ...pulumi.ResourceOption) (*Invocation, error)

GetInvocation gets an existing Invocation 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 NewInvocation added in v0.0.18

func NewInvocation(ctx *pulumi.Context,
	name string, args *InvocationArgs, opts ...pulumi.ResourceOption) (*Invocation, error)

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

func (*Invocation) ElementType added in v0.0.18

func (*Invocation) ElementType() reflect.Type

func (*Invocation) ToInvocationOutput added in v0.0.18

func (i *Invocation) ToInvocationOutput() InvocationOutput

func (*Invocation) ToInvocationOutputWithContext added in v0.0.18

func (i *Invocation) ToInvocationOutputWithContext(ctx context.Context) InvocationOutput

type InvocationArgs added in v0.0.18

type InvocationArgs struct {
	// The command id of the ecs invocation.
	CommandId pulumi.StringInput
	// The frequency of the ecs invocation. This field is valid and required when the value of the repeatMode field is `Rate`.
	Frequency pulumi.StringPtrInput
	// The list of ECS instance IDs.
	InstanceIds pulumi.StringArrayInput
	// The description of the ecs invocation.
	InvocationDescription pulumi.StringPtrInput
	// The name of the ecs invocation.
	InvocationName pulumi.StringInput
	// The launch time of the ecs invocation. RFC3339 format. This field is valid and required when the value of the repeatMode field is `Rate` or `Fixed`.
	LaunchTime pulumi.StringPtrInput
	// The recurrence end time of the ecs invocation. RFC3339 format. This field is valid and required when the value of the repeatMode field is `Rate`.
	RecurrenceEndTime pulumi.StringPtrInput
	// The repeat mode of the ecs invocation. Valid values: `Once`, `Rate`, `Fixed`.
	RepeatMode pulumi.StringPtrInput
	// The timeout of the ecs command. Valid value range: 10-600. When this field is not specified, use the value of the field with the same name in ecs command as the default value.
	Timeout pulumi.IntPtrInput
	// The username of the ecs command. When this field is not specified, use the value of the field with the same name in ecs command as the default value.
	Username pulumi.StringInput
	// The working directory of the ecs invocation. When this field is not specified, use the value of the field with the same name in ecs command as the default value.
	WorkingDir pulumi.StringPtrInput
}

The set of arguments for constructing a Invocation resource.

func (InvocationArgs) ElementType added in v0.0.18

func (InvocationArgs) ElementType() reflect.Type

type InvocationArray added in v0.0.18

type InvocationArray []InvocationInput

func (InvocationArray) ElementType added in v0.0.18

func (InvocationArray) ElementType() reflect.Type

func (InvocationArray) ToInvocationArrayOutput added in v0.0.18

func (i InvocationArray) ToInvocationArrayOutput() InvocationArrayOutput

func (InvocationArray) ToInvocationArrayOutputWithContext added in v0.0.18

func (i InvocationArray) ToInvocationArrayOutputWithContext(ctx context.Context) InvocationArrayOutput

type InvocationArrayInput added in v0.0.18

type InvocationArrayInput interface {
	pulumi.Input

	ToInvocationArrayOutput() InvocationArrayOutput
	ToInvocationArrayOutputWithContext(context.Context) InvocationArrayOutput
}

InvocationArrayInput is an input type that accepts InvocationArray and InvocationArrayOutput values. You can construct a concrete instance of `InvocationArrayInput` via:

InvocationArray{ InvocationArgs{...} }

type InvocationArrayOutput added in v0.0.18

type InvocationArrayOutput struct{ *pulumi.OutputState }

func (InvocationArrayOutput) ElementType added in v0.0.18

func (InvocationArrayOutput) ElementType() reflect.Type

func (InvocationArrayOutput) Index added in v0.0.18

func (InvocationArrayOutput) ToInvocationArrayOutput added in v0.0.18

func (o InvocationArrayOutput) ToInvocationArrayOutput() InvocationArrayOutput

func (InvocationArrayOutput) ToInvocationArrayOutputWithContext added in v0.0.18

func (o InvocationArrayOutput) ToInvocationArrayOutputWithContext(ctx context.Context) InvocationArrayOutput

type InvocationInput added in v0.0.18

type InvocationInput interface {
	pulumi.Input

	ToInvocationOutput() InvocationOutput
	ToInvocationOutputWithContext(ctx context.Context) InvocationOutput
}

type InvocationMap added in v0.0.18

type InvocationMap map[string]InvocationInput

func (InvocationMap) ElementType added in v0.0.18

func (InvocationMap) ElementType() reflect.Type

func (InvocationMap) ToInvocationMapOutput added in v0.0.18

func (i InvocationMap) ToInvocationMapOutput() InvocationMapOutput

func (InvocationMap) ToInvocationMapOutputWithContext added in v0.0.18

func (i InvocationMap) ToInvocationMapOutputWithContext(ctx context.Context) InvocationMapOutput

type InvocationMapInput added in v0.0.18

type InvocationMapInput interface {
	pulumi.Input

	ToInvocationMapOutput() InvocationMapOutput
	ToInvocationMapOutputWithContext(context.Context) InvocationMapOutput
}

InvocationMapInput is an input type that accepts InvocationMap and InvocationMapOutput values. You can construct a concrete instance of `InvocationMapInput` via:

InvocationMap{ "key": InvocationArgs{...} }

type InvocationMapOutput added in v0.0.18

type InvocationMapOutput struct{ *pulumi.OutputState }

func (InvocationMapOutput) ElementType added in v0.0.18

func (InvocationMapOutput) ElementType() reflect.Type

func (InvocationMapOutput) MapIndex added in v0.0.18

func (InvocationMapOutput) ToInvocationMapOutput added in v0.0.18

func (o InvocationMapOutput) ToInvocationMapOutput() InvocationMapOutput

func (InvocationMapOutput) ToInvocationMapOutputWithContext added in v0.0.18

func (o InvocationMapOutput) ToInvocationMapOutputWithContext(ctx context.Context) InvocationMapOutput

type InvocationOutput added in v0.0.18

type InvocationOutput struct{ *pulumi.OutputState }

func (InvocationOutput) CommandId added in v0.0.18

func (o InvocationOutput) CommandId() pulumi.StringOutput

The command id of the ecs invocation.

func (InvocationOutput) ElementType added in v0.0.18

func (InvocationOutput) ElementType() reflect.Type

func (InvocationOutput) EndTime added in v0.0.18

func (o InvocationOutput) EndTime() pulumi.StringOutput

The end time of the ecs invocation.

func (InvocationOutput) Frequency added in v0.0.18

func (o InvocationOutput) Frequency() pulumi.StringPtrOutput

The frequency of the ecs invocation. This field is valid and required when the value of the repeatMode field is `Rate`.

func (InvocationOutput) InstanceIds added in v0.0.18

func (o InvocationOutput) InstanceIds() pulumi.StringArrayOutput

The list of ECS instance IDs.

func (InvocationOutput) InvocationDescription added in v0.0.18

func (o InvocationOutput) InvocationDescription() pulumi.StringPtrOutput

The description of the ecs invocation.

func (InvocationOutput) InvocationName added in v0.0.18

func (o InvocationOutput) InvocationName() pulumi.StringOutput

The name of the ecs invocation.

func (InvocationOutput) InvocationStatus added in v0.0.18

func (o InvocationOutput) InvocationStatus() pulumi.StringOutput

The status of the ecs invocation.

func (InvocationOutput) LaunchTime added in v0.0.18

func (o InvocationOutput) LaunchTime() pulumi.StringPtrOutput

The launch time of the ecs invocation. RFC3339 format. This field is valid and required when the value of the repeatMode field is `Rate` or `Fixed`.

func (InvocationOutput) RecurrenceEndTime added in v0.0.18

func (o InvocationOutput) RecurrenceEndTime() pulumi.StringPtrOutput

The recurrence end time of the ecs invocation. RFC3339 format. This field is valid and required when the value of the repeatMode field is `Rate`.

func (InvocationOutput) RepeatMode added in v0.0.18

func (o InvocationOutput) RepeatMode() pulumi.StringPtrOutput

The repeat mode of the ecs invocation. Valid values: `Once`, `Rate`, `Fixed`.

func (InvocationOutput) StartTime added in v0.0.18

func (o InvocationOutput) StartTime() pulumi.StringOutput

The start time of the ecs invocation.

func (InvocationOutput) Timeout added in v0.0.18

func (o InvocationOutput) Timeout() pulumi.IntOutput

The timeout of the ecs command. Valid value range: 10-600. When this field is not specified, use the value of the field with the same name in ecs command as the default value.

func (InvocationOutput) ToInvocationOutput added in v0.0.18

func (o InvocationOutput) ToInvocationOutput() InvocationOutput

func (InvocationOutput) ToInvocationOutputWithContext added in v0.0.18

func (o InvocationOutput) ToInvocationOutputWithContext(ctx context.Context) InvocationOutput

func (InvocationOutput) Username added in v0.0.18

func (o InvocationOutput) Username() pulumi.StringOutput

The username of the ecs command. When this field is not specified, use the value of the field with the same name in ecs command as the default value.

func (InvocationOutput) WorkingDir added in v0.0.18

func (o InvocationOutput) WorkingDir() pulumi.StringOutput

The working directory of the ecs invocation. When this field is not specified, use the value of the field with the same name in ecs command as the default value.

type InvocationResultsArgs added in v0.0.18

type InvocationResultsArgs struct {
	// The id of ecs command.
	CommandId *string `pulumi:"commandId"`
	// The id of ecs instance.
	InstanceId *string `pulumi:"instanceId"`
	// The id of ecs invocation.
	InvocationId string `pulumi:"invocationId"`
	// The list of status of ecs invocation in a single instance. Valid values: `Pending`, `Running`, `Success`, `Failed`, `Timeout`.
	InvocationResultStatuses []string `pulumi:"invocationResultStatuses"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking InvocationResults.

type InvocationResultsInvocationResult added in v0.0.18

type InvocationResultsInvocationResult struct {
	// The id of ecs command.
	CommandId string `pulumi:"commandId"`
	// The end time of the ecs invocation in the instance.
	EndTime string `pulumi:"endTime"`
	// The error code of the ecs invocation.
	ErrorCode string `pulumi:"errorCode"`
	// The error message of the ecs invocation.
	ErrorMessage string `pulumi:"errorMessage"`
	// The exit code of the ecs command.
	ExitCode int `pulumi:"exitCode"`
	// The id of the ecs invocation result.
	Id string `pulumi:"id"`
	// The id of ecs instance.
	InstanceId string `pulumi:"instanceId"`
	// The id of ecs invocation.
	InvocationId string `pulumi:"invocationId"`
	// The id of the ecs invocation result.
	InvocationResultId string `pulumi:"invocationResultId"`
	// The list of status of ecs invocation in a single instance. Valid values: `Pending`, `Running`, `Success`, `Failed`, `Timeout`.
	InvocationResultStatus string `pulumi:"invocationResultStatus"`
	// The base64 encoded output message of the ecs invocation.
	Output string `pulumi:"output"`
	// The start time of the ecs invocation in the instance.
	StartTime string `pulumi:"startTime"`
	// The username of the ecs command.
	Username string `pulumi:"username"`
}

type InvocationResultsInvocationResultArgs added in v0.0.18

type InvocationResultsInvocationResultArgs struct {
	// The id of ecs command.
	CommandId pulumi.StringInput `pulumi:"commandId"`
	// The end time of the ecs invocation in the instance.
	EndTime pulumi.StringInput `pulumi:"endTime"`
	// The error code of the ecs invocation.
	ErrorCode pulumi.StringInput `pulumi:"errorCode"`
	// The error message of the ecs invocation.
	ErrorMessage pulumi.StringInput `pulumi:"errorMessage"`
	// The exit code of the ecs command.
	ExitCode pulumi.IntInput `pulumi:"exitCode"`
	// The id of the ecs invocation result.
	Id pulumi.StringInput `pulumi:"id"`
	// The id of ecs instance.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// The id of ecs invocation.
	InvocationId pulumi.StringInput `pulumi:"invocationId"`
	// The id of the ecs invocation result.
	InvocationResultId pulumi.StringInput `pulumi:"invocationResultId"`
	// The list of status of ecs invocation in a single instance. Valid values: `Pending`, `Running`, `Success`, `Failed`, `Timeout`.
	InvocationResultStatus pulumi.StringInput `pulumi:"invocationResultStatus"`
	// The base64 encoded output message of the ecs invocation.
	Output pulumi.StringInput `pulumi:"output"`
	// The start time of the ecs invocation in the instance.
	StartTime pulumi.StringInput `pulumi:"startTime"`
	// The username of the ecs command.
	Username pulumi.StringInput `pulumi:"username"`
}

func (InvocationResultsInvocationResultArgs) ElementType added in v0.0.18

func (InvocationResultsInvocationResultArgs) ToInvocationResultsInvocationResultOutput added in v0.0.18

func (i InvocationResultsInvocationResultArgs) ToInvocationResultsInvocationResultOutput() InvocationResultsInvocationResultOutput

func (InvocationResultsInvocationResultArgs) ToInvocationResultsInvocationResultOutputWithContext added in v0.0.18

func (i InvocationResultsInvocationResultArgs) ToInvocationResultsInvocationResultOutputWithContext(ctx context.Context) InvocationResultsInvocationResultOutput

type InvocationResultsInvocationResultArray added in v0.0.18

type InvocationResultsInvocationResultArray []InvocationResultsInvocationResultInput

func (InvocationResultsInvocationResultArray) ElementType added in v0.0.18

func (InvocationResultsInvocationResultArray) ToInvocationResultsInvocationResultArrayOutput added in v0.0.18

func (i InvocationResultsInvocationResultArray) ToInvocationResultsInvocationResultArrayOutput() InvocationResultsInvocationResultArrayOutput

func (InvocationResultsInvocationResultArray) ToInvocationResultsInvocationResultArrayOutputWithContext added in v0.0.18

func (i InvocationResultsInvocationResultArray) ToInvocationResultsInvocationResultArrayOutputWithContext(ctx context.Context) InvocationResultsInvocationResultArrayOutput

type InvocationResultsInvocationResultArrayInput added in v0.0.18

type InvocationResultsInvocationResultArrayInput interface {
	pulumi.Input

	ToInvocationResultsInvocationResultArrayOutput() InvocationResultsInvocationResultArrayOutput
	ToInvocationResultsInvocationResultArrayOutputWithContext(context.Context) InvocationResultsInvocationResultArrayOutput
}

InvocationResultsInvocationResultArrayInput is an input type that accepts InvocationResultsInvocationResultArray and InvocationResultsInvocationResultArrayOutput values. You can construct a concrete instance of `InvocationResultsInvocationResultArrayInput` via:

InvocationResultsInvocationResultArray{ InvocationResultsInvocationResultArgs{...} }

type InvocationResultsInvocationResultArrayOutput added in v0.0.18

type InvocationResultsInvocationResultArrayOutput struct{ *pulumi.OutputState }

func (InvocationResultsInvocationResultArrayOutput) ElementType added in v0.0.18

func (InvocationResultsInvocationResultArrayOutput) Index added in v0.0.18

func (InvocationResultsInvocationResultArrayOutput) ToInvocationResultsInvocationResultArrayOutput added in v0.0.18

func (o InvocationResultsInvocationResultArrayOutput) ToInvocationResultsInvocationResultArrayOutput() InvocationResultsInvocationResultArrayOutput

func (InvocationResultsInvocationResultArrayOutput) ToInvocationResultsInvocationResultArrayOutputWithContext added in v0.0.18

func (o InvocationResultsInvocationResultArrayOutput) ToInvocationResultsInvocationResultArrayOutputWithContext(ctx context.Context) InvocationResultsInvocationResultArrayOutput

type InvocationResultsInvocationResultInput added in v0.0.18

type InvocationResultsInvocationResultInput interface {
	pulumi.Input

	ToInvocationResultsInvocationResultOutput() InvocationResultsInvocationResultOutput
	ToInvocationResultsInvocationResultOutputWithContext(context.Context) InvocationResultsInvocationResultOutput
}

InvocationResultsInvocationResultInput is an input type that accepts InvocationResultsInvocationResultArgs and InvocationResultsInvocationResultOutput values. You can construct a concrete instance of `InvocationResultsInvocationResultInput` via:

InvocationResultsInvocationResultArgs{...}

type InvocationResultsInvocationResultOutput added in v0.0.18

type InvocationResultsInvocationResultOutput struct{ *pulumi.OutputState }

func (InvocationResultsInvocationResultOutput) CommandId added in v0.0.18

The id of ecs command.

func (InvocationResultsInvocationResultOutput) ElementType added in v0.0.18

func (InvocationResultsInvocationResultOutput) EndTime added in v0.0.18

The end time of the ecs invocation in the instance.

func (InvocationResultsInvocationResultOutput) ErrorCode added in v0.0.18

The error code of the ecs invocation.

func (InvocationResultsInvocationResultOutput) ErrorMessage added in v0.0.18

The error message of the ecs invocation.

func (InvocationResultsInvocationResultOutput) ExitCode added in v0.0.18

The exit code of the ecs command.

func (InvocationResultsInvocationResultOutput) Id added in v0.0.18

The id of the ecs invocation result.

func (InvocationResultsInvocationResultOutput) InstanceId added in v0.0.18

The id of ecs instance.

func (InvocationResultsInvocationResultOutput) InvocationId added in v0.0.18

The id of ecs invocation.

func (InvocationResultsInvocationResultOutput) InvocationResultId added in v0.0.18

The id of the ecs invocation result.

func (InvocationResultsInvocationResultOutput) InvocationResultStatus added in v0.0.18

func (o InvocationResultsInvocationResultOutput) InvocationResultStatus() pulumi.StringOutput

The list of status of ecs invocation in a single instance. Valid values: `Pending`, `Running`, `Success`, `Failed`, `Timeout`.

func (InvocationResultsInvocationResultOutput) Output added in v0.0.18

The base64 encoded output message of the ecs invocation.

func (InvocationResultsInvocationResultOutput) StartTime added in v0.0.18

The start time of the ecs invocation in the instance.

func (InvocationResultsInvocationResultOutput) ToInvocationResultsInvocationResultOutput added in v0.0.18

func (o InvocationResultsInvocationResultOutput) ToInvocationResultsInvocationResultOutput() InvocationResultsInvocationResultOutput

func (InvocationResultsInvocationResultOutput) ToInvocationResultsInvocationResultOutputWithContext added in v0.0.18

func (o InvocationResultsInvocationResultOutput) ToInvocationResultsInvocationResultOutputWithContext(ctx context.Context) InvocationResultsInvocationResultOutput

func (InvocationResultsInvocationResultOutput) Username added in v0.0.18

The username of the ecs command.

type InvocationResultsOutputArgs added in v0.0.18

type InvocationResultsOutputArgs struct {
	// The id of ecs command.
	CommandId pulumi.StringPtrInput `pulumi:"commandId"`
	// The id of ecs instance.
	InstanceId pulumi.StringPtrInput `pulumi:"instanceId"`
	// The id of ecs invocation.
	InvocationId pulumi.StringInput `pulumi:"invocationId"`
	// The list of status of ecs invocation in a single instance. Valid values: `Pending`, `Running`, `Success`, `Failed`, `Timeout`.
	InvocationResultStatuses pulumi.StringArrayInput `pulumi:"invocationResultStatuses"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking InvocationResults.

func (InvocationResultsOutputArgs) ElementType added in v0.0.18

type InvocationResultsResult added in v0.0.18

type InvocationResultsResult struct {
	// The id of the ecs command.
	CommandId *string `pulumi:"commandId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The id of the ecs instance.
	InstanceId *string `pulumi:"instanceId"`
	// The id of the ecs invocation.
	InvocationId string `pulumi:"invocationId"`
	// The status of ecs invocation in a single instance.
	InvocationResultStatuses []string `pulumi:"invocationResultStatuses"`
	// The collection of query.
	InvocationResults []InvocationResultsInvocationResult `pulumi:"invocationResults"`
	OutputFile        *string                             `pulumi:"outputFile"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by InvocationResults.

func InvocationResults added in v0.0.18

func InvocationResults(ctx *pulumi.Context, args *InvocationResultsArgs, opts ...pulumi.InvokeOption) (*InvocationResultsResult, error)

Use this data source to query detailed information of ecs invocation results ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.InvocationResults(ctx, &ecs.InvocationResultsArgs{
			InvocationId: "ivk-ych9y4vujvl8j01c****",
			InvocationResultStatuses: []string{
				"Success",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type InvocationResultsResultOutput added in v0.0.18

type InvocationResultsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by InvocationResults.

func InvocationResultsOutput added in v0.0.18

func (InvocationResultsResultOutput) CommandId added in v0.0.18

The id of the ecs command.

func (InvocationResultsResultOutput) ElementType added in v0.0.18

func (InvocationResultsResultOutput) Id added in v0.0.18

The provider-assigned unique ID for this managed resource.

func (InvocationResultsResultOutput) InstanceId added in v0.0.18

The id of the ecs instance.

func (InvocationResultsResultOutput) InvocationId added in v0.0.18

The id of the ecs invocation.

func (InvocationResultsResultOutput) InvocationResultStatuses added in v0.0.18

func (o InvocationResultsResultOutput) InvocationResultStatuses() pulumi.StringArrayOutput

The status of ecs invocation in a single instance.

func (InvocationResultsResultOutput) InvocationResults added in v0.0.18

The collection of query.

func (InvocationResultsResultOutput) OutputFile added in v0.0.18

func (InvocationResultsResultOutput) ToInvocationResultsResultOutput added in v0.0.18

func (o InvocationResultsResultOutput) ToInvocationResultsResultOutput() InvocationResultsResultOutput

func (InvocationResultsResultOutput) ToInvocationResultsResultOutputWithContext added in v0.0.18

func (o InvocationResultsResultOutput) ToInvocationResultsResultOutputWithContext(ctx context.Context) InvocationResultsResultOutput

func (InvocationResultsResultOutput) TotalCount added in v0.0.18

The total count of query.

type InvocationState added in v0.0.18

type InvocationState struct {
	// The command id of the ecs invocation.
	CommandId pulumi.StringPtrInput
	// The end time of the ecs invocation.
	EndTime pulumi.StringPtrInput
	// The frequency of the ecs invocation. This field is valid and required when the value of the repeatMode field is `Rate`.
	Frequency pulumi.StringPtrInput
	// The list of ECS instance IDs.
	InstanceIds pulumi.StringArrayInput
	// The description of the ecs invocation.
	InvocationDescription pulumi.StringPtrInput
	// The name of the ecs invocation.
	InvocationName pulumi.StringPtrInput
	// The status of the ecs invocation.
	InvocationStatus pulumi.StringPtrInput
	// The launch time of the ecs invocation. RFC3339 format. This field is valid and required when the value of the repeatMode field is `Rate` or `Fixed`.
	LaunchTime pulumi.StringPtrInput
	// The recurrence end time of the ecs invocation. RFC3339 format. This field is valid and required when the value of the repeatMode field is `Rate`.
	RecurrenceEndTime pulumi.StringPtrInput
	// The repeat mode of the ecs invocation. Valid values: `Once`, `Rate`, `Fixed`.
	RepeatMode pulumi.StringPtrInput
	// The start time of the ecs invocation.
	StartTime pulumi.StringPtrInput
	// The timeout of the ecs command. Valid value range: 10-600. When this field is not specified, use the value of the field with the same name in ecs command as the default value.
	Timeout pulumi.IntPtrInput
	// The username of the ecs command. When this field is not specified, use the value of the field with the same name in ecs command as the default value.
	Username pulumi.StringPtrInput
	// The working directory of the ecs invocation. When this field is not specified, use the value of the field with the same name in ecs command as the default value.
	WorkingDir pulumi.StringPtrInput
}

func (InvocationState) ElementType added in v0.0.18

func (InvocationState) ElementType() reflect.Type

type InvocationsArgs added in v0.0.18

type InvocationsArgs struct {
	// The id of ecs command.
	CommandId *string `pulumi:"commandId"`
	// The name of ecs command. This field support fuzzy query.
	CommandName *string `pulumi:"commandName"`
	// The type of ecs command. Valid values: `Shell`.
	CommandType *string `pulumi:"commandType"`
	// The id of ecs invocation.
	InvocationId *string `pulumi:"invocationId"`
	// The name of ecs invocation. This field support fuzzy query.
	InvocationName *string `pulumi:"invocationName"`
	// The list of status of ecs invocation. Valid values: `Pending`, `Scheduled`, `Running`, `Success`, `Failed`, `Stopped`, `PartialFailed`, `Finished`.
	InvocationStatuses []string `pulumi:"invocationStatuses"`
	// A Name Regex of Resource.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
	// The repeat mode of ecs invocation. Valid values: `Once`, `Rate`, `Fixed`.
	RepeatMode *string `pulumi:"repeatMode"`
}

A collection of arguments for invoking Invocations.

type InvocationsInvocation added in v0.0.18

type InvocationsInvocation struct {
	// The base64 encoded content of the ecs command.
	CommandContent string `pulumi:"commandContent"`
	// The description of the ecs command.
	CommandDescription string `pulumi:"commandDescription"`
	// The id of ecs command.
	CommandId string `pulumi:"commandId"`
	// The name of ecs command. This field support fuzzy query.
	CommandName string `pulumi:"commandName"`
	// The provider of the ecs command.
	CommandProvider string `pulumi:"commandProvider"`
	// The type of ecs command. Valid values: `Shell`.
	CommandType string `pulumi:"commandType"`
	// The end time of the ecs invocation.
	EndTime string `pulumi:"endTime"`
	// The frequency of the ecs invocation.
	Frequency string `pulumi:"frequency"`
	// The id of the ecs invocation.
	Id string `pulumi:"id"`
	// The list of ECS instance IDs.
	InstanceIds []string `pulumi:"instanceIds"`
	// The instance number of the ecs invocation.
	InstanceNumber int `pulumi:"instanceNumber"`
	// The description of the ecs invocation.
	InvocationDescription string `pulumi:"invocationDescription"`
	// The id of ecs invocation.
	InvocationId string `pulumi:"invocationId"`
	// The name of ecs invocation. This field support fuzzy query.
	InvocationName string `pulumi:"invocationName"`
	// The list of status of ecs invocation. Valid values: `Pending`, `Scheduled`, `Running`, `Success`, `Failed`, `Stopped`, `PartialFailed`, `Finished`.
	InvocationStatus string `pulumi:"invocationStatus"`
	// The launch time of the ecs invocation.
	LaunchTime string `pulumi:"launchTime"`
	// The recurrence end time of the ecs invocation.
	RecurrenceEndTime string `pulumi:"recurrenceEndTime"`
	// The repeat mode of ecs invocation. Valid values: `Once`, `Rate`, `Fixed`.
	RepeatMode string `pulumi:"repeatMode"`
	// The start time of the ecs invocation.
	StartTime string `pulumi:"startTime"`
	// The timeout of the ecs command.
	Timeout int `pulumi:"timeout"`
	// The username of the ecs command.
	Username string `pulumi:"username"`
	// The working directory of the ecs command.
	WorkingDir string `pulumi:"workingDir"`
}

type InvocationsInvocationArgs added in v0.0.18

type InvocationsInvocationArgs struct {
	// The base64 encoded content of the ecs command.
	CommandContent pulumi.StringInput `pulumi:"commandContent"`
	// The description of the ecs command.
	CommandDescription pulumi.StringInput `pulumi:"commandDescription"`
	// The id of ecs command.
	CommandId pulumi.StringInput `pulumi:"commandId"`
	// The name of ecs command. This field support fuzzy query.
	CommandName pulumi.StringInput `pulumi:"commandName"`
	// The provider of the ecs command.
	CommandProvider pulumi.StringInput `pulumi:"commandProvider"`
	// The type of ecs command. Valid values: `Shell`.
	CommandType pulumi.StringInput `pulumi:"commandType"`
	// The end time of the ecs invocation.
	EndTime pulumi.StringInput `pulumi:"endTime"`
	// The frequency of the ecs invocation.
	Frequency pulumi.StringInput `pulumi:"frequency"`
	// The id of the ecs invocation.
	Id pulumi.StringInput `pulumi:"id"`
	// The list of ECS instance IDs.
	InstanceIds pulumi.StringArrayInput `pulumi:"instanceIds"`
	// The instance number of the ecs invocation.
	InstanceNumber pulumi.IntInput `pulumi:"instanceNumber"`
	// The description of the ecs invocation.
	InvocationDescription pulumi.StringInput `pulumi:"invocationDescription"`
	// The id of ecs invocation.
	InvocationId pulumi.StringInput `pulumi:"invocationId"`
	// The name of ecs invocation. This field support fuzzy query.
	InvocationName pulumi.StringInput `pulumi:"invocationName"`
	// The list of status of ecs invocation. Valid values: `Pending`, `Scheduled`, `Running`, `Success`, `Failed`, `Stopped`, `PartialFailed`, `Finished`.
	InvocationStatus pulumi.StringInput `pulumi:"invocationStatus"`
	// The launch time of the ecs invocation.
	LaunchTime pulumi.StringInput `pulumi:"launchTime"`
	// The recurrence end time of the ecs invocation.
	RecurrenceEndTime pulumi.StringInput `pulumi:"recurrenceEndTime"`
	// The repeat mode of ecs invocation. Valid values: `Once`, `Rate`, `Fixed`.
	RepeatMode pulumi.StringInput `pulumi:"repeatMode"`
	// The start time of the ecs invocation.
	StartTime pulumi.StringInput `pulumi:"startTime"`
	// The timeout of the ecs command.
	Timeout pulumi.IntInput `pulumi:"timeout"`
	// The username of the ecs command.
	Username pulumi.StringInput `pulumi:"username"`
	// The working directory of the ecs command.
	WorkingDir pulumi.StringInput `pulumi:"workingDir"`
}

func (InvocationsInvocationArgs) ElementType added in v0.0.18

func (InvocationsInvocationArgs) ElementType() reflect.Type

func (InvocationsInvocationArgs) ToInvocationsInvocationOutput added in v0.0.18

func (i InvocationsInvocationArgs) ToInvocationsInvocationOutput() InvocationsInvocationOutput

func (InvocationsInvocationArgs) ToInvocationsInvocationOutputWithContext added in v0.0.18

func (i InvocationsInvocationArgs) ToInvocationsInvocationOutputWithContext(ctx context.Context) InvocationsInvocationOutput

type InvocationsInvocationArray added in v0.0.18

type InvocationsInvocationArray []InvocationsInvocationInput

func (InvocationsInvocationArray) ElementType added in v0.0.18

func (InvocationsInvocationArray) ElementType() reflect.Type

func (InvocationsInvocationArray) ToInvocationsInvocationArrayOutput added in v0.0.18

func (i InvocationsInvocationArray) ToInvocationsInvocationArrayOutput() InvocationsInvocationArrayOutput

func (InvocationsInvocationArray) ToInvocationsInvocationArrayOutputWithContext added in v0.0.18

func (i InvocationsInvocationArray) ToInvocationsInvocationArrayOutputWithContext(ctx context.Context) InvocationsInvocationArrayOutput

type InvocationsInvocationArrayInput added in v0.0.18

type InvocationsInvocationArrayInput interface {
	pulumi.Input

	ToInvocationsInvocationArrayOutput() InvocationsInvocationArrayOutput
	ToInvocationsInvocationArrayOutputWithContext(context.Context) InvocationsInvocationArrayOutput
}

InvocationsInvocationArrayInput is an input type that accepts InvocationsInvocationArray and InvocationsInvocationArrayOutput values. You can construct a concrete instance of `InvocationsInvocationArrayInput` via:

InvocationsInvocationArray{ InvocationsInvocationArgs{...} }

type InvocationsInvocationArrayOutput added in v0.0.18

type InvocationsInvocationArrayOutput struct{ *pulumi.OutputState }

func (InvocationsInvocationArrayOutput) ElementType added in v0.0.18

func (InvocationsInvocationArrayOutput) Index added in v0.0.18

func (InvocationsInvocationArrayOutput) ToInvocationsInvocationArrayOutput added in v0.0.18

func (o InvocationsInvocationArrayOutput) ToInvocationsInvocationArrayOutput() InvocationsInvocationArrayOutput

func (InvocationsInvocationArrayOutput) ToInvocationsInvocationArrayOutputWithContext added in v0.0.18

func (o InvocationsInvocationArrayOutput) ToInvocationsInvocationArrayOutputWithContext(ctx context.Context) InvocationsInvocationArrayOutput

type InvocationsInvocationInput added in v0.0.18

type InvocationsInvocationInput interface {
	pulumi.Input

	ToInvocationsInvocationOutput() InvocationsInvocationOutput
	ToInvocationsInvocationOutputWithContext(context.Context) InvocationsInvocationOutput
}

InvocationsInvocationInput is an input type that accepts InvocationsInvocationArgs and InvocationsInvocationOutput values. You can construct a concrete instance of `InvocationsInvocationInput` via:

InvocationsInvocationArgs{...}

type InvocationsInvocationOutput added in v0.0.18

type InvocationsInvocationOutput struct{ *pulumi.OutputState }

func (InvocationsInvocationOutput) CommandContent added in v0.0.18

func (o InvocationsInvocationOutput) CommandContent() pulumi.StringOutput

The base64 encoded content of the ecs command.

func (InvocationsInvocationOutput) CommandDescription added in v0.0.18

func (o InvocationsInvocationOutput) CommandDescription() pulumi.StringOutput

The description of the ecs command.

func (InvocationsInvocationOutput) CommandId added in v0.0.18

The id of ecs command.

func (InvocationsInvocationOutput) CommandName added in v0.0.18

The name of ecs command. This field support fuzzy query.

func (InvocationsInvocationOutput) CommandProvider added in v0.0.18

func (o InvocationsInvocationOutput) CommandProvider() pulumi.StringOutput

The provider of the ecs command.

func (InvocationsInvocationOutput) CommandType added in v0.0.18

The type of ecs command. Valid values: `Shell`.

func (InvocationsInvocationOutput) ElementType added in v0.0.18

func (InvocationsInvocationOutput) EndTime added in v0.0.18

The end time of the ecs invocation.

func (InvocationsInvocationOutput) Frequency added in v0.0.18

The frequency of the ecs invocation.

func (InvocationsInvocationOutput) Id added in v0.0.18

The id of the ecs invocation.

func (InvocationsInvocationOutput) InstanceIds added in v0.0.18

The list of ECS instance IDs.

func (InvocationsInvocationOutput) InstanceNumber added in v0.0.18

func (o InvocationsInvocationOutput) InstanceNumber() pulumi.IntOutput

The instance number of the ecs invocation.

func (InvocationsInvocationOutput) InvocationDescription added in v0.0.18

func (o InvocationsInvocationOutput) InvocationDescription() pulumi.StringOutput

The description of the ecs invocation.

func (InvocationsInvocationOutput) InvocationId added in v0.0.18

The id of ecs invocation.

func (InvocationsInvocationOutput) InvocationName added in v0.0.18

func (o InvocationsInvocationOutput) InvocationName() pulumi.StringOutput

The name of ecs invocation. This field support fuzzy query.

func (InvocationsInvocationOutput) InvocationStatus added in v0.0.18

func (o InvocationsInvocationOutput) InvocationStatus() pulumi.StringOutput

The list of status of ecs invocation. Valid values: `Pending`, `Scheduled`, `Running`, `Success`, `Failed`, `Stopped`, `PartialFailed`, `Finished`.

func (InvocationsInvocationOutput) LaunchTime added in v0.0.18

The launch time of the ecs invocation.

func (InvocationsInvocationOutput) RecurrenceEndTime added in v0.0.18

func (o InvocationsInvocationOutput) RecurrenceEndTime() pulumi.StringOutput

The recurrence end time of the ecs invocation.

func (InvocationsInvocationOutput) RepeatMode added in v0.0.18

The repeat mode of ecs invocation. Valid values: `Once`, `Rate`, `Fixed`.

func (InvocationsInvocationOutput) StartTime added in v0.0.18

The start time of the ecs invocation.

func (InvocationsInvocationOutput) Timeout added in v0.0.18

The timeout of the ecs command.

func (InvocationsInvocationOutput) ToInvocationsInvocationOutput added in v0.0.18

func (o InvocationsInvocationOutput) ToInvocationsInvocationOutput() InvocationsInvocationOutput

func (InvocationsInvocationOutput) ToInvocationsInvocationOutputWithContext added in v0.0.18

func (o InvocationsInvocationOutput) ToInvocationsInvocationOutputWithContext(ctx context.Context) InvocationsInvocationOutput

func (InvocationsInvocationOutput) Username added in v0.0.18

The username of the ecs command.

func (InvocationsInvocationOutput) WorkingDir added in v0.0.18

The working directory of the ecs command.

type InvocationsOutputArgs added in v0.0.18

type InvocationsOutputArgs struct {
	// The id of ecs command.
	CommandId pulumi.StringPtrInput `pulumi:"commandId"`
	// The name of ecs command. This field support fuzzy query.
	CommandName pulumi.StringPtrInput `pulumi:"commandName"`
	// The type of ecs command. Valid values: `Shell`.
	CommandType pulumi.StringPtrInput `pulumi:"commandType"`
	// The id of ecs invocation.
	InvocationId pulumi.StringPtrInput `pulumi:"invocationId"`
	// The name of ecs invocation. This field support fuzzy query.
	InvocationName pulumi.StringPtrInput `pulumi:"invocationName"`
	// The list of status of ecs invocation. Valid values: `Pending`, `Scheduled`, `Running`, `Success`, `Failed`, `Stopped`, `PartialFailed`, `Finished`.
	InvocationStatuses pulumi.StringArrayInput `pulumi:"invocationStatuses"`
	// A Name Regex of Resource.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The repeat mode of ecs invocation. Valid values: `Once`, `Rate`, `Fixed`.
	RepeatMode pulumi.StringPtrInput `pulumi:"repeatMode"`
}

A collection of arguments for invoking Invocations.

func (InvocationsOutputArgs) ElementType added in v0.0.18

func (InvocationsOutputArgs) ElementType() reflect.Type

type InvocationsResult added in v0.0.18

type InvocationsResult struct {
	// The id of the ecs command.
	CommandId *string `pulumi:"commandId"`
	// The name of the ecs command.
	CommandName *string `pulumi:"commandName"`
	// The type of the ecs command.
	CommandType *string `pulumi:"commandType"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The id of the ecs invocation.
	InvocationId *string `pulumi:"invocationId"`
	// The name of the ecs invocation.
	InvocationName *string `pulumi:"invocationName"`
	// The status of the ecs invocation.
	InvocationStatuses []string `pulumi:"invocationStatuses"`
	// The collection of query.
	Invocations []InvocationsInvocation `pulumi:"invocations"`
	NameRegex   *string                 `pulumi:"nameRegex"`
	OutputFile  *string                 `pulumi:"outputFile"`
	// The repeat mode of the ecs invocation.
	RepeatMode *string `pulumi:"repeatMode"`
	// The total count of query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by Invocations.

func Invocations added in v0.0.18

func Invocations(ctx *pulumi.Context, args *InvocationsArgs, opts ...pulumi.InvokeOption) (*InvocationsResult, error)

Use this data source to query detailed information of ecs invocations ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.Invocations(ctx, &ecs.InvocationsArgs{
			InvocationId: pulumi.StringRef("ivk-ych9y4vujvl8j01c****"),
			InvocationStatuses: []string{
				"Success",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type InvocationsResultOutput added in v0.0.18

type InvocationsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Invocations.

func InvocationsOutput added in v0.0.18

func InvocationsOutput(ctx *pulumi.Context, args InvocationsOutputArgs, opts ...pulumi.InvokeOption) InvocationsResultOutput

func (InvocationsResultOutput) CommandId added in v0.0.18

The id of the ecs command.

func (InvocationsResultOutput) CommandName added in v0.0.18

The name of the ecs command.

func (InvocationsResultOutput) CommandType added in v0.0.18

The type of the ecs command.

func (InvocationsResultOutput) ElementType added in v0.0.18

func (InvocationsResultOutput) ElementType() reflect.Type

func (InvocationsResultOutput) Id added in v0.0.18

The provider-assigned unique ID for this managed resource.

func (InvocationsResultOutput) InvocationId added in v0.0.18

The id of the ecs invocation.

func (InvocationsResultOutput) InvocationName added in v0.0.18

func (o InvocationsResultOutput) InvocationName() pulumi.StringPtrOutput

The name of the ecs invocation.

func (InvocationsResultOutput) InvocationStatuses added in v0.0.18

func (o InvocationsResultOutput) InvocationStatuses() pulumi.StringArrayOutput

The status of the ecs invocation.

func (InvocationsResultOutput) Invocations added in v0.0.18

The collection of query.

func (InvocationsResultOutput) NameRegex added in v0.0.18

func (InvocationsResultOutput) OutputFile added in v0.0.18

func (InvocationsResultOutput) RepeatMode added in v0.0.18

The repeat mode of the ecs invocation.

func (InvocationsResultOutput) ToInvocationsResultOutput added in v0.0.18

func (o InvocationsResultOutput) ToInvocationsResultOutput() InvocationsResultOutput

func (InvocationsResultOutput) ToInvocationsResultOutputWithContext added in v0.0.18

func (o InvocationsResultOutput) ToInvocationsResultOutputWithContext(ctx context.Context) InvocationsResultOutput

func (InvocationsResultOutput) TotalCount added in v0.0.18

func (o InvocationsResultOutput) TotalCount() pulumi.IntOutput

The total count of query.

type KeyPair

type KeyPair struct {
	pulumi.CustomResourceState

	// The description of key pair.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The finger print info.
	FingerPrint pulumi.StringOutput `pulumi:"fingerPrint"`
	// Target file to save private key. It is recommended that the value not be empty. You only have one chance to download the private key, the volcengine will not save your private key, please keep it safe. In the TF import scenario, this field will not write the private key locally.
	KeyFile pulumi.StringPtrOutput `pulumi:"keyFile"`
	// The id of key pair.
	KeyPairId pulumi.StringOutput `pulumi:"keyPairId"`
	// The name of key pair.
	KeyPairName pulumi.StringOutput `pulumi:"keyPairName"`
	// Public key string.
	PublicKey pulumi.StringPtrOutput `pulumi:"publicKey"`
}

Provides a resource to manage ecs key pair ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.NewKeyPair(ctx, "foo", &ecs.KeyPairArgs{
			Description: pulumi.String("acc-test"),
			KeyPairName: pulumi.String("acc-test-key-name"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ECS key pair can be imported using the id, e.g.

```sh

$ pulumi import volcengine:ecs/keyPair:KeyPair default kp-mizl7m1kqccg5smt1bdpijuj

```

func GetKeyPair

func GetKeyPair(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KeyPairState, opts ...pulumi.ResourceOption) (*KeyPair, error)

GetKeyPair gets an existing KeyPair 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 NewKeyPair

func NewKeyPair(ctx *pulumi.Context,
	name string, args *KeyPairArgs, opts ...pulumi.ResourceOption) (*KeyPair, error)

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

func (*KeyPair) ElementType

func (*KeyPair) ElementType() reflect.Type

func (*KeyPair) ToKeyPairOutput

func (i *KeyPair) ToKeyPairOutput() KeyPairOutput

func (*KeyPair) ToKeyPairOutputWithContext

func (i *KeyPair) ToKeyPairOutputWithContext(ctx context.Context) KeyPairOutput

type KeyPairArgs

type KeyPairArgs struct {
	// The description of key pair.
	Description pulumi.StringPtrInput
	// Target file to save private key. It is recommended that the value not be empty. You only have one chance to download the private key, the volcengine will not save your private key, please keep it safe. In the TF import scenario, this field will not write the private key locally.
	KeyFile pulumi.StringPtrInput
	// The name of key pair.
	KeyPairName pulumi.StringInput
	// Public key string.
	PublicKey pulumi.StringPtrInput
}

The set of arguments for constructing a KeyPair resource.

func (KeyPairArgs) ElementType

func (KeyPairArgs) ElementType() reflect.Type

type KeyPairArray

type KeyPairArray []KeyPairInput

func (KeyPairArray) ElementType

func (KeyPairArray) ElementType() reflect.Type

func (KeyPairArray) ToKeyPairArrayOutput

func (i KeyPairArray) ToKeyPairArrayOutput() KeyPairArrayOutput

func (KeyPairArray) ToKeyPairArrayOutputWithContext

func (i KeyPairArray) ToKeyPairArrayOutputWithContext(ctx context.Context) KeyPairArrayOutput

type KeyPairArrayInput

type KeyPairArrayInput interface {
	pulumi.Input

	ToKeyPairArrayOutput() KeyPairArrayOutput
	ToKeyPairArrayOutputWithContext(context.Context) KeyPairArrayOutput
}

KeyPairArrayInput is an input type that accepts KeyPairArray and KeyPairArrayOutput values. You can construct a concrete instance of `KeyPairArrayInput` via:

KeyPairArray{ KeyPairArgs{...} }

type KeyPairArrayOutput

type KeyPairArrayOutput struct{ *pulumi.OutputState }

func (KeyPairArrayOutput) ElementType

func (KeyPairArrayOutput) ElementType() reflect.Type

func (KeyPairArrayOutput) Index

func (KeyPairArrayOutput) ToKeyPairArrayOutput

func (o KeyPairArrayOutput) ToKeyPairArrayOutput() KeyPairArrayOutput

func (KeyPairArrayOutput) ToKeyPairArrayOutputWithContext

func (o KeyPairArrayOutput) ToKeyPairArrayOutputWithContext(ctx context.Context) KeyPairArrayOutput

type KeyPairAssociate

type KeyPairAssociate struct {
	pulumi.CustomResourceState

	// The ID of ECS Instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The ID of ECS KeyPair Associate.
	KeyPairId pulumi.StringOutput `pulumi:"keyPairId"`
}

Provides a resource to manage ecs key pair associate ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooKeyPair, err := ecs.NewKeyPair(ctx, "fooKeyPair", &ecs.KeyPairArgs{
			KeyPairName: pulumi.String("acc-test-key-name"),
			Description: pulumi.String("acc-test"),
		})
		if err != nil {
			return err
		}
		fooZones, err := ecs.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		fooImages, err := ecs.Images(ctx, &ecs.ImagesArgs{
			OsType:         pulumi.StringRef("Linux"),
			Visibility:     pulumi.StringRef("public"),
			InstanceTypeId: pulumi.StringRef("ecs.g1.large"),
		}, nil)
		if err != nil {
			return err
		}
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     *pulumi.String(fooZones.Zones[0].Id),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooSecurityGroup, err := vpc.NewSecurityGroup(ctx, "fooSecurityGroup", &vpc.SecurityGroupArgs{
			VpcId:             fooVpc.ID(),
			SecurityGroupName: pulumi.String("acc-test-security-group"),
		})
		if err != nil {
			return err
		}
		fooInstance, err := ecs.NewInstance(ctx, "fooInstance", &ecs.InstanceArgs{
			ImageId:            *pulumi.String(fooImages.Images[0].ImageId),
			InstanceType:       pulumi.String("ecs.g1.large"),
			InstanceName:       pulumi.String("acc-test-ecs-name"),
			Password:           pulumi.String("your password"),
			InstanceChargeType: pulumi.String("PostPaid"),
			SystemVolumeType:   pulumi.String("ESSD_PL0"),
			SystemVolumeSize:   pulumi.Int(40),
			SubnetId:           fooSubnet.ID(),
			SecurityGroupIds: pulumi.StringArray{
				fooSecurityGroup.ID(),
			},
		})
		if err != nil {
			return err
		}
		_, err = ecs.NewKeyPairAssociate(ctx, "fooKeyPairAssociate", &ecs.KeyPairAssociateArgs{
			InstanceId: fooInstance.ID(),
			KeyPairId:  fooKeyPair.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ECS key pair associate can be imported using the id, e.g. After binding the key pair, the instance needs to be restarted for the key pair to take effect. After the key pair is bound, the password login method will automatically become invalid. If your instance has been set for password login, after the key pair is bound, you will no longer be able to use the password login method.

```sh

$ pulumi import volcengine:ecs/keyPairAssociate:KeyPairAssociate default kp-ybti5tkpkv2udbfolrft:i-mizl7m1kqccg5smt1bdpijuj

```

func GetKeyPairAssociate

func GetKeyPairAssociate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KeyPairAssociateState, opts ...pulumi.ResourceOption) (*KeyPairAssociate, error)

GetKeyPairAssociate gets an existing KeyPairAssociate 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 NewKeyPairAssociate

func NewKeyPairAssociate(ctx *pulumi.Context,
	name string, args *KeyPairAssociateArgs, opts ...pulumi.ResourceOption) (*KeyPairAssociate, error)

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

func (*KeyPairAssociate) ElementType

func (*KeyPairAssociate) ElementType() reflect.Type

func (*KeyPairAssociate) ToKeyPairAssociateOutput

func (i *KeyPairAssociate) ToKeyPairAssociateOutput() KeyPairAssociateOutput

func (*KeyPairAssociate) ToKeyPairAssociateOutputWithContext

func (i *KeyPairAssociate) ToKeyPairAssociateOutputWithContext(ctx context.Context) KeyPairAssociateOutput

type KeyPairAssociateArgs

type KeyPairAssociateArgs struct {
	// The ID of ECS Instance.
	InstanceId pulumi.StringInput
	// The ID of ECS KeyPair Associate.
	KeyPairId pulumi.StringInput
}

The set of arguments for constructing a KeyPairAssociate resource.

func (KeyPairAssociateArgs) ElementType

func (KeyPairAssociateArgs) ElementType() reflect.Type

type KeyPairAssociateArray

type KeyPairAssociateArray []KeyPairAssociateInput

func (KeyPairAssociateArray) ElementType

func (KeyPairAssociateArray) ElementType() reflect.Type

func (KeyPairAssociateArray) ToKeyPairAssociateArrayOutput

func (i KeyPairAssociateArray) ToKeyPairAssociateArrayOutput() KeyPairAssociateArrayOutput

func (KeyPairAssociateArray) ToKeyPairAssociateArrayOutputWithContext

func (i KeyPairAssociateArray) ToKeyPairAssociateArrayOutputWithContext(ctx context.Context) KeyPairAssociateArrayOutput

type KeyPairAssociateArrayInput

type KeyPairAssociateArrayInput interface {
	pulumi.Input

	ToKeyPairAssociateArrayOutput() KeyPairAssociateArrayOutput
	ToKeyPairAssociateArrayOutputWithContext(context.Context) KeyPairAssociateArrayOutput
}

KeyPairAssociateArrayInput is an input type that accepts KeyPairAssociateArray and KeyPairAssociateArrayOutput values. You can construct a concrete instance of `KeyPairAssociateArrayInput` via:

KeyPairAssociateArray{ KeyPairAssociateArgs{...} }

type KeyPairAssociateArrayOutput

type KeyPairAssociateArrayOutput struct{ *pulumi.OutputState }

func (KeyPairAssociateArrayOutput) ElementType

func (KeyPairAssociateArrayOutput) Index

func (KeyPairAssociateArrayOutput) ToKeyPairAssociateArrayOutput

func (o KeyPairAssociateArrayOutput) ToKeyPairAssociateArrayOutput() KeyPairAssociateArrayOutput

func (KeyPairAssociateArrayOutput) ToKeyPairAssociateArrayOutputWithContext

func (o KeyPairAssociateArrayOutput) ToKeyPairAssociateArrayOutputWithContext(ctx context.Context) KeyPairAssociateArrayOutput

type KeyPairAssociateInput

type KeyPairAssociateInput interface {
	pulumi.Input

	ToKeyPairAssociateOutput() KeyPairAssociateOutput
	ToKeyPairAssociateOutputWithContext(ctx context.Context) KeyPairAssociateOutput
}

type KeyPairAssociateMap

type KeyPairAssociateMap map[string]KeyPairAssociateInput

func (KeyPairAssociateMap) ElementType

func (KeyPairAssociateMap) ElementType() reflect.Type

func (KeyPairAssociateMap) ToKeyPairAssociateMapOutput

func (i KeyPairAssociateMap) ToKeyPairAssociateMapOutput() KeyPairAssociateMapOutput

func (KeyPairAssociateMap) ToKeyPairAssociateMapOutputWithContext

func (i KeyPairAssociateMap) ToKeyPairAssociateMapOutputWithContext(ctx context.Context) KeyPairAssociateMapOutput

type KeyPairAssociateMapInput

type KeyPairAssociateMapInput interface {
	pulumi.Input

	ToKeyPairAssociateMapOutput() KeyPairAssociateMapOutput
	ToKeyPairAssociateMapOutputWithContext(context.Context) KeyPairAssociateMapOutput
}

KeyPairAssociateMapInput is an input type that accepts KeyPairAssociateMap and KeyPairAssociateMapOutput values. You can construct a concrete instance of `KeyPairAssociateMapInput` via:

KeyPairAssociateMap{ "key": KeyPairAssociateArgs{...} }

type KeyPairAssociateMapOutput

type KeyPairAssociateMapOutput struct{ *pulumi.OutputState }

func (KeyPairAssociateMapOutput) ElementType

func (KeyPairAssociateMapOutput) ElementType() reflect.Type

func (KeyPairAssociateMapOutput) MapIndex

func (KeyPairAssociateMapOutput) ToKeyPairAssociateMapOutput

func (o KeyPairAssociateMapOutput) ToKeyPairAssociateMapOutput() KeyPairAssociateMapOutput

func (KeyPairAssociateMapOutput) ToKeyPairAssociateMapOutputWithContext

func (o KeyPairAssociateMapOutput) ToKeyPairAssociateMapOutputWithContext(ctx context.Context) KeyPairAssociateMapOutput

type KeyPairAssociateOutput

type KeyPairAssociateOutput struct{ *pulumi.OutputState }

func (KeyPairAssociateOutput) ElementType

func (KeyPairAssociateOutput) ElementType() reflect.Type

func (KeyPairAssociateOutput) InstanceId

The ID of ECS Instance.

func (KeyPairAssociateOutput) KeyPairId

The ID of ECS KeyPair Associate.

func (KeyPairAssociateOutput) ToKeyPairAssociateOutput

func (o KeyPairAssociateOutput) ToKeyPairAssociateOutput() KeyPairAssociateOutput

func (KeyPairAssociateOutput) ToKeyPairAssociateOutputWithContext

func (o KeyPairAssociateOutput) ToKeyPairAssociateOutputWithContext(ctx context.Context) KeyPairAssociateOutput

type KeyPairAssociateState

type KeyPairAssociateState struct {
	// The ID of ECS Instance.
	InstanceId pulumi.StringPtrInput
	// The ID of ECS KeyPair Associate.
	KeyPairId pulumi.StringPtrInput
}

func (KeyPairAssociateState) ElementType

func (KeyPairAssociateState) ElementType() reflect.Type

type KeyPairInput

type KeyPairInput interface {
	pulumi.Input

	ToKeyPairOutput() KeyPairOutput
	ToKeyPairOutputWithContext(ctx context.Context) KeyPairOutput
}

type KeyPairMap

type KeyPairMap map[string]KeyPairInput

func (KeyPairMap) ElementType

func (KeyPairMap) ElementType() reflect.Type

func (KeyPairMap) ToKeyPairMapOutput

func (i KeyPairMap) ToKeyPairMapOutput() KeyPairMapOutput

func (KeyPairMap) ToKeyPairMapOutputWithContext

func (i KeyPairMap) ToKeyPairMapOutputWithContext(ctx context.Context) KeyPairMapOutput

type KeyPairMapInput

type KeyPairMapInput interface {
	pulumi.Input

	ToKeyPairMapOutput() KeyPairMapOutput
	ToKeyPairMapOutputWithContext(context.Context) KeyPairMapOutput
}

KeyPairMapInput is an input type that accepts KeyPairMap and KeyPairMapOutput values. You can construct a concrete instance of `KeyPairMapInput` via:

KeyPairMap{ "key": KeyPairArgs{...} }

type KeyPairMapOutput

type KeyPairMapOutput struct{ *pulumi.OutputState }

func (KeyPairMapOutput) ElementType

func (KeyPairMapOutput) ElementType() reflect.Type

func (KeyPairMapOutput) MapIndex

func (KeyPairMapOutput) ToKeyPairMapOutput

func (o KeyPairMapOutput) ToKeyPairMapOutput() KeyPairMapOutput

func (KeyPairMapOutput) ToKeyPairMapOutputWithContext

func (o KeyPairMapOutput) ToKeyPairMapOutputWithContext(ctx context.Context) KeyPairMapOutput

type KeyPairOutput

type KeyPairOutput struct{ *pulumi.OutputState }

func (KeyPairOutput) Description

func (o KeyPairOutput) Description() pulumi.StringPtrOutput

The description of key pair.

func (KeyPairOutput) ElementType

func (KeyPairOutput) ElementType() reflect.Type

func (KeyPairOutput) FingerPrint

func (o KeyPairOutput) FingerPrint() pulumi.StringOutput

The finger print info.

func (KeyPairOutput) KeyFile

func (o KeyPairOutput) KeyFile() pulumi.StringPtrOutput

Target file to save private key. It is recommended that the value not be empty. You only have one chance to download the private key, the volcengine will not save your private key, please keep it safe. In the TF import scenario, this field will not write the private key locally.

func (KeyPairOutput) KeyPairId

func (o KeyPairOutput) KeyPairId() pulumi.StringOutput

The id of key pair.

func (KeyPairOutput) KeyPairName

func (o KeyPairOutput) KeyPairName() pulumi.StringOutput

The name of key pair.

func (KeyPairOutput) PublicKey

func (o KeyPairOutput) PublicKey() pulumi.StringPtrOutput

Public key string.

func (KeyPairOutput) ToKeyPairOutput

func (o KeyPairOutput) ToKeyPairOutput() KeyPairOutput

func (KeyPairOutput) ToKeyPairOutputWithContext

func (o KeyPairOutput) ToKeyPairOutputWithContext(ctx context.Context) KeyPairOutput

type KeyPairState

type KeyPairState struct {
	// The description of key pair.
	Description pulumi.StringPtrInput
	// The finger print info.
	FingerPrint pulumi.StringPtrInput
	// Target file to save private key. It is recommended that the value not be empty. You only have one chance to download the private key, the volcengine will not save your private key, please keep it safe. In the TF import scenario, this field will not write the private key locally.
	KeyFile pulumi.StringPtrInput
	// The id of key pair.
	KeyPairId pulumi.StringPtrInput
	// The name of key pair.
	KeyPairName pulumi.StringPtrInput
	// Public key string.
	PublicKey pulumi.StringPtrInput
}

func (KeyPairState) ElementType

func (KeyPairState) ElementType() reflect.Type

type KeyPairsArgs

type KeyPairsArgs struct {
	// The finger print info.
	FingerPrint *string `pulumi:"fingerPrint"`
	// Ids of key pair.
	KeyPairIds []string `pulumi:"keyPairIds"`
	// Name of key pair.
	KeyPairName *string `pulumi:"keyPairName"`
	// Key pair names info.
	KeyPairNames []string `pulumi:"keyPairNames"`
	// A Name Regex of ECS key pairs.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking KeyPairs.

type KeyPairsKeyPair

type KeyPairsKeyPair struct {
	// The creation time of key pair.
	CreatedAt string `pulumi:"createdAt"`
	// The description of key pair.
	Description string `pulumi:"description"`
	// The finger print info.
	FingerPrint string `pulumi:"fingerPrint"`
	// The id of key pair.
	Id string `pulumi:"id"`
	// The id of key pair.
	KeyPairId string `pulumi:"keyPairId"`
	// Name of key pair.
	KeyPairName string `pulumi:"keyPairName"`
	// The update time of key pair.
	UpdatedAt string `pulumi:"updatedAt"`
}

type KeyPairsKeyPairArgs

type KeyPairsKeyPairArgs struct {
	// The creation time of key pair.
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// The description of key pair.
	Description pulumi.StringInput `pulumi:"description"`
	// The finger print info.
	FingerPrint pulumi.StringInput `pulumi:"fingerPrint"`
	// The id of key pair.
	Id pulumi.StringInput `pulumi:"id"`
	// The id of key pair.
	KeyPairId pulumi.StringInput `pulumi:"keyPairId"`
	// Name of key pair.
	KeyPairName pulumi.StringInput `pulumi:"keyPairName"`
	// The update time of key pair.
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
}

func (KeyPairsKeyPairArgs) ElementType

func (KeyPairsKeyPairArgs) ElementType() reflect.Type

func (KeyPairsKeyPairArgs) ToKeyPairsKeyPairOutput

func (i KeyPairsKeyPairArgs) ToKeyPairsKeyPairOutput() KeyPairsKeyPairOutput

func (KeyPairsKeyPairArgs) ToKeyPairsKeyPairOutputWithContext

func (i KeyPairsKeyPairArgs) ToKeyPairsKeyPairOutputWithContext(ctx context.Context) KeyPairsKeyPairOutput

type KeyPairsKeyPairArray

type KeyPairsKeyPairArray []KeyPairsKeyPairInput

func (KeyPairsKeyPairArray) ElementType

func (KeyPairsKeyPairArray) ElementType() reflect.Type

func (KeyPairsKeyPairArray) ToKeyPairsKeyPairArrayOutput

func (i KeyPairsKeyPairArray) ToKeyPairsKeyPairArrayOutput() KeyPairsKeyPairArrayOutput

func (KeyPairsKeyPairArray) ToKeyPairsKeyPairArrayOutputWithContext

func (i KeyPairsKeyPairArray) ToKeyPairsKeyPairArrayOutputWithContext(ctx context.Context) KeyPairsKeyPairArrayOutput

type KeyPairsKeyPairArrayInput

type KeyPairsKeyPairArrayInput interface {
	pulumi.Input

	ToKeyPairsKeyPairArrayOutput() KeyPairsKeyPairArrayOutput
	ToKeyPairsKeyPairArrayOutputWithContext(context.Context) KeyPairsKeyPairArrayOutput
}

KeyPairsKeyPairArrayInput is an input type that accepts KeyPairsKeyPairArray and KeyPairsKeyPairArrayOutput values. You can construct a concrete instance of `KeyPairsKeyPairArrayInput` via:

KeyPairsKeyPairArray{ KeyPairsKeyPairArgs{...} }

type KeyPairsKeyPairArrayOutput

type KeyPairsKeyPairArrayOutput struct{ *pulumi.OutputState }

func (KeyPairsKeyPairArrayOutput) ElementType

func (KeyPairsKeyPairArrayOutput) ElementType() reflect.Type

func (KeyPairsKeyPairArrayOutput) Index

func (KeyPairsKeyPairArrayOutput) ToKeyPairsKeyPairArrayOutput

func (o KeyPairsKeyPairArrayOutput) ToKeyPairsKeyPairArrayOutput() KeyPairsKeyPairArrayOutput

func (KeyPairsKeyPairArrayOutput) ToKeyPairsKeyPairArrayOutputWithContext

func (o KeyPairsKeyPairArrayOutput) ToKeyPairsKeyPairArrayOutputWithContext(ctx context.Context) KeyPairsKeyPairArrayOutput

type KeyPairsKeyPairInput

type KeyPairsKeyPairInput interface {
	pulumi.Input

	ToKeyPairsKeyPairOutput() KeyPairsKeyPairOutput
	ToKeyPairsKeyPairOutputWithContext(context.Context) KeyPairsKeyPairOutput
}

KeyPairsKeyPairInput is an input type that accepts KeyPairsKeyPairArgs and KeyPairsKeyPairOutput values. You can construct a concrete instance of `KeyPairsKeyPairInput` via:

KeyPairsKeyPairArgs{...}

type KeyPairsKeyPairOutput

type KeyPairsKeyPairOutput struct{ *pulumi.OutputState }

func (KeyPairsKeyPairOutput) CreatedAt

The creation time of key pair.

func (KeyPairsKeyPairOutput) Description

func (o KeyPairsKeyPairOutput) Description() pulumi.StringOutput

The description of key pair.

func (KeyPairsKeyPairOutput) ElementType

func (KeyPairsKeyPairOutput) ElementType() reflect.Type

func (KeyPairsKeyPairOutput) FingerPrint

func (o KeyPairsKeyPairOutput) FingerPrint() pulumi.StringOutput

The finger print info.

func (KeyPairsKeyPairOutput) Id

The id of key pair.

func (KeyPairsKeyPairOutput) KeyPairId

The id of key pair.

func (KeyPairsKeyPairOutput) KeyPairName

func (o KeyPairsKeyPairOutput) KeyPairName() pulumi.StringOutput

Name of key pair.

func (KeyPairsKeyPairOutput) ToKeyPairsKeyPairOutput

func (o KeyPairsKeyPairOutput) ToKeyPairsKeyPairOutput() KeyPairsKeyPairOutput

func (KeyPairsKeyPairOutput) ToKeyPairsKeyPairOutputWithContext

func (o KeyPairsKeyPairOutput) ToKeyPairsKeyPairOutputWithContext(ctx context.Context) KeyPairsKeyPairOutput

func (KeyPairsKeyPairOutput) UpdatedAt

The update time of key pair.

type KeyPairsOutputArgs

type KeyPairsOutputArgs struct {
	// The finger print info.
	FingerPrint pulumi.StringPtrInput `pulumi:"fingerPrint"`
	// Ids of key pair.
	KeyPairIds pulumi.StringArrayInput `pulumi:"keyPairIds"`
	// Name of key pair.
	KeyPairName pulumi.StringPtrInput `pulumi:"keyPairName"`
	// Key pair names info.
	KeyPairNames pulumi.StringArrayInput `pulumi:"keyPairNames"`
	// A Name Regex of ECS key pairs.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking KeyPairs.

func (KeyPairsOutputArgs) ElementType

func (KeyPairsOutputArgs) ElementType() reflect.Type

type KeyPairsResult

type KeyPairsResult struct {
	// The finger print info.
	FingerPrint *string `pulumi:"fingerPrint"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	KeyPairIds []string `pulumi:"keyPairIds"`
	// The name of key pair.
	KeyPairName  *string  `pulumi:"keyPairName"`
	KeyPairNames []string `pulumi:"keyPairNames"`
	// The target query key pairs info.
	KeyPairs   []KeyPairsKeyPair `pulumi:"keyPairs"`
	NameRegex  *string           `pulumi:"nameRegex"`
	OutputFile *string           `pulumi:"outputFile"`
	// The total count of ECS key pair query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by KeyPairs.

func KeyPairs

func KeyPairs(ctx *pulumi.Context, args *KeyPairsArgs, opts ...pulumi.InvokeOption) (*KeyPairsResult, error)

Use this data source to query detailed information of ecs key pairs ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooKeyPair, err := ecs.NewKeyPair(ctx, "fooKeyPair", &ecs.KeyPairArgs{
			KeyPairName: pulumi.String("acc-test-key-name"),
			Description: pulumi.String("acc-test"),
		})
		if err != nil {
			return err
		}
		_ = ecs.KeyPairsOutput(ctx, ecs.KeyPairsOutputArgs{
			KeyPairName: fooKeyPair.KeyPairName,
		}, nil)
		return nil
	})
}

```

type KeyPairsResultOutput

type KeyPairsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by KeyPairs.

func (KeyPairsResultOutput) ElementType

func (KeyPairsResultOutput) ElementType() reflect.Type

func (KeyPairsResultOutput) FingerPrint

The finger print info.

func (KeyPairsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (KeyPairsResultOutput) KeyPairIds

func (KeyPairsResultOutput) KeyPairName

The name of key pair.

func (KeyPairsResultOutput) KeyPairNames

func (KeyPairsResultOutput) KeyPairs

The target query key pairs info.

func (KeyPairsResultOutput) NameRegex

func (KeyPairsResultOutput) OutputFile

func (KeyPairsResultOutput) ToKeyPairsResultOutput

func (o KeyPairsResultOutput) ToKeyPairsResultOutput() KeyPairsResultOutput

func (KeyPairsResultOutput) ToKeyPairsResultOutputWithContext

func (o KeyPairsResultOutput) ToKeyPairsResultOutputWithContext(ctx context.Context) KeyPairsResultOutput

func (KeyPairsResultOutput) TotalCount

func (o KeyPairsResultOutput) TotalCount() pulumi.IntOutput

The total count of ECS key pair query.

type LaunchTemplate

type LaunchTemplate struct {
	pulumi.CustomResourceState

	// The description of the instance.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The EIP bandwidth which the scaling configuration set.
	EipBandwidth pulumi.IntPtrOutput `pulumi:"eipBandwidth"`
	// The EIP billing type which the scaling configuration set. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
	EipBillingType pulumi.StringPtrOutput `pulumi:"eipBillingType"`
	// The EIP ISP which the scaling configuration set. Valid values: BGP, ChinaMobile, ChinaUnicom, ChinaTelecom.
	EipIsp pulumi.StringPtrOutput `pulumi:"eipIsp"`
	// The host name of the instance.
	HostName pulumi.StringPtrOutput `pulumi:"hostName"`
	// The hpc cluster id.
	HpcClusterId pulumi.StringPtrOutput `pulumi:"hpcClusterId"`
	// The image ID.
	ImageId pulumi.StringPtrOutput `pulumi:"imageId"`
	// The charge type of the instance and volume.
	InstanceChargeType pulumi.StringPtrOutput `pulumi:"instanceChargeType"`
	// The name of the instance.
	InstanceName pulumi.StringPtrOutput `pulumi:"instanceName"`
	// The compute type of the instance.
	InstanceTypeId pulumi.StringPtrOutput `pulumi:"instanceTypeId"`
	// When you log in to the instance using the SSH key pair, enter the name of the key pair.
	KeyPairName pulumi.StringPtrOutput `pulumi:"keyPairName"`
	// The launch template id.
	LaunchTemplateId pulumi.StringOutput `pulumi:"launchTemplateId"`
	// The name of the launch template.
	LaunchTemplateName pulumi.StringOutput `pulumi:"launchTemplateName"`
	// The list of network interfaces. When creating an instance, it is supported to bind auxiliary network cards at the same time. The first one is the primary network card, and the others are secondary network cards.
	NetworkInterfaces LaunchTemplateNetworkInterfaceArrayOutput `pulumi:"networkInterfaces"`
	// Whether to open the security reinforcement.
	SecurityEnhancementStrategy pulumi.StringPtrOutput `pulumi:"securityEnhancementStrategy"`
	// The index of the ordered suffix.
	SuffixIndex pulumi.IntPtrOutput `pulumi:"suffixIndex"`
	// Indicates whether the ordered suffix is automatically added to Hostname and InstanceName when multiple instances are created.
	UniqueSuffix pulumi.BoolPtrOutput `pulumi:"uniqueSuffix"`
	// Instance custom data. The set custom data must be Base64 encoded, and the size of the custom data before Base64 encoding cannot exceed 16KB.
	UserData pulumi.StringPtrOutput `pulumi:"userData"`
	// The latest version description of the launch template.
	VersionDescription pulumi.StringPtrOutput `pulumi:"versionDescription"`
	// The list of volume of the scaling configuration.
	Volumes LaunchTemplateVolumeArrayOutput `pulumi:"volumes"`
	// The vpc id.
	VpcId pulumi.StringPtrOutput `pulumi:"vpcId"`
	// The zone id.
	ZoneId pulumi.StringPtrOutput `pulumi:"zoneId"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.NewLaunchTemplate(ctx, "foo", &ecs.LaunchTemplateArgs{
			Description:        pulumi.String("acc-test-desc"),
			EipBandwidth:       pulumi.Int(1),
			EipBillingType:     pulumi.String("PostPaidByBandwidth"),
			EipIsp:             pulumi.String("ChinaMobile"),
			HostName:           pulumi.String("tf-host-name"),
			HpcClusterId:       pulumi.String("hpcCluster-l8u24ovdmoab6opf"),
			ImageId:            pulumi.String("image-ycjwwciuzy5pkh54xx8f"),
			InstanceChargeType: pulumi.String("PostPaid"),
			InstanceName:       pulumi.String("tf-acc-name"),
			InstanceTypeId:     pulumi.String("ecs.g1.large"),
			KeyPairName:        pulumi.String("tf-key-pair"),
			LaunchTemplateName: pulumi.String("tf-acc-template"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

LaunchTemplate can be imported using the LaunchTemplateId, e.g. When the instance launch template is modified, a new version will be created. When the number of versions reaches the upper limit (30), the oldest version that is not the default version will be deleted.

```sh

$ pulumi import volcengine:ecs/launchTemplate:LaunchTemplate default lt-ysxc16auaugh9zfy****

```

func GetLaunchTemplate

func GetLaunchTemplate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LaunchTemplateState, opts ...pulumi.ResourceOption) (*LaunchTemplate, error)

GetLaunchTemplate gets an existing LaunchTemplate 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 NewLaunchTemplate

func NewLaunchTemplate(ctx *pulumi.Context,
	name string, args *LaunchTemplateArgs, opts ...pulumi.ResourceOption) (*LaunchTemplate, error)

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

func (*LaunchTemplate) ElementType

func (*LaunchTemplate) ElementType() reflect.Type

func (*LaunchTemplate) ToLaunchTemplateOutput

func (i *LaunchTemplate) ToLaunchTemplateOutput() LaunchTemplateOutput

func (*LaunchTemplate) ToLaunchTemplateOutputWithContext

func (i *LaunchTemplate) ToLaunchTemplateOutputWithContext(ctx context.Context) LaunchTemplateOutput

type LaunchTemplateArgs

type LaunchTemplateArgs struct {
	// The description of the instance.
	Description pulumi.StringPtrInput
	// The EIP bandwidth which the scaling configuration set.
	EipBandwidth pulumi.IntPtrInput
	// The EIP billing type which the scaling configuration set. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
	EipBillingType pulumi.StringPtrInput
	// The EIP ISP which the scaling configuration set. Valid values: BGP, ChinaMobile, ChinaUnicom, ChinaTelecom.
	EipIsp pulumi.StringPtrInput
	// The host name of the instance.
	HostName pulumi.StringPtrInput
	// The hpc cluster id.
	HpcClusterId pulumi.StringPtrInput
	// The image ID.
	ImageId pulumi.StringPtrInput
	// The charge type of the instance and volume.
	InstanceChargeType pulumi.StringPtrInput
	// The name of the instance.
	InstanceName pulumi.StringPtrInput
	// The compute type of the instance.
	InstanceTypeId pulumi.StringPtrInput
	// When you log in to the instance using the SSH key pair, enter the name of the key pair.
	KeyPairName pulumi.StringPtrInput
	// The name of the launch template.
	LaunchTemplateName pulumi.StringInput
	// The list of network interfaces. When creating an instance, it is supported to bind auxiliary network cards at the same time. The first one is the primary network card, and the others are secondary network cards.
	NetworkInterfaces LaunchTemplateNetworkInterfaceArrayInput
	// Whether to open the security reinforcement.
	SecurityEnhancementStrategy pulumi.StringPtrInput
	// The index of the ordered suffix.
	SuffixIndex pulumi.IntPtrInput
	// Indicates whether the ordered suffix is automatically added to Hostname and InstanceName when multiple instances are created.
	UniqueSuffix pulumi.BoolPtrInput
	// Instance custom data. The set custom data must be Base64 encoded, and the size of the custom data before Base64 encoding cannot exceed 16KB.
	UserData pulumi.StringPtrInput
	// The latest version description of the launch template.
	VersionDescription pulumi.StringPtrInput
	// The list of volume of the scaling configuration.
	Volumes LaunchTemplateVolumeArrayInput
	// The vpc id.
	VpcId pulumi.StringPtrInput
	// The zone id.
	ZoneId pulumi.StringPtrInput
}

The set of arguments for constructing a LaunchTemplate resource.

func (LaunchTemplateArgs) ElementType

func (LaunchTemplateArgs) ElementType() reflect.Type

type LaunchTemplateArray

type LaunchTemplateArray []LaunchTemplateInput

func (LaunchTemplateArray) ElementType

func (LaunchTemplateArray) ElementType() reflect.Type

func (LaunchTemplateArray) ToLaunchTemplateArrayOutput

func (i LaunchTemplateArray) ToLaunchTemplateArrayOutput() LaunchTemplateArrayOutput

func (LaunchTemplateArray) ToLaunchTemplateArrayOutputWithContext

func (i LaunchTemplateArray) ToLaunchTemplateArrayOutputWithContext(ctx context.Context) LaunchTemplateArrayOutput

type LaunchTemplateArrayInput

type LaunchTemplateArrayInput interface {
	pulumi.Input

	ToLaunchTemplateArrayOutput() LaunchTemplateArrayOutput
	ToLaunchTemplateArrayOutputWithContext(context.Context) LaunchTemplateArrayOutput
}

LaunchTemplateArrayInput is an input type that accepts LaunchTemplateArray and LaunchTemplateArrayOutput values. You can construct a concrete instance of `LaunchTemplateArrayInput` via:

LaunchTemplateArray{ LaunchTemplateArgs{...} }

type LaunchTemplateArrayOutput

type LaunchTemplateArrayOutput struct{ *pulumi.OutputState }

func (LaunchTemplateArrayOutput) ElementType

func (LaunchTemplateArrayOutput) ElementType() reflect.Type

func (LaunchTemplateArrayOutput) Index

func (LaunchTemplateArrayOutput) ToLaunchTemplateArrayOutput

func (o LaunchTemplateArrayOutput) ToLaunchTemplateArrayOutput() LaunchTemplateArrayOutput

func (LaunchTemplateArrayOutput) ToLaunchTemplateArrayOutputWithContext

func (o LaunchTemplateArrayOutput) ToLaunchTemplateArrayOutputWithContext(ctx context.Context) LaunchTemplateArrayOutput

type LaunchTemplateInput

type LaunchTemplateInput interface {
	pulumi.Input

	ToLaunchTemplateOutput() LaunchTemplateOutput
	ToLaunchTemplateOutputWithContext(ctx context.Context) LaunchTemplateOutput
}

type LaunchTemplateMap

type LaunchTemplateMap map[string]LaunchTemplateInput

func (LaunchTemplateMap) ElementType

func (LaunchTemplateMap) ElementType() reflect.Type

func (LaunchTemplateMap) ToLaunchTemplateMapOutput

func (i LaunchTemplateMap) ToLaunchTemplateMapOutput() LaunchTemplateMapOutput

func (LaunchTemplateMap) ToLaunchTemplateMapOutputWithContext

func (i LaunchTemplateMap) ToLaunchTemplateMapOutputWithContext(ctx context.Context) LaunchTemplateMapOutput

type LaunchTemplateMapInput

type LaunchTemplateMapInput interface {
	pulumi.Input

	ToLaunchTemplateMapOutput() LaunchTemplateMapOutput
	ToLaunchTemplateMapOutputWithContext(context.Context) LaunchTemplateMapOutput
}

LaunchTemplateMapInput is an input type that accepts LaunchTemplateMap and LaunchTemplateMapOutput values. You can construct a concrete instance of `LaunchTemplateMapInput` via:

LaunchTemplateMap{ "key": LaunchTemplateArgs{...} }

type LaunchTemplateMapOutput

type LaunchTemplateMapOutput struct{ *pulumi.OutputState }

func (LaunchTemplateMapOutput) ElementType

func (LaunchTemplateMapOutput) ElementType() reflect.Type

func (LaunchTemplateMapOutput) MapIndex

func (LaunchTemplateMapOutput) ToLaunchTemplateMapOutput

func (o LaunchTemplateMapOutput) ToLaunchTemplateMapOutput() LaunchTemplateMapOutput

func (LaunchTemplateMapOutput) ToLaunchTemplateMapOutputWithContext

func (o LaunchTemplateMapOutput) ToLaunchTemplateMapOutputWithContext(ctx context.Context) LaunchTemplateMapOutput

type LaunchTemplateNetworkInterface

type LaunchTemplateNetworkInterface struct {
	// The security group ID associated with the NIC.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// The private network subnet ID of the instance, when creating the instance, supports binding the secondary NIC at the same time.
	SubnetId *string `pulumi:"subnetId"`
}

type LaunchTemplateNetworkInterfaceArgs

type LaunchTemplateNetworkInterfaceArgs struct {
	// The security group ID associated with the NIC.
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	// The private network subnet ID of the instance, when creating the instance, supports binding the secondary NIC at the same time.
	SubnetId pulumi.StringPtrInput `pulumi:"subnetId"`
}

func (LaunchTemplateNetworkInterfaceArgs) ElementType

func (LaunchTemplateNetworkInterfaceArgs) ToLaunchTemplateNetworkInterfaceOutput

func (i LaunchTemplateNetworkInterfaceArgs) ToLaunchTemplateNetworkInterfaceOutput() LaunchTemplateNetworkInterfaceOutput

func (LaunchTemplateNetworkInterfaceArgs) ToLaunchTemplateNetworkInterfaceOutputWithContext

func (i LaunchTemplateNetworkInterfaceArgs) ToLaunchTemplateNetworkInterfaceOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfaceOutput

type LaunchTemplateNetworkInterfaceArray

type LaunchTemplateNetworkInterfaceArray []LaunchTemplateNetworkInterfaceInput

func (LaunchTemplateNetworkInterfaceArray) ElementType

func (LaunchTemplateNetworkInterfaceArray) ToLaunchTemplateNetworkInterfaceArrayOutput

func (i LaunchTemplateNetworkInterfaceArray) ToLaunchTemplateNetworkInterfaceArrayOutput() LaunchTemplateNetworkInterfaceArrayOutput

func (LaunchTemplateNetworkInterfaceArray) ToLaunchTemplateNetworkInterfaceArrayOutputWithContext

func (i LaunchTemplateNetworkInterfaceArray) ToLaunchTemplateNetworkInterfaceArrayOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfaceArrayOutput

type LaunchTemplateNetworkInterfaceArrayInput

type LaunchTemplateNetworkInterfaceArrayInput interface {
	pulumi.Input

	ToLaunchTemplateNetworkInterfaceArrayOutput() LaunchTemplateNetworkInterfaceArrayOutput
	ToLaunchTemplateNetworkInterfaceArrayOutputWithContext(context.Context) LaunchTemplateNetworkInterfaceArrayOutput
}

LaunchTemplateNetworkInterfaceArrayInput is an input type that accepts LaunchTemplateNetworkInterfaceArray and LaunchTemplateNetworkInterfaceArrayOutput values. You can construct a concrete instance of `LaunchTemplateNetworkInterfaceArrayInput` via:

LaunchTemplateNetworkInterfaceArray{ LaunchTemplateNetworkInterfaceArgs{...} }

type LaunchTemplateNetworkInterfaceArrayOutput

type LaunchTemplateNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }

func (LaunchTemplateNetworkInterfaceArrayOutput) ElementType

func (LaunchTemplateNetworkInterfaceArrayOutput) Index

func (LaunchTemplateNetworkInterfaceArrayOutput) ToLaunchTemplateNetworkInterfaceArrayOutput

func (o LaunchTemplateNetworkInterfaceArrayOutput) ToLaunchTemplateNetworkInterfaceArrayOutput() LaunchTemplateNetworkInterfaceArrayOutput

func (LaunchTemplateNetworkInterfaceArrayOutput) ToLaunchTemplateNetworkInterfaceArrayOutputWithContext

func (o LaunchTemplateNetworkInterfaceArrayOutput) ToLaunchTemplateNetworkInterfaceArrayOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfaceArrayOutput

type LaunchTemplateNetworkInterfaceInput

type LaunchTemplateNetworkInterfaceInput interface {
	pulumi.Input

	ToLaunchTemplateNetworkInterfaceOutput() LaunchTemplateNetworkInterfaceOutput
	ToLaunchTemplateNetworkInterfaceOutputWithContext(context.Context) LaunchTemplateNetworkInterfaceOutput
}

LaunchTemplateNetworkInterfaceInput is an input type that accepts LaunchTemplateNetworkInterfaceArgs and LaunchTemplateNetworkInterfaceOutput values. You can construct a concrete instance of `LaunchTemplateNetworkInterfaceInput` via:

LaunchTemplateNetworkInterfaceArgs{...}

type LaunchTemplateNetworkInterfaceOutput

type LaunchTemplateNetworkInterfaceOutput struct{ *pulumi.OutputState }

func (LaunchTemplateNetworkInterfaceOutput) ElementType

func (LaunchTemplateNetworkInterfaceOutput) SecurityGroupIds

The security group ID associated with the NIC.

func (LaunchTemplateNetworkInterfaceOutput) SubnetId

The private network subnet ID of the instance, when creating the instance, supports binding the secondary NIC at the same time.

func (LaunchTemplateNetworkInterfaceOutput) ToLaunchTemplateNetworkInterfaceOutput

func (o LaunchTemplateNetworkInterfaceOutput) ToLaunchTemplateNetworkInterfaceOutput() LaunchTemplateNetworkInterfaceOutput

func (LaunchTemplateNetworkInterfaceOutput) ToLaunchTemplateNetworkInterfaceOutputWithContext

func (o LaunchTemplateNetworkInterfaceOutput) ToLaunchTemplateNetworkInterfaceOutputWithContext(ctx context.Context) LaunchTemplateNetworkInterfaceOutput

type LaunchTemplateOutput

type LaunchTemplateOutput struct{ *pulumi.OutputState }

func (LaunchTemplateOutput) Description

The description of the instance.

func (LaunchTemplateOutput) EipBandwidth

func (o LaunchTemplateOutput) EipBandwidth() pulumi.IntPtrOutput

The EIP bandwidth which the scaling configuration set.

func (LaunchTemplateOutput) EipBillingType

func (o LaunchTemplateOutput) EipBillingType() pulumi.StringPtrOutput

The EIP billing type which the scaling configuration set. Valid values: PostPaidByBandwidth, PostPaidByTraffic.

func (LaunchTemplateOutput) EipIsp

The EIP ISP which the scaling configuration set. Valid values: BGP, ChinaMobile, ChinaUnicom, ChinaTelecom.

func (LaunchTemplateOutput) ElementType

func (LaunchTemplateOutput) ElementType() reflect.Type

func (LaunchTemplateOutput) HostName

The host name of the instance.

func (LaunchTemplateOutput) HpcClusterId

func (o LaunchTemplateOutput) HpcClusterId() pulumi.StringPtrOutput

The hpc cluster id.

func (LaunchTemplateOutput) ImageId

The image ID.

func (LaunchTemplateOutput) InstanceChargeType

func (o LaunchTemplateOutput) InstanceChargeType() pulumi.StringPtrOutput

The charge type of the instance and volume.

func (LaunchTemplateOutput) InstanceName

func (o LaunchTemplateOutput) InstanceName() pulumi.StringPtrOutput

The name of the instance.

func (LaunchTemplateOutput) InstanceTypeId

func (o LaunchTemplateOutput) InstanceTypeId() pulumi.StringPtrOutput

The compute type of the instance.

func (LaunchTemplateOutput) KeyPairName

When you log in to the instance using the SSH key pair, enter the name of the key pair.

func (LaunchTemplateOutput) LaunchTemplateId

func (o LaunchTemplateOutput) LaunchTemplateId() pulumi.StringOutput

The launch template id.

func (LaunchTemplateOutput) LaunchTemplateName

func (o LaunchTemplateOutput) LaunchTemplateName() pulumi.StringOutput

The name of the launch template.

func (LaunchTemplateOutput) NetworkInterfaces

The list of network interfaces. When creating an instance, it is supported to bind auxiliary network cards at the same time. The first one is the primary network card, and the others are secondary network cards.

func (LaunchTemplateOutput) SecurityEnhancementStrategy

func (o LaunchTemplateOutput) SecurityEnhancementStrategy() pulumi.StringPtrOutput

Whether to open the security reinforcement.

func (LaunchTemplateOutput) SuffixIndex

func (o LaunchTemplateOutput) SuffixIndex() pulumi.IntPtrOutput

The index of the ordered suffix.

func (LaunchTemplateOutput) ToLaunchTemplateOutput

func (o LaunchTemplateOutput) ToLaunchTemplateOutput() LaunchTemplateOutput

func (LaunchTemplateOutput) ToLaunchTemplateOutputWithContext

func (o LaunchTemplateOutput) ToLaunchTemplateOutputWithContext(ctx context.Context) LaunchTemplateOutput

func (LaunchTemplateOutput) UniqueSuffix

func (o LaunchTemplateOutput) UniqueSuffix() pulumi.BoolPtrOutput

Indicates whether the ordered suffix is automatically added to Hostname and InstanceName when multiple instances are created.

func (LaunchTemplateOutput) UserData

Instance custom data. The set custom data must be Base64 encoded, and the size of the custom data before Base64 encoding cannot exceed 16KB.

func (LaunchTemplateOutput) VersionDescription

func (o LaunchTemplateOutput) VersionDescription() pulumi.StringPtrOutput

The latest version description of the launch template.

func (LaunchTemplateOutput) Volumes

The list of volume of the scaling configuration.

func (LaunchTemplateOutput) VpcId

The vpc id.

func (LaunchTemplateOutput) ZoneId

The zone id.

type LaunchTemplateState

type LaunchTemplateState struct {
	// The description of the instance.
	Description pulumi.StringPtrInput
	// The EIP bandwidth which the scaling configuration set.
	EipBandwidth pulumi.IntPtrInput
	// The EIP billing type which the scaling configuration set. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
	EipBillingType pulumi.StringPtrInput
	// The EIP ISP which the scaling configuration set. Valid values: BGP, ChinaMobile, ChinaUnicom, ChinaTelecom.
	EipIsp pulumi.StringPtrInput
	// The host name of the instance.
	HostName pulumi.StringPtrInput
	// The hpc cluster id.
	HpcClusterId pulumi.StringPtrInput
	// The image ID.
	ImageId pulumi.StringPtrInput
	// The charge type of the instance and volume.
	InstanceChargeType pulumi.StringPtrInput
	// The name of the instance.
	InstanceName pulumi.StringPtrInput
	// The compute type of the instance.
	InstanceTypeId pulumi.StringPtrInput
	// When you log in to the instance using the SSH key pair, enter the name of the key pair.
	KeyPairName pulumi.StringPtrInput
	// The launch template id.
	LaunchTemplateId pulumi.StringPtrInput
	// The name of the launch template.
	LaunchTemplateName pulumi.StringPtrInput
	// The list of network interfaces. When creating an instance, it is supported to bind auxiliary network cards at the same time. The first one is the primary network card, and the others are secondary network cards.
	NetworkInterfaces LaunchTemplateNetworkInterfaceArrayInput
	// Whether to open the security reinforcement.
	SecurityEnhancementStrategy pulumi.StringPtrInput
	// The index of the ordered suffix.
	SuffixIndex pulumi.IntPtrInput
	// Indicates whether the ordered suffix is automatically added to Hostname and InstanceName when multiple instances are created.
	UniqueSuffix pulumi.BoolPtrInput
	// Instance custom data. The set custom data must be Base64 encoded, and the size of the custom data before Base64 encoding cannot exceed 16KB.
	UserData pulumi.StringPtrInput
	// The latest version description of the launch template.
	VersionDescription pulumi.StringPtrInput
	// The list of volume of the scaling configuration.
	Volumes LaunchTemplateVolumeArrayInput
	// The vpc id.
	VpcId pulumi.StringPtrInput
	// The zone id.
	ZoneId pulumi.StringPtrInput
}

func (LaunchTemplateState) ElementType

func (LaunchTemplateState) ElementType() reflect.Type

type LaunchTemplateVolume

type LaunchTemplateVolume struct {
	// The delete with instance flag of volume. Valid values: true, false. Default value: true.
	DeleteWithInstance *bool `pulumi:"deleteWithInstance"`
	// The size of volume.
	Size *int `pulumi:"size"`
	// The type of volume.
	VolumeType *string `pulumi:"volumeType"`
}

type LaunchTemplateVolumeArgs

type LaunchTemplateVolumeArgs struct {
	// The delete with instance flag of volume. Valid values: true, false. Default value: true.
	DeleteWithInstance pulumi.BoolPtrInput `pulumi:"deleteWithInstance"`
	// The size of volume.
	Size pulumi.IntPtrInput `pulumi:"size"`
	// The type of volume.
	VolumeType pulumi.StringPtrInput `pulumi:"volumeType"`
}

func (LaunchTemplateVolumeArgs) ElementType

func (LaunchTemplateVolumeArgs) ElementType() reflect.Type

func (LaunchTemplateVolumeArgs) ToLaunchTemplateVolumeOutput

func (i LaunchTemplateVolumeArgs) ToLaunchTemplateVolumeOutput() LaunchTemplateVolumeOutput

func (LaunchTemplateVolumeArgs) ToLaunchTemplateVolumeOutputWithContext

func (i LaunchTemplateVolumeArgs) ToLaunchTemplateVolumeOutputWithContext(ctx context.Context) LaunchTemplateVolumeOutput

type LaunchTemplateVolumeArray

type LaunchTemplateVolumeArray []LaunchTemplateVolumeInput

func (LaunchTemplateVolumeArray) ElementType

func (LaunchTemplateVolumeArray) ElementType() reflect.Type

func (LaunchTemplateVolumeArray) ToLaunchTemplateVolumeArrayOutput

func (i LaunchTemplateVolumeArray) ToLaunchTemplateVolumeArrayOutput() LaunchTemplateVolumeArrayOutput

func (LaunchTemplateVolumeArray) ToLaunchTemplateVolumeArrayOutputWithContext

func (i LaunchTemplateVolumeArray) ToLaunchTemplateVolumeArrayOutputWithContext(ctx context.Context) LaunchTemplateVolumeArrayOutput

type LaunchTemplateVolumeArrayInput

type LaunchTemplateVolumeArrayInput interface {
	pulumi.Input

	ToLaunchTemplateVolumeArrayOutput() LaunchTemplateVolumeArrayOutput
	ToLaunchTemplateVolumeArrayOutputWithContext(context.Context) LaunchTemplateVolumeArrayOutput
}

LaunchTemplateVolumeArrayInput is an input type that accepts LaunchTemplateVolumeArray and LaunchTemplateVolumeArrayOutput values. You can construct a concrete instance of `LaunchTemplateVolumeArrayInput` via:

LaunchTemplateVolumeArray{ LaunchTemplateVolumeArgs{...} }

type LaunchTemplateVolumeArrayOutput

type LaunchTemplateVolumeArrayOutput struct{ *pulumi.OutputState }

func (LaunchTemplateVolumeArrayOutput) ElementType

func (LaunchTemplateVolumeArrayOutput) Index

func (LaunchTemplateVolumeArrayOutput) ToLaunchTemplateVolumeArrayOutput

func (o LaunchTemplateVolumeArrayOutput) ToLaunchTemplateVolumeArrayOutput() LaunchTemplateVolumeArrayOutput

func (LaunchTemplateVolumeArrayOutput) ToLaunchTemplateVolumeArrayOutputWithContext

func (o LaunchTemplateVolumeArrayOutput) ToLaunchTemplateVolumeArrayOutputWithContext(ctx context.Context) LaunchTemplateVolumeArrayOutput

type LaunchTemplateVolumeInput

type LaunchTemplateVolumeInput interface {
	pulumi.Input

	ToLaunchTemplateVolumeOutput() LaunchTemplateVolumeOutput
	ToLaunchTemplateVolumeOutputWithContext(context.Context) LaunchTemplateVolumeOutput
}

LaunchTemplateVolumeInput is an input type that accepts LaunchTemplateVolumeArgs and LaunchTemplateVolumeOutput values. You can construct a concrete instance of `LaunchTemplateVolumeInput` via:

LaunchTemplateVolumeArgs{...}

type LaunchTemplateVolumeOutput

type LaunchTemplateVolumeOutput struct{ *pulumi.OutputState }

func (LaunchTemplateVolumeOutput) DeleteWithInstance

func (o LaunchTemplateVolumeOutput) DeleteWithInstance() pulumi.BoolPtrOutput

The delete with instance flag of volume. Valid values: true, false. Default value: true.

func (LaunchTemplateVolumeOutput) ElementType

func (LaunchTemplateVolumeOutput) ElementType() reflect.Type

func (LaunchTemplateVolumeOutput) Size

The size of volume.

func (LaunchTemplateVolumeOutput) ToLaunchTemplateVolumeOutput

func (o LaunchTemplateVolumeOutput) ToLaunchTemplateVolumeOutput() LaunchTemplateVolumeOutput

func (LaunchTemplateVolumeOutput) ToLaunchTemplateVolumeOutputWithContext

func (o LaunchTemplateVolumeOutput) ToLaunchTemplateVolumeOutputWithContext(ctx context.Context) LaunchTemplateVolumeOutput

func (LaunchTemplateVolumeOutput) VolumeType

The type of volume.

type LaunchTemplatesArgs

type LaunchTemplatesArgs struct {
	// A list of launch template ids.
	Ids []string `pulumi:"ids"`
	// A list of launch template names.
	LaunchTemplateNames []string `pulumi:"launchTemplateNames"`
	// A Name Regex of scaling policy.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking LaunchTemplates.

type LaunchTemplatesLaunchTemplate

type LaunchTemplatesLaunchTemplate struct {
	// The created time of the launch template.
	CreatedAt string `pulumi:"createdAt"`
	// The default version of the launch template.
	DefaultVersionNumber int `pulumi:"defaultVersionNumber"`
	// The description of the instance.
	Description string `pulumi:"description"`
	// The EIP bandwidth which the scaling configuration set.
	EipBandwidth int `pulumi:"eipBandwidth"`
	// The EIP billing type which the scaling configuration set. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
	EipBillingType string `pulumi:"eipBillingType"`
	// The EIP ISP which the scaling configuration set. Valid values: BGP, ChinaMobile, ChinaUnicom, ChinaTelecom.
	EipIsp string `pulumi:"eipIsp"`
	// The host name of the instance.
	HostName string `pulumi:"hostName"`
	// The hpc cluster id.
	HpcClusterId string `pulumi:"hpcClusterId"`
	// The id of the launch template.
	Id string `pulumi:"id"`
	// The image id.
	ImageId string `pulumi:"imageId"`
	// The charge type of the instance and volume.
	InstanceChargeType string `pulumi:"instanceChargeType"`
	// The name of the instance.
	InstanceName string `pulumi:"instanceName"`
	// When you log in to the instance using the SSH key pair, enter the name of the key pair.
	KeyPairName string `pulumi:"keyPairName"`
	// The latest version of the launch template.
	LatestVersionNumber int `pulumi:"latestVersionNumber"`
	// The id of the launch template.
	LaunchTemplateId string `pulumi:"launchTemplateId"`
	// The name of the launch template.
	LaunchTemplateName string `pulumi:"launchTemplateName"`
	// The list of network interfaces.
	NetworkInterfaces []LaunchTemplatesLaunchTemplateNetworkInterface `pulumi:"networkInterfaces"`
	// Whether to open the security reinforcement.
	SecurityEnhancementStrategy string `pulumi:"securityEnhancementStrategy"`
	// The index of the ordered suffix.
	SuffixIndex int `pulumi:"suffixIndex"`
	// Indicates whether the ordered suffix is automatically added to Hostname and InstanceName when multiple instances are created.
	UniqueSuffix bool `pulumi:"uniqueSuffix"`
	// The updated time of the launch template.
	UpdatedAt string `pulumi:"updatedAt"`
	// The latest version description of the launch template.
	VersionDescription string `pulumi:"versionDescription"`
	// The list of volume of the scaling configuration.
	Volumes []LaunchTemplatesLaunchTemplateVolume `pulumi:"volumes"`
	// The vpc id.
	VpcId string `pulumi:"vpcId"`
	// The zone ID of the instance.
	ZoneId string `pulumi:"zoneId"`
}

type LaunchTemplatesLaunchTemplateArgs

type LaunchTemplatesLaunchTemplateArgs struct {
	// The created time of the launch template.
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// The default version of the launch template.
	DefaultVersionNumber pulumi.IntInput `pulumi:"defaultVersionNumber"`
	// The description of the instance.
	Description pulumi.StringInput `pulumi:"description"`
	// The EIP bandwidth which the scaling configuration set.
	EipBandwidth pulumi.IntInput `pulumi:"eipBandwidth"`
	// The EIP billing type which the scaling configuration set. Valid values: PostPaidByBandwidth, PostPaidByTraffic.
	EipBillingType pulumi.StringInput `pulumi:"eipBillingType"`
	// The EIP ISP which the scaling configuration set. Valid values: BGP, ChinaMobile, ChinaUnicom, ChinaTelecom.
	EipIsp pulumi.StringInput `pulumi:"eipIsp"`
	// The host name of the instance.
	HostName pulumi.StringInput `pulumi:"hostName"`
	// The hpc cluster id.
	HpcClusterId pulumi.StringInput `pulumi:"hpcClusterId"`
	// The id of the launch template.
	Id pulumi.StringInput `pulumi:"id"`
	// The image id.
	ImageId pulumi.StringInput `pulumi:"imageId"`
	// The charge type of the instance and volume.
	InstanceChargeType pulumi.StringInput `pulumi:"instanceChargeType"`
	// The name of the instance.
	InstanceName pulumi.StringInput `pulumi:"instanceName"`
	// When you log in to the instance using the SSH key pair, enter the name of the key pair.
	KeyPairName pulumi.StringInput `pulumi:"keyPairName"`
	// The latest version of the launch template.
	LatestVersionNumber pulumi.IntInput `pulumi:"latestVersionNumber"`
	// The id of the launch template.
	LaunchTemplateId pulumi.StringInput `pulumi:"launchTemplateId"`
	// The name of the launch template.
	LaunchTemplateName pulumi.StringInput `pulumi:"launchTemplateName"`
	// The list of network interfaces.
	NetworkInterfaces LaunchTemplatesLaunchTemplateNetworkInterfaceArrayInput `pulumi:"networkInterfaces"`
	// Whether to open the security reinforcement.
	SecurityEnhancementStrategy pulumi.StringInput `pulumi:"securityEnhancementStrategy"`
	// The index of the ordered suffix.
	SuffixIndex pulumi.IntInput `pulumi:"suffixIndex"`
	// Indicates whether the ordered suffix is automatically added to Hostname and InstanceName when multiple instances are created.
	UniqueSuffix pulumi.BoolInput `pulumi:"uniqueSuffix"`
	// The updated time of the launch template.
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
	// The latest version description of the launch template.
	VersionDescription pulumi.StringInput `pulumi:"versionDescription"`
	// The list of volume of the scaling configuration.
	Volumes LaunchTemplatesLaunchTemplateVolumeArrayInput `pulumi:"volumes"`
	// The vpc id.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// The zone ID of the instance.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (LaunchTemplatesLaunchTemplateArgs) ElementType

func (LaunchTemplatesLaunchTemplateArgs) ToLaunchTemplatesLaunchTemplateOutput

func (i LaunchTemplatesLaunchTemplateArgs) ToLaunchTemplatesLaunchTemplateOutput() LaunchTemplatesLaunchTemplateOutput

func (LaunchTemplatesLaunchTemplateArgs) ToLaunchTemplatesLaunchTemplateOutputWithContext

func (i LaunchTemplatesLaunchTemplateArgs) ToLaunchTemplatesLaunchTemplateOutputWithContext(ctx context.Context) LaunchTemplatesLaunchTemplateOutput

type LaunchTemplatesLaunchTemplateArray

type LaunchTemplatesLaunchTemplateArray []LaunchTemplatesLaunchTemplateInput

func (LaunchTemplatesLaunchTemplateArray) ElementType

func (LaunchTemplatesLaunchTemplateArray) ToLaunchTemplatesLaunchTemplateArrayOutput

func (i LaunchTemplatesLaunchTemplateArray) ToLaunchTemplatesLaunchTemplateArrayOutput() LaunchTemplatesLaunchTemplateArrayOutput

func (LaunchTemplatesLaunchTemplateArray) ToLaunchTemplatesLaunchTemplateArrayOutputWithContext

func (i LaunchTemplatesLaunchTemplateArray) ToLaunchTemplatesLaunchTemplateArrayOutputWithContext(ctx context.Context) LaunchTemplatesLaunchTemplateArrayOutput

type LaunchTemplatesLaunchTemplateArrayInput

type LaunchTemplatesLaunchTemplateArrayInput interface {
	pulumi.Input

	ToLaunchTemplatesLaunchTemplateArrayOutput() LaunchTemplatesLaunchTemplateArrayOutput
	ToLaunchTemplatesLaunchTemplateArrayOutputWithContext(context.Context) LaunchTemplatesLaunchTemplateArrayOutput
}

LaunchTemplatesLaunchTemplateArrayInput is an input type that accepts LaunchTemplatesLaunchTemplateArray and LaunchTemplatesLaunchTemplateArrayOutput values. You can construct a concrete instance of `LaunchTemplatesLaunchTemplateArrayInput` via:

LaunchTemplatesLaunchTemplateArray{ LaunchTemplatesLaunchTemplateArgs{...} }

type LaunchTemplatesLaunchTemplateArrayOutput

type LaunchTemplatesLaunchTemplateArrayOutput struct{ *pulumi.OutputState }

func (LaunchTemplatesLaunchTemplateArrayOutput) ElementType

func (LaunchTemplatesLaunchTemplateArrayOutput) Index

func (LaunchTemplatesLaunchTemplateArrayOutput) ToLaunchTemplatesLaunchTemplateArrayOutput

func (o LaunchTemplatesLaunchTemplateArrayOutput) ToLaunchTemplatesLaunchTemplateArrayOutput() LaunchTemplatesLaunchTemplateArrayOutput

func (LaunchTemplatesLaunchTemplateArrayOutput) ToLaunchTemplatesLaunchTemplateArrayOutputWithContext

func (o LaunchTemplatesLaunchTemplateArrayOutput) ToLaunchTemplatesLaunchTemplateArrayOutputWithContext(ctx context.Context) LaunchTemplatesLaunchTemplateArrayOutput

type LaunchTemplatesLaunchTemplateInput

type LaunchTemplatesLaunchTemplateInput interface {
	pulumi.Input

	ToLaunchTemplatesLaunchTemplateOutput() LaunchTemplatesLaunchTemplateOutput
	ToLaunchTemplatesLaunchTemplateOutputWithContext(context.Context) LaunchTemplatesLaunchTemplateOutput
}

LaunchTemplatesLaunchTemplateInput is an input type that accepts LaunchTemplatesLaunchTemplateArgs and LaunchTemplatesLaunchTemplateOutput values. You can construct a concrete instance of `LaunchTemplatesLaunchTemplateInput` via:

LaunchTemplatesLaunchTemplateArgs{...}

type LaunchTemplatesLaunchTemplateNetworkInterface

type LaunchTemplatesLaunchTemplateNetworkInterface struct {
	// The security group ID associated with the NIC.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// The private network subnet ID of the instance, when creating the instance, supports binding the secondary NIC at the same time.
	SubnetId string `pulumi:"subnetId"`
}

type LaunchTemplatesLaunchTemplateNetworkInterfaceArgs

type LaunchTemplatesLaunchTemplateNetworkInterfaceArgs struct {
	// The security group ID associated with the NIC.
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	// The private network subnet ID of the instance, when creating the instance, supports binding the secondary NIC at the same time.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
}

func (LaunchTemplatesLaunchTemplateNetworkInterfaceArgs) ElementType

func (LaunchTemplatesLaunchTemplateNetworkInterfaceArgs) ToLaunchTemplatesLaunchTemplateNetworkInterfaceOutput

func (i LaunchTemplatesLaunchTemplateNetworkInterfaceArgs) ToLaunchTemplatesLaunchTemplateNetworkInterfaceOutput() LaunchTemplatesLaunchTemplateNetworkInterfaceOutput

func (LaunchTemplatesLaunchTemplateNetworkInterfaceArgs) ToLaunchTemplatesLaunchTemplateNetworkInterfaceOutputWithContext

func (i LaunchTemplatesLaunchTemplateNetworkInterfaceArgs) ToLaunchTemplatesLaunchTemplateNetworkInterfaceOutputWithContext(ctx context.Context) LaunchTemplatesLaunchTemplateNetworkInterfaceOutput

type LaunchTemplatesLaunchTemplateNetworkInterfaceArray

type LaunchTemplatesLaunchTemplateNetworkInterfaceArray []LaunchTemplatesLaunchTemplateNetworkInterfaceInput

func (LaunchTemplatesLaunchTemplateNetworkInterfaceArray) ElementType

func (LaunchTemplatesLaunchTemplateNetworkInterfaceArray) ToLaunchTemplatesLaunchTemplateNetworkInterfaceArrayOutput

func (i LaunchTemplatesLaunchTemplateNetworkInterfaceArray) ToLaunchTemplatesLaunchTemplateNetworkInterfaceArrayOutput() LaunchTemplatesLaunchTemplateNetworkInterfaceArrayOutput

func (LaunchTemplatesLaunchTemplateNetworkInterfaceArray) ToLaunchTemplatesLaunchTemplateNetworkInterfaceArrayOutputWithContext

func (i LaunchTemplatesLaunchTemplateNetworkInterfaceArray) ToLaunchTemplatesLaunchTemplateNetworkInterfaceArrayOutputWithContext(ctx context.Context) LaunchTemplatesLaunchTemplateNetworkInterfaceArrayOutput

type LaunchTemplatesLaunchTemplateNetworkInterfaceArrayInput

type LaunchTemplatesLaunchTemplateNetworkInterfaceArrayInput interface {
	pulumi.Input

	ToLaunchTemplatesLaunchTemplateNetworkInterfaceArrayOutput() LaunchTemplatesLaunchTemplateNetworkInterfaceArrayOutput
	ToLaunchTemplatesLaunchTemplateNetworkInterfaceArrayOutputWithContext(context.Context) LaunchTemplatesLaunchTemplateNetworkInterfaceArrayOutput
}

LaunchTemplatesLaunchTemplateNetworkInterfaceArrayInput is an input type that accepts LaunchTemplatesLaunchTemplateNetworkInterfaceArray and LaunchTemplatesLaunchTemplateNetworkInterfaceArrayOutput values. You can construct a concrete instance of `LaunchTemplatesLaunchTemplateNetworkInterfaceArrayInput` via:

LaunchTemplatesLaunchTemplateNetworkInterfaceArray{ LaunchTemplatesLaunchTemplateNetworkInterfaceArgs{...} }

type LaunchTemplatesLaunchTemplateNetworkInterfaceArrayOutput

type LaunchTemplatesLaunchTemplateNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }

func (LaunchTemplatesLaunchTemplateNetworkInterfaceArrayOutput) ElementType

func (LaunchTemplatesLaunchTemplateNetworkInterfaceArrayOutput) Index

func (LaunchTemplatesLaunchTemplateNetworkInterfaceArrayOutput) ToLaunchTemplatesLaunchTemplateNetworkInterfaceArrayOutput

func (LaunchTemplatesLaunchTemplateNetworkInterfaceArrayOutput) ToLaunchTemplatesLaunchTemplateNetworkInterfaceArrayOutputWithContext

func (o LaunchTemplatesLaunchTemplateNetworkInterfaceArrayOutput) ToLaunchTemplatesLaunchTemplateNetworkInterfaceArrayOutputWithContext(ctx context.Context) LaunchTemplatesLaunchTemplateNetworkInterfaceArrayOutput

type LaunchTemplatesLaunchTemplateNetworkInterfaceInput

type LaunchTemplatesLaunchTemplateNetworkInterfaceInput interface {
	pulumi.Input

	ToLaunchTemplatesLaunchTemplateNetworkInterfaceOutput() LaunchTemplatesLaunchTemplateNetworkInterfaceOutput
	ToLaunchTemplatesLaunchTemplateNetworkInterfaceOutputWithContext(context.Context) LaunchTemplatesLaunchTemplateNetworkInterfaceOutput
}

LaunchTemplatesLaunchTemplateNetworkInterfaceInput is an input type that accepts LaunchTemplatesLaunchTemplateNetworkInterfaceArgs and LaunchTemplatesLaunchTemplateNetworkInterfaceOutput values. You can construct a concrete instance of `LaunchTemplatesLaunchTemplateNetworkInterfaceInput` via:

LaunchTemplatesLaunchTemplateNetworkInterfaceArgs{...}

type LaunchTemplatesLaunchTemplateNetworkInterfaceOutput

type LaunchTemplatesLaunchTemplateNetworkInterfaceOutput struct{ *pulumi.OutputState }

func (LaunchTemplatesLaunchTemplateNetworkInterfaceOutput) ElementType

func (LaunchTemplatesLaunchTemplateNetworkInterfaceOutput) SecurityGroupIds

The security group ID associated with the NIC.

func (LaunchTemplatesLaunchTemplateNetworkInterfaceOutput) SubnetId

The private network subnet ID of the instance, when creating the instance, supports binding the secondary NIC at the same time.

func (LaunchTemplatesLaunchTemplateNetworkInterfaceOutput) ToLaunchTemplatesLaunchTemplateNetworkInterfaceOutput

func (o LaunchTemplatesLaunchTemplateNetworkInterfaceOutput) ToLaunchTemplatesLaunchTemplateNetworkInterfaceOutput() LaunchTemplatesLaunchTemplateNetworkInterfaceOutput

func (LaunchTemplatesLaunchTemplateNetworkInterfaceOutput) ToLaunchTemplatesLaunchTemplateNetworkInterfaceOutputWithContext

func (o LaunchTemplatesLaunchTemplateNetworkInterfaceOutput) ToLaunchTemplatesLaunchTemplateNetworkInterfaceOutputWithContext(ctx context.Context) LaunchTemplatesLaunchTemplateNetworkInterfaceOutput

type LaunchTemplatesLaunchTemplateOutput

type LaunchTemplatesLaunchTemplateOutput struct{ *pulumi.OutputState }

func (LaunchTemplatesLaunchTemplateOutput) CreatedAt

The created time of the launch template.

func (LaunchTemplatesLaunchTemplateOutput) DefaultVersionNumber

func (o LaunchTemplatesLaunchTemplateOutput) DefaultVersionNumber() pulumi.IntOutput

The default version of the launch template.

func (LaunchTemplatesLaunchTemplateOutput) Description

The description of the instance.

func (LaunchTemplatesLaunchTemplateOutput) EipBandwidth

The EIP bandwidth which the scaling configuration set.

func (LaunchTemplatesLaunchTemplateOutput) EipBillingType

The EIP billing type which the scaling configuration set. Valid values: PostPaidByBandwidth, PostPaidByTraffic.

func (LaunchTemplatesLaunchTemplateOutput) EipIsp

The EIP ISP which the scaling configuration set. Valid values: BGP, ChinaMobile, ChinaUnicom, ChinaTelecom.

func (LaunchTemplatesLaunchTemplateOutput) ElementType

func (LaunchTemplatesLaunchTemplateOutput) HostName

The host name of the instance.

func (LaunchTemplatesLaunchTemplateOutput) HpcClusterId

The hpc cluster id.

func (LaunchTemplatesLaunchTemplateOutput) Id

The id of the launch template.

func (LaunchTemplatesLaunchTemplateOutput) ImageId

The image id.

func (LaunchTemplatesLaunchTemplateOutput) InstanceChargeType

The charge type of the instance and volume.

func (LaunchTemplatesLaunchTemplateOutput) InstanceName

The name of the instance.

func (LaunchTemplatesLaunchTemplateOutput) KeyPairName

When you log in to the instance using the SSH key pair, enter the name of the key pair.

func (LaunchTemplatesLaunchTemplateOutput) LatestVersionNumber

func (o LaunchTemplatesLaunchTemplateOutput) LatestVersionNumber() pulumi.IntOutput

The latest version of the launch template.

func (LaunchTemplatesLaunchTemplateOutput) LaunchTemplateId

The id of the launch template.

func (LaunchTemplatesLaunchTemplateOutput) LaunchTemplateName

The name of the launch template.

func (LaunchTemplatesLaunchTemplateOutput) NetworkInterfaces

The list of network interfaces.

func (LaunchTemplatesLaunchTemplateOutput) SecurityEnhancementStrategy

func (o LaunchTemplatesLaunchTemplateOutput) SecurityEnhancementStrategy() pulumi.StringOutput

Whether to open the security reinforcement.

func (LaunchTemplatesLaunchTemplateOutput) SuffixIndex

The index of the ordered suffix.

func (LaunchTemplatesLaunchTemplateOutput) ToLaunchTemplatesLaunchTemplateOutput

func (o LaunchTemplatesLaunchTemplateOutput) ToLaunchTemplatesLaunchTemplateOutput() LaunchTemplatesLaunchTemplateOutput

func (LaunchTemplatesLaunchTemplateOutput) ToLaunchTemplatesLaunchTemplateOutputWithContext

func (o LaunchTemplatesLaunchTemplateOutput) ToLaunchTemplatesLaunchTemplateOutputWithContext(ctx context.Context) LaunchTemplatesLaunchTemplateOutput

func (LaunchTemplatesLaunchTemplateOutput) UniqueSuffix

Indicates whether the ordered suffix is automatically added to Hostname and InstanceName when multiple instances are created.

func (LaunchTemplatesLaunchTemplateOutput) UpdatedAt

The updated time of the launch template.

func (LaunchTemplatesLaunchTemplateOutput) VersionDescription

The latest version description of the launch template.

func (LaunchTemplatesLaunchTemplateOutput) Volumes

The list of volume of the scaling configuration.

func (LaunchTemplatesLaunchTemplateOutput) VpcId

The vpc id.

func (LaunchTemplatesLaunchTemplateOutput) ZoneId

The zone ID of the instance.

type LaunchTemplatesLaunchTemplateVolume

type LaunchTemplatesLaunchTemplateVolume struct {
	// The delete with instance flag of volume. Valid values: true, false. Default value: true.
	DeleteWithInstance bool `pulumi:"deleteWithInstance"`
	// The size of volume.
	Size int `pulumi:"size"`
	// The type of volume.
	VolumeType string `pulumi:"volumeType"`
}

type LaunchTemplatesLaunchTemplateVolumeArgs

type LaunchTemplatesLaunchTemplateVolumeArgs struct {
	// The delete with instance flag of volume. Valid values: true, false. Default value: true.
	DeleteWithInstance pulumi.BoolInput `pulumi:"deleteWithInstance"`
	// The size of volume.
	Size pulumi.IntInput `pulumi:"size"`
	// The type of volume.
	VolumeType pulumi.StringInput `pulumi:"volumeType"`
}

func (LaunchTemplatesLaunchTemplateVolumeArgs) ElementType

func (LaunchTemplatesLaunchTemplateVolumeArgs) ToLaunchTemplatesLaunchTemplateVolumeOutput

func (i LaunchTemplatesLaunchTemplateVolumeArgs) ToLaunchTemplatesLaunchTemplateVolumeOutput() LaunchTemplatesLaunchTemplateVolumeOutput

func (LaunchTemplatesLaunchTemplateVolumeArgs) ToLaunchTemplatesLaunchTemplateVolumeOutputWithContext

func (i LaunchTemplatesLaunchTemplateVolumeArgs) ToLaunchTemplatesLaunchTemplateVolumeOutputWithContext(ctx context.Context) LaunchTemplatesLaunchTemplateVolumeOutput

type LaunchTemplatesLaunchTemplateVolumeArray

type LaunchTemplatesLaunchTemplateVolumeArray []LaunchTemplatesLaunchTemplateVolumeInput

func (LaunchTemplatesLaunchTemplateVolumeArray) ElementType

func (LaunchTemplatesLaunchTemplateVolumeArray) ToLaunchTemplatesLaunchTemplateVolumeArrayOutput

func (i LaunchTemplatesLaunchTemplateVolumeArray) ToLaunchTemplatesLaunchTemplateVolumeArrayOutput() LaunchTemplatesLaunchTemplateVolumeArrayOutput

func (LaunchTemplatesLaunchTemplateVolumeArray) ToLaunchTemplatesLaunchTemplateVolumeArrayOutputWithContext

func (i LaunchTemplatesLaunchTemplateVolumeArray) ToLaunchTemplatesLaunchTemplateVolumeArrayOutputWithContext(ctx context.Context) LaunchTemplatesLaunchTemplateVolumeArrayOutput

type LaunchTemplatesLaunchTemplateVolumeArrayInput

type LaunchTemplatesLaunchTemplateVolumeArrayInput interface {
	pulumi.Input

	ToLaunchTemplatesLaunchTemplateVolumeArrayOutput() LaunchTemplatesLaunchTemplateVolumeArrayOutput
	ToLaunchTemplatesLaunchTemplateVolumeArrayOutputWithContext(context.Context) LaunchTemplatesLaunchTemplateVolumeArrayOutput
}

LaunchTemplatesLaunchTemplateVolumeArrayInput is an input type that accepts LaunchTemplatesLaunchTemplateVolumeArray and LaunchTemplatesLaunchTemplateVolumeArrayOutput values. You can construct a concrete instance of `LaunchTemplatesLaunchTemplateVolumeArrayInput` via:

LaunchTemplatesLaunchTemplateVolumeArray{ LaunchTemplatesLaunchTemplateVolumeArgs{...} }

type LaunchTemplatesLaunchTemplateVolumeArrayOutput

type LaunchTemplatesLaunchTemplateVolumeArrayOutput struct{ *pulumi.OutputState }

func (LaunchTemplatesLaunchTemplateVolumeArrayOutput) ElementType

func (LaunchTemplatesLaunchTemplateVolumeArrayOutput) Index

func (LaunchTemplatesLaunchTemplateVolumeArrayOutput) ToLaunchTemplatesLaunchTemplateVolumeArrayOutput

func (o LaunchTemplatesLaunchTemplateVolumeArrayOutput) ToLaunchTemplatesLaunchTemplateVolumeArrayOutput() LaunchTemplatesLaunchTemplateVolumeArrayOutput

func (LaunchTemplatesLaunchTemplateVolumeArrayOutput) ToLaunchTemplatesLaunchTemplateVolumeArrayOutputWithContext

func (o LaunchTemplatesLaunchTemplateVolumeArrayOutput) ToLaunchTemplatesLaunchTemplateVolumeArrayOutputWithContext(ctx context.Context) LaunchTemplatesLaunchTemplateVolumeArrayOutput

type LaunchTemplatesLaunchTemplateVolumeInput

type LaunchTemplatesLaunchTemplateVolumeInput interface {
	pulumi.Input

	ToLaunchTemplatesLaunchTemplateVolumeOutput() LaunchTemplatesLaunchTemplateVolumeOutput
	ToLaunchTemplatesLaunchTemplateVolumeOutputWithContext(context.Context) LaunchTemplatesLaunchTemplateVolumeOutput
}

LaunchTemplatesLaunchTemplateVolumeInput is an input type that accepts LaunchTemplatesLaunchTemplateVolumeArgs and LaunchTemplatesLaunchTemplateVolumeOutput values. You can construct a concrete instance of `LaunchTemplatesLaunchTemplateVolumeInput` via:

LaunchTemplatesLaunchTemplateVolumeArgs{...}

type LaunchTemplatesLaunchTemplateVolumeOutput

type LaunchTemplatesLaunchTemplateVolumeOutput struct{ *pulumi.OutputState }

func (LaunchTemplatesLaunchTemplateVolumeOutput) DeleteWithInstance

The delete with instance flag of volume. Valid values: true, false. Default value: true.

func (LaunchTemplatesLaunchTemplateVolumeOutput) ElementType

func (LaunchTemplatesLaunchTemplateVolumeOutput) Size

The size of volume.

func (LaunchTemplatesLaunchTemplateVolumeOutput) ToLaunchTemplatesLaunchTemplateVolumeOutput

func (o LaunchTemplatesLaunchTemplateVolumeOutput) ToLaunchTemplatesLaunchTemplateVolumeOutput() LaunchTemplatesLaunchTemplateVolumeOutput

func (LaunchTemplatesLaunchTemplateVolumeOutput) ToLaunchTemplatesLaunchTemplateVolumeOutputWithContext

func (o LaunchTemplatesLaunchTemplateVolumeOutput) ToLaunchTemplatesLaunchTemplateVolumeOutputWithContext(ctx context.Context) LaunchTemplatesLaunchTemplateVolumeOutput

func (LaunchTemplatesLaunchTemplateVolumeOutput) VolumeType

The type of volume.

type LaunchTemplatesOutputArgs

type LaunchTemplatesOutputArgs struct {
	// A list of launch template ids.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A list of launch template names.
	LaunchTemplateNames pulumi.StringArrayInput `pulumi:"launchTemplateNames"`
	// A Name Regex of scaling policy.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking LaunchTemplates.

func (LaunchTemplatesOutputArgs) ElementType

func (LaunchTemplatesOutputArgs) ElementType() reflect.Type

type LaunchTemplatesResult

type LaunchTemplatesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id                  string   `pulumi:"id"`
	Ids                 []string `pulumi:"ids"`
	LaunchTemplateNames []string `pulumi:"launchTemplateNames"`
	// The collection of launch templates.
	LaunchTemplates []LaunchTemplatesLaunchTemplate `pulumi:"launchTemplates"`
	NameRegex       *string                         `pulumi:"nameRegex"`
	OutputFile      *string                         `pulumi:"outputFile"`
	// The total count of scaling policy query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by LaunchTemplates.

func LaunchTemplates

func LaunchTemplates(ctx *pulumi.Context, args *LaunchTemplatesArgs, opts ...pulumi.InvokeOption) (*LaunchTemplatesResult, error)

Use this data source to query detailed information of ecs launch templates ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooLaunchTemplate, err := ecs.NewLaunchTemplate(ctx, "fooLaunchTemplate", &ecs.LaunchTemplateArgs{
			Description:        pulumi.String("acc-test-desc"),
			EipBandwidth:       pulumi.Int(1),
			EipBillingType:     pulumi.String("PostPaidByBandwidth"),
			EipIsp:             pulumi.String("ChinaMobile"),
			HostName:           pulumi.String("tf-host-name"),
			HpcClusterId:       pulumi.String("hpcCluster-l8u24ovdmoab6opf"),
			ImageId:            pulumi.String("image-ycjwwciuzy5pkh54xx8f"),
			InstanceChargeType: pulumi.String("PostPaid"),
			InstanceName:       pulumi.String("tf-acc-name"),
			InstanceTypeId:     pulumi.String("ecs.g1.large"),
			KeyPairName:        pulumi.String("tf-key-pair"),
			LaunchTemplateName: pulumi.String("tf-acc-template"),
		})
		if err != nil {
			return err
		}
		_ = ecs.LaunchTemplatesOutput(ctx, ecs.LaunchTemplatesOutputArgs{
			Ids: pulumi.StringArray{
				fooLaunchTemplate.ID(),
			},
		}, nil)
		return nil
	})
}

```

type LaunchTemplatesResultOutput

type LaunchTemplatesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by LaunchTemplates.

func (LaunchTemplatesResultOutput) ElementType

func (LaunchTemplatesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LaunchTemplatesResultOutput) Ids

func (LaunchTemplatesResultOutput) LaunchTemplateNames

func (o LaunchTemplatesResultOutput) LaunchTemplateNames() pulumi.StringArrayOutput

func (LaunchTemplatesResultOutput) LaunchTemplates

The collection of launch templates.

func (LaunchTemplatesResultOutput) NameRegex

func (LaunchTemplatesResultOutput) OutputFile

func (LaunchTemplatesResultOutput) ToLaunchTemplatesResultOutput

func (o LaunchTemplatesResultOutput) ToLaunchTemplatesResultOutput() LaunchTemplatesResultOutput

func (LaunchTemplatesResultOutput) ToLaunchTemplatesResultOutputWithContext

func (o LaunchTemplatesResultOutput) ToLaunchTemplatesResultOutputWithContext(ctx context.Context) LaunchTemplatesResultOutput

func (LaunchTemplatesResultOutput) TotalCount

The total count of scaling policy query.

type RegionsArgs added in v0.0.18

type RegionsArgs struct {
	// A list of region ids.
	Ids []string `pulumi:"ids"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking Regions.

type RegionsOutputArgs added in v0.0.18

type RegionsOutputArgs struct {
	// A list of region ids.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking Regions.

func (RegionsOutputArgs) ElementType added in v0.0.18

func (RegionsOutputArgs) ElementType() reflect.Type

type RegionsRegion added in v0.0.18

type RegionsRegion struct {
	// The id of the region.
	Id string `pulumi:"id"`
	// The id of the region.
	RegionId string `pulumi:"regionId"`
}

type RegionsRegionArgs added in v0.0.18

type RegionsRegionArgs struct {
	// The id of the region.
	Id pulumi.StringInput `pulumi:"id"`
	// The id of the region.
	RegionId pulumi.StringInput `pulumi:"regionId"`
}

func (RegionsRegionArgs) ElementType added in v0.0.18

func (RegionsRegionArgs) ElementType() reflect.Type

func (RegionsRegionArgs) ToRegionsRegionOutput added in v0.0.18

func (i RegionsRegionArgs) ToRegionsRegionOutput() RegionsRegionOutput

func (RegionsRegionArgs) ToRegionsRegionOutputWithContext added in v0.0.18

func (i RegionsRegionArgs) ToRegionsRegionOutputWithContext(ctx context.Context) RegionsRegionOutput

type RegionsRegionArray added in v0.0.18

type RegionsRegionArray []RegionsRegionInput

func (RegionsRegionArray) ElementType added in v0.0.18

func (RegionsRegionArray) ElementType() reflect.Type

func (RegionsRegionArray) ToRegionsRegionArrayOutput added in v0.0.18

func (i RegionsRegionArray) ToRegionsRegionArrayOutput() RegionsRegionArrayOutput

func (RegionsRegionArray) ToRegionsRegionArrayOutputWithContext added in v0.0.18

func (i RegionsRegionArray) ToRegionsRegionArrayOutputWithContext(ctx context.Context) RegionsRegionArrayOutput

type RegionsRegionArrayInput added in v0.0.18

type RegionsRegionArrayInput interface {
	pulumi.Input

	ToRegionsRegionArrayOutput() RegionsRegionArrayOutput
	ToRegionsRegionArrayOutputWithContext(context.Context) RegionsRegionArrayOutput
}

RegionsRegionArrayInput is an input type that accepts RegionsRegionArray and RegionsRegionArrayOutput values. You can construct a concrete instance of `RegionsRegionArrayInput` via:

RegionsRegionArray{ RegionsRegionArgs{...} }

type RegionsRegionArrayOutput added in v0.0.18

type RegionsRegionArrayOutput struct{ *pulumi.OutputState }

func (RegionsRegionArrayOutput) ElementType added in v0.0.18

func (RegionsRegionArrayOutput) ElementType() reflect.Type

func (RegionsRegionArrayOutput) Index added in v0.0.18

func (RegionsRegionArrayOutput) ToRegionsRegionArrayOutput added in v0.0.18

func (o RegionsRegionArrayOutput) ToRegionsRegionArrayOutput() RegionsRegionArrayOutput

func (RegionsRegionArrayOutput) ToRegionsRegionArrayOutputWithContext added in v0.0.18

func (o RegionsRegionArrayOutput) ToRegionsRegionArrayOutputWithContext(ctx context.Context) RegionsRegionArrayOutput

type RegionsRegionInput added in v0.0.18

type RegionsRegionInput interface {
	pulumi.Input

	ToRegionsRegionOutput() RegionsRegionOutput
	ToRegionsRegionOutputWithContext(context.Context) RegionsRegionOutput
}

RegionsRegionInput is an input type that accepts RegionsRegionArgs and RegionsRegionOutput values. You can construct a concrete instance of `RegionsRegionInput` via:

RegionsRegionArgs{...}

type RegionsRegionOutput added in v0.0.18

type RegionsRegionOutput struct{ *pulumi.OutputState }

func (RegionsRegionOutput) ElementType added in v0.0.18

func (RegionsRegionOutput) ElementType() reflect.Type

func (RegionsRegionOutput) Id added in v0.0.18

The id of the region.

func (RegionsRegionOutput) RegionId added in v0.0.18

The id of the region.

func (RegionsRegionOutput) ToRegionsRegionOutput added in v0.0.18

func (o RegionsRegionOutput) ToRegionsRegionOutput() RegionsRegionOutput

func (RegionsRegionOutput) ToRegionsRegionOutputWithContext added in v0.0.18

func (o RegionsRegionOutput) ToRegionsRegionOutputWithContext(ctx context.Context) RegionsRegionOutput

type RegionsResult added in v0.0.18

type RegionsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The collection of region query.
	Regions []RegionsRegion `pulumi:"regions"`
	// The total count of region query.
	TotalCount int `pulumi:"totalCount"`
}

A collection of values returned by Regions.

func Regions added in v0.0.18

func Regions(ctx *pulumi.Context, args *RegionsArgs, opts ...pulumi.InvokeOption) (*RegionsResult, error)

Use this data source to query detailed information of regions ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.Regions(ctx, &ecs.RegionsArgs{
			Ids: []string{
				"cn-beijing",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type RegionsResultOutput added in v0.0.18

type RegionsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Regions.

func RegionsOutput added in v0.0.18

func RegionsOutput(ctx *pulumi.Context, args RegionsOutputArgs, opts ...pulumi.InvokeOption) RegionsResultOutput

func (RegionsResultOutput) ElementType added in v0.0.18

func (RegionsResultOutput) ElementType() reflect.Type

func (RegionsResultOutput) Id added in v0.0.18

The provider-assigned unique ID for this managed resource.

func (RegionsResultOutput) Ids added in v0.0.18

func (RegionsResultOutput) OutputFile added in v0.0.18

func (RegionsResultOutput) Regions added in v0.0.18

The collection of region query.

func (RegionsResultOutput) ToRegionsResultOutput added in v0.0.18

func (o RegionsResultOutput) ToRegionsResultOutput() RegionsResultOutput

func (RegionsResultOutput) ToRegionsResultOutputWithContext added in v0.0.18

func (o RegionsResultOutput) ToRegionsResultOutputWithContext(ctx context.Context) RegionsResultOutput

func (RegionsResultOutput) TotalCount added in v0.0.18

func (o RegionsResultOutput) TotalCount() pulumi.IntOutput

The total count of region query.

type State

type State struct {
	pulumi.CustomResourceState

	// Start or Stop of Instance Action, the value can be `Start`, `Stop` or `ForceStop`.
	Action pulumi.StringOutput `pulumi:"action"`
	// Id of Instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// Status of Instance.
	Status pulumi.StringOutput `pulumi:"status"`
	// Stop Mode of Instance, the value can be `KeepCharging` or `StopCharging`, default `KeepCharging`.
	StoppedMode pulumi.StringPtrOutput `pulumi:"stoppedMode"`
}

Provides a resource to manage ecs instance state ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooZones, err := ecs.Zones(ctx, nil, nil)
		if err != nil {
			return err
		}
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     *pulumi.String(fooZones.Zones[0].Id),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooSecurityGroup, err := vpc.NewSecurityGroup(ctx, "fooSecurityGroup", &vpc.SecurityGroupArgs{
			SecurityGroupName: pulumi.String("acc-test-security-group"),
			VpcId:             fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooImages, err := ecs.Images(ctx, &ecs.ImagesArgs{
			OsType:         pulumi.StringRef("Linux"),
			Visibility:     pulumi.StringRef("public"),
			InstanceTypeId: pulumi.StringRef("ecs.g1.large"),
		}, nil)
		if err != nil {
			return err
		}
		fooInstance, err := ecs.NewInstance(ctx, "fooInstance", &ecs.InstanceArgs{
			InstanceName:       pulumi.String("acc-test-ecs"),
			ImageId:            *pulumi.String(fooImages.Images[0].ImageId),
			InstanceType:       pulumi.String("ecs.g1.large"),
			Password:           pulumi.String("93f0cb0614Aab12"),
			InstanceChargeType: pulumi.String("PostPaid"),
			SystemVolumeType:   pulumi.String("ESSD_PL0"),
			SystemVolumeSize:   pulumi.Int(40),
			SubnetId:           fooSubnet.ID(),
			SecurityGroupIds: pulumi.StringArray{
				fooSecurityGroup.ID(),
			},
		})
		if err != nil {
			return err
		}
		_, err = ecs.NewState(ctx, "fooState", &ecs.StateArgs{
			InstanceId:  fooInstance.ID(),
			Action:      pulumi.String("Stop"),
			StoppedMode: pulumi.String("KeepCharging"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

State Instance can be imported using the id, e.g.

```sh

$ pulumi import volcengine:ecs/state:State default state:i-mizl7m1kqccg5smt1bdpijuj

```

func GetState

func GetState(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StateState, opts ...pulumi.ResourceOption) (*State, error)

GetState gets an existing State 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 NewState

func NewState(ctx *pulumi.Context,
	name string, args *StateArgs, opts ...pulumi.ResourceOption) (*State, error)

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

func (*State) ElementType

func (*State) ElementType() reflect.Type

func (*State) ToStateOutput

func (i *State) ToStateOutput() StateOutput

func (*State) ToStateOutputWithContext

func (i *State) ToStateOutputWithContext(ctx context.Context) StateOutput

type StateArgs

type StateArgs struct {
	// Start or Stop of Instance Action, the value can be `Start`, `Stop` or `ForceStop`.
	Action pulumi.StringInput
	// Id of Instance.
	InstanceId pulumi.StringInput
	// Stop Mode of Instance, the value can be `KeepCharging` or `StopCharging`, default `KeepCharging`.
	StoppedMode pulumi.StringPtrInput
}

The set of arguments for constructing a State resource.

func (StateArgs) ElementType

func (StateArgs) ElementType() reflect.Type

type StateArray

type StateArray []StateInput

func (StateArray) ElementType

func (StateArray) ElementType() reflect.Type

func (StateArray) ToStateArrayOutput

func (i StateArray) ToStateArrayOutput() StateArrayOutput

func (StateArray) ToStateArrayOutputWithContext

func (i StateArray) ToStateArrayOutputWithContext(ctx context.Context) StateArrayOutput

type StateArrayInput

type StateArrayInput interface {
	pulumi.Input

	ToStateArrayOutput() StateArrayOutput
	ToStateArrayOutputWithContext(context.Context) StateArrayOutput
}

StateArrayInput is an input type that accepts StateArray and StateArrayOutput values. You can construct a concrete instance of `StateArrayInput` via:

StateArray{ StateArgs{...} }

type StateArrayOutput

type StateArrayOutput struct{ *pulumi.OutputState }

func (StateArrayOutput) ElementType

func (StateArrayOutput) ElementType() reflect.Type

func (StateArrayOutput) Index

func (StateArrayOutput) ToStateArrayOutput

func (o StateArrayOutput) ToStateArrayOutput() StateArrayOutput

func (StateArrayOutput) ToStateArrayOutputWithContext

func (o StateArrayOutput) ToStateArrayOutputWithContext(ctx context.Context) StateArrayOutput

type StateInput

type StateInput interface {
	pulumi.Input

	ToStateOutput() StateOutput
	ToStateOutputWithContext(ctx context.Context) StateOutput
}

type StateMap

type StateMap map[string]StateInput

func (StateMap) ElementType

func (StateMap) ElementType() reflect.Type

func (StateMap) ToStateMapOutput

func (i StateMap) ToStateMapOutput() StateMapOutput

func (StateMap) ToStateMapOutputWithContext

func (i StateMap) ToStateMapOutputWithContext(ctx context.Context) StateMapOutput

type StateMapInput

type StateMapInput interface {
	pulumi.Input

	ToStateMapOutput() StateMapOutput
	ToStateMapOutputWithContext(context.Context) StateMapOutput
}

StateMapInput is an input type that accepts StateMap and StateMapOutput values. You can construct a concrete instance of `StateMapInput` via:

StateMap{ "key": StateArgs{...} }

type StateMapOutput

type StateMapOutput struct{ *pulumi.OutputState }

func (StateMapOutput) ElementType

func (StateMapOutput) ElementType() reflect.Type

func (StateMapOutput) MapIndex

func (StateMapOutput) ToStateMapOutput

func (o StateMapOutput) ToStateMapOutput() StateMapOutput

func (StateMapOutput) ToStateMapOutputWithContext

func (o StateMapOutput) ToStateMapOutputWithContext(ctx context.Context) StateMapOutput

type StateOutput

type StateOutput struct{ *pulumi.OutputState }

func (StateOutput) Action

func (o StateOutput) Action() pulumi.StringOutput

Start or Stop of Instance Action, the value can be `Start`, `Stop` or `ForceStop`.

func (StateOutput) ElementType

func (StateOutput) ElementType() reflect.Type

func (StateOutput) InstanceId

func (o StateOutput) InstanceId() pulumi.StringOutput

Id of Instance.

func (StateOutput) Status

func (o StateOutput) Status() pulumi.StringOutput

Status of Instance.

func (StateOutput) StoppedMode

func (o StateOutput) StoppedMode() pulumi.StringPtrOutput

Stop Mode of Instance, the value can be `KeepCharging` or `StopCharging`, default `KeepCharging`.

func (StateOutput) ToStateOutput

func (o StateOutput) ToStateOutput() StateOutput

func (StateOutput) ToStateOutputWithContext

func (o StateOutput) ToStateOutputWithContext(ctx context.Context) StateOutput

type StateState

type StateState struct {
	// Start or Stop of Instance Action, the value can be `Start`, `Stop` or `ForceStop`.
	Action pulumi.StringPtrInput
	// Id of Instance.
	InstanceId pulumi.StringPtrInput
	// Status of Instance.
	Status pulumi.StringPtrInput
	// Stop Mode of Instance, the value can be `KeepCharging` or `StopCharging`, default `KeepCharging`.
	StoppedMode pulumi.StringPtrInput
}

func (StateState) ElementType

func (StateState) ElementType() reflect.Type

type ZonesArgs

type ZonesArgs struct {
	// A list of zone ids.
	Ids []string `pulumi:"ids"`
	// File name where to save data source results.
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking Zones.

type ZonesOutputArgs

type ZonesOutputArgs struct {
	// A list of zone ids.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// File name where to save data source results.
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking Zones.

func (ZonesOutputArgs) ElementType

func (ZonesOutputArgs) ElementType() reflect.Type

type ZonesResult

type ZonesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The total count of zone query.
	TotalCount int `pulumi:"totalCount"`
	// The collection of zone query.
	Zones []ZonesZone `pulumi:"zones"`
}

A collection of values returned by Zones.

func Zones

func Zones(ctx *pulumi.Context, args *ZonesArgs, opts ...pulumi.InvokeOption) (*ZonesResult, error)

Use this data source to query detailed information of zones ## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ecs.Zones(ctx, &ecs.ZonesArgs{
			Ids: []string{
				"cn-beijing-a",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type ZonesResultOutput

type ZonesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by Zones.

func ZonesOutput

func ZonesOutput(ctx *pulumi.Context, args ZonesOutputArgs, opts ...pulumi.InvokeOption) ZonesResultOutput

func (ZonesResultOutput) ElementType

func (ZonesResultOutput) ElementType() reflect.Type

func (ZonesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (ZonesResultOutput) Ids

func (ZonesResultOutput) OutputFile

func (o ZonesResultOutput) OutputFile() pulumi.StringPtrOutput

func (ZonesResultOutput) ToZonesResultOutput

func (o ZonesResultOutput) ToZonesResultOutput() ZonesResultOutput

func (ZonesResultOutput) ToZonesResultOutputWithContext

func (o ZonesResultOutput) ToZonesResultOutputWithContext(ctx context.Context) ZonesResultOutput

func (ZonesResultOutput) TotalCount

func (o ZonesResultOutput) TotalCount() pulumi.IntOutput

The total count of zone query.

func (ZonesResultOutput) Zones

The collection of zone query.

type ZonesZone

type ZonesZone struct {
	// The id of the zone.
	Id string `pulumi:"id"`
	// The id of the zone.
	ZoneId string `pulumi:"zoneId"`
}

type ZonesZoneArgs

type ZonesZoneArgs struct {
	// The id of the zone.
	Id pulumi.StringInput `pulumi:"id"`
	// The id of the zone.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (ZonesZoneArgs) ElementType

func (ZonesZoneArgs) ElementType() reflect.Type

func (ZonesZoneArgs) ToZonesZoneOutput

func (i ZonesZoneArgs) ToZonesZoneOutput() ZonesZoneOutput

func (ZonesZoneArgs) ToZonesZoneOutputWithContext

func (i ZonesZoneArgs) ToZonesZoneOutputWithContext(ctx context.Context) ZonesZoneOutput

type ZonesZoneArray

type ZonesZoneArray []ZonesZoneInput

func (ZonesZoneArray) ElementType

func (ZonesZoneArray) ElementType() reflect.Type

func (ZonesZoneArray) ToZonesZoneArrayOutput

func (i ZonesZoneArray) ToZonesZoneArrayOutput() ZonesZoneArrayOutput

func (ZonesZoneArray) ToZonesZoneArrayOutputWithContext

func (i ZonesZoneArray) ToZonesZoneArrayOutputWithContext(ctx context.Context) ZonesZoneArrayOutput

type ZonesZoneArrayInput

type ZonesZoneArrayInput interface {
	pulumi.Input

	ToZonesZoneArrayOutput() ZonesZoneArrayOutput
	ToZonesZoneArrayOutputWithContext(context.Context) ZonesZoneArrayOutput
}

ZonesZoneArrayInput is an input type that accepts ZonesZoneArray and ZonesZoneArrayOutput values. You can construct a concrete instance of `ZonesZoneArrayInput` via:

ZonesZoneArray{ ZonesZoneArgs{...} }

type ZonesZoneArrayOutput

type ZonesZoneArrayOutput struct{ *pulumi.OutputState }

func (ZonesZoneArrayOutput) ElementType

func (ZonesZoneArrayOutput) ElementType() reflect.Type

func (ZonesZoneArrayOutput) Index

func (ZonesZoneArrayOutput) ToZonesZoneArrayOutput

func (o ZonesZoneArrayOutput) ToZonesZoneArrayOutput() ZonesZoneArrayOutput

func (ZonesZoneArrayOutput) ToZonesZoneArrayOutputWithContext

func (o ZonesZoneArrayOutput) ToZonesZoneArrayOutputWithContext(ctx context.Context) ZonesZoneArrayOutput

type ZonesZoneInput

type ZonesZoneInput interface {
	pulumi.Input

	ToZonesZoneOutput() ZonesZoneOutput
	ToZonesZoneOutputWithContext(context.Context) ZonesZoneOutput
}

ZonesZoneInput is an input type that accepts ZonesZoneArgs and ZonesZoneOutput values. You can construct a concrete instance of `ZonesZoneInput` via:

ZonesZoneArgs{...}

type ZonesZoneOutput

type ZonesZoneOutput struct{ *pulumi.OutputState }

func (ZonesZoneOutput) ElementType

func (ZonesZoneOutput) ElementType() reflect.Type

func (ZonesZoneOutput) Id

The id of the zone.

func (ZonesZoneOutput) ToZonesZoneOutput

func (o ZonesZoneOutput) ToZonesZoneOutput() ZonesZoneOutput

func (ZonesZoneOutput) ToZonesZoneOutputWithContext

func (o ZonesZoneOutput) ToZonesZoneOutputWithContext(ctx context.Context) ZonesZoneOutput

func (ZonesZoneOutput) ZoneId

func (o ZonesZoneOutput) ZoneId() pulumi.StringOutput

The id of the zone.

Jump to

Keyboard shortcuts

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