ElastigroupAzureV3

Provides a Spotinst elastigroup Azure resource.

Create a ElastigroupAzureV3 Resource

new ElastigroupAzureV3(name: string, args: ElastigroupAzureV3Args, opts?: CustomResourceOptions);
@overload
def ElastigroupAzureV3(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       desired_capacity: Optional[int] = None,
                       images: Optional[Sequence[ElastigroupAzureV3ImageArgs]] = None,
                       login: Optional[ElastigroupAzureV3LoginArgs] = None,
                       max_size: Optional[int] = None,
                       min_size: Optional[int] = None,
                       name: Optional[str] = None,
                       network: Optional[ElastigroupAzureV3NetworkArgs] = None,
                       od_sizes: Optional[Sequence[str]] = None,
                       os: Optional[str] = None,
                       region: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       spot_sizes: Optional[Sequence[str]] = None,
                       strategy: Optional[ElastigroupAzureV3StrategyArgs] = None)
@overload
def ElastigroupAzureV3(resource_name: str,
                       args: ElastigroupAzureV3Args,
                       opts: Optional[ResourceOptions] = None)
func NewElastigroupAzureV3(ctx *Context, name string, args ElastigroupAzureV3Args, opts ...ResourceOption) (*ElastigroupAzureV3, error)
public ElastigroupAzureV3(string name, ElastigroupAzureV3Args args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ElastigroupAzureV3Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ElastigroupAzureV3Args
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ElastigroupAzureV3Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ElastigroupAzureV3Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ElastigroupAzureV3 Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The ElastigroupAzureV3 resource accepts the following input properties:

Network Pulumi.SpotInst.Inputs.ElastigroupAzureV3NetworkArgs
Defines the Virtual Network and Subnet for your Elastigroup.
OdSizes List<string>
Available On-Demand sizes
Os string
Operation system type. Valid values: "Linux", "Windows".
Region string
The region your Azure group will be created in.
ResourceGroupName string
Vnet Resource Group Name.
SpotSizes List<string>
Available Low-Priority sizes.
Strategy Pulumi.SpotInst.Inputs.ElastigroupAzureV3StrategyArgs
Describes the deployment strategy.
DesiredCapacity int
The desired number of instances the group should have at any time.
Images List<Pulumi.SpotInst.Inputs.ElastigroupAzureV3ImageArgs>
Image of a VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace) or use a custom image.
Login Pulumi.SpotInst.Inputs.ElastigroupAzureV3LoginArgs
Describes the login configuration.
MaxSize int
The maximum number of instances the group should have at any time.
MinSize int
The minimum number of instances the group should have at any time.
Name string
The IP configuration name.
Network ElastigroupAzureV3Network
Defines the Virtual Network and Subnet for your Elastigroup.
OdSizes []string
Available On-Demand sizes
Os string
Operation system type. Valid values: "Linux", "Windows".
Region string
The region your Azure group will be created in.
ResourceGroupName string
Vnet Resource Group Name.
SpotSizes []string
Available Low-Priority sizes.
Strategy ElastigroupAzureV3Strategy
Describes the deployment strategy.
DesiredCapacity int
The desired number of instances the group should have at any time.
Images []ElastigroupAzureV3Image
Image of a VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace) or use a custom image.
Login ElastigroupAzureV3Login
Describes the login configuration.
MaxSize int
The maximum number of instances the group should have at any time.
MinSize int
The minimum number of instances the group should have at any time.
Name string
The IP configuration name.
network ElastigroupAzureV3NetworkArgs
Defines the Virtual Network and Subnet for your Elastigroup.
odSizes string[]
Available On-Demand sizes
os string
Operation system type. Valid values: "Linux", "Windows".
region string
The region your Azure group will be created in.
resourceGroupName string
Vnet Resource Group Name.
spotSizes string[]
Available Low-Priority sizes.
strategy ElastigroupAzureV3StrategyArgs
Describes the deployment strategy.
desiredCapacity number
The desired number of instances the group should have at any time.
images ElastigroupAzureV3ImageArgs[]
Image of a VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace) or use a custom image.
login ElastigroupAzureV3LoginArgs
Describes the login configuration.
maxSize number
The maximum number of instances the group should have at any time.
minSize number
The minimum number of instances the group should have at any time.
name string
The IP configuration name.
network ElastigroupAzureV3NetworkArgs
Defines the Virtual Network and Subnet for your Elastigroup.
od_sizes Sequence[str]
Available On-Demand sizes
os str
Operation system type. Valid values: "Linux", "Windows".
region str
The region your Azure group will be created in.
resource_group_name str
Vnet Resource Group Name.
spot_sizes Sequence[str]
Available Low-Priority sizes.
strategy ElastigroupAzureV3StrategyArgs
Describes the deployment strategy.
desired_capacity int
The desired number of instances the group should have at any time.
images Sequence[ElastigroupAzureV3ImageArgs]
Image of a VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace) or use a custom image.
login ElastigroupAzureV3LoginArgs
Describes the login configuration.
max_size int
The maximum number of instances the group should have at any time.
min_size int
The minimum number of instances the group should have at any time.
name str
The IP configuration name.

