Class AutoProvisioningGroupArgs
Inheritance
System.Object
AutoProvisioningGroupArgs
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.AliCloud.dll
Syntax
public sealed class AutoProvisioningGroupArgs : ResourceArgs
Constructors
View Source
AutoProvisioningGroupArgs()
Declaration
public AutoProvisioningGroupArgs()
Properties
View Source
AutoProvisioningGroupName
Declaration
public Input<string> AutoProvisioningGroupName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
AutoProvisioningGroupType
Declaration
public Input<string> AutoProvisioningGroupType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
DefaultTargetCapacityType
The type of supplemental instances. When the total value of PayAsYouGoTargetCapacity and SpotTargetCapacity is smaller than the value of TotalTargetCapacity, the auto provisioning group will create instances of the specified type to meet the capacity requirements. Valid values:PayAsYouGo: Pay-as-you-go instances; Spot: Preemptible instances, Default value: Spot.
Declaration
public Input<string> DefaultTargetCapacityType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Description
The description of the auto provisioning group.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ExcessCapacityTerminationPolicy
The shutdown policy for excess preemptible instances followed when the capacity of the auto provisioning group exceeds the target capacity. Valid values: no-termination and termination,Default value: no-termination.
Declaration
public Input<string> ExcessCapacityTerminationPolicy { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
LaunchTemplateConfigs
DataDisk mappings to attach to ecs instance. See Block config below for details.
Declaration
public InputList<AutoProvisioningGroupLaunchTemplateConfigArgs> LaunchTemplateConfigs { get; set; }
Property Value
View Source
LaunchTemplateId
The ID of the instance launch template associated with the auto provisioning group.
Declaration
public Input<string> LaunchTemplateId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
LaunchTemplateVersion
The version of the instance launch template associated with the auto provisioning group.
Declaration
public Input<string> LaunchTemplateVersion { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
MaxSpotPrice
The global maximum price for preemptible instances in the auto provisioning group. If both the MaxSpotPrice and LaunchTemplateConfig.N.MaxPrice parameters are specified, the maximum price is the lower value of the two.
Declaration
public Input<double> MaxSpotPrice { get; set; }
Property Value
| Type |
Description |
| Input<System.Double> |
|
View Source
PayAsYouGoAllocationStrategy
The scale-out policy for pay-as-you-go instances. Valid values: lowest-price and prioritized,Default value: lowest-price.
Declaration
public Input<string> PayAsYouGoAllocationStrategy { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
PayAsYouGoTargetCapacity
The target capacity of pay-as-you-go instances in the auto provisioning group.
Declaration
public Input<string> PayAsYouGoTargetCapacity { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
SpotAllocationStrategy
The scale-out policy for preemptible instances. Valid values:lowest-price and diversified,Default value: lowest-price.
Declaration
public Input<string> SpotAllocationStrategy { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
SpotInstanceInterruptionBehavior
The default behavior after preemptible instances are shut down. Value values: stop and terminate,Default value: stop.
Declaration
public Input<string> SpotInstanceInterruptionBehavior { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
SpotInstancePoolsToUseCount
This parameter takes effect when the SpotAllocationStrategy parameter is set to lowest-price. The auto provisioning group selects instance types of the lowest cost to create instances.
Declaration
public Input<int> SpotInstancePoolsToUseCount { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
SpotTargetCapacity
The target capacity of preemptible instances in the auto provisioning group.
Declaration
public Input<string> SpotTargetCapacity { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
TerminateInstances
Specifies whether to release instances of the auto provisioning group. Valid values:false and true, default value: false.
Declaration
public Input<bool> TerminateInstances { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
TerminateInstancesWithExpiration
The shutdown policy for preemptible instances when the auto provisioning group expires. Valid values: false and true, default value: false.
Declaration
public Input<bool> TerminateInstancesWithExpiration { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
TotalTargetCapacity
The total target capacity of the auto provisioning group. The target capacity consists of the following three parts:PayAsYouGoTargetCapacity,SpotTargetCapacity and the supplemental capacity besides PayAsYouGoTargetCapacity and SpotTargetCapacity.
Declaration
public Input<string> TotalTargetCapacity { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ValidFrom
The time when the auto provisioning group is started. The period of time between this point in time and the point in time specified by the valid_until parameter is the effective time period of the auto provisioning group.By default, an auto provisioning group is immediately started after creation.
Declaration
public Input<string> ValidFrom { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ValidUntil
The time when the auto provisioning group expires. The period of time between this point in time and the point in time specified by the valid_from parameter is the effective time period of the auto provisioning group.By default, an auto provisioning group never expires.
Declaration
public Input<string> ValidUntil { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|