We recommend using Azure Native.
azure.compute.ScaleSetStandbyPool
Explore with Pulumi AI
Manages a Standby Pool for Virtual Machine Scale Sets.
NOTE : please follow the prerequisites mentioned in this article before using this resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
    name: "example-resources",
    location: "West Europe",
});
const exampleOrchestratedVirtualMachineScaleSet = new azure.compute.OrchestratedVirtualMachineScaleSet("example", {
    name: "example-ovmss",
    location: example.location,
    resourceGroupName: example.name,
    platformFaultDomainCount: 1,
    zones: ["1"],
});
const exampleScaleSetStandbyPool = new azure.compute.ScaleSetStandbyPool("example", {
    name: "example-spsvmp",
    resourceGroupName: example.name,
    location: "West Europe",
    attachedVirtualMachineScaleSetId: exampleOrchestratedVirtualMachineScaleSet.id,
    virtualMachineState: "Running",
    elasticityProfile: {
        maxReadyCapacity: 10,
        minReadyCapacity: 5,
    },
    tags: {
        key: "value",
    },
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
    name="example-resources",
    location="West Europe")
example_orchestrated_virtual_machine_scale_set = azure.compute.OrchestratedVirtualMachineScaleSet("example",
    name="example-ovmss",
    location=example.location,
    resource_group_name=example.name,
    platform_fault_domain_count=1,
    zones=["1"])
example_scale_set_standby_pool = azure.compute.ScaleSetStandbyPool("example",
    name="example-spsvmp",
    resource_group_name=example.name,
    location="West Europe",
    attached_virtual_machine_scale_set_id=example_orchestrated_virtual_machine_scale_set.id,
    virtual_machine_state="Running",
    elasticity_profile={
        "max_ready_capacity": 10,
        "min_ready_capacity": 5,
    },
    tags={
        "key": "value",
    })
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/compute"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleOrchestratedVirtualMachineScaleSet, err := compute.NewOrchestratedVirtualMachineScaleSet(ctx, "example", &compute.OrchestratedVirtualMachineScaleSetArgs{
			Name:                     pulumi.String("example-ovmss"),
			Location:                 example.Location,
			ResourceGroupName:        example.Name,
			PlatformFaultDomainCount: pulumi.Int(1),
			Zones: pulumi.StringArray{
				pulumi.String("1"),
			},
		})
		if err != nil {
			return err
		}
		_, err = compute.NewScaleSetStandbyPool(ctx, "example", &compute.ScaleSetStandbyPoolArgs{
			Name:                             pulumi.String("example-spsvmp"),
			ResourceGroupName:                example.Name,
			Location:                         pulumi.String("West Europe"),
			AttachedVirtualMachineScaleSetId: exampleOrchestratedVirtualMachineScaleSet.ID(),
			VirtualMachineState:              pulumi.String("Running"),
			ElasticityProfile: &compute.ScaleSetStandbyPoolElasticityProfileArgs{
				MaxReadyCapacity: pulumi.Int(10),
				MinReadyCapacity: pulumi.Int(5),
			},
			Tags: pulumi.StringMap{
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() => 
{
    var example = new Azure.Core.ResourceGroup("example", new()
    {
        Name = "example-resources",
        Location = "West Europe",
    });
    var exampleOrchestratedVirtualMachineScaleSet = new Azure.Compute.OrchestratedVirtualMachineScaleSet("example", new()
    {
        Name = "example-ovmss",
        Location = example.Location,
        ResourceGroupName = example.Name,
        PlatformFaultDomainCount = 1,
        Zones = new[]
        {
            "1",
        },
    });
    var exampleScaleSetStandbyPool = new Azure.Compute.ScaleSetStandbyPool("example", new()
    {
        Name = "example-spsvmp",
        ResourceGroupName = example.Name,
        Location = "West Europe",
        AttachedVirtualMachineScaleSetId = exampleOrchestratedVirtualMachineScaleSet.Id,
        VirtualMachineState = "Running",
        ElasticityProfile = new Azure.Compute.Inputs.ScaleSetStandbyPoolElasticityProfileArgs
        {
            MaxReadyCapacity = 10,
            MinReadyCapacity = 5,
        },
        Tags = 
        {
            { "key", "value" },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.compute.OrchestratedVirtualMachineScaleSet;
import com.pulumi.azure.compute.OrchestratedVirtualMachineScaleSetArgs;
import com.pulumi.azure.compute.ScaleSetStandbyPool;
import com.pulumi.azure.compute.ScaleSetStandbyPoolArgs;
import com.pulumi.azure.compute.inputs.ScaleSetStandbyPoolElasticityProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var example = new ResourceGroup("example", ResourceGroupArgs.builder()
            .name("example-resources")
            .location("West Europe")
            .build());
        var exampleOrchestratedVirtualMachineScaleSet = new OrchestratedVirtualMachineScaleSet("exampleOrchestratedVirtualMachineScaleSet", OrchestratedVirtualMachineScaleSetArgs.builder()
            .name("example-ovmss")
            .location(example.location())
            .resourceGroupName(example.name())
            .platformFaultDomainCount(1)
            .zones("1")
            .build());
        var exampleScaleSetStandbyPool = new ScaleSetStandbyPool("exampleScaleSetStandbyPool", ScaleSetStandbyPoolArgs.builder()
            .name("example-spsvmp")
            .resourceGroupName(example.name())
            .location("West Europe")
            .attachedVirtualMachineScaleSetId(exampleOrchestratedVirtualMachineScaleSet.id())
            .virtualMachineState("Running")
            .elasticityProfile(ScaleSetStandbyPoolElasticityProfileArgs.builder()
                .maxReadyCapacity(10)
                .minReadyCapacity(5)
                .build())
            .tags(Map.of("key", "value"))
            .build());
    }
}
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example-resources
      location: West Europe
  exampleOrchestratedVirtualMachineScaleSet:
    type: azure:compute:OrchestratedVirtualMachineScaleSet
    name: example
    properties:
      name: example-ovmss
      location: ${example.location}
      resourceGroupName: ${example.name}
      platformFaultDomainCount: 1
      zones:
        - '1'
  exampleScaleSetStandbyPool:
    type: azure:compute:ScaleSetStandbyPool
    name: example
    properties:
      name: example-spsvmp
      resourceGroupName: ${example.name}
      location: West Europe
      attachedVirtualMachineScaleSetId: ${exampleOrchestratedVirtualMachineScaleSet.id}
      virtualMachineState: Running
      elasticityProfile:
        maxReadyCapacity: 10
        minReadyCapacity: 5
      tags:
        key: value
Create ScaleSetStandbyPool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ScaleSetStandbyPool(name: string, args: ScaleSetStandbyPoolArgs, opts?: CustomResourceOptions);@overload
def ScaleSetStandbyPool(resource_name: str,
                        args: ScaleSetStandbyPoolArgs,
                        opts: Optional[ResourceOptions] = None)
@overload
def ScaleSetStandbyPool(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        attached_virtual_machine_scale_set_id: Optional[str] = None,
                        elasticity_profile: Optional[ScaleSetStandbyPoolElasticityProfileArgs] = None,
                        resource_group_name: Optional[str] = None,
                        virtual_machine_state: Optional[str] = None,
                        location: Optional[str] = None,
                        name: Optional[str] = None,
                        tags: Optional[Mapping[str, str]] = None)func NewScaleSetStandbyPool(ctx *Context, name string, args ScaleSetStandbyPoolArgs, opts ...ResourceOption) (*ScaleSetStandbyPool, error)public ScaleSetStandbyPool(string name, ScaleSetStandbyPoolArgs args, CustomResourceOptions? opts = null)
public ScaleSetStandbyPool(String name, ScaleSetStandbyPoolArgs args)
public ScaleSetStandbyPool(String name, ScaleSetStandbyPoolArgs args, CustomResourceOptions options)
type: azure:compute:ScaleSetStandbyPool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ScaleSetStandbyPoolArgs
- 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 ScaleSetStandbyPoolArgs
- 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 ScaleSetStandbyPoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ScaleSetStandbyPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ScaleSetStandbyPoolArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var scaleSetStandbyPoolResource = new Azure.Compute.ScaleSetStandbyPool("scaleSetStandbyPoolResource", new()
{
    AttachedVirtualMachineScaleSetId = "string",
    ElasticityProfile = new Azure.Compute.Inputs.ScaleSetStandbyPoolElasticityProfileArgs
    {
        MaxReadyCapacity = 0,
        MinReadyCapacity = 0,
    },
    ResourceGroupName = "string",
    VirtualMachineState = "string",
    Location = "string",
    Name = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := compute.NewScaleSetStandbyPool(ctx, "scaleSetStandbyPoolResource", &compute.ScaleSetStandbyPoolArgs{
	AttachedVirtualMachineScaleSetId: pulumi.String("string"),
	ElasticityProfile: &compute.ScaleSetStandbyPoolElasticityProfileArgs{
		MaxReadyCapacity: pulumi.Int(0),
		MinReadyCapacity: pulumi.Int(0),
	},
	ResourceGroupName:   pulumi.String("string"),
	VirtualMachineState: pulumi.String("string"),
	Location:            pulumi.String("string"),
	Name:                pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var scaleSetStandbyPoolResource = new ScaleSetStandbyPool("scaleSetStandbyPoolResource", ScaleSetStandbyPoolArgs.builder()
    .attachedVirtualMachineScaleSetId("string")
    .elasticityProfile(ScaleSetStandbyPoolElasticityProfileArgs.builder()
        .maxReadyCapacity(0)
        .minReadyCapacity(0)
        .build())
    .resourceGroupName("string")
    .virtualMachineState("string")
    .location("string")
    .name("string")
    .tags(Map.of("string", "string"))
    .build());
scale_set_standby_pool_resource = azure.compute.ScaleSetStandbyPool("scaleSetStandbyPoolResource",
    attached_virtual_machine_scale_set_id="string",
    elasticity_profile={
        "max_ready_capacity": 0,
        "min_ready_capacity": 0,
    },
    resource_group_name="string",
    virtual_machine_state="string",
    location="string",
    name="string",
    tags={
        "string": "string",
    })
const scaleSetStandbyPoolResource = new azure.compute.ScaleSetStandbyPool("scaleSetStandbyPoolResource", {
    attachedVirtualMachineScaleSetId: "string",
    elasticityProfile: {
        maxReadyCapacity: 0,
        minReadyCapacity: 0,
    },
    resourceGroupName: "string",
    virtualMachineState: "string",
    location: "string",
    name: "string",
    tags: {
        string: "string",
    },
});
type: azure:compute:ScaleSetStandbyPool
properties:
    attachedVirtualMachineScaleSetId: string
    elasticityProfile:
        maxReadyCapacity: 0
        minReadyCapacity: 0
    location: string
    name: string
    resourceGroupName: string
    tags:
        string: string
    virtualMachineState: string
ScaleSetStandbyPool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ScaleSetStandbyPool resource accepts the following input properties:
- AttachedVirtual stringMachine Scale Set Id 
- Specifies the fully qualified resource ID of a virtual machine scale set the pool is attached to.
- ElasticityProfile ScaleSet Standby Pool Elasticity Profile 
- An elasticity_profileblock as defined below.
- ResourceGroup stringName 
- Specifies the name of the Resource Group where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- VirtualMachine stringState 
- Specifies the desired state of virtual machines in the pool. Possible values are RunningandDeallocated.
- Location string
- Specifies the Azure Region where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- Name string
- Specifies the name which should be used for this Standby Pool. Changing this forces a new Standby Pool to be created.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Standby Pool.
- AttachedVirtual stringMachine Scale Set Id 
- Specifies the fully qualified resource ID of a virtual machine scale set the pool is attached to.
- ElasticityProfile ScaleSet Standby Pool Elasticity Profile Args 
- An elasticity_profileblock as defined below.
- ResourceGroup stringName 
- Specifies the name of the Resource Group where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- VirtualMachine stringState 
- Specifies the desired state of virtual machines in the pool. Possible values are RunningandDeallocated.
- Location string
- Specifies the Azure Region where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- Name string
- Specifies the name which should be used for this Standby Pool. Changing this forces a new Standby Pool to be created.
- map[string]string
- A mapping of tags which should be assigned to the Standby Pool.
- attachedVirtual StringMachine Scale Set Id 
- Specifies the fully qualified resource ID of a virtual machine scale set the pool is attached to.
- elasticityProfile ScaleSet Standby Pool Elasticity Profile 
- An elasticity_profileblock as defined below.
- resourceGroup StringName 
- Specifies the name of the Resource Group where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- virtualMachine StringState 
- Specifies the desired state of virtual machines in the pool. Possible values are RunningandDeallocated.
- location String
- Specifies the Azure Region where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- name String
- Specifies the name which should be used for this Standby Pool. Changing this forces a new Standby Pool to be created.
- Map<String,String>
- A mapping of tags which should be assigned to the Standby Pool.
- attachedVirtual stringMachine Scale Set Id 
- Specifies the fully qualified resource ID of a virtual machine scale set the pool is attached to.
- elasticityProfile ScaleSet Standby Pool Elasticity Profile 
- An elasticity_profileblock as defined below.
- resourceGroup stringName 
- Specifies the name of the Resource Group where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- virtualMachine stringState 
- Specifies the desired state of virtual machines in the pool. Possible values are RunningandDeallocated.
- location string
- Specifies the Azure Region where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- name string
- Specifies the name which should be used for this Standby Pool. Changing this forces a new Standby Pool to be created.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Standby Pool.
- attached_virtual_ strmachine_ scale_ set_ id 
- Specifies the fully qualified resource ID of a virtual machine scale set the pool is attached to.
- elasticity_profile ScaleSet Standby Pool Elasticity Profile Args 
- An elasticity_profileblock as defined below.
- resource_group_ strname 
- Specifies the name of the Resource Group where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- virtual_machine_ strstate 
- Specifies the desired state of virtual machines in the pool. Possible values are RunningandDeallocated.
- location str
- Specifies the Azure Region where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- name str
- Specifies the name which should be used for this Standby Pool. Changing this forces a new Standby Pool to be created.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Standby Pool.
- attachedVirtual StringMachine Scale Set Id 
- Specifies the fully qualified resource ID of a virtual machine scale set the pool is attached to.
- elasticityProfile Property Map
- An elasticity_profileblock as defined below.
- resourceGroup StringName 
- Specifies the name of the Resource Group where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- virtualMachine StringState 
- Specifies the desired state of virtual machines in the pool. Possible values are RunningandDeallocated.
- location String
- Specifies the Azure Region where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- name String
- Specifies the name which should be used for this Standby Pool. Changing this forces a new Standby Pool to be created.
- Map<String>
- A mapping of tags which should be assigned to the Standby Pool.
Outputs
All input properties are implicitly available as output properties. Additionally, the ScaleSetStandbyPool 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 string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ScaleSetStandbyPool Resource
Get an existing ScaleSetStandbyPool 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?: ScaleSetStandbyPoolState, opts?: CustomResourceOptions): ScaleSetStandbyPool@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        attached_virtual_machine_scale_set_id: Optional[str] = None,
        elasticity_profile: Optional[ScaleSetStandbyPoolElasticityProfileArgs] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        resource_group_name: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        virtual_machine_state: Optional[str] = None) -> ScaleSetStandbyPoolfunc GetScaleSetStandbyPool(ctx *Context, name string, id IDInput, state *ScaleSetStandbyPoolState, opts ...ResourceOption) (*ScaleSetStandbyPool, error)public static ScaleSetStandbyPool Get(string name, Input<string> id, ScaleSetStandbyPoolState? state, CustomResourceOptions? opts = null)public static ScaleSetStandbyPool get(String name, Output<String> id, ScaleSetStandbyPoolState state, CustomResourceOptions options)resources:  _:    type: azure:compute:ScaleSetStandbyPool    get:      id: ${id}- 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.
- 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.
- AttachedVirtual stringMachine Scale Set Id 
- Specifies the fully qualified resource ID of a virtual machine scale set the pool is attached to.
- ElasticityProfile ScaleSet Standby Pool Elasticity Profile 
- An elasticity_profileblock as defined below.
- Location string
- Specifies the Azure Region where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- Name string
- Specifies the name which should be used for this Standby Pool. Changing this forces a new Standby Pool to be created.
- ResourceGroup stringName 
- Specifies the name of the Resource Group where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Standby Pool.
- VirtualMachine stringState 
- Specifies the desired state of virtual machines in the pool. Possible values are RunningandDeallocated.
- AttachedVirtual stringMachine Scale Set Id 
- Specifies the fully qualified resource ID of a virtual machine scale set the pool is attached to.
- ElasticityProfile ScaleSet Standby Pool Elasticity Profile Args 
- An elasticity_profileblock as defined below.
- Location string
- Specifies the Azure Region where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- Name string
- Specifies the name which should be used for this Standby Pool. Changing this forces a new Standby Pool to be created.
- ResourceGroup stringName 
- Specifies the name of the Resource Group where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- map[string]string
- A mapping of tags which should be assigned to the Standby Pool.
- VirtualMachine stringState 
- Specifies the desired state of virtual machines in the pool. Possible values are RunningandDeallocated.
- attachedVirtual StringMachine Scale Set Id 
- Specifies the fully qualified resource ID of a virtual machine scale set the pool is attached to.
- elasticityProfile ScaleSet Standby Pool Elasticity Profile 
- An elasticity_profileblock as defined below.
- location String
- Specifies the Azure Region where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- name String
- Specifies the name which should be used for this Standby Pool. Changing this forces a new Standby Pool to be created.
- resourceGroup StringName 
- Specifies the name of the Resource Group where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- Map<String,String>
- A mapping of tags which should be assigned to the Standby Pool.
- virtualMachine StringState 
- Specifies the desired state of virtual machines in the pool. Possible values are RunningandDeallocated.
- attachedVirtual stringMachine Scale Set Id 
- Specifies the fully qualified resource ID of a virtual machine scale set the pool is attached to.
- elasticityProfile ScaleSet Standby Pool Elasticity Profile 
- An elasticity_profileblock as defined below.
- location string
- Specifies the Azure Region where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- name string
- Specifies the name which should be used for this Standby Pool. Changing this forces a new Standby Pool to be created.
- resourceGroup stringName 
- Specifies the name of the Resource Group where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Standby Pool.
- virtualMachine stringState 
- Specifies the desired state of virtual machines in the pool. Possible values are RunningandDeallocated.
- attached_virtual_ strmachine_ scale_ set_ id 
- Specifies the fully qualified resource ID of a virtual machine scale set the pool is attached to.
- elasticity_profile ScaleSet Standby Pool Elasticity Profile Args 
- An elasticity_profileblock as defined below.
- location str
- Specifies the Azure Region where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- name str
- Specifies the name which should be used for this Standby Pool. Changing this forces a new Standby Pool to be created.
- resource_group_ strname 
- Specifies the name of the Resource Group where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Standby Pool.
- virtual_machine_ strstate 
- Specifies the desired state of virtual machines in the pool. Possible values are RunningandDeallocated.
- attachedVirtual StringMachine Scale Set Id 
- Specifies the fully qualified resource ID of a virtual machine scale set the pool is attached to.
- elasticityProfile Property Map
- An elasticity_profileblock as defined below.
- location String
- Specifies the Azure Region where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- name String
- Specifies the name which should be used for this Standby Pool. Changing this forces a new Standby Pool to be created.
- resourceGroup StringName 
- Specifies the name of the Resource Group where the Standby Pool should exist. Changing this forces a new Standby Pool to be created.
- Map<String>
- A mapping of tags which should be assigned to the Standby Pool.
- virtualMachine StringState 
- Specifies the desired state of virtual machines in the pool. Possible values are RunningandDeallocated.
Supporting Types
ScaleSetStandbyPoolElasticityProfile, ScaleSetStandbyPoolElasticityProfileArgs            
- MaxReady intCapacity 
- Specifies the maximum number of virtual machines in the standby pool.
- MinReady intCapacity 
- Specifies the desired minimum number of virtual machines in the standby pool. - NOTE - min_ready_capacitycannot exceed- max_ready_capacity.
- MaxReady intCapacity 
- Specifies the maximum number of virtual machines in the standby pool.
- MinReady intCapacity 
- Specifies the desired minimum number of virtual machines in the standby pool. - NOTE - min_ready_capacitycannot exceed- max_ready_capacity.
- maxReady IntegerCapacity 
- Specifies the maximum number of virtual machines in the standby pool.
- minReady IntegerCapacity 
- Specifies the desired minimum number of virtual machines in the standby pool. - NOTE - min_ready_capacitycannot exceed- max_ready_capacity.
- maxReady numberCapacity 
- Specifies the maximum number of virtual machines in the standby pool.
- minReady numberCapacity 
- Specifies the desired minimum number of virtual machines in the standby pool. - NOTE - min_ready_capacitycannot exceed- max_ready_capacity.
- max_ready_ intcapacity 
- Specifies the maximum number of virtual machines in the standby pool.
- min_ready_ intcapacity 
- Specifies the desired minimum number of virtual machines in the standby pool. - NOTE - min_ready_capacitycannot exceed- max_ready_capacity.
- maxReady NumberCapacity 
- Specifies the maximum number of virtual machines in the standby pool.
- minReady NumberCapacity 
- Specifies the desired minimum number of virtual machines in the standby pool. - NOTE - min_ready_capacitycannot exceed- max_ready_capacity.
Import
Standby Pool can be imported using the resource id, e.g.
$ pulumi import azure:compute/scaleSetStandbyPool:ScaleSetStandbyPool example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/standbyVirtualMachinePool1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.