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

ibm.IsInstanceGroupManager

Explore with Pulumi AI

Create, update, or delete an instance group manager on VPC of an instance group. For more information, about instance group manager, see creating an instance group for auto scaling.

Note: VPC infrastructure services are a regional specific based endpoint, by default targets to us-south. Please make sure to target right region in the provider block as shown in the provider.tf file, if VPC service is created in region other than us-south.

provider.tf

import * as pulumi from "@pulumi/pulumi";
Copy
import pulumi
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() => 
{
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
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) {
    }
}
Copy
{}
Copy

Example Usage

The following example creates an instance group manager.

Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsVpc;
import com.pulumi.ibm.IsSubnet;
import com.pulumi.ibm.IsSubnetArgs;
import com.pulumi.ibm.IsSshKey;
import com.pulumi.ibm.IsSshKeyArgs;
import com.pulumi.ibm.IsInstanceTemplate;
import com.pulumi.ibm.IsInstanceTemplateArgs;
import com.pulumi.ibm.inputs.IsInstanceTemplatePrimaryNetworkInterfaceArgs;
import com.pulumi.ibm.IsInstanceGroup;
import com.pulumi.ibm.IsInstanceGroupArgs;
import com.pulumi.ibm.IsInstanceGroupManager;
import com.pulumi.ibm.IsInstanceGroupManagerArgs;
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 exampleIsVpc = new IsVpc("exampleIsVpc");

        var exampleIsSubnet = new IsSubnet("exampleIsSubnet", IsSubnetArgs.builder()
            .vpc(exampleIsVpc.isVpcId())
            .zone("us-south-2")
            .ipv4CidrBlock("10.240.64.0/28")
            .build());

        var exampleIsSshKey = new IsSshKey("exampleIsSshKey", IsSshKeyArgs.builder()
            .publicKey("SSH_KEY")
            .build());

        var exampleIsInstanceTemplate = new IsInstanceTemplate("exampleIsInstanceTemplate", IsInstanceTemplateArgs.builder()
            .image(ibm_is_image.example().id())
            .profile("bx2-8x32")
            .primaryNetworkInterface(IsInstanceTemplatePrimaryNetworkInterfaceArgs.builder()
                .subnet(exampleIsSubnet.isSubnetId())
                .build())
            .vpc(exampleIsVpc.isVpcId())
            .zone("us-south-2")
            .keys(exampleIsSshKey.isSshKeyId())
            .build());

        var exampleIsInstanceGroup = new IsInstanceGroup("exampleIsInstanceGroup", IsInstanceGroupArgs.builder()
            .instanceTemplate(exampleIsInstanceTemplate.isInstanceTemplateId())
            .instanceCount(2)
            .subnets(exampleIsSubnet.isSubnetId())
            .timeouts(IsInstanceGroupTimeoutsArgs.builder()
                .create("15m")
                .delete("15m")
                .update("10m")
                .build())
            .build());

        var exampleIsInstanceGroupManager = new IsInstanceGroupManager("exampleIsInstanceGroupManager", IsInstanceGroupManagerArgs.builder()
            .aggregationWindow(120)
            .instanceGroup(exampleIsInstanceGroup.isInstanceGroupId())
            .cooldown(300)
            .managerType("autoscale")
            .enableManager(true)
            .maxMembershipCount(2)
            .minMembershipCount(1)
            .build());

        var exampleIndex_isInstanceGroupManagerIsInstanceGroupManager = new IsInstanceGroupManager("exampleIndex/isInstanceGroupManagerIsInstanceGroupManager", IsInstanceGroupManagerArgs.builder()
            .instanceGroup(exampleIsInstanceGroup.isInstanceGroupId())
            .managerType("scheduled")
            .enableManager(true)
            .build());

    }
}
Copy
resources:
  exampleIsVpc:
    type: ibm:IsVpc
  exampleIsSubnet:
    type: ibm:IsSubnet
    properties:
      vpc: ${exampleIsVpc.isVpcId}
      zone: us-south-2
      ipv4CidrBlock: 10.240.64.0/28
  exampleIsSshKey:
    type: ibm:IsSshKey
    properties:
      publicKey: SSH_KEY
  exampleIsInstanceTemplate:
    type: ibm:IsInstanceTemplate
    properties:
      image: ${ibm_is_image.example.id}
      profile: bx2-8x32
      primaryNetworkInterface:
        subnet: ${exampleIsSubnet.isSubnetId}
      vpc: ${exampleIsVpc.isVpcId}
      zone: us-south-2
      keys:
        - ${exampleIsSshKey.isSshKeyId}
  exampleIsInstanceGroup:
    type: ibm:IsInstanceGroup
    properties:
      instanceTemplate: ${exampleIsInstanceTemplate.isInstanceTemplateId}
      instanceCount: 2
      subnets:
        - ${exampleIsSubnet.isSubnetId}
      # User can configure timeouts
      timeouts:
        - create: 15m
          delete: 15m
          update: 10m
  exampleIsInstanceGroupManager:
    type: ibm:IsInstanceGroupManager
    properties:
      aggregationWindow: 120
      instanceGroup: ${exampleIsInstanceGroup.isInstanceGroupId}
      cooldown: 300
      managerType: autoscale
      enableManager: true
      maxMembershipCount: 2
      minMembershipCount: 1
  exampleIndex/isInstanceGroupManagerIsInstanceGroupManager:
    type: ibm:IsInstanceGroupManager
    properties:
      instanceGroup: ${exampleIsInstanceGroup.isInstanceGroupId}
      managerType: scheduled
      enableManager: true
