1. Packages
  2. Harness
  3. API Docs
  4. getApplication
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

harness.getApplication

Explore with Pulumi AI

harness logo
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

    Data source for retrieving a Harness application

    Using getApplication

    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 getApplication(args: GetApplicationArgs, opts?: InvokeOptions): Promise<GetApplicationResult>
    function getApplicationOutput(args: GetApplicationOutputArgs, opts?: InvokeOptions): Output<GetApplicationResult>
    def get_application(description: Optional[str] = None,
                        git_sync_connector_id: Optional[str] = None,
                        git_sync_enabled: Optional[bool] = None,
                        id: Optional[str] = None,
                        is_manual_trigger_authorized: Optional[bool] = None,
                        name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetApplicationResult
    def get_application_output(description: Optional[pulumi.Input[str]] = None,
                        git_sync_connector_id: Optional[pulumi.Input[str]] = None,
                        git_sync_enabled: Optional[pulumi.Input[bool]] = None,
                        id: Optional[pulumi.Input[str]] = None,
                        is_manual_trigger_authorized: Optional[pulumi.Input[bool]] = None,
                        name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetApplicationResult]
    func LookupApplication(ctx *Context, args *LookupApplicationArgs, opts ...InvokeOption) (*LookupApplicationResult, error)
    func LookupApplicationOutput(ctx *Context, args *LookupApplicationOutputArgs, opts ...InvokeOption) LookupApplicationResultOutput

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

    public static class GetApplication 
    {
        public static Task<GetApplicationResult> InvokeAsync(GetApplicationArgs args, InvokeOptions? opts = null)
        public static Output<GetApplicationResult> Invoke(GetApplicationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetApplicationResult> getApplication(GetApplicationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: harness:index/getApplication:getApplication
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Description string

    The application description

    GitSyncConnectorId string

    The id of the git sync connector

    GitSyncEnabled bool

    True if git sync is enabled on this application

    Id string

    Unique identifier of the application

    IsManualTriggerAuthorized bool

    When this is set to true, all manual triggers will require API Key authorization

    Name string

    The name of the application

    Description string

    The application description

    GitSyncConnectorId string

    The id of the git sync connector

    GitSyncEnabled bool

    True if git sync is enabled on this application

    Id string

    Unique identifier of the application

    IsManualTriggerAuthorized bool

    When this is set to true, all manual triggers will require API Key authorization

    Name string

    The name of the application

    description String

    The application description

    gitSyncConnectorId String

    The id of the git sync connector

    gitSyncEnabled Boolean

    True if git sync is enabled on this application

    id String

    Unique identifier of the application

    isManualTriggerAuthorized Boolean

    When this is set to true, all manual triggers will require API Key authorization

    name String

    The name of the application

    description string

    The application description

    gitSyncConnectorId string

    The id of the git sync connector

    gitSyncEnabled boolean

    True if git sync is enabled on this application

    id string

    Unique identifier of the application

    isManualTriggerAuthorized boolean

    When this is set to true, all manual triggers will require API Key authorization

    name string

    The name of the application

    description str

    The application description

    git_sync_connector_id str

    The id of the git sync connector

    git_sync_enabled bool

    True if git sync is enabled on this application

    id str

    Unique identifier of the application

    is_manual_trigger_authorized bool

    When this is set to true, all manual triggers will require API Key authorization

    name str

    The name of the application

    description String

    The application description

    gitSyncConnectorId String

    The id of the git sync connector

    gitSyncEnabled Boolean

    True if git sync is enabled on this application

    id String

    Unique identifier of the application

    isManualTriggerAuthorized Boolean

    When this is set to true, all manual triggers will require API Key authorization

    name String

    The name of the application

    getApplication Result

    The following output properties are available:

    Description string

    The application description

    GitSyncConnectorId string

    The id of the git sync connector

    GitSyncEnabled bool

    True if git sync is enabled on this application

    Id string

    Unique identifier of the application

    IsManualTriggerAuthorized bool

    When this is set to true, all manual triggers will require API Key authorization

    Name string

    The name of the application

    Description string

    The application description

    GitSyncConnectorId string

    The id of the git sync connector

    GitSyncEnabled bool

    True if git sync is enabled on this application

    Id string

    Unique identifier of the application

    IsManualTriggerAuthorized bool

    When this is set to true, all manual triggers will require API Key authorization

    Name string

    The name of the application

    description String

    The application description

    gitSyncConnectorId String

    The id of the git sync connector

    gitSyncEnabled Boolean

    True if git sync is enabled on this application

    id String

    Unique identifier of the application

    isManualTriggerAuthorized Boolean

    When this is set to true, all manual triggers will require API Key authorization

    name String

    The name of the application

    description string

    The application description

    gitSyncConnectorId string

    The id of the git sync connector

    gitSyncEnabled boolean

    True if git sync is enabled on this application

    id string

    Unique identifier of the application

    isManualTriggerAuthorized boolean

    When this is set to true, all manual triggers will require API Key authorization

    name string

    The name of the application

    description str

    The application description

    git_sync_connector_id str

    The id of the git sync connector

    git_sync_enabled bool

    True if git sync is enabled on this application

    id str

    Unique identifier of the application

    is_manual_trigger_authorized bool

    When this is set to true, all manual triggers will require API Key authorization

    name str

    The name of the application

    description String

    The application description

    gitSyncConnectorId String

    The id of the git sync connector

    gitSyncEnabled Boolean

    True if git sync is enabled on this application

    id String

    Unique identifier of the application

    isManualTriggerAuthorized Boolean

    When this is set to true, all manual triggers will require API Key authorization

    name String

    The name of the application

    Package Details

    Repository
    harness lbrlabs/pulumi-harness
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the harness Terraform Provider.

    harness logo
    Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs