spotinst

package
v2.20.0 Latest Latest
Warning

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

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

Documentation

Overview

A Pulumi package for creating and managing spotinst cloud resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v2.16.0

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package.

Types

type ElastigroupAzureV3 added in v2.19.1

type ElastigroupAzureV3 struct {
	pulumi.CustomResourceState

	// The desired number of instances the group should have at any time.
	DesiredCapacity pulumi.IntPtrOutput `pulumi:"desiredCapacity"`
	// Image of a VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace) or use a custom image.
	Images ElastigroupAzureV3ImageArrayOutput `pulumi:"images"`
	// Describes the login configuration.
	Login ElastigroupAzureV3LoginPtrOutput `pulumi:"login"`
	// The maximum number of instances the group should have at any time.
	MaxSize pulumi.IntOutput `pulumi:"maxSize"`
	// The minimum number of instances the group should have at any time.
	MinSize pulumi.IntOutput `pulumi:"minSize"`
	// The IP configuration name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Defines the Virtual Network and Subnet for your Elastigroup.
	Network ElastigroupAzureV3NetworkOutput `pulumi:"network"`
	// Available On-Demand sizes
	OdSizes pulumi.StringArrayOutput `pulumi:"odSizes"`
	// Operation system type. Valid values: `"Linux"`, `"Windows"`.
	Os pulumi.StringOutput `pulumi:"os"`
	// The region your Azure group will be created in.
	Region pulumi.StringOutput `pulumi:"region"`
	// Vnet Resource Group Name.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// Available Low-Priority sizes.
	SpotSizes pulumi.StringArrayOutput `pulumi:"spotSizes"`
	// Describes the deployment strategy.
	Strategy ElastigroupAzureV3StrategyOutput `pulumi:"strategy"`
}

Provides a Spotinst elastigroup Azure resource.

func GetElastigroupAzureV3 added in v2.19.1

func GetElastigroupAzureV3(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ElastigroupAzureV3State, opts ...pulumi.ResourceOption) (*ElastigroupAzureV3, error)

GetElastigroupAzureV3 gets an existing ElastigroupAzureV3 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 NewElastigroupAzureV3 added in v2.19.1

func NewElastigroupAzureV3(ctx *pulumi.Context,
	name string, args *ElastigroupAzureV3Args, opts ...pulumi.ResourceOption) (*ElastigroupAzureV3, error)

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

func (*ElastigroupAzureV3) ElementType added in v2.19.1

func (*ElastigroupAzureV3) ElementType() reflect.Type

func (*ElastigroupAzureV3) ToElastigroupAzureV3Output added in v2.19.1

func (i *ElastigroupAzureV3) ToElastigroupAzureV3Output() ElastigroupAzureV3Output

func (*ElastigroupAzureV3) ToElastigroupAzureV3OutputWithContext added in v2.19.1

func (i *ElastigroupAzureV3) ToElastigroupAzureV3OutputWithContext(ctx context.Context) ElastigroupAzureV3Output

func (*ElastigroupAzureV3) ToElastigroupAzureV3PtrOutput added in v2.19.1

func (i *ElastigroupAzureV3) ToElastigroupAzureV3PtrOutput() ElastigroupAzureV3PtrOutput

func (*ElastigroupAzureV3) ToElastigroupAzureV3PtrOutputWithContext added in v2.19.1

func (i *ElastigroupAzureV3) ToElastigroupAzureV3PtrOutputWithContext(ctx context.Context) ElastigroupAzureV3PtrOutput

type ElastigroupAzureV3Args added in v2.19.1

type ElastigroupAzureV3Args struct {
	// The desired number of instances the group should have at any time.
	DesiredCapacity pulumi.IntPtrInput
	// Image of a VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace) or use a custom image.
	Images ElastigroupAzureV3ImageArrayInput
	// Describes the login configuration.
	Login ElastigroupAzureV3LoginPtrInput
	// The maximum number of instances the group should have at any time.
	MaxSize pulumi.IntPtrInput
	// The minimum number of instances the group should have at any time.
	MinSize pulumi.IntPtrInput
	// The IP configuration name.
	Name pulumi.StringPtrInput
	// Defines the Virtual Network and Subnet for your Elastigroup.
	Network ElastigroupAzureV3NetworkInput
	// Available On-Demand sizes
	OdSizes pulumi.StringArrayInput
	// Operation system type. Valid values: `"Linux"`, `"Windows"`.
	Os pulumi.StringInput
	// The region your Azure group will be created in.
	Region pulumi.StringInput
	// Vnet Resource Group Name.
	ResourceGroupName pulumi.StringInput
	// Available Low-Priority sizes.
	SpotSizes pulumi.StringArrayInput
	// Describes the deployment strategy.
	Strategy ElastigroupAzureV3StrategyInput
}

The set of arguments for constructing a ElastigroupAzureV3 resource.

func (ElastigroupAzureV3Args) ElementType added in v2.19.1

func (ElastigroupAzureV3Args) ElementType() reflect.Type

type ElastigroupAzureV3Array added in v2.19.1

type ElastigroupAzureV3Array []ElastigroupAzureV3Input

func (ElastigroupAzureV3Array) ElementType added in v2.19.1

func (ElastigroupAzureV3Array) ElementType() reflect.Type

func (ElastigroupAzureV3Array) ToElastigroupAzureV3ArrayOutput added in v2.19.1

func (i ElastigroupAzureV3Array) ToElastigroupAzureV3ArrayOutput() ElastigroupAzureV3ArrayOutput

func (ElastigroupAzureV3Array) ToElastigroupAzureV3ArrayOutputWithContext added in v2.19.1

func (i ElastigroupAzureV3Array) ToElastigroupAzureV3ArrayOutputWithContext(ctx context.Context) ElastigroupAzureV3ArrayOutput

type ElastigroupAzureV3ArrayInput added in v2.19.1

type ElastigroupAzureV3ArrayInput interface {
	pulumi.Input

	ToElastigroupAzureV3ArrayOutput() ElastigroupAzureV3ArrayOutput
	ToElastigroupAzureV3ArrayOutputWithContext(context.Context) ElastigroupAzureV3ArrayOutput
}

ElastigroupAzureV3ArrayInput is an input type that accepts ElastigroupAzureV3Array and ElastigroupAzureV3ArrayOutput values. You can construct a concrete instance of `ElastigroupAzureV3ArrayInput` via:

ElastigroupAzureV3Array{ ElastigroupAzureV3Args{...} }

type ElastigroupAzureV3ArrayOutput added in v2.19.1

type ElastigroupAzureV3ArrayOutput struct{ *pulumi.OutputState }

func (ElastigroupAzureV3ArrayOutput) ElementType added in v2.19.1

func (ElastigroupAzureV3ArrayOutput) Index added in v2.19.1

func (ElastigroupAzureV3ArrayOutput) ToElastigroupAzureV3ArrayOutput added in v2.19.1

func (o ElastigroupAzureV3ArrayOutput) ToElastigroupAzureV3ArrayOutput() ElastigroupAzureV3ArrayOutput

func (ElastigroupAzureV3ArrayOutput) ToElastigroupAzureV3ArrayOutputWithContext added in v2.19.1

func (o ElastigroupAzureV3ArrayOutput) ToElastigroupAzureV3ArrayOutputWithContext(ctx context.Context) ElastigroupAzureV3ArrayOutput

type ElastigroupAzureV3Image added in v2.19.1

type ElastigroupAzureV3Image struct {
	Customs      []ElastigroupAzureV3ImageCustom      `pulumi:"customs"`
	Marketplaces []ElastigroupAzureV3ImageMarketplace `pulumi:"marketplaces"`
}

type ElastigroupAzureV3ImageArgs added in v2.19.1

type ElastigroupAzureV3ImageArgs struct {
	Customs      ElastigroupAzureV3ImageCustomArrayInput      `pulumi:"customs"`
	Marketplaces ElastigroupAzureV3ImageMarketplaceArrayInput `pulumi:"marketplaces"`
}

func (ElastigroupAzureV3ImageArgs) ElementType added in v2.19.1

func (ElastigroupAzureV3ImageArgs) ToElastigroupAzureV3ImageOutput added in v2.19.1

func (i ElastigroupAzureV3ImageArgs) ToElastigroupAzureV3ImageOutput() ElastigroupAzureV3ImageOutput

func (ElastigroupAzureV3ImageArgs) ToElastigroupAzureV3ImageOutputWithContext added in v2.19.1

func (i ElastigroupAzureV3ImageArgs) ToElastigroupAzureV3ImageOutputWithContext(ctx context.Context) ElastigroupAzureV3ImageOutput

type ElastigroupAzureV3ImageArray added in v2.19.1

type ElastigroupAzureV3ImageArray []ElastigroupAzureV3ImageInput

func (ElastigroupAzureV3ImageArray) ElementType added in v2.19.1

func (ElastigroupAzureV3ImageArray) ToElastigroupAzureV3ImageArrayOutput added in v2.19.1

func (i ElastigroupAzureV3ImageArray) ToElastigroupAzureV3ImageArrayOutput() ElastigroupAzureV3ImageArrayOutput

func (ElastigroupAzureV3ImageArray) ToElastigroupAzureV3ImageArrayOutputWithContext added in v2.19.1

func (i ElastigroupAzureV3ImageArray) ToElastigroupAzureV3ImageArrayOutputWithContext(ctx context.Context) ElastigroupAzureV3ImageArrayOutput

type ElastigroupAzureV3ImageArrayInput added in v2.19.1

type ElastigroupAzureV3ImageArrayInput interface {
	pulumi.Input

	ToElastigroupAzureV3ImageArrayOutput() ElastigroupAzureV3ImageArrayOutput
	ToElastigroupAzureV3ImageArrayOutputWithContext(context.Context) ElastigroupAzureV3ImageArrayOutput
}

ElastigroupAzureV3ImageArrayInput is an input type that accepts ElastigroupAzureV3ImageArray and ElastigroupAzureV3ImageArrayOutput values. You can construct a concrete instance of `ElastigroupAzureV3ImageArrayInput` via:

ElastigroupAzureV3ImageArray{ ElastigroupAzureV3ImageArgs{...} }

type ElastigroupAzureV3ImageArrayOutput added in v2.19.1

type ElastigroupAzureV3ImageArrayOutput struct{ *pulumi.OutputState }

func (ElastigroupAzureV3ImageArrayOutput) ElementType added in v2.19.1

func (ElastigroupAzureV3ImageArrayOutput) Index added in v2.19.1

func (ElastigroupAzureV3ImageArrayOutput) ToElastigroupAzureV3ImageArrayOutput added in v2.19.1

func (o ElastigroupAzureV3ImageArrayOutput) ToElastigroupAzureV3ImageArrayOutput() ElastigroupAzureV3ImageArrayOutput

func (ElastigroupAzureV3ImageArrayOutput) ToElastigroupAzureV3ImageArrayOutputWithContext added in v2.19.1

func (o ElastigroupAzureV3ImageArrayOutput) ToElastigroupAzureV3ImageArrayOutputWithContext(ctx context.Context) ElastigroupAzureV3ImageArrayOutput

type ElastigroupAzureV3ImageCustom added in v2.19.1

