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";
import pulumi
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
});
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) {
}
}
{}
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());
}
}
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
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 string
- The unique name of the resource.
- args IsInstanceGroupManagerArgs
- 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 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 string
- The unique name of the resource.
- args IsInstanceGroupManagerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IsInstanceGroupManagerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
},
});
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: &ibm.IsInstanceGroupManagerTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
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());
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",
})
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",
},
});
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
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:
- Instance
Group string - The instance group ID where instance group manager is created.
- Aggregation
Window 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.
- Enable
Manager bool - Enable or disable the instance group manager. Default value is true.
- Is
Instance stringGroup Manager Id - (String) The ID in the combination of instance group ID and instance group manager ID.
- Manager
Type string - The type of instance group manager. Default value is
autoscale
. - Max
Membership doubleCount - The maximum number of members in a managed instance group.
- Min
Membership doubleCount - The minimum number of members in a managed instance group. Default value is
1
. - Name string
- The name of the instance group manager.
- Timeouts
Is
Instance Group Manager Timeouts
- Instance
Group string - The instance group ID where instance group manager is created.
- Aggregation
Window 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.
- Enable
Manager bool - Enable or disable the instance group manager. Default value is true.
- Is
Instance stringGroup Manager Id - (String) The ID in the combination of instance group ID and instance group manager ID.
- Manager
Type string - The type of instance group manager. Default value is
autoscale
. - Max
Membership float64Count - The maximum number of members in a managed instance group.
- Min
Membership float64Count - The minimum number of members in a managed instance group. Default value is
1
. - Name string
- The name of the instance group manager.
- Timeouts
Is
Instance Group Manager Timeouts Args
- instance
Group String - The instance group ID where instance group manager is created.
- aggregation
Window 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.
- enable
Manager Boolean - Enable or disable the instance group manager. Default value is true.
- is
Instance StringGroup Manager Id - (String) The ID in the combination of instance group ID and instance group manager ID.
- manager
Type String - The type of instance group manager. Default value is
autoscale
. - max
Membership DoubleCount - The maximum number of members in a managed instance group.
- min
Membership DoubleCount - The minimum number of members in a managed instance group. Default value is
1
. - name String
- The name of the instance group manager.
- timeouts
Is
Instance Group Manager Timeouts
- instance
Group string - The instance group ID where instance group manager is created.
- aggregation
Window 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.
- enable
Manager boolean - Enable or disable the instance group manager. Default value is true.
- is
Instance stringGroup Manager Id - (String) The ID in the combination of instance group ID and instance group manager ID.
- manager
Type string - The type of instance group manager. Default value is
autoscale
. - max
Membership numberCount - The maximum number of members in a managed instance group.
- min
Membership numberCount - The minimum number of members in a managed instance group. Default value is
1
. - name string
- The name of the instance group manager.
- timeouts
Is
Instance Group Manager Timeouts
- instance_
group 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_ strgroup_ manager_ id - (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_ floatcount - The maximum number of members in a managed instance group.
- min_
membership_ floatcount - The minimum number of members in a managed instance group. Default value is
1
. - name str
- The name of the instance group manager.
- timeouts
Is
Instance Group Manager Timeouts Args
- instance
Group String - The instance group ID where instance group manager is created.
- aggregation
Window 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.
- enable
Manager Boolean - Enable or disable the instance group manager. Default value is true.
- is
Instance StringGroup Manager Id - (String) The ID in the combination of instance group ID and instance group manager ID.
- manager
Type String - The type of instance group manager. Default value is
autoscale
. - max
Membership NumberCount - The maximum number of members in a managed instance group.
- min
Membership NumberCount - 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<Is
Instance Group Manager Action> - (String) List of actions of the instance group manager.
- Id string
- The provider-assigned unique ID for this managed resource.
- Manager
Id string - (String) The ID of the instance group manager.
- Policies List<string>
- (String) List of policies associated with the instance group manager.
- Actions
[]Is
Instance Group Manager Action Type - (String) List of actions of the instance group manager.
- Id string
- The provider-assigned unique ID for this managed resource.
- Manager
Id string - (String) The ID of the instance group manager.
- Policies []string
- (String) List of policies associated with the instance group manager.
- actions
List<Is
Instance Group Manager Action> - (String) List of actions of the instance group manager.
- id String
- The provider-assigned unique ID for this managed resource.
- manager
Id String - (String) The ID of the instance group manager.
- policies List<String>
- (String) List of policies associated with the instance group manager.
- actions
Is
Instance Group Manager Action[] - (String) List of actions of the instance group manager.
- id string
- The provider-assigned unique ID for this managed resource.
- manager
Id string - (String) The ID of the instance group manager.
- policies string[]
- (String) List of policies associated with the instance group manager.
- actions
Sequence[Is
Instance Group Manager Action] - (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.
- manager
Id 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
- 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.
- Actions
List<Is
Instance Group Manager Action> - (String) List of actions of the instance group manager.
- Aggregation
Window 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.
- Enable
Manager bool - Enable or disable the instance group manager. Default value is true.
- Instance
Group string - The instance group ID where instance group manager is created.
- Is
Instance stringGroup Manager Id - (String) The ID in the combination of instance group ID and instance group manager ID.
- Manager
Id string - (String) The ID of the instance group manager.
- Manager
Type string - The type of instance group manager. Default value is
autoscale
. - Max
Membership doubleCount - The maximum number of members in a managed instance group.
- Min
Membership doubleCount - 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
Is
Instance Group Manager Timeouts
- Actions
[]Is
Instance Group Manager Action Type Args - (String) List of actions of the instance group manager.
- Aggregation
Window 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.
- Enable
Manager bool - Enable or disable the instance group manager. Default value is true.
- Instance
Group string - The instance group ID where instance group manager is created.
- Is
Instance stringGroup Manager Id - (String) The ID in the combination of instance group ID and instance group manager ID.
- Manager
Id string - (String) The ID of the instance group manager.
- Manager
Type string - The type of instance group manager. Default value is
autoscale
. - Max
Membership float64Count - The maximum number of members in a managed instance group.
- Min
Membership float64Count - 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
Is
Instance Group Manager Timeouts Args
- actions
List<Is
Instance Group Manager Action> - (String) List of actions of the instance group manager.
- aggregation
Window 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.
- enable
Manager Boolean - Enable or disable the instance group manager. Default value is true.
- instance
Group String - The instance group ID where instance group manager is created.
- is
Instance StringGroup Manager Id - (String) The ID in the combination of instance group ID and instance group manager ID.
- manager
Id String - (String) The ID of the instance group manager.
- manager
Type String - The type of instance group manager. Default value is
autoscale
. - max
Membership DoubleCount - The maximum number of members in a managed instance group.
- min
Membership DoubleCount - 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
Is
Instance Group Manager Timeouts
- actions
Is
Instance Group Manager Action[] - (String) List of actions of the instance group manager.
- aggregation
Window 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.
- enable
Manager boolean - Enable or disable the instance group manager. Default value is true.
- instance
Group string - The instance group ID where instance group manager is created.
- is
Instance stringGroup Manager Id - (String) The ID in the combination of instance group ID and instance group manager ID.
- manager
Id string - (String) The ID of the instance group manager.
- manager
Type string - The type of instance group manager. Default value is
autoscale
. - max
Membership numberCount - The maximum number of members in a managed instance group.
- min
Membership numberCount - 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
Is
Instance Group Manager Timeouts
- actions
Sequence[Is
Instance Group Manager Action Args] - (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_ strgroup_ manager_ id - (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_ floatcount - The maximum number of members in a managed instance group.
- min_
membership_ floatcount - 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
Is
Instance Group Manager Timeouts Args
- actions List<Property Map>
- (String) List of actions of the instance group manager.
- aggregation
Window 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.
- enable
Manager Boolean - Enable or disable the instance group manager. Default value is true.
- instance
Group String - The instance group ID where instance group manager is created.
- is
Instance StringGroup Manager Id - (String) The ID in the combination of instance group ID and instance group manager ID.
- manager
Id String - (String) The ID of the instance group manager.
- manager
Type String - The type of instance group manager. Default value is
autoscale
. - max
Membership NumberCount - The maximum number of members in a managed instance group.
- min
Membership NumberCount - 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
- Instance
Group stringManager Action - Instance
Group stringManager Action Name - Resource
Type string
- Instance
Group stringManager Action - Instance
Group stringManager Action Name - Resource
Type string
- instance
Group StringManager Action - instance
Group StringManager Action Name - resource
Type String
- instance
Group stringManager Action - instance
Group stringManager Action Name - resource
Type string
- instance
Group StringManager Action - instance
Group StringManager Action Name - resource
Type String
IsInstanceGroupManagerTimeouts, IsInstanceGroupManagerTimeoutsArgs
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
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.