harness.platform.GitOpsCluster
Create GitOpsCluster Resource
new GitOpsCluster(name: string, args: GitOpsClusterArgs, opts?: CustomResourceOptions);
@overload
def GitOpsCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
agent_id: Optional[str] = None,
identifier: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
queries: Optional[Sequence[GitOpsClusterQueryArgs]] = None,
requests: Optional[Sequence[GitOpsClusterRequestArgs]] = None)
@overload
def GitOpsCluster(resource_name: str,
args: GitOpsClusterArgs,
opts: Optional[ResourceOptions] = None)
func NewGitOpsCluster(ctx *Context, name string, args GitOpsClusterArgs, opts ...ResourceOption) (*GitOpsCluster, error)
public GitOpsCluster(string name, GitOpsClusterArgs args, CustomResourceOptions? opts = null)
public GitOpsCluster(String name, GitOpsClusterArgs args)
public GitOpsCluster(String name, GitOpsClusterArgs args, CustomResourceOptions options)
type: harness:platform:GitOpsCluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GitOpsClusterArgs
- 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 GitOpsClusterArgs
- 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 GitOpsClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GitOpsClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GitOpsClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
GitOpsCluster 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 GitOpsCluster resource accepts the following input properties:
- Account
Id string account identifier of the cluster.
- Identifier string
identifier of the cluster.
- Project
Id string project identifier of the cluster.
- Agent
Id string agent identifier of the cluster.
- Org
Id string organization identifier of the cluster.
- Queries
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Git Ops Cluster Query Args> query for cluster resources
- Requests
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Git Ops Cluster Request Args> Cluster create/Update request.
- Account
Id string account identifier of the cluster.
- Identifier string
identifier of the cluster.
- Project
Id string project identifier of the cluster.
- Agent
Id string agent identifier of the cluster.
- Org
Id string organization identifier of the cluster.
- Queries
[]Git
Ops Cluster Query Args query for cluster resources
- Requests
[]Git
Ops Cluster Request Args Cluster create/Update request.
- account
Id String account identifier of the cluster.
- identifier String
identifier of the cluster.
- project
Id String project identifier of the cluster.
- agent
Id String agent identifier of the cluster.
- org
Id String organization identifier of the cluster.
- queries
List<Git
Ops Cluster Query Args> query for cluster resources
- requests
List<Git
Ops Cluster Request Args> Cluster create/Update request.
- account
Id string account identifier of the cluster.
- identifier string
identifier of the cluster.
- project
Id string project identifier of the cluster.
- agent
Id string agent identifier of the cluster.
- org
Id string organization identifier of the cluster.
- queries
Git
Ops Cluster Query Args[] query for cluster resources
- requests
Git
Ops Cluster Request Args[] Cluster create/Update request.
- account_
id str account identifier of the cluster.
- identifier str
identifier of the cluster.
- project_
id str project identifier of the cluster.
- agent_
id str agent identifier of the cluster.
- org_
id str organization identifier of the cluster.
- queries
Sequence[Git
Ops Cluster Query Args] query for cluster resources
- requests
Sequence[Git
Ops Cluster Request Args] Cluster create/Update request.
- account
Id String account identifier of the cluster.
- identifier String
identifier of the cluster.
- project
Id String project identifier of the cluster.
- agent
Id String agent identifier of the cluster.
- org
Id String organization identifier of the cluster.
- queries List<Property Map>
query for cluster resources
- requests List<Property Map>
Cluster create/Update request.
Outputs
All input properties are implicitly available as output properties. Additionally, the GitOpsCluster 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 GitOpsCluster Resource
Get an existing GitOpsCluster 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?: GitOpsClusterState, opts?: CustomResourceOptions): GitOpsCluster
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
agent_id: Optional[str] = None,
identifier: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
queries: Optional[Sequence[GitOpsClusterQueryArgs]] = None,
requests: Optional[Sequence[GitOpsClusterRequestArgs]] = None) -> GitOpsCluster
func GetGitOpsCluster(ctx *Context, name string, id IDInput, state *GitOpsClusterState, opts ...ResourceOption) (*GitOpsCluster, error)
public static GitOpsCluster Get(string name, Input<string> id, GitOpsClusterState? state, CustomResourceOptions? opts = null)
public static GitOpsCluster get(String name, Output<String> id, GitOpsClusterState 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 cluster.
- Agent
Id string agent identifier of the cluster.
- Identifier string
identifier of the cluster.
- Org
Id string organization identifier of the cluster.
- Project
Id string project identifier of the cluster.
- Queries
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Git Ops Cluster Query Args> query for cluster resources
- Requests
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Git Ops Cluster Request Args> Cluster create/Update request.
- Account
Id string account identifier of the cluster.
- Agent
Id string agent identifier of the cluster.
- Identifier string
identifier of the cluster.
- Org
Id string organization identifier of the cluster.
- Project
Id string project identifier of the cluster.
- Queries
[]Git
Ops Cluster Query Args query for cluster resources
- Requests
[]Git
Ops Cluster Request Args Cluster create/Update request.
- account
Id String account identifier of the cluster.
- agent
Id String agent identifier of the cluster.
- identifier String
identifier of the cluster.
- org
Id String organization identifier of the cluster.
- project
Id String project identifier of the cluster.
- queries
List<Git
Ops Cluster Query Args> query for cluster resources
- requests
List<Git
Ops Cluster Request Args> Cluster create/Update request.
- account
Id string account identifier of the cluster.
- agent
Id string agent identifier of the cluster.
- identifier string
identifier of the cluster.
- org
Id string organization identifier of the cluster.
- project
Id string project identifier of the cluster.
- queries
Git
Ops Cluster Query Args[] query for cluster resources
- requests
Git
Ops Cluster Request Args[] Cluster create/Update request.
- account_
id str account identifier of the cluster.
- agent_
id str agent identifier of the cluster.
- identifier str
identifier of the cluster.
- org_
id str organization identifier of the cluster.
- project_
id str project identifier of the cluster.
- queries
Sequence[Git
Ops Cluster Query Args] query for cluster resources
- requests
Sequence[Git
Ops Cluster Request Args] Cluster create/Update request.
- account
Id String account identifier of the cluster.
- agent
Id String agent identifier of the cluster.
- identifier String
identifier of the cluster.
- org
Id String organization identifier of the cluster.
- project
Id String project identifier of the cluster.
- queries List<Property Map>
query for cluster resources
- requests List<Property Map>
Cluster create/Update request.
Supporting Types
GitOpsClusterQuery
- Ids
[]Git
Ops Cluster Query Id - Name string
- Server string
- ids
List<Git
Ops Cluster Query Id> - name String
- server String
- ids
Git
Ops Cluster Query Id[] - name string
- server string
- ids List<Property Map>
- name String
- server String
GitOpsClusterQueryId
GitOpsClusterRequest
- clusters List<Property Map>
- ids List<Property Map>
- update
Masks List<Property Map> - updated
Fields List<String> - upsert Boolean
GitOpsClusterRequestCluster
- Server string
- Annotations Dictionary<string, string>
- Cluster
Resources bool - Configs
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Git Ops Cluster Request Cluster Config> - Infos
List<Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Git Ops Cluster Request Cluster Info> - Labels Dictionary<string, string>
- Name string
- Namespaces List<string>
- Project string
- Refresh
Requested List<Lbrlabs.Ats Pulumi Package. Harness. Platform. Inputs. Git Ops Cluster Request Cluster Refresh Requested At> - string
- Server string
- Annotations map[string]string
- Cluster
Resources bool - Configs
[]Git
Ops Cluster Request Cluster Config - Infos
[]Git
Ops Cluster Request Cluster Info - Labels map[string]string
- Name string
- Namespaces []string
- Project string
- Refresh
Requested []GitAts Ops Cluster Request Cluster Refresh Requested At - string
- server String
- annotations Map<String,String>
- cluster
Resources Boolean - configs
List<Git
Ops Cluster Request Cluster Config> - infos
List<Git
Ops Cluster Request Cluster Info> - labels Map<String,String>
- name String
- namespaces List<String>
- project String
- refresh
Requested List<GitAts Ops Cluster Request Cluster Refresh Requested At> - String
- server string
- annotations {[key: string]: string}
- cluster
Resources boolean - configs
Git
Ops Cluster Request Cluster Config[] - infos
Git
Ops Cluster Request Cluster Info[] - labels {[key: string]: string}
- name string
- namespaces string[]
- project string
- refresh
Requested GitAts Ops Cluster Request Cluster Refresh Requested At[] - string
- server str
- annotations Mapping[str, str]
- cluster_
resources bool - configs
Sequence[Git
Ops Cluster Request Cluster Config] - infos
Sequence[Git
Ops Cluster Request Cluster Info] - labels Mapping[str, str]
- name str
- namespaces Sequence[str]
- project str
- refresh_
requested_ Sequence[Gitats Ops Cluster Request Cluster Refresh Requested At] - str
- server String
- annotations Map<String>
- cluster
Resources Boolean - configs List<Property Map>
- infos List<Property Map>
- labels Map<String>
- name String
- namespaces List<String>
- project String
- refresh
Requested List<Property Map>Ats - String
GitOpsClusterRequestClusterConfig
- Aws
Auth List<Lbrlabs.Configs Pulumi Package. Harness. Platform. Inputs. Git Ops Cluster Request Cluster Config Aws Auth Config> - Bearer
Token string - Cluster
Connection stringType - Exec
Provider List<Lbrlabs.Configs Pulumi Package. Harness. Platform. Inputs. Git Ops Cluster Request Cluster Config Exec Provider Config> - Password string
- Tls
Client List<Lbrlabs.Configs Pulumi Package. Harness. Platform. Inputs. Git Ops Cluster Request Cluster Config Tls Client Config> - Username string
- aws_
auth_ Sequence[Gitconfigs Ops Cluster Request Cluster Config Aws Auth Config] - bearer_
token str - cluster_
connection_ strtype - exec_
provider_ Sequence[Gitconfigs Ops Cluster Request Cluster Config Exec Provider Config] - password str
- tls_
client_ Sequence[Gitconfigs Ops Cluster Request Cluster Config Tls Client Config] - username str
GitOpsClusterRequestClusterConfigAwsAuthConfig
- Cluster
Name string - Role
ARN string
- Cluster
Name string - Role
ARN string
- cluster
Name String - role
ARN String
- cluster
Name string - role
ARN string
- cluster_
name str - role_
arn str
- cluster
Name String - role
ARN String
GitOpsClusterRequestClusterConfigExecProviderConfig
- Api
Version string - Args List<string>
- Command string
- Env Dictionary<string, string>
- Install
Hint string
- Api
Version string - Args []string
- Command string
- Env map[string]string
- Install
Hint string
- api
Version String - args List<String>
- command String
- env Map<String,String>
- install
Hint String
- api
Version string - args string[]
- command string
- env {[key: string]: string}
- install
Hint string
- api_
version str - args Sequence[str]
- command str
- env Mapping[str, str]
- install_
hint str
- api
Version String - args List<String>
- command String
- env Map<String>
- install
Hint String
GitOpsClusterRequestClusterConfigTlsClientConfig
- Ca
Data string - Cert
Data string - Insecure bool
- Key
Data string - Server
Name string
- Ca
Data string - Cert
Data string - Insecure bool
- Key
Data string - Server
Name string
- ca
Data String - cert
Data String - insecure Boolean
- key
Data String - server
Name String
- ca
Data string - cert
Data string - insecure boolean
- key
Data string - server
Name string
- ca_
data str - cert_
data str - insecure bool
- key_
data str - server_
name str
- ca
Data String - cert
Data String - insecure Boolean
- key
Data String - server
Name String
GitOpsClusterRequestClusterInfo
- api
Versions List<String> - applications
Count String - cache
Infos List<Property Map> - connection
States List<Property Map> - server
Version String
GitOpsClusterRequestClusterInfoCacheInfo
- Apis
Count string - Last
Cache stringSync Time - Resources
Count string
- Apis
Count string - Last
Cache stringSync Time - Resources
Count string
- apis
Count String - last
Cache StringSync Time - resources
Count String
- apis
Count string - last
Cache stringSync Time - resources
Count string
- apis_
count str - last_
cache_ strsync_ time - resources_
count str
- apis
Count String - last
Cache StringSync Time - resources
Count String
GitOpsClusterRequestClusterInfoConnectionState
- attempted
Ats List<Property Map> - message String
- status String
GitOpsClusterRequestClusterInfoConnectionStateAttemptedAt
GitOpsClusterRequestClusterRefreshRequestedAt
GitOpsClusterRequestId
GitOpsClusterRequestUpdateMask
- 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.