harness logo
Harness v0.0.5, Oct 31 22

harness.getGitConnector

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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: harness:index/getGitConnector:getGitConnector
  arguments:
    # arguments dictionary

The following arguments are supported:

Id string

Id of the git connector.

Name string

The name of the git connector.

Id string

Id of the git connector.

Name string

The name of the git connector.

id String

Id of the git connector.

name String

The name of the git connector.

id string

Id of the git connector.

name string

The name of the git connector.

id str

Id of the git connector.

name str

The name of the git connector.

id String

Id of the git connector.

name String

The name of the git connector.

getGitConnector Result

The following output properties are available:

Branch string

The branch of the git connector to use.

CommitDetails List<Lbrlabs.PulumiPackage.Harness.Outputs.GetGitConnectorCommitDetail>

Custom details to use when making commits using this git connector.

CreatedAt string

The time the git connector was created.

DelegateSelectors List<string>

Delegate selectors to apply to this git connector.

GenerateWebhookUrl bool

Boolean indicating whether or not to generate a webhook url.

PasswordSecretId string

The id of the secret for connecting to the git repository.

SshSettingId string

The id of the SSH secret to use.

Url string

The url of the git repository or account/organization.

UrlType string

The type of git url being used. Options are ACCOUNT, and REPO.

Username string

The name of the user used to connect to the git repository.

WebhookUrl 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.

CommitDetails []GetGitConnectorCommitDetail

Custom details to use when making commits using this git connector.

CreatedAt string

The time the git connector was created.

DelegateSelectors []string

Delegate selectors to apply to this git connector.

GenerateWebhookUrl bool

Boolean indicating whether or not to generate a webhook url.

PasswordSecretId string

The id of the secret for connecting to the git repository.

SshSettingId string

The id of the SSH secret to use.

Url string

The url of the git repository or account/organization.

UrlType string

The type of git url being used. Options are ACCOUNT, and REPO.

Username string

The name of the user used to connect to the git repository.

WebhookUrl 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.

commitDetails List<GetGitConnectorCommitDetail>

Custom details to use when making commits using this git connector.

createdAt String

The time the git connector was created.

delegateSelectors List<String>

Delegate selectors to apply to this git connector.

generateWebhookUrl Boolean

Boolean indicating whether or not to generate a webhook url.

passwordSecretId String

The id of the secret for connecting to the git repository.

sshSettingId String

The id of the SSH secret to use.

url String

The url of the git repository or account/organization.

urlType String

The type of git url being used. Options are ACCOUNT, and REPO.

username String

The name of the user used to connect to the git repository.

webhookUrl 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.

commitDetails GetGitConnectorCommitDetail[]

Custom details to use when making commits using this git connector.

createdAt string

The time the git connector was created.

delegateSelectors string[]

Delegate selectors to apply to this git connector.

generateWebhookUrl boolean

Boolean indicating whether or not to generate a webhook url.

passwordSecretId string

The id of the secret for connecting to the git repository.

sshSettingId string

The id of the SSH secret to use.

url string

The url of the git repository or account/organization.

urlType string

The type of git url being used. Options are ACCOUNT, and REPO.

username string

The name of the user used to connect to the git repository.

webhookUrl 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[GetGitConnectorCommitDetail]

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_url bool

Boolean indicating whether or not to generate a webhook url.

password_secret_id str

The id of the secret for connecting to the git repository.

ssh_setting_id str

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, and REPO.

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.

commitDetails List<Property Map>

Custom details to use when making commits using this git connector.

createdAt String

The time the git connector was created.

delegateSelectors List<String>

Delegate selectors to apply to this git connector.

generateWebhookUrl Boolean

Boolean indicating whether or not to generate a webhook url.

passwordSecretId String

The id of the secret for connecting to the git repository.

sshSettingId String

The id of the SSH secret to use.

url String

The url of the git repository or account/organization.

urlType String

The type of git url being used. Options are ACCOUNT, and REPO.

username String

The name of the user used to connect to the git repository.

webhookUrl String

The generated webhook url.

id String

Id of the git connector.

name String

The name of the git connector.

Supporting Types

GetGitConnectorCommitDetail

AuthorEmailId string
AuthorName string
Message string
AuthorEmailId string
AuthorName string
Message string
authorEmailId String
authorName String
message String
authorEmailId string
authorName string
message string
authorEmailId String
authorName String
message String

Package Details

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

This Pulumi package is based on the harness Terraform Provider.