1. Packages
  2. Awx Provider
  3. API Docs
  4. getInventoryRole
awx 0.29.1 published on Monday, Apr 14, 2025 by denouche

awx.getInventoryRole

Explore with Pulumi AI

awx 0.29.1 published on Monday, Apr 14, 2025 by denouche

TBD

Using getInventoryRole

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 getInventoryRole(args: GetInventoryRoleArgs, opts?: InvokeOptions): Promise<GetInventoryRoleResult>
function getInventoryRoleOutput(args: GetInventoryRoleOutputArgs, opts?: InvokeOptions): Output<GetInventoryRoleResult>
Copy
def get_inventory_role(id: Optional[float] = None,
                       inventory_id: Optional[float] = None,
                       name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetInventoryRoleResult
def get_inventory_role_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[GetInventoryRoleResult]
Copy
func GetInventoryRole(ctx *Context, args *GetInventoryRoleArgs, opts ...InvokeOption) (*GetInventoryRoleResult, error)
func GetInventoryRoleOutput(ctx *Context, args *GetInventoryRoleOutputArgs, opts ...InvokeOption) GetInventoryRoleResultOutput
Copy

> Note: This function is named GetInventoryRole in the Go SDK.

public static class GetInventoryRole 
{
    public static Task<GetInventoryRoleResult> InvokeAsync(GetInventoryRoleArgs args, InvokeOptions? opts = null)
    public static Output<GetInventoryRoleResult> Invoke(GetInventoryRoleInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetInventoryRoleResult> getInventoryRole(GetInventoryRoleArgs args, InvokeOptions options)
public static Output<GetInventoryRoleResult> getInventoryRole(GetInventoryRoleArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: awx:index/getInventoryRole:getInventoryRole
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

InventoryId This property is required. double
ID of the inventory to reference for inventory roles
Id double
Name string
InventoryId This property is required. float64
ID of the inventory to reference for inventory roles
Id float64
Name string
inventoryId This property is required. Double
ID of the inventory to reference for inventory roles
id Double
name String
inventoryId This property is required. number
ID of the inventory to reference for inventory roles
id number
name string
inventory_id This property is required. float
ID of the inventory to reference for inventory roles
id float
name str
inventoryId This property is required. Number
ID of the inventory to reference for inventory roles
id Number
name String

getInventoryRole Result

The following output properties are available:

Id double
InventoryId double
Name string
Id float64
InventoryId float64
Name string
id Double
inventoryId Double
name String
id number
inventoryId number
name string
id float
inventory_id float
name str
id Number
inventoryId Number
name String

Package Details

Repository
awx denouche/terraform-provider-awx
License
Notes
This Pulumi package is based on the awx Terraform Provider.
awx 0.29.1 published on Monday, Apr 14, 2025 by denouche