Class ManagedInstanceArgs
Inheritance
System.Object
ManagedInstanceArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Pulumi.SpotInst.dll
Syntax
public sealed class ManagedInstanceArgs : ResourceArgs
Constructors
View Source
ManagedInstanceArgs()
Declaration
public ManagedInstanceArgs()
Properties
View Source
AutoHealing
Enable the auto healing which auto replaces the instance in case the health check fails, default: “true”.
Declaration
public Input<bool> AutoHealing { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
BlockDevicesMode
Determine the way we attach the data volumes to the data devices. Valid values: "reattach", "onLaunch".
Default: "onLaunch".
Declaration
public Input<string> BlockDevicesMode { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
CpuCredits
cpuCredits can have one of two values: “unlimited”, “standard”.
Default: unlimited
Declaration
public Input<string> CpuCredits { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Description
The ManagedInstance description.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
DrainingTimeout
The time in seconds to allow the instance be drained from incoming TCP connections and detached from ELB before terminating it, during a scale down operation.
Declaration
public Input<int> DrainingTimeout { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
EbsOptimized
Enable EBS optimization for supported instance which is not enabled by default. Note - additional charges will be applied.
Default: false
Declaration
public Input<bool> EbsOptimized { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
ElasticIp
Elastic IP Allocation Id to associate to the instance.
Declaration
public Input<string> ElasticIp { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
EnableMonitoring
Describes whether instance Enhanced Monitoring is enabled.
Default: false
Declaration
public Input<bool> EnableMonitoring { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
FallBackToOd
Declaration
public Input<bool> FallBackToOd { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
GracePeriod
The amount of time, in seconds, after the instance has launched to starts and check its health, default “120".
Declaration
public Input<int> GracePeriod { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
HealthCheckType
The service to use for the health check. Valid values: “EC2”, “ELB”, “TARGET_GROUP”, “MULTAI_TARGET_SET”.
Default: “EC2”.
Declaration
public Input<string> HealthCheckType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
IamInstanceProfile
Set IAM profile to instance. Set only one of ARN or Name.
Declaration
public Input<string> IamInstanceProfile { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ImageId
The ID of the image used to launch the instance.
Declaration
public Input<string> ImageId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
InstanceTypes
Comma separated list of available instance types for instance.
Declaration
public InputList<string> InstanceTypes { get; set; }
Property Value
View Source
IntegrationRoute53
Declaration
public Input<ManagedInstanceIntegrationRoute53Args> IntegrationRoute53 { get; set; }
Property Value
View Source
KeyPair
Specify a Key Pair to attach to the instances.
Declaration
public Input<string> KeyPair { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
LifeCycle
Set lifecycle, valid values: “spot”, “on_demand”.
Default "spot".
Declaration
public Input<string> LifeCycle { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
LoadBalancers
Declaration
public InputList<ManagedInstanceLoadBalancerArgs> LoadBalancers { get; set; }
Property Value
View Source
Name
The ManagedInstance name.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
NetworkInterfaces
Declaration
public InputList<ManagedInstanceNetworkInterfaceArgs> NetworkInterfaces { get; set; }
Property Value
View Source
OptimizationWindows
When performAt is 'timeWindow': must specify a list of 'timeWindows' with at least one time window Each string is in the format of - ddd:hh:mm-ddd:hh:mm ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59.
Declaration
public InputList<string> OptimizationWindows { get; set; }
Property Value
View Source
Orientation
Select a prediction strategy. Valid values: "balanced", "costOriented", "availabilityOriented", "cheapest".
Default: "availabilityOriented".
Declaration
public Input<string> Orientation { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
PersistBlockDevices
Should the instance maintain its Data volumes.
Declaration
public Input<bool> PersistBlockDevices { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
PersistPrivateIp
Should the instance maintain its private IP.
Declaration
public Input<bool> PersistPrivateIp { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
PersistRootDevice
Should the instance maintain its root device volumes.
Declaration
public Input<bool> PersistRootDevice { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
PlacementTenancy
Valid values: "default", "dedicated"
Default: default
Declaration
public Input<string> PlacementTenancy { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
PreferredType
Preferred instance types for the instance. We will automatically select optional similar instance types to ensure optimized cost efficiency
Declaration
public Input<string> PreferredType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
PrivateIp
Private IP Allocation Id to associate to the instance.
Declaration
public Input<string> PrivateIp { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Product
Operation system type. Valid values: "Linux/UNIX", "SUSE Linux", "Windows", "Red Hat Enterprise Linux", "Linux/UNIX (Amazon VPC)", "SUSE Linux (Amazon VPC)", "Windows (Amazon VPC)", "Red Hat Enterprise Linux (Amazon VPC)".
Declaration
public Input<string> Product { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Region
The AWS region your group will be created in.
Declaration
public Input<string> Region { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
RevertToSpot
Declaration
public Input<ManagedInstanceRevertToSpotArgs> RevertToSpot { get; set; }
Property Value
View Source
ScheduledTasks
Declaration
public InputList<ManagedInstanceScheduledTaskArgs> ScheduledTasks { get; set; }
Property Value
View Source
SecurityGroupIds
One or more security group IDs.
Declaration
public InputList<string> SecurityGroupIds { get; set; }
Property Value
View Source
ShutdownScript
The Base64-encoded shutdown script to execute prior to instance termination.
Declaration
public Input<string> ShutdownScript { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
SubnetIds
A comma-separated list of subnet identifiers for your instance.
Declaration
public InputList<string> SubnetIds { get; set; }
Property Value
View Source
Set tags for the instance. Items should be unique.
Declaration
public InputList<ManagedInstanceTagArgs> Tags { get; set; }
Property Value
View Source
UnhealthyDuration
The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced, default “120".
Declaration
public Input<int> UnhealthyDuration { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
UserData
The Base64-encoded MIME user data to make available to the instances.
Declaration
public Input<string> UserData { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
UtilizeReservedInstances
In case of any available Reserved Instances, Managed Instance will utilize them before purchasing Spot instances.
Default: "false".
Declaration
public Input<bool> UtilizeReservedInstances { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
VpcId
Declaration
public Input<string> VpcId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|