type ElastigroupAzureV3ImageCustom struct {
	// Name of the custom image. Required if resourceGroupName is specified.
	ImageName string `pulumi:"imageName"`
	// Vnet Resource Group Name.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

type ElastigroupAzureV3ImageCustomArgs added in v2.19.1

type ElastigroupAzureV3ImageCustomArgs struct {
	// Name of the custom image. Required if resourceGroupName is specified.
	ImageName pulumi.StringInput `pulumi:"imageName"`
	// Vnet Resource Group Name.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
}

func (ElastigroupAzureV3ImageCustomArgs) ElementType added in v2.19.1

func (ElastigroupAzureV3ImageCustomArgs) ToElastigroupAzureV3ImageCustomOutput added in v2.19.1

func (i ElastigroupAzureV3ImageCustomArgs) ToElastigroupAzureV3ImageCustomOutput() ElastigroupAzureV3ImageCustomOutput

func (ElastigroupAzureV3ImageCustomArgs) ToElastigroupAzureV3ImageCustomOutputWithContext added in v2.19.1

func (i ElastigroupAzureV3ImageCustomArgs) ToElastigroupAzureV3ImageCustomOutputWithContext(ctx context.Context) ElastigroupAzureV3ImageCustomOutput

type ElastigroupAzureV3ImageCustomArray added in v2.19.1

type ElastigroupAzureV3ImageCustomArray []ElastigroupAzureV3ImageCustomInput

func (ElastigroupAzureV3ImageCustomArray) ElementType added in v2.19.1

func (ElastigroupAzureV3ImageCustomArray) ToElastigroupAzureV3ImageCustomArrayOutput added in v2.19.1

func (i ElastigroupAzureV3ImageCustomArray) ToElastigroupAzureV3ImageCustomArrayOutput() ElastigroupAzureV3ImageCustomArrayOutput

func (ElastigroupAzureV3ImageCustomArray) ToElastigroupAzureV3ImageCustomArrayOutputWithContext added in v2.19.1

func (i ElastigroupAzureV3ImageCustomArray) ToElastigroupAzureV3ImageCustomArrayOutputWithContext(ctx context.Context) ElastigroupAzureV3ImageCustomArrayOutput

type ElastigroupAzureV3ImageCustomArrayInput added in v2.19.1

type ElastigroupAzureV3ImageCustomArrayInput interface {
	pulumi.Input

	ToElastigroupAzureV3ImageCustomArrayOutput() ElastigroupAzureV3ImageCustomArrayOutput
	ToElastigroupAzureV3ImageCustomArrayOutputWithContext(context.Context) ElastigroupAzureV3ImageCustomArrayOutput
}

ElastigroupAzureV3ImageCustomArrayInput is an input type that accepts ElastigroupAzureV3ImageCustomArray and ElastigroupAzureV3ImageCustomArrayOutput values. You can construct a concrete instance of `ElastigroupAzureV3ImageCustomArrayInput` via:

ElastigroupAzureV3ImageCustomArray{ ElastigroupAzureV3ImageCustomArgs{...} }

type ElastigroupAzureV3ImageCustomArrayOutput added in v2.19.1

type ElastigroupAzureV3ImageCustomArrayOutput struct{ *pulumi.OutputState }

func (ElastigroupAzureV3ImageCustomArrayOutput) ElementType added in v2.19.1

func (ElastigroupAzureV3ImageCustomArrayOutput) Index added in v2.19.1

func (ElastigroupAzureV3ImageCustomArrayOutput) ToElastigroupAzureV3ImageCustomArrayOutput added in v2.19.1

func (o ElastigroupAzureV3ImageCustomArrayOutput) ToElastigroupAzureV3ImageCustomArrayOutput() ElastigroupAzureV3ImageCustomArrayOutput

func (ElastigroupAzureV3ImageCustomArrayOutput) ToElastigroupAzureV3ImageCustomArrayOutputWithContext added in v2.19.1

func (o ElastigroupAzureV3ImageCustomArrayOutput) ToElastigroupAzureV3ImageCustomArrayOutputWithContext(ctx context.Context) ElastigroupAzureV3ImageCustomArrayOutput

type ElastigroupAzureV3ImageCustomInput added in v2.19.1

type ElastigroupAzureV3ImageCustomInput interface {
	pulumi.Input

	ToElastigroupAzureV3ImageCustomOutput() ElastigroupAzureV3ImageCustomOutput
	ToElastigroupAzureV3ImageCustomOutputWithContext(context.Context) ElastigroupAzureV3ImageCustomOutput
}

ElastigroupAzureV3ImageCustomInput is an input type that accepts ElastigroupAzureV3ImageCustomArgs and ElastigroupAzureV3ImageCustomOutput values. You can construct a concrete instance of `ElastigroupAzureV3ImageCustomInput` via:

ElastigroupAzureV3ImageCustomArgs{...}

type ElastigroupAzureV3ImageCustomOutput added in v2.19.1

type ElastigroupAzureV3ImageCustomOutput struct{ *pulumi.OutputState }

func (ElastigroupAzureV3ImageCustomOutput) ElementType added in v2.19.1

func (ElastigroupAzureV3ImageCustomOutput) ImageName added in v2.19.1

Name of the custom image. Required if resourceGroupName is specified.

func (ElastigroupAzureV3ImageCustomOutput) ResourceGroupName added in v2.19.1

Vnet Resource Group Name.

func (ElastigroupAzureV3ImageCustomOutput) ToElastigroupAzureV3ImageCustomOutput added in v2.19.1

func (o ElastigroupAzureV3ImageCustomOutput) ToElastigroupAzureV3ImageCustomOutput() ElastigroupAzureV3ImageCustomOutput

func (ElastigroupAzureV3ImageCustomOutput) ToElastigroupAzureV3ImageCustomOutputWithContext added in v2.19.1

func (o ElastigroupAzureV3ImageCustomOutput) ToElastigroupAzureV3ImageCustomOutputWithContext(ctx context.Context) ElastigroupAzureV3ImageCustomOutput

type ElastigroupAzureV3ImageInput added in v2.19.1

type ElastigroupAzureV3ImageInput interface {
	pulumi.Input

	ToElastigroupAzureV3ImageOutput() ElastigroupAzureV3ImageOutput
	ToElastigroupAzureV3ImageOutputWithContext(context.Context) ElastigroupAzureV3ImageOutput
}

ElastigroupAzureV3ImageInput is an input type that accepts ElastigroupAzureV3ImageArgs and ElastigroupAzureV3ImageOutput values. You can construct a concrete instance of `ElastigroupAzureV3ImageInput` via:

ElastigroupAzureV3ImageArgs{...}

type ElastigroupAzureV3ImageMarketplace added in v2.19.1

type ElastigroupAzureV3ImageMarketplace struct {
	// Name of the image to use. Required if publisher is specified.
	Offer string `pulumi:"offer"`
	// Image publisher. Required if resourceGroupName is not specified.
	Publisher string `pulumi:"publisher"`
	// Image's Stock Keeping Unit, which is the specific version of the image. Required if publisher is specified.
	Sku     string `pulumi:"sku"`
	Version string `pulumi:"version"`
}

type ElastigroupAzureV3ImageMarketplaceArgs added in v2.19.1

type ElastigroupAzureV3ImageMarketplaceArgs struct {
	// Name of the image to use. Required if publisher is specified.
	Offer pulumi.StringInput `pulumi:"offer"`
	// Image publisher. Required if resourceGroupName is not specified.
	Publisher pulumi.StringInput `pulumi:"publisher"`
	// Image's Stock Keeping Unit, which is the specific version of the image. Required if publisher is specified.
	Sku     pulumi.StringInput `pulumi:"sku"`
	Version pulumi.StringInput `pulumi:"version"`
}

func (ElastigroupAzureV3ImageMarketplaceArgs) ElementType added in v2.19.1

func (ElastigroupAzureV3ImageMarketplaceArgs) ToElastigroupAzureV3ImageMarketplaceOutput added in v2.19.1

func (i ElastigroupAzureV3ImageMarketplaceArgs) ToElastigroupAzureV3ImageMarketplaceOutput() ElastigroupAzureV3ImageMarketplaceOutput

func (ElastigroupAzureV3ImageMarketplaceArgs) ToElastigroupAzureV3ImageMarketplaceOutputWithContext added in v2.19.1

func (i ElastigroupAzureV3ImageMarketplaceArgs) ToElastigroupAzureV3ImageMarketplaceOutputWithContext(ctx context.Context) ElastigroupAzureV3ImageMarketplaceOutput

type ElastigroupAzureV3ImageMarketplaceArray added in v2.19.1

type ElastigroupAzureV3ImageMarketplaceArray []ElastigroupAzureV3ImageMarketplaceInput

func (ElastigroupAzureV3ImageMarketplaceArray) ElementType added in v2.19.1

func (ElastigroupAzureV3ImageMarketplaceArray) ToElastigroupAzureV3ImageMarketplaceArrayOutput added in v2.19.1

func (i ElastigroupAzureV3ImageMarketplaceArray) ToElastigroupAzureV3ImageMarketplaceArrayOutput() ElastigroupAzureV3ImageMarketplaceArrayOutput

func (ElastigroupAzureV3ImageMarketplaceArray) ToElastigroupAzureV3ImageMarketplaceArrayOutputWithContext added in v2.19.1

func (i ElastigroupAzureV3ImageMarketplaceArray) ToElastigroupAzureV3ImageMarketplaceArrayOutputWithContext(ctx context.Context) ElastigroupAzureV3ImageMarketplaceArrayOutput

type ElastigroupAzureV3ImageMarketplaceArrayInput added in v2.19.1

type ElastigroupAzureV3ImageMarketplaceArrayInput interface {
	pulumi.Input

	ToElastigroupAzureV3ImageMarketplaceArrayOutput() ElastigroupAzureV3ImageMarketplaceArrayOutput
	ToElastigroupAzureV3ImageMarketplaceArrayOutputWithContext(context.Context) ElastigroupAzureV3ImageMarketplaceArrayOutput
}

ElastigroupAzureV3ImageMarketplaceArrayInput is an input type that accepts ElastigroupAzureV3ImageMarketplaceArray and ElastigroupAzureV3ImageMarketplaceArrayOutput values. You can construct a concrete instance of `ElastigroupAzureV3ImageMarketplaceArrayInput` via:

ElastigroupAzureV3ImageMarketplaceArray{ ElastigroupAzureV3ImageMarketplaceArgs{...} }

type ElastigroupAzureV3ImageMarketplaceArrayOutput added in v2.19.1

type ElastigroupAzureV3ImageMarketplaceArrayOutput struct{ *pulumi.OutputState }

func (ElastigroupAzureV3ImageMarketplaceArrayOutput) ElementType added in v2.19.1

func (ElastigroupAzureV3ImageMarketplaceArrayOutput) Index added in v2.19.1

func (ElastigroupAzureV3ImageMarketplaceArrayOutput) ToElastigroupAzureV3ImageMarketplaceArrayOutput added in v2.19.1

func (o ElastigroupAzureV3ImageMarketplaceArrayOutput) ToElastigroupAzureV3ImageMarketplaceArrayOutput() ElastigroupAzureV3ImageMarketplaceArrayOutput

func (ElastigroupAzureV3ImageMarketplaceArrayOutput) ToElastigroupAzureV3ImageMarketplaceArrayOutputWithContext added in v2.19.1

func (o ElastigroupAzureV3ImageMarketplaceArrayOutput) ToElastigroupAzureV3ImageMarketplaceArrayOutputWithContext(ctx context.Context) ElastigroupAzureV3ImageMarketplaceArrayOutput

type ElastigroupAzureV3ImageMarketplaceInput added in v2.19.1

type ElastigroupAzureV3ImageMarketplaceInput interface {
	pulumi.Input

	ToElastigroupAzureV3ImageMarketplaceOutput() ElastigroupAzureV3ImageMarketplaceOutput
	ToElastigroupAzureV3ImageMarketplaceOutputWithContext(context.Context) ElastigroupAzureV3ImageMarketplaceOutput
}

ElastigroupAzureV3ImageMarketplaceInput is an input type that accepts ElastigroupAzureV3ImageMarketplaceArgs and ElastigroupAzureV3ImageMarketplaceOutput values. You can construct a concrete instance of `ElastigroupAzureV3ImageMarketplaceInput` via:

ElastigroupAzureV3ImageMarketplaceArgs{...}

type ElastigroupAzureV3ImageMarketplaceOutput added in v2.19.1

type ElastigroupAzureV3ImageMarketplaceOutput struct{ *pulumi.OutputState }

func (ElastigroupAzureV3ImageMarketplaceOutput) ElementType added in v2.19.1

func (ElastigroupAzureV3ImageMarketplaceOutput) Offer added in v2.19.1

Name of the image to use. Required if publisher is specified.

func (ElastigroupAzureV3ImageMarketplaceOutput) Publisher added in v2.19.1

Image publisher. Required if resourceGroupName is not specified.

func (ElastigroupAzureV3ImageMarketplaceOutput) Sku added in v2.19.1

Image's Stock Keeping Unit, which is the specific version of the image. Required if publisher is specified.

func (ElastigroupAzureV3ImageMarketplaceOutput) ToElastigroupAzureV3ImageMarketplaceOutput added in v2.19.1

func (o ElastigroupAzureV3ImageMarketplaceOutput) ToElastigroupAzureV3ImageMarketplaceOutput() ElastigroupAzureV3ImageMarketplaceOutput

func (ElastigroupAzureV3ImageMarketplaceOutput) ToElastigroupAzureV3ImageMarketplaceOutputWithContext added in v2.19.1

func (o ElastigroupAzureV3ImageMarketplaceOutput) ToElastigroupAzureV3ImageMarketplaceOutputWithContext(ctx context.Context) ElastigroupAzureV3ImageMarketplaceOutput

func (ElastigroupAzureV3ImageMarketplaceOutput) Version added in v2.19.1

type ElastigroupAzureV3ImageOutput added in v2.19.1

type ElastigroupAzureV3ImageOutput struct{ *pulumi.OutputState }

func (ElastigroupAzureV3ImageOutput) Customs added in v2.19.1

func (ElastigroupAzureV3ImageOutput) ElementType added in v2.19.1

func (ElastigroupAzureV3ImageOutput) Marketplaces added in v2.19.1

func (ElastigroupAzureV3ImageOutput) ToElastigroupAzureV3ImageOutput added in v2.19.1

func (o ElastigroupAzureV3ImageOutput) ToElastigroupAzureV3ImageOutput() ElastigroupAzureV3ImageOutput

func (ElastigroupAzureV3ImageOutput) ToElastigroupAzureV3ImageOutputWithContext added in v2.19.1

func (o ElastigroupAzureV3ImageOutput) ToElastigroupAzureV3ImageOutputWithContext(ctx context.Context) ElastigroupAzureV3ImageOutput

type ElastigroupAzureV3Input added in v2.19.1

type ElastigroupAzureV3Input interface {
	pulumi.Input

	ToElastigroupAzureV3Output() ElastigroupAzureV3Output
	ToElastigroupAzureV3OutputWithContext(ctx context.Context) ElastigroupAzureV3Output
}

type ElastigroupAzureV3Login added in v2.19.1

type ElastigroupAzureV3Login struct {
	// Password for admin access to Windows VMs. Required for Windows OS types.
	Password *string `pulumi:"password"`
	// SSH for admin access to Linux VMs. Required for Linux OS types.
	SshPublicKey *string `pulumi:"sshPublicKey"`
	// Set admin access for accessing your VMs.
	UserName string `pulumi:"userName"`
}

type ElastigroupAzureV3LoginArgs added in v2.19.1

type ElastigroupAzureV3LoginArgs struct {
	// Password for admin access to Windows VMs. Required for Windows OS types.
	Password pulumi.StringPtrInput `pulumi:"password"`
	// SSH for admin access to Linux VMs. Required for Linux OS types.
	SshPublicKey pulumi.StringPtrInput `pulumi:"sshPublicKey"`
	// Set admin access for accessing your VMs.
	UserName pulumi.StringInput `pulumi:"userName"`
}

func (ElastigroupAzureV3LoginArgs) ElementType added in v2.19.1

func (ElastigroupAzureV3LoginArgs) ToElastigroupAzureV3LoginOutput added in v2.19.1

func (i ElastigroupAzureV3LoginArgs) ToElastigroupAzureV3LoginOutput() ElastigroupAzureV3LoginOutput

func (ElastigroupAzureV3LoginArgs) ToElastigroupAzureV3LoginOutputWithContext added in v2.19.1

func (i ElastigroupAzureV3LoginArgs) ToElastigroupAzureV3LoginOutputWithContext(ctx context.Context) ElastigroupAzureV3LoginOutput

func (ElastigroupAzureV3LoginArgs) ToElastigroupAzureV3LoginPtrOutput added in v2.19.1

func (i ElastigroupAzureV3LoginArgs) ToElastigroupAzureV3LoginPtrOutput() ElastigroupAzureV3LoginPtrOutput

func (ElastigroupAzureV3LoginArgs) ToElastigroupAzureV3LoginPtrOutputWithContext added in v2.19.1

func (i ElastigroupAzureV3LoginArgs) ToElastigroupAzureV3LoginPtrOutputWithContext(ctx context.Context) ElastigroupAzureV3LoginPtrOutput

type ElastigroupAzureV3LoginInput added in v2.19.1

type ElastigroupAzureV3LoginInput interface {
	pulumi.Input

	ToElastigroupAzureV3LoginOutput() ElastigroupAzureV3LoginOutput
	ToElastigroupAzureV3LoginOutputWithContext(context.Context) ElastigroupAzureV3LoginOutput
}

ElastigroupAzureV3LoginInput is an input type that accepts ElastigroupAzureV3LoginArgs and ElastigroupAzureV3LoginOutput values. You can construct a concrete instance of `ElastigroupAzureV3LoginInput` via:

ElastigroupAzureV3LoginArgs{...}

type ElastigroupAzureV3LoginOutput added in v2.19.1

type ElastigroupAzureV3LoginOutput struct{ *pulumi.OutputState }

func (ElastigroupAzureV3LoginOutput) ElementType added in v2.19.1

func (ElastigroupAzureV3LoginOutput) Password added in v2.19.1

Password for admin access to Windows VMs. Required for Windows OS types.

func (ElastigroupAzureV3LoginOutput) SshPublicKey added in v2.19.1

SSH for admin access to Linux VMs. Required for Linux OS types.

func (ElastigroupAzureV3LoginOutput) ToElastigroupAzureV3LoginOutput added in v2.19.1

func (o ElastigroupAzureV3LoginOutput) ToElastigroupAzureV3LoginOutput() ElastigroupAzureV3LoginOutput

func (ElastigroupAzureV3LoginOutput) ToElastigroupAzureV3LoginOutputWithContext added in v2.19.1

func (o ElastigroupAzureV3LoginOutput) ToElastigroupAzureV3LoginOutputWithContext(ctx context.Context) ElastigroupAzureV3LoginOutput

func (ElastigroupAzureV3LoginOutput) ToElastigroupAzureV3LoginPtrOutput added in v2.19.1

func (o ElastigroupAzureV3LoginOutput) ToElastigroupAzureV3LoginPtrOutput() ElastigroupAzureV3LoginPtrOutput

func (ElastigroupAzureV3LoginOutput) ToElastigroupAzureV3LoginPtrOutputWithContext added in v2.19.1

func (o ElastigroupAzureV3LoginOutput) ToElastigroupAzureV3LoginPtrOutputWithContext(ctx context.Context) ElastigroupAzureV3LoginPtrOutput

func (ElastigroupAzureV3LoginOutput) UserName added in v2.19.1

Set admin access for accessing your VMs.

type ElastigroupAzureV3LoginPtrInput added in v2.19.1

type ElastigroupAzureV3LoginPtrInput interface {
	pulumi.Input

	ToElastigroupAzureV3LoginPtrOutput() ElastigroupAzureV3LoginPtrOutput
	ToElastigroupAzureV3LoginPtrOutputWithContext(context.Context) ElastigroupAzureV3LoginPtrOutput
}

ElastigroupAzureV3LoginPtrInput is an input type that accepts ElastigroupAzureV3LoginArgs, ElastigroupAzureV3LoginPtr and ElastigroupAzureV3LoginPtrOutput values. You can construct a concrete instance of `ElastigroupAzureV3LoginPtrInput` via:

        ElastigroupAzureV3LoginArgs{...}

or:

        nil

func ElastigroupAzureV3LoginPtr added in v2.19.1

func ElastigroupAzureV3LoginPtr(v *ElastigroupAzureV3LoginArgs) ElastigroupAzureV3LoginPtrInput

type ElastigroupAzureV3LoginPtrOutput added in v2.19.1

type ElastigroupAzureV3LoginPtrOutput struct{ *pulumi.OutputState }

func (ElastigroupAzureV3LoginPtrOutput) Elem added in v2.19.1

func (ElastigroupAzureV3LoginPtrOutput) ElementType added in v2.19.1

func (ElastigroupAzureV3LoginPtrOutput) Password added in v2.19.1

Password for admin access to Windows VMs. Required for Windows OS types.

func (ElastigroupAzureV3LoginPtrOutput) SshPublicKey added in v2.19.1

SSH for admin access to Linux VMs. Required for Linux OS types.

func (ElastigroupAzureV3LoginPtrOutput) ToElastigroupAzureV3LoginPtrOutput added in v2.19.1

func (o ElastigroupAzureV3LoginPtrOutput) ToElastigroupAzureV3LoginPtrOutput() ElastigroupAzureV3LoginPtrOutput

func (ElastigroupAzureV3LoginPtrOutput) ToElastigroupAzureV3LoginPtrOutputWithContext added in v2.19.1

func (o ElastigroupAzureV3LoginPtrOutput) ToElastigroupAzureV3LoginPtrOutputWithContext(ctx context.Context) ElastigroupAzureV3LoginPtrOutput

func (ElastigroupAzureV3LoginPtrOutput) UserName added in v2.19.1

Set admin access for accessing your VMs.

type ElastigroupAzureV3Map added in v2.19.1

type ElastigroupAzureV3Map map[string]ElastigroupAzureV3Input

func (ElastigroupAzureV3Map) ElementType added in v2.19.1

func (ElastigroupAzureV3Map) ElementType() reflect.Type

func (ElastigroupAzureV3Map) ToElastigroupAzureV3MapOutput added in v2.19.1

func (i ElastigroupAzureV3Map) ToElastigroupAzureV3MapOutput() ElastigroupAzureV3MapOutput

func (ElastigroupAzureV3Map) ToElastigroupAzureV3MapOutputWithContext added in v2.19.1

func (i ElastigroupAzureV3Map) ToElastigroupAzureV3MapOutputWithContext(ctx context.Context) ElastigroupAzureV3MapOutput

type ElastigroupAzureV3MapInput added in v2.19.1

type ElastigroupAzureV3MapInput interface {
	pulumi.Input

	ToElastigroupAzureV3MapOutput() ElastigroupAzureV3MapOutput
	ToElastigroupAzureV3MapOutputWithContext(context.Context) ElastigroupAzureV3MapOutput
}

ElastigroupAzureV3MapInput is an input type that accepts ElastigroupAzureV3Map and ElastigroupAzureV3MapOutput values. You can construct a concrete instance of `ElastigroupAzureV3MapInput` via:

ElastigroupAzureV3Map{ "key": ElastigroupAzureV3Args{...} }

type ElastigroupAzureV3MapOutput added in v2.19.1

type ElastigroupAzureV3MapOutput struct{ *pulumi.OutputState }

func (ElastigroupAzureV3MapOutput) ElementType added in v2.19.1

func (ElastigroupAzureV3MapOutput) MapIndex added in v2.19.1

func (ElastigroupAzureV3MapOutput) ToElastigroupAzureV3MapOutput added in v2.19.1

func (o ElastigroupAzureV3MapOutput) ToElastigroupAzureV3MapOutput() ElastigroupAzureV3MapOutput

func (ElastigroupAzureV3MapOutput) ToElastigroupAzureV3MapOutputWithContext added in v2.19.1

func (o ElastigroupAzureV3MapOutput) ToElastigroupAzureV3MapOutputWithContext(ctx context.Context) ElastigroupAzureV3MapOutput

type ElastigroupAzureV3Network added in v2.19.1

type ElastigroupAzureV3Network struct {
	NetworkInterfaces []ElastigroupAzureV3NetworkNetworkInterface `pulumi:"networkInterfaces"`
	// Vnet Resource Group Name.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// Name of Vnet.
	VirtualNetworkName string `pulumi:"virtualNetworkName"`
}

type ElastigroupAzureV3NetworkArgs added in v2.19.1

type ElastigroupAzureV3NetworkArgs struct {
	NetworkInterfaces ElastigroupAzureV3NetworkNetworkInterfaceArrayInput `pulumi:"networkInterfaces"`
	// Vnet Resource Group Name.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
	// Name of Vnet.
	VirtualNetworkName pulumi.StringInput `pulumi:"virtualNetworkName"`
}

func (ElastigroupAzureV3NetworkArgs) ElementType added in v2.19.1

func (ElastigroupAzureV3NetworkArgs) ToElastigroupAzureV3NetworkOutput added in v2.19.1

func (i ElastigroupAzureV3NetworkArgs) ToElastigroupAzureV3NetworkOutput() ElastigroupAzureV3NetworkOutput

func (ElastigroupAzureV3NetworkArgs) ToElastigroupAzureV3NetworkOutputWithContext added in v2.19.1

func (i ElastigroupAzureV3NetworkArgs) ToElastigroupAzureV3NetworkOutputWithContext(ctx context.Context) ElastigroupAzureV3NetworkOutput

func (ElastigroupAzureV3NetworkArgs) ToElastigroupAzureV3NetworkPtrOutput added in v2.19.1

func (i ElastigroupAzureV3NetworkArgs) ToElastigroupAzureV3NetworkPtrOutput() ElastigroupAzureV3NetworkPtrOutput

func (ElastigroupAzureV3NetworkArgs) ToElastigroupAzureV3NetworkPtrOutputWithContext added in v2.19.1

func (i ElastigroupAzureV3NetworkArgs) ToElastigroupAzureV3NetworkPtrOutputWithContext(ctx context.Context) ElastigroupAzureV3NetworkPtrOutput

type ElastigroupAzureV3NetworkInput added in v2.19.1

type ElastigroupAzureV3NetworkInput interface {
	pulumi.Input

	ToElastigroupAzureV3NetworkOutput() ElastigroupAzureV3NetworkOutput
	ToElastigroupAzureV3NetworkOutputWithContext(context.Context) ElastigroupAzureV3NetworkOutput
}

ElastigroupAzureV3NetworkInput is an input type that accepts ElastigroupAzureV3NetworkArgs and ElastigroupAzureV3NetworkOutput values. You can construct a concrete instance of `ElastigroupAzureV3NetworkInput` via:

ElastigroupAzureV3NetworkArgs{...}

type ElastigroupAzureV3NetworkNetworkInterface added in v2.19.1

type ElastigroupAzureV3NetworkNetworkInterface struct {
	// Array of additional IP configuration objects.
	AdditionalIpConfigs []ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfig `pulumi:"additionalIpConfigs"`
	AssignPublicIp      bool                                                          `pulumi:"assignPublicIp"`
	IsPrimary           bool                                                          `pulumi:"isPrimary"`
	// ID of subnet.
	SubnetName string `pulumi:"subnetName"`
}

type ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfig added in v2.19.1

type ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfig struct {
	// The IP configuration name.
	Name string `pulumi:"name"`
	// Available from Azure Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Valid values: `IPv4`, `IPv6`.
	PrivateIpVersion *string `pulumi:"privateIpVersion"`
}

type ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArgs added in v2.19.1

type ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArgs struct {
	// The IP configuration name.
	Name pulumi.StringInput `pulumi:"name"`
	// Available from Azure Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Valid values: `IPv4`, `IPv6`.
	PrivateIpVersion pulumi.StringPtrInput `pulumi:"privateIpVersion"`
}

func (ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArgs) ElementType added in v2.19.1

func (ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArgs) ToElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigOutput added in v2.19.1

func (ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArgs) ToElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigOutputWithContext added in v2.19.1

func (i ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArgs) ToElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigOutputWithContext(ctx context.Context) ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigOutput

type ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArray added in v2.19.1

type ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArray []ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigInput

func (ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArray) ElementType added in v2.19.1

func (ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArray) ToElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayOutput added in v2.19.1

func (ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArray) ToElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayOutputWithContext added in v2.19.1

func (i ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArray) ToElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayOutputWithContext(ctx context.Context) ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayOutput

type ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayInput added in v2.19.1

type ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayInput interface {
	pulumi.Input

	ToElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayOutput() ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayOutput
	ToElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayOutputWithContext(context.Context) ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayOutput
}

ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayInput is an input type that accepts ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArray and ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayOutput values. You can construct a concrete instance of `ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayInput` via:

ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArray{ ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArgs{...} }

type ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayOutput added in v2.19.1

type ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayOutput struct{ *pulumi.OutputState }

func (ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayOutput) ElementType added in v2.19.1

func (ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayOutput) Index added in v2.19.1

func (ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayOutput) ToElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayOutput added in v2.19.1

func (ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayOutput) ToElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayOutputWithContext added in v2.19.1

func (o ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayOutput) ToElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayOutputWithContext(ctx context.Context) ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayOutput

type ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigInput added in v2.19.1

type ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigInput interface {
	pulumi.Input

	ToElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigOutput() ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigOutput
	ToElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigOutputWithContext(context.Context) ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigOutput
}

ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigInput is an input type that accepts ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArgs and ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigOutput values. You can construct a concrete instance of `ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigInput` via:

ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArgs{...}

type ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigOutput added in v2.19.1

type ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigOutput struct{ *pulumi.OutputState }

func (ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigOutput) ElementType added in v2.19.1

func (ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigOutput) Name added in v2.19.1

The IP configuration name.

func (ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigOutput) PrivateIpVersion added in v2.19.1

Available from Azure Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Valid values: `IPv4`, `IPv6`.

func (ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigOutput) ToElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigOutput added in v2.19.1

func (ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigOutput) ToElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigOutputWithContext added in v2.19.1

func (o ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigOutput) ToElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigOutputWithContext(ctx context.Context) ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigOutput

type ElastigroupAzureV3NetworkNetworkInterfaceArgs added in v2.19.1

type ElastigroupAzureV3NetworkNetworkInterfaceArgs struct {
	// Array of additional IP configuration objects.
	AdditionalIpConfigs ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArrayInput `pulumi:"additionalIpConfigs"`
	AssignPublicIp      pulumi.BoolInput                                                      `pulumi:"assignPublicIp"`
	IsPrimary           pulumi.BoolInput                                                      `pulumi:"isPrimary"`
	// ID of subnet.
	SubnetName pulumi.StringInput `pulumi:"subnetName"`
}

func (ElastigroupAzureV3NetworkNetworkInterfaceArgs) ElementType added in v2.19.1

func (ElastigroupAzureV3NetworkNetworkInterfaceArgs) ToElastigroupAzureV3NetworkNetworkInterfaceOutput added in v2.19.1

func (i ElastigroupAzureV3NetworkNetworkInterfaceArgs) ToElastigroupAzureV3NetworkNetworkInterfaceOutput() ElastigroupAzureV3NetworkNetworkInterfaceOutput

func (ElastigroupAzureV3NetworkNetworkInterfaceArgs) ToElastigroupAzureV3NetworkNetworkInterfaceOutputWithContext added in v2.19.1

func (i ElastigroupAzureV3NetworkNetworkInterfaceArgs) ToElastigroupAzureV3NetworkNetworkInterfaceOutputWithContext(ctx context.Context) ElastigroupAzureV3NetworkNetworkInterfaceOutput

type ElastigroupAzureV3NetworkNetworkInterfaceArray added in v2.19.1

type ElastigroupAzureV3NetworkNetworkInterfaceArray []ElastigroupAzureV3NetworkNetworkInterfaceInput

func (ElastigroupAzureV3NetworkNetworkInterfaceArray) ElementType added in v2.19.1

func (ElastigroupAzureV3NetworkNetworkInterfaceArray) ToElastigroupAzureV3NetworkNetworkInterfaceArrayOutput added in v2.19.1

func (i ElastigroupAzureV3NetworkNetworkInterfaceArray) ToElastigroupAzureV3NetworkNetworkInterfaceArrayOutput() ElastigroupAzureV3NetworkNetworkInterfaceArrayOutput

func (ElastigroupAzureV3NetworkNetworkInterfaceArray) ToElastigroupAzureV3NetworkNetworkInterfaceArrayOutputWithContext added in v2.19.1

func (i ElastigroupAzureV3NetworkNetworkInterfaceArray) ToElastigroupAzureV3NetworkNetworkInterfaceArrayOutputWithContext(ctx context.Context) ElastigroupAzureV3NetworkNetworkInterfaceArrayOutput

type ElastigroupAzureV3NetworkNetworkInterfaceArrayInput added in v2.19.1

type ElastigroupAzureV3NetworkNetworkInterfaceArrayInput interface {
	pulumi.Input

	ToElastigroupAzureV3NetworkNetworkInterfaceArrayOutput() ElastigroupAzureV3NetworkNetworkInterfaceArrayOutput
	ToElastigroupAzureV3NetworkNetworkInterfaceArrayOutputWithContext(context.Context) ElastigroupAzureV3NetworkNetworkInterfaceArrayOutput
}

ElastigroupAzureV3NetworkNetworkInterfaceArrayInput is an input type that accepts ElastigroupAzureV3NetworkNetworkInterfaceArray and ElastigroupAzureV3NetworkNetworkInterfaceArrayOutput values. You can construct a concrete instance of `ElastigroupAzureV3NetworkNetworkInterfaceArrayInput` via:

ElastigroupAzureV3NetworkNetworkInterfaceArray{ ElastigroupAzureV3NetworkNetworkInterfaceArgs{...} }

type ElastigroupAzureV3NetworkNetworkInterfaceArrayOutput added in v2.19.1

type ElastigroupAzureV3NetworkNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }

