ens

package
v3.43.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 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 GetKeyPairsArgs

type GetKeyPairsArgs struct {
	// The name of the key pair.
	KeyPairName *string `pulumi:"keyPairName"`
	// A regex string to filter results by Key Pair name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The version number.
	Version string `pulumi:"version"`
}

A collection of arguments for invoking getKeyPairs.

type GetKeyPairsOutputArgs added in v3.9.0

type GetKeyPairsOutputArgs struct {
	// The name of the key pair.
	KeyPairName pulumi.StringPtrInput `pulumi:"keyPairName"`
	// A regex string to filter results by Key Pair name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The version number.
	Version pulumi.StringInput `pulumi:"version"`
}

A collection of arguments for invoking getKeyPairs.

func (GetKeyPairsOutputArgs) ElementType added in v3.9.0

func (GetKeyPairsOutputArgs) ElementType() reflect.Type

type GetKeyPairsPair

type GetKeyPairsPair struct {
	// The creation time of the key pair. The date format is in accordance with ISO8601 notation and uses UTC time. The format is yyyy-MM-ddTHH:mm:ssZ.
	CreateTime string `pulumi:"createTime"`
	// The ID of the Key Pair.
	Id string `pulumi:"id"`
	// Fingerprint of the key pair.
	KeyPairFingerPrint string `pulumi:"keyPairFingerPrint"`
	// The name of the key pair.
	KeyPairName string `pulumi:"keyPairName"`
	// The version number.
	Version string `pulumi:"version"`
}

type GetKeyPairsPairArgs

type GetKeyPairsPairArgs struct {
	// The creation time of the key pair. The date format is in accordance with ISO8601 notation and uses UTC time. The format is yyyy-MM-ddTHH:mm:ssZ.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The ID of the Key Pair.
	Id pulumi.StringInput `pulumi:"id"`
	// Fingerprint of the key pair.
	KeyPairFingerPrint pulumi.StringInput `pulumi:"keyPairFingerPrint"`
	// The name of the key pair.
	KeyPairName pulumi.StringInput `pulumi:"keyPairName"`
	// The version number.
	Version pulumi.StringInput `pulumi:"version"`
}

func (GetKeyPairsPairArgs) ElementType

func (GetKeyPairsPairArgs) ElementType() reflect.Type

func (GetKeyPairsPairArgs) ToGetKeyPairsPairOutput

func (i GetKeyPairsPairArgs) ToGetKeyPairsPairOutput() GetKeyPairsPairOutput

func (GetKeyPairsPairArgs) ToGetKeyPairsPairOutputWithContext

func (i GetKeyPairsPairArgs) ToGetKeyPairsPairOutputWithContext(ctx context.Context) GetKeyPairsPairOutput

type GetKeyPairsPairArray

type GetKeyPairsPairArray []GetKeyPairsPairInput

func (GetKeyPairsPairArray) ElementType

func (GetKeyPairsPairArray) ElementType() reflect.Type

func (GetKeyPairsPairArray) ToGetKeyPairsPairArrayOutput

func (i GetKeyPairsPairArray) ToGetKeyPairsPairArrayOutput() GetKeyPairsPairArrayOutput

func (GetKeyPairsPairArray) ToGetKeyPairsPairArrayOutputWithContext

func (i GetKeyPairsPairArray) ToGetKeyPairsPairArrayOutputWithContext(ctx context.Context) GetKeyPairsPairArrayOutput

type GetKeyPairsPairArrayInput

type GetKeyPairsPairArrayInput interface {
	pulumi.Input

	ToGetKeyPairsPairArrayOutput() GetKeyPairsPairArrayOutput
	ToGetKeyPairsPairArrayOutputWithContext(context.Context) GetKeyPairsPairArrayOutput
}

GetKeyPairsPairArrayInput is an input type that accepts GetKeyPairsPairArray and GetKeyPairsPairArrayOutput values. You can construct a concrete instance of `GetKeyPairsPairArrayInput` via:

GetKeyPairsPairArray{ GetKeyPairsPairArgs{...} }

type GetKeyPairsPairArrayOutput

type GetKeyPairsPairArrayOutput struct{ *pulumi.OutputState }

func (GetKeyPairsPairArrayOutput) ElementType

func (GetKeyPairsPairArrayOutput) ElementType() reflect.Type

func (GetKeyPairsPairArrayOutput) Index

func (GetKeyPairsPairArrayOutput) ToGetKeyPairsPairArrayOutput

func (o GetKeyPairsPairArrayOutput) ToGetKeyPairsPairArrayOutput() GetKeyPairsPairArrayOutput

func (GetKeyPairsPairArrayOutput) ToGetKeyPairsPairArrayOutputWithContext

func (o GetKeyPairsPairArrayOutput) ToGetKeyPairsPairArrayOutputWithContext(ctx context.Context) GetKeyPairsPairArrayOutput

type GetKeyPairsPairInput

type GetKeyPairsPairInput interface {
	pulumi.Input

	ToGetKeyPairsPairOutput() GetKeyPairsPairOutput
	ToGetKeyPairsPairOutputWithContext(context.Context) GetKeyPairsPairOutput
}

GetKeyPairsPairInput is an input type that accepts GetKeyPairsPairArgs and GetKeyPairsPairOutput values. You can construct a concrete instance of `GetKeyPairsPairInput` via:

GetKeyPairsPairArgs{...}

type GetKeyPairsPairOutput

type GetKeyPairsPairOutput struct{ *pulumi.OutputState }

func (GetKeyPairsPairOutput) CreateTime

func (o GetKeyPairsPairOutput) CreateTime() pulumi.StringOutput

