Documentation ¶
Index ¶
- type Elastigroup
- func (r *Elastigroup) AvailabilityZones() *pulumi.ArrayOutput
- func (r *Elastigroup) BackendServices() *pulumi.ArrayOutput
- func (r *Elastigroup) Description() *pulumi.StringOutput
- func (r *Elastigroup) DesiredCapacity() *pulumi.IntOutput
- func (r *Elastigroup) Disks() *pulumi.ArrayOutput
- func (r *Elastigroup) DrainingTimeout() *pulumi.IntOutput
- func (r *Elastigroup) FallbackToOndemand() *pulumi.BoolOutput
- func (r *Elastigroup) Gpu() *pulumi.ArrayOutput
- func (r *Elastigroup) HealthCheckGracePeriod() *pulumi.IntOutput
- func (r *Elastigroup) ID() *pulumi.IDOutput
- func (r *Elastigroup) InstanceTypesCustoms() *pulumi.ArrayOutput
- func (r *Elastigroup) InstanceTypesOndemand() *pulumi.StringOutput
- func (r *Elastigroup) InstanceTypesPreemptibles() *pulumi.ArrayOutput
- func (r *Elastigroup) IpForwarding() *pulumi.BoolOutput
- func (r *Elastigroup) Labels() *pulumi.ArrayOutput
- func (r *Elastigroup) MaxSize() *pulumi.IntOutput
- func (r *Elastigroup) Metadatas() *pulumi.ArrayOutput
- func (r *Elastigroup) MinSize() *pulumi.IntOutput
- func (r *Elastigroup) Name() *pulumi.StringOutput
- func (r *Elastigroup) NetworkInterfaces() *pulumi.ArrayOutput
- func (r *Elastigroup) OndemandCount() *pulumi.IntOutput
- func (r *Elastigroup) PreemptiblePercentage() *pulumi.IntOutput
- func (r *Elastigroup) ScalingDownPolicies() *pulumi.ArrayOutput
- func (r *Elastigroup) ScalingUpPolicies() *pulumi.ArrayOutput
- func (r *Elastigroup) ServiceAccount() *pulumi.StringOutput
- func (r *Elastigroup) StartupScript() *pulumi.StringOutput
- func (r *Elastigroup) Subnets() *pulumi.ArrayOutput
- func (r *Elastigroup) Tags() *pulumi.ArrayOutput
- func (r *Elastigroup) URN() *pulumi.URNOutput
- type ElastigroupArgs
- type ElastigroupState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Elastigroup ¶
type Elastigroup struct {
// contains filtered or unexported fields
}
Provides a Spotinst elastigroup GCP resource.
func GetElastigroup ¶
func GetElastigroup(ctx *pulumi.Context, name string, id pulumi.ID, state *ElastigroupState, opts ...pulumi.ResourceOpt) (*Elastigroup, error)
GetElastigroup gets an existing Elastigroup 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 NewElastigroup ¶
func NewElastigroup(ctx *pulumi.Context, name string, args *ElastigroupArgs, opts ...pulumi.ResourceOpt) (*Elastigroup, error)
NewElastigroup registers a new resource with the given unique name, arguments, and options.
func (*Elastigroup) AvailabilityZones ¶
func (r *Elastigroup) AvailabilityZones() *pulumi.ArrayOutput
List of availability zones for the group.
func (*Elastigroup) BackendServices ¶
func (r *Elastigroup) BackendServices() *pulumi.ArrayOutput
Describes the backend service configurations.
func (*Elastigroup) Description ¶
func (r *Elastigroup) Description() *pulumi.StringOutput
The region your GCP group will be created in.
func (*Elastigroup) DesiredCapacity ¶
func (r *Elastigroup) DesiredCapacity() *pulumi.IntOutput
The desired number of instances the group should have at any time.
func (*Elastigroup) Disks ¶
func (r *Elastigroup) Disks() *pulumi.ArrayOutput
func (*Elastigroup) DrainingTimeout ¶
func (r *Elastigroup) DrainingTimeout() *pulumi.IntOutput
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.
func (*Elastigroup) FallbackToOndemand ¶
func (r *Elastigroup) FallbackToOndemand() *pulumi.BoolOutput
func (*Elastigroup) Gpu ¶
func (r *Elastigroup) Gpu() *pulumi.ArrayOutput
Defines the GPU configuration.
func (*Elastigroup) HealthCheckGracePeriod ¶
func (r *Elastigroup) HealthCheckGracePeriod() *pulumi.IntOutput
Period of time (seconds) to wait for VM to reach healthiness before monitoring for unhealthiness.
func (*Elastigroup) ID ¶
func (r *Elastigroup) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*Elastigroup) InstanceTypesCustoms ¶
func (r *Elastigroup) InstanceTypesCustoms() *pulumi.ArrayOutput
Defines a set of custom instance types. Required if instance_types_preemptible and instance_types_on_demand are not set.
func (*Elastigroup) InstanceTypesOndemand ¶
func (r *Elastigroup) InstanceTypesOndemand() *pulumi.StringOutput
func (*Elastigroup) InstanceTypesPreemptibles ¶
func (r *Elastigroup) InstanceTypesPreemptibles() *pulumi.ArrayOutput
The preemptible VMs instance type. To maximize cost savings and market availability, select as many types as possible. Required if instance_types_on_demand is not set.
func (*Elastigroup) IpForwarding ¶
func (r *Elastigroup) IpForwarding() *pulumi.BoolOutput
func (*Elastigroup) Labels ¶
func (r *Elastigroup) Labels() *pulumi.ArrayOutput
Array of objects with key-value pairs.
func (*Elastigroup) MaxSize ¶
func (r *Elastigroup) MaxSize() *pulumi.IntOutput
The maximum number of instances the group should have at any time.
func (*Elastigroup) Metadatas ¶
func (r *Elastigroup) Metadatas() *pulumi.ArrayOutput
Array of objects with key-value pairs.
func (*Elastigroup) MinSize ¶
func (r *Elastigroup) MinSize() *pulumi.IntOutput
The minimum number of instances the group should have at any time.
func (*Elastigroup) Name ¶
func (r *Elastigroup) Name() *pulumi.StringOutput
Name of this access configuration.
func (*Elastigroup) NetworkInterfaces ¶
func (r *Elastigroup) NetworkInterfaces() *pulumi.ArrayOutput
Array of objects representing the network configuration for the elastigroup.
func (*Elastigroup) OndemandCount ¶
func (r *Elastigroup) OndemandCount() *pulumi.IntOutput
func (*Elastigroup) PreemptiblePercentage ¶
func (r *Elastigroup) PreemptiblePercentage() *pulumi.IntOutput
Percentage of Preemptible VMs to spin up from the "desired_capacity".
func (*Elastigroup) ScalingDownPolicies ¶
func (r *Elastigroup) ScalingDownPolicies() *pulumi.ArrayOutput
Contains scaling policies for scaling the Elastigroup down.
func (*Elastigroup) ScalingUpPolicies ¶
func (r *Elastigroup) ScalingUpPolicies() *pulumi.ArrayOutput
Contains scaling policies for scaling the Elastigroup up.
func (*Elastigroup) ServiceAccount ¶
func (r *Elastigroup) ServiceAccount() *pulumi.StringOutput
The email of the service account in which the group instances will be launched.
func (*Elastigroup) StartupScript ¶
func (r *Elastigroup) StartupScript() *pulumi.StringOutput
Create and run your own startup scripts on your virtual machines to perform automated tasks every time your instance boots up.
func (*Elastigroup) Subnets ¶
func (r *Elastigroup) Subnets() *pulumi.ArrayOutput
A list of regions and subnets.
func (*Elastigroup) Tags ¶
func (r *Elastigroup) Tags() *pulumi.ArrayOutput
Tags to mark created instances.
func (*Elastigroup) URN ¶
func (r *Elastigroup) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type ElastigroupArgs ¶
type ElastigroupArgs struct { // List of availability zones for the group. AvailabilityZones interface{} // Describes the backend service configurations. BackendServices interface{} // The region your GCP group will be created in. Description interface{} // The desired number of instances the group should have at any time. DesiredCapacity interface{} Disks interface{} // 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. DrainingTimeout interface{} FallbackToOndemand interface{} // Defines the GPU configuration. Gpu interface{} // Period of time (seconds) to wait for VM to reach healthiness before monitoring for unhealthiness. HealthCheckGracePeriod interface{} // Defines a set of custom instance types. Required if instance_types_preemptible and instance_types_on_demand are not set. InstanceTypesCustoms interface{} InstanceTypesOndemand interface{} // The preemptible VMs instance type. To maximize cost savings and market availability, select as many types as possible. Required if instance_types_on_demand is not set. InstanceTypesPreemptibles interface{} IpForwarding interface{} // Array of objects with key-value pairs. Labels interface{} // The maximum number of instances the group should have at any time. MaxSize interface{} // Array of objects with key-value pairs. Metadatas interface{} // The minimum number of instances the group should have at any time. MinSize interface{} // Name of this access configuration. Name interface{} // Array of objects representing the network configuration for the elastigroup. NetworkInterfaces interface{} OndemandCount interface{} // Percentage of Preemptible VMs to spin up from the "desired_capacity". PreemptiblePercentage interface{} // Contains scaling policies for scaling the Elastigroup down. ScalingDownPolicies interface{} // Contains scaling policies for scaling the Elastigroup up. ScalingUpPolicies interface{} // The email of the service account in which the group instances will be launched. ServiceAccount interface{} // Create and run your own startup scripts on your virtual machines to perform automated tasks every time your instance boots up. StartupScript interface{} // A list of regions and subnets. Subnets interface{} // Tags to mark created instances. Tags interface{} }
The set of arguments for constructing a Elastigroup resource.
type ElastigroupState ¶
type ElastigroupState struct { // List of availability zones for the group. AvailabilityZones interface{} // Describes the backend service configurations. BackendServices interface{} // The region your GCP group will be created in. Description interface{} // The desired number of instances the group should have at any time. DesiredCapacity interface{} Disks interface{} // 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. DrainingTimeout interface{} FallbackToOndemand interface{} // Defines the GPU configuration. Gpu interface{} // Period of time (seconds) to wait for VM to reach healthiness before monitoring for unhealthiness. HealthCheckGracePeriod interface{} // Defines a set of custom instance types. Required if instance_types_preemptible and instance_types_on_demand are not set. InstanceTypesCustoms interface{} InstanceTypesOndemand interface{} // The preemptible VMs instance type. To maximize cost savings and market availability, select as many types as possible. Required if instance_types_on_demand is not set. InstanceTypesPreemptibles interface{} IpForwarding interface{} // Array of objects with key-value pairs. Labels interface{} // The maximum number of instances the group should have at any time. MaxSize interface{} // Array of objects with key-value pairs. Metadatas interface{} // The minimum number of instances the group should have at any time. MinSize interface{} // Name of this access configuration. Name interface{} // Array of objects representing the network configuration for the elastigroup. NetworkInterfaces interface{} OndemandCount interface{} // Percentage of Preemptible VMs to spin up from the "desired_capacity". PreemptiblePercentage interface{} // Contains scaling policies for scaling the Elastigroup down. ScalingDownPolicies interface{} // Contains scaling policies for scaling the Elastigroup up. ScalingUpPolicies interface{} // The email of the service account in which the group instances will be launched. ServiceAccount interface{} // Create and run your own startup scripts on your virtual machines to perform automated tasks every time your instance boots up. StartupScript interface{} // A list of regions and subnets. Subnets interface{} // Tags to mark created instances. Tags interface{} }
Input properties used for looking up and filtering Elastigroup resources.