harness.platform.getGitopsRepository
Using getGitopsRepository
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 getGitopsRepository(args: GetGitopsRepositoryArgs, opts?: InvokeOptions): Promise<GetGitopsRepositoryResult>
function getGitopsRepositoryOutput(args: GetGitopsRepositoryOutputArgs, opts?: InvokeOptions): Output<GetGitopsRepositoryResult>
def get_gitops_repository(account_id: Optional[str] = None,
agent_id: Optional[str] = None,
creds_only: Optional[bool] = None,
identifier: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
query_force_refresh: Optional[bool] = None,
query_project: Optional[str] = None,
query_repo: Optional[str] = None,
repos: Optional[Sequence[GetGitopsRepositoryRepo]] = None,
update_masks: Optional[Sequence[GetGitopsRepositoryUpdateMask]] = None,
upsert: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetGitopsRepositoryResult
def get_gitops_repository_output(account_id: Optional[pulumi.Input[str]] = None,
agent_id: Optional[pulumi.Input[str]] = None,
creds_only: Optional[pulumi.Input[bool]] = None,
identifier: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
query_force_refresh: Optional[pulumi.Input[bool]] = None,
query_project: Optional[pulumi.Input[str]] = None,
query_repo: Optional[pulumi.Input[str]] = None,
repos: Optional[pulumi.Input[Sequence[pulumi.Input[GetGitopsRepositoryRepoArgs]]]] = None,
update_masks: Optional[pulumi.Input[Sequence[pulumi.Input[GetGitopsRepositoryUpdateMaskArgs]]]] = None,
upsert: Optional[pulumi.Input[bool]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGitopsRepositoryResult]
func GetGitopsRepository(ctx *Context, args *GetGitopsRepositoryArgs, opts ...InvokeOption) (*GetGitopsRepositoryResult, error)
func GetGitopsRepositoryOutput(ctx *Context, args *GetGitopsRepositoryOutputArgs, opts ...InvokeOption) GetGitopsRepositoryResultOutput
> Note: This function is named GetGitopsRepository
in the Go SDK.
public static class GetGitopsRepository
{
public static Task<GetGitopsRepositoryResult> InvokeAsync(GetGitopsRepositoryArgs args, InvokeOptions? opts = null)
public static Output<GetGitopsRepositoryResult> Invoke(GetGitopsRepositoryInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGitopsRepositoryResult> getGitopsRepository(GetGitopsRepositoryArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: harness:platform/getGitopsRepository:getGitopsRepository
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Id string - Identifier string
- Project
Id string - Repos
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Get Gitops Repository Repo> - Agent
Id string - Creds
Only bool - Org
Id string - Query
Force boolRefresh - Query
Project string - Query
Repo string - Update
Masks List<Lbrlabs.Pulumi Package. Harness. Platform. Inputs. Get Gitops Repository Update Mask> - Upsert bool
- Account
Id string - Identifier string
- Project
Id string - Repos
[]Get
Gitops Repository Repo - Agent
Id string - Creds
Only bool - Org
Id string - Query
Force boolRefresh - Query
Project string - Query
Repo string - Update
Masks []GetGitops Repository Update Mask - Upsert bool
- account
Id String - identifier String
- project
Id String - repos
List<Get
Gitops Repository Repo> - agent
Id String - creds
Only Boolean - org
Id String - query
Force BooleanRefresh - query
Project String - query
Repo String - update
Masks List<GetGitops Repository Update Mask> - upsert Boolean
- account
Id string - identifier string
- project
Id string - repos
Get
Gitops Repository Repo[] - agent
Id string - creds
Only boolean - org
Id string - query
Force booleanRefresh - query
Project string - query
Repo string - update
Masks GetGitops Repository Update Mask[] - upsert boolean
- account
Id String - identifier String
- project
Id String - repos List<Property Map>
- agent
Id String - creds
Only Boolean - org
Id String - query
Force BooleanRefresh - query
Project String - query
Repo String - update
Masks List<Property Map> - upsert Boolean
getGitopsRepository Result
The following output properties are available:
- Account
Id string - Id string
The provider-assigned unique ID for this managed resource.
- Identifier string
- Project
Id string - Repos
List<Lbrlabs.
Pulumi Package. Harness. Platform. Outputs. Get Gitops Repository Repo> - Agent
Id string - Creds
Only bool - Org
Id string - Query
Force boolRefresh - Query
Project string - Query
Repo string - Update
Masks List<Lbrlabs.Pulumi Package. Harness. Platform. Outputs. Get Gitops Repository Update Mask> - Upsert bool
- Account
Id string - Id string
The provider-assigned unique ID for this managed resource.
- Identifier string
- Project
Id string - Repos
[]Get
Gitops Repository Repo - Agent
Id string - Creds
Only bool - Org
Id string - Query
Force boolRefresh - Query
Project string - Query
Repo string - Update
Masks []GetGitops Repository Update Mask - Upsert bool
- account
Id String - id String
The provider-assigned unique ID for this managed resource.
- identifier String
- project
Id String - repos
List<Get
Gitops Repository Repo> - agent
Id String - creds
Only Boolean - org
Id String - query
Force BooleanRefresh - query
Project String - query
Repo String - update
Masks List<GetGitops Repository Update Mask> - upsert Boolean
- account
Id string - id string
The provider-assigned unique ID for this managed resource.
- identifier string
- project
Id string - repos
Get
Gitops Repository Repo[] - agent
Id string - creds
Only boolean - org
Id string - query
Force booleanRefresh - query
Project string - query
Repo string - update
Masks GetGitops Repository Update Mask[] - upsert boolean
- account_
id str - id str
The provider-assigned unique ID for this managed resource.
- identifier str
- project_
id str - repos
Sequence[Get
Gitops Repository Repo] - agent_
id str - creds_
only bool - org_
id str - query_
force_ boolrefresh - query_
project str - query_
repo str - update_
masks Sequence[GetGitops Repository Update Mask] - upsert bool
- account
Id String - id String
The provider-assigned unique ID for this managed resource.
- identifier String
- project
Id String - repos List<Property Map>
- agent
Id String - creds
Only Boolean - org
Id String - query
Force BooleanRefresh - query
Project String - query
Repo String - update
Masks List<Property Map> - upsert Boolean
Supporting Types
GetGitopsRepositoryRepo
- Connection
Type string - Project string
- Repo string
- Type_ string
- Enable
Lfs bool - Enable
Oci bool - Github
App stringEnterprise Base Url - Github
App stringId - Github
App stringInstallation Id - Github
App stringPrivate Key - Inherited
Creds bool - Insecure bool
- Insecure
Ignore boolHost Key - Name string
- Password string
- Proxy string
- Ssh
Private stringKey - Tls
Client stringCert Data - Tls
Client stringCert Key - Username string
- Connection
Type string - Project string
- Repo string
- Type_ string
- Enable
Lfs bool - Enable
Oci bool - Github
App stringEnterprise Base Url - Github
App stringId - Github
App stringInstallation Id - Github
App stringPrivate Key - Inherited
Creds bool - Insecure bool
- Insecure
Ignore boolHost Key - Name string
- Password string
- Proxy string
- Ssh
Private stringKey - Tls
Client stringCert Data - Tls
Client stringCert Key - Username string
- connection
Type String - project String
- repo String
- type_ String
- enable
Lfs Boolean - enable
Oci Boolean - github
App StringEnterprise Base Url - github
App StringId - github
App StringInstallation Id - github
App StringPrivate Key - inherited
Creds Boolean - insecure Boolean
- insecure
Ignore BooleanHost Key - name String
- password String
- proxy String
- ssh
Private StringKey - tls
Client StringCert Data - tls
Client StringCert Key - username String
- connection
Type string - project string
- repo string
- type_ string
- enable
Lfs boolean - enable
Oci boolean - github
App stringEnterprise Base Url - github
App stringId - github
App stringInstallation Id - github
App stringPrivate Key - inherited
Creds boolean - insecure boolean
- insecure
Ignore booleanHost Key - name string
- password string
- proxy string
- ssh
Private stringKey - tls
Client stringCert Data - tls
Client stringCert Key - username string
- connection_
type str - project str
- repo str
- type_ str
- enable_
lfs bool - enable_
oci bool - github_
app_ strenterprise_ base_ url - github_
app_ strid - github_
app_ strinstallation_ id - github_
app_ strprivate_ key - inherited_
creds bool - insecure bool
- insecure_
ignore_ boolhost_ key - name str
- password str
- proxy str
- ssh_
private_ strkey - tls_
client_ strcert_ data - tls_
client_ strcert_ key - username str
- connection
Type String - project String
- repo String
- type_ String
- enable
Lfs Boolean - enable
Oci Boolean - github
App StringEnterprise Base Url - github
App StringId - github
App StringInstallation Id - github
App StringPrivate Key - inherited
Creds Boolean - insecure Boolean
- insecure
Ignore BooleanHost Key - name String
- password String
- proxy String
- ssh
Private StringKey - tls
Client StringCert Data - tls
Client StringCert Key - username String
GetGitopsRepositoryUpdateMask
- Paths List<string>
- Paths []string
- paths List<String>
- paths string[]
- paths Sequence[str]
- paths List<String>
Package Details
- Repository
- harness lbrlabs/pulumi-harness
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
harness
Terraform Provider.