Viewing docs for outscale 1.4.0
published on Tuesday, Feb 24, 2026 by outscale
published on Tuesday, Feb 24, 2026 by outscale
Viewing docs for outscale 1.4.0
published on Tuesday, Feb 24, 2026 by outscale
published on Tuesday, Feb 24, 2026 by outscale
Provides information about a flexible GPU.
For more information on this resource, see the User Guide.
For more information on this resource actions, see the API documentation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";
const flexibleGpu01 = outscale.getFlexibleGpu({
filters: [{
name: "flexible_gpu_ids",
values: ["fgpu-12345678"],
}],
});
import pulumi
import pulumi_outscale as outscale
flexible_gpu01 = outscale.get_flexible_gpu(filters=[{
"name": "flexible_gpu_ids",
"values": ["fgpu-12345678"],
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := outscale.LookupFlexibleGpu(ctx, &outscale.LookupFlexibleGpuArgs{
Filters: []outscale.GetFlexibleGpuFilter{
{
Name: "flexible_gpu_ids",
Values: []string{
"fgpu-12345678",
},
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;
return await Deployment.RunAsync(() =>
{
var flexibleGpu01 = Outscale.GetFlexibleGpu.Invoke(new()
{
Filters = new[]
{
new Outscale.Inputs.GetFlexibleGpuFilterInputArgs
{
Name = "flexible_gpu_ids",
Values = new[]
{
"fgpu-12345678",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.OutscaleFunctions;
import com.pulumi.outscale.inputs.GetFlexibleGpuArgs;
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 flexibleGpu01 = OutscaleFunctions.getFlexibleGpu(GetFlexibleGpuArgs.builder()
.filters(GetFlexibleGpuFilterArgs.builder()
.name("flexible_gpu_ids")
.values("fgpu-12345678")
.build())
.build());
}
}
variables:
flexibleGpu01:
fn::invoke:
function: outscale:getFlexibleGpu
arguments:
filters:
- name: flexible_gpu_ids
values:
- fgpu-12345678
Using getFlexibleGpu
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 getFlexibleGpu(args: GetFlexibleGpuArgs, opts?: InvokeOptions): Promise<GetFlexibleGpuResult>
function getFlexibleGpuOutput(args: GetFlexibleGpuOutputArgs, opts?: InvokeOptions): Output<GetFlexibleGpuResult>def get_flexible_gpu(filters: Optional[Sequence[GetFlexibleGpuFilter]] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFlexibleGpuResult
def get_flexible_gpu_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetFlexibleGpuFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFlexibleGpuResult]func LookupFlexibleGpu(ctx *Context, args *LookupFlexibleGpuArgs, opts ...InvokeOption) (*LookupFlexibleGpuResult, error)
func LookupFlexibleGpuOutput(ctx *Context, args *LookupFlexibleGpuOutputArgs, opts ...InvokeOption) LookupFlexibleGpuResultOutput> Note: This function is named LookupFlexibleGpu in the Go SDK.
public static class GetFlexibleGpu
{
public static Task<GetFlexibleGpuResult> InvokeAsync(GetFlexibleGpuArgs args, InvokeOptions? opts = null)
public static Output<GetFlexibleGpuResult> Invoke(GetFlexibleGpuInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFlexibleGpuResult> getFlexibleGpu(GetFlexibleGpuArgs args, InvokeOptions options)
public static Output<GetFlexibleGpuResult> getFlexibleGpu(GetFlexibleGpuArgs args, InvokeOptions options)
fn::invoke:
function: outscale:index/getFlexibleGpu:getFlexibleGpu
arguments:
# arguments dictionaryThe following arguments are supported:
- Filters
List<Get
Flexible Gpu Filter> - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- Id string
- Filters
[]Get
Flexible Gpu Filter - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- Id string
- filters
List<Get
Flexible Gpu Filter> - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- id String
- filters
Get
Flexible Gpu Filter[] - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- id string
- filters
Sequence[Get
Flexible Gpu Filter] - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- id str
- filters List<Property Map>
- A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- id String
getFlexibleGpu Result
The following output properties are available:
- Delete
On boolVm Deletion - If true, the fGPU is deleted when the VM is terminated.
- Flexible
Gpu stringId - The ID of the fGPU.
- Generation string
- The compatible processor generation.
- Id string
- Model
Name string - The model of fGPU. For more information, see About Flexible GPUs.
- Request
Id string - State string
- The state of the fGPU (
allocated|attaching|attached|detaching). - Subregion
Name string - The Subregion where the fGPU is located.
- Vm
Id string - The ID of the VM the fGPU is attached to, if any.
- Filters
List<Get
Flexible Gpu Filter>
- Delete
On boolVm Deletion - If true, the fGPU is deleted when the VM is terminated.
- Flexible
Gpu stringId - The ID of the fGPU.
- Generation string
- The compatible processor generation.
- Id string
- Model
Name string - The model of fGPU. For more information, see About Flexible GPUs.
- Request
Id string - State string
- The state of the fGPU (
allocated|attaching|attached|detaching). - Subregion
Name string - The Subregion where the fGPU is located.
- Vm
Id string - The ID of the VM the fGPU is attached to, if any.
- Filters
[]Get
Flexible Gpu Filter
- delete
On BooleanVm Deletion - If true, the fGPU is deleted when the VM is terminated.
- flexible
Gpu StringId - The ID of the fGPU.
- generation String
- The compatible processor generation.
- id String
- model
Name String - The model of fGPU. For more information, see About Flexible GPUs.
- request
Id String - state String
- The state of the fGPU (
allocated|attaching|attached|detaching). - subregion
Name String - The Subregion where the fGPU is located.
- vm
Id String - The ID of the VM the fGPU is attached to, if any.
- filters
List<Get
Flexible Gpu Filter>
- delete
On booleanVm Deletion - If true, the fGPU is deleted when the VM is terminated.
- flexible
Gpu stringId - The ID of the fGPU.
- generation string
- The compatible processor generation.
- id string
- model
Name string - The model of fGPU. For more information, see About Flexible GPUs.
- request
Id string - state string
- The state of the fGPU (
allocated|attaching|attached|detaching). - subregion
Name string - The Subregion where the fGPU is located.
- vm
Id string - The ID of the VM the fGPU is attached to, if any.
- filters
Get
Flexible Gpu Filter[]
- delete_
on_ boolvm_ deletion - If true, the fGPU is deleted when the VM is terminated.
- flexible_
gpu_ strid - The ID of the fGPU.
- generation str
- The compatible processor generation.
- id str
- model_
name str - The model of fGPU. For more information, see About Flexible GPUs.
- request_
id str - state str
- The state of the fGPU (
allocated|attaching|attached|detaching). - subregion_
name str - The Subregion where the fGPU is located.
- vm_
id str - The ID of the VM the fGPU is attached to, if any.
- filters
Sequence[Get
Flexible Gpu Filter]
- delete
On BooleanVm Deletion - If true, the fGPU is deleted when the VM is terminated.
- flexible
Gpu StringId - The ID of the fGPU.
- generation String
- The compatible processor generation.
- id String
- model
Name String - The model of fGPU. For more information, see About Flexible GPUs.
- request
Id String - state String
- The state of the fGPU (
allocated|attaching|attached|detaching). - subregion
Name String - The Subregion where the fGPU is located.
- vm
Id String - The ID of the VM the fGPU is attached to, if any.
- filters List<Property Map>
Supporting Types
GetFlexibleGpuFilter
Package Details
- Repository
- outscale outscale/terraform-provider-outscale
- License
- Notes
- This Pulumi package is based on the
outscaleTerraform Provider.
Viewing docs for outscale 1.4.0
published on Tuesday, Feb 24, 2026 by outscale
published on Tuesday, Feb 24, 2026 by outscale