The creation time of the key pair. The date format is in accordance with ISO8601 notation and uses UTC time. The format is yyyy-MM-ddTHH:mm:ssZ.

func (GetKeyPairsPairOutput) ElementType

func (GetKeyPairsPairOutput) ElementType() reflect.Type

func (GetKeyPairsPairOutput) Id

The ID of the Key Pair.

func (GetKeyPairsPairOutput) KeyPairFingerPrint

func (o GetKeyPairsPairOutput) KeyPairFingerPrint() pulumi.StringOutput

Fingerprint of the key pair.

func (GetKeyPairsPairOutput) KeyPairName

func (o GetKeyPairsPairOutput) KeyPairName() pulumi.StringOutput

The name of the key pair.

func (GetKeyPairsPairOutput) ToGetKeyPairsPairOutput

func (o GetKeyPairsPairOutput) ToGetKeyPairsPairOutput() GetKeyPairsPairOutput

func (GetKeyPairsPairOutput) ToGetKeyPairsPairOutputWithContext

func (o GetKeyPairsPairOutput) ToGetKeyPairsPairOutputWithContext(ctx context.Context) GetKeyPairsPairOutput

func (GetKeyPairsPairOutput) Version

The version number.

type GetKeyPairsResult

type GetKeyPairsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id          string            `pulumi:"id"`
	Ids         []string          `pulumi:"ids"`
	KeyPairName *string           `pulumi:"keyPairName"`
	NameRegex   *string           `pulumi:"nameRegex"`
	Names       []string          `pulumi:"names"`
	OutputFile  *string           `pulumi:"outputFile"`
	Pairs       []GetKeyPairsPair `pulumi:"pairs"`
	Version     string            `pulumi:"version"`
}

A collection of values returned by getKeyPairs.

func GetKeyPairs

func GetKeyPairs(ctx *pulumi.Context, args *GetKeyPairsArgs, opts ...pulumi.InvokeOption) (*GetKeyPairsResult, error)

This data source provides the Ens Key Pairs of the current Alibaba Cloud user.

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

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ens"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		nameRegex, err := ens.GetKeyPairs(ctx, &ens.GetKeyPairsArgs{
			Version:   "example_value",
			NameRegex: pulumi.StringRef("^my-KeyPair"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("ensKeyPairId1", nameRegex.Pairs[0].Id)
		return nil
	})
}

```

type GetKeyPairsResultOutput added in v3.9.0

type GetKeyPairsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKeyPairs.

func GetKeyPairsOutput added in v3.9.0

func GetKeyPairsOutput(ctx *pulumi.Context, args GetKeyPairsOutputArgs, opts ...pulumi.InvokeOption) GetKeyPairsResultOutput

func (GetKeyPairsResultOutput) ElementType added in v3.9.0

func (GetKeyPairsResultOutput) ElementType() reflect.Type

func (GetKeyPairsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetKeyPairsResultOutput) Ids added in v3.9.0

func (GetKeyPairsResultOutput) KeyPairName added in v3.9.0

func (GetKeyPairsResultOutput) NameRegex added in v3.9.0

func (GetKeyPairsResultOutput) Names added in v3.9.0

func (GetKeyPairsResultOutput) OutputFile added in v3.9.0

func (GetKeyPairsResultOutput) Pairs added in v3.9.0

func (GetKeyPairsResultOutput) ToGetKeyPairsResultOutput added in v3.9.0

func (o GetKeyPairsResultOutput) ToGetKeyPairsResultOutput() GetKeyPairsResultOutput

func (GetKeyPairsResultOutput) ToGetKeyPairsResultOutputWithContext added in v3.9.0

func (o GetKeyPairsResultOutput) ToGetKeyPairsResultOutputWithContext(ctx context.Context) GetKeyPairsResultOutput

func (GetKeyPairsResultOutput) Version added in v3.9.0

type Instance added in v3.42.0

type Instance struct {
	pulumi.CustomResourceState

	// Whether to automatically renew, default to False, this parameter is invalid when paying by volume.
	AutoRenew pulumi.BoolPtrOutput `pulumi:"autoRenew"`
	// Operator, required for regional level scheduling, invalid for node level scheduling.
	Carrier pulumi.StringPtrOutput `pulumi:"carrier"`
	// Data disk specifications. See `dataDisk` below.
	DataDisks InstanceDataDiskArrayOutput `pulumi:"dataDisks"`
	// Node id. When ScheduleAreaLevel is Region, EnsRegionId is required. When ScheduleAreaLevel is Big, Middle, Small, EnsRegionId is not required.
	EnsRegionId pulumi.StringPtrOutput `pulumi:"ensRegionId"`
	// Host Name.
	HostName pulumi.StringOutput `pulumi:"hostName"`
	// The Image Id field. If InstanceType is arm_bmi, the image Id is a non-required parameter. If instanceType is another specification value, the image Id is a required parameter.
	ImageId pulumi.StringPtrOutput `pulumi:"imageId"`
	// Instance billing strategy, instance: instance granularity (prepaid method currently does not support instance), user: by user dimension (not transferred or prepaid method supports user).
	InstanceChargeStrategy pulumi.StringPtrOutput `pulumi:"instanceChargeStrategy"`
	// The instance name. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. It can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-). The default value is the InstanceId of the instance.
	InstanceName pulumi.StringPtrOutput `pulumi:"instanceName"`
	// Instance specifications type.
	InstanceType pulumi.StringOutput `pulumi:"instanceType"`
	// Instance Charge type.it could be BandwidthByDay, 95BandwidthByMonth, PayByBandwidth4thMonth.
	InternetChargeType pulumi.StringPtrOutput `pulumi:"internetChargeType"`
	// The maximum public network bandwidth.
	InternetMaxBandwidthOut pulumi.IntOutput `pulumi:"internetMaxBandwidthOut"`
	// Region code, required for regional level scheduling, invalid for node level scheduling.
	NetDistrictCode pulumi.StringPtrOutput `pulumi:"netDistrictCode"`
	// The password of the instance。It is 8 to 30 characters in length and must contain three types of characters: uppercase and lowercase letters, numbers, and special symbols. The following special symbols can be set: ”'()'~! @#$%^& *-_+ =|{}[]:;',.? /”'.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
	PasswordInherit pulumi.BoolPtrOutput `pulumi:"passwordInherit"`
	// Instance payment method, Subscription: prepaid, monthly package; PayAsYouGo: Pay as you go.
	PaymentType pulumi.StringOutput `pulumi:"paymentType"`
	// The duration of purchasing resources. If PeriodUnit is not specified, it defaults to purchasing on a monthly basis. Currently, only days and months are supported. If PeriodUnit=Day, Period can only be 3. If PeriodUnit=Monthc, then Period can be 1-9,12.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// The unit of time for purchasing resources. If PeriodUnit is not specified, it defaults to purchasing by Month. Currently, only days and months are supported. If PeriodUnit=Day, Period can only be 3. If PeriodUnit=Month, then Period can be 1-9,12.
	PeriodUnit pulumi.StringPtrOutput `pulumi:"periodUnit"`
	// Whether to allocate public IP. Value:true (default): can be assigned,false: cannot be assigned.
	PublicIpIdentification pulumi.BoolPtrOutput `pulumi:"publicIpIdentification"`
	// Number of instances.
	Quantity pulumi.StringPtrOutput `pulumi:"quantity"`
	// Scheduling level, which is used to perform node level or regional scheduling.
	ScheduleAreaLevel pulumi.StringOutput `pulumi:"scheduleAreaLevel"`
	// Dispatch price strategy. If left blank, it defaults to prioritizing low prices. Values: PriceLowPriority (priority high price), PriceLowPriority (priority low price).
	SchedulingPriceStrategy pulumi.StringPtrOutput `pulumi:"schedulingPriceStrategy"`
	// When scheduling at the node level, it is Concentrate. When scheduling at the regional level, it is selected according to customer needs. Concentrate: Centralized; Disperse: Disperse.
	SchedulingStrategy pulumi.StringPtrOutput `pulumi:"schedulingStrategy"`
	// the status of the resource.
	Status pulumi.StringOutput `pulumi:"status"`
	// The field representing the system disk specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See `systemDisk` below.
	SystemDisk InstanceSystemDiskPtrOutput `pulumi:"systemDisk"`
	// Specifies whether to automatically append sequential suffixes to the hostnames specified by the HostName parameter and instance names specified by the InstanceName parameter when you create multiple instances at a time. The sequential suffix ranges from 001 to 999. Valid values:  true false Default value: false.
	UniqueSuffix pulumi.BoolPtrOutput `pulumi:"uniqueSuffix"`
	// User defined data, with a maximum support of 16KB. You can input UserData information. UserData encoded in Base64 format.
	UserData pulumi.StringPtrOutput `pulumi:"userData"`
}

## Import

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

```sh

