ibm.ComputeAutoscaleGroup
Explore with Pulumi AI
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.
- Maximum
Member doubleCount - The maximum number of virtual guest members that are allowed in the autoscaling group.
- Minimum
Member doubleCount - The minimum number of virtual guest members that are allowed in the autoscaling group.
- Regional
Group string - The regional group for the autoscaling group.
- Termination
Policy string - The termination policy for the autoscaling group.
- Virtual
Guest List<ComputeMember Templates Autoscale Group Virtual Guest Member Template> - 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 stringGroup Id - (String) The unique identifier of the autoscaling group.
- Health
Check 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.
- Network
Vlan List<double>Ids - 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
. - 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.
- Virtual
Server doubleId - 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.
- Maximum
Member float64Count - The maximum number of virtual guest members that are allowed in the autoscaling group.
- Minimum
Member float64Count - The minimum number of virtual guest members that are allowed in the autoscaling group.
- Regional
Group string - The regional group for the autoscaling group.
- Termination
Policy string - The termination policy for the autoscaling group.
- Virtual
Guest []ComputeMember Templates Autoscale Group Virtual Guest Member Template Args - 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 stringGroup Id - (String) The unique identifier of the autoscaling group.
- Health
Check 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.
- Network
Vlan []float64Ids - 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
. - []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.
- Virtual
Server float64Id - 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.
- maximum
Member DoubleCount - The maximum number of virtual guest members that are allowed in the autoscaling group.
- minimum
Member DoubleCount - The minimum number of virtual guest members that are allowed in the autoscaling group.
- regional
Group String - The regional group for the autoscaling group.
- termination
Policy String - The termination policy for the autoscaling group.
- virtual
Guest List<ComputeMember Templates Autoscale Group Virtual Guest Member Template> - 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 StringGroup Id - (String) The unique identifier of the autoscaling group.
- health
Check 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.
- network
Vlan List<Double>Ids - 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
. - 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.
- virtual
Server DoubleId - 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.
- maximum
Member numberCount - The maximum number of virtual guest members that are allowed in the autoscaling group.
- minimum
Member numberCount - The minimum number of virtual guest members that are allowed in the autoscaling group.
- regional
Group string - The regional group for the autoscaling group.
- termination
Policy string - The termination policy for the autoscaling group.
- virtual
Guest ComputeMember Templates Autoscale Group Virtual Guest Member Template[] - 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 stringGroup Id - (String) The unique identifier of the autoscaling group.
- health
Check {[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.
- network
Vlan number[]Ids - 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
. - 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.
- virtual
Server numberId - 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_ floatcount - The maximum number of virtual guest members that are allowed in the autoscaling group.
- minimum_
member_ floatcount - 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_ Sequence[Computemember_ templates Autoscale Group Virtual Guest Member Template Args] - 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_ strgroup_ id - (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_ Sequence[float]ids - 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
. - 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_ floatid - 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.
- maximum
Member NumberCount - The maximum number of virtual guest members that are allowed in the autoscaling group.
- minimum
Member NumberCount - The minimum number of virtual guest members that are allowed in the autoscaling group.
- regional
Group String - The regional group for the autoscaling group.
- termination
Policy String - The termination policy for the autoscaling group.
- virtual
Guest List<Property Map>Member Templates - 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 StringGroup Id - (String) The unique identifier of the autoscaling group.
- health
Check 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.
- network
Vlan List<Number>Ids - 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
. - 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.
- virtual
Server NumberId - 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.
- Compute
Autoscale stringGroup Id - (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.
- Health
Check 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. - Maximum
Member doubleCount - The maximum number of virtual guest members that are allowed in the autoscaling group.
- Minimum
Member doubleCount - The minimum number of virtual guest members that are allowed in the autoscaling group.
- Name string
- The name of the autoscaling group.
- Network
Vlan List<double>Ids - 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
. - Regional
Group string - The regional group for the autoscaling group.
- 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.
- Termination
Policy string - The termination policy for the autoscaling group.
- Virtual
Guest List<ComputeMember Templates Autoscale Group Virtual Guest Member Template> - 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 doubleId - 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 stringGroup Id - (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.
- Health
Check 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. - Maximum
Member float64Count - The maximum number of virtual guest members that are allowed in the autoscaling group.
- Minimum
Member float64Count - The minimum number of virtual guest members that are allowed in the autoscaling group.
- Name string
- The name of the autoscaling group.
- Network
Vlan []float64Ids - 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
. - Regional
Group string - The regional group for the autoscaling group.
- []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.
- Termination
Policy string - The termination policy for the autoscaling group.
- Virtual
Guest []ComputeMember Templates Autoscale Group Virtual Guest Member Template Args - 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 float64Id - 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 StringGroup Id - (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.
- health
Check 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. - maximum
Member DoubleCount - The maximum number of virtual guest members that are allowed in the autoscaling group.
- minimum
Member DoubleCount - The minimum number of virtual guest members that are allowed in the autoscaling group.
- name String
- The name of the autoscaling group.
- network
Vlan List<Double>Ids - 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
. - regional
Group String - The regional group for the autoscaling group.
- 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.
- termination
Policy String - The termination policy for the autoscaling group.
- virtual
Guest List<ComputeMember Templates Autoscale Group Virtual Guest Member Template> - 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 DoubleId - 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 stringGroup Id - (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.
- health
Check {[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. - maximum
Member numberCount - The maximum number of virtual guest members that are allowed in the autoscaling group.
- minimum
Member numberCount - The minimum number of virtual guest members that are allowed in the autoscaling group.
- name string
- The name of the autoscaling group.
- network
Vlan number[]Ids - 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
. - regional
Group string - The regional group for the autoscaling group.
- 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.
- termination
Policy string - The termination policy for the autoscaling group.
- virtual
Guest ComputeMember Templates Autoscale Group Virtual Guest Member Template[] - 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 numberId - 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_ strgroup_ id - (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_ floatcount - The maximum number of virtual guest members that are allowed in the autoscaling group.
- minimum_
member_ floatcount - The minimum number of virtual guest members that are allowed in the autoscaling group.
- name str
- The name of the autoscaling group.
- network_
vlan_ Sequence[float]ids - 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.
- 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_ Sequence[Computemember_ templates Autoscale Group Virtual Guest Member Template Args] - 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_ floatid - 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 StringGroup Id - (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.
- health
Check 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. - maximum
Member NumberCount - The maximum number of virtual guest members that are allowed in the autoscaling group.
- minimum
Member NumberCount - The minimum number of virtual guest members that are allowed in the autoscaling group.
- name String
- The name of the autoscaling group.
- network
Vlan List<Number>Ids - 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
. - regional
Group String - The regional group for the autoscaling group.
- 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.
- termination
Policy String - The termination policy for the autoscaling group.
- virtual
Guest List<Property Map>Member Templates - 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 NumberId - 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
- Block
Storage List<double>Ids - Bulk
Vms List<ComputeAutoscale Group Virtual Guest Member Template Bulk Vm> - Cores double
- Datacenter string
- Datacenter
Choices List<ImmutableDictionary<string, string>> - The user provided datacenter options
- Dedicated
Acct boolHost Only - Dedicated
Host doubleId - Dedicated
Host stringName - Disks List<double>
- Domain string
- Evault double
- File
Storage List<double>Ids - Flavor
Key stringName - Flavor key name used to provision vm.
- Hostname string
- Hourly
Billing bool - Image
Id double - Ip
Address doubleId - Ip
Address doubleId Private - Ipv4Address string
- Ipv4Address
Private string - Ipv6Address string
- Ipv6Address
Id double - Ipv6Enabled bool
- Ipv6Static
Enabled bool - Local
Disk bool - Memory double
- Network
Speed double - Notes string
- Os
Reference stringCode - Placement
Group doubleId - The placement group id
- Placement
Group stringName - The placement group name
- Post
Install stringScript Uri - Private
Interface doubleId - Private
Network boolOnly - Private
Security List<double>Group Ids - Private
Subnet string - Private
Subnet doubleId - Private
Vlan doubleId - Public
Bandwidth doubleLimited - Public
Bandwidth boolUnlimited - Public
Interface doubleId - Public
Ipv6Subnet string - Public
Ipv6Subnet doubleId - Public
Security List<double>Group Ids - Public
Subnet string - Public
Subnet doubleId - Public
Vlan doubleId - Quote
Id double - Quote ID for Quote based provisioning
- Resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- Resource
Name string - The name of the resource
- Resource
Status string - The status of the resource
- Secondary
Ip List<string>Addresses - Secondary
Ip doubleCount - Ssh
Key List<double>Ids - 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
- User
Metadata string
- Block
Storage []float64Ids - Bulk
Vms []ComputeAutoscale Group Virtual Guest Member Template Bulk Vm - Cores float64
- Datacenter string
- Datacenter
Choices []map[string]string - The user provided datacenter options
- Dedicated
Acct boolHost Only - Dedicated
Host float64Id - Dedicated
Host stringName - Disks []float64
- Domain string
- Evault float64
- File
Storage []float64Ids - Flavor
Key stringName - Flavor key name used to provision vm.
- Hostname string
- Hourly
Billing bool - Image
Id float64 - Ip
Address float64Id - Ip
Address float64Id Private - Ipv4Address string
- Ipv4Address
Private string - Ipv6Address string
- Ipv6Address
Id float64 - Ipv6Enabled bool
- Ipv6Static
Enabled bool - Local
Disk bool - Memory float64
- Network
Speed float64 - Notes string
- Os
Reference stringCode - Placement
Group float64Id - The placement group id
- Placement
Group stringName - The placement group name
- Post
Install stringScript Uri - Private
Interface float64Id - Private
Network boolOnly - Private
Security []float64Group Ids - Private
Subnet string - Private
Subnet float64Id - Private
Vlan float64Id - Public
Bandwidth float64Limited - Public
Bandwidth boolUnlimited - Public
Interface float64Id - Public
Ipv6Subnet string - Public
Ipv6Subnet float64Id - Public
Security []float64Group Ids - Public
Subnet string - Public
Subnet float64Id - Public
Vlan float64Id - Quote
Id float64 - Quote ID for Quote based provisioning
- Resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- Resource
Name string - The name of the resource
- Resource
Status string - The status of the resource
- Secondary
Ip []stringAddresses - Secondary
Ip float64Count - Ssh
Key []float64Ids - []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
- User
Metadata string
- block
Storage List<Double>Ids - bulk
Vms List<ComputeAutoscale Group Virtual Guest Member Template Bulk Vm> - cores Double
- datacenter String
- datacenter
Choices List<Map<String,String>> - The user provided datacenter options
- dedicated
Acct BooleanHost Only - dedicated
Host DoubleId - dedicated
Host StringName - disks List<Double>
- domain String
- evault Double
- file
Storage List<Double>Ids - flavor
Key StringName - Flavor key name used to provision vm.
- hostname String
- hourly
Billing Boolean - image
Id Double - ip
Address DoubleId - ip
Address DoubleId Private - ipv4Address String
- ipv4Address
Private String - ipv6Address String
- ipv6Address
Id Double - ipv6Enabled Boolean
- ipv6Static
Enabled Boolean - local
Disk Boolean - memory Double
- network
Speed Double - notes String
- os
Reference StringCode - placement
Group DoubleId - The placement group id
- placement
Group StringName - The placement group name
- post
Install StringScript Uri - private
Interface DoubleId - private
Network BooleanOnly - private
Security List<Double>Group Ids - private
Subnet String - private
Subnet DoubleId - private
Vlan DoubleId - public
Bandwidth DoubleLimited - public
Bandwidth BooleanUnlimited - public
Interface DoubleId - public
Ipv6Subnet String - public
Ipv6Subnet DoubleId - public
Security List<Double>Group Ids - public
Subnet String - public
Subnet DoubleId - public
Vlan DoubleId - quote
Id Double - Quote ID for Quote based provisioning
- resource
Controller StringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Name String - The name of the resource
- resource
Status String - The status of the resource
- secondary
Ip List<String>Addresses - secondary
Ip DoubleCount - ssh
Key List<Double>Ids - 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
- user
Metadata String
- block
Storage number[]Ids - bulk
Vms ComputeAutoscale Group Virtual Guest Member Template Bulk Vm[] - cores number
- datacenter string
- datacenter
Choices {[key: string]: string}[] - The user provided datacenter options
- dedicated
Acct booleanHost Only - dedicated
Host numberId - dedicated
Host stringName - disks number[]
- domain string
- evault number
- file
Storage number[]Ids - flavor
Key stringName - Flavor key name used to provision vm.
- hostname string
- hourly
Billing boolean - image
Id number - ip
Address numberId - ip
Address numberId Private - ipv4Address string
- ipv4Address
Private string - ipv6Address string
- ipv6Address
Id number - ipv6Enabled boolean
- ipv6Static
Enabled boolean - local
Disk boolean - memory number
- network
Speed number - notes string
- os
Reference stringCode - placement
Group numberId - The placement group id
- placement
Group stringName - The placement group name
- post
Install stringScript Uri - private
Interface numberId - private
Network booleanOnly - private
Security number[]Group Ids - private
Subnet string - private
Subnet numberId - private
Vlan numberId - public
Bandwidth numberLimited - public
Bandwidth booleanUnlimited - public
Interface numberId - public
Ipv6Subnet string - public
Ipv6Subnet numberId - public
Security number[]Group Ids - public
Subnet string - public
Subnet numberId - public
Vlan numberId - quote
Id number - Quote ID for Quote based provisioning
- resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Name string - The name of the resource
- resource
Status string - The status of the resource
- secondary
Ip string[]Addresses - secondary
Ip numberCount - ssh
Key number[]Ids - 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
- user
Metadata string
- block_
storage_ Sequence[float]ids - bulk_
vms Sequence[ComputeAutoscale Group Virtual Guest Member Template Bulk Vm] - cores float
- datacenter str
- datacenter_
choices Sequence[Mapping[str, str]] - The user provided datacenter options
- dedicated_
acct_ boolhost_ only - dedicated_
host_ floatid - dedicated_
host_ strname - disks Sequence[float]
- domain str
- evault float
- file_
storage_ Sequence[float]ids - flavor_
key_ strname - Flavor key name used to provision vm.
- hostname str
- hourly_
billing bool - image_
id float - ip_
address_ floatid - ip_
address_ floatid_ private - ipv4_
address str - ipv4_
address_ strprivate - ipv6_
address str - ipv6_
address_ floatid - ipv6_
enabled bool - ipv6_
static_ boolenabled - local_
disk bool - memory float
- network_
speed float - notes str
- os_
reference_ strcode - placement_
group_ floatid - The placement group id
- placement_
group_ strname - The placement group name
- post_
install_ strscript_ uri - private_
interface_ floatid - private_
network_ boolonly - private_
security_ Sequence[float]group_ ids - private_
subnet str - private_
subnet_ floatid - private_
vlan_ floatid - public_
bandwidth_ floatlimited - public_
bandwidth_ boolunlimited - public_
interface_ floatid - public_
ipv6_ strsubnet - public_
ipv6_ floatsubnet_ id - public_
security_ Sequence[float]group_ ids - public_
subnet str - public_
subnet_ floatid - public_
vlan_ floatid - quote_
id float - Quote ID for Quote based provisioning
- resource_
controller_ strurl - 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_ Sequence[str]addresses - secondary_
ip_ floatcount - ssh_
key_ Sequence[float]ids - 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
- block
Storage List<Number>Ids - bulk
Vms List<Property Map> - cores Number
- datacenter String
- datacenter
Choices List<Map<String>> - The user provided datacenter options
- dedicated
Acct BooleanHost Only - dedicated
Host NumberId - dedicated
Host StringName - disks List<Number>
- domain String
- evault Number
- file
Storage List<Number>Ids - flavor
Key StringName - Flavor key name used to provision vm.
- hostname String
- hourly
Billing Boolean - image
Id Number - ip
Address NumberId - ip
Address NumberId Private - ipv4Address String
- ipv4Address
Private String - ipv6Address String
- ipv6Address
Id Number - ipv6Enabled Boolean
- ipv6Static
Enabled Boolean - local
Disk Boolean - memory Number
- network
Speed Number - notes String
- os
Reference StringCode - placement
Group NumberId - The placement group id
- placement
Group StringName - The placement group name
- post
Install StringScript Uri - private
Interface NumberId - private
Network BooleanOnly - private
Security List<Number>Group Ids - private
Subnet String - private
Subnet NumberId - private
Vlan NumberId - public
Bandwidth NumberLimited - public
Bandwidth BooleanUnlimited - public
Interface NumberId - public
Ipv6Subnet String - public
Ipv6Subnet NumberId - public
Security List<Number>Group Ids - public
Subnet String - public
Subnet NumberId - public
Vlan NumberId - quote
Id Number - Quote ID for Quote based provisioning
- resource
Controller StringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Name String - The name of the resource
- resource
Status String - The status of the resource
- secondary
Ip List<String>Addresses - secondary
Ip NumberCount - ssh
Key List<Number>Ids - 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
- user
Metadata String
ComputeAutoscaleGroupVirtualGuestMemberTemplateBulkVm, ComputeAutoscaleGroupVirtualGuestMemberTemplateBulkVmArgs
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.