UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

97 lines 3.12 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets information about an Autoscaling Instance group. * * ## Example Usage * * ```typescript * 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", * }); * ``` */ export declare function getInstanceGroup(args?: GetInstanceGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceGroupResult>; /** * A collection of arguments for invoking getInstanceGroup. */ export interface GetInstanceGroupArgs { /** * The ID of the Instance group. Only one of `name` and `instanceGroupId` should be specified. */ instanceGroupId?: string; /** * The name of the Instance group. Only one of `name` and `instanceGroupId` should be specified. */ name?: string; /** * `zone`) The zone in which the Instance group exists. */ zone?: string; } /** * A collection of values returned by getInstanceGroup. */ export interface GetInstanceGroupResult { readonly capacities: outputs.autoscaling.GetInstanceGroupCapacity[]; readonly createdAt: string; readonly deleteServersOnDestroy: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly instanceGroupId?: string; readonly loadBalancers: outputs.autoscaling.GetInstanceGroupLoadBalancer[]; readonly name?: string; readonly projectId: string; readonly tags: string[]; readonly templateId: string; readonly updatedAt: string; readonly zone?: string; } /** * Gets information about an Autoscaling Instance group. * * ## Example Usage * * ```typescript * 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", * }); * ``` */ export declare function getInstanceGroupOutput(args?: GetInstanceGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInstanceGroupResult>; /** * A collection of arguments for invoking getInstanceGroup. */ export interface GetInstanceGroupOutputArgs { /** * The ID of the Instance group. Only one of `name` and `instanceGroupId` should be specified. */ instanceGroupId?: pulumi.Input<string | undefined>; /** * The name of the Instance group. Only one of `name` and `instanceGroupId` should be specified. */ name?: pulumi.Input<string | undefined>; /** * `zone`) The zone in which the Instance group exists. */ zone?: pulumi.Input<string | undefined>; } //# sourceMappingURL=getInstanceGroup.d.ts.map