ibm.getIsInstanceGroupManagerAction
Explore with Pulumi AI
Retrive information about an instance group manager. For more information, about VPC instance group manager action, see scheduled 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
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = ibm.getIsInstanceGroupManagerAction({
instanceGroup: ibm_is_instance_group.example.id,
instanceGroupManager: ibm_is_instance_group_manager.example.manager_id,
name: "example-instance-group-manager-action",
});
import pulumi
import pulumi_ibm as ibm
example = ibm.get_is_instance_group_manager_action(instance_group=ibm_is_instance_group["example"]["id"],
instance_group_manager=ibm_is_instance_group_manager["example"]["manager_id"],
name="example-instance-group-manager-action")
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.LookupIsInstanceGroupManagerAction(ctx, &ibm.LookupIsInstanceGroupManagerActionArgs{
InstanceGroup: ibm_is_instance_group.Example.Id,
InstanceGroupManager: ibm_is_instance_group_manager.Example.Manager_id,
Name: "example-instance-group-manager-action",
}, 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.GetIsInstanceGroupManagerAction.Invoke(new()
{
InstanceGroup = ibm_is_instance_group.Example.Id,
InstanceGroupManager = ibm_is_instance_group_manager.Example.Manager_id,
Name = "example-instance-group-manager-action",
});
});
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.GetIsInstanceGroupManagerActionArgs;
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.getIsInstanceGroupManagerAction(GetIsInstanceGroupManagerActionArgs.builder()
.instanceGroup(ibm_is_instance_group.example().id())
.instanceGroupManager(ibm_is_instance_group_manager.example().manager_id())
.name("example-instance-group-manager-action")
.build());
}
}
variables:
example:
fn::invoke:
function: ibm:getIsInstanceGroupManagerAction
arguments:
instanceGroup: ${ibm_is_instance_group.example.id}
instanceGroupManager: ${ibm_is_instance_group_manager.example.manager_id}
name: example-instance-group-manager-action
Using getIsInstanceGroupManagerAction
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 getIsInstanceGroupManagerAction(args: GetIsInstanceGroupManagerActionArgs, opts?: InvokeOptions): Promise<GetIsInstanceGroupManagerActionResult>
function getIsInstanceGroupManagerActionOutput(args: GetIsInstanceGroupManagerActionOutputArgs, opts?: InvokeOptions): Output<GetIsInstanceGroupManagerActionResult>
def get_is_instance_group_manager_action(id: Optional[str] = None,
instance_group: Optional[str] = None,
instance_group_manager: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIsInstanceGroupManagerActionResult
def get_is_instance_group_manager_action_output(id: Optional[pulumi.Input[str]] = None,
instance_group: Optional[pulumi.Input[str]] = None,
instance_group_manager: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIsInstanceGroupManagerActionResult]
func LookupIsInstanceGroupManagerAction(ctx *Context, args *LookupIsInstanceGroupManagerActionArgs, opts ...InvokeOption) (*LookupIsInstanceGroupManagerActionResult, error)
func LookupIsInstanceGroupManagerActionOutput(ctx *Context, args *LookupIsInstanceGroupManagerActionOutputArgs, opts ...InvokeOption) LookupIsInstanceGroupManagerActionResultOutput
> Note: This function is named LookupIsInstanceGroupManagerAction
in the Go SDK.
public static class GetIsInstanceGroupManagerAction
{
public static Task<GetIsInstanceGroupManagerActionResult> InvokeAsync(GetIsInstanceGroupManagerActionArgs args, InvokeOptions? opts = null)
public static Output<GetIsInstanceGroupManagerActionResult> Invoke(GetIsInstanceGroupManagerActionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIsInstanceGroupManagerActionResult> getIsInstanceGroupManagerAction(GetIsInstanceGroupManagerActionArgs args, InvokeOptions options)
public static Output<GetIsInstanceGroupManagerActionResult> getIsInstanceGroupManagerAction(GetIsInstanceGroupManagerActionArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIsInstanceGroupManagerAction:getIsInstanceGroupManagerAction
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.
- Name string
- The instance group manager action name.
- Id string
- (String) The ID is the combination of instance group ID, instance group manager ID and instance group manager action ID.
- Instance
Group string - The instance group identifier.
- Instance
Group stringManager - The instance group manager identifier of type scheduled.
- Name string
- The instance group manager action name.
- Id string
- (String) The ID is the combination of instance group ID, instance group manager ID and instance group manager action ID.
- instance
Group String - The instance group identifier.
- instance
Group StringManager - The instance group manager identifier of type scheduled.
- name String
- The instance group manager action name.
- id String
- (String) The ID is the combination of instance group ID, instance group manager ID and instance group manager action ID.
- instance
Group string - The instance group identifier.
- instance
Group stringManager - The instance group manager identifier of type scheduled.
- name string
- The instance group manager action name.
- id string
- (String) The ID is the combination of instance group ID, instance group manager ID and instance group manager action ID.
- instance_
group str - The instance group identifier.
- instance_
group_ strmanager - The instance group manager identifier of type scheduled.
- name str
- The instance group manager action name.
- id str
- (String) The ID is the combination of instance group ID, instance group manager ID and instance group manager action ID.
- instance
Group String - The instance group identifier.
- instance
Group StringManager - The instance group manager identifier of type scheduled.
- name String
- The instance group manager action name.
- id String
- (String) The ID is the combination of instance group ID, instance group manager ID and instance group manager action ID.
getIsInstanceGroupManagerAction Result
The following output properties are available:
- 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 - (String) 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.
- Id string
- (String) The ID is the combination of instance group ID, instance group manager ID and instance group manager action ID.
- Instance
Group string - Instance
Group stringManager - 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 - (Integer) The maximum number of members the instance group should have at the scheduled time.
- Membership
Count double - (Integer) The number of members the instance group should have at the scheduled time.
- Min
Membership doubleCount - (Integer) 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 - (String) 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 - (String) 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.
- Id string
- (String) The ID is the combination of instance group ID, instance group manager ID and instance group manager action ID.
- Instance
Group string - Instance
Group stringManager - 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 - (Integer) The maximum number of members the instance group should have at the scheduled time.
- Membership
Count float64 - (Integer) The number of members the instance group should have at the scheduled time.
- Min
Membership float64Count - (Integer) 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 - (String) 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 - (String) 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.
- id String
- (String) The ID is the combination of instance group ID, instance group manager ID and instance group manager action ID.
- instance
Group String - instance
Group StringManager - 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 - (Integer) The maximum number of members the instance group should have at the scheduled time.
- membership
Count Double - (Integer) The number of members the instance group should have at the scheduled time.
- min
Membership DoubleCount - (Integer) 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 - (String) 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 - (String) 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.
- id string
- (String) The ID is the combination of instance group ID, instance group manager ID and instance group manager action ID.
- instance
Group string - instance
Group stringManager - 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 - (Integer) The maximum number of members the instance group should have at the scheduled time.
- membership
Count number - (Integer) The number of members the instance group should have at the scheduled time.
- min
Membership numberCount - (Integer) 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 - (String) 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 - (String) 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.
- id str
- (String) The ID is the combination of instance group ID, instance group manager ID and instance group manager action ID.
- instance_
group str - instance_
group_ strmanager - 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 - (Integer) The maximum number of members the instance group should have at the scheduled time.
- membership_
count float - (Integer) The number of members the instance group should have at the scheduled time.
- min_
membership_ floatcount - (Integer) 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 - (String) 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 - (String) 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.
- id String
- (String) The ID is the combination of instance group ID, instance group manager ID and instance group manager action ID.
- instance
Group String - instance
Group StringManager - 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 - (Integer) The maximum number of members the instance group should have at the scheduled time.
- membership
Count Number - (Integer) The number of members the instance group should have at the scheduled time.
- min
Membership NumberCount - (Integer) 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 - (String) 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.