func (ElastigroupAzureV3NetworkNetworkInterfaceArrayOutput) ElementType added in v2.19.1

func (ElastigroupAzureV3NetworkNetworkInterfaceArrayOutput) Index added in v2.19.1

func (ElastigroupAzureV3NetworkNetworkInterfaceArrayOutput) ToElastigroupAzureV3NetworkNetworkInterfaceArrayOutput added in v2.19.1

func (ElastigroupAzureV3NetworkNetworkInterfaceArrayOutput) ToElastigroupAzureV3NetworkNetworkInterfaceArrayOutputWithContext added in v2.19.1

func (o ElastigroupAzureV3NetworkNetworkInterfaceArrayOutput) ToElastigroupAzureV3NetworkNetworkInterfaceArrayOutputWithContext(ctx context.Context) ElastigroupAzureV3NetworkNetworkInterfaceArrayOutput

type ElastigroupAzureV3NetworkNetworkInterfaceInput added in v2.19.1

type ElastigroupAzureV3NetworkNetworkInterfaceInput interface {
	pulumi.Input

	ToElastigroupAzureV3NetworkNetworkInterfaceOutput() ElastigroupAzureV3NetworkNetworkInterfaceOutput
	ToElastigroupAzureV3NetworkNetworkInterfaceOutputWithContext(context.Context) ElastigroupAzureV3NetworkNetworkInterfaceOutput
}

