harness.platform.GitOpsAgent
Create GitOpsAgent Resource
new GitOpsAgent(name: string, args: GitOpsAgentArgs, opts?: CustomResourceOptions);
@overload
def GitOpsAgent(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
description: Optional[str] = None,
identifier: Optional[str] = None,
metadatas: Optional[Sequence[GitOpsAgentMetadataArgs]] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
type: Optional[str] = None)
@overload
def GitOpsAgent(resource_name: str,
args: GitOpsAgentArgs,
opts: Optional[ResourceOptions] = None)
func NewGitOpsAgent(ctx *Context, name string, args GitOpsAgentArgs, opts ...ResourceOption) (*GitOpsAgent, error)
public GitOpsAgent(string name, GitOpsAgentArgs args, CustomResourceOptions? opts = null)
public GitOpsAgent(String name, GitOpsAgentArgs args)
public GitOpsAgent(String name, GitOpsAgentArgs args, CustomResourceOptions options)
type: harness:platform:GitOpsAgent
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GitOpsAgentArgs
- 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 GitOpsAgentArgs
- 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 GitOpsAgentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GitOpsAgentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GitOpsAgentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
GitOpsAgent 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 GitOpsAgent resource accepts the following input properties:
- Account
Id string account identifier of the agent.
- Identifier string
identifier of the agent.
- Org
Id string org identifier of the agent.
- Project
Id string org identifier of the agent.
- Type string
type of the agent.
- Description string
description of the agent.
- Metadatas
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Git Ops Agent Metadata Args> tags for the agent.
- Name string
name of the agent.
- Dictionary<string, string>
tags for the agent.
- Account
Id string account identifier of the agent.
- Identifier string
identifier of the agent.
- Org
Id string org identifier of the agent.
- Project
Id string org identifier of the agent.
- Type string
type of the agent.
- Description string
description of the agent.
- Metadatas
[]Git
Ops Agent Metadata Args tags for the agent.
- Name string
name of the agent.
- map[string]string
tags for the agent.
- account
Id String account identifier of the agent.
- identifier String
identifier of the agent.
- org
Id String org identifier of the agent.
- project
Id String org identifier of the agent.
- type String
type of the agent.
- description String
description of the agent.
- metadatas
List<Git
Ops Agent Metadata Args> tags for the agent.
- name String
name of the agent.
- Map<String,String>
tags for the agent.
- account
Id string account identifier of the agent.
- identifier string
identifier of the agent.
- org
Id string org identifier of the agent.
- project
Id string org identifier of the agent.
- type string
type of the agent.
- description string
description of the agent.
- metadatas
Git
Ops Agent Metadata Args[] tags for the agent.
- name string
name of the agent.
- {[key: string]: string}
tags for the agent.
- account_
id str account identifier of the agent.
- identifier str
identifier of the agent.
- org_
id str org identifier of the agent.
- project_
id str org identifier of the agent.
- type str
type of the agent.
- description str
description of the agent.
- metadatas
Sequence[Git
Ops Agent Metadata Args] tags for the agent.
- name str
name of the agent.
- Mapping[str, str]
tags for the agent.
- account
Id String account identifier of the agent.
- identifier String
identifier of the agent.
- org
Id String org identifier of the agent.
- project
Id String org identifier of the agent.
- type String
type of the agent.
- description String
description of the agent.
- metadatas List<Property Map>
tags for the agent.
- name String
name of the agent.
- Map<String>
tags for the agent.
Outputs
All input properties are implicitly available as output properties. Additionally, the GitOpsAgent 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 GitOpsAgent Resource
Get an existing GitOpsAgent 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?: GitOpsAgentState, opts?: CustomResourceOptions): GitOpsAgent
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
description: Optional[str] = None,
identifier: Optional[str] = None,
metadatas: Optional[Sequence[GitOpsAgentMetadataArgs]] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
type: Optional[str] = None) -> GitOpsAgent
func GetGitOpsAgent(ctx *Context, name string, id IDInput, state *GitOpsAgentState, opts ...ResourceOption) (*GitOpsAgent, error)
public static GitOpsAgent Get(string name, Input<string> id, GitOpsAgentState? state, CustomResourceOptions? opts = null)
public static GitOpsAgent get(String name, Output<String> id, GitOpsAgentState 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.
- Account
Id string account identifier of the agent.
- Description string
description of the agent.
- Identifier string
identifier of the agent.
- Metadatas
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Git Ops Agent Metadata Args> tags for the agent.
- Name string
name of the agent.
- Org
Id string org identifier of the agent.
- Project
Id string org identifier of the agent.
- Dictionary<string, string>
tags for the agent.
- Type string
type of the agent.
- Account
Id string account identifier of the agent.
- Description string
description of the agent.
- Identifier string
identifier of the agent.
- Metadatas
[]Git
Ops Agent Metadata Args tags for the agent.
- Name string
name of the agent.
- Org
Id string org identifier of the agent.
- Project
Id string org identifier of the agent.
- map[string]string
tags for the agent.
- Type string
type of the agent.
- account
Id String account identifier of the agent.
- description String
description of the agent.
- identifier String
identifier of the agent.
- metadatas
List<Git
Ops Agent Metadata Args> tags for the agent.
- name String
name of the agent.
- org
Id String org identifier of the agent.
- project
Id String org identifier of the agent.
- Map<String,String>
tags for the agent.
- type String
type of the agent.
- account
Id string account identifier of the agent.
- description string
description of the agent.
- identifier string
identifier of the agent.
- metadatas
Git
Ops Agent Metadata Args[] tags for the agent.
- name string
name of the agent.
- org
Id string org identifier of the agent.
- project
Id string org identifier of the agent.
- {[key: string]: string}
tags for the agent.
- type string
type of the agent.
- account_
id str account identifier of the agent.
- description str
description of the agent.
- identifier str
identifier of the agent.
- metadatas
Sequence[Git
Ops Agent Metadata Args] tags for the agent.
- name str
name of the agent.
- org_
id str org identifier of the agent.
- project_
id str org identifier of the agent.
- Mapping[str, str]
tags for the agent.
- type str
type of the agent.
- account
Id String account identifier of the agent.
- description String
description of the agent.
- identifier String
identifier of the agent.
- metadatas List<Property Map>
tags for the agent.
- name String
name of the agent.
- org
Id String org identifier of the agent.
- project
Id String org identifier of the agent.
- Map<String>
tags for the agent.
- type String
type of the agent.
Supporting Types
GitOpsAgentMetadata
- High
Availability bool - Namespace string
- High
Availability bool - Namespace string
- high
Availability Boolean - namespace String
- high
Availability boolean - namespace string
- high_
availability bool - namespace str
- high
Availability Boolean - namespace String
Package Details
- Repository
- harness lbrlabs/pulumi-harness
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
harness
Terraform Provider.