ibm.getIsInstanceGroupManagerActions
Explore with Pulumi AI
Retrieve information about an instance group manager. For more information, about VPC instance group manager action, see managing dedicated hosts and groups.
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
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = ibm.getIsInstanceGroupManagerActions({
instanceGroup: ibm_is_instance_group.example.id,
instanceGroupManager: ibm_is_instance_group_manager.example.manager_id,
});
import pulumi
import pulumi_ibm as ibm
example = ibm.get_is_instance_group_manager_actions(instance_group=ibm_is_instance_group["example"]["id"],
instance_group_manager=ibm_is_instance_group_manager["example"]["manager_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.GetIsInstanceGroupManagerActions(ctx, &ibm.GetIsInstanceGroupManagerActionsArgs{
InstanceGroup: ibm_is_instance_group.Example.Id,
InstanceGroupManager: ibm_is_instance_group_manager.Example.Manager_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.GetIsInstanceGroupManagerActions.Invoke(new()
{
InstanceGroup = ibm_is_instance_group.Example.Id,
InstanceGroupManager = ibm_is_instance_group_manager.Example.Manager_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.GetIsInstanceGroupManagerActionsArgs;
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.getIsInstanceGroupManagerActions(GetIsInstanceGroupManagerActionsArgs.builder()
.instanceGroup(ibm_is_instance_group.example().id())
.instanceGroupManager(ibm_is_instance_group_manager.example().manager_id())
.build());
}
}
variables:
example:
fn::invoke:
function: ibm:getIsInstanceGroupManagerActions
arguments:
instanceGroup: ${ibm_is_instance_group.example.id}
instanceGroupManager: ${ibm_is_instance_group_manager.example.manager_id}
Using getIsInstanceGroupManagerActions
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 getIsInstanceGroupManagerActions(args: GetIsInstanceGroupManagerActionsArgs, opts?: InvokeOptions): Promise<GetIsInstanceGroupManagerActionsResult>
function getIsInstanceGroupManagerActionsOutput(args: GetIsInstanceGroupManagerActionsOutputArgs, opts?: InvokeOptions): Output<GetIsInstanceGroupManagerActionsResult>
def get_is_instance_group_manager_actions(id: Optional[str] = None,
instance_group: Optional[str] = None,
instance_group_manager: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIsInstanceGroupManagerActionsResult
def get_is_instance_group_manager_actions_output(id: Optional[pulumi.Input[str]] = None,
instance_group: Optional[pulumi.Input[str]] = None,
instance_group_manager: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIsInstanceGroupManagerActionsResult]
func GetIsInstanceGroupManagerActions(ctx *Context, args *GetIsInstanceGroupManagerActionsArgs, opts ...InvokeOption) (*GetIsInstanceGroupManagerActionsResult, error)
func GetIsInstanceGroupManagerActionsOutput(ctx *Context, args *GetIsInstanceGroupManagerActionsOutputArgs, opts ...InvokeOption) GetIsInstanceGroupManagerActionsResultOutput
> Note: This function is named GetIsInstanceGroupManagerActions
in the Go SDK.
public static class GetIsInstanceGroupManagerActions
{
public static Task<GetIsInstanceGroupManagerActionsResult> InvokeAsync(GetIsInstanceGroupManagerActionsArgs args, InvokeOptions? opts = null)
public static Output<GetIsInstanceGroupManagerActionsResult> Invoke(GetIsInstanceGroupManagerActionsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIsInstanceGroupManagerActionsResult> getIsInstanceGroupManagerActions(GetIsInstanceGroupManagerActionsArgs args, InvokeOptions options)
public static Output<GetIsInstanceGroupManagerActionsResult> getIsInstanceGroupManagerActions(GetIsInstanceGroupManagerActionsArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIsInstanceGroupManagerActions:getIsInstanceGroupManagerActions
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Group string - The instance group identifier.
- Instance
Group stringManager - The instance group manager identifier of type scheduled.
- Id string
- Instance
Group string - The instance group identifier.
- Instance
Group stringManager - The instance group manager identifier of type scheduled.
- Id string
- instance
Group String - The instance group identifier.
- instance
Group StringManager - The instance group manager identifier of type scheduled.
- id String
- instance
Group string - The instance group identifier.
- instance
Group stringManager - The instance group manager identifier of type scheduled.
- id string
- instance_
group str - The instance group identifier.
- instance_
group_ strmanager - The instance group manager identifier of type scheduled.
- id str
- instance
Group String - The instance group identifier.
- instance
Group StringManager - The instance group manager identifier of type scheduled.
- id String
getIsInstanceGroupManagerActions Result
The following output properties are available:
- Id string
- Instance
Group string - Instance
Group stringManager - Instance
Group List<GetManager Actions Is Instance Group Manager Actions Instance Group Manager Action> - (List) Nested block containing list of instance manager actions.
- Id string
- Instance
Group string - Instance
Group stringManager - Instance
Group []GetManager Actions Is Instance Group Manager Actions Instance Group Manager Action - (List) Nested block containing list of instance manager actions.
- id String
- instance
Group String - instance
Group StringManager - instance
Group List<GetManager Actions Is Instance Group Manager Actions Instance Group Manager Action> - (List) Nested block containing list of instance manager actions.
- id string
- instance
Group string - instance
Group stringManager - instance
Group GetManager Actions Is Instance Group Manager Actions Instance Group Manager Action[] - (List) Nested block containing list of instance manager actions.
- id str
- instance_
group str - instance_
group_ strmanager - instance_
group_ Sequence[Getmanager_ actions Is Instance Group Manager Actions Instance Group Manager Action] - (List) Nested block containing list of instance manager actions.
- id String
- instance
Group String - instance
Group StringManager - instance
Group List<Property Map>Manager Actions - (List) Nested block containing list of instance manager actions.
Supporting Types
GetIsInstanceGroupManagerActionsInstanceGroupManagerAction
- Action
Id string - (String) The unique identifier of the ibm_is_instance_group_manager_action.
- Action
Type string - (String) The type of action for the instance group.
- Auto
Delete bool - (Bool) If set to
true
, this scheduled action will be automatically deleted after it has finished and theauto_delete_timeout
time has passed. - Auto
Delete doubleTimeout - (String) Amount of time in hours that are required to pass before the scheduled action will be automatically deleted once it has finished. If this value is 0, the action will be deleted on completion.
- Created
At string - (Timestamp) The date and time that the instance group manager action was created.
- Cron
Spec string - (String) The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 minimum period.
- Instance
Group string - The instance group identifier.
- Last
Applied stringAt - (Timestamp) The date and time the scheduled action was last applied. If empty the action has never been applied.
- Max
Membership doubleCount - (String) The maximum number of members the instance group should have at the scheduled time.
- Membership
Count double - (String) The number of members the instance group should have at the scheduled time.
- Min
Membership doubleCount - (String) The minimum number of members the instance group should have at the scheduled time. Default value is set to 1.
- Name string
- (String) The user-defined name for this instance group manager action. Names must be unique within the instance group manager.
- Next
Run stringAt - (Timestamp) The date and time the scheduled action will next run. If empty the system is currently calculating the next run time.
- Resource
Type string - (String) The resource type.
- Run
At string - Status string
- (String) The status of the instance group action.
- Target
Manager string - (String) The unique identifier for this instance group manager of type autoscale.
- Target
Manager stringName - (String) Name of instance group manager of type autoscale.
- Updated
At string - (Timestamp) The date and time that the instance group manager action was modified.
- Action
Id string - (String) The unique identifier of the ibm_is_instance_group_manager_action.
- Action
Type string - (String) The type of action for the instance group.
- Auto
Delete bool - (Bool) If set to
true
, this scheduled action will be automatically deleted after it has finished and theauto_delete_timeout
time has passed. - Auto
Delete float64Timeout - (String) Amount of time in hours that are required to pass before the scheduled action will be automatically deleted once it has finished. If this value is 0, the action will be deleted on completion.
- Created
At string - (Timestamp) The date and time that the instance group manager action was created.
- Cron
Spec string - (String) The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 minimum period.
- Instance
Group string - The instance group identifier.
- Last
Applied stringAt - (Timestamp) The date and time the scheduled action was last applied. If empty the action has never been applied.
- Max
Membership float64Count - (String) The maximum number of members the instance group should have at the scheduled time.
- Membership
Count float64 - (String) The number of members the instance group should have at the scheduled time.
- Min
Membership float64Count - (String) The minimum number of members the instance group should have at the scheduled time. Default value is set to 1.
- Name string
- (String) The user-defined name for this instance group manager action. Names must be unique within the instance group manager.
- Next
Run stringAt - (Timestamp) The date and time the scheduled action will next run. If empty the system is currently calculating the next run time.
- Resource
Type string - (String) The resource type.
- Run
At string - Status string
- (String) The status of the instance group action.
- Target
Manager string - (String) The unique identifier for this instance group manager of type autoscale.
- Target
Manager stringName - (String) Name of instance group manager of type autoscale.
- Updated
At string - (Timestamp) The date and time that the instance group manager action was modified.
- action
Id String - (String) The unique identifier of the ibm_is_instance_group_manager_action.
- action
Type String - (String) The type of action for the instance group.
- auto
Delete Boolean - (Bool) If set to
true
, this scheduled action will be automatically deleted after it has finished and theauto_delete_timeout
time has passed. - auto
Delete DoubleTimeout - (String) Amount of time in hours that are required to pass before the scheduled action will be automatically deleted once it has finished. If this value is 0, the action will be deleted on completion.
- created
At String - (Timestamp) The date and time that the instance group manager action was created.
- cron
Spec String - (String) The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 minimum period.
- instance
Group String - The instance group identifier.
- last
Applied StringAt - (Timestamp) The date and time the scheduled action was last applied. If empty the action has never been applied.
- max
Membership DoubleCount - (String) The maximum number of members the instance group should have at the scheduled time.
- membership
Count Double - (String) The number of members the instance group should have at the scheduled time.
- min
Membership DoubleCount - (String) The minimum number of members the instance group should have at the scheduled time. Default value is set to 1.
- name String
- (String) The user-defined name for this instance group manager action. Names must be unique within the instance group manager.
- next
Run StringAt - (Timestamp) The date and time the scheduled action will next run. If empty the system is currently calculating the next run time.
- resource
Type String - (String) The resource type.
- run
At String - status String
- (String) The status of the instance group action.
- target
Manager String - (String) The unique identifier for this instance group manager of type autoscale.
- target
Manager StringName - (String) Name of instance group manager of type autoscale.
- updated
At String - (Timestamp) The date and time that the instance group manager action was modified.
- action
Id string - (String) The unique identifier of the ibm_is_instance_group_manager_action.
- action
Type string - (String) The type of action for the instance group.
- auto
Delete boolean - (Bool) If set to
true
, this scheduled action will be automatically deleted after it has finished and theauto_delete_timeout
time has passed. - auto
Delete numberTimeout - (String) Amount of time in hours that are required to pass before the scheduled action will be automatically deleted once it has finished. If this value is 0, the action will be deleted on completion.
- created
At string - (Timestamp) The date and time that the instance group manager action was created.
- cron
Spec string - (String) The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 minimum period.
- instance
Group string - The instance group identifier.
- last
Applied stringAt - (Timestamp) The date and time the scheduled action was last applied. If empty the action has never been applied.
- max
Membership numberCount - (String) The maximum number of members the instance group should have at the scheduled time.
- membership
Count number - (String) The number of members the instance group should have at the scheduled time.
- min
Membership numberCount - (String) The minimum number of members the instance group should have at the scheduled time. Default value is set to 1.
- name string
- (String) The user-defined name for this instance group manager action. Names must be unique within the instance group manager.
- next
Run stringAt - (Timestamp) The date and time the scheduled action will next run. If empty the system is currently calculating the next run time.
- resource
Type string - (String) The resource type.
- run
At string - status string
- (String) The status of the instance group action.
- target
Manager string - (String) The unique identifier for this instance group manager of type autoscale.
- target
Manager stringName - (String) Name of instance group manager of type autoscale.
- updated
At string - (Timestamp) The date and time that the instance group manager action was modified.
- action_
id str - (String) The unique identifier of the ibm_is_instance_group_manager_action.
- action_
type str - (String) The type of action for the instance group.
- auto_
delete bool - (Bool) If set to
true
, this scheduled action will be automatically deleted after it has finished and theauto_delete_timeout
time has passed. - auto_
delete_ floattimeout - (String) Amount of time in hours that are required to pass before the scheduled action will be automatically deleted once it has finished. If this value is 0, the action will be deleted on completion.
- created_
at str - (Timestamp) The date and time that the instance group manager action was created.
- cron_
spec str - (String) The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 minimum period.
- instance_
group str - The instance group identifier.
- last_
applied_ strat - (Timestamp) The date and time the scheduled action was last applied. If empty the action has never been applied.
- max_
membership_ floatcount - (String) The maximum number of members the instance group should have at the scheduled time.
- membership_
count float - (String) The number of members the instance group should have at the scheduled time.
- min_
membership_ floatcount - (String) The minimum number of members the instance group should have at the scheduled time. Default value is set to 1.
- name str
- (String) The user-defined name for this instance group manager action. Names must be unique within the instance group manager.
- next_
run_ strat - (Timestamp) The date and time the scheduled action will next run. If empty the system is currently calculating the next run time.
- resource_
type str - (String) The resource type.
- run_
at str - status str
- (String) The status of the instance group action.
- target_
manager str - (String) The unique identifier for this instance group manager of type autoscale.
- target_
manager_ strname - (String) Name of instance group manager of type autoscale.
- updated_
at str - (Timestamp) The date and time that the instance group manager action was modified.
- action
Id String - (String) The unique identifier of the ibm_is_instance_group_manager_action.
- action
Type String - (String) The type of action for the instance group.
- auto
Delete Boolean - (Bool) If set to
true
, this scheduled action will be automatically deleted after it has finished and theauto_delete_timeout
time has passed. - auto
Delete NumberTimeout - (String) Amount of time in hours that are required to pass before the scheduled action will be automatically deleted once it has finished. If this value is 0, the action will be deleted on completion.
- created
At String - (Timestamp) The date and time that the instance group manager action was created.
- cron
Spec String - (String) The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 minimum period.
- instance
Group String - The instance group identifier.
- last
Applied StringAt - (Timestamp) The date and time the scheduled action was last applied. If empty the action has never been applied.
- max
Membership NumberCount - (String) The maximum number of members the instance group should have at the scheduled time.
- membership
Count Number - (String) The number of members the instance group should have at the scheduled time.
- min
Membership NumberCount - (String) The minimum number of members the instance group should have at the scheduled time. Default value is set to 1.
- name String
- (String) The user-defined name for this instance group manager action. Names must be unique within the instance group manager.
- next
Run StringAt - (Timestamp) The date and time the scheduled action will next run. If empty the system is currently calculating the next run time.
- resource
Type String - (String) The resource type.
- run
At String - status String
- (String) The status of the instance group action.
- target
Manager String - (String) The unique identifier for this instance group manager of type autoscale.
- target
Manager StringName - (String) Name of instance group manager of type autoscale.
- updated
At String - (Timestamp) The date and time that the instance group manager action was modified.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.