ibm.getIsInstanceGroupManagers
Retrieve information of an instance group managers information 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
In the following example, you can retrieve list of instance group managers information.
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = ibm.getIsInstanceGroupManagers({
instanceGroup: ibm_is_instance_group.example.id,
});
import pulumi
import pulumi_ibm as ibm
example = ibm.get_is_instance_group_managers(instance_group=ibm_is_instance_group["example"]["id"])
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.GetIsInstanceGroupManagers(ctx, &ibm.GetIsInstanceGroupManagersArgs{
InstanceGroup: ibm_is_instance_group.Example.Id,
}, nil)
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 example = Ibm.GetIsInstanceGroupManagers.Invoke(new()
{
InstanceGroup = ibm_is_instance_group.Example.Id,
});
});
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.GetIsInstanceGroupManagersArgs;
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.getIsInstanceGroupManagers(GetIsInstanceGroupManagersArgs.builder()
.instanceGroup(ibm_is_instance_group.example().id())
.build());
}
}
variables:
example:
fn::invoke:
function: ibm:getIsInstanceGroupManagers
arguments:
instanceGroup: ${ibm_is_instance_group.example.id}
Using getIsInstanceGroupManagers
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 getIsInstanceGroupManagers(args: GetIsInstanceGroupManagersArgs, opts?: InvokeOptions): Promise<GetIsInstanceGroupManagersResult>
function getIsInstanceGroupManagersOutput(args: GetIsInstanceGroupManagersOutputArgs, opts?: InvokeOptions): Output<GetIsInstanceGroupManagersResult>def get_is_instance_group_managers(id: Optional[str] = None,
instance_group: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIsInstanceGroupManagersResult
def get_is_instance_group_managers_output(id: Optional[pulumi.Input[str]] = None,
instance_group: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIsInstanceGroupManagersResult]func GetIsInstanceGroupManagers(ctx *Context, args *GetIsInstanceGroupManagersArgs, opts ...InvokeOption) (*GetIsInstanceGroupManagersResult, error)
func GetIsInstanceGroupManagersOutput(ctx *Context, args *GetIsInstanceGroupManagersOutputArgs, opts ...InvokeOption) GetIsInstanceGroupManagersResultOutput> Note: This function is named GetIsInstanceGroupManagers in the Go SDK.
public static class GetIsInstanceGroupManagers
{
public static Task<GetIsInstanceGroupManagersResult> InvokeAsync(GetIsInstanceGroupManagersArgs args, InvokeOptions? opts = null)
public static Output<GetIsInstanceGroupManagersResult> Invoke(GetIsInstanceGroupManagersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIsInstanceGroupManagersResult> getIsInstanceGroupManagers(GetIsInstanceGroupManagersArgs args, InvokeOptions options)
public static Output<GetIsInstanceGroupManagersResult> getIsInstanceGroupManagers(GetIsInstanceGroupManagersArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIsInstanceGroupManagers:getIsInstanceGroupManagers
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Group string - The instance group ID where the instance group manager is created.
- Id string
- (Object) This ID is the combination of instance group ID, and instance group manager ID.
- Instance
Group string - The instance group ID where the instance group manager is created.
- Id string
- (Object) This ID is the combination of instance group ID, and instance group manager ID.
- instance
Group String - The instance group ID where the instance group manager is created.
- id String
- (Object) This ID is the combination of instance group ID, and instance group manager ID.
- instance
Group string - The instance group ID where the instance group manager is created.
- id string
- (Object) This ID is the combination of instance group ID, and instance group manager ID.
- instance_
group str - The instance group ID where the instance group manager is created.
- id str
- (Object) This ID is the combination of instance group ID, and instance group manager ID.
- instance
Group String - The instance group ID where the instance group manager is created.
- id String
- (Object) This ID is the combination of instance group ID, and instance group manager ID.
getIsInstanceGroupManagers Result
The following output properties are available:
- Id string
- (Object) This ID is the combination of instance group ID, and instance group manager ID.
- Instance
Group string - Instance
Group List<GetManagers Is Instance Group Managers Instance Group Manager> - (List) Nested block with list of instance manager properties.
- Id string
- (Object) This ID is the combination of instance group ID, and instance group manager ID.
- Instance
Group string - Instance
Group []GetManagers Is Instance Group Managers Instance Group Manager - (List) Nested block with list of instance manager properties.
- id String
- (Object) This ID is the combination of instance group ID, and instance group manager ID.
- instance
Group String - instance
Group List<GetManagers Is Instance Group Managers Instance Group Manager> - (List) Nested block with list of instance manager properties.
- id string
- (Object) This ID is the combination of instance group ID, and instance group manager ID.
- instance
Group string - instance
Group GetManagers Is Instance Group Managers Instance Group Manager[] - (List) Nested block with list of instance manager properties.
- id str
- (Object) This ID is the combination of instance group ID, and instance group manager ID.
- instance_
group str - instance_
group_ Sequence[Getmanagers Is Instance Group Managers Instance Group Manager] - (List) Nested block with list of instance manager properties.
- id String
- (Object) This ID is the combination of instance group ID, and instance group manager ID.
- instance
Group String - instance
Group List<Property Map>Managers - (List) Nested block with list of instance manager properties.
Supporting Types
GetIsInstanceGroupManagersInstanceGroupManager
- Actions
List<Get
Is Instance Group Managers Instance Group Manager Action> - (String) The list of actions of an instance group manager.
- Aggregation
Window double - (String) The time window in seconds to aggregate metrics prior to evaluation.
- Cooldown double
- (Timestamp) The duration of time in seconds to pause further scale actions after scaling has taken place.
- Id string
- (Object) This ID is the combination of instance group ID, and instance group manager ID.
- Manager
Id string - (String) The instance group manager ID.
- Manager
Type string - (String) The type of an instance group manager.
- Max
Membership doubleCount - (String) The maximum number of members in a managed instance group.
- Min
Membership doubleCount - (String) The minimum number of members in a managed instance group.
- Name string
- Policies List<string>
- (String) List of policies associated with the instance group manager.
- Actions
[]Get
Is Instance Group Managers Instance Group Manager Action - (String) The list of actions of an instance group manager.
- Aggregation
Window float64 - (String) The time window in seconds to aggregate metrics prior to evaluation.
- Cooldown float64
- (Timestamp) The duration of time in seconds to pause further scale actions after scaling has taken place.
- Id string
- (Object) This ID is the combination of instance group ID, and instance group manager ID.
- Manager
Id string - (String) The instance group manager ID.
- Manager
Type string - (String) The type of an instance group manager.
- Max
Membership float64Count - (String) The maximum number of members in a managed instance group.
- Min
Membership float64Count - (String) The minimum number of members in a managed instance group.
- Name string
- Policies []string
- (String) List of policies associated with the instance group manager.
- actions
List<Get
Is Instance Group Managers Instance Group Manager Action> - (String) The list of actions of an instance group manager.
- aggregation
Window Double - (String) The time window in seconds to aggregate metrics prior to evaluation.
- cooldown Double
- (Timestamp) The duration of time in seconds to pause further scale actions after scaling has taken place.
- id String
- (Object) This ID is the combination of instance group ID, and instance group manager ID.
- manager
Id String - (String) The instance group manager ID.
- manager
Type String - (String) The type of an instance group manager.
- max
Membership DoubleCount - (String) The maximum number of members in a managed instance group.
- min
Membership DoubleCount - (String) The minimum number of members in a managed instance group.
- name String
- policies List<String>
- (String) List of policies associated with the instance group manager.
- actions
Get
Is Instance Group Managers Instance Group Manager Action[] - (String) The list of actions of an instance group manager.
- aggregation
Window number - (String) The time window in seconds to aggregate metrics prior to evaluation.
- cooldown number
- (Timestamp) The duration of time in seconds to pause further scale actions after scaling has taken place.
- id string
- (Object) This ID is the combination of instance group ID, and instance group manager ID.
- manager
Id string - (String) The instance group manager ID.
- manager
Type string - (String) The type of an instance group manager.
- max
Membership numberCount - (String) The maximum number of members in a managed instance group.
- min
Membership numberCount - (String) The minimum number of members in a managed instance group.
- name string
- policies string[]
- (String) List of policies associated with the instance group manager.
- actions
Sequence[Get
Is Instance Group Managers Instance Group Manager Action] - (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
- (Timestamp) The duration of time in seconds to pause further scale actions after scaling has taken place.
- id str
- (Object) This ID is the combination of instance group ID, and instance group manager ID.
- manager_
id str - (String) The instance group manager ID.
- manager_
type str - (String) The type of an instance group manager.
- max_
membership_ floatcount - (String) The maximum number of members in a managed instance group.
- min_
membership_ floatcount - (String) The minimum number of members in a managed instance group.
- name str
- policies Sequence[str]
- (String) List of policies associated with the instance group manager.
- actions List<Property Map>
- (String) The list of actions of an instance group manager.
- aggregation
Window Number - (String) The time window in seconds to aggregate metrics prior to evaluation.
- cooldown Number
- (Timestamp) The duration of time in seconds to pause further scale actions after scaling has taken place.
- id String
- (Object) This ID is the combination of instance group ID, and instance group manager ID.
- manager
Id String - (String) The instance group manager ID.
- manager
Type String - (String) The type of an instance group manager.
- max
Membership NumberCount - (String) The maximum number of members in a managed instance group.
- min
Membership NumberCount - (String) The minimum number of members in a managed instance group.
- name String
- policies List<String>
- (String) List of policies associated with the instance group manager.
GetIsInstanceGroupManagersInstanceGroupManagerAction
- 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
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