Outputs

All input properties are implicitly available as output properties. Additionally, the ElastigroupAzureV3 resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing ElastigroupAzureV3 Resource

Get an existing ElastigroupAzureV3 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ElastigroupAzureV3State, opts?: CustomResourceOptions): ElastigroupAzureV3
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        desired_capacity: Optional[int] = None,
        images: Optional[Sequence[ElastigroupAzureV3ImageArgs]] = None,
        login: Optional[ElastigroupAzureV3LoginArgs] = None,
        max_size: Optional[int] = None,
        min_size: Optional[int] = None,
        name: Optional[str] = None,
        network: Optional[ElastigroupAzureV3NetworkArgs] = None,
        od_sizes: Optional[Sequence[str]] = None,
        os: Optional[str] = None,
        region: Optional[str] = None,
        resource_group_name: Optional[str] = None,
        spot_sizes: Optional[Sequence[str]] = None,
        strategy: Optional[ElastigroupAzureV3StrategyArgs] = None) -> ElastigroupAzureV3
func GetElastigroupAzureV3(ctx *Context, name string, id IDInput, state *ElastigroupAzureV3State, opts ...ResourceOption) (*ElastigroupAzureV3, error)
public static ElastigroupAzureV3 Get(string name, Input<string> id, ElastigroupAzureV3State? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

DesiredCapacity int
The desired number of instances the group should have at any time.
Images List<Pulumi.SpotInst.Inputs.ElastigroupAzureV3ImageArgs>
Image of a VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace) or use a custom image.
Login Pulumi.SpotInst.Inputs.ElastigroupAzureV3LoginArgs
Describes the login configuration.
MaxSize int
The maximum number of instances the group should have at any time.
MinSize int
The minimum number of instances the group should have at any time.
Name string
The IP configuration name.
Network Pulumi.SpotInst.Inputs.ElastigroupAzureV3NetworkArgs
Defines the Virtual Network and Subnet for your Elastigroup.
OdSizes List<string>
Available On-Demand sizes
Os string
Operation system type. Valid values: "Linux", "Windows".
Region string
The region your Azure group will be created in.
ResourceGroupName string
Vnet Resource Group Name.
SpotSizes List<string>
Available Low-Priority sizes.
Strategy Pulumi.SpotInst.Inputs.ElastigroupAzureV3StrategyArgs
Describes the deployment strategy.
DesiredCapacity int
The desired number of instances the group should have at any time.
Images []ElastigroupAzureV3Image
Image of a VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace) or use a custom image.
Login ElastigroupAzureV3Login
Describes the login configuration.
MaxSize int
The maximum number of instances the group should have at any time.
MinSize int
The minimum number of instances the group should have at any time.
Name string
The IP configuration name.
Network ElastigroupAzureV3Network
Defines the Virtual Network and Subnet for your Elastigroup.
OdSizes []string
Available On-Demand sizes
Os string
Operation system type. Valid values: "Linux", "Windows".
Region string
The region your Azure group will be created in.
ResourceGroupName string
Vnet Resource Group Name.
SpotSizes []string
Available Low-Priority sizes.
Strategy ElastigroupAzureV3Strategy
Describes the deployment strategy.
desiredCapacity number
The desired number of instances the group should have at any time.
images ElastigroupAzureV3ImageArgs[]
Image of a VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace) or use a custom image.
login ElastigroupAzureV3LoginArgs
Describes the login configuration.
maxSize number
The maximum number of instances the group should have at any time.
minSize number
The minimum number of instances the group should have at any time.
name string
The IP configuration name.
network ElastigroupAzureV3NetworkArgs
Defines the Virtual Network and Subnet for your Elastigroup.
odSizes string[]
Available On-Demand sizes
os string
Operation system type. Valid values: "Linux", "Windows".
region string
The region your Azure group will be created in.
resourceGroupName string
Vnet Resource Group Name.
spotSizes string[]
Available Low-Priority sizes.
strategy ElastigroupAzureV3StrategyArgs
Describes the deployment strategy.
desired_capacity int
The desired number of instances the group should have at any time.
images Sequence[ElastigroupAzureV3ImageArgs]
Image of a VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace) or use a custom image.
login ElastigroupAzureV3LoginArgs
Describes the login configuration.
max_size int
The maximum number of instances the group should have at any time.
min_size int
The minimum number of instances the group should have at any time.
name str
The IP configuration name.
network ElastigroupAzureV3NetworkArgs
Defines the Virtual Network and Subnet for your Elastigroup.
od_sizes Sequence[str]
Available On-Demand sizes
os str
Operation system type. Valid values: "Linux", "Windows".
region str
The region your Azure group will be created in.
resource_group_name str
Vnet Resource Group Name.
spot_sizes Sequence[str]
Available Low-Priority sizes.
strategy ElastigroupAzureV3StrategyArgs
Describes the deployment strategy.

