1. Packages
  2. Ibm Provider
  3. API Docs
  4. ComputeAutoscaleGroup
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.ComputeAutoscaleGroup

Explore with Pulumi AI

ibm logo
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

    Create, update, or delete an auto scaling group. For more information about compute auto scale group, see enabling auto scale for better capacity and resiliency.

    Note

    For more information, about SoftLayer auto scale APIs, see IBM Cloud Classic Infrastructure (SoftLayer) API docs.

    Example Usage

    In the following example, you can create an auto scaling group that uses a Debian image:

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const testScaleGroup = new ibm.ComputeAutoscaleGroup("testScaleGroup", {
        cooldown: 30,
        healthCheck: {
            type: "HTTP",
        },
        maximumMemberCount: 10,
        minimumMemberCount: 1,
        networkVlanIds: [
            1234567,
            7654321,
        ],
        port: 8080,
        regionalGroup: "as-sgp-central-1",
        terminationPolicy: "CLOSEST_TO_NEXT_CHARGE",
        virtualGuestMemberTemplates: [{
            cores: 1,
            datacenter: "sng01",
            disks: [25],
            domain: "example.com",
            hostname: "test_virtual_guest_name",
            hourlyBilling: true,
            localDisk: false,
            memory: 1024,
            networkSpeed: 100,
            osReferenceCode: "DEBIAN_8_64",
            postInstallScriptUri: "",
            sshKeyIds: [383111],
            userMetadata: "#!/bin/bash ...",
        }],
        virtualServerId: 267513,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    test_scale_group = ibm.ComputeAutoscaleGroup("testScaleGroup",
        cooldown=30,
        health_check={
            "type": "HTTP",
        },
        maximum_member_count=10,
        minimum_member_count=1,
        network_vlan_ids=[
            1234567,
            7654321,
        ],
        port=8080,
        regional_group="as-sgp-central-1",
        termination_policy="CLOSEST_TO_NEXT_CHARGE",
        virtual_guest_member_templates=[{
            "cores": 1,
            "datacenter": "sng01",
            "disks": [25],
            "domain": "example.com",
            "hostname": "test_virtual_guest_name",
            "hourly_billing": True,
            "local_disk": False,
            "memory": 1024,
            "network_speed": 100,
            "os_reference_code": "DEBIAN_8_64",
            "post_install_script_uri": "",
            "ssh_key_ids": [383111],
            "user_metadata": "#!/bin/bash ...",
        }],
        virtual_server_id=267513)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewComputeAutoscaleGroup(ctx, "testScaleGroup", &ibm.ComputeAutoscaleGroupArgs{
    			Cooldown: pulumi.Float64(30),
    			HealthCheck: pulumi.StringMap{
    				"type": pulumi.String("HTTP"),
    			},
    			MaximumMemberCount: pulumi.Float64(10),
    			MinimumMemberCount: pulumi.Float64(1),
    			NetworkVlanIds: pulumi.Float64Array{
    				pulumi.Float64(1234567),
    				pulumi.Float64(7654321),
    			},
    			Port:              pulumi.Float64(8080),
    			RegionalGroup:     pulumi.String("as-sgp-central-1"),
    			TerminationPolicy: pulumi.String("CLOSEST_TO_NEXT_CHARGE"),
    			VirtualGuestMemberTemplates: ibm.ComputeAutoscaleGroupVirtualGuestMemberTemplateArray{
    				&ibm.ComputeAutoscaleGroupVirtualGuestMemberTemplateArgs{
    					Cores:      pulumi.Float64(1),
    					Datacenter: pulumi.String("sng01"),
    					Disks: pulumi.Float64Array{
    						pulumi.Float64(25),
    					},
    					Domain:               pulumi.String("example.com"),
    					Hostname:             pulumi.String("test_virtual_guest_name"),
    					HourlyBilling:        pulumi.Bool(true),
    					LocalDisk:            pulumi.Bool(false),
    					Memory:               pulumi.Float64(1024),
    					NetworkSpeed:         pulumi.Float64(100),
    					OsReferenceCode:      pulumi.String("DEBIAN_8_64"),
    					PostInstallScriptUri: pulumi.String(""),
    					SshKeyIds: pulumi.Float64Array{
    						pulumi.Float64(383111),
    					},
    					UserMetadata: pulumi.String("#!/bin/bash ..."),
    				},
    			},
    			VirtualServerId: pulumi.Float64(267513),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var testScaleGroup = new Ibm.ComputeAutoscaleGroup("testScaleGroup", new()
        {
            Cooldown = 30,
            HealthCheck = 
            {
                { "type", "HTTP" },
            },
            MaximumMemberCount = 10,
            MinimumMemberCount = 1,
            NetworkVlanIds = new[]
            {
                1234567,
                7654321,
            },
            Port = 8080,
            RegionalGroup = "as-sgp-central-1",
            TerminationPolicy = "CLOSEST_TO_NEXT_CHARGE",
            VirtualGuestMemberTemplates = new[]
            {
                new Ibm.Inputs.ComputeAutoscaleGroupVirtualGuestMemberTemplateArgs
                {
                    Cores = 1,
                    Datacenter = "sng01",
                    Disks = new[]
                    {
                        25,
                    },
                    Domain = "example.com",
                    Hostname = "test_virtual_guest_name",
                    HourlyBilling = true,
                    LocalDisk = false,
                    Memory = 1024,
                    NetworkSpeed = 100,
                    OsReferenceCode = "DEBIAN_8_64",
                    PostInstallScriptUri = "",
                    SshKeyIds = new[]
                    {
                        383111,
                    },
                    UserMetadata = "#!/bin/bash ...",
                },
            },
            VirtualServerId = 267513,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.ComputeAutoscaleGroup;
    import com.pulumi.ibm.ComputeAutoscaleGroupArgs;
    import com.pulumi.ibm.inputs.ComputeAutoscaleGroupVirtualGuestMemberTemplateArgs;
    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 testScaleGroup = new ComputeAutoscaleGroup("testScaleGroup", ComputeAutoscaleGroupArgs.builder()
                .cooldown(30)
                .healthCheck(Map.of("type", "HTTP"))
                .maximumMemberCount(10)
                .minimumMemberCount(1)
                .networkVlanIds(            
                    1234567,
                    7654321)
                .port(8080)
                .regionalGroup("as-sgp-central-1")
                .terminationPolicy("CLOSEST_TO_NEXT_CHARGE")
                .virtualGuestMemberTemplates(ComputeAutoscaleGroupVirtualGuestMemberTemplateArgs.builder()
                    .cores(1)
                    .datacenter("sng01")
                    .disks(25)
                    .domain("example.com")
                    .hostname("test_virtual_guest_name")
                    .hourlyBilling(true)
                    .localDisk(false)
                    .memory(1024)
                    .networkSpeed(100)
                    .osReferenceCode("DEBIAN_8_64")
                    .postInstallScriptUri("")
                    .sshKeyIds(383111)
                    .userMetadata("#!/bin/bash ...")
                    .build())
                .virtualServerId(267513)
                .build());
    
        }
    }
    
    resources:
      testScaleGroup:
        type: ibm:ComputeAutoscaleGroup
        properties:
          cooldown: 30
          healthCheck:
            type: HTTP
          maximumMemberCount: 10
          minimumMemberCount: 1
          # Optional fields for scale_group:
          networkVlanIds:
            - 1.234567e+06
            - 7.654321e+06
          port: 8080
          regionalGroup: as-sgp-central-1
          terminationPolicy: CLOSEST_TO_NEXT_CHARGE
          virtualGuestMemberTemplates:
            - cores: 1
              datacenter: sng01
              disks:
                - 25
              domain: example.com
              hostname: test_virtual_guest_name
              hourlyBilling: true
              localDisk: false
              memory: 1024
              networkSpeed: 100
              osReferenceCode: DEBIAN_8_64
              postInstallScriptUri: ""
              sshKeyIds:
                - 383111
              userMetadata: '#!/bin/bash ...'
          virtualServerId: 267513
    

    Create ComputeAutoscaleGroup Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ComputeAutoscaleGroup(name: string, args: ComputeAutoscaleGroupArgs, opts?: CustomResourceOptions);
    @overload
    def ComputeAutoscaleGroup(resource_name: str,
                              args: ComputeAutoscaleGroupArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def ComputeAutoscaleGroup(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              regional_group: Optional[str] = None,
                              cooldown: Optional[float] = None,
                              virtual_guest_member_templates: Optional[Sequence[ComputeAutoscaleGroupVirtualGuestMemberTemplateArgs]] = None,
                              maximum_member_count: Optional[float] = None,
                              minimum_member_count: Optional[float] = None,
                              termination_policy: Optional[str] = None,
                              network_vlan_ids: Optional[Sequence[float]] = None,
                              port: Optional[float] = None,
                              compute_autoscale_group_id: Optional[str] = None,
                              tags: Optional[Sequence[str]] = None,
                              name: Optional[str] = None,
                              health_check: Optional[Mapping[str, str]] = None,
                              virtual_server_id: Optional[float] = None)
    func NewComputeAutoscaleGroup(ctx *Context, name string, args ComputeAutoscaleGroupArgs, opts ...ResourceOption) (*ComputeAutoscaleGroup, error)
    public ComputeAutoscaleGroup(string name, ComputeAutoscaleGroupArgs args, CustomResourceOptions? opts = null)
    public ComputeAutoscaleGroup(String name, ComputeAutoscaleGroupArgs args)
    public ComputeAutoscaleGroup(String name, ComputeAutoscaleGroupArgs args, CustomResourceOptions options)
    
    type: ibm:ComputeAutoscaleGroup
    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 ComputeAutoscaleGroupArgs
    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 ComputeAutoscaleGroupArgs
    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 ComputeAutoscaleGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ComputeAutoscaleGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ComputeAutoscaleGroupArgs
    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 computeAutoscaleGroupResource = new Ibm.ComputeAutoscaleGroup("computeAutoscaleGroupResource", new()
    {
        RegionalGroup = "string",
        Cooldown = 0,
        VirtualGuestMemberTemplates = new[]
        {
            new Ibm.Inputs.ComputeAutoscaleGroupVirtualGuestMemberTemplateArgs
            {
                BlockStorageIds = new[]
                {
                    0,
                },
                BulkVms = new[]
                {
                    new Ibm.Inputs.ComputeAutoscaleGroupVirtualGuestMemberTemplateBulkVmArgs
                    {
                        Domain = "string",
                        Hostname = "string",
                    },
                },
                Cores = 0,
                Datacenter = "string",
                DatacenterChoices = new[]
                {
                    
                    {
                        { "string", "string" },
                    },
                },
                DedicatedAcctHostOnly = false,
                DedicatedHostId = 0,
                DedicatedHostName = "string",
                Disks = new[]
                {
                    0,
                },
                Domain = "string",
                Evault = 0,
                FileStorageIds = new[]
                {
                    0,
                },
                FlavorKeyName = "string",
                Hostname = "string",
                HourlyBilling = false,
                ImageId = 0,
                IpAddressId = 0,
                IpAddressIdPrivate = 0,
                Ipv4Address = "string",
                Ipv4AddressPrivate = "string",
                Ipv6Address = "string",
                Ipv6AddressId = 0,
                Ipv6Enabled = false,
                Ipv6StaticEnabled = false,
                LocalDisk = false,
                Memory = 0,
                NetworkSpeed = 0,
                Notes = "string",
                OsReferenceCode = "string",
                PlacementGroupId = 0,
                PlacementGroupName = "string",
                PostInstallScriptUri = "string",
                PrivateInterfaceId = 0,
                PrivateNetworkOnly = false,
                PrivateSecurityGroupIds = new[]
                {
                    0,
                },
                PrivateSubnet = "string",
                PrivateSubnetId = 0,
                PrivateVlanId = 0,
                PublicBandwidthLimited = 0,
                PublicBandwidthUnlimited = false,
                PublicInterfaceId = 0,
                PublicIpv6Subnet = "string",
                PublicIpv6SubnetId = 0,
                PublicSecurityGroupIds = new[]
                {
                    0,
                },
                PublicSubnet = "string",
                PublicSubnetId = 0,
                PublicVlanId = 0,
                QuoteId = 0,
                ResourceControllerUrl = "string",
                ResourceName = "string",
                ResourceStatus = "string",
                SecondaryIpAddresses = new[]
                {
                    "string",
                },
                SecondaryIpCount = 0,
                SshKeyIds = new[]
                {
                    0,
                },
                Tags = new[]
                {
                    "string",
                },
                Transient = false,
                UserMetadata = "string",
            },
        },
        MaximumMemberCount = 0,
        MinimumMemberCount = 0,
        TerminationPolicy = "string",
        NetworkVlanIds = new[]
        {
            0,
        },
        Port = 0,
        ComputeAutoscaleGroupId = "string",
        Tags = new[]
        {
            "string",
        },
        Name = "string",
        HealthCheck = 
        {
            { "string", "string" },
        },
        VirtualServerId = 0,
    });
    
    example, err := ibm.NewComputeAutoscaleGroup(ctx, "computeAutoscaleGroupResource", &ibm.ComputeAutoscaleGroupArgs{
    	RegionalGroup: pulumi.String("string"),
    	Cooldown:      pulumi.Float64(0),
    	VirtualGuestMemberTemplates: ibm.ComputeAutoscaleGroupVirtualGuestMemberTemplateArray{
    		&ibm.ComputeAutoscaleGroupVirtualGuestMemberTemplateArgs{
    			BlockStorageIds: pulumi.Float64Array{
    				pulumi.Float64(0),
    			},
    			BulkVms: ibm.ComputeAutoscaleGroupVirtualGuestMemberTemplateBulkVmArray{
    				&ibm.ComputeAutoscaleGroupVirtualGuestMemberTemplateBulkVmArgs{
    					Domain:   pulumi.String("string"),
    					Hostname: pulumi.String("string"),
    				},
    			},
    			Cores:      pulumi.Float64(0),
    			Datacenter: pulumi.String("string"),
    			DatacenterChoices: pulumi.StringMapArray{
    				pulumi.StringMap{
    					"string": pulumi.String("string"),
    				},
    			},
    			DedicatedAcctHostOnly: pulumi.Bool(false),
    			DedicatedHostId:       pulumi.Float64(0),
    			DedicatedHostName:     pulumi.String("string"),
    			Disks: pulumi.Float64Array{
    				pulumi.Float64(0),
    			},
    			Domain: pulumi.String("string"),
    			Evault: pulumi.Float64(0),
    			FileStorageIds: pulumi.Float64Array{
    				pulumi.Float64(0),
    			},
    			FlavorKeyName:        pulumi.String("string"),
    			Hostname:             pulumi.String("string"),
    			HourlyBilling:        pulumi.Bool(false),
    			ImageId:              pulumi.Float64(0),
    			IpAddressId:          pulumi.Float64(0),
    			IpAddressIdPrivate:   pulumi.Float64(0),
    			Ipv4Address:          pulumi.String("string"),
    			Ipv4AddressPrivate:   pulumi.String("string"),
    			Ipv6Address:          pulumi.String("string"),
    			Ipv6AddressId:        pulumi.Float64(0),
    			Ipv6Enabled:          pulumi.Bool(false),
    			Ipv6StaticEnabled:    pulumi.Bool(false),
    			LocalDisk:            pulumi.Bool(false),
    			Memory:               pulumi.Float64(0),
    			NetworkSpeed:         pulumi.Float64(0),
    			Notes:                pulumi.String("string"),
    			OsReferenceCode:      pulumi.String("string"),
    			PlacementGroupId:     pulumi.Float64(0),
    			PlacementGroupName:   pulumi.String("string"),
    			PostInstallScriptUri: pulumi.String("string"),
    			PrivateInterfaceId:   pulumi.Float64(0),
    			PrivateNetworkOnly:   pulumi.Bool(false),
    			PrivateSecurityGroupIds: pulumi.Float64Array{
    				pulumi.Float64(0),
    			},
    			PrivateSubnet:            pulumi.String("string"),
    			PrivateSubnetId:          pulumi.Float64(0),
    			PrivateVlanId:            pulumi.Float64(0),
    			PublicBandwidthLimited:   pulumi.Float64(0),
    			PublicBandwidthUnlimited: pulumi.Bool(false),
    			PublicInterfaceId:        pulumi.Float64(0),
    			PublicIpv6Subnet:         pulumi.String("string"),
    			PublicIpv6SubnetId:       pulumi.Float64(0),
    			PublicSecurityGroupIds: pulumi.Float64Array{
    				pulumi.Float64(0),
    			},
    			PublicSubnet:          pulumi.String("string"),
    			PublicSubnetId:        pulumi.Float64(0),
    			PublicVlanId:          pulumi.Float64(0),
    			QuoteId:               pulumi.Float64(0),
    			ResourceControllerUrl: pulumi.String("string"),
    			ResourceName:          pulumi.String("string"),
    			ResourceStatus:        pulumi.String("string"),
    			SecondaryIpAddresses: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SecondaryIpCount: pulumi.Float64(0),
    			SshKeyIds: pulumi.Float64Array{
    				pulumi.Float64(0),
    			},
    			Tags: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Transient:    pulumi.Bool(false),
    			UserMetadata: pulumi.String("string"),
    		},
    	},
    	MaximumMemberCount: pulumi.Float64(0),
    	MinimumMemberCount: pulumi.Float64(0),
    	TerminationPolicy:  pulumi.String("string"),
    	NetworkVlanIds: pulumi.Float64Array{
    		pulumi.Float64(0),
    	},
    	Port:                    pulumi.Float64(0),
    	ComputeAutoscaleGroupId: pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	HealthCheck: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	VirtualServerId: pulumi.Float64(0),
    })
    
    var computeAutoscaleGroupResource = new ComputeAutoscaleGroup("computeAutoscaleGroupResource", ComputeAutoscaleGroupArgs.builder()
        .regionalGroup("string")
        .cooldown(0)
        .virtualGuestMemberTemplates(ComputeAutoscaleGroupVirtualGuestMemberTemplateArgs.builder()
            .blockStorageIds(0)
            .bulkVms(ComputeAutoscaleGroupVirtualGuestMemberTemplateBulkVmArgs.builder()
                .domain("string")
                .hostname("string")
                .build())
            .cores(0)
            .datacenter("string")
            .datacenterChoices(Map.of("string", "string"))
            .dedicatedAcctHostOnly(false)
            .dedicatedHostId(0)
            .dedicatedHostName("string")
            .disks(0)
            .domain("string")
            .evault(0)
            .fileStorageIds(0)
            .flavorKeyName("string")
            .hostname("string")
            .hourlyBilling(false)
            .imageId(0)
            .ipAddressId(0)
            .ipAddressIdPrivate(0)
            .ipv4Address("string")
            .ipv4AddressPrivate("string")
            .ipv6Address("string")
            .ipv6AddressId(0)
            .ipv6Enabled(false)
            .ipv6StaticEnabled(false)
            .localDisk(false)
            .memory(0)
            .networkSpeed(0)
            .notes("string")
            .osReferenceCode("string")
            .placementGroupId(0)
            .placementGroupName("string")
            .postInstallScriptUri("string")
            .privateInterfaceId(0)
            .privateNetworkOnly(false)
            .privateSecurityGroupIds(0)
            .privateSubnet("string")
            .privateSubnetId(0)
            .privateVlanId(0)
            .publicBandwidthLimited(0)
            .publicBandwidthUnlimited(false)
            .publicInterfaceId(0)
            .publicIpv6Subnet("string")
            .publicIpv6SubnetId(0)
            .publicSecurityGroupIds(0)
            .publicSubnet("string")
            .publicSubnetId(0)
            .publicVlanId(0)
            .quoteId(0)
            .resourceControllerUrl("string")
            .resourceName("string")
            .resourceStatus("string")
            .secondaryIpAddresses("string")
            .secondaryIpCount(0)
            .sshKeyIds(0)
            .tags("string")
            .transient_(false)
            .userMetadata("string")
            .build())
        .maximumMemberCount(0)
        .minimumMemberCount(0)
        .terminationPolicy("string")
        .networkVlanIds(0)
        .port(0)
        .computeAutoscaleGroupId("string")
        .tags("string")
        .name("string")
        .healthCheck(Map.of("string", "string"))
        .virtualServerId(0)
        .build());
    
    compute_autoscale_group_resource = ibm.ComputeAutoscaleGroup("computeAutoscaleGroupResource",
        regional_group="string",
        cooldown=0,
        virtual_guest_member_templates=[{
            "block_storage_ids": [0],
            "bulk_vms": [{
                "domain": "string",
                "hostname": "string",
            }],
            "cores": 0,
            "datacenter": "string",
            "datacenter_choices": [{
                "string": "string",
            }],
            "dedicated_acct_host_only": False,
            "dedicated_host_id": 0,
            "dedicated_host_name": "string",
            "disks": [0],
            "domain": "string",
            "evault": 0,
            "file_storage_ids": [0],
            "flavor_key_name": "string",
            "hostname": "string",
            "hourly_billing": False,
            "image_id": 0,
            "ip_address_id": 0,
            "ip_address_id_private": 0,
            "ipv4_address": "string",
            "ipv4_address_private": "string",
            "ipv6_address": "string",
            "ipv6_address_id": 0,
            "ipv6_enabled": False,
            "ipv6_static_enabled": False,
            "local_disk": False,
            "memory": 0,
            "network_speed": 0,
            "notes": "string",
            "os_reference_code": "string",
            "placement_group_id": 0,
            "placement_group_name": "string",
            "post_install_script_uri": "string",
            "private_interface_id": 0,
            "private_network_only": False,
            "private_security_group_ids": [0],
            "private_subnet": "string",
            "private_subnet_id": 0,
            "private_vlan_id": 0,
            "public_bandwidth_limited": 0,
            "public_bandwidth_unlimited": False,
            "public_interface_id": 0,
            "public_ipv6_subnet": "string",
            "public_ipv6_subnet_id": 0,
            "public_security_group_ids": [0],
            "public_subnet": "string",
            "public_subnet_id": 0,
            "public_vlan_id": 0,
            "quote_id": 0,
            "resource_controller_url": "string",
            "resource_name": "string",
            "resource_status": "string",
            "secondary_ip_addresses": ["string"],
            "secondary_ip_count": 0,
            "ssh_key_ids": [0],
            "tags": ["string"],
            "transient": False,
            "user_metadata": "string",
        }],
        maximum_member_count=0,
        minimum_member_count=0,
        termination_policy="string",
        network_vlan_ids=[0],
        port=0,
        compute_autoscale_group_id="string",
        tags=["string"],
        name="string",
        health_check={
            "string": "string",
        },
        virtual_server_id=0)
    
    const computeAutoscaleGroupResource = new ibm.ComputeAutoscaleGroup("computeAutoscaleGroupResource", {
        regionalGroup: "string",
        cooldown: 0,
        virtualGuestMemberTemplates: [{
            blockStorageIds: [0],
            bulkVms: [{
                domain: "string",
                hostname: "string",
            }],
            cores: 0,
            datacenter: "string",
            datacenterChoices: [{
                string: "string",
            }],
            dedicatedAcctHostOnly: false,
            dedicatedHostId: 0,
            dedicatedHostName: "string",
            disks: [0],
            domain: "string",
            evault: 0,
            fileStorageIds: [0],
            flavorKeyName: "string",
            hostname: "string",
            hourlyBilling: false,
            imageId: 0,
            ipAddressId: 0,
            ipAddressIdPrivate: 0,
            ipv4Address: "string",
            ipv4AddressPrivate: "string",
            ipv6Address: "string",
            ipv6AddressId: 0,
            ipv6Enabled: false,
            ipv6StaticEnabled: false,
            localDisk: false,
            memory: 0,
            networkSpeed: 0,
            notes: "string",
            osReferenceCode: "string",
            placementGroupId: 0,
            placementGroupName: "string",
            postInstallScriptUri: "string",
            privateInterfaceId: 0,
            privateNetworkOnly: false,
            privateSecurityGroupIds: [0],
            privateSubnet: "string",
            privateSubnetId: 0,
            privateVlanId: 0,
            publicBandwidthLimited: 0,
            publicBandwidthUnlimited: false,
            publicInterfaceId: 0,
            publicIpv6Subnet: "string",
            publicIpv6SubnetId: 0,
            publicSecurityGroupIds: [0],
            publicSubnet: "string",
            publicSubnetId: 0,
            publicVlanId: 0,
            quoteId: 0,
            resourceControllerUrl: "string",
            resourceName: "string",
            resourceStatus: "string",
            secondaryIpAddresses: ["string"],
            secondaryIpCount: 0,
            sshKeyIds: [0],
            tags: ["string"],
            transient: false,
            userMetadata: "string",
        }],
        maximumMemberCount: 0,
        minimumMemberCount: 0,
        terminationPolicy: "string",
        networkVlanIds: [0],
        port: 0,
        computeAutoscaleGroupId: "string",
        tags: ["string"],
        name: "string",
        healthCheck: {
            string: "string",
        },
        virtualServerId: 0,
    });
    
    type: ibm:ComputeAutoscaleGroup
    properties:
        computeAutoscaleGroupId: string
        cooldown: 0
        healthCheck:
            string: string
        maximumMemberCount: 0
        minimumMemberCount: 0
        name: string
        networkVlanIds:
            - 0
        port: 0
        regionalGroup: string
        tags:
            - string
        terminationPolicy: string
        virtualGuestMemberTemplates:
            - blockStorageIds:
                - 0
              bulkVms:
                - domain: string
                  hostname: string
              cores: 0
              datacenter: string
              datacenterChoices:
                - string: string
              dedicatedAcctHostOnly: false
              dedicatedHostId: 0
              dedicatedHostName: string
              disks:
                - 0
              domain: string
              evault: 0
              fileStorageIds:
                - 0
              flavorKeyName: string
              hostname: string
              hourlyBilling: false
              imageId: 0
              ipAddressId: 0
              ipAddressIdPrivate: 0
              ipv4Address: string
              ipv4AddressPrivate: string
              ipv6Address: string
              ipv6AddressId: 0
              ipv6Enabled: false
              ipv6StaticEnabled: false
              localDisk: false
              memory: 0
              networkSpeed: 0
              notes: string
              osReferenceCode: string
              placementGroupId: 0
              placementGroupName: string
              postInstallScriptUri: string
              privateInterfaceId: 0
              privateNetworkOnly: false
              privateSecurityGroupIds:
                - 0
              privateSubnet: string
              privateSubnetId: 0
              privateVlanId: 0
              publicBandwidthLimited: 0
              publicBandwidthUnlimited: false
              publicInterfaceId: 0
              publicIpv6Subnet: string
              publicIpv6SubnetId: 0
              publicSecurityGroupIds:
                - 0
              publicSubnet: string
              publicSubnetId: 0
              publicVlanId: 0
              quoteId: 0
              resourceControllerUrl: string
              resourceName: string
              resourceStatus: string
              secondaryIpAddresses:
                - string
              secondaryIpCount: 0
              sshKeyIds:
                - 0
              tags:
                - string
              transient: false
              userMetadata: string
        virtualServerId: 0
    

    ComputeAutoscaleGroup 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 ComputeAutoscaleGroup resource accepts the following input properties:

    Cooldown double
    The duration, expressed in seconds, that the autoscaling group waits before performing another scaling action.
    MaximumMemberCount double
    The maximum number of virtual guest members that are allowed in the autoscaling group.
    MinimumMemberCount double
    The minimum number of virtual guest members that are allowed in the autoscaling group.
    RegionalGroup string
    The regional group for the autoscaling group.
    TerminationPolicy string
    The termination policy for the autoscaling group.
    VirtualGuestMemberTemplates List<ComputeAutoscaleGroupVirtualGuestMemberTemplate>
    The template with which to create guest members. Only one template can be configured. You can find accepted values in the ibm.ComputeVmInstance resource.
    ComputeAutoscaleGroupId string
    (String) The unique identifier of the autoscaling group.
    HealthCheck Dictionary<string, string>
    The type of health check in a local load balancer. For example, HTTP. You can also use this value to specify custom HTTP methods.
    Name string
    The name of the autoscaling group.
    NetworkVlanIds List<double>
    The collection of VLAN IDs for the autoscaling group. You can find accepted values in the VLAN console. Click the VLAN that you want and notes the ID in the resulting URL. You can also refer to a VLAN name by using a data source.
    Port double
    The port number in a local load balancer. For example, 8080.
    Tags List<string>
    A list of tags that you want to add to the autoscaling group. Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    VirtualServerId double
    The ID of a virtual server in a local load balancer. You can find the ID with the following URL https://api.softlayer.com/rest/v3/SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_VirtualIpAddress/<load_balancer_ID>/getObject?objectMask=virtualServers. Replace <load_balancer_ID> with the ID of the target load balancer. Note To view the load balancer ID. Log in to the IBM Cloud Classic Infrastructure API that uses your API key as the password. For more information, about creating classic infrastructure keys and locating your VPN username and password, refer Managing classic infrastructure API keys.
    Cooldown float64
    The duration, expressed in seconds, that the autoscaling group waits before performing another scaling action.
    MaximumMemberCount float64
    The maximum number of virtual guest members that are allowed in the autoscaling group.
    MinimumMemberCount float64
    The minimum number of virtual guest members that are allowed in the autoscaling group.
    RegionalGroup string
    The regional group for the autoscaling group.
    TerminationPolicy string
    The termination policy for the autoscaling group.
    VirtualGuestMemberTemplates []ComputeAutoscaleGroupVirtualGuestMemberTemplateArgs
    The template with which to create guest members. Only one template can be configured. You can find accepted values in the ibm.ComputeVmInstance resource.
    ComputeAutoscaleGroupId string
    (String) The unique identifier of the autoscaling group.
    HealthCheck map[string]string
    The type of health check in a local load balancer. For example, HTTP. You can also use this value to specify custom HTTP methods.
    Name string
    The name of the autoscaling group.
    NetworkVlanIds []float64
    The collection of VLAN IDs for the autoscaling group. You can find accepted values in the VLAN console. Click the VLAN that you want and notes the ID in the resulting URL. You can also refer to a VLAN name by using a data source.
    Port float64
    The port number in a local load balancer. For example, 8080.
    Tags []string
    A list of tags that you want to add to the autoscaling group. Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    VirtualServerId float64
    The ID of a virtual server in a local load balancer. You can find the ID with the following URL https://api.softlayer.com/rest/v3/SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_VirtualIpAddress/<load_balancer_ID>/getObject?objectMask=virtualServers. Replace <load_balancer_ID> with the ID of the target load balancer. Note To view the load balancer ID. Log in to the IBM Cloud Classic Infrastructure API that uses your API key as the password. For more information, about creating classic infrastructure keys and locating your VPN username and password, refer Managing classic infrastructure API keys.
    cooldown Double
    The duration, expressed in seconds, that the autoscaling group waits before performing another scaling action.
    maximumMemberCount Double
    The maximum number of virtual guest members that are allowed in the autoscaling group.
    minimumMemberCount Double
    The minimum number of virtual guest members that are allowed in the autoscaling group.
    regionalGroup String
    The regional group for the autoscaling group.
    terminationPolicy String
    The termination policy for the autoscaling group.
    virtualGuestMemberTemplates List<ComputeAutoscaleGroupVirtualGuestMemberTemplate>
    The template with which to create guest members. Only one template can be configured. You can find accepted values in the ibm.ComputeVmInstance resource.
    computeAutoscaleGroupId String
    (String) The unique identifier of the autoscaling group.
    healthCheck Map<String,String>
    The type of health check in a local load balancer. For example, HTTP. You can also use this value to specify custom HTTP methods.
    name String
    The name of the autoscaling group.
    networkVlanIds List<Double>
    The collection of VLAN IDs for the autoscaling group. You can find accepted values in the VLAN console. Click the VLAN that you want and notes the ID in the resulting URL. You can also refer to a VLAN name by using a data source.
    port Double
    The port number in a local load balancer. For example, 8080.
    tags List<String>
    A list of tags that you want to add to the autoscaling group. Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    virtualServerId Double
    The ID of a virtual server in a local load balancer. You can find the ID with the following URL https://api.softlayer.com/rest/v3/SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_VirtualIpAddress/<load_balancer_ID>/getObject?objectMask=virtualServers. Replace <load_balancer_ID> with the ID of the target load balancer. Note To view the load balancer ID. Log in to the IBM Cloud Classic Infrastructure API that uses your API key as the password. For more information, about creating classic infrastructure keys and locating your VPN username and password, refer Managing classic infrastructure API keys.
    cooldown number
    The duration, expressed in seconds, that the autoscaling group waits before performing another scaling action.
    maximumMemberCount number
    The maximum number of virtual guest members that are allowed in the autoscaling group.
    minimumMemberCount number
    The minimum number of virtual guest members that are allowed in the autoscaling group.
    regionalGroup string
    The regional group for the autoscaling group.
    terminationPolicy string
    The termination policy for the autoscaling group.
    virtualGuestMemberTemplates ComputeAutoscaleGroupVirtualGuestMemberTemplate[]
    The template with which to create guest members. Only one template can be configured. You can find accepted values in the ibm.ComputeVmInstance resource.
    computeAutoscaleGroupId string
    (String) The unique identifier of the autoscaling group.
    healthCheck {[key: string]: string}
    The type of health check in a local load balancer. For example, HTTP. You can also use this value to specify custom HTTP methods.
    name string
    The name of the autoscaling group.
    networkVlanIds number[]
    The collection of VLAN IDs for the autoscaling group. You can find accepted values in the VLAN console. Click the VLAN that you want and notes the ID in the resulting URL. You can also refer to a VLAN name by using a data source.
    port number
    The port number in a local load balancer. For example, 8080.
    tags string[]
    A list of tags that you want to add to the autoscaling group. Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    virtualServerId number
    The ID of a virtual server in a local load balancer. You can find the ID with the following URL https://api.softlayer.com/rest/v3/SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_VirtualIpAddress/<load_balancer_ID>/getObject?objectMask=virtualServers. Replace <load_balancer_ID> with the ID of the target load balancer. Note To view the load balancer ID. Log in to the IBM Cloud Classic Infrastructure API that uses your API key as the password. For more information, about creating classic infrastructure keys and locating your VPN username and password, refer Managing classic infrastructure API keys.
    cooldown float
    The duration, expressed in seconds, that the autoscaling group waits before performing another scaling action.
    maximum_member_count float
    The maximum number of virtual guest members that are allowed in the autoscaling group.
    minimum_member_count float
    The minimum number of virtual guest members that are allowed in the autoscaling group.
    regional_group str
    The regional group for the autoscaling group.
    termination_policy str
    The termination policy for the autoscaling group.
    virtual_guest_member_templates Sequence[ComputeAutoscaleGroupVirtualGuestMemberTemplateArgs]
    The template with which to create guest members. Only one template can be configured. You can find accepted values in the ibm.ComputeVmInstance resource.
    compute_autoscale_group_id str
    (String) The unique identifier of the autoscaling group.
    health_check Mapping[str, str]
    The type of health check in a local load balancer. For example, HTTP. You can also use this value to specify custom HTTP methods.
    name str
    The name of the autoscaling group.
    network_vlan_ids Sequence[float]
    The collection of VLAN IDs for the autoscaling group. You can find accepted values in the VLAN console. Click the VLAN that you want and notes the ID in the resulting URL. You can also refer to a VLAN name by using a data source.
    port float
    The port number in a local load balancer. For example, 8080.
    tags Sequence[str]
    A list of tags that you want to add to the autoscaling group. Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    virtual_server_id float
    The ID of a virtual server in a local load balancer. You can find the ID with the following URL https://api.softlayer.com/rest/v3/SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_VirtualIpAddress/<load_balancer_ID>/getObject?objectMask=virtualServers. Replace <load_balancer_ID> with the ID of the target load balancer. Note To view the load balancer ID. Log in to the IBM Cloud Classic Infrastructure API that uses your API key as the password. For more information, about creating classic infrastructure keys and locating your VPN username and password, refer Managing classic infrastructure API keys.
    cooldown Number
    The duration, expressed in seconds, that the autoscaling group waits before performing another scaling action.
    maximumMemberCount Number
    The maximum number of virtual guest members that are allowed in the autoscaling group.
    minimumMemberCount Number
    The minimum number of virtual guest members that are allowed in the autoscaling group.
    regionalGroup String
    The regional group for the autoscaling group.
    terminationPolicy String
    The termination policy for the autoscaling group.
    virtualGuestMemberTemplates List<Property Map>
    The template with which to create guest members. Only one template can be configured. You can find accepted values in the ibm.ComputeVmInstance resource.
    computeAutoscaleGroupId String
    (String) The unique identifier of the autoscaling group.
    healthCheck Map<String>
    The type of health check in a local load balancer. For example, HTTP. You can also use this value to specify custom HTTP methods.
    name String
    The name of the autoscaling group.
    networkVlanIds List<Number>
    The collection of VLAN IDs for the autoscaling group. You can find accepted values in the VLAN console. Click the VLAN that you want and notes the ID in the resulting URL. You can also refer to a VLAN name by using a data source.
    port Number
    The port number in a local load balancer. For example, 8080.
    tags List<String>
    A list of tags that you want to add to the autoscaling group. Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    virtualServerId Number
    The ID of a virtual server in a local load balancer. You can find the ID with the following URL https://api.softlayer.com/rest/v3/SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_VirtualIpAddress/<load_balancer_ID>/getObject?objectMask=virtualServers. Replace <load_balancer_ID> with the ID of the target load balancer. Note To view the load balancer ID. Log in to the IBM Cloud Classic Infrastructure API that uses your API key as the password. For more information, about creating classic infrastructure keys and locating your VPN username and password, refer Managing classic infrastructure API keys.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ComputeAutoscaleGroup 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 ComputeAutoscaleGroup Resource

    Get an existing ComputeAutoscaleGroup 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?: ComputeAutoscaleGroupState, opts?: CustomResourceOptions): ComputeAutoscaleGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compute_autoscale_group_id: Optional[str] = None,
            cooldown: Optional[float] = None,
            health_check: Optional[Mapping[str, str]] = None,
            maximum_member_count: Optional[float] = None,
            minimum_member_count: Optional[float] = None,
            name: Optional[str] = None,
            network_vlan_ids: Optional[Sequence[float]] = None,
            port: Optional[float] = None,
            regional_group: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            termination_policy: Optional[str] = None,
            virtual_guest_member_templates: Optional[Sequence[ComputeAutoscaleGroupVirtualGuestMemberTemplateArgs]] = None,
            virtual_server_id: Optional[float] = None) -> ComputeAutoscaleGroup
    func GetComputeAutoscaleGroup(ctx *Context, name string, id IDInput, state *ComputeAutoscaleGroupState, opts ...ResourceOption) (*ComputeAutoscaleGroup, error)
    public static ComputeAutoscaleGroup Get(string name, Input<string> id, ComputeAutoscaleGroupState? state, CustomResourceOptions? opts = null)
    public static ComputeAutoscaleGroup get(String name, Output<String> id, ComputeAutoscaleGroupState state, CustomResourceOptions options)
    resources:  _:    type: ibm:ComputeAutoscaleGroup    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.
    The following state arguments are supported:
    ComputeAutoscaleGroupId string
    (String) The unique identifier of the autoscaling group.
    Cooldown double
    The duration, expressed in seconds, that the autoscaling group waits before performing another scaling action.
    HealthCheck Dictionary<string, string>
    The type of health check in a local load balancer. For example, HTTP. You can also use this value to specify custom HTTP methods.
    MaximumMemberCount double
    The maximum number of virtual guest members that are allowed in the autoscaling group.
    MinimumMemberCount double
    The minimum number of virtual guest members that are allowed in the autoscaling group.
    Name string
    The name of the autoscaling group.
    NetworkVlanIds List<double>
    The collection of VLAN IDs for the autoscaling group. You can find accepted values in the VLAN console. Click the VLAN that you want and notes the ID in the resulting URL. You can also refer to a VLAN name by using a data source.
    Port double
    The port number in a local load balancer. For example, 8080.
    RegionalGroup string
    The regional group for the autoscaling group.
    Tags List<string>
    A list of tags that you want to add to the autoscaling group. Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    TerminationPolicy string
    The termination policy for the autoscaling group.
    VirtualGuestMemberTemplates List<ComputeAutoscaleGroupVirtualGuestMemberTemplate>
    The template with which to create guest members. Only one template can be configured. You can find accepted values in the ibm.ComputeVmInstance resource.
    VirtualServerId double
    The ID of a virtual server in a local load balancer. You can find the ID with the following URL https://api.softlayer.com/rest/v3/SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_VirtualIpAddress/<load_balancer_ID>/getObject?objectMask=virtualServers. Replace <load_balancer_ID> with the ID of the target load balancer. Note To view the load balancer ID. Log in to the IBM Cloud Classic Infrastructure API that uses your API key as the password. For more information, about creating classic infrastructure keys and locating your VPN username and password, refer Managing classic infrastructure API keys.
    ComputeAutoscaleGroupId string
    (String) The unique identifier of the autoscaling group.
    Cooldown float64
    The duration, expressed in seconds, that the autoscaling group waits before performing another scaling action.
    HealthCheck map[string]string
    The type of health check in a local load balancer. For example, HTTP. You can also use this value to specify custom HTTP methods.
    MaximumMemberCount float64
    The maximum number of virtual guest members that are allowed in the autoscaling group.
    MinimumMemberCount float64
    The minimum number of virtual guest members that are allowed in the autoscaling group.
    Name string
    The name of the autoscaling group.
    NetworkVlanIds []float64
    The collection of VLAN IDs for the autoscaling group. You can find accepted values in the VLAN console. Click the VLAN that you want and notes the ID in the resulting URL. You can also refer to a VLAN name by using a data source.
    Port float64
    The port number in a local load balancer. For example, 8080.
    RegionalGroup string
    The regional group for the autoscaling group.
    Tags []string
    A list of tags that you want to add to the autoscaling group. Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    TerminationPolicy string
    The termination policy for the autoscaling group.
    VirtualGuestMemberTemplates []ComputeAutoscaleGroupVirtualGuestMemberTemplateArgs
    The template with which to create guest members. Only one template can be configured. You can find accepted values in the ibm.ComputeVmInstance resource.
    VirtualServerId float64
    The ID of a virtual server in a local load balancer. You can find the ID with the following URL https://api.softlayer.com/rest/v3/SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_VirtualIpAddress/<load_balancer_ID>/getObject?objectMask=virtualServers. Replace <load_balancer_ID> with the ID of the target load balancer. Note To view the load balancer ID. Log in to the IBM Cloud Classic Infrastructure API that uses your API key as the password. For more information, about creating classic infrastructure keys and locating your VPN username and password, refer Managing classic infrastructure API keys.
    computeAutoscaleGroupId String
    (String) The unique identifier of the autoscaling group.
    cooldown Double
    The duration, expressed in seconds, that the autoscaling group waits before performing another scaling action.
    healthCheck Map<String,String>
    The type of health check in a local load balancer. For example, HTTP. You can also use this value to specify custom HTTP methods.
    maximumMemberCount Double
    The maximum number of virtual guest members that are allowed in the autoscaling group.
    minimumMemberCount Double
    The minimum number of virtual guest members that are allowed in the autoscaling group.
    name String
    The name of the autoscaling group.
    networkVlanIds List<Double>
    The collection of VLAN IDs for the autoscaling group. You can find accepted values in the VLAN console. Click the VLAN that you want and notes the ID in the resulting URL. You can also refer to a VLAN name by using a data source.
    port Double
    The port number in a local load balancer. For example, 8080.
    regionalGroup String
    The regional group for the autoscaling group.
    tags List<String>
    A list of tags that you want to add to the autoscaling group. Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    terminationPolicy String
    The termination policy for the autoscaling group.
    virtualGuestMemberTemplates List<ComputeAutoscaleGroupVirtualGuestMemberTemplate>
    The template with which to create guest members. Only one template can be configured. You can find accepted values in the ibm.ComputeVmInstance resource.
    virtualServerId Double
    The ID of a virtual server in a local load balancer. You can find the ID with the following URL https://api.softlayer.com/rest/v3/SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_VirtualIpAddress/<load_balancer_ID>/getObject?objectMask=virtualServers. Replace <load_balancer_ID> with the ID of the target load balancer. Note To view the load balancer ID. Log in to the IBM Cloud Classic Infrastructure API that uses your API key as the password. For more information, about creating classic infrastructure keys and locating your VPN username and password, refer Managing classic infrastructure API keys.
    computeAutoscaleGroupId string
    (String) The unique identifier of the autoscaling group.
    cooldown number
    The duration, expressed in seconds, that the autoscaling group waits before performing another scaling action.
    healthCheck {[key: string]: string}
    The type of health check in a local load balancer. For example, HTTP. You can also use this value to specify custom HTTP methods.
    maximumMemberCount number
    The maximum number of virtual guest members that are allowed in the autoscaling group.
    minimumMemberCount number
    The minimum number of virtual guest members that are allowed in the autoscaling group.
    name string
    The name of the autoscaling group.
    networkVlanIds number[]
    The collection of VLAN IDs for the autoscaling group. You can find accepted values in the VLAN console. Click the VLAN that you want and notes the ID in the resulting URL. You can also refer to a VLAN name by using a data source.
    port number
    The port number in a local load balancer. For example, 8080.
    regionalGroup string
    The regional group for the autoscaling group.
    tags string[]
    A list of tags that you want to add to the autoscaling group. Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    terminationPolicy string
    The termination policy for the autoscaling group.
    virtualGuestMemberTemplates ComputeAutoscaleGroupVirtualGuestMemberTemplate[]
    The template with which to create guest members. Only one template can be configured. You can find accepted values in the ibm.ComputeVmInstance resource.
    virtualServerId number
    The ID of a virtual server in a local load balancer. You can find the ID with the following URL https://api.softlayer.com/rest/v3/SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_VirtualIpAddress/<load_balancer_ID>/getObject?objectMask=virtualServers. Replace <load_balancer_ID> with the ID of the target load balancer. Note To view the load balancer ID. Log in to the IBM Cloud Classic Infrastructure API that uses your API key as the password. For more information, about creating classic infrastructure keys and locating your VPN username and password, refer Managing classic infrastructure API keys.
    compute_autoscale_group_id str
    (String) The unique identifier of the autoscaling group.
    cooldown float
    The duration, expressed in seconds, that the autoscaling group waits before performing another scaling action.
    health_check Mapping[str, str]
    The type of health check in a local load balancer. For example, HTTP. You can also use this value to specify custom HTTP methods.
    maximum_member_count float
    The maximum number of virtual guest members that are allowed in the autoscaling group.
    minimum_member_count float
    The minimum number of virtual guest members that are allowed in the autoscaling group.
    name str
    The name of the autoscaling group.
    network_vlan_ids Sequence[float]
    The collection of VLAN IDs for the autoscaling group. You can find accepted values in the VLAN console. Click the VLAN that you want and notes the ID in the resulting URL. You can also refer to a VLAN name by using a data source.
    port float
    The port number in a local load balancer. For example, 8080.
    regional_group str
    The regional group for the autoscaling group.
    tags Sequence[str]
    A list of tags that you want to add to the autoscaling group. Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    termination_policy str
    The termination policy for the autoscaling group.
    virtual_guest_member_templates Sequence[ComputeAutoscaleGroupVirtualGuestMemberTemplateArgs]
    The template with which to create guest members. Only one template can be configured. You can find accepted values in the ibm.ComputeVmInstance resource.
    virtual_server_id float
    The ID of a virtual server in a local load balancer. You can find the ID with the following URL https://api.softlayer.com/rest/v3/SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_VirtualIpAddress/<load_balancer_ID>/getObject?objectMask=virtualServers. Replace <load_balancer_ID> with the ID of the target load balancer. Note To view the load balancer ID. Log in to the IBM Cloud Classic Infrastructure API that uses your API key as the password. For more information, about creating classic infrastructure keys and locating your VPN username and password, refer Managing classic infrastructure API keys.
    computeAutoscaleGroupId String
    (String) The unique identifier of the autoscaling group.
    cooldown Number
    The duration, expressed in seconds, that the autoscaling group waits before performing another scaling action.
    healthCheck Map<String>
    The type of health check in a local load balancer. For example, HTTP. You can also use this value to specify custom HTTP methods.
    maximumMemberCount Number
    The maximum number of virtual guest members that are allowed in the autoscaling group.
    minimumMemberCount Number
    The minimum number of virtual guest members that are allowed in the autoscaling group.
    name String
    The name of the autoscaling group.
    networkVlanIds List<Number>
    The collection of VLAN IDs for the autoscaling group. You can find accepted values in the VLAN console. Click the VLAN that you want and notes the ID in the resulting URL. You can also refer to a VLAN name by using a data source.
    port Number
    The port number in a local load balancer. For example, 8080.
    regionalGroup String
    The regional group for the autoscaling group.
    tags List<String>
    A list of tags that you want to add to the autoscaling group. Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    terminationPolicy String
    The termination policy for the autoscaling group.
    virtualGuestMemberTemplates List<Property Map>
    The template with which to create guest members. Only one template can be configured. You can find accepted values in the ibm.ComputeVmInstance resource.
    virtualServerId Number
    The ID of a virtual server in a local load balancer. You can find the ID with the following URL https://api.softlayer.com/rest/v3/SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_VirtualIpAddress/<load_balancer_ID>/getObject?objectMask=virtualServers. Replace <load_balancer_ID> with the ID of the target load balancer. Note To view the load balancer ID. Log in to the IBM Cloud Classic Infrastructure API that uses your API key as the password. For more information, about creating classic infrastructure keys and locating your VPN username and password, refer Managing classic infrastructure API keys.

    Supporting Types

    ComputeAutoscaleGroupVirtualGuestMemberTemplate, ComputeAutoscaleGroupVirtualGuestMemberTemplateArgs

    BlockStorageIds List<double>
    BulkVms List<ComputeAutoscaleGroupVirtualGuestMemberTemplateBulkVm>
    Cores double
    Datacenter string
    DatacenterChoices List<ImmutableDictionary<string, string>>
    The user provided datacenter options
    DedicatedAcctHostOnly bool
    DedicatedHostId double
    DedicatedHostName string
    Disks List<double>
    Domain string
    Evault double
    FileStorageIds List<double>
    FlavorKeyName string
    Flavor key name used to provision vm.
    Hostname string
    HourlyBilling bool
    ImageId double
    IpAddressId double
    IpAddressIdPrivate double
    Ipv4Address string
    Ipv4AddressPrivate string
    Ipv6Address string
    Ipv6AddressId double
    Ipv6Enabled bool
    Ipv6StaticEnabled bool
    LocalDisk bool
    Memory double
    NetworkSpeed double
    Notes string
    OsReferenceCode string
    PlacementGroupId double
    The placement group id
    PlacementGroupName string
    The placement group name
    PostInstallScriptUri string
    PrivateInterfaceId double
    PrivateNetworkOnly bool
    PrivateSecurityGroupIds List<double>
    PrivateSubnet string
    PrivateSubnetId double
    PrivateVlanId double
    PublicBandwidthLimited double
    PublicBandwidthUnlimited bool
    PublicInterfaceId double
    PublicIpv6Subnet string
    PublicIpv6SubnetId double
    PublicSecurityGroupIds List<double>
    PublicSubnet string
    PublicSubnetId double
    PublicVlanId double
    QuoteId double
    Quote ID for Quote based provisioning
    ResourceControllerUrl string
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    ResourceName string
    The name of the resource
    ResourceStatus string
    The status of the resource
    SecondaryIpAddresses List<string>
    SecondaryIpCount double
    SshKeyIds List<double>
    Tags List<string>
    A list of tags that you want to add to the autoscaling group. Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    Transient bool
    UserMetadata string
    BlockStorageIds []float64
    BulkVms []ComputeAutoscaleGroupVirtualGuestMemberTemplateBulkVm
    Cores float64
    Datacenter string
    DatacenterChoices []map[string]string
    The user provided datacenter options
    DedicatedAcctHostOnly bool
    DedicatedHostId float64
    DedicatedHostName string
    Disks []float64
    Domain string
    Evault float64
    FileStorageIds []float64
    FlavorKeyName string
    Flavor key name used to provision vm.
    Hostname string
    HourlyBilling bool
    ImageId float64
    IpAddressId float64
    IpAddressIdPrivate float64
    Ipv4Address string
    Ipv4AddressPrivate string
    Ipv6Address string
    Ipv6AddressId float64
    Ipv6Enabled bool
    Ipv6StaticEnabled bool
    LocalDisk bool
    Memory float64
    NetworkSpeed float64
    Notes string
    OsReferenceCode string
    PlacementGroupId float64
    The placement group id
    PlacementGroupName string
    The placement group name
    PostInstallScriptUri string
    PrivateInterfaceId float64
    PrivateNetworkOnly bool
    PrivateSecurityGroupIds []float64
    PrivateSubnet string
    PrivateSubnetId float64
    PrivateVlanId float64
    PublicBandwidthLimited float64
    PublicBandwidthUnlimited bool
    PublicInterfaceId float64
    PublicIpv6Subnet string
    PublicIpv6SubnetId float64
    PublicSecurityGroupIds []float64
    PublicSubnet string
    PublicSubnetId float64
    PublicVlanId float64
    QuoteId float64
    Quote ID for Quote based provisioning
    ResourceControllerUrl string
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    ResourceName string
    The name of the resource
    ResourceStatus string
    The status of the resource
    SecondaryIpAddresses []string
    SecondaryIpCount float64
    SshKeyIds []float64
    Tags []string
    A list of tags that you want to add to the autoscaling group. Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    Transient bool
    UserMetadata string
    blockStorageIds List<Double>
    bulkVms List<ComputeAutoscaleGroupVirtualGuestMemberTemplateBulkVm>
    cores Double
    datacenter String
    datacenterChoices List<Map<String,String>>
    The user provided datacenter options
    dedicatedAcctHostOnly Boolean
    dedicatedHostId Double
    dedicatedHostName String
    disks List<Double>
    domain String
    evault Double
    fileStorageIds List<Double>
    flavorKeyName String
    Flavor key name used to provision vm.
    hostname String
    hourlyBilling Boolean
    imageId Double
    ipAddressId Double
    ipAddressIdPrivate Double
    ipv4Address String
    ipv4AddressPrivate String
    ipv6Address String
    ipv6AddressId Double
    ipv6Enabled Boolean
    ipv6StaticEnabled Boolean
    localDisk Boolean
    memory Double
    networkSpeed Double
    notes String
    osReferenceCode String
    placementGroupId Double
    The placement group id
    placementGroupName String
    The placement group name
    postInstallScriptUri String
    privateInterfaceId Double
    privateNetworkOnly Boolean
    privateSecurityGroupIds List<Double>
    privateSubnet String
    privateSubnetId Double
    privateVlanId Double
    publicBandwidthLimited Double
    publicBandwidthUnlimited Boolean
    publicInterfaceId Double
    publicIpv6Subnet String
    publicIpv6SubnetId Double
    publicSecurityGroupIds List<Double>
    publicSubnet String
    publicSubnetId Double
    publicVlanId Double
    quoteId Double
    Quote ID for Quote based provisioning
    resourceControllerUrl String
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resourceName String
    The name of the resource
    resourceStatus String
    The status of the resource
    secondaryIpAddresses List<String>
    secondaryIpCount Double
    sshKeyIds List<Double>
    tags List<String>
    A list of tags that you want to add to the autoscaling group. Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    transient_ Boolean
    userMetadata String
    blockStorageIds number[]
    bulkVms ComputeAutoscaleGroupVirtualGuestMemberTemplateBulkVm[]
    cores number
    datacenter string
    datacenterChoices {[key: string]: string}[]
    The user provided datacenter options
    dedicatedAcctHostOnly boolean
    dedicatedHostId number
    dedicatedHostName string
    disks number[]
    domain string
    evault number
    fileStorageIds number[]
    flavorKeyName string
    Flavor key name used to provision vm.
    hostname string
    hourlyBilling boolean
    imageId number
    ipAddressId number
    ipAddressIdPrivate number
    ipv4Address string
    ipv4AddressPrivate string
    ipv6Address string
    ipv6AddressId number
    ipv6Enabled boolean
    ipv6StaticEnabled boolean
    localDisk boolean
    memory number
    networkSpeed number
    notes string
    osReferenceCode string
    placementGroupId number
    The placement group id
    placementGroupName string
    The placement group name
    postInstallScriptUri string
    privateInterfaceId number
    privateNetworkOnly boolean
    privateSecurityGroupIds number[]
    privateSubnet string
    privateSubnetId number
    privateVlanId number
    publicBandwidthLimited number
    publicBandwidthUnlimited boolean
    publicInterfaceId number
    publicIpv6Subnet string
    publicIpv6SubnetId number
    publicSecurityGroupIds number[]
    publicSubnet string
    publicSubnetId number
    publicVlanId number
    quoteId number
    Quote ID for Quote based provisioning
    resourceControllerUrl string
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resourceName string
    The name of the resource
    resourceStatus string
    The status of the resource
    secondaryIpAddresses string[]
    secondaryIpCount number
    sshKeyIds number[]
    tags string[]
    A list of tags that you want to add to the autoscaling group. Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    transient boolean
    userMetadata string
    block_storage_ids Sequence[float]
    bulk_vms Sequence[ComputeAutoscaleGroupVirtualGuestMemberTemplateBulkVm]
    cores float
    datacenter str
    datacenter_choices Sequence[Mapping[str, str]]
    The user provided datacenter options
    dedicated_acct_host_only bool
    dedicated_host_id float
    dedicated_host_name str
    disks Sequence[float]
    domain str
    evault float
    file_storage_ids Sequence[float]
    flavor_key_name str
    Flavor key name used to provision vm.
    hostname str
    hourly_billing bool
    image_id float
    ip_address_id float
    ip_address_id_private float
    ipv4_address str
    ipv4_address_private str
    ipv6_address str
    ipv6_address_id float
    ipv6_enabled bool
    ipv6_static_enabled bool
    local_disk bool
    memory float
    network_speed float
    notes str
    os_reference_code str
    placement_group_id float
    The placement group id
    placement_group_name str
    The placement group name
    post_install_script_uri str
    private_interface_id float
    private_network_only bool
    private_security_group_ids Sequence[float]
    private_subnet str
    private_subnet_id float
    private_vlan_id float
    public_bandwidth_limited float
    public_bandwidth_unlimited bool
    public_interface_id float
    public_ipv6_subnet str
    public_ipv6_subnet_id float
    public_security_group_ids Sequence[float]
    public_subnet str
    public_subnet_id float
    public_vlan_id float
    quote_id float
    Quote ID for Quote based provisioning
    resource_controller_url str
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resource_name str
    The name of the resource
    resource_status str
    The status of the resource
    secondary_ip_addresses Sequence[str]
    secondary_ip_count float
    ssh_key_ids Sequence[float]
    tags Sequence[str]
    A list of tags that you want to add to the autoscaling group. Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    transient bool
    user_metadata str
    blockStorageIds List<Number>
    bulkVms List<Property Map>
    cores Number
    datacenter String
    datacenterChoices List<Map<String>>
    The user provided datacenter options
    dedicatedAcctHostOnly Boolean
    dedicatedHostId Number
    dedicatedHostName String
    disks List<Number>
    domain String
    evault Number
    fileStorageIds List<Number>
    flavorKeyName String
    Flavor key name used to provision vm.
    hostname String
    hourlyBilling Boolean
    imageId Number
    ipAddressId Number
    ipAddressIdPrivate Number
    ipv4Address String
    ipv4AddressPrivate String
    ipv6Address String
    ipv6AddressId Number
    ipv6Enabled Boolean
    ipv6StaticEnabled Boolean
    localDisk Boolean
    memory Number
    networkSpeed Number
    notes String
    osReferenceCode String
    placementGroupId Number
    The placement group id
    placementGroupName String
    The placement group name
    postInstallScriptUri String
    privateInterfaceId Number
    privateNetworkOnly Boolean
    privateSecurityGroupIds List<Number>
    privateSubnet String
    privateSubnetId Number
    privateVlanId Number
    publicBandwidthLimited Number
    publicBandwidthUnlimited Boolean
    publicInterfaceId Number
    publicIpv6Subnet String
    publicIpv6SubnetId Number
    publicSecurityGroupIds List<Number>
    publicSubnet String
    publicSubnetId Number
    publicVlanId Number
    quoteId Number
    Quote ID for Quote based provisioning
    resourceControllerUrl String
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resourceName String
    The name of the resource
    resourceStatus String
    The status of the resource
    secondaryIpAddresses List<String>
    secondaryIpCount Number
    sshKeyIds List<Number>
    tags List<String>
    A list of tags that you want to add to the autoscaling group. Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    transient Boolean
    userMetadata String

    ComputeAutoscaleGroupVirtualGuestMemberTemplateBulkVm, ComputeAutoscaleGroupVirtualGuestMemberTemplateBulkVmArgs

    Domain string
    Hostname string
    Domain string
    Hostname string
    domain String
    hostname String
    domain string
    hostname string
    domain String
    hostname String

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud