harness.platform.GitOpsRepository

Create GitOpsRepository Resource

new GitOpsRepository(name: string, args: GitOpsRepositoryArgs, opts?: CustomResourceOptions);
@overload
def GitOpsRepository(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     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[GitOpsRepositoryRepoArgs]] = None,
                     update_masks: Optional[Sequence[GitOpsRepositoryUpdateMaskArgs]] = None,
                     upsert: Optional[bool] = None)
@overload
def GitOpsRepository(resource_name: str,
                     args: GitOpsRepositoryArgs,
                     opts: Optional[ResourceOptions] = None)
func NewGitOpsRepository(ctx *Context, name string, args GitOpsRepositoryArgs, opts ...ResourceOption) (*GitOpsRepository, error)
public GitOpsRepository(string name, GitOpsRepositoryArgs args, CustomResourceOptions? opts = null)
public GitOpsRepository(String name, GitOpsRepositoryArgs args)
public GitOpsRepository(String name, GitOpsRepositoryArgs args, CustomResourceOptions options)
type: harness:platform:GitOpsRepository
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args GitOpsRepositoryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args GitOpsRepositoryArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args GitOpsRepositoryArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args GitOpsRepositoryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args GitOpsRepositoryArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

GitOpsRepository Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The GitOpsRepository resource accepts the following input properties:

AccountId string

account identifier of the cluster.

Identifier string

identifier of the cluster.

ProjectId string

project identifier of the cluster.

Repos List<Lbrlabs.PulumiPackage.Harness.Platform.Inputs.GitOpsRepositoryRepoArgs>

Repo Details that need to be stored.

AgentId string

agent identifier of the cluster.

CredsOnly bool

Credentials only of the Repo.

OrgId string

organization identifier of the cluster.

QueryForceRefresh bool

Force refresh query for Repo.

QueryProject string

Project to Query for Repo.

QueryRepo string

Repo to Query.

UpdateMasks List<Lbrlabs.PulumiPackage.Harness.Platform.Inputs.GitOpsRepositoryUpdateMaskArgs>

Update mask of the Repository.

Upsert bool

Upsert the Repo Details.

AccountId string

account identifier of the cluster.

Identifier string

identifier of the cluster.

ProjectId string

project identifier of the cluster.

Repos []GitOpsRepositoryRepoArgs

Repo Details that need to be stored.

AgentId string

agent identifier of the cluster.

CredsOnly bool

Credentials only of the Repo.

OrgId string

organization identifier of the cluster.

QueryForceRefresh bool

Force refresh query for Repo.

QueryProject string

Project to Query for Repo.

QueryRepo string

Repo to Query.

UpdateMasks []GitOpsRepositoryUpdateMaskArgs

Update mask of the Repository.

Upsert bool

Upsert the Repo Details.

accountId String

account identifier of the cluster.

identifier String

identifier of the cluster.

projectId String

project identifier of the cluster.

repos List<GitOpsRepositoryRepoArgs>

Repo Details that need to be stored.

agentId String

agent identifier of the cluster.

credsOnly Boolean

Credentials only of the Repo.

orgId String

organization identifier of the cluster.

queryForceRefresh Boolean

Force refresh query for Repo.

queryProject String

Project to Query for Repo.

queryRepo String

Repo to Query.

updateMasks List<GitOpsRepositoryUpdateMaskArgs>

Update mask of the Repository.

upsert Boolean

Upsert the Repo Details.

accountId string

account identifier of the cluster.

identifier string

identifier of the cluster.

projectId string

project identifier of the cluster.

repos GitOpsRepositoryRepoArgs[]

Repo Details that need to be stored.

agentId string

agent identifier of the cluster.

credsOnly boolean

Credentials only of the Repo.

orgId string

organization identifier of the cluster.

queryForceRefresh boolean

Force refresh query for Repo.

queryProject string

Project to Query for Repo.

queryRepo string

Repo to Query.

updateMasks GitOpsRepositoryUpdateMaskArgs[]

Update mask of the Repository.

upsert boolean

Upsert the Repo Details.

account_id str

account identifier of the cluster.

identifier str

identifier of the cluster.

project_id str

project identifier of the cluster.

repos Sequence[GitOpsRepositoryRepoArgs]

Repo Details that need to be stored.

agent_id str

agent identifier of the cluster.

creds_only bool

Credentials only of the Repo.

org_id str

organization identifier of the cluster.

query_force_refresh bool

Force refresh query for Repo.

query_project str

Project to Query for Repo.

query_repo str

Repo to Query.

update_masks Sequence[GitOpsRepositoryUpdateMaskArgs]

Update mask of the Repository.

upsert bool

Upsert the Repo Details.

accountId String

account identifier of the cluster.

identifier String

identifier of the cluster.

projectId String

project identifier of the cluster.

repos List<Property Map>

Repo Details that need to be stored.

agentId String

agent identifier of the cluster.

credsOnly Boolean

Credentials only of the Repo.

orgId String

organization identifier of the cluster.

queryForceRefresh Boolean

Force refresh query for Repo.

queryProject String

