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

ibm.getIsInstanceGroupManager

Explore with Pulumi AI

Retrieve information about an instance group manager. For more information, about instance group manager, see managing an instance group.

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 can retrieve instance group manager info.

import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";

const example = ibm.getIsInstanceGroupManager({
    instanceGroup: ibm_is_instance_group.example.id,
    name: "example-instance-group-manager",
});
Copy
import pulumi
import pulumi_ibm as ibm

example = ibm.get_is_instance_group_manager(instance_group=ibm_is_instance_group["example"]["id"],
    name="example-instance-group-manager")
Copy
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.LookupIsInstanceGroupManager(ctx, &ibm.LookupIsInstanceGroupManagerArgs{
			InstanceGroup: ibm_is_instance_group.Example.Id,
			Name:          "example-instance-group-manager",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;

return await Deployment.RunAsync(() => 
{
    var example = Ibm.GetIsInstanceGroupManager.Invoke(new()
    {
        InstanceGroup = ibm_is_instance_group.Example.Id,
        Name = "example-instance-group-manager",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetIsInstanceGroupManagerArgs;
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) {
        final var example = IbmFunctions.getIsInstanceGroupManager(GetIsInstanceGroupManagerArgs.builder()
            .instanceGroup(ibm_is_instance_group.example().id())
            .name("example-instance-group-manager")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: ibm:getIsInstanceGroupManager
      arguments:
        instanceGroup: ${ibm_is_instance_group.example.id}
        name: example-instance-group-manager
Copy

Using getIsInstanceGroupManager

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getIsInstanceGroupManager(args: GetIsInstanceGroupManagerArgs, opts?: InvokeOptions): Promise<GetIsInstanceGroupManagerResult>
function getIsInstanceGroupManagerOutput(args: GetIsInstanceGroupManagerOutputArgs, opts?: InvokeOptions): Output<GetIsInstanceGroupManagerResult>
Copy
def get_is_instance_group_manager(id: Optional[str] = None,
                                  instance_group: Optional[str] = None,
                                  name: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetIsInstanceGroupManagerResult
def get_is_instance_group_manager_output(id: Optional[pulumi.Input[str]] = None,
                                  instance_group: Optional[pulumi.Input[str]] = None,
                                  name: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetIsInstanceGroupManagerResult]
Copy
func LookupIsInstanceGroupManager(ctx *Context, args *LookupIsInstanceGroupManagerArgs, opts ...InvokeOption) (*LookupIsInstanceGroupManagerResult, error)
func LookupIsInstanceGroupManagerOutput(ctx *Context, args *LookupIsInstanceGroupManagerOutputArgs, opts ...InvokeOption) LookupIsInstanceGroupManagerResultOutput
Copy

> Note: This function is named LookupIsInstanceGroupManager in the Go SDK.

public static class GetIsInstanceGroupManager 
{
    public static Task<GetIsInstanceGroupManagerResult> InvokeAsync(GetIsInstanceGroupManagerArgs args, InvokeOptions? opts = null)
    public static Output<GetIsInstanceGroupManagerResult> Invoke(GetIsInstanceGroupManagerInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetIsInstanceGroupManagerResult> getIsInstanceGroupManager(GetIsInstanceGroupManagerArgs args, InvokeOptions options)
public static Output<GetIsInstanceGroupManagerResult> getIsInstanceGroupManager(GetIsInstanceGroupManagerArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ibm:index/getIsInstanceGroupManager:getIsInstanceGroupManager
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

InstanceGroup This property is required. string
The instance group ID where instance group manager is created.
Name This property is required. string
The name of an instance group manager.
Id string
(String) ID is the the combination of instance group ID and instance group manager ID.
InstanceGroup This property is required. string
The instance group ID where instance group manager is created.
Name This property is required. string
The name of an instance group manager.
Id string
(String) ID is the the combination of instance group ID and instance group manager ID.
instanceGroup This property is required. String
The instance group ID where instance group manager is created.
name This property is required. String
The name of an instance group manager.
id String
(String) ID is the the combination of instance group ID and instance group manager ID.
instanceGroup This property is required. string
The instance group ID where instance group manager is created.
name This property is required. string
The name of an instance group manager.
id string
(String) ID is the the combination of instance group ID and instance group manager ID.
instance_group This property is required. str
The instance group ID where instance group manager is created.
name This property is required. str
The name of an instance group manager.
id str
(String) ID is the the combination of instance group ID and instance group manager ID.
instanceGroup This property is required. String
The instance group ID where instance group manager is created.
name This property is required. String
The name of an instance group manager.
id String
(String) ID is the the combination of instance group ID and instance group manager ID.

getIsInstanceGroupManager Result

The following output properties are available:

Actions List<GetIsInstanceGroupManagerAction>
(String) The list of actions of an instance group manager.
AggregationWindow double
(String) The time window in seconds to aggregate metrics prior to evaluation.
Cooldown double
(String) The duration of time in seconds to pause further scale actions after scaling has taken place.
Id string
(String) ID is the the combination of instance group ID and instance group manager ID.
InstanceGroup string
ManagerId string
(String) The instance group manager ID.
ManagerType string
(String) The type of instance group manager.
MaxMembershipCount double
(String) The maximum number of members in a managed instance group.
MinMembershipCount double
(String) The minimum number of members in a managed instance group.
Name string
Policies List<string>
(String) The list of policies associated with the instance group manager.
Actions []GetIsInstanceGroupManagerActionType
(String) The list of actions of an instance group manager.
AggregationWindow float64
(String) The time window in seconds to aggregate metrics prior to evaluation.
Cooldown float64
(String) The duration of time in seconds to pause further scale actions after scaling has taken place.
Id string
(String) ID is the the combination of instance group ID and instance group manager ID.
InstanceGroup string
ManagerId string
(String) The instance group manager ID.
ManagerType string
(String) The type of instance group manager.
MaxMembershipCount float64
(String) The maximum number of members in a managed instance group.
MinMembershipCount float64
(String) The minimum number of members in a managed instance group.
Name string
Policies []string
(String) The list of policies associated with the instance group manager.
actions List<GetIsInstanceGroupManagerAction>
(String) The list of actions of an instance group manager.
aggregationWindow Double
(String) The time window in seconds to aggregate metrics prior to evaluation.
cooldown Double
(String) The duration of time in seconds to pause further scale actions after scaling has taken place.
id String
(String) ID is the the combination of instance group ID and instance group manager ID.
instanceGroup String
managerId String
(String) The instance group manager ID.
managerType String
(String) The type of instance group manager.
maxMembershipCount Double
(String) The maximum number of members in a managed instance group.
minMembershipCount Double
(String) The minimum number of members in a managed instance group.
name String
policies List<String>
(String) The list of policies associated with the instance group manager.
actions GetIsInstanceGroupManagerAction[]
(String) The list of actions of an instance group manager.
aggregationWindow number
(String) The time window in seconds to aggregate metrics prior to evaluation.
cooldown number
(String) The duration of time in seconds to pause further scale actions after scaling has taken place.
id string
(String) ID is the the combination of instance group ID and instance group manager ID.
instanceGroup string
managerId string
(String) The instance group manager ID.
managerType string
(String) The type of instance group manager.
maxMembershipCount number
(String) The maximum number of members in a managed instance group.
minMembershipCount number
(String) The minimum number of members in a managed instance group.
name string
policies string[]
(String) The list of policies associated with the instance group manager.
actions Sequence[GetIsInstanceGroupManagerAction]
(String) The list of actions of an instance group manager.
aggregation_window float
(String) The time window in seconds to aggregate metrics prior to evaluation.
cooldown float
(String) The duration of time in seconds to pause further scale actions after scaling has taken place.
id str
(String) ID is the the combination of instance group ID and instance group manager ID.
instance_group str
manager_id str
(String) The instance group manager ID.
manager_type str
(String) The type of instance group manager.
max_membership_count float
(String) The maximum number of members in a managed instance group.
min_membership_count float
(String) The minimum number of members in a managed instance group.
name str
policies Sequence[str]
(String) The list of policies associated with the instance group manager.
actions List<Property Map>
(String) The list of actions of an instance group manager.
aggregationWindow Number
(String) The time window in seconds to aggregate metrics prior to evaluation.
cooldown Number
(String) The duration of time in seconds to pause further scale actions after scaling has taken place.
id String
(String) ID is the the combination of instance group ID and instance group manager ID.
instanceGroup String
managerId String
(String) The instance group manager ID.
managerType String
(String) The type of instance group manager.
maxMembershipCount Number
(String) The maximum number of members in a managed instance group.
minMembershipCount Number
(String) The minimum number of members in a managed instance group.
name String
policies List<String>
(String) The list of policies associated with the instance group manager.

Supporting Types

GetIsInstanceGroupManagerAction

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

Package Details

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