Copy

Create IsInstanceGroupManager Resource

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

Constructor syntax

new IsInstanceGroupManager(name: string, args: IsInstanceGroupManagerArgs, opts?: CustomResourceOptions);
@overload
def IsInstanceGroupManager(resource_name: str,
                           args: IsInstanceGroupManagerArgs,
                           opts: Optional[ResourceOptions] = None)

@overload
def IsInstanceGroupManager(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           instance_group: Optional[str] = None,
                           aggregation_window: Optional[float] = None,
                           cooldown: Optional[float] = None,
                           enable_manager: Optional[bool] = None,
                           is_instance_group_manager_id: Optional[str] = None,
                           manager_type: Optional[str] = None,
                           max_membership_count: Optional[float] = None,
                           min_membership_count: Optional[float] = None,
                           name: Optional[str] = None,
                           timeouts: Optional[IsInstanceGroupManagerTimeoutsArgs] = None)
func NewIsInstanceGroupManager(ctx *Context, name string, args IsInstanceGroupManagerArgs, opts ...ResourceOption) (*IsInstanceGroupManager, error)
public IsInstanceGroupManager(string name, IsInstanceGroupManagerArgs args, CustomResourceOptions? opts = null)
public IsInstanceGroupManager(String name, IsInstanceGroupManagerArgs args)
public IsInstanceGroupManager(String name, IsInstanceGroupManagerArgs args, CustomResourceOptions options)
type: ibm:IsInstanceGroupManager
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. IsInstanceGroupManagerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. IsInstanceGroupManagerArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. IsInstanceGroupManagerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IsInstanceGroupManagerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IsInstanceGroupManagerArgs
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 isInstanceGroupManagerResource = new Ibm.IsInstanceGroupManager("isInstanceGroupManagerResource", new()
{
    InstanceGroup = "string",
    AggregationWindow = 0,
    Cooldown = 0,
    EnableManager = false,
    IsInstanceGroupManagerId = "string",
    ManagerType = "string",
    MaxMembershipCount = 0,
    MinMembershipCount = 0,
    Name = "string",
    Timeouts = new Ibm.Inputs.IsInstanceGroupManagerTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Update = "string",
    },
});
Copy
example, err := ibm.NewIsInstanceGroupManager(ctx, "isInstanceGroupManagerResource", &ibm.IsInstanceGroupManagerArgs{
InstanceGroup: pulumi.String("string"),
AggregationWindow: pulumi.Float64(0),
Cooldown: pulumi.Float64(0),
EnableManager: pulumi.Bool(false),
IsInstanceGroupManagerId: pulumi.String("string"),
ManagerType: pulumi.String("string"),
MaxMembershipCount: pulumi.Float64(0),
MinMembershipCount: pulumi.Float64(0),
Name: pulumi.String("string"),
Timeouts: &.IsInstanceGroupManagerTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
Copy
var isInstanceGroupManagerResource = new IsInstanceGroupManager("isInstanceGroupManagerResource", IsInstanceGroupManagerArgs.builder()
    .instanceGroup("string")
    .aggregationWindow(0)
    .cooldown(0)
    .enableManager(false)
    .isInstanceGroupManagerId("string")
    .managerType("string")
    .maxMembershipCount(0)
    .minMembershipCount(0)
    .name("string")
    .timeouts(IsInstanceGroupManagerTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .update("string")
        .build())
    .build());
Copy
is_instance_group_manager_resource = ibm.IsInstanceGroupManager("isInstanceGroupManagerResource",
    instance_group="string",
    aggregation_window=0,
    cooldown=0,
    enable_manager=False,
    is_instance_group_manager_id="string",
    manager_type="string",
    max_membership_count=0,
    min_membership_count=0,
    name="string",
    timeouts={
        "create": "string",
        "delete": "string",
        "update": "string",
    })
Copy
const isInstanceGroupManagerResource = new ibm.IsInstanceGroupManager("isInstanceGroupManagerResource", {
    instanceGroup: "string",
    aggregationWindow: 0,
    cooldown: 0,
    enableManager: false,
    isInstanceGroupManagerId: "string",
    managerType: "string",
    maxMembershipCount: 0,
    minMembershipCount: 0,
    name: "string",
    timeouts: {
        create: "string",
        "delete": "string",
        update: "string",
    },
});
Copy
type: ibm:IsInstanceGroupManager
properties:
    aggregationWindow: 0
    cooldown: 0
    enableManager: false
    instanceGroup: string
    isInstanceGroupManagerId: string
    managerType: string
    maxMembershipCount: 0
    minMembershipCount: 0
    name: string
    timeouts:
        create: string
        delete: string
        update: string
Copy

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

InstanceGroup This property is required. string
The instance group ID where instance group manager is created.
AggregationWindow double
The time window in seconds to aggregate metrics prior to evaluation.
Cooldown double
The duration of time in seconds to pause further scale actions after scaling has taken place.
EnableManager bool
Enable or disable the instance group manager. Default value is true.
IsInstanceGroupManagerId string
(String) The ID in the combination of instance group ID and instance group manager ID.
ManagerType string
The type of instance group manager. Default value is autoscale.
MaxMembershipCount double
The maximum number of members in a managed instance group.
MinMembershipCount double
The minimum number of members in a managed instance group. Default value is 1.
Name string
The name of the instance group manager.
Timeouts IsInstanceGroupManagerTimeouts
InstanceGroup This property is required. string
The instance group ID where instance group manager is created.
AggregationWindow float64
The time window in seconds to aggregate metrics prior to evaluation.
Cooldown float64
The duration of time in seconds to pause further scale actions after scaling has taken place.
EnableManager bool
Enable or disable the instance group manager. Default value is true.
IsInstanceGroupManagerId string
(String) The ID in the combination of instance group ID and instance group manager ID.
ManagerType string
The type of instance group manager. Default value is autoscale.
MaxMembershipCount float64
The maximum number of members in a managed instance group.
MinMembershipCount float64
The minimum number of members in a managed instance group. Default value is 1.
Name string
The name of the instance group manager.
Timeouts IsInstanceGroupManagerTimeoutsArgs
instanceGroup This property is required. String
The instance group ID where instance group manager is created.
aggregationWindow Double
The time window in seconds to aggregate metrics prior to evaluation.
cooldown Double
The duration of time in seconds to pause further scale actions after scaling has taken place.
enableManager Boolean
Enable or disable the instance group manager. Default value is true.
isInstanceGroupManagerId String
(String) The ID in the combination of instance group ID and instance group manager ID.
managerType String
The type of instance group manager. Default value is autoscale.
maxMembershipCount Double
The maximum number of members in a managed instance group.
minMembershipCount Double
The minimum number of members in a managed instance group. Default value is 1.
name String
The name of the instance group manager.
timeouts IsInstanceGroupManagerTimeouts
instanceGroup This property is required. string
The instance group ID where instance group manager is created.
aggregationWindow number
The time window in seconds to aggregate metrics prior to evaluation.
cooldown number
The duration of time in seconds to pause further scale actions after scaling has taken place.
enableManager boolean
Enable or disable the instance group manager. Default value is true.
isInstanceGroupManagerId string
(String) The ID in the combination of instance group ID and instance group manager ID.
managerType string
The type of instance group manager. Default value is autoscale.
maxMembershipCount number
The maximum number of members in a managed instance group.
minMembershipCount number
The minimum number of members in a managed instance group. Default value is 1.
name string
The name of the instance group manager.
timeouts IsInstanceGroupManagerTimeouts
instance_group This property is required. str
The instance group ID where instance group manager is created.
aggregation_window float
The time window in seconds to aggregate metrics prior to evaluation.
cooldown float
The duration of time in seconds to pause further scale actions after scaling has taken place.
enable_manager bool
Enable or disable the instance group manager. Default value is true.
is_instance_group_manager_id str
(String) The ID in the combination of instance group ID and instance group manager ID.
manager_type str
The type of instance group manager. Default value is autoscale.
max_membership_count float
The maximum number of members in a managed instance group.
min_membership_count float
The minimum number of members in a managed instance group. Default value is 1.
name str
The name of the instance group manager.
timeouts IsInstanceGroupManagerTimeoutsArgs
instanceGroup This property is required. String
The instance group ID where instance group manager is created.
aggregationWindow Number
The time window in seconds to aggregate metrics prior to evaluation.
cooldown Number
The duration of time in seconds to pause further scale actions after scaling has taken place.
enableManager Boolean
Enable or disable the instance group manager. Default value is true.
isInstanceGroupManagerId String
(String) The ID in the combination of instance group ID and instance group manager ID.
managerType String
The type of instance group manager. Default value is autoscale.
maxMembershipCount Number
The maximum number of members in a managed instance group.
minMembershipCount Number
The minimum number of members in a managed instance group. Default value is 1.
name String
The name of the instance group manager.
timeouts Property Map

Outputs

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

Actions List<IsInstanceGroupManagerAction>
(String) List of actions of the instance group manager.
Id string
The provider-assigned unique ID for this managed resource.
ManagerId string
(String) The ID of the instance group manager.
Policies List<string>
(String) List of policies associated with the instance group manager.
Actions []IsInstanceGroupManagerActionType
(String) List of actions of the instance group manager.
Id string
The provider-assigned unique ID for this managed resource.
ManagerId string
(String) The ID of the instance group manager.
Policies []string
(String) List of policies associated with the instance group manager.
actions List<IsInstanceGroupManagerAction>
(String) List of actions of the instance group manager.
id String
The provider-assigned unique ID for this managed resource.
managerId String
(String) The ID of the instance group manager.
policies List<String>
(String) List of policies associated with the instance group manager.
actions IsInstanceGroupManagerAction[]
(String) List of actions of the instance group manager.
id string
The provider-assigned unique ID for this managed resource.
managerId string
(String) The ID of the instance group manager.
policies string[]
(String) List of policies associated with the instance group manager.
actions Sequence[IsInstanceGroupManagerAction]
(String) List of actions of the instance group manager.
id str
The provider-assigned unique ID for this managed resource.
manager_id str
(String) The ID of the instance group manager.
policies Sequence[str]
(String) List of policies associated with the instance group manager.
actions List<Property Map>
(String) List of actions of the instance group manager.
id String
The provider-assigned unique ID for this managed resource.
managerId String
(String) The ID of the instance group manager.
policies List<String>
(String) List of policies associated with the instance group manager.

Look up Existing IsInstanceGroupManager Resource

Get an existing IsInstanceGroupManager 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?: IsInstanceGroupManagerState, opts?: CustomResourceOptions): IsInstanceGroupManager
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        actions: Optional[Sequence[IsInstanceGroupManagerActionArgs]] = None,
        aggregation_window: Optional[float] = None,
        cooldown: Optional[float] = None,
        enable_manager: Optional[bool] = None,
        instance_group: Optional[str] = None,
        is_instance_group_manager_id: Optional[str] = None,
        manager_id: Optional[str] = None,
        manager_type: Optional[str] = None,
        max_membership_count: Optional[float] = None,
        min_membership_count: Optional[float] = None,
        name: Optional[str] = None,
        policies: Optional[Sequence[str]] = None,
        timeouts: Optional[IsInstanceGroupManagerTimeoutsArgs] = None) -> IsInstanceGroupManager
