Viewing docs for Harness v0.11.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
Viewing docs for Harness v0.11.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
Data source for retrieving a Harness application
Using getGitConnector
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 getGitConnector(args: GetGitConnectorArgs, opts?: InvokeOptions): Promise<GetGitConnectorResult>
function getGitConnectorOutput(args: GetGitConnectorOutputArgs, opts?: InvokeOptions): Output<GetGitConnectorResult>def get_git_connector(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGitConnectorResult
def get_git_connector_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGitConnectorResult]func LookupGitConnector(ctx *Context, args *LookupGitConnectorArgs, opts ...InvokeOption) (*LookupGitConnectorResult, error)
func LookupGitConnectorOutput(ctx *Context, args *LookupGitConnectorOutputArgs, opts ...InvokeOption) LookupGitConnectorResultOutput> Note: This function is named LookupGitConnector in the Go SDK.
public static class GetGitConnector
{
public static Task<GetGitConnectorResult> InvokeAsync(GetGitConnectorArgs args, InvokeOptions? opts = null)
public static Output<GetGitConnectorResult> Invoke(GetGitConnectorInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGitConnectorResult> getGitConnector(GetGitConnectorArgs args, InvokeOptions options)
public static Output<GetGitConnectorResult> getGitConnector(GetGitConnectorArgs args, InvokeOptions options)
fn::invoke:
function: harness:index/getGitConnector:getGitConnector
arguments:
# arguments dictionaryThe following arguments are supported:
getGitConnector Result
The following output properties are available:
- Branch string
- The branch of the git connector to use.
- Commit
Details List<GetGit Connector Commit Detail> - Custom details to use when making commits using this git connector.
- Created
At string - The time the git connector was created.
- Delegate
Selectors List<string> - Delegate selectors to apply to this git connector.
- Generate
Webhook boolUrl - Boolean indicating whether or not to generate a webhook url.
- Password
Secret stringId - The id of the secret for connecting to the git repository.
- Ssh
Setting stringId - The id of the SSH secret to use.
- Url string
- The URL of the git repository or account/organization.
- Url
Type string - The type of git url being used. Options are
ACCOUNT, andREPO. - Username string
- The name of the user used to connect to the git repository.
- Webhook
Url string - The generated webhook url.
- Id string
- Id of the git connector.
- Name string
- The name of the git connector.
- Branch string
- The branch of the git connector to use.
- Commit
Details []GetGit Connector Commit Detail - Custom details to use when making commits using this git connector.
- Created
At string - The time the git connector was created.
- Delegate
Selectors []string - Delegate selectors to apply to this git connector.
- Generate
Webhook boolUrl - Boolean indicating whether or not to generate a webhook url.
- Password
Secret stringId - The id of the secret for connecting to the git repository.
- Ssh
Setting stringId - The id of the SSH secret to use.
- Url string
- The URL of the git repository or account/organization.
- Url
Type string - The type of git url being used. Options are
ACCOUNT, andREPO. - Username string
- The name of the user used to connect to the git repository.
- Webhook
Url string - The generated webhook url.
- Id string
- Id of the git connector.
- Name string
- The name of the git connector.
- branch String
- The branch of the git connector to use.
- commit
Details List<GetGit Connector Commit Detail> - Custom details to use when making commits using this git connector.
- created
At String - The time the git connector was created.
- delegate
Selectors List<String> - Delegate selectors to apply to this git connector.
- generate
Webhook BooleanUrl - Boolean indicating whether or not to generate a webhook url.
- password
Secret StringId - The id of the secret for connecting to the git repository.
- ssh
Setting StringId - The id of the SSH secret to use.
- url String
- The URL of the git repository or account/organization.
- url
Type String - The type of git url being used. Options are
ACCOUNT, andREPO. - username String
- The name of the user used to connect to the git repository.
- webhook
Url String - The generated webhook url.
- id String
- Id of the git connector.
- name String
- The name of the git connector.
- branch string
- The branch of the git connector to use.
- commit
Details GetGit Connector Commit Detail[] - Custom details to use when making commits using this git connector.
- created
At string - The time the git connector was created.
- delegate
Selectors string[] - Delegate selectors to apply to this git connector.
- generate
Webhook booleanUrl - Boolean indicating whether or not to generate a webhook url.
- password
Secret stringId - The id of the secret for connecting to the git repository.
- ssh
Setting stringId - The id of the SSH secret to use.
- url string
- The URL of the git repository or account/organization.
- url
Type string - The type of git url being used. Options are
ACCOUNT, andREPO. - username string
- The name of the user used to connect to the git repository.
- webhook
Url string - The generated webhook url.
- id string
- Id of the git connector.
- name string
- The name of the git connector.
- branch str
- The branch of the git connector to use.
- commit_
details Sequence[GetGit Connector Commit Detail] - Custom details to use when making commits using this git connector.
- created_
at str - The time the git connector was created.
- delegate_
selectors Sequence[str] - Delegate selectors to apply to this git connector.
- generate_
webhook_ boolurl - Boolean indicating whether or not to generate a webhook url.
- password_
secret_ strid - The id of the secret for connecting to the git repository.
- ssh_
setting_ strid - The id of the SSH secret to use.
- url str
- The URL of the git repository or account/organization.
- url_
type str - The type of git url being used. Options are
ACCOUNT, andREPO. - username str
- The name of the user used to connect to the git repository.
- webhook_
url str - The generated webhook url.
- id str
- Id of the git connector.
- name str
- The name of the git connector.
- branch String
- The branch of the git connector to use.
- commit
Details List<Property Map> - Custom details to use when making commits using this git connector.
- created
At String - The time the git connector was created.
- delegate
Selectors List<String> - Delegate selectors to apply to this git connector.
- generate
Webhook BooleanUrl - Boolean indicating whether or not to generate a webhook url.
- password
Secret StringId - The id of the secret for connecting to the git repository.
- ssh
Setting StringId - The id of the SSH secret to use.
- url String
- The URL of the git repository or account/organization.
- url
Type String - The type of git url being used. Options are
ACCOUNT, andREPO. - username String
- The name of the user used to connect to the git repository.
- webhook
Url String - The generated webhook url.
- id String
- Id of the git connector.
- name String
- The name of the git connector.
Supporting Types
GetGitConnectorCommitDetail
- string
- The email id of the author.
- string
- The name of the author.
- Message string
- Commit message.
- string
- The email id of the author.
- string
- The name of the author.
- Message string
- Commit message.
- String
- The email id of the author.
- String
- The name of the author.
- message String
- Commit message.
- string
- The email id of the author.
- string
- The name of the author.
- message string
- Commit message.
- str
- The email id of the author.
- str
- The name of the author.
- message str
- Commit message.
- String
- The email id of the author.
- String
- The name of the author.
- message String
- Commit message.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
Viewing docs for Harness v0.11.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
