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:

getGitopsRepository Result

The following output properties are available:

AccountId string
Id string

The provider-assigned unique ID for this managed resource.

Identifier string
ProjectId string
Repos []GetGitopsRepositoryRepo
AgentId string
CredsOnly bool
OrgId string
QueryForceRefresh bool
QueryProject string
QueryRepo string
UpdateMasks []GetGitopsRepositoryUpdateMask
Upsert bool
accountId String
id String

The provider-assigned unique ID for this managed resource.

identifier String
projectId String
repos List<GetGitopsRepositoryRepo>
agentId String
credsOnly Boolean
orgId String
queryForceRefresh Boolean
queryProject String
queryRepo String
updateMasks List<GetGitopsRepositoryUpdateMask>
upsert Boolean
accountId string
id string

The provider-assigned unique ID for this managed resource.

identifier string
projectId string
repos GetGitopsRepositoryRepo[]
agentId string
credsOnly boolean
orgId string
queryForceRefresh boolean
queryProject string
queryRepo string
updateMasks GetGitopsRepositoryUpdateMask[]
upsert boolean
accountId String
id String

The provider-assigned unique ID for this managed resource.

identifier String
projectId String
repos List<Property Map>
agentId String
credsOnly Boolean
orgId String
queryForceRefresh Boolean
queryProject String
queryRepo String
updateMasks List<Property Map>
upsert Boolean

Supporting Types

GetGitopsRepositoryRepo

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.