func GetIsInstanceGroupManager(ctx *Context, name string, id IDInput, state *IsInstanceGroupManagerState, opts ...ResourceOption) (*IsInstanceGroupManager, error)
public static IsInstanceGroupManager Get(string name, Input<string> id, IsInstanceGroupManagerState? state, CustomResourceOptions? opts = null)
public static IsInstanceGroupManager get(String name, Output<String> id, IsInstanceGroupManagerState state, CustomResourceOptions options)
resources:  _:    type: ibm:IsInstanceGroupManager    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Actions List<IsInstanceGroupManagerAction>
(String) List of actions of the instance group manager.
AggregationWindow double
The time window in seconds to aggregate metrics prior to evaluation.
Cooldown double
The duration of time in seconds to pause further scale actions after scaling has taken place.
EnableManager bool
Enable or disable the instance group manager. Default value is true.
InstanceGroup string
The instance group ID where instance group manager is created.
IsInstanceGroupManagerId string
(String) The ID in the combination of instance group ID and instance group manager ID.
ManagerId string
(String) The ID of the instance group manager.
ManagerType string
The type of instance group manager. Default value is autoscale.
MaxMembershipCount double
The maximum number of members in a managed instance group.
MinMembershipCount double
The minimum number of members in a managed instance group. Default value is 1.
Name string
The name of the instance group manager.
Policies List<string>
(String) List of policies associated with the instance group manager.
Timeouts IsInstanceGroupManagerTimeouts
Actions []IsInstanceGroupManagerActionTypeArgs
(String) List of actions of the instance group manager.
AggregationWindow float64
The time window in seconds to aggregate metrics prior to evaluation.
Cooldown float64
The duration of time in seconds to pause further scale actions after scaling has taken place.
EnableManager bool
Enable or disable the instance group manager. Default value is true.
InstanceGroup string
The instance group ID where instance group manager is created.
IsInstanceGroupManagerId string
(String) The ID in the combination of instance group ID and instance group manager ID.
ManagerId string
(String) The ID of the instance group manager.
ManagerType string
The type of instance group manager. Default value is autoscale.
MaxMembershipCount float64
The maximum number of members in a managed instance group.
MinMembershipCount float64
The minimum number of members in a managed instance group. Default value is 1.
Name string
The name of the instance group manager.
Policies []string
(String) List of policies associated with the instance group manager.
Timeouts IsInstanceGroupManagerTimeoutsArgs
actions List<IsInstanceGroupManagerAction>
(String) List of actions of the instance group manager.
aggregationWindow Double
The time window in seconds to aggregate metrics prior to evaluation.
cooldown Double
The duration of time in seconds to pause further scale actions after scaling has taken place.
enableManager Boolean
Enable or disable the instance group manager. Default value is true.
instanceGroup String
The instance group ID where instance group manager is created.
isInstanceGroupManagerId String
(String) The ID in the combination of instance group ID and instance group manager ID.
managerId String
(String) The ID of the instance group manager.
managerType String
The type of instance group manager. Default value is autoscale.
maxMembershipCount Double
The maximum number of members in a managed instance group.
minMembershipCount Double
The minimum number of members in a managed instance group. Default value is 1.
name String
The name of the instance group manager.
policies List<String>
(String) List of policies associated with the instance group manager.
timeouts IsInstanceGroupManagerTimeouts
actions IsInstanceGroupManagerAction[]
(String) List of actions of the instance group manager.
aggregationWindow number
The time window in seconds to aggregate metrics prior to evaluation.
cooldown number
The duration of time in seconds to pause further scale actions after scaling has taken place.
enableManager boolean
Enable or disable the instance group manager. Default value is true.
instanceGroup string
The instance group ID where instance group manager is created.
isInstanceGroupManagerId string
(String) The ID in the combination of instance group ID and instance group manager ID.
managerId string
(String) The ID of the instance group manager.
managerType string
The type of instance group manager. Default value is autoscale.
maxMembershipCount number
The maximum number of members in a managed instance group.
minMembershipCount number
The minimum number of members in a managed instance group. Default value is 1.
name string
The name of the instance group manager.
policies string[]
(String) List of policies associated with the instance group manager.
timeouts IsInstanceGroupManagerTimeouts
actions Sequence[IsInstanceGroupManagerActionArgs]
(String) List of actions of the instance group manager.
aggregation_window float
The time window in seconds to aggregate metrics prior to evaluation.
cooldown float
The duration of time in seconds to pause further scale actions after scaling has taken place.
enable_manager bool
Enable or disable the instance group manager. Default value is true.
instance_group str
The instance group ID where instance group manager is created.
is_instance_group_manager_id str
(String) The ID in the combination of instance group ID and instance group manager ID.
manager_id str
(String) The ID of the instance group manager.
manager_type str
The type of instance group manager. Default value is autoscale.
max_membership_count float
The maximum number of members in a managed instance group.
min_membership_count float
The minimum number of members in a managed instance group. Default value is 1.
name str
The name of the instance group manager.
policies Sequence[str]
(String) List of policies associated with the instance group manager.
timeouts IsInstanceGroupManagerTimeoutsArgs
actions List<Property Map>
(String) List of actions of the instance group manager.
aggregationWindow Number
The time window in seconds to aggregate metrics prior to evaluation.
cooldown Number
The duration of time in seconds to pause further scale actions after scaling has taken place.
enableManager Boolean
Enable or disable the instance group manager. Default value is true.
instanceGroup String
The instance group ID where instance group manager is created.
isInstanceGroupManagerId String
(String) The ID in the combination of instance group ID and instance group manager ID.
managerId String
(String) The ID of the instance group manager.
managerType String
The type of instance group manager. Default value is autoscale.
maxMembershipCount Number
The maximum number of members in a managed instance group.
minMembershipCount Number
The minimum number of members in a managed instance group. Default value is 1.
name String
The name of the instance group manager.
policies List<String>
(String) List of policies associated with the instance group manager.
timeouts Property Map

