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

awx.getCredential

Explore with Pulumi AI

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

    Use this data source to query Credential by ID.

    Using getCredential

    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 getCredential(args: GetCredentialArgs, opts?: InvokeOptions): Promise<GetCredentialResult>
    function getCredentialOutput(args: GetCredentialOutputArgs, opts?: InvokeOptions): Output<GetCredentialResult>
    def get_credential(id: Optional[float] = None,
                       opts: Optional[InvokeOptions] = None) -> GetCredentialResult
    def get_credential_output(id: Optional[pulumi.Input[float]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetCredentialResult]
    func LookupCredential(ctx *Context, args *LookupCredentialArgs, opts ...InvokeOption) (*LookupCredentialResult, error)
    func LookupCredentialOutput(ctx *Context, args *LookupCredentialOutputArgs, opts ...InvokeOption) LookupCredentialResultOutput

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

    public static class GetCredential 
    {
        public static Task<GetCredentialResult> InvokeAsync(GetCredentialArgs args, InvokeOptions? opts = null)
        public static Output<GetCredentialResult> Invoke(GetCredentialInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCredentialResult> getCredential(GetCredentialArgs args, InvokeOptions options)
    public static Output<GetCredentialResult> getCredential(GetCredentialArgs args, InvokeOptions options)
    
    fn::invoke:
      function: awx:index/getCredential:getCredential
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id double
    Id float64
    id Double
    id number
    id float
    id Number

    getCredential Result

    The following output properties are available:

    Description string
    Id double
    Kind string
    Name string
    TowerId double
    Username string
    Description string
    Id float64
    Kind string
    Name string
    TowerId float64
    Username string
    description String
    id Double
    kind String
    name String
    towerId Double
    username String
    description string
    id number
    kind string
    name string
    towerId number
    username string
    description str
    id float
    kind str
    name str
    tower_id float
    username str
    description String
    id Number
    kind String
    name String
    towerId Number
    username String

    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