ElastigroupAzureV3NetworkNetworkInterfaceInput is an input type that accepts ElastigroupAzureV3NetworkNetworkInterfaceArgs and ElastigroupAzureV3NetworkNetworkInterfaceOutput values. You can construct a concrete instance of `ElastigroupAzureV3NetworkNetworkInterfaceInput` via:

ElastigroupAzureV3NetworkNetworkInterfaceArgs{...}

type ElastigroupAzureV3NetworkNetworkInterfaceOutput added in v2.19.1

type ElastigroupAzureV3NetworkNetworkInterfaceOutput struct{ *pulumi.OutputState }

func (ElastigroupAzureV3NetworkNetworkInterfaceOutput) AdditionalIpConfigs added in v2.19.1

Array of additional IP configuration objects.

func (ElastigroupAzureV3NetworkNetworkInterfaceOutput) AssignPublicIp added in v2.19.1

func (ElastigroupAzureV3NetworkNetworkInterfaceOutput) ElementType added in v2.19.1

func (ElastigroupAzureV3NetworkNetworkInterfaceOutput) IsPrimary added in v2.19.1

func (ElastigroupAzureV3NetworkNetworkInterfaceOutput) SubnetName added in v2.19.1

ID of subnet.

func (ElastigroupAzureV3NetworkNetworkInterfaceOutput) ToElastigroupAzureV3NetworkNetworkInterfaceOutput added in v2.19.1

func (o ElastigroupAzureV3NetworkNetworkInterfaceOutput) ToElastigroupAzureV3NetworkNetworkInterfaceOutput() ElastigroupAzureV3NetworkNetworkInterfaceOutput

func (ElastigroupAzureV3NetworkNetworkInterfaceOutput) ToElastigroupAzureV3NetworkNetworkInterfaceOutputWithContext added in v2.19.1

func (o ElastigroupAzureV3NetworkNetworkInterfaceOutput) ToElastigroupAzureV3NetworkNetworkInterfaceOutputWithContext(ctx context.Context) ElastigroupAzureV3NetworkNetworkInterfaceOutput

type ElastigroupAzureV3NetworkOutput added in v2.19.1

type ElastigroupAzureV3NetworkOutput struct{ *pulumi.OutputState }

func (ElastigroupAzureV3NetworkOutput) ElementType added in v2.19.1

func (ElastigroupAzureV3NetworkOutput) NetworkInterfaces added in v2.19.1

func (ElastigroupAzureV3NetworkOutput) ResourceGroupName added in v2.19.1

func (o ElastigroupAzureV3NetworkOutput) ResourceGroupName() pulumi.StringOutput

Vnet Resource Group Name.

func (ElastigroupAzureV3NetworkOutput) ToElastigroupAzureV3NetworkOutput added in v2.19.1