Supporting Types

IsInstanceGroupManagerAction
, IsInstanceGroupManagerActionArgs

InstanceGroupManagerAction This property is required. string
InstanceGroupManagerActionName This property is required. string
ResourceType This property is required. string
InstanceGroupManagerAction This property is required. string
InstanceGroupManagerActionName This property is required. string
ResourceType This property is required. string
instanceGroupManagerAction This property is required. String
instanceGroupManagerActionName This property is required. String
resourceType This property is required. String
instanceGroupManagerAction This property is required. string
instanceGroupManagerActionName This property is required. string
resourceType This property is required. string
instance_group_manager_action This property is required. str
instance_group_manager_action_name This property is required. str
resource_type This property is required. str
instanceGroupManagerAction This property is required. String
instanceGroupManagerActionName This property is required. String
resourceType This property is required. String

IsInstanceGroupManagerTimeouts
, IsInstanceGroupManagerTimeoutsArgs

Create string
Delete string
Update string
Create string
Delete string
Update string
create String
delete String
update String
create string
delete string
update string
create str
delete str
update str
create String
delete String
update String

Import

The ibm_is_instance_group_manager resource can be imported by using the instance group ID and instance group manager ID.

Example

$ pulumi import ibm:index/isInstanceGroupManager:IsInstanceGroupManager manager r006-eea6b0b7-babd-47a8-82c5-ad73d1e10bef/r006-160b9a68-58c8-4ec3-84b0-ad553c111115a
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
ibm ibm-cloud/terraform-provider-ibm
License
Notes
This Pulumi package is based on the ibm Terraform Provider.