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

awx.getProjectRole

Explore with Pulumi AI

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

    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:

    ProjectId double
    The ID of the project to reference for the named role
    Id double
    Name string
    ProjectId float64
    The ID of the project to reference for the named role
    Id float64
    Name string
    projectId Double
    The ID of the project to reference for the named role
    id Double
    name String
    projectId number
    The ID of the project to reference for the named role
    id number
    name string
    project_id float
    The ID of the project to reference for the named role
    id float
    name str
    projectId Number
    The ID of the project to reference for the named role
    id Number
    name String

    getProjectRole Result

    The following output properties are available:

    Id double
    Name string
    ProjectId double
    Id float64
    Name string
    ProjectId float64
    id Double
    name String
    projectId Double
    id number
    name string
    projectId number
    id float
    name str
    project_id float
    id Number
    name String
    projectId Number

    Package Details

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