func (o ElastigroupAzureV3NetworkOutput) ToElastigroupAzureV3NetworkOutput() ElastigroupAzureV3NetworkOutput

func (ElastigroupAzureV3NetworkOutput) ToElastigroupAzureV3NetworkOutputWithContext added in v2.19.1

func (o ElastigroupAzureV3NetworkOutput) ToElastigroupAzureV3NetworkOutputWithContext(ctx context.Context) ElastigroupAzureV3NetworkOutput

func (ElastigroupAzureV3NetworkOutput) ToElastigroupAzureV3NetworkPtrOutput added in v2.19.1

func (o ElastigroupAzureV3NetworkOutput) ToElastigroupAzureV3NetworkPtrOutput() ElastigroupAzureV3NetworkPtrOutput

func (ElastigroupAzureV3NetworkOutput) ToElastigroupAzureV3NetworkPtrOutputWithContext added in v2.19.1

func (o ElastigroupAzureV3NetworkOutput) ToElastigroupAzureV3NetworkPtrOutputWithContext(ctx context.Context) ElastigroupAzureV3NetworkPtrOutput

func (ElastigroupAzureV3NetworkOutput) VirtualNetworkName added in v2.19.1

func (o ElastigroupAzureV3NetworkOutput) VirtualNetworkName() pulumi.StringOutput

Name of Vnet.

type ElastigroupAzureV3NetworkPtrInput added in v2.19.1

type ElastigroupAzureV3NetworkPtrInput interface {
	pulumi.Input

	ToElastigroupAzureV3NetworkPtrOutput() ElastigroupAzureV3NetworkPtrOutput
	ToElastigroupAzureV3NetworkPtrOutputWithContext(context.Context) ElastigroupAzureV3NetworkPtrOutput
}

ElastigroupAzureV3NetworkPtrInput is an input type that accepts ElastigroupAzureV3NetworkArgs, ElastigroupAzureV3NetworkPtr and ElastigroupAzureV3NetworkPtrOutput values. You can construct a concrete instance of `ElastigroupAzureV3NetworkPtrInput` via:

        ElastigroupAzureV3NetworkArgs{...}

or:

        nil

func ElastigroupAzureV3NetworkPtr added in v2.19.1

type ElastigroupAzureV3NetworkPtrOutput added in v2.19.1

type ElastigroupAzureV3NetworkPtrOutput struct{ *pulumi.OutputState }

func (ElastigroupAzureV3NetworkPtrOutput) Elem added in v2.19.1

func (ElastigroupAzureV3NetworkPtrOutput) ElementType added in v2.19.1

func (ElastigroupAzureV3NetworkPtrOutput) NetworkInterfaces added in v2.19.1

func (ElastigroupAzureV3NetworkPtrOutput) ResourceGroupName added in v2.19.1

Vnet Resource Group Name.

func (ElastigroupAzureV3NetworkPtrOutput) ToElastigroupAzureV3NetworkPtrOutput added in v2.19.1

func (o ElastigroupAzureV3NetworkPtrOutput) ToElastigroupAzureV3NetworkPtrOutput() ElastigroupAzureV3NetworkPtrOutput

func (ElastigroupAzureV3NetworkPtrOutput) ToElastigroupAzureV3NetworkPtrOutputWithContext added in v2.19.1

func (o ElastigroupAzureV3NetworkPtrOutput) ToElastigroupAzureV3NetworkPtrOutputWithContext(ctx context.Context) ElastigroupAzureV3NetworkPtrOutput

func (ElastigroupAzureV3NetworkPtrOutput) VirtualNetworkName added in v2.19.1

Name of Vnet.

type ElastigroupAzureV3Output added in v2.19.1

type ElastigroupAzureV3Output struct {
	*pulumi.OutputState
}

func (ElastigroupAzureV3Output) ElementType added in v2.19.1

func (ElastigroupAzureV3Output) ElementType() reflect.Type

func (ElastigroupAzureV3Output) ToElastigroupAzureV3Output added in v2.19.1

func (o ElastigroupAzureV3Output) ToElastigroupAzureV3Output() ElastigroupAzureV3Output

func (ElastigroupAzureV3Output) ToElastigroupAzureV3OutputWithContext added in v2.19.1

func (o ElastigroupAzureV3Output) ToElastigroupAzureV3OutputWithContext(ctx context.Context) ElastigroupAzureV3Output

func (ElastigroupAzureV3Output) ToElastigroupAzureV3PtrOutput added in v2.19.1

func (o ElastigroupAzureV3Output) ToElastigroupAzureV3PtrOutput() ElastigroupAzureV3PtrOutput

func (ElastigroupAzureV3Output) ToElastigroupAzureV3PtrOutputWithContext added in v2.19.1

func (o ElastigroupAzureV3Output) ToElastigroupAzureV3PtrOutputWithContext(ctx context.Context) ElastigroupAzureV3PtrOutput

type ElastigroupAzureV3PtrInput added in v2.19.1

type ElastigroupAzureV3PtrInput interface {
	pulumi.Input

	ToElastigroupAzureV3PtrOutput() ElastigroupAzureV3PtrOutput
	ToElastigroupAzureV3PtrOutputWithContext(ctx context.Context) ElastigroupAzureV3PtrOutput
}

type ElastigroupAzureV3PtrOutput added in v2.19.1

type ElastigroupAzureV3PtrOutput struct {
	*pulumi.OutputState
}

func (ElastigroupAzureV3PtrOutput) ElementType added in v2.19.1

func (ElastigroupAzureV3PtrOutput) ToElastigroupAzureV3PtrOutput added in v2.19.1

func (o ElastigroupAzureV3PtrOutput) ToElastigroupAzureV3PtrOutput() ElastigroupAzureV3PtrOutput

func (ElastigroupAzureV3PtrOutput) ToElastigroupAzureV3PtrOutputWithContext added in v2.19.1

func (o ElastigroupAzureV3PtrOutput) ToElastigroupAzureV3PtrOutputWithContext(ctx context.Context) ElastigroupAzureV3PtrOutput

type ElastigroupAzureV3State added in v2.19.1

type ElastigroupAzureV3State struct {
	// The desired number of instances the group should have at any time.
	DesiredCapacity pulumi.IntPtrInput
	// Image of a VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace) or use a custom image.
	Images ElastigroupAzureV3ImageArrayInput
	// Describes the login configuration.
	Login ElastigroupAzureV3LoginPtrInput
	// The maximum number of instances the group should have at any time.
	MaxSize pulumi.IntPtrInput
	// The minimum number of instances the group should have at any time.
	MinSize pulumi.IntPtrInput
	// The IP configuration name.
	Name pulumi.StringPtrInput
	// Defines the Virtual Network and Subnet for your Elastigroup.
	Network ElastigroupAzureV3NetworkPtrInput
	// Available On-Demand sizes
	OdSizes pulumi.StringArrayInput
	// Operation system type. Valid values: `"Linux"`, `"Windows"`.
	Os pulumi.StringPtrInput
	// The region your Azure group will be created in.
	Region pulumi.StringPtrInput
	// Vnet Resource Group Name.
	ResourceGroupName pulumi.StringPtrInput
	// Available Low-Priority sizes.
	SpotSizes pulumi.StringArrayInput
	// Describes the deployment strategy.
	Strategy ElastigroupAzureV3StrategyPtrInput
}

func (ElastigroupAzureV3State) ElementType added in v2.19.1

func (ElastigroupAzureV3State) ElementType() reflect.Type

type ElastigroupAzureV3Strategy added in v2.19.1

type ElastigroupAzureV3Strategy struct {
	// Time (seconds) to allow the instance to be drained from incoming TCP connections and detached from MLB before terminating it during a scale-down operation.
	DrainingTimeout    *int  `pulumi:"drainingTimeout"`
	FallbackToOnDemand *bool `pulumi:"fallbackToOnDemand"`
	// Number of On-Demand instances to maintain. Required if lowPriorityPercentage is not specified.
	OdCount *int `pulumi:"odCount"`
	// TODO
	SpotPercentage *int `pulumi:"spotPercentage"`
}

type ElastigroupAzureV3StrategyArgs added in v2.19.1

type ElastigroupAzureV3StrategyArgs struct {
	// Time (seconds) to allow the instance to be drained from incoming TCP connections and detached from MLB before terminating it during a scale-down operation.
	DrainingTimeout    pulumi.IntPtrInput  `pulumi:"drainingTimeout"`
	FallbackToOnDemand pulumi.BoolPtrInput `pulumi:"fallbackToOnDemand"`
	// Number of On-Demand instances to maintain. Required if lowPriorityPercentage is not specified.
	OdCount pulumi.IntPtrInput `pulumi:"odCount"`
	// TODO
	SpotPercentage pulumi.IntPtrInput `pulumi:"spotPercentage"`
}

func (ElastigroupAzureV3StrategyArgs) ElementType added in v2.19.1

func (ElastigroupAzureV3StrategyArgs) ToElastigroupAzureV3StrategyOutput added in v2.19.1

func (i ElastigroupAzureV3StrategyArgs) ToElastigroupAzureV3StrategyOutput() ElastigroupAzureV3StrategyOutput

func (ElastigroupAzureV3StrategyArgs) ToElastigroupAzureV3StrategyOutputWithContext added in v2.19.1

func (i ElastigroupAzureV3StrategyArgs) ToElastigroupAzureV3StrategyOutputWithContext(ctx context.Context) ElastigroupAzureV3StrategyOutput

func (ElastigroupAzureV3StrategyArgs) ToElastigroupAzureV3StrategyPtrOutput added in v2.19.1

func (i ElastigroupAzureV3StrategyArgs) ToElastigroupAzureV3StrategyPtrOutput() ElastigroupAzureV3StrategyPtrOutput

func (ElastigroupAzureV3StrategyArgs) ToElastigroupAzureV3StrategyPtrOutputWithContext added in v2.19.1

func (i ElastigroupAzureV3StrategyArgs) ToElastigroupAzureV3StrategyPtrOutputWithContext(ctx context.Context) ElastigroupAzureV3StrategyPtrOutput

type ElastigroupAzureV3StrategyInput added in v2.19.1

type ElastigroupAzureV3StrategyInput interface {
	pulumi.Input

	ToElastigroupAzureV3StrategyOutput() ElastigroupAzureV3StrategyOutput
	ToElastigroupAzureV3StrategyOutputWithContext(context.Context) ElastigroupAzureV3StrategyOutput
}

ElastigroupAzureV3StrategyInput is an input type that accepts ElastigroupAzureV3StrategyArgs and ElastigroupAzureV3StrategyOutput values. You can construct a concrete instance of `ElastigroupAzureV3StrategyInput` via:

ElastigroupAzureV3StrategyArgs{...}

type ElastigroupAzureV3StrategyOutput added in v2.19.1

type ElastigroupAzureV3StrategyOutput struct{ *pulumi.OutputState }

func (ElastigroupAzureV3StrategyOutput) DrainingTimeout added in v2.19.1

Time (seconds) to allow the instance to be drained from incoming TCP connections and detached from MLB before terminating it during a scale-down operation.

func (ElastigroupAzureV3StrategyOutput) ElementType added in v2.19.1

func (ElastigroupAzureV3StrategyOutput) FallbackToOnDemand added in v2.19.1

func (o ElastigroupAzureV3StrategyOutput) FallbackToOnDemand() pulumi.BoolPtrOutput

func (ElastigroupAzureV3StrategyOutput) OdCount added in v2.19.1

Number of On-Demand instances to maintain. Required if lowPriorityPercentage is not specified.

func (ElastigroupAzureV3StrategyOutput) SpotPercentage added in v2.19.1

TODO

func (ElastigroupAzureV3StrategyOutput) ToElastigroupAzureV3StrategyOutput added in v2.19.1

func (o ElastigroupAzureV3StrategyOutput) ToElastigroupAzureV3StrategyOutput() ElastigroupAzureV3StrategyOutput

func (ElastigroupAzureV3StrategyOutput) ToElastigroupAzureV3StrategyOutputWithContext added in v2.19.1

func (o ElastigroupAzureV3StrategyOutput) ToElastigroupAzureV3StrategyOutputWithContext(ctx context.Context) ElastigroupAzureV3StrategyOutput

func (ElastigroupAzureV3StrategyOutput) ToElastigroupAzureV3StrategyPtrOutput added in v2.19.1

