awx 0.29.1 published on Monday, Apr 14, 2025 by denouche
awx.getProjectRole
Explore with Pulumi AI
TBD
Using getProjectRole
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 getProjectRole(args: GetProjectRoleArgs, opts?: InvokeOptions): Promise<GetProjectRoleResult>
function getProjectRoleOutput(args: GetProjectRoleOutputArgs, opts?: InvokeOptions): Output<GetProjectRoleResult>
def get_project_role(id: Optional[float] = None,
name: Optional[str] = None,
project_id: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetProjectRoleResult
def get_project_role_output(id: Optional[pulumi.Input[float]] = None,
name: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProjectRoleResult]
func GetProjectRole(ctx *Context, args *GetProjectRoleArgs, opts ...InvokeOption) (*GetProjectRoleResult, error)
func GetProjectRoleOutput(ctx *Context, args *GetProjectRoleOutputArgs, opts ...InvokeOption) GetProjectRoleResultOutput
> Note: This function is named GetProjectRole
in the Go SDK.
public static class GetProjectRole
{
public static Task<GetProjectRoleResult> InvokeAsync(GetProjectRoleArgs args, InvokeOptions? opts = null)
public static Output<GetProjectRoleResult> Invoke(GetProjectRoleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetProjectRoleResult> getProjectRole(GetProjectRoleArgs args, InvokeOptions options)
public static Output<GetProjectRoleResult> getProjectRole(GetProjectRoleArgs args, InvokeOptions options)
fn::invoke:
function: awx:index/getProjectRole:getProjectRole
arguments:
# arguments dictionary
The following arguments are supported:
- project_
id float - The ID of the project to reference for the named role
- id float
- name str
getProjectRole Result
The following output properties are available:
- id float
- name str
- project_
id float
Package Details
- Repository
- awx denouche/terraform-provider-awx
- License
- Notes
- This Pulumi package is based on the
awx
Terraform Provider.