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 product type.
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 productType01 = outscale.getProductType({
filters: [{
name: "product_type_ids",
values: ["0001"],
}],
});
import pulumi
import pulumi_outscale as outscale
product_type01 = outscale.get_product_type(filters=[{
"name": "product_type_ids",
"values": ["0001"],
}])
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.GetProductType(ctx, &outscale.GetProductTypeArgs{
Filters: []outscale.GetProductTypeFilter{
{
Name: "product_type_ids",
Values: []string{
"0001",
},
},
},
}, 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 productType01 = Outscale.GetProductType.Invoke(new()
{
Filters = new[]
{
new Outscale.Inputs.GetProductTypeFilterInputArgs
{
Name = "product_type_ids",
Values = new[]
{
"0001",
},
},
},
});
});
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.GetProductTypeArgs;
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 productType01 = OutscaleFunctions.getProductType(GetProductTypeArgs.builder()
.filters(GetProductTypeFilterArgs.builder()
.name("product_type_ids")
.values("0001")
.build())
.build());
}
}
variables:
productType01:
fn::invoke:
function: outscale:getProductType
arguments:
filters:
- name: product_type_ids
values:
- '0001'
Using getProductType
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 getProductType(args: GetProductTypeArgs, opts?: InvokeOptions): Promise<GetProductTypeResult>
function getProductTypeOutput(args: GetProductTypeOutputArgs, opts?: InvokeOptions): Output<GetProductTypeResult>def get_product_type(filters: Optional[Sequence[GetProductTypeFilter]] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProductTypeResult
def get_product_type_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetProductTypeFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProductTypeResult]func GetProductType(ctx *Context, args *GetProductTypeArgs, opts ...InvokeOption) (*GetProductTypeResult, error)
func GetProductTypeOutput(ctx *Context, args *GetProductTypeOutputArgs, opts ...InvokeOption) GetProductTypeResultOutput> Note: This function is named GetProductType in the Go SDK.
public static class GetProductType
{
public static Task<GetProductTypeResult> InvokeAsync(GetProductTypeArgs args, InvokeOptions? opts = null)
public static Output<GetProductTypeResult> Invoke(GetProductTypeInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProductTypeResult> getProductType(GetProductTypeArgs args, InvokeOptions options)
public static Output<GetProductTypeResult> getProductType(GetProductTypeArgs args, InvokeOptions options)
fn::invoke:
function: outscale:index/getProductType:getProductType
arguments:
# arguments dictionaryThe following arguments are supported:
- Filters
List<Get
Product Type 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
Product Type 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
Product Type 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
Product Type 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
Product Type 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
getProductType Result
The following output properties are available:
- Description string
- The description of the product type.
- Id string
- Product
Type stringId - The ID of the product type.
- Request
Id string - Vendor string
- The vendor of the product type.
- Filters
List<Get
Product Type Filter>
- Description string
- The description of the product type.
- Id string
- Product
Type stringId - The ID of the product type.
- Request
Id string - Vendor string
- The vendor of the product type.
- Filters
[]Get
Product Type Filter
- description String
- The description of the product type.
- id String
- product
Type StringId - The ID of the product type.
- request
Id String - vendor String
- The vendor of the product type.
- filters
List<Get
Product Type Filter>
- description string
- The description of the product type.
- id string
- product
Type stringId - The ID of the product type.
- request
Id string - vendor string
- The vendor of the product type.
- filters
Get
Product Type Filter[]
- description str
- The description of the product type.
- id str
- product_
type_ strid - The ID of the product type.
- request_
id str - vendor str
- The vendor of the product type.
- filters
Sequence[Get
Product Type Filter]
- description String
- The description of the product type.
- id String
- product
Type StringId - The ID of the product type.
- request
Id String - vendor String
- The vendor of the product type.
- filters List<Property Map>
Supporting Types
GetProductTypeFilter
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