func (o ElastigroupAzureV3StrategyOutput) ToElastigroupAzureV3StrategyPtrOutput() ElastigroupAzureV3StrategyPtrOutput

func (ElastigroupAzureV3StrategyOutput) ToElastigroupAzureV3StrategyPtrOutputWithContext added in v2.19.1

func (o ElastigroupAzureV3StrategyOutput) ToElastigroupAzureV3StrategyPtrOutputWithContext(ctx context.Context) ElastigroupAzureV3StrategyPtrOutput

type ElastigroupAzureV3StrategyPtrInput added in v2.19.1

type ElastigroupAzureV3StrategyPtrInput interface {
	pulumi.Input

	ToElastigroupAzureV3StrategyPtrOutput() ElastigroupAzureV3StrategyPtrOutput
	ToElastigroupAzureV3StrategyPtrOutputWithContext(context.Context) ElastigroupAzureV3StrategyPtrOutput
}

ElastigroupAzureV3StrategyPtrInput is an input type that accepts ElastigroupAzureV3StrategyArgs, ElastigroupAzureV3StrategyPtr and ElastigroupAzureV3StrategyPtrOutput values. You can construct a concrete instance of `ElastigroupAzureV3StrategyPtrInput` via:

        ElastigroupAzureV3StrategyArgs{...}

or:

        nil

func ElastigroupAzureV3StrategyPtr added in v2.19.1

type ElastigroupAzureV3StrategyPtrOutput added in v2.19.1

type ElastigroupAzureV3StrategyPtrOutput struct{ *pulumi.OutputState }

func (ElastigroupAzureV3StrategyPtrOutput) DrainingTimeout added in v2.19.1

Time (seconds) to allow the instance to be drained from incoming TCP connections and detached from MLB before terminating it during a scale-down operation.

func (ElastigroupAzureV3StrategyPtrOutput) Elem added in v2.19.1

func (ElastigroupAzureV3StrategyPtrOutput) ElementType added in v2.19.1

func (ElastigroupAzureV3StrategyPtrOutput) FallbackToOnDemand added in v2.19.1

func (ElastigroupAzureV3StrategyPtrOutput) OdCount added in v2.19.1

Number of On-Demand instances to maintain. Required if lowPriorityPercentage is not specified.

func (ElastigroupAzureV3StrategyPtrOutput) SpotPercentage added in v2.19.1

TODO

func (ElastigroupAzureV3StrategyPtrOutput) ToElastigroupAzureV3StrategyPtrOutput added in v2.19.1

func (o ElastigroupAzureV3StrategyPtrOutput) ToElastigroupAzureV3StrategyPtrOutput() ElastigroupAzureV3StrategyPtrOutput

func (ElastigroupAzureV3StrategyPtrOutput) ToElastigroupAzureV3StrategyPtrOutputWithContext added in v2.19.1

func (o ElastigroupAzureV3StrategyPtrOutput) ToElastigroupAzureV3StrategyPtrOutputWithContext(ctx context.Context) ElastigroupAzureV3StrategyPtrOutput

type HealthCheck

type HealthCheck struct {
	pulumi.CustomResourceState

	// Describes the check to execute.
	Check HealthCheckCheckPtrOutput `pulumi:"check"`
	// The name of the health check.
	Name         pulumi.StringOutput `pulumi:"name"`
	ProxyAddress pulumi.StringOutput `pulumi:"proxyAddress"`
	ProxyPort    pulumi.IntPtrOutput `pulumi:"proxyPort"`
	// The ID of the resource to check.
	ResourceId pulumi.StringOutput `pulumi:"resourceId"`
}

