Viewing docs for awx 0.29.1
published on Monday, Apr 14, 2025 by denouche
published on Monday, Apr 14, 2025 by denouche
Viewing docs for awx 0.29.1
published on Monday, Apr 14, 2025 by denouche
published on Monday, Apr 14, 2025 by denouche
TBD
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as awx from "@pulumi/awx";
const _default = awx.getInventoryGroup({
name: "k3sPrimary",
inventoryId: data.awx_inventory["default"].id,
});
import pulumi
import pulumi_awx as awx
default = awx.get_inventory_group(name="k3sPrimary",
inventory_id=data["awx_inventory"]["default"]["id"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/awx/awx"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := awx.LookupInventoryGroup(ctx, &awx.LookupInventoryGroupArgs{
Name: pulumi.StringRef("k3sPrimary"),
InventoryId: data.Awx_inventory.Default.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Awx = Pulumi.Awx;
return await Deployment.RunAsync(() =>
{
var @default = Awx.GetInventoryGroup.Invoke(new()
{
Name = "k3sPrimary",
InventoryId = data.Awx_inventory.Default.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.awx.AwxFunctions;
import com.pulumi.awx.inputs.GetInventoryGroupArgs;
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 default = AwxFunctions.getInventoryGroup(GetInventoryGroupArgs.builder()
.name("k3sPrimary")
.inventoryId(data.awx_inventory().default().id())
.build());
}
}
variables:
default:
fn::invoke:
function: awx:getInventoryGroup
arguments:
name: k3sPrimary
inventoryId: ${data.awx_inventory.default.id}
Using getInventoryGroup
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 getInventoryGroup(args: GetInventoryGroupArgs, opts?: InvokeOptions): Promise<GetInventoryGroupResult>
function getInventoryGroupOutput(args: GetInventoryGroupOutputArgs, opts?: InvokeOptions): Output<GetInventoryGroupResult>def get_inventory_group(id: Optional[float] = None,
inventory_id: Optional[float] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInventoryGroupResult
def get_inventory_group_output(id: Optional[pulumi.Input[float]] = None,
inventory_id: Optional[pulumi.Input[float]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInventoryGroupResult]func LookupInventoryGroup(ctx *Context, args *LookupInventoryGroupArgs, opts ...InvokeOption) (*LookupInventoryGroupResult, error)
func LookupInventoryGroupOutput(ctx *Context, args *LookupInventoryGroupOutputArgs, opts ...InvokeOption) LookupInventoryGroupResultOutput> Note: This function is named LookupInventoryGroup in the Go SDK.
public static class GetInventoryGroup
{
public static Task<GetInventoryGroupResult> InvokeAsync(GetInventoryGroupArgs args, InvokeOptions? opts = null)
public static Output<GetInventoryGroupResult> Invoke(GetInventoryGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInventoryGroupResult> getInventoryGroup(GetInventoryGroupArgs args, InvokeOptions options)
public static Output<GetInventoryGroupResult> getInventoryGroup(GetInventoryGroupArgs args, InvokeOptions options)
fn::invoke:
function: awx:index/getInventoryGroup:getInventoryGroup
arguments:
# arguments dictionaryThe following arguments are supported:
- Inventory
Id double - Id double
- Name string
- Inventory
Id float64 - Id float64
- Name string
- inventory
Id Double - id Double
- name String
- inventory
Id number - id number
- name string
- inventory_
id float - id float
- name str
- inventory
Id Number - id Number
- name String
getInventoryGroup Result
The following output properties are available:
- Id double
- Inventory
Id double - Name string
- Id float64
- Inventory
Id float64 - Name string
- id Double
- inventory
Id Double - name String
- id number
- inventory
Id number - name string
- id float
- inventory_
id float - name str
- id Number
- inventory
Id Number - name String
Package Details
- Repository
- awx denouche/terraform-provider-awx
- License
- Notes
- This Pulumi package is based on the
awxTerraform Provider.
Viewing docs for awx 0.29.1
published on Monday, Apr 14, 2025 by denouche
published on Monday, Apr 14, 2025 by denouche
