Viewing docs for Scaleway v1.44.1
published on Monday, Mar 9, 2026 by pulumiverse
published on Monday, Mar 9, 2026 by pulumiverse
Viewing docs for Scaleway v1.44.1
published on Monday, Mar 9, 2026 by pulumiverse
published on Monday, Mar 9, 2026 by pulumiverse
Gets information about an Autoscaling Instance group.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
// Get info by name
const byName = scaleway.autoscaling.getInstanceGroup({
name: "my-instance-group",
});
// Get info by ID
const byId = scaleway.autoscaling.getInstanceGroup({
instanceGroupId: "11111111-1111-1111-1111-111111111111",
});
import pulumi
import pulumi_scaleway as scaleway
# Get info by name
by_name = scaleway.autoscaling.get_instance_group(name="my-instance-group")
# Get info by ID
by_id = scaleway.autoscaling.get_instance_group(instance_group_id="11111111-1111-1111-1111-111111111111")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/autoscaling"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Get info by name
_, err := autoscaling.LookupInstanceGroup(ctx, &autoscaling.LookupInstanceGroupArgs{
Name: pulumi.StringRef("my-instance-group"),
}, nil)
if err != nil {
return err
}
// Get info by ID
_, err = autoscaling.LookupInstanceGroup(ctx, &autoscaling.LookupInstanceGroupArgs{
InstanceGroupId: pulumi.StringRef("11111111-1111-1111-1111-111111111111"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumi.Scaleway;
return await Deployment.RunAsync(() =>
{
// Get info by name
var byName = Scaleway.Autoscaling.GetInstanceGroup.Invoke(new()
{
Name = "my-instance-group",
});
// Get info by ID
var byId = Scaleway.Autoscaling.GetInstanceGroup.Invoke(new()
{
InstanceGroupId = "11111111-1111-1111-1111-111111111111",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.autoscaling.AutoscalingFunctions;
import com.pulumi.scaleway.autoscaling.inputs.GetInstanceGroupArgs;
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) {
// Get info by name
final var byName = AutoscalingFunctions.getInstanceGroup(GetInstanceGroupArgs.builder()
.name("my-instance-group")
.build());
// Get info by ID
final var byId = AutoscalingFunctions.getInstanceGroup(GetInstanceGroupArgs.builder()
.instanceGroupId("11111111-1111-1111-1111-111111111111")
.build());
}
}
variables:
# Get info by name
byName:
fn::invoke:
function: scaleway:autoscaling:getInstanceGroup
arguments:
name: my-instance-group
# Get info by ID
byId:
fn::invoke:
function: scaleway:autoscaling:getInstanceGroup
arguments:
instanceGroupId: 11111111-1111-1111-1111-111111111111
Using getInstanceGroup
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 getInstanceGroup(args: GetInstanceGroupArgs, opts?: InvokeOptions): Promise<GetInstanceGroupResult>
function getInstanceGroupOutput(args: GetInstanceGroupOutputArgs, opts?: InvokeOptions): Output<GetInstanceGroupResult>def get_instance_group(instance_group_id: Optional[str] = None,
name: Optional[str] = None,
zone: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceGroupResult
def get_instance_group_output(instance_group_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
zone: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceGroupResult]func LookupInstanceGroup(ctx *Context, args *LookupInstanceGroupArgs, opts ...InvokeOption) (*LookupInstanceGroupResult, error)
func LookupInstanceGroupOutput(ctx *Context, args *LookupInstanceGroupOutputArgs, opts ...InvokeOption) LookupInstanceGroupResultOutput> Note: This function is named LookupInstanceGroup in the Go SDK.
public static class GetInstanceGroup
{
public static Task<GetInstanceGroupResult> InvokeAsync(GetInstanceGroupArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceGroupResult> Invoke(GetInstanceGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInstanceGroupResult> getInstanceGroup(GetInstanceGroupArgs args, InvokeOptions options)
public static Output<GetInstanceGroupResult> getInstanceGroup(GetInstanceGroupArgs args, InvokeOptions options)
fn::invoke:
function: scaleway:autoscaling/getInstanceGroup:getInstanceGroup
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Group stringId - The ID of the Instance group. Only one of
nameandinstance_group_idshould be specified. - Name string
- The name of the Instance group. Only one of
nameandinstance_group_idshould be specified. - Zone string
zone) The zone in which the Instance group exists.
- Instance
Group stringId - The ID of the Instance group. Only one of
nameandinstance_group_idshould be specified. - Name string
- The name of the Instance group. Only one of
nameandinstance_group_idshould be specified. - Zone string
zone) The zone in which the Instance group exists.
- instance
Group StringId - The ID of the Instance group. Only one of
nameandinstance_group_idshould be specified. - name String
- The name of the Instance group. Only one of
nameandinstance_group_idshould be specified. - zone String
zone) The zone in which the Instance group exists.
- instance
Group stringId - The ID of the Instance group. Only one of
nameandinstance_group_idshould be specified. - name string
- The name of the Instance group. Only one of
nameandinstance_group_idshould be specified. - zone string
zone) The zone in which the Instance group exists.
- instance_
group_ strid - The ID of the Instance group. Only one of
nameandinstance_group_idshould be specified. - name str
- The name of the Instance group. Only one of
nameandinstance_group_idshould be specified. - zone str
zone) The zone in which the Instance group exists.
- instance
Group StringId - The ID of the Instance group. Only one of
nameandinstance_group_idshould be specified. - name String
- The name of the Instance group. Only one of
nameandinstance_group_idshould be specified. - zone String
zone) The zone in which the Instance group exists.
getInstanceGroup Result
The following output properties are available:
- Capacities
List<Pulumiverse.
Scaleway. Autoscaling. Outputs. Get Instance Group Capacity> - Created
At string - Delete
Servers boolOn Destroy - Id string
- The provider-assigned unique ID for this managed resource.
- Load
Balancers List<Pulumiverse.Scaleway. Autoscaling. Outputs. Get Instance Group Load Balancer> - Project
Id string - List<string>
- Template
Id string - Updated
At string - Instance
Group stringId - Name string
- Zone string
- Capacities
[]Get
Instance Group Capacity - Created
At string - Delete
Servers boolOn Destroy - Id string
- The provider-assigned unique ID for this managed resource.
- Load
Balancers []GetInstance Group Load Balancer - Project
Id string - []string
- Template
Id string - Updated
At string - Instance
Group stringId - Name string
- Zone string
- capacities
List<Get
Instance Group Capacity> - created
At String - delete
Servers BooleanOn Destroy - id String
- The provider-assigned unique ID for this managed resource.
- load
Balancers List<GetInstance Group Load Balancer> - project
Id String - List<String>
- template
Id String - updated
At String - instance
Group StringId - name String
- zone String
- capacities
Get
Instance Group Capacity[] - created
At string - delete
Servers booleanOn Destroy - id string
- The provider-assigned unique ID for this managed resource.
- load
Balancers GetInstance Group Load Balancer[] - project
Id string - string[]
- template
Id string - updated
At string - instance
Group stringId - name string
- zone string
- capacities
Sequence[Get
Instance Group Capacity] - created_
at str - delete_
servers_ boolon_ destroy - id str
- The provider-assigned unique ID for this managed resource.
- load_
balancers Sequence[GetInstance Group Load Balancer] - project_
id str - Sequence[str]
- template_
id str - updated_
at str - instance_
group_ strid - name str
- zone str
- capacities List<Property Map>
- created
At String - delete
Servers BooleanOn Destroy - id String
- The provider-assigned unique ID for this managed resource.
- load
Balancers List<Property Map> - project
Id String - List<String>
- template
Id String - updated
At String - instance
Group StringId - name String
- zone String
Supporting Types
GetInstanceGroupCapacity
- Cooldown
Delay int - Time (in seconds) after a scaling action during which requests to carry out a new scaling action will be denied
- Max
Replicas int - The maximum count of Instances for the Instance group
- Min
Replicas int - The minimum count of Instances for the Instance group
- Cooldown
Delay int - Time (in seconds) after a scaling action during which requests to carry out a new scaling action will be denied
- Max
Replicas int - The maximum count of Instances for the Instance group
- Min
Replicas int - The minimum count of Instances for the Instance group
- cooldown
Delay Integer - Time (in seconds) after a scaling action during which requests to carry out a new scaling action will be denied
- max
Replicas Integer - The maximum count of Instances for the Instance group
- min
Replicas Integer - The minimum count of Instances for the Instance group
- cooldown
Delay number - Time (in seconds) after a scaling action during which requests to carry out a new scaling action will be denied
- max
Replicas number - The maximum count of Instances for the Instance group
- min
Replicas number - The minimum count of Instances for the Instance group
- cooldown_
delay int - Time (in seconds) after a scaling action during which requests to carry out a new scaling action will be denied
- max_
replicas int - The maximum count of Instances for the Instance group
- min_
replicas int - The minimum count of Instances for the Instance group
- cooldown
Delay Number - Time (in seconds) after a scaling action during which requests to carry out a new scaling action will be denied
- max
Replicas Number - The maximum count of Instances for the Instance group
- min
Replicas Number - The minimum count of Instances for the Instance group
GetInstanceGroupLoadBalancer
- Backend
Ids List<string> - The Load Balancer backend IDs
- Id string
- The ID of the load balancer
- Private
Network stringId - The ID of the Private Network attached to the Load Balancer
- Backend
Ids []string - The Load Balancer backend IDs
- Id string
- The ID of the load balancer
- Private
Network stringId - The ID of the Private Network attached to the Load Balancer
- backend
Ids List<String> - The Load Balancer backend IDs
- id String
- The ID of the load balancer
- private
Network StringId - The ID of the Private Network attached to the Load Balancer
- backend
Ids string[] - The Load Balancer backend IDs
- id string
- The ID of the load balancer
- private
Network stringId - The ID of the Private Network attached to the Load Balancer
- backend_
ids Sequence[str] - The Load Balancer backend IDs
- id str
- The ID of the load balancer
- private_
network_ strid - The ID of the Private Network attached to the Load Balancer
- backend
Ids List<String> - The Load Balancer backend IDs
- id String
- The ID of the load balancer
- private
Network StringId - The ID of the Private Network attached to the Load Balancer
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scalewayTerraform Provider.
Viewing docs for Scaleway v1.44.1
published on Monday, Mar 9, 2026 by pulumiverse
published on Monday, Mar 9, 2026 by pulumiverse