Project to Query for Repo.

queryRepo String

Repo to Query.

updateMasks List<Property Map>

Update mask of the Repository.

upsert Boolean

Upsert the Repo Details.

Outputs

All input properties are implicitly available as output properties. Additionally, the GitOpsRepository resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing GitOpsRepository Resource

Get an existing GitOpsRepository resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: GitOpsRepositoryState, opts?: CustomResourceOptions): GitOpsRepository
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        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[GitOpsRepositoryRepoArgs]] = None,
        update_masks: Optional[Sequence[GitOpsRepositoryUpdateMaskArgs]] = None,
        upsert: Optional[bool] = None) -> GitOpsRepository
func GetGitOpsRepository(ctx *Context, name string, id IDInput, state *GitOpsRepositoryState, opts ...ResourceOption) (*GitOpsRepository, error)
public static GitOpsRepository Get(string name, Input<string> id, GitOpsRepositoryState? state, CustomResourceOptions? opts = null)
public static GitOpsRepository get(String name, Output<String> id, GitOpsRepositoryState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AccountId string

account identifier of the cluster.

AgentId string

agent identifier of the cluster.

CredsOnly bool

Credentials only of the Repo.

Identifier string

identifier of the cluster.

OrgId string

organization identifier of the cluster.

ProjectId string

project identifier of the cluster.

QueryForceRefresh bool

Force refresh query for Repo.

QueryProject string

Project to Query for Repo.

QueryRepo string

Repo to Query.

Repos List<Lbrlabs.PulumiPackage.Harness.Platform.Inputs.GitOpsRepositoryRepoArgs>

Repo Details that need to be stored.

UpdateMasks List<Lbrlabs.PulumiPackage.Harness.Platform.Inputs.GitOpsRepositoryUpdateMaskArgs>

Update mask of the Repository.

Upsert bool

Upsert the Repo Details.

AccountId string

account identifier of the cluster.

AgentId string

agent identifier of the cluster.

CredsOnly bool

Credentials only of the Repo.

Identifier string

identifier of the cluster.

OrgId string

organization identifier of the cluster.

ProjectId string

project identifier of the cluster.

QueryForceRefresh bool

Force refresh query for Repo.

QueryProject string

Project to Query for Repo.

QueryRepo string

Repo to Query.

Repos []GitOpsRepositoryRepoArgs

Repo Details that need to be stored.

UpdateMasks []GitOpsRepositoryUpdateMaskArgs

Update mask of the Repository.

Upsert bool

Upsert the Repo Details.

accountId String

account identifier of the cluster.

agentId String

agent identifier of the cluster.

credsOnly Boolean

Credentials only of the Repo.

identifier String

identifier of the cluster.

orgId String

organization identifier of the cluster.

projectId String

project identifier of the cluster.

queryForceRefresh Boolean

Force refresh query for Repo.

queryProject String

Project to Query for Repo.

queryRepo String

Repo to Query.

repos List<GitOpsRepositoryRepoArgs>

Repo Details that need to be stored.

updateMasks List<GitOpsRepositoryUpdateMaskArgs>

Update mask of the Repository.

upsert Boolean

Upsert the Repo Details.

accountId string

account identifier of the cluster.

agentId string

agent identifier of the cluster.

credsOnly boolean

Credentials only of the Repo.

identifier string

identifier of the cluster.

orgId string

organization identifier of the cluster.

projectId string

project identifier of the cluster.

queryForceRefresh boolean

Force refresh query for Repo.

queryProject string

Project to Query for Repo.

queryRepo string

Repo to Query.

repos GitOpsRepositoryRepoArgs[]

Repo Details that need to be stored.

updateMasks GitOpsRepositoryUpdateMaskArgs[]

Update mask of the Repository.

upsert boolean

Upsert the Repo Details.

account_id str

account identifier of the cluster.

agent_id str

agent identifier of the cluster.

creds_only bool

Credentials only of the Repo.

identifier str

identifier of the cluster.

org_id str

organization identifier of the cluster.

project_id str

project identifier of the cluster.

query_force_refresh bool

Force refresh query for Repo.

query_project str

Project to Query for Repo.

query_repo str

Repo to Query.

repos Sequence[GitOpsRepositoryRepoArgs]

Repo Details that need to be stored.

update_masks Sequence[GitOpsRepositoryUpdateMaskArgs]

Update mask of the Repository.

upsert bool

Upsert the Repo Details.

accountId String

account identifier of the cluster.

agentId String

agent identifier of the cluster.

credsOnly Boolean

Credentials only of the Repo.

identifier String

identifier of the cluster.

orgId String

organization identifier of the cluster.

projectId String

project identifier of the cluster.

queryForceRefresh Boolean

Force refresh query for Repo.

queryProject String

Project to Query for Repo.

queryRepo String

Repo to Query.

repos List<Property Map>

Repo Details that need to be stored.

updateMasks List<Property Map>

Update mask of the Repository.

upsert Boolean

Upsert the Repo Details.

Supporting Types

GitOpsRepositoryRepo

GitOpsRepositoryUpdateMask

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.