awx 0.29.1 published on Monday, Apr 14, 2025 by denouche
awx.getInventoryRole
Explore with Pulumi AI
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>
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]
func GetInventoryRole(ctx *Context, args *GetInventoryRoleArgs, opts ...InvokeOption) (*GetInventoryRoleResult, error)
func GetInventoryRoleOutput(ctx *Context, args *GetInventoryRoleOutputArgs, opts ...InvokeOption) GetInventoryRoleResultOutput
> 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)
}
public static CompletableFuture<GetInventoryRoleResult> getInventoryRole(GetInventoryRoleArgs args, InvokeOptions options)
public static Output<GetInventoryRoleResult> getInventoryRole(GetInventoryRoleArgs args, InvokeOptions options)
fn::invoke:
function: awx:index/getInventoryRole:getInventoryRole
arguments:
# arguments dictionary
The following arguments are supported:
- Inventory
Id double - ID of the inventory to reference for inventory roles
- Id double
- Name string
- Inventory
Id float64 - ID of the inventory to reference for inventory roles
- Id float64
- Name string
- inventory
Id Double - ID of the inventory to reference for inventory roles
- id Double
- name String
- inventory
Id number - ID of the inventory to reference for inventory roles
- id number
- name string
- inventory_
id float - ID of the inventory to reference for inventory roles
- id float
- name str
- inventory
Id Number - ID of the inventory to reference for inventory roles
- id Number
- name String
getInventoryRole 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
awx
Terraform Provider.