Supporting Types

ElastigroupAzureV3Image

ElastigroupAzureV3ImageCustom

ImageName string
Name of the custom image. Required if resource_group_name is specified.
ResourceGroupName string
Vnet Resource Group Name.
ImageName string
Name of the custom image. Required if resource_group_name is specified.
ResourceGroupName string
Vnet Resource Group Name.
imageName string
Name of the custom image. Required if resource_group_name is specified.
resourceGroupName string
Vnet Resource Group Name.
image_name str
Name of the custom image. Required if resource_group_name is specified.
resource_group_name str
Vnet Resource Group Name.

ElastigroupAzureV3ImageMarketplace

Offer string
Name of the image to use. Required if publisher is specified.
Publisher string
Image publisher. Required if resource_group_name is not specified.
Sku string
Image’s Stock Keeping Unit, which is the specific version of the image. Required if publisher is specified.
Version string
Offer string
Name of the image to use. Required if publisher is specified.
Publisher string
Image publisher. Required if resource_group_name is not specified.
Sku string
Image’s Stock Keeping Unit, which is the specific version of the image. Required if publisher is specified.
Version string
offer string
Name of the image to use. Required if publisher is specified.
publisher string
Image publisher. Required if resource_group_name is not specified.
sku string
Image’s Stock Keeping Unit, which is the specific version of the image. Required if publisher is specified.
version string
offer str
Name of the image to use. Required if publisher is specified.
publisher str
Image publisher. Required if resource_group_name is not specified.
sku str
Image’s Stock Keeping Unit, which is the specific version of the image. Required if publisher is specified.
version str

ElastigroupAzureV3Login

UserName string
Set admin access for accessing your VMs.
Password string
Password for admin access to Windows VMs. Required for Windows OS types.
SshPublicKey string
SSH for admin access to Linux VMs. Required for Linux OS types.
UserName string
Set admin access for accessing your VMs.
Password string
Password for admin access to Windows VMs. Required for Windows OS types.
SshPublicKey string
SSH for admin access to Linux VMs. Required for Linux OS types.
userName string
Set admin access for accessing your VMs.
password string
Password for admin access to Windows VMs. Required for Windows OS types.
sshPublicKey string
SSH for admin access to Linux VMs. Required for Linux OS types.
user_name str
Set admin access for accessing your VMs.
password str
Password for admin access to Windows VMs. Required for Windows OS types.
ssh_public_key str
SSH for admin access to Linux VMs. Required for Linux OS types.

ElastigroupAzureV3Network

ElastigroupAzureV3NetworkNetworkInterface

AssignPublicIp bool
IsPrimary bool
SubnetName string
ID of subnet.
AdditionalIpConfigs []ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfig
Array of additional IP configuration objects.
assignPublicIp boolean
isPrimary boolean
subnetName string
ID of subnet.
additionalIpConfigs ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfigArgs[]
Array of additional IP configuration objects.

ElastigroupAzureV3NetworkNetworkInterfaceAdditionalIpConfig

Name string
The IP configuration name.
PrivateIpVersion string
Available from Azure Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Valid values: IPv4, IPv6.
Name string
The IP configuration name.
PrivateIpVersion string
Available from Azure Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Valid values: IPv4, IPv6.
name string
The IP configuration name.
privateIpVersion string
Available from Azure Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Valid values: IPv4, IPv6.
name str
The IP configuration name.
private_ip_version str
Available from Azure Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Valid values: IPv4, IPv6.

ElastigroupAzureV3Strategy

DrainingTimeout int
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.
FallbackToOnDemand bool
OdCount int
Number of On-Demand instances to maintain. Required if low_priority_percentage is not specified.
SpotPercentage int
TODO
DrainingTimeout int
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.
FallbackToOnDemand bool
OdCount int
Number of On-Demand instances to maintain. Required if low_priority_percentage is not specified.
SpotPercentage int
TODO
drainingTimeout number
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.
fallbackToOnDemand boolean
odCount number
Number of On-Demand instances to maintain. Required if low_priority_percentage is not specified.
spotPercentage number
TODO
draining_timeout int
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.
fallback_to_on_demand bool
od_count int
Number of On-Demand instances to maintain. Required if low_priority_percentage is not specified.
spot_percentage int
TODO

Package Details

Repository
https://github.com/pulumi/pulumi-spotinst
License
Apache-2.0
Notes
This Pulumi package is based on the spotinst Terraform Provider.