Provides a Spotinst Health Check resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-spotinst/sdk/v2/go/spotinst"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := spotinst.NewHealthCheck(ctx, "httpCheck", &spotinst.HealthCheckArgs{
			Check: &spotinst.HealthCheckCheckArgs{
				Endpoint:  pulumi.String("http://endpoint.com"),
				Healthy:   pulumi.Int(1),
				Interval:  pulumi.Int(10),
				Port:      pulumi.Int(1337),
				Protocol:  pulumi.String("http"),
				Timeout:   pulumi.Int(10),
				Unhealthy: pulumi.Int(1),
			},
			ProxyAddress: pulumi.String("http://proxy.com"),
			ProxyPort:    pulumi.Int(80),
			ResourceId:   pulumi.String("sig-123"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetHealthCheck

func GetHealthCheck(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HealthCheckState, opts ...pulumi.ResourceOption) (*HealthCheck, error)

GetHealthCheck gets an existing HealthCheck 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 NewHealthCheck

func NewHealthCheck(ctx *pulumi.Context,
	name string, args *HealthCheckArgs, opts ...pulumi.ResourceOption) (*HealthCheck, error)

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

func (*HealthCheck) ElementType added in v2.11.1

func (*HealthCheck) ElementType() reflect.Type

func (*HealthCheck) ToHealthCheckOutput added in v2.11.1

func (i *HealthCheck) ToHealthCheckOutput() HealthCheckOutput

func (*HealthCheck) ToHealthCheckOutputWithContext added in v2.11.1

func (i *HealthCheck) ToHealthCheckOutputWithContext(ctx context.Context) HealthCheckOutput

func (*HealthCheck) ToHealthCheckPtrOutput added in v2.16.1

func (i *HealthCheck) ToHealthCheckPtrOutput() HealthCheckPtrOutput

func (*HealthCheck) ToHealthCheckPtrOutputWithContext added in v2.16.1

func (i *HealthCheck) ToHealthCheckPtrOutputWithContext(ctx context.Context) HealthCheckPtrOutput

type HealthCheckArgs

type HealthCheckArgs struct {
	// Describes the check to execute.
	Check HealthCheckCheckPtrInput
	// The name of the health check.
	Name         pulumi.StringPtrInput
	ProxyAddress pulumi.StringInput
	ProxyPort    pulumi.IntPtrInput
	// The ID of the resource to check.
	ResourceId pulumi.StringInput
}

The set of arguments for constructing a HealthCheck resource.

func (HealthCheckArgs) ElementType

func (HealthCheckArgs) ElementType() reflect.Type

type HealthCheckArray added in v2.16.1

type HealthCheckArray []HealthCheckInput

func (HealthCheckArray) ElementType added in v2.16.1

func (HealthCheckArray) ElementType() reflect.Type

func (HealthCheckArray) ToHealthCheckArrayOutput added in v2.16.1

func (i HealthCheckArray) ToHealthCheckArrayOutput() HealthCheckArrayOutput

func (HealthCheckArray) ToHealthCheckArrayOutputWithContext added in v2.16.1

func (i HealthCheckArray) ToHealthCheckArrayOutputWithContext(ctx context.Context) HealthCheckArrayOutput

type HealthCheckArrayInput added in v2.16.1

type HealthCheckArrayInput interface {
	pulumi.Input

	ToHealthCheckArrayOutput() HealthCheckArrayOutput
	ToHealthCheckArrayOutputWithContext(context.Context) HealthCheckArrayOutput
}

HealthCheckArrayInput is an input type that accepts HealthCheckArray and HealthCheckArrayOutput values. You can construct a concrete instance of `HealthCheckArrayInput` via:

HealthCheckArray{ HealthCheckArgs{...} }

type HealthCheckArrayOutput added in v2.16.1

type HealthCheckArrayOutput struct{ *pulumi.OutputState }

func (HealthCheckArrayOutput) ElementType added in v2.16.1

func (HealthCheckArrayOutput) ElementType() reflect.Type

func (HealthCheckArrayOutput) Index added in v2.16.1

func (HealthCheckArrayOutput) ToHealthCheckArrayOutput added in v2.16.1

func (o HealthCheckArrayOutput) ToHealthCheckArrayOutput() HealthCheckArrayOutput

func (HealthCheckArrayOutput) ToHealthCheckArrayOutputWithContext added in v2.16.1

func (o HealthCheckArrayOutput) ToHealthCheckArrayOutputWithContext(ctx context.Context) HealthCheckArrayOutput

type HealthCheckCheck

type HealthCheckCheck struct {
	EndPoint *string `pulumi:"endPoint"`
	// The destination for the request.
	Endpoint *string `pulumi:"endpoint"`
	// The number of consecutive successful health checks that must occur before declaring an instance healthy.
	Healthy int `pulumi:"healthy"`
	// The amount of time (in seconds) between each health check (minimum: 10).
	Interval int `pulumi:"interval"`
	// The port of the Spotinst HCS (default: 80).
	Port int `pulumi:"port"`
	// The protocol to use to connect with the instance. Valid values: http, https.
	Protocol string `pulumi:"protocol"`
	TimeOut  *int   `pulumi:"timeOut"`
	// the amount of time (in seconds) to wait when receiving a response from the health check.
	Timeout *int `pulumi:"timeout"`
	// The number of consecutive failed health checks that must occur before declaring an instance unhealthy.
	Unhealthy int `pulumi:"unhealthy"`
}

type HealthCheckCheckArgs

type HealthCheckCheckArgs struct {
	EndPoint pulumi.StringPtrInput `pulumi:"endPoint"`
	// The destination for the request.
	Endpoint pulumi.StringPtrInput `pulumi:"endpoint"`
	// The number of consecutive successful health checks that must occur before declaring an instance healthy.
	Healthy pulumi.IntInput `pulumi:"healthy"`
	// The amount of time (in seconds) between each health check (minimum: 10).
	Interval pulumi.IntInput `pulumi:"interval"`
	// The port of the Spotinst HCS (default: 80).
	Port pulumi.IntInput `pulumi:"port"`
	// The protocol to use to connect with the instance. Valid values: http, https.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	TimeOut  pulumi.IntPtrInput `pulumi:"timeOut"`
	// the amount of time (in seconds) to wait when receiving a response from the health check.
	Timeout pulumi.IntPtrInput `pulumi:"timeout"`
	// The number of consecutive failed health checks that must occur before declaring an instance unhealthy.
	Unhealthy pulumi.IntInput `pulumi:"unhealthy"`
}

func (HealthCheckCheckArgs) ElementType

func (HealthCheckCheckArgs) ElementType() reflect.Type

func (HealthCheckCheckArgs) ToHealthCheckCheckOutput

func (i HealthCheckCheckArgs) ToHealthCheckCheckOutput() HealthCheckCheckOutput

func (HealthCheckCheckArgs) ToHealthCheckCheckOutputWithContext

func (i HealthCheckCheckArgs) ToHealthCheckCheckOutputWithContext(ctx context.Context) HealthCheckCheckOutput

func (HealthCheckCheckArgs) ToHealthCheckCheckPtrOutput

func (i HealthCheckCheckArgs) ToHealthCheckCheckPtrOutput() HealthCheckCheckPtrOutput

func (HealthCheckCheckArgs) ToHealthCheckCheckPtrOutputWithContext

func (i HealthCheckCheckArgs) ToHealthCheckCheckPtrOutputWithContext(ctx context.Context) HealthCheckCheckPtrOutput

type HealthCheckCheckInput

type HealthCheckCheckInput interface {
	pulumi.Input

	ToHealthCheckCheckOutput() HealthCheckCheckOutput
	ToHealthCheckCheckOutputWithContext(context.Context) HealthCheckCheckOutput
}

HealthCheckCheckInput is an input type that accepts HealthCheckCheckArgs and HealthCheckCheckOutput values. You can construct a concrete instance of `HealthCheckCheckInput` via:

HealthCheckCheckArgs{...}

type HealthCheckCheckOutput

type HealthCheckCheckOutput struct{ *pulumi.OutputState }

func (HealthCheckCheckOutput) ElementType

func (HealthCheckCheckOutput) ElementType() reflect.Type

func (HealthCheckCheckOutput) EndPoint

func (HealthCheckCheckOutput) Endpoint added in v2.2.0

The destination for the request.

func (HealthCheckCheckOutput) Healthy

The number of consecutive successful health checks that must occur before declaring an instance healthy.

func (HealthCheckCheckOutput) Interval

The amount of time (in seconds) between each health check (minimum: 10).

func (HealthCheckCheckOutput) Port

The port of the Spotinst HCS (default: 80).

func (HealthCheckCheckOutput) Protocol

The protocol to use to connect with the instance. Valid values: http, https.

func (HealthCheckCheckOutput) TimeOut

func (HealthCheckCheckOutput) Timeout added in v2.2.0

the amount of time (in seconds) to wait when receiving a response from the health check.

func (HealthCheckCheckOutput) ToHealthCheckCheckOutput

func (o HealthCheckCheckOutput) ToHealthCheckCheckOutput() HealthCheckCheckOutput

func (HealthCheckCheckOutput) ToHealthCheckCheckOutputWithContext

func (o HealthCheckCheckOutput) ToHealthCheckCheckOutputWithContext(ctx context.Context) HealthCheckCheckOutput

func (HealthCheckCheckOutput) ToHealthCheckCheckPtrOutput

func (o HealthCheckCheckOutput) ToHealthCheckCheckPtrOutput() HealthCheckCheckPtrOutput

func (HealthCheckCheckOutput) ToHealthCheckCheckPtrOutputWithContext

func (o HealthCheckCheckOutput) ToHealthCheckCheckPtrOutputWithContext(ctx context.Context) HealthCheckCheckPtrOutput

func (HealthCheckCheckOutput) Unhealthy

func (o HealthCheckCheckOutput) Unhealthy() pulumi.IntOutput

The number of consecutive failed health checks that must occur before declaring an instance unhealthy.

type HealthCheckCheckPtrInput

type HealthCheckCheckPtrInput interface {
	pulumi.Input

	ToHealthCheckCheckPtrOutput() HealthCheckCheckPtrOutput
	ToHealthCheckCheckPtrOutputWithContext(context.Context) HealthCheckCheckPtrOutput
}

HealthCheckCheckPtrInput is an input type that accepts HealthCheckCheckArgs, HealthCheckCheckPtr and HealthCheckCheckPtrOutput values. You can construct a concrete instance of `HealthCheckCheckPtrInput` via:

        HealthCheckCheckArgs{...}

or:

        nil

type HealthCheckCheckPtrOutput

type HealthCheckCheckPtrOutput struct{ *pulumi.OutputState }

func (HealthCheckCheckPtrOutput) Elem

func (HealthCheckCheckPtrOutput) ElementType

func (HealthCheckCheckPtrOutput) ElementType() reflect.Type

func (HealthCheckCheckPtrOutput) EndPoint

func (HealthCheckCheckPtrOutput) Endpoint added in v2.2.0

The destination for the request.

func (HealthCheckCheckPtrOutput) Healthy

The number of consecutive successful health checks that must occur before declaring an instance healthy.

func (HealthCheckCheckPtrOutput) Interval

The amount of time (in seconds) between each health check (minimum: 10).

func (HealthCheckCheckPtrOutput) Port

The port of the Spotinst HCS (default: 80).

func (HealthCheckCheckPtrOutput) Protocol

The protocol to use to connect with the instance. Valid values: http, https.

func (HealthCheckCheckPtrOutput) TimeOut

func (HealthCheckCheckPtrOutput) Timeout added in v2.2.0

the amount of time (in seconds) to wait when receiving a response from the health check.

func (HealthCheckCheckPtrOutput) ToHealthCheckCheckPtrOutput

func (o HealthCheckCheckPtrOutput) ToHealthCheckCheckPtrOutput() HealthCheckCheckPtrOutput

func (HealthCheckCheckPtrOutput) ToHealthCheckCheckPtrOutputWithContext

func (o HealthCheckCheckPtrOutput) ToHealthCheckCheckPtrOutputWithContext(ctx context.Context) HealthCheckCheckPtrOutput

func (HealthCheckCheckPtrOutput) Unhealthy

The number of consecutive failed health checks that must occur before declaring an instance unhealthy.

type HealthCheckInput added in v2.11.1

type HealthCheckInput interface {
	pulumi.Input

	ToHealthCheckOutput() HealthCheckOutput
	ToHealthCheckOutputWithContext(ctx context.Context) HealthCheckOutput
}

type HealthCheckMap added in v2.16.1

type HealthCheckMap map[string]HealthCheckInput

func (HealthCheckMap) ElementType added in v2.16.1

func (HealthCheckMap) ElementType() reflect.Type

func (HealthCheckMap) ToHealthCheckMapOutput added in v2.16.1

func (i HealthCheckMap) ToHealthCheckMapOutput() HealthCheckMapOutput

func (HealthCheckMap) ToHealthCheckMapOutputWithContext added in v2.16.1

func (i HealthCheckMap) ToHealthCheckMapOutputWithContext(ctx context.Context) HealthCheckMapOutput

type HealthCheckMapInput added in v2.16.1

type HealthCheckMapInput interface {
	pulumi.Input

	ToHealthCheckMapOutput() HealthCheckMapOutput
	ToHealthCheckMapOutputWithContext(context.Context) HealthCheckMapOutput
}

HealthCheckMapInput is an input type that accepts HealthCheckMap and HealthCheckMapOutput values. You can construct a concrete instance of `HealthCheckMapInput` via:

HealthCheckMap{ "key": HealthCheckArgs{...} }

type HealthCheckMapOutput added in v2.16.1

type HealthCheckMapOutput struct{ *pulumi.OutputState }

func (HealthCheckMapOutput) ElementType added in v2.16.1

func (HealthCheckMapOutput) ElementType() reflect.Type

func (HealthCheckMapOutput) MapIndex added in v2.16.1

func (HealthCheckMapOutput) ToHealthCheckMapOutput added in v2.16.1

func (o HealthCheckMapOutput) ToHealthCheckMapOutput() HealthCheckMapOutput

func (HealthCheckMapOutput) ToHealthCheckMapOutputWithContext added in v2.16.1

func (o HealthCheckMapOutput) ToHealthCheckMapOutputWithContext(ctx context.Context) HealthCheckMapOutput

type HealthCheckOutput added in v2.11.1

type HealthCheckOutput struct {
	*pulumi.OutputState
}

func (HealthCheckOutput) ElementType added in v2.11.1

func (HealthCheckOutput) ElementType() reflect.Type

func (HealthCheckOutput) ToHealthCheckOutput added in v2.11.1

func (o HealthCheckOutput) ToHealthCheckOutput() HealthCheckOutput

func (HealthCheckOutput) ToHealthCheckOutputWithContext added in v2.11.1

func (o HealthCheckOutput) ToHealthCheckOutputWithContext(ctx context.Context) HealthCheckOutput

func (HealthCheckOutput) ToHealthCheckPtrOutput added in v2.16.1

func (o HealthCheckOutput) ToHealthCheckPtrOutput() HealthCheckPtrOutput

func (HealthCheckOutput) ToHealthCheckPtrOutputWithContext added in v2.16.1

func (o HealthCheckOutput) ToHealthCheckPtrOutputWithContext(ctx context.Context) HealthCheckPtrOutput

type HealthCheckPtrInput added in v2.16.1

type HealthCheckPtrInput interface {
	pulumi.Input

	ToHealthCheckPtrOutput() HealthCheckPtrOutput
	ToHealthCheckPtrOutputWithContext(ctx context.Context) HealthCheckPtrOutput
}

type HealthCheckPtrOutput added in v2.16.1

type HealthCheckPtrOutput struct {
	*pulumi.OutputState
}

func (HealthCheckPtrOutput) ElementType added in v2.16.1

func (HealthCheckPtrOutput) ElementType() reflect.Type

func (HealthCheckPtrOutput) ToHealthCheckPtrOutput added in v2.16.1

func (o HealthCheckPtrOutput) ToHealthCheckPtrOutput() HealthCheckPtrOutput

func (HealthCheckPtrOutput) ToHealthCheckPtrOutputWithContext added in v2.16.1

func (o HealthCheckPtrOutput) ToHealthCheckPtrOutputWithContext(ctx context.Context) HealthCheckPtrOutput

type HealthCheckState

type HealthCheckState struct {
	// Describes the check to execute.
	Check HealthCheckCheckPtrInput
	// The name of the health check.
	Name         pulumi.StringPtrInput
	ProxyAddress pulumi.StringPtrInput
	ProxyPort    pulumi.IntPtrInput
	// The ID of the resource to check.
	ResourceId pulumi.StringPtrInput
}

func (HealthCheckState) ElementType

func (HealthCheckState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState
}

The provider type for the spotinst package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

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

func (*Provider) ElementType added in v2.11.1

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput added in v2.11.1

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext added in v2.11.1

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

func (*Provider) ToProviderPtrOutput added in v2.16.1

func (i *Provider) ToProviderPtrOutput() ProviderPtrOutput

func (*Provider) ToProviderPtrOutputWithContext added in v2.16.1

func (i *Provider) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

type ProviderArgs

type ProviderArgs struct {
	// Spotinst Account ID
	Account pulumi.StringPtrInput
	// Spotinst SDK Feature Flags
	FeatureFlags pulumi.StringPtrInput
	// Spotinst Personal API Access Token
	Token pulumi.StringPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput added in v2.11.1

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput added in v2.11.1

type ProviderOutput struct {
	*pulumi.OutputState
}

func (ProviderOutput) ElementType added in v2.11.1

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ToProviderOutput added in v2.11.1

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext added in v2.11.1

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

func (ProviderOutput) ToProviderPtrOutput added in v2.16.1

func (o ProviderOutput) ToProviderPtrOutput() ProviderPtrOutput

func (ProviderOutput) ToProviderPtrOutputWithContext added in v2.16.1

func (o ProviderOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

type ProviderPtrInput added in v2.16.1

type ProviderPtrInput interface {
	pulumi.Input

	ToProviderPtrOutput() ProviderPtrOutput
	ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
}

type ProviderPtrOutput added in v2.16.1

type ProviderPtrOutput struct {
	*pulumi.OutputState
}

func (ProviderPtrOutput) ElementType added in v2.16.1

func (ProviderPtrOutput) ElementType() reflect.Type

func (ProviderPtrOutput) ToProviderPtrOutput added in v2.16.1

func (o ProviderPtrOutput) ToProviderPtrOutput() ProviderPtrOutput

func (ProviderPtrOutput) ToProviderPtrOutputWithContext added in v2.16.1

func (o ProviderPtrOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

type Subscription

type Subscription struct {
	pulumi.CustomResourceState

	// The endpoint the notification will be sent to. url in case of `"http"`/`"https"`/`"web"`, email address in case of `"email"`/`"email-json"` and sns-topic-arn in case of `"aws-sns"`.
	Endpoint pulumi.StringOutput `pulumi:"endpoint"`
	// The event to send the notification when triggered. Valid values: `"AWS_EC2_INSTANCE_TERMINATE"`, `"AWS_EC2_INSTANCE_TERMINATED"`, `"AWS_EC2_INSTANCE_LAUNCH"`, `"AWS_EC2_INSTANCE_READY_SIGNAL_TIMEOUT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`,
	// `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`,
	// `"GROUP_UPDATED"`,
	// `"AWS_EMR_PROVISION_TIMEOUT"`,
	// `"GROUP_BEANSTALK_INIT_READY"`,
	// `"AZURE_VM_TERMINATED"`,
	// `"AZURE_VM_TERMINATE"`,
	// `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`,
	// `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`,
	// `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`.
	// Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`.
	EventType pulumi.StringOutput `pulumi:"eventType"`
	// The format of the notification content (JSON Format - Key+Value). Valid Values : `"instance-id"`, `"event"`, `"resource-id"`, `"resource-name"`, `"subnet-id"`, `"availability-zone"`, `"reason"`, `"private-ip"`, `"launchspec-id"`
	// Example: {"event": `"event"`, `"resourceId"`: `"resource-id"`, `"resourceName"`: `"resource-name"`", `"myCustomKey"`: `"My content is set here"` }
	// Default: {`"event"`: `"<event>"`, `"instanceId"`: `"<instance-id>"`, `"resourceId"`: `"<resource-id>"`, `"resourceName"`: `"<resource-name>"` }.
	Format pulumi.MapOutput `pulumi:"format"`
	// The protocol to send the notification. Valid values: `"email"`, `"email-json"`, `"aws-sns"`, `"web"`.
	// The following values are deprecated: `"http"` , `"https"`
	// You can use the generic `"web"` protocol instead.
	// `"aws-sns"` is only supported with AWS provider
	Protocol pulumi.StringOutput `pulumi:"protocol"`
	// Spotinst Resource id (Elastigroup or Ocean ID).
	ResourceId pulumi.StringOutput `pulumi:"resourceId"`
}

Provides a Spotinst subscription resource.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-spotinst/sdk/v2/go/spotinst"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := spotinst.NewSubscription(ctx, "default_subscription", &spotinst.SubscriptionArgs{
			Endpoint:  pulumi.String("http://endpoint.com"),
			EventType: pulumi.String("AWS_EC2_INSTANCE_LAUNCH"),
			Format: pulumi.StringMap{
				"event":         pulumi.String(fmt.Sprintf("%v%v%v", "%", "event", "%")),
				"instance_id":   pulumi.String(fmt.Sprintf("%v%v%v", "%", "instance-id", "%")),
				"resource_id":   pulumi.String(fmt.Sprintf("%v%v%v", "%", "resource-id", "%")),
				"resource_name": pulumi.String(fmt.Sprintf("%v%v%v", "%", "resource-name", "%")),
				"tags":          pulumi.String("foo,baz,baz"),
			},
			Protocol:   pulumi.String("http"),
			ResourceId: pulumi.Any(spotinst_elastigroup_aws.My - eg.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetSubscription

func GetSubscription(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SubscriptionState, opts ...pulumi.ResourceOption) (*Subscription, error)

GetSubscription gets an existing Subscription 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 NewSubscription

func NewSubscription(ctx *pulumi.Context,
	name string, args *SubscriptionArgs, opts ...pulumi.ResourceOption) (*Subscription, error)

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

func (*Subscription) ElementType added in v2.11.1

func (*Subscription) ElementType() reflect.Type

func (*Subscription) ToSubscriptionOutput added in v2.11.1

func (i *Subscription) ToSubscriptionOutput() SubscriptionOutput

func (*Subscription) ToSubscriptionOutputWithContext added in v2.11.1

func (i *Subscription) ToSubscriptionOutputWithContext(ctx context.Context) SubscriptionOutput

func (*Subscription) ToSubscriptionPtrOutput added in v2.16.1

func (i *Subscription) ToSubscriptionPtrOutput() SubscriptionPtrOutput

func (*Subscription) ToSubscriptionPtrOutputWithContext added in v2.16.1

func (i *Subscription) ToSubscriptionPtrOutputWithContext(ctx context.Context) SubscriptionPtrOutput

type SubscriptionArgs

type SubscriptionArgs struct {
	// The endpoint the notification will be sent to. url in case of `"http"`/`"https"`/`"web"`, email address in case of `"email"`/`"email-json"` and sns-topic-arn in case of `"aws-sns"`.
	Endpoint pulumi.StringInput
	// The event to send the notification when triggered. Valid values: `"AWS_EC2_INSTANCE_TERMINATE"`, `"AWS_EC2_INSTANCE_TERMINATED"`, `"AWS_EC2_INSTANCE_LAUNCH"`, `"AWS_EC2_INSTANCE_READY_SIGNAL_TIMEOUT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`,
	// `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`,
	// `"GROUP_UPDATED"`,
	// `"AWS_EMR_PROVISION_TIMEOUT"`,
	// `"GROUP_BEANSTALK_INIT_READY"`,
	// `"AZURE_VM_TERMINATED"`,
	// `"AZURE_VM_TERMINATE"`,
	// `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`,
	// `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`,
	// `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`.
	// Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`.
	EventType pulumi.StringInput
	// The format of the notification content (JSON Format - Key+Value). Valid Values : `"instance-id"`, `"event"`, `"resource-id"`, `"resource-name"`, `"subnet-id"`, `"availability-zone"`, `"reason"`, `"private-ip"`, `"launchspec-id"`
	// Example: {"event": `"event"`, `"resourceId"`: `"resource-id"`, `"resourceName"`: `"resource-name"`", `"myCustomKey"`: `"My content is set here"` }
	// Default: {`"event"`: `"<event>"`, `"instanceId"`: `"<instance-id>"`, `"resourceId"`: `"<resource-id>"`, `"resourceName"`: `"<resource-name>"` }.
	Format pulumi.MapInput
	// The protocol to send the notification. Valid values: `"email"`, `"email-json"`, `"aws-sns"`, `"web"`.
	// The following values are deprecated: `"http"` , `"https"`
	// You can use the generic `"web"` protocol instead.
	// `"aws-sns"` is only supported with AWS provider
	Protocol pulumi.StringInput
	// Spotinst Resource id (Elastigroup or Ocean ID).
	ResourceId pulumi.StringInput
}

The set of arguments for constructing a Subscription resource.

func (SubscriptionArgs) ElementType

func (SubscriptionArgs) ElementType() reflect.Type

type SubscriptionArray added in v2.16.1

type SubscriptionArray []SubscriptionInput

func (SubscriptionArray) ElementType added in v2.16.1

func (SubscriptionArray) ElementType() reflect.Type

func (SubscriptionArray) ToSubscriptionArrayOutput added in v2.16.1

func (i SubscriptionArray) ToSubscriptionArrayOutput() SubscriptionArrayOutput

func (SubscriptionArray) ToSubscriptionArrayOutputWithContext added in v2.16.1

func (i SubscriptionArray) ToSubscriptionArrayOutputWithContext(ctx context.Context) SubscriptionArrayOutput

type SubscriptionArrayInput added in v2.16.1

type SubscriptionArrayInput interface {
	pulumi.Input

	ToSubscriptionArrayOutput() SubscriptionArrayOutput
	ToSubscriptionArrayOutputWithContext(context.Context) SubscriptionArrayOutput
}

SubscriptionArrayInput is an input type that accepts SubscriptionArray and SubscriptionArrayOutput values. You can construct a concrete instance of `SubscriptionArrayInput` via:

SubscriptionArray{ SubscriptionArgs{...} }

type SubscriptionArrayOutput added in v2.16.1

type SubscriptionArrayOutput struct{ *pulumi.OutputState }

func (SubscriptionArrayOutput) ElementType added in v2.16.1

func (SubscriptionArrayOutput) ElementType() reflect.Type

func (SubscriptionArrayOutput) Index added in v2.16.1

func (SubscriptionArrayOutput) ToSubscriptionArrayOutput added in v2.16.1

func (o SubscriptionArrayOutput) ToSubscriptionArrayOutput() SubscriptionArrayOutput

func (SubscriptionArrayOutput) ToSubscriptionArrayOutputWithContext added in v2.16.1

func (o SubscriptionArrayOutput) ToSubscriptionArrayOutputWithContext(ctx context.Context) SubscriptionArrayOutput

type SubscriptionInput added in v2.11.1

type SubscriptionInput interface {
	pulumi.Input

	ToSubscriptionOutput() SubscriptionOutput
	ToSubscriptionOutputWithContext(ctx context.Context) SubscriptionOutput
}

type SubscriptionMap added in v2.16.1

type SubscriptionMap map[string]SubscriptionInput

func (SubscriptionMap) ElementType added in v2.16.1

func (SubscriptionMap) ElementType() reflect.Type

func (SubscriptionMap) ToSubscriptionMapOutput added in v2.16.1

func (i SubscriptionMap) ToSubscriptionMapOutput() SubscriptionMapOutput

func (SubscriptionMap) ToSubscriptionMapOutputWithContext added in v2.16.1

func (i SubscriptionMap) ToSubscriptionMapOutputWithContext(ctx context.Context) SubscriptionMapOutput

type SubscriptionMapInput added in v2.16.1

type SubscriptionMapInput interface {
	pulumi.Input

	ToSubscriptionMapOutput() SubscriptionMapOutput
	ToSubscriptionMapOutputWithContext(context.Context) SubscriptionMapOutput
}

SubscriptionMapInput is an input type that accepts SubscriptionMap and SubscriptionMapOutput values. You can construct a concrete instance of `SubscriptionMapInput` via:

SubscriptionMap{ "key": SubscriptionArgs{...} }

type SubscriptionMapOutput added in v2.16.1

type SubscriptionMapOutput struct{ *pulumi.OutputState }

func (SubscriptionMapOutput) ElementType added in v2.16.1

func (SubscriptionMapOutput) ElementType() reflect.Type

func (SubscriptionMapOutput) MapIndex added in v2.16.1

func (SubscriptionMapOutput) ToSubscriptionMapOutput added in v2.16.1

func (o SubscriptionMapOutput) ToSubscriptionMapOutput() SubscriptionMapOutput

func (SubscriptionMapOutput) ToSubscriptionMapOutputWithContext added in v2.16.1

func (o SubscriptionMapOutput) ToSubscriptionMapOutputWithContext(ctx context.Context) SubscriptionMapOutput

type SubscriptionOutput added in v2.11.1

type SubscriptionOutput struct {
	*pulumi.OutputState
}

func (SubscriptionOutput) ElementType added in v2.11.1

func (SubscriptionOutput) ElementType() reflect.Type

func (SubscriptionOutput) ToSubscriptionOutput added in v2.11.1

func (o SubscriptionOutput) ToSubscriptionOutput() SubscriptionOutput

func (SubscriptionOutput) ToSubscriptionOutputWithContext added in v2.11.1

func (o SubscriptionOutput) ToSubscriptionOutputWithContext(ctx context.Context) SubscriptionOutput

func (SubscriptionOutput) ToSubscriptionPtrOutput added in v2.16.1

func (o SubscriptionOutput) ToSubscriptionPtrOutput() SubscriptionPtrOutput

func (SubscriptionOutput) ToSubscriptionPtrOutputWithContext added in v2.16.1

func (o SubscriptionOutput) ToSubscriptionPtrOutputWithContext(ctx context.Context) SubscriptionPtrOutput

type SubscriptionPtrInput added in v2.16.1

type SubscriptionPtrInput interface {
	pulumi.Input

	ToSubscriptionPtrOutput() SubscriptionPtrOutput
	ToSubscriptionPtrOutputWithContext(ctx context.Context) SubscriptionPtrOutput
}

type SubscriptionPtrOutput added in v2.16.1

type SubscriptionPtrOutput struct {
	*pulumi.OutputState
}

func (SubscriptionPtrOutput) ElementType added in v2.16.1

func (SubscriptionPtrOutput) ElementType() reflect.Type

func (SubscriptionPtrOutput) ToSubscriptionPtrOutput added in v2.16.1

func (o SubscriptionPtrOutput) ToSubscriptionPtrOutput() SubscriptionPtrOutput

func (SubscriptionPtrOutput) ToSubscriptionPtrOutputWithContext added in v2.16.1

func (o SubscriptionPtrOutput) ToSubscriptionPtrOutputWithContext(ctx context.Context) SubscriptionPtrOutput

type SubscriptionState

type SubscriptionState struct {
	// The endpoint the notification will be sent to. url in case of `"http"`/`"https"`/`"web"`, email address in case of `"email"`/`"email-json"` and sns-topic-arn in case of `"aws-sns"`.
	Endpoint pulumi.StringPtrInput
	// The event to send the notification when triggered. Valid values: `"AWS_EC2_INSTANCE_TERMINATE"`, `"AWS_EC2_INSTANCE_TERMINATED"`, `"AWS_EC2_INSTANCE_LAUNCH"`, `"AWS_EC2_INSTANCE_READY_SIGNAL_TIMEOUT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`,
	// `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`,
	// `"GROUP_UPDATED"`,
	// `"AWS_EMR_PROVISION_TIMEOUT"`,
	// `"GROUP_BEANSTALK_INIT_READY"`,
	// `"AZURE_VM_TERMINATED"`,
	// `"AZURE_VM_TERMINATE"`,
	// `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`,
	// `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`,
	// `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`.
	// Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`.
	EventType pulumi.StringPtrInput
	// The format of the notification content (JSON Format - Key+Value). Valid Values : `"instance-id"`, `"event"`, `"resource-id"`, `"resource-name"`, `"subnet-id"`, `"availability-zone"`, `"reason"`, `"private-ip"`, `"launchspec-id"`
	// Example: {"event": `"event"`, `"resourceId"`: `"resource-id"`, `"resourceName"`: `"resource-name"`", `"myCustomKey"`: `"My content is set here"` }
	// Default: {`"event"`: `"<event>"`, `"instanceId"`: `"<instance-id>"`, `"resourceId"`: `"<resource-id>"`, `"resourceName"`: `"<resource-name>"` }.
	Format pulumi.MapInput
	// The protocol to send the notification. Valid values: `"email"`, `"email-json"`, `"aws-sns"`, `"web"`.
	// The following values are deprecated: `"http"` , `"https"`
	// You can use the generic `"web"` protocol instead.
	// `"aws-sns"` is only supported with AWS provider
	Protocol pulumi.StringPtrInput
	// Spotinst Resource id (Elastigroup or Ocean ID).
	ResourceId pulumi.StringPtrInput
}

func (SubscriptionState) ElementType

func (SubscriptionState) ElementType() reflect.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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