$ pulumi import alicloud:ens/instance:Instance example <id>

```

func GetInstance added in v3.42.0

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 added in v3.42.0

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 added in v3.42.0

func (*Instance) ElementType() reflect.Type

func (*Instance) ToInstanceOutput added in v3.42.0

func (i *Instance) ToInstanceOutput() InstanceOutput

func (*Instance) ToInstanceOutputWithContext added in v3.42.0

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

type InstanceArgs added in v3.42.0

type InstanceArgs struct {
	// Whether to automatically renew, default to False, this parameter is invalid when paying by volume.
	AutoRenew pulumi.BoolPtrInput
	// Operator, required for regional level scheduling, invalid for node level scheduling.
	Carrier pulumi.StringPtrInput
	// Data disk specifications. See `dataDisk` below.
	DataDisks InstanceDataDiskArrayInput
	// Node id. When ScheduleAreaLevel is Region, EnsRegionId is required. When ScheduleAreaLevel is Big, Middle, Small, EnsRegionId is not required.
	EnsRegionId pulumi.StringPtrInput
	// Host Name.
	HostName pulumi.StringPtrInput
	// The Image Id field. If InstanceType is arm_bmi, the image Id is a non-required parameter. If instanceType is another specification value, the image Id is a required parameter.
	ImageId pulumi.StringPtrInput
	// Instance billing strategy, instance: instance granularity (prepaid method currently does not support instance), user: by user dimension (not transferred or prepaid method supports user).
	InstanceChargeStrategy pulumi.StringPtrInput
	// The instance name. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. It can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-). The default value is the InstanceId of the instance.
	InstanceName pulumi.StringPtrInput
	// Instance specifications type.
	InstanceType pulumi.StringInput
	// Instance Charge type.it could be BandwidthByDay, 95BandwidthByMonth, PayByBandwidth4thMonth.
	InternetChargeType pulumi.StringPtrInput
	// The maximum public network bandwidth.
	InternetMaxBandwidthOut pulumi.IntInput
	// Region code, required for regional level scheduling, invalid for node level scheduling.
	NetDistrictCode pulumi.StringPtrInput
	// The password of the instance。It is 8 to 30 characters in length and must contain three types of characters: uppercase and lowercase letters, numbers, and special symbols. The following special symbols can be set: ”'()'~! @#$%^& *-_+ =|{}[]:;',.? /”'.
	Password pulumi.StringPtrInput
	// Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
	PasswordInherit pulumi.BoolPtrInput
	// Instance payment method, Subscription: prepaid, monthly package; PayAsYouGo: Pay as you go.
	PaymentType pulumi.StringInput
	// The duration of purchasing resources. If PeriodUnit is not specified, it defaults to purchasing on a monthly basis. Currently, only days and months are supported. If PeriodUnit=Day, Period can only be 3. If PeriodUnit=Monthc, then Period can be 1-9,12.
	Period pulumi.IntPtrInput
	// The unit of time for purchasing resources. If PeriodUnit is not specified, it defaults to purchasing by Month. Currently, only days and months are supported. If PeriodUnit=Day, Period can only be 3. If PeriodUnit=Month, then Period can be 1-9,12.
	PeriodUnit pulumi.StringPtrInput
	// Whether to allocate public IP. Value:true (default): can be assigned,false: cannot be assigned.
	PublicIpIdentification pulumi.BoolPtrInput
	// Number of instances.
	Quantity pulumi.StringPtrInput
	// Scheduling level, which is used to perform node level or regional scheduling.
	ScheduleAreaLevel pulumi.StringInput
	// Dispatch price strategy. If left blank, it defaults to prioritizing low prices. Values: PriceLowPriority (priority high price), PriceLowPriority (priority low price).
	SchedulingPriceStrategy pulumi.StringPtrInput
	// When scheduling at the node level, it is Concentrate. When scheduling at the regional level, it is selected according to customer needs. Concentrate: Centralized; Disperse: Disperse.
	SchedulingStrategy pulumi.StringPtrInput
	// The field representing the system disk specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See `systemDisk` below.
	SystemDisk InstanceSystemDiskPtrInput
	// Specifies whether to automatically append sequential suffixes to the hostnames specified by the HostName parameter and instance names specified by the InstanceName parameter when you create multiple instances at a time. The sequential suffix ranges from 001 to 999. Valid values:  true false Default value: false.
	UniqueSuffix pulumi.BoolPtrInput
	// User defined data, with a maximum support of 16KB. You can input UserData information. UserData encoded in Base64 format.
	UserData pulumi.StringPtrInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType added in v3.42.0

func (InstanceArgs) ElementType() reflect.Type

type InstanceArray added in v3.42.0

type InstanceArray []InstanceInput

func (InstanceArray) ElementType added in v3.42.0

func (InstanceArray) ElementType() reflect.Type

func (InstanceArray) ToInstanceArrayOutput added in v3.42.0

func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArray) ToInstanceArrayOutputWithContext added in v3.42.0

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

type InstanceArrayInput added in v3.42.0

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 added in v3.42.0

type InstanceArrayOutput struct{ *pulumi.OutputState }

func (InstanceArrayOutput) ElementType added in v3.42.0

func (InstanceArrayOutput) ElementType() reflect.Type

func (InstanceArrayOutput) Index added in v3.42.0

func (InstanceArrayOutput) ToInstanceArrayOutput added in v3.42.0

func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArrayOutput) ToInstanceArrayOutputWithContext added in v3.42.0

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

type InstanceDataDisk added in v3.42.0

type InstanceDataDisk struct {
	// Type of dataDisk
	// - cloud_efficiency:High-efficiency cloud disk
	// - cloud_ssd:Full flash cloud disk
	// - local_hdd:Local hdd disk
	// - local_ssd:Local disk ssd.
	Category *string `pulumi:"category"`
	// Data disk size, cloudEfficiency is 20-32000,cloud_ssd/local_hdd/local_ssd is 20-25000, unit: GB.
	Size *int `pulumi:"size"`
}

type InstanceDataDiskArgs added in v3.42.0

type InstanceDataDiskArgs struct {
	// Type of dataDisk
	// - cloud_efficiency:High-efficiency cloud disk
	// - cloud_ssd:Full flash cloud disk
	// - local_hdd:Local hdd disk
	// - local_ssd:Local disk ssd.
	Category pulumi.StringPtrInput `pulumi:"category"`
	// Data disk size, cloudEfficiency is 20-32000,cloud_ssd/local_hdd/local_ssd is 20-25000, unit: GB.
	Size pulumi.IntPtrInput `pulumi:"size"`
}

func (InstanceDataDiskArgs) ElementType added in v3.42.0

func (InstanceDataDiskArgs) ElementType() reflect.Type

func (InstanceDataDiskArgs) ToInstanceDataDiskOutput added in v3.42.0

func (i InstanceDataDiskArgs) ToInstanceDataDiskOutput() InstanceDataDiskOutput

func (InstanceDataDiskArgs) ToInstanceDataDiskOutputWithContext added in v3.42.0

func (i InstanceDataDiskArgs) ToInstanceDataDiskOutputWithContext(ctx context.Context) InstanceDataDiskOutput

type InstanceDataDiskArray added in v3.42.0

type InstanceDataDiskArray []InstanceDataDiskInput

func (InstanceDataDiskArray) ElementType added in v3.42.0

func (InstanceDataDiskArray) ElementType() reflect.Type

func (InstanceDataDiskArray) ToInstanceDataDiskArrayOutput added in v3.42.0

func (i InstanceDataDiskArray) ToInstanceDataDiskArrayOutput() InstanceDataDiskArrayOutput

func (InstanceDataDiskArray) ToInstanceDataDiskArrayOutputWithContext added in v3.42.0

func (i InstanceDataDiskArray) ToInstanceDataDiskArrayOutputWithContext(ctx context.Context) InstanceDataDiskArrayOutput

type InstanceDataDiskArrayInput added in v3.42.0

type InstanceDataDiskArrayInput interface {
	pulumi.Input

	ToInstanceDataDiskArrayOutput() InstanceDataDiskArrayOutput
	ToInstanceDataDiskArrayOutputWithContext(context.Context) InstanceDataDiskArrayOutput
}

InstanceDataDiskArrayInput is an input type that accepts InstanceDataDiskArray and InstanceDataDiskArrayOutput values. You can construct a concrete instance of `InstanceDataDiskArrayInput` via:

InstanceDataDiskArray{ InstanceDataDiskArgs{...} }

type InstanceDataDiskArrayOutput added in v3.42.0

type InstanceDataDiskArrayOutput struct{ *pulumi.OutputState }

func (InstanceDataDiskArrayOutput) ElementType added in v3.42.0

func (InstanceDataDiskArrayOutput) Index added in v3.42.0

func (InstanceDataDiskArrayOutput) ToInstanceDataDiskArrayOutput added in v3.42.0

func (o InstanceDataDiskArrayOutput) ToInstanceDataDiskArrayOutput() InstanceDataDiskArrayOutput

func (InstanceDataDiskArrayOutput) ToInstanceDataDiskArrayOutputWithContext added in v3.42.0

func (o InstanceDataDiskArrayOutput) ToInstanceDataDiskArrayOutputWithContext(ctx context.Context) InstanceDataDiskArrayOutput

type InstanceDataDiskInput added in v3.42.0

type InstanceDataDiskInput interface {
	pulumi.Input

	ToInstanceDataDiskOutput() InstanceDataDiskOutput
	ToInstanceDataDiskOutputWithContext(context.Context) InstanceDataDiskOutput
}

InstanceDataDiskInput is an input type that accepts InstanceDataDiskArgs and InstanceDataDiskOutput values. You can construct a concrete instance of `InstanceDataDiskInput` via:

InstanceDataDiskArgs{...}

type InstanceDataDiskOutput added in v3.42.0

type InstanceDataDiskOutput struct{ *pulumi.OutputState }

func (InstanceDataDiskOutput) Category added in v3.42.0

Type of dataDisk - cloud_efficiency:High-efficiency cloud disk - cloud_ssd:Full flash cloud disk - local_hdd:Local hdd disk - local_ssd:Local disk ssd.

func (InstanceDataDiskOutput) ElementType added in v3.42.0

func (InstanceDataDiskOutput) ElementType() reflect.Type

func (InstanceDataDiskOutput) Size added in v3.42.0

Data disk size, cloudEfficiency is 20-32000,cloud_ssd/local_hdd/local_ssd is 20-25000, unit: GB.

func (InstanceDataDiskOutput) ToInstanceDataDiskOutput added in v3.42.0

func (o InstanceDataDiskOutput) ToInstanceDataDiskOutput() InstanceDataDiskOutput

func (InstanceDataDiskOutput) ToInstanceDataDiskOutputWithContext added in v3.42.0

func (o InstanceDataDiskOutput) ToInstanceDataDiskOutputWithContext(ctx context.Context) InstanceDataDiskOutput

type InstanceInput added in v3.42.0

type InstanceInput interface {
	pulumi.Input

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

type InstanceMap added in v3.42.0

type InstanceMap map[string]InstanceInput

func (InstanceMap) ElementType added in v3.42.0

func (InstanceMap) ElementType() reflect.Type

func (InstanceMap) ToInstanceMapOutput added in v3.42.0

func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMap) ToInstanceMapOutputWithContext added in v3.42.0

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

type InstanceMapInput added in v3.42.0

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 added in v3.42.0

type InstanceMapOutput struct{ *pulumi.OutputState }

func (InstanceMapOutput) ElementType added in v3.42.0

func (InstanceMapOutput) ElementType() reflect.Type

func (InstanceMapOutput) MapIndex added in v3.42.0

func (InstanceMapOutput) ToInstanceMapOutput added in v3.42.0

func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMapOutput) ToInstanceMapOutputWithContext added in v3.42.0

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

type InstanceOutput added in v3.42.0

type InstanceOutput struct{ *pulumi.OutputState }

func (InstanceOutput) AutoRenew added in v3.42.0

func (o InstanceOutput) AutoRenew() pulumi.BoolPtrOutput

Whether to automatically renew, default to False, this parameter is invalid when paying by volume.

func (InstanceOutput) Carrier added in v3.42.0

Operator, required for regional level scheduling, invalid for node level scheduling.

func (InstanceOutput) DataDisks added in v3.42.0

Data disk specifications. See `dataDisk` below.

func (InstanceOutput) ElementType added in v3.42.0

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) EnsRegionId added in v3.42.0

func (o InstanceOutput) EnsRegionId() pulumi.StringPtrOutput

Node id. When ScheduleAreaLevel is Region, EnsRegionId is required. When ScheduleAreaLevel is Big, Middle, Small, EnsRegionId is not required.

func (InstanceOutput) HostName added in v3.42.0

func (o InstanceOutput) HostName() pulumi.StringOutput

Host Name.

func (InstanceOutput) ImageId added in v3.42.0

The Image Id field. If InstanceType is arm_bmi, the image Id is a non-required parameter. If instanceType is another specification value, the image Id is a required parameter.

func (InstanceOutput) InstanceChargeStrategy added in v3.42.0

func (o InstanceOutput) InstanceChargeStrategy() pulumi.StringPtrOutput

Instance billing strategy, instance: instance granularity (prepaid method currently does not support instance), user: by user dimension (not transferred or prepaid method supports user).

func (InstanceOutput) InstanceName added in v3.42.0

func (o InstanceOutput) InstanceName() pulumi.StringPtrOutput

The instance name. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. It can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-). The default value is the InstanceId of the instance.

func (InstanceOutput) InstanceType added in v3.42.0

func (o InstanceOutput) InstanceType() pulumi.StringOutput

Instance specifications type.

func (InstanceOutput) InternetChargeType added in v3.42.0

func (o InstanceOutput) InternetChargeType() pulumi.StringPtrOutput

Instance Charge type.it could be BandwidthByDay, 95BandwidthByMonth, PayByBandwidth4thMonth.

func (InstanceOutput) InternetMaxBandwidthOut added in v3.42.0

func (o InstanceOutput) InternetMaxBandwidthOut() pulumi.IntOutput

The maximum public network bandwidth.

func (InstanceOutput) NetDistrictCode added in v3.42.0

func (o InstanceOutput) NetDistrictCode() pulumi.StringPtrOutput

Region code, required for regional level scheduling, invalid for node level scheduling.

func (InstanceOutput) Password added in v3.42.0

func (o InstanceOutput) Password() pulumi.StringPtrOutput

The password of the instance。It is 8 to 30 characters in length and must contain three types of characters: uppercase and lowercase letters, numbers, and special symbols. The following special symbols can be set: ”'()'~! @#$%^& *-_+ =|{}[]:;',.? /”'.

func (InstanceOutput) PasswordInherit added in v3.42.0

func (o InstanceOutput) PasswordInherit() pulumi.BoolPtrOutput

Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.

func (InstanceOutput) PaymentType added in v3.42.0

func (o InstanceOutput) PaymentType() pulumi.StringOutput

Instance payment method, Subscription: prepaid, monthly package; PayAsYouGo: Pay as you go.

func (InstanceOutput) Period added in v3.42.0

func (o InstanceOutput) Period() pulumi.IntPtrOutput

The duration of purchasing resources. If PeriodUnit is not specified, it defaults to purchasing on a monthly basis. Currently, only days and months are supported. If PeriodUnit=Day, Period can only be 3. If PeriodUnit=Monthc, then Period can be 1-9,12.

func (InstanceOutput) PeriodUnit added in v3.42.0

func (o InstanceOutput) PeriodUnit() pulumi.StringPtrOutput

The unit of time for purchasing resources. If PeriodUnit is not specified, it defaults to purchasing by Month. Currently, only days and months are supported. If PeriodUnit=Day, Period can only be 3. If PeriodUnit=Month, then Period can be 1-9,12.

func (InstanceOutput) PublicIpIdentification added in v3.42.0

func (o InstanceOutput) PublicIpIdentification() pulumi.BoolPtrOutput

Whether to allocate public IP. Value:true (default): can be assigned,false: cannot be assigned.

func (InstanceOutput) Quantity added in v3.42.0

func (o InstanceOutput) Quantity() pulumi.StringPtrOutput

Number of instances.

func (InstanceOutput) ScheduleAreaLevel added in v3.42.0

func (o InstanceOutput) ScheduleAreaLevel() pulumi.StringOutput

Scheduling level, which is used to perform node level or regional scheduling.

func (InstanceOutput) SchedulingPriceStrategy added in v3.42.0

func (o InstanceOutput) SchedulingPriceStrategy() pulumi.StringPtrOutput

Dispatch price strategy. If left blank, it defaults to prioritizing low prices. Values: PriceLowPriority (priority high price), PriceLowPriority (priority low price).

func (InstanceOutput) SchedulingStrategy added in v3.42.0

func (o InstanceOutput) SchedulingStrategy() pulumi.StringPtrOutput

When scheduling at the node level, it is Concentrate. When scheduling at the regional level, it is selected according to customer needs. Concentrate: Centralized; Disperse: Disperse.

func (InstanceOutput) Status added in v3.42.0

func (o InstanceOutput) Status() pulumi.StringOutput

the status of the resource.

func (InstanceOutput) SystemDisk added in v3.42.0

The field representing the system disk specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See `systemDisk` below.

func (InstanceOutput) ToInstanceOutput added in v3.42.0

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext added in v3.42.0

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

func (InstanceOutput) UniqueSuffix added in v3.42.0

func (o InstanceOutput) UniqueSuffix() pulumi.BoolPtrOutput

Specifies whether to automatically append sequential suffixes to the hostnames specified by the HostName parameter and instance names specified by the InstanceName parameter when you create multiple instances at a time. The sequential suffix ranges from 001 to 999. Valid values: true false Default value: false.

func (InstanceOutput) UserData added in v3.42.0

func (o InstanceOutput) UserData() pulumi.StringPtrOutput

User defined data, with a maximum support of 16KB. You can input UserData information. UserData encoded in Base64 format.

type InstanceState added in v3.42.0

type InstanceState struct {
	// Whether to automatically renew, default to False, this parameter is invalid when paying by volume.
	AutoRenew pulumi.BoolPtrInput
	// Operator, required for regional level scheduling, invalid for node level scheduling.
	Carrier pulumi.StringPtrInput
	// Data disk specifications. See `dataDisk` below.
	DataDisks InstanceDataDiskArrayInput
	// Node id. When ScheduleAreaLevel is Region, EnsRegionId is required. When ScheduleAreaLevel is Big, Middle, Small, EnsRegionId is not required.
	EnsRegionId pulumi.StringPtrInput
	// Host Name.
	HostName pulumi.StringPtrInput
	// The Image Id field. If InstanceType is arm_bmi, the image Id is a non-required parameter. If instanceType is another specification value, the image Id is a required parameter.
	ImageId pulumi.StringPtrInput
	// Instance billing strategy, instance: instance granularity (prepaid method currently does not support instance), user: by user dimension (not transferred or prepaid method supports user).
	InstanceChargeStrategy pulumi.StringPtrInput
	// The instance name. It must be 2 to 128 characters in length and must start with an uppercase or lowercase letter or a Chinese character. It cannot start with http:// or https. It can contain Chinese, English, numbers, half-width colons (:), underscores (_), periods (.), or hyphens (-). The default value is the InstanceId of the instance.
	InstanceName pulumi.StringPtrInput
	// Instance specifications type.
	InstanceType pulumi.StringPtrInput
	// Instance Charge type.it could be BandwidthByDay, 95BandwidthByMonth, PayByBandwidth4thMonth.
	InternetChargeType pulumi.StringPtrInput
	// The maximum public network bandwidth.
	InternetMaxBandwidthOut pulumi.IntPtrInput
	// Region code, required for regional level scheduling, invalid for node level scheduling.
	NetDistrictCode pulumi.StringPtrInput
	// The password of the instance。It is 8 to 30 characters in length and must contain three types of characters: uppercase and lowercase letters, numbers, and special symbols. The following special symbols can be set: ”'()'~! @#$%^& *-_+ =|{}[]:;',.? /”'.
	Password pulumi.StringPtrInput
	// Whether to use image preset password prompt: Password and KeyPairNamePasswordInherit must be passed.
	PasswordInherit pulumi.BoolPtrInput
	// Instance payment method, Subscription: prepaid, monthly package; PayAsYouGo: Pay as you go.
	PaymentType pulumi.StringPtrInput
	// The duration of purchasing resources. If PeriodUnit is not specified, it defaults to purchasing on a monthly basis. Currently, only days and months are supported. If PeriodUnit=Day, Period can only be 3. If PeriodUnit=Monthc, then Period can be 1-9,12.
	Period pulumi.IntPtrInput
	// The unit of time for purchasing resources. If PeriodUnit is not specified, it defaults to purchasing by Month. Currently, only days and months are supported. If PeriodUnit=Day, Period can only be 3. If PeriodUnit=Month, then Period can be 1-9,12.
	PeriodUnit pulumi.StringPtrInput
	// Whether to allocate public IP. Value:true (default): can be assigned,false: cannot be assigned.
	PublicIpIdentification pulumi.BoolPtrInput
	// Number of instances.
	Quantity pulumi.StringPtrInput
	// Scheduling level, which is used to perform node level or regional scheduling.
	ScheduleAreaLevel pulumi.StringPtrInput
	// Dispatch price strategy. If left blank, it defaults to prioritizing low prices. Values: PriceLowPriority (priority high price), PriceLowPriority (priority low price).
	SchedulingPriceStrategy pulumi.StringPtrInput
	// When scheduling at the node level, it is Concentrate. When scheduling at the regional level, it is selected according to customer needs. Concentrate: Centralized; Disperse: Disperse.
	SchedulingStrategy pulumi.StringPtrInput
	// the status of the resource.
	Status pulumi.StringPtrInput
	// The field representing the system disk specification. SystemDisk is a non-required parameter when InstanceType is x86_pm,x86_bmi,x86_bm,pc_bmi, or arm_bmi. SystemDisk is a required parameter when instanceType is other specification families. See `systemDisk` below.
	SystemDisk InstanceSystemDiskPtrInput
	// Specifies whether to automatically append sequential suffixes to the hostnames specified by the HostName parameter and instance names specified by the InstanceName parameter when you create multiple instances at a time. The sequential suffix ranges from 001 to 999. Valid values:  true false Default value: false.
	UniqueSuffix pulumi.BoolPtrInput
	// User defined data, with a maximum support of 16KB. You can input UserData information. UserData encoded in Base64 format.
	UserData pulumi.StringPtrInput
}

func (InstanceState) ElementType added in v3.42.0

func (InstanceState) ElementType() reflect.Type

type InstanceSystemDisk added in v3.42.0

type InstanceSystemDisk struct {
	// System disk size, cloudEfficiency is 20-32000,cloud_ssd/local_hdd/local_ssd is 20-25000, unit: GB.
	Size *int `pulumi:"size"`
}

type InstanceSystemDiskArgs added in v3.42.0

type InstanceSystemDiskArgs struct {
	// System disk size, cloudEfficiency is 20-32000,cloud_ssd/local_hdd/local_ssd is 20-25000, unit: GB.
	Size pulumi.IntPtrInput `pulumi:"size"`
}

func (InstanceSystemDiskArgs) ElementType added in v3.42.0

func (InstanceSystemDiskArgs) ElementType() reflect.Type

func (InstanceSystemDiskArgs) ToInstanceSystemDiskOutput added in v3.42.0

func (i InstanceSystemDiskArgs) ToInstanceSystemDiskOutput() InstanceSystemDiskOutput

func (InstanceSystemDiskArgs) ToInstanceSystemDiskOutputWithContext added in v3.42.0

func (i InstanceSystemDiskArgs) ToInstanceSystemDiskOutputWithContext(ctx context.Context) InstanceSystemDiskOutput

func (InstanceSystemDiskArgs) ToInstanceSystemDiskPtrOutput added in v3.42.0

func (i InstanceSystemDiskArgs) ToInstanceSystemDiskPtrOutput() InstanceSystemDiskPtrOutput

func (InstanceSystemDiskArgs) ToInstanceSystemDiskPtrOutputWithContext added in v3.42.0

func (i InstanceSystemDiskArgs) ToInstanceSystemDiskPtrOutputWithContext(ctx context.Context) InstanceSystemDiskPtrOutput

type InstanceSystemDiskInput added in v3.42.0

type InstanceSystemDiskInput interface {
	pulumi.Input

	ToInstanceSystemDiskOutput() InstanceSystemDiskOutput
	ToInstanceSystemDiskOutputWithContext(context.Context) InstanceSystemDiskOutput
}

InstanceSystemDiskInput is an input type that accepts InstanceSystemDiskArgs and InstanceSystemDiskOutput values. You can construct a concrete instance of `InstanceSystemDiskInput` via:

InstanceSystemDiskArgs{...}

type InstanceSystemDiskOutput added in v3.42.0

type InstanceSystemDiskOutput struct{ *pulumi.OutputState }

func (InstanceSystemDiskOutput) ElementType added in v3.42.0

func (InstanceSystemDiskOutput) ElementType() reflect.Type

func (InstanceSystemDiskOutput) Size added in v3.42.0

System disk size, cloudEfficiency is 20-32000,cloud_ssd/local_hdd/local_ssd is 20-25000, unit: GB.

func (InstanceSystemDiskOutput) ToInstanceSystemDiskOutput added in v3.42.0

func (o InstanceSystemDiskOutput) ToInstanceSystemDiskOutput() InstanceSystemDiskOutput

func (InstanceSystemDiskOutput) ToInstanceSystemDiskOutputWithContext added in v3.42.0

func (o InstanceSystemDiskOutput) ToInstanceSystemDiskOutputWithContext(ctx context.Context) InstanceSystemDiskOutput

func (InstanceSystemDiskOutput) ToInstanceSystemDiskPtrOutput added in v3.42.0

func (o InstanceSystemDiskOutput) ToInstanceSystemDiskPtrOutput() InstanceSystemDiskPtrOutput

func (InstanceSystemDiskOutput) ToInstanceSystemDiskPtrOutputWithContext added in v3.42.0

func (o InstanceSystemDiskOutput) ToInstanceSystemDiskPtrOutputWithContext(ctx context.Context) InstanceSystemDiskPtrOutput

type InstanceSystemDiskPtrInput added in v3.42.0

type InstanceSystemDiskPtrInput interface {
	pulumi.Input

	ToInstanceSystemDiskPtrOutput() InstanceSystemDiskPtrOutput
	ToInstanceSystemDiskPtrOutputWithContext(context.Context) InstanceSystemDiskPtrOutput
}

InstanceSystemDiskPtrInput is an input type that accepts InstanceSystemDiskArgs, InstanceSystemDiskPtr and InstanceSystemDiskPtrOutput values. You can construct a concrete instance of `InstanceSystemDiskPtrInput` via:

        InstanceSystemDiskArgs{...}

or:

        nil

func InstanceSystemDiskPtr added in v3.42.0

func InstanceSystemDiskPtr(v *InstanceSystemDiskArgs) InstanceSystemDiskPtrInput

type InstanceSystemDiskPtrOutput added in v3.42.0

type InstanceSystemDiskPtrOutput struct{ *pulumi.OutputState }

func (InstanceSystemDiskPtrOutput) Elem added in v3.42.0

func (InstanceSystemDiskPtrOutput) ElementType added in v3.42.0

func (InstanceSystemDiskPtrOutput) Size added in v3.42.0

System disk size, cloudEfficiency is 20-32000,cloud_ssd/local_hdd/local_ssd is 20-25000, unit: GB.

func (InstanceSystemDiskPtrOutput) ToInstanceSystemDiskPtrOutput added in v3.42.0

func (o InstanceSystemDiskPtrOutput) ToInstanceSystemDiskPtrOutput() InstanceSystemDiskPtrOutput

func (InstanceSystemDiskPtrOutput) ToInstanceSystemDiskPtrOutputWithContext added in v3.42.0

func (o InstanceSystemDiskPtrOutput) ToInstanceSystemDiskPtrOutputWithContext(ctx context.Context) InstanceSystemDiskPtrOutput

type KeyPair

type KeyPair struct {
	pulumi.CustomResourceState

	// The name of the key pair.
	KeyPairName pulumi.StringOutput `pulumi:"keyPairName"`
	// The version number.
	Version pulumi.StringOutput `pulumi:"version"`
}

Provides a ENS Key Pair resource.

For information about ENS Key Pair and how to use it, see [What is Key Pair](https://help.aliyun.com/product/62684.html).

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

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ens"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ens.NewKeyPair(ctx, "example", &ens.KeyPairArgs{
			KeyPairName: pulumi.String("example_value"),
			Version:     pulumi.String("example_value"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ENS Key Pair can be imported using the id, e.g.

```sh

$ pulumi import alicloud:ens/keyPair:KeyPair example <key_pair_name>:<version>

```

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 name of the key pair.
	KeyPairName pulumi.StringInput
	// The version number.
	Version pulumi.StringInput
}

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

func (KeyPairOutput) ElementType() reflect.Type

func (KeyPairOutput) KeyPairName added in v3.27.0

func (o KeyPairOutput) KeyPairName() pulumi.StringOutput

The name of the key pair.

func (KeyPairOutput) ToKeyPairOutput

func (o KeyPairOutput) ToKeyPairOutput() KeyPairOutput

func (KeyPairOutput) ToKeyPairOutputWithContext

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

func (KeyPairOutput) Version added in v3.27.0

func (o KeyPairOutput) Version() pulumi.StringOutput

The version number.

type KeyPairState

type KeyPairState struct {
	// The name of the key pair.
	KeyPairName pulumi.StringPtrInput
	// The version number.
	Version pulumi.StringPtrInput
}

func (KeyPairState) ElementType

func (KeyPairState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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