Show / Hide Table of Contents

Class ElastigroupArgs

Inheritance
System.Object
InputArgs
ResourceArgs
ElastigroupArgs
Inherited Members
ResourceArgs.Empty
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()
Namespace: Pulumi.SpotInst.Gcp
Assembly: Pulumi.SpotInst.dll
Syntax
public sealed class ElastigroupArgs : ResourceArgs

Constructors

View Source

ElastigroupArgs()

Declaration
public ElastigroupArgs()

Properties

View Source

AutoHealing

Declaration
public Input<bool> AutoHealing { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

AvailabilityZones

List of availability zones for the group.

Declaration
[Obsolete("This field will soon be handled by Region in Subnets")]
public InputList<string> AvailabilityZones { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

BackendServices

Declaration
public InputList<ElastigroupBackendServiceArgs> BackendServices { get; set; }
Property Value
Type Description
InputList<ElastigroupBackendServiceArgs>
View Source

Description

The region your GCP group will be created in.

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

DesiredCapacity

The desired number of instances the group should have at any time.

Declaration
public Input<int> DesiredCapacity { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Disks

Declaration
public InputList<ElastigroupDiskArgs> Disks { get; set; }
Property Value
Type Description
InputList<ElastigroupDiskArgs>
View Source

DrainingTimeout

Time (seconds) the instance is allowed to run after it is detached from the group. This is to allow the instance time to drain all the current TCP connections before terminating it.

Declaration
public Input<int> DrainingTimeout { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

FallbackToOndemand

Activate fallback-to-on-demand. When provisioning an instance, if no Preemptible market is available, fallback-to-on-demand will provision an On-Demand instance to maintain the group capacity.

Declaration
public Input<bool> FallbackToOndemand { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Gpu

Declaration
public InputList<ElastigroupGpuArgs> Gpu { get; set; }
Property Value
Type Description
InputList<ElastigroupGpuArgs>
View Source

HealthCheckGracePeriod

Declaration
public Input<int> HealthCheckGracePeriod { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

HealthCheckType

Declaration
public Input<string> HealthCheckType { get; set; }
Property Value
Type Description
Input<System.String>
View Source

InstanceTypesCustoms

Defines a set of custom instance types. Required if instance_types_preemptible and instance_types_ondemand are not set.

Declaration
public InputList<ElastigroupInstanceTypesCustomArgs> InstanceTypesCustoms { get; set; }
Property Value
Type Description
InputList<ElastigroupInstanceTypesCustomArgs>
View Source

InstanceTypesOndemand

The regular VM instance type to use for mixed-type groups and when falling back to on-demand. Required if instance_types_preemptible is not set.

Declaration
public Input<string> InstanceTypesOndemand { get; set; }
Property Value
Type Description
Input<System.String>
View Source

InstanceTypesPreemptibles

The preemptible VMs instance type. To maximize cost savings and market availability, select as many types as possible. Required if instance_types_ondemand is not set.

Declaration
public InputList<string> InstanceTypesPreemptibles { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

IntegrationDockerSwarm

Declaration
public Input<ElastigroupIntegrationDockerSwarmArgs> IntegrationDockerSwarm { get; set; }
Property Value
Type Description
Input<ElastigroupIntegrationDockerSwarmArgs>
View Source

IntegrationGke

Declaration
public Input<ElastigroupIntegrationGkeArgs> IntegrationGke { get; set; }
Property Value
Type Description
Input<ElastigroupIntegrationGkeArgs>
View Source

IpForwarding

Declaration
public Input<bool> IpForwarding { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Labels

Array of objects with key-value pairs.

Declaration
public InputList<ElastigroupLabelArgs> Labels { get; set; }
Property Value
Type Description
InputList<ElastigroupLabelArgs>
View Source

MaxSize

The maximum number of instances the group should have at any time.

Declaration
public Input<int> MaxSize { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Metadatas

Array of objects with key-value pairs.

Declaration
public InputList<ElastigroupMetadataArgs> Metadatas { get; set; }
Property Value
Type Description
InputList<ElastigroupMetadataArgs>
View Source

MinSize

The minimum number of instances the group should have at any time.

Declaration
public Input<int> MinSize { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Name

The group name.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

NetworkInterfaces

Declaration
public InputList<ElastigroupNetworkInterfaceArgs> NetworkInterfaces { get; set; }
Property Value
Type Description
InputList<ElastigroupNetworkInterfaceArgs>
View Source

OndemandCount

Declaration
public Input<int> OndemandCount { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

PreemptiblePercentage

Percentage of Preemptible VMs to spin up from the "desired_capacity".

Declaration
public Input<int> PreemptiblePercentage { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

ScalingDownPolicies

Declaration
public InputList<ElastigroupScalingDownPolicyArgs> ScalingDownPolicies { get; set; }
Property Value
Type Description
InputList<ElastigroupScalingDownPolicyArgs>
View Source

ScalingUpPolicies

Declaration
public InputList<ElastigroupScalingUpPolicyArgs> ScalingUpPolicies { get; set; }
Property Value
Type Description
InputList<ElastigroupScalingUpPolicyArgs>
View Source

ScheduledTasks

Declaration
public InputList<ElastigroupScheduledTaskArgs> ScheduledTasks { get; set; }
Property Value
Type Description
InputList<ElastigroupScheduledTaskArgs>
View Source

ServiceAccount

The email of the service account in which the group instances will be launched.

Declaration
public Input<string> ServiceAccount { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ShutdownScript

The Base64-encoded shutdown script that executes prior to instance termination, for more information please see: Shutdown Script

Declaration
public Input<string> ShutdownScript { get; set; }
Property Value
Type Description
Input<System.String>
View Source

StartupScript

Create and run your own startup scripts on your virtual machines to perform automated tasks every time your instance boots up.

Declaration
public Input<string> StartupScript { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Subnets

A list of regions and subnets.

Declaration
public InputList<ElastigroupSubnetArgs> Subnets { get; set; }
Property Value
Type Description
InputList<ElastigroupSubnetArgs>
View Source

Tags

Tags to mark created instances.

Declaration
public InputList<string> Tags { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

UnhealthyDuration

Declaration
public Input<int> UnhealthyDuration { get; set; }
Property Value
Type Description
Input<System.Int32>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.