Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi
harness.getApplication
Explore with Pulumi AI
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
- Git
Sync stringConnector Id - The id of the git sync connector
- Git
Sync boolEnabled - True if git sync is enabled on this application
- Id string
- Unique identifier of the application
- 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
- Git
Sync stringConnector Id - The id of the git sync connector
- Git
Sync boolEnabled - True if git sync is enabled on this application
- Id string
- Unique identifier of the application
- 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
- git
Sync StringConnector Id - The id of the git sync connector
- git
Sync BooleanEnabled - True if git sync is enabled on this application
- id String
- Unique identifier of the application
- 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
- git
Sync stringConnector Id - The id of the git sync connector
- git
Sync booleanEnabled - True if git sync is enabled on this application
- id string
- Unique identifier of the application
- 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_ strconnector_ id - The id of the git sync connector
- git_
sync_ boolenabled - True if git sync is enabled on this application
- id str
- Unique identifier of the application
- 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
- git
Sync StringConnector Id - The id of the git sync connector
- git
Sync BooleanEnabled - True if git sync is enabled on this application
- id String
- Unique identifier of the application
- 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
- Git
Sync stringConnector Id - The id of the git sync connector
- Git
Sync boolEnabled - True if git sync is enabled on this application
- Id string
- Unique identifier of the application
- 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
- Git
Sync stringConnector Id - The id of the git sync connector
- Git
Sync boolEnabled - True if git sync is enabled on this application
- Id string
- Unique identifier of the application
- 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
- git
Sync StringConnector Id - The id of the git sync connector
- git
Sync BooleanEnabled - True if git sync is enabled on this application
- id String
- Unique identifier of the application
- 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
- git
Sync stringConnector Id - The id of the git sync connector
- git
Sync booleanEnabled - True if git sync is enabled on this application
- id string
- Unique identifier of the application
- 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_ strconnector_ id - The id of the git sync connector
- git_
sync_ boolenabled - True if git sync is enabled on this application
- id str
- Unique identifier of the application
- 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
- git
Sync StringConnector Id - The id of the git sync connector
- git
Sync BooleanEnabled - True if git sync is enabled on this application
- id String
- Unique identifier of the application
- 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 pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harness
Terraform Provider.