diff --git a/provider/cmd/pulumi-resource-harness/bridge-metadata.json b/provider/cmd/pulumi-resource-harness/bridge-metadata.json index 380b6110..bc0bc873 100644 --- a/provider/cmd/pulumi-resource-harness/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-harness/bridge-metadata.json @@ -4928,5 +4928,73 @@ } } }, - "auto-settings": {} + "auto-settings": { + "resources": { + "harness_platform_gitops_agent": { + "maxItemsOneOverrides": { + "metadata": false + } + }, + "harness_platform_gitops_app_project": { + "maxItemsOneOverrides": { + "project": false, + "project.$.metadata": false, + "project.$.spec": false + } + }, + "harness_platform_gitops_applications": { + "maxItemsOneOverrides": { + "application": false, + "application.$.metadata": false, + "application.$.spec": false, + "application.$.spec.$.sync_policy": false, + "application.$.spec.$.sync_policy.$.automated": false, + "application.$.spec.$.sync_policy.$.retry": false, + "application.$.spec.$.sync_policy.$.retry.$.backoff": false + } + }, + "harness_platform_gitops_cluster": { + "maxItemsOneOverrides": { + "request": false, + "request.$.cluster": false, + "request.$.cluster.$.config": false, + "request.$.cluster.$.config.$.exec_provider_config": false, + "request.$.cluster.$.config.$.tls_client_config": false, + "request.$.cluster.$.refresh_requested_at": false + } + }, + "harness_platform_gitops_repo_cert": { + "maxItemsOneOverrides": { + "request": false, + "request.$.certificates.$.metadata": false + } + }, + "harness_platform_gitops_repo_cred": { + "maxItemsOneOverrides": { + "creds": false + } + }, + "harness_platform_gitops_repository": { + "maxItemsOneOverrides": { + "repo": false + } + } + }, + "datasources": { + "harness_platform_gitops_applications": { + "maxItemsOneOverrides": { + "application.$.metadata": false, + "application.$.spec.$.source.$.helm": false + } + }, + "harness_platform_gitops_cluster": { + "maxItemsOneOverrides": { + "request.$.cluster": false, + "request.$.cluster.$.config": false, + "request.$.cluster.$.config.$.tls_client_config": false, + "request.$.cluster.$.refresh_requested_at": false + } + } + } + } } \ No newline at end of file diff --git a/provider/cmd/pulumi-resource-harness/schema.json b/provider/cmd/pulumi-resource-harness/schema.json index 9e072adb..3694a7a6 100644 --- a/provider/cmd/pulumi-resource-harness/schema.json +++ b/provider/cmd/pulumi-resource-harness/schema.json @@ -4818,11 +4818,13 @@ }, "githubAppId": { "type": "string", - "description": "Specifies the Github App ID of the app used to access the repo for GitHub app authentication.\n" + "description": "Specifies the Github App ID of the app used to access the repo for GitHub app authentication.\n", + "secret": true }, "githubAppInstallationId": { "type": "string", - "description": "Specifies the ID of the installed GitHub App for GitHub app authentication.\n" + "description": "Specifies the ID of the installed GitHub App for GitHub app authentication.\n", + "secret": true }, "githubAppPrivateKey": { "type": "string", @@ -4863,7 +4865,20 @@ "description": "Username to be used for authenticating the remote repository.\n" } }, - "type": "object" + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "githubAppId", + "githubAppInstallationId", + "githubAppPrivateKey", + "password", + "sshPrivateKey", + "tlsClientCertData", + "tlsClientCertKey" + ] + } + } }, "harness:platform/GitOpsRepositoryEcrGen:GitOpsRepositoryEcrGen": { "properties": { @@ -5000,11 +5015,13 @@ }, "githubAppId": { "type": "string", - "description": "Id of the GitHub app used to access the repo.\n" + "description": "Id of the GitHub app used to access the repo.\n", + "secret": true }, "githubAppInstallationId": { "type": "string", - "description": "Installation id of the GitHub app used to access the repo.\n" + "description": "Installation id of the GitHub app used to access the repo.\n", + "secret": true }, "githubAppPrivateKey": { "type": "string", @@ -5078,10 +5095,16 @@ "nodejs": { "requiredOutputs": [ "connectionType", + "githubAppId", + "githubAppInstallationId", + "githubAppPrivateKey", "inheritedCreds", + "password", "project", "repo", "sshPrivateKey", + "tlsClientCertData", + "tlsClientCertKey", "type_" ] } @@ -5289,14 +5312,14 @@ "items": { "$ref": "#/types/harness:platform/GitopsAppProjectProjectMetadata:GitopsAppProjectProjectMetadata" }, - "description": "Metadata details for the GitOps project.\n" + "description": "K8s object metadata for the Argo project.\n" }, "specs": { "type": "array", "items": { "$ref": "#/types/harness:platform/GitopsAppProjectProjectSpec:GitopsAppProjectProjectSpec" }, - "description": "Specification details for the GitOps project.\n" + "description": "Specification details for the Argo project.\n" } }, "type": "object", @@ -5345,7 +5368,7 @@ }, "namespace": { "type": "string", - "description": "Namespace of the GitOps project.\n" + "description": "Namespace of the GitOps project. This must be the same as the namespace where the agent is installed\n" }, "resourceVersion": { "type": "string", @@ -5429,25 +5452,25 @@ "items": { "$ref": "#/types/harness:platform/GitopsAppProjectProjectSpecClusterResourceWhitelist:GitopsAppProjectProjectSpecClusterResourceWhitelist" }, - "description": "Cluster resource whitelist for the GitOps project.\n" + "description": "Cluster resource whitelist for the Argo project.\n" }, "description": { "type": "string", - "description": "Description of the GitOps project.\n" + "description": "Description of the Argo project.\n" }, "destinations": { "type": "array", "items": { "$ref": "#/types/harness:platform/GitopsAppProjectProjectSpecDestination:GitopsAppProjectProjectSpecDestination" }, - "description": "Destinations for deployment of the GitOps project.\n" + "description": "Allowed destinations for applications in this Argo project.\n" }, "namespaceResourceBlacklists": { "type": "array", "items": { "$ref": "#/types/harness:platform/GitopsAppProjectProjectSpecNamespaceResourceBlacklist:GitopsAppProjectProjectSpecNamespaceResourceBlacklist" }, - "description": "Namespace resource blacklist for the GitOps project.\n" + "description": "Namespace resource blacklist for the Argo project.\n" }, "namespaceResourceWhitelists": { "type": "array", @@ -5461,14 +5484,14 @@ "items": { "$ref": "#/types/harness:platform/GitopsAppProjectProjectSpecOrphanedResource:GitopsAppProjectProjectSpecOrphanedResource" }, - "description": "Orphaned resources configuration for the GitOps project.\n" + "description": "OrphanedResources specifies if agent should monitor orphaned resources of apps in this project\n" }, "roles": { "type": "array", "items": { "$ref": "#/types/harness:platform/GitopsAppProjectProjectSpecRole:GitopsAppProjectProjectSpecRole" }, - "description": "Roles associated with the GitOps project.\n" + "description": "Roles associated with the Argo project.\n" }, "signatureKeys": { "type": "array", @@ -5482,7 +5505,7 @@ "items": { "type": "string" }, - "description": "Source repositories for the GitOps project.\n" + "description": "Allowed Source repositories for the Argo project.\n" }, "syncWindows": { "type": "array", @@ -5531,15 +5554,15 @@ "properties": { "name": { "type": "string", - "description": "Name of the destination.\n" + "description": "Name of the destination cluster.\n" }, "namespace": { "type": "string", - "description": "Namespace of the destination.\n" + "description": "Permitted Namespaces for deployment in the destination cluster.\n" }, "server": { "type": "string", - "description": "Server URL of the destination.\n" + "description": "Server URL of the destination cluster.\n" } }, "type": "object" @@ -5632,7 +5655,7 @@ "items": { "type": "string" }, - "description": "Policies associated with the role.\n" + "description": "Policies associated with the role. These are argo RBAC policies and may not necessarily reflect in harness.\n" } }, "type": "object", @@ -10005,7 +10028,7 @@ }, "project": { "type": "string", - "description": "The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness.\n" + "description": "The ArgoCD project name corresponding to this GitOps application. Value must match mappings of ArgoCD projects to harness project.\n" }, "sources": { "type": "array", @@ -10210,7 +10233,7 @@ }, "name": { "type": "string", - "description": "Name of the GitOps application.\n" + "description": "Name of the external variables of jsonnet application.\n" }, "value": { "type": "string", @@ -10237,7 +10260,7 @@ }, "name": { "type": "string", - "description": "Name of the GitOps application.\n" + "description": "Name of the TLAS of the jsonnet application.\n" }, "value": { "type": "string", @@ -10316,7 +10339,7 @@ "properties": { "name": { "type": "string", - "description": "Name of the GitOps application.\n" + "description": "Name of the helm parameter.\n" }, "path": { "type": "string", @@ -10342,7 +10365,7 @@ }, "name": { "type": "string", - "description": "Name of the GitOps application.\n" + "description": "Name of the helm parameter.\n" }, "value": { "type": "string", @@ -10394,7 +10417,7 @@ }, "name": { "type": "string", - "description": "Name of the GitOps application.\n" + "description": "Name of the parameter of the ksonnet application.\n" }, "value": { "type": "string", @@ -10485,7 +10508,7 @@ }, "name": { "type": "string", - "description": "Name of the GitOps application.\n" + "description": "Name of the plugin.\n" } }, "type": "object", @@ -10503,7 +10526,7 @@ "properties": { "name": { "type": "string", - "description": "Name of the GitOps application.\n" + "description": "Name of the variable, usually expressed in uppercase.\n" }, "value": { "type": "string", @@ -24432,7 +24455,7 @@ }, "agentId": { "type": "string", - "description": "Agent identifier of the GitOps cluster.\n" + "description": "Agent identifier of the GitOps cluster. (include scope prefix)\n" }, "identifier": { "type": "string", @@ -24467,7 +24490,7 @@ }, "agentId": { "type": "string", - "description": "Agent identifier of the GitOps cluster.\n", + "description": "Agent identifier of the GitOps cluster. (include scope prefix)\n", "willReplaceOnChanges": true }, "identifier": { @@ -24508,7 +24531,7 @@ }, "agentId": { "type": "string", - "description": "Agent identifier of the GitOps cluster.\n", + "description": "Agent identifier of the GitOps cluster. (include scope prefix)\n", "willReplaceOnChanges": true }, "identifier": { @@ -24928,7 +24951,8 @@ "items": { "$ref": "#/types/harness:platform/GitOpsRepositoryUpdateMask:GitOpsRepositoryUpdateMask" }, - "description": "Update mask of the repository.\n" + "description": "Update mask of the repository.\n", + "deprecationMessage": "This field is deprecated and will be removed in a future release." }, "upsert": { "type": "boolean", @@ -24999,7 +25023,8 @@ "items": { "$ref": "#/types/harness:platform/GitOpsRepositoryUpdateMask:GitOpsRepositoryUpdateMask" }, - "description": "Update mask of the repository.\n" + "description": "Update mask of the repository.\n", + "deprecationMessage": "This field is deprecated and will be removed in a future release." }, "upsert": { "type": "boolean", @@ -25072,7 +25097,8 @@ "items": { "$ref": "#/types/harness:platform/GitOpsRepositoryUpdateMask:GitOpsRepositoryUpdateMask" }, - "description": "Update mask of the repository.\n" + "description": "Update mask of the repository.\n", + "deprecationMessage": "This field is deprecated and will be removed in a future release." }, "upsert": { "type": "boolean", @@ -25492,19 +25518,19 @@ "properties": { "accountId": { "type": "string", - "description": "Account identifier of the GitOps project.\n" + "description": "Account identifier of the GitOps project/agent.\n" }, "agentId": { "type": "string", - "description": "Agent identifier of the GitOps project.\n" + "description": "Agent identifier of the GitOps project. Project is created on agent scope.\n" }, "orgId": { "type": "string", - "description": "Org identifier of the GitOps project.\n" + "description": "Org identifier of the GitOps agent for which project is created.\n" }, "projectId": { "type": "string", - "description": "Project identifier of the GitOps repository.\n" + "description": "Project identifier of the GitOps agent for which project is created.\n" }, "projects": { "type": "array", @@ -25519,7 +25545,7 @@ }, "upsert": { "type": "boolean", - "description": "Indicates if the GitOps repository should be updated if existing and inserted if not.\n" + "description": "Indicates if the GitOps project should be updated if existing and inserted if not.\n" } }, "required": [ @@ -25531,22 +25557,22 @@ "inputProperties": { "accountId": { "type": "string", - "description": "Account identifier of the GitOps project.\n", + "description": "Account identifier of the GitOps project/agent.\n", "willReplaceOnChanges": true }, "agentId": { "type": "string", - "description": "Agent identifier of the GitOps project.\n", + "description": "Agent identifier of the GitOps project. Project is created on agent scope.\n", "willReplaceOnChanges": true }, "orgId": { "type": "string", - "description": "Org identifier of the GitOps project.\n", + "description": "Org identifier of the GitOps agent for which project is created.\n", "willReplaceOnChanges": true }, "projectId": { "type": "string", - "description": "Project identifier of the GitOps repository.\n", + "description": "Project identifier of the GitOps agent for which project is created.\n", "willReplaceOnChanges": true }, "projects": { @@ -25562,7 +25588,7 @@ }, "upsert": { "type": "boolean", - "description": "Indicates if the GitOps repository should be updated if existing and inserted if not.\n" + "description": "Indicates if the GitOps project should be updated if existing and inserted if not.\n" } }, "requiredInputs": [ @@ -25575,22 +25601,22 @@ "properties": { "accountId": { "type": "string", - "description": "Account identifier of the GitOps project.\n", + "description": "Account identifier of the GitOps project/agent.\n", "willReplaceOnChanges": true }, "agentId": { "type": "string", - "description": "Agent identifier of the GitOps project.\n", + "description": "Agent identifier of the GitOps project. Project is created on agent scope.\n", "willReplaceOnChanges": true }, "orgId": { "type": "string", - "description": "Org identifier of the GitOps project.\n", + "description": "Org identifier of the GitOps agent for which project is created.\n", "willReplaceOnChanges": true }, "projectId": { "type": "string", - "description": "Project identifier of the GitOps repository.\n", + "description": "Project identifier of the GitOps agent for which project is created.\n", "willReplaceOnChanges": true }, "projects": { @@ -25606,7 +25632,7 @@ }, "upsert": { "type": "boolean", - "description": "Indicates if the GitOps repository should be updated if existing and inserted if not.\n" + "description": "Indicates if the GitOps project should be updated if existing and inserted if not.\n" } }, "type": "object" @@ -41453,23 +41479,23 @@ "properties": { "accountId": { "type": "string", - "description": "Account identifier of the GitOps project.\n" + "description": "Account identifier of the GitOps Agent where argo project resides.\n" }, "agentId": { "type": "string", - "description": "Agent identifier of the GitOps project.\n" + "description": "Agent identifier of the agent where argo project resides(include scope prefix)\n" }, "orgId": { "type": "string", - "description": "Org identifier of the GitOps project.\n" + "description": "Org identifier of the GitOps Agent where argo project resides.\n" }, "projectId": { "type": "string", - "description": "Project identifier of the GitOps repository.\n" + "description": "Project identifier of the Gitops Agent where argo project resides.\n" }, "queryName": { "type": "string", - "description": "Identifier for the GitOps project.\n" + "description": "Identifier for the GitOps Argo project.\n" } }, "type": "object", @@ -41482,11 +41508,11 @@ "description": "A collection of values returned by getGitopsAppProject.\n", "properties": { "accountId": { - "description": "Account identifier of the GitOps project.\n", + "description": "Account identifier of the GitOps Agent where argo project resides.\n", "type": "string" }, "agentId": { - "description": "Agent identifier of the GitOps project.\n", + "description": "Agent identifier of the agent where argo project resides(include scope prefix)\n", "type": "string" }, "id": { @@ -41494,15 +41520,15 @@ "type": "string" }, "orgId": { - "description": "Org identifier of the GitOps project.\n", + "description": "Org identifier of the GitOps Agent where argo project resides.\n", "type": "string" }, "projectId": { - "description": "Project identifier of the GitOps repository.\n", + "description": "Project identifier of the Gitops Agent where argo project resides.\n", "type": "string" }, "queryName": { - "description": "Identifier for the GitOps project.\n", + "description": "Identifier for the GitOps Argo project.\n", "type": "string" } }, @@ -41970,6 +41996,13 @@ "type": "string", "description": "Agent identifier of the Repository Credentials.\n" }, + "creds": { + "type": "array", + "items": { + "$ref": "#/types/harness:platform/getGitopsRepoCredCred:getGitopsRepoCredCred" + }, + "description": "credential details.\n" + }, "identifier": { "type": "string", "description": "Identifier of the Repository Credentials.\n" diff --git a/provider/go.mod b/provider/go.mod index 422c954e..63868de0 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -103,7 +103,7 @@ require ( github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect github.com/harness/harness-go-sdk v0.4.10 // indirect github.com/harness/harness-openapi-go-client v0.0.21 // indirect - github.com/harness/terraform-provider-harness v0.34.0 // indirect + github.com/harness/terraform-provider-harness v0.34.1 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-checkpoint v0.5.0 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect diff --git a/provider/go.sum b/provider/go.sum index 41d64015..c4acda05 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1594,8 +1594,8 @@ github.com/harness/harness-go-sdk v0.4.10 h1:iRpsG35I1bZ618FOHnAMKG7FBfiEpTGPyLz github.com/harness/harness-go-sdk v0.4.10/go.mod h1:a/1HYTgVEuNEoh3Z3IsOHZdlUNxl94KcX57ZSNVGll0= github.com/harness/harness-openapi-go-client v0.0.21 h1:VtJnpQKZvCAlaCmUPbNR69OT3c5WRdhNN5TOgUwtwZ4= github.com/harness/harness-openapi-go-client v0.0.21/go.mod h1:u0vqYb994BJGotmEwJevF4L3BNAdU9i8ui2d22gmLPA= -github.com/harness/terraform-provider-harness v0.34.0 h1:4SwrHl6/TFu6q1TOC+LYYGAyRIQKGc3QvsikS116K6o= -github.com/harness/terraform-provider-harness v0.34.0/go.mod h1:V42jUXDiPz6wfu+oUV4AzTKKGnxNF3XRtf9nOyuh3Eo= +github.com/harness/terraform-provider-harness v0.34.1 h1:pxRM6ynpn4S2R37WV4EAUgcdRpV7DbeR9Rtb1LBd6vk= +github.com/harness/terraform-provider-harness v0.34.1/go.mod h1:V42jUXDiPz6wfu+oUV4AzTKKGnxNF3XRtf9nOyuh3Eo= github.com/hashicorp/cli v1.1.6/go.mod h1:MPon5QYlgjjo0BSoAiN0ESeT5fRzDjVRp+uioJ0piz4= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= diff --git a/provider/shim/go.mod b/provider/shim/go.mod index a09e8551..474cdce3 100644 --- a/provider/shim/go.mod +++ b/provider/shim/go.mod @@ -5,7 +5,7 @@ go 1.22.0 toolchain go1.22.7 require ( - github.com/harness/terraform-provider-harness v0.34.0 + github.com/harness/terraform-provider-harness v0.34.1 github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0 github.com/pulumi/pulumi-harness/provider v0.0.0-20221227064623-0d00513c0628 ) diff --git a/provider/shim/go.sum b/provider/shim/go.sum index 0d621cf9..72c6ddb8 100644 --- a/provider/shim/go.sum +++ b/provider/shim/go.sum @@ -60,8 +60,8 @@ github.com/harness/harness-go-sdk v0.4.10 h1:iRpsG35I1bZ618FOHnAMKG7FBfiEpTGPyLz github.com/harness/harness-go-sdk v0.4.10/go.mod h1:a/1HYTgVEuNEoh3Z3IsOHZdlUNxl94KcX57ZSNVGll0= github.com/harness/harness-openapi-go-client v0.0.21 h1:VtJnpQKZvCAlaCmUPbNR69OT3c5WRdhNN5TOgUwtwZ4= github.com/harness/harness-openapi-go-client v0.0.21/go.mod h1:u0vqYb994BJGotmEwJevF4L3BNAdU9i8ui2d22gmLPA= -github.com/harness/terraform-provider-harness v0.34.0 h1:4SwrHl6/TFu6q1TOC+LYYGAyRIQKGc3QvsikS116K6o= -github.com/harness/terraform-provider-harness v0.34.0/go.mod h1:V42jUXDiPz6wfu+oUV4AzTKKGnxNF3XRtf9nOyuh3Eo= +github.com/harness/terraform-provider-harness v0.34.1 h1:pxRM6ynpn4S2R37WV4EAUgcdRpV7DbeR9Rtb1LBd6vk= +github.com/harness/terraform-provider-harness v0.34.1/go.mod h1:V42jUXDiPz6wfu+oUV4AzTKKGnxNF3XRtf9nOyuh3Eo= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= diff --git a/sdk/dotnet/Platform/GetGitopsAppProject.cs b/sdk/dotnet/Platform/GetGitopsAppProject.cs index afcb1177..2155fbe7 100644 --- a/sdk/dotnet/Platform/GetGitopsAppProject.cs +++ b/sdk/dotnet/Platform/GetGitopsAppProject.cs @@ -62,31 +62,31 @@ public static Output Invoke(GetGitopsAppProjectInvoke public sealed class GetGitopsAppProjectArgs : global::Pulumi.InvokeArgs { /// - /// Account identifier of the GitOps project. + /// Account identifier of the GitOps Agent where argo project resides. /// [Input("accountId", required: true)] public string AccountId { get; set; } = null!; /// - /// Agent identifier of the GitOps project. + /// Agent identifier of the agent where argo project resides(include scope prefix) /// [Input("agentId", required: true)] public string AgentId { get; set; } = null!; /// - /// Org identifier of the GitOps project. + /// Org identifier of the GitOps Agent where argo project resides. /// [Input("orgId")] public string? OrgId { get; set; } /// - /// Project identifier of the GitOps repository. + /// Project identifier of the Gitops Agent where argo project resides. /// [Input("projectId")] public string? ProjectId { get; set; } /// - /// Identifier for the GitOps project. + /// Identifier for the GitOps Argo project. /// [Input("queryName")] public string? QueryName { get; set; } @@ -100,31 +100,31 @@ public GetGitopsAppProjectArgs() public sealed class GetGitopsAppProjectInvokeArgs : global::Pulumi.InvokeArgs { /// - /// Account identifier of the GitOps project. + /// Account identifier of the GitOps Agent where argo project resides. /// [Input("accountId", required: true)] public Input AccountId { get; set; } = null!; /// - /// Agent identifier of the GitOps project. + /// Agent identifier of the agent where argo project resides(include scope prefix) /// [Input("agentId", required: true)] public Input AgentId { get; set; } = null!; /// - /// Org identifier of the GitOps project. + /// Org identifier of the GitOps Agent where argo project resides. /// [Input("orgId")] public Input? OrgId { get; set; } /// - /// Project identifier of the GitOps repository. + /// Project identifier of the Gitops Agent where argo project resides. /// [Input("projectId")] public Input? ProjectId { get; set; } /// - /// Identifier for the GitOps project. + /// Identifier for the GitOps Argo project. /// [Input("queryName")] public Input? QueryName { get; set; } @@ -140,11 +140,11 @@ public GetGitopsAppProjectInvokeArgs() public sealed class GetGitopsAppProjectResult { /// - /// Account identifier of the GitOps project. + /// Account identifier of the GitOps Agent where argo project resides. /// public readonly string AccountId; /// - /// Agent identifier of the GitOps project. + /// Agent identifier of the agent where argo project resides(include scope prefix) /// public readonly string AgentId; /// @@ -152,15 +152,15 @@ public sealed class GetGitopsAppProjectResult /// public readonly string Id; /// - /// Org identifier of the GitOps project. + /// Org identifier of the GitOps Agent where argo project resides. /// public readonly string? OrgId; /// - /// Project identifier of the GitOps repository. + /// Project identifier of the Gitops Agent where argo project resides. /// public readonly string? ProjectId; /// - /// Identifier for the GitOps project. + /// Identifier for the GitOps Argo project. /// public readonly string QueryName; diff --git a/sdk/dotnet/Platform/GetGitopsRepoCred.cs b/sdk/dotnet/Platform/GetGitopsRepoCred.cs index a470bb8a..884803fe 100644 --- a/sdk/dotnet/Platform/GetGitopsRepoCred.cs +++ b/sdk/dotnet/Platform/GetGitopsRepoCred.cs @@ -83,6 +83,18 @@ public sealed class GetGitopsRepoCredArgs : global::Pulumi.InvokeArgs [Input("agentId", required: true)] public string AgentId { get; set; } = null!; + [Input("creds")] + private List? _creds; + + /// + /// credential details. + /// + public List Creds + { + get => _creds ?? (_creds = new List()); + set => _creds = value; + } + /// /// Identifier of the Repository Credentials. /// @@ -121,6 +133,18 @@ public sealed class GetGitopsRepoCredInvokeArgs : global::Pulumi.InvokeArgs [Input("agentId", required: true)] public Input AgentId { get; set; } = null!; + [Input("creds")] + private InputList? _creds; + + /// + /// credential details. + /// + public InputList Creds + { + get => _creds ?? (_creds = new InputList()); + set => _creds = value; + } + /// /// Identifier of the Repository Credentials. /// diff --git a/sdk/dotnet/Platform/GitOpsCluster.cs b/sdk/dotnet/Platform/GitOpsCluster.cs index fa1d4055..eb3daf12 100644 --- a/sdk/dotnet/Platform/GitOpsCluster.cs +++ b/sdk/dotnet/Platform/GitOpsCluster.cs @@ -42,7 +42,7 @@ public partial class GitOpsCluster : global::Pulumi.CustomResource public Output AccountId { get; private set; } = null!; /// - /// Agent identifier of the GitOps cluster. + /// Agent identifier of the GitOps cluster. (include scope prefix) /// [Output("agentId")] public Output AgentId { get; private set; } = null!; @@ -125,7 +125,7 @@ public sealed class GitOpsClusterArgs : global::Pulumi.ResourceArgs public Input AccountId { get; set; } = null!; /// - /// Agent identifier of the GitOps cluster. + /// Agent identifier of the GitOps cluster. (include scope prefix) /// [Input("agentId", required: true)] public Input AgentId { get; set; } = null!; @@ -175,7 +175,7 @@ public sealed class GitOpsClusterState : global::Pulumi.ResourceArgs public Input? AccountId { get; set; } /// - /// Agent identifier of the GitOps cluster. + /// Agent identifier of the GitOps cluster. (include scope prefix) /// [Input("agentId")] public Input? AgentId { get; set; } diff --git a/sdk/dotnet/Platform/GitOpsRepository.cs b/sdk/dotnet/Platform/GitOpsRepository.cs index 8c8e5750..c948dda7 100644 --- a/sdk/dotnet/Platform/GitOpsRepository.cs +++ b/sdk/dotnet/Platform/GitOpsRepository.cs @@ -240,6 +240,7 @@ public InputList Repos /// /// Update mask of the repository. /// + [Obsolete(@"This field is deprecated and will be removed in a future release.")] public InputList UpdateMasks { get => _updateMasks ?? (_updateMasks = new InputList()); @@ -339,6 +340,7 @@ public InputList Repos /// /// Update mask of the repository. /// + [Obsolete(@"This field is deprecated and will be removed in a future release.")] public InputList UpdateMasks { get => _updateMasks ?? (_updateMasks = new InputList()); diff --git a/sdk/dotnet/Platform/GitopsAppProject.cs b/sdk/dotnet/Platform/GitopsAppProject.cs index f26a929a..1d31cb54 100644 --- a/sdk/dotnet/Platform/GitopsAppProject.cs +++ b/sdk/dotnet/Platform/GitopsAppProject.cs @@ -36,25 +36,25 @@ namespace Pulumi.Harness.Platform public partial class GitopsAppProject : global::Pulumi.CustomResource { /// - /// Account identifier of the GitOps project. + /// Account identifier of the GitOps project/agent. /// [Output("accountId")] public Output AccountId { get; private set; } = null!; /// - /// Agent identifier of the GitOps project. + /// Agent identifier of the GitOps project. Project is created on agent scope. /// [Output("agentId")] public Output AgentId { get; private set; } = null!; /// - /// Org identifier of the GitOps project. + /// Org identifier of the GitOps agent for which project is created. /// [Output("orgId")] public Output OrgId { get; private set; } = null!; /// - /// Project identifier of the GitOps repository. + /// Project identifier of the GitOps agent for which project is created. /// [Output("projectId")] public Output ProjectId { get; private set; } = null!; @@ -72,7 +72,7 @@ public partial class GitopsAppProject : global::Pulumi.CustomResource public Output QueryName { get; private set; } = null!; /// - /// Indicates if the GitOps repository should be updated if existing and inserted if not. + /// Indicates if the GitOps project should be updated if existing and inserted if not. /// [Output("upsert")] public Output Upsert { get; private set; } = null!; @@ -125,25 +125,25 @@ public static GitopsAppProject Get(string name, Input id, GitopsAppProje public sealed class GitopsAppProjectArgs : global::Pulumi.ResourceArgs { /// - /// Account identifier of the GitOps project. + /// Account identifier of the GitOps project/agent. /// [Input("accountId", required: true)] public Input AccountId { get; set; } = null!; /// - /// Agent identifier of the GitOps project. + /// Agent identifier of the GitOps project. Project is created on agent scope. /// [Input("agentId", required: true)] public Input AgentId { get; set; } = null!; /// - /// Org identifier of the GitOps project. + /// Org identifier of the GitOps agent for which project is created. /// [Input("orgId")] public Input? OrgId { get; set; } /// - /// Project identifier of the GitOps repository. + /// Project identifier of the GitOps agent for which project is created. /// [Input("projectId")] public Input? ProjectId { get; set; } @@ -167,7 +167,7 @@ public InputList Projects public Input? QueryName { get; set; } /// - /// Indicates if the GitOps repository should be updated if existing and inserted if not. + /// Indicates if the GitOps project should be updated if existing and inserted if not. /// [Input("upsert")] public Input? Upsert { get; set; } @@ -181,25 +181,25 @@ public GitopsAppProjectArgs() public sealed class GitopsAppProjectState : global::Pulumi.ResourceArgs { /// - /// Account identifier of the GitOps project. + /// Account identifier of the GitOps project/agent. /// [Input("accountId")] public Input? AccountId { get; set; } /// - /// Agent identifier of the GitOps project. + /// Agent identifier of the GitOps project. Project is created on agent scope. /// [Input("agentId")] public Input? AgentId { get; set; } /// - /// Org identifier of the GitOps project. + /// Org identifier of the GitOps agent for which project is created. /// [Input("orgId")] public Input? OrgId { get; set; } /// - /// Project identifier of the GitOps repository. + /// Project identifier of the GitOps agent for which project is created. /// [Input("projectId")] public Input? ProjectId { get; set; } @@ -223,7 +223,7 @@ public InputList Projects public Input? QueryName { get; set; } /// - /// Indicates if the GitOps repository should be updated if existing and inserted if not. + /// Indicates if the GitOps project should be updated if existing and inserted if not. /// [Input("upsert")] public Input? Upsert { get; set; } diff --git a/sdk/dotnet/Platform/Inputs/GetGitopsRepoCredCred.cs b/sdk/dotnet/Platform/Inputs/GetGitopsRepoCredCred.cs new file mode 100644 index 00000000..8dc9f2c2 --- /dev/null +++ b/sdk/dotnet/Platform/Inputs/GetGitopsRepoCredCred.cs @@ -0,0 +1,128 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Harness.Platform.Inputs +{ + + public sealed class GetGitopsRepoCredCredArgs : global::Pulumi.InvokeArgs + { + /// + /// Specifies whether helm-oci support should be enabled for this repo. + /// + [Input("enableOci", required: true)] + public bool EnableOci { get; set; } + + /// + /// Specifies the GitHub API URL for GitHub app authentication. + /// + [Input("githubAppEnterpriseBaseUrl", required: true)] + public string GithubAppEnterpriseBaseUrl { get; set; } = null!; + + /// + /// Specifies the Github App ID of the app used to access the repo for GitHub app authentication. + /// + [Input("githubAppId", required: true)] + public string GithubAppId { get; set; } = null!; + + /// + /// Specifies the ID of the installed GitHub App for GitHub app authentication. + /// + [Input("githubAppInstallationId", required: true)] + public string GithubAppInstallationId { get; set; } = null!; + + [Input("githubAppPrivateKey", required: true)] + private string? _githubAppPrivateKey; + + /// + /// github*app*private_key specifies the private key PEM data for authentication via GitHub app. + /// + public string? GithubAppPrivateKey + { + get => _githubAppPrivateKey; + set => _githubAppPrivateKey = value; + } + + [Input("password", required: true)] + private string? _password; + + /// + /// Password or PAT to be used for authenticating the remote repository. + /// + public string? Password + { + get => _password; + set => _password = value; + } + + [Input("sshPrivateKey", required: true)] + private string? _sshPrivateKey; + + /// + /// SSH Key in PEM format for authenticating the repository. Used only for Git repository. + /// + public string? SshPrivateKey + { + get => _sshPrivateKey; + set => _sshPrivateKey = value; + } + + [Input("tlsClientCertData", required: true)] + private string? _tlsClientCertData; + + /// + /// Certificate in PEM format for authenticating at the repo server. This is used for mTLS. + /// + public string? TlsClientCertData + { + get => _tlsClientCertData; + set => _tlsClientCertData = value; + } + + [Input("tlsClientCertKey", required: true)] + private string? _tlsClientCertKey; + + /// + /// Private key in PEM format for authenticating at the repo server. This is used for mTLS. + /// + public string? TlsClientCertKey + { + get => _tlsClientCertKey; + set => _tlsClientCertKey = value; + } + + /// + /// Type specifies the type of the repoCreds.Can be either 'git' or 'helm. 'git' is assumed if empty or absent + /// + [Input("type", required: true)] + public string Type { get; set; } = null!; + + /// + /// URL of the remote repository. Make sure you pass at least an org, this will not work if you just provide the host, for eg. "https://github.com" + /// + [Input("url", required: true)] + public string Url { get; set; } = null!; + + [Input("username", required: true)] + private string? _username; + + /// + /// Username to be used for authenticating the remote repository. + /// + public string? Username + { + get => _username; + set => _username = value; + } + + public GetGitopsRepoCredCredArgs() + { + } + public static new GetGitopsRepoCredCredArgs Empty => new GetGitopsRepoCredCredArgs(); + } +} diff --git a/sdk/dotnet/Platform/Inputs/GetGitopsRepoCredCredArgs.cs b/sdk/dotnet/Platform/Inputs/GetGitopsRepoCredCredArgs.cs new file mode 100644 index 00000000..dcd43f42 --- /dev/null +++ b/sdk/dotnet/Platform/Inputs/GetGitopsRepoCredCredArgs.cs @@ -0,0 +1,152 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Harness.Platform.Inputs +{ + + public sealed class GetGitopsRepoCredCredInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Specifies whether helm-oci support should be enabled for this repo. + /// + [Input("enableOci", required: true)] + public Input EnableOci { get; set; } = null!; + + /// + /// Specifies the GitHub API URL for GitHub app authentication. + /// + [Input("githubAppEnterpriseBaseUrl", required: true)] + public Input GithubAppEnterpriseBaseUrl { get; set; } = null!; + + /// + /// Specifies the Github App ID of the app used to access the repo for GitHub app authentication. + /// + [Input("githubAppId", required: true)] + public Input GithubAppId { get; set; } = null!; + + /// + /// Specifies the ID of the installed GitHub App for GitHub app authentication. + /// + [Input("githubAppInstallationId", required: true)] + public Input GithubAppInstallationId { get; set; } = null!; + + [Input("githubAppPrivateKey", required: true)] + private Input? _githubAppPrivateKey; + + /// + /// github*app*private_key specifies the private key PEM data for authentication via GitHub app. + /// + public Input? GithubAppPrivateKey + { + get => _githubAppPrivateKey; + set + { + var emptySecret = Output.CreateSecret(0); + _githubAppPrivateKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("password", required: true)] + private Input? _password; + + /// + /// Password or PAT to be used for authenticating the remote repository. + /// + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("sshPrivateKey", required: true)] + private Input? _sshPrivateKey; + + /// + /// SSH Key in PEM format for authenticating the repository. Used only for Git repository. + /// + public Input? SshPrivateKey + { + get => _sshPrivateKey; + set + { + var emptySecret = Output.CreateSecret(0); + _sshPrivateKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("tlsClientCertData", required: true)] + private Input? _tlsClientCertData; + + /// + /// Certificate in PEM format for authenticating at the repo server. This is used for mTLS. + /// + public Input? TlsClientCertData + { + get => _tlsClientCertData; + set + { + var emptySecret = Output.CreateSecret(0); + _tlsClientCertData = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("tlsClientCertKey", required: true)] + private Input? _tlsClientCertKey; + + /// + /// Private key in PEM format for authenticating at the repo server. This is used for mTLS. + /// + public Input? TlsClientCertKey + { + get => _tlsClientCertKey; + set + { + var emptySecret = Output.CreateSecret(0); + _tlsClientCertKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// Type specifies the type of the repoCreds.Can be either 'git' or 'helm. 'git' is assumed if empty or absent + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + /// + /// URL of the remote repository. Make sure you pass at least an org, this will not work if you just provide the host, for eg. "https://github.com" + /// + [Input("url", required: true)] + public Input Url { get; set; } = null!; + + [Input("username", required: true)] + private Input? _username; + + /// + /// Username to be used for authenticating the remote repository. + /// + public Input? Username + { + get => _username; + set + { + var emptySecret = Output.CreateSecret(0); + _username = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + public GetGitopsRepoCredCredInputArgs() + { + } + public static new GetGitopsRepoCredCredInputArgs Empty => new GetGitopsRepoCredCredInputArgs(); + } +} diff --git a/sdk/dotnet/Platform/Inputs/GitOpsRepoCredCredArgs.cs b/sdk/dotnet/Platform/Inputs/GitOpsRepoCredCredArgs.cs index f2ad0c7c..df42799b 100644 --- a/sdk/dotnet/Platform/Inputs/GitOpsRepoCredCredArgs.cs +++ b/sdk/dotnet/Platform/Inputs/GitOpsRepoCredCredArgs.cs @@ -24,17 +24,37 @@ public sealed class GitOpsRepoCredCredArgs : global::Pulumi.ResourceArgs [Input("githubAppEnterpriseBaseUrl")] public Input? GithubAppEnterpriseBaseUrl { get; set; } + [Input("githubAppId")] + private Input? _githubAppId; + /// /// Specifies the Github App ID of the app used to access the repo for GitHub app authentication. /// - [Input("githubAppId")] - public Input? GithubAppId { get; set; } + public Input? GithubAppId + { + get => _githubAppId; + set + { + var emptySecret = Output.CreateSecret(0); + _githubAppId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("githubAppInstallationId")] + private Input? _githubAppInstallationId; /// /// Specifies the ID of the installed GitHub App for GitHub app authentication. /// - [Input("githubAppInstallationId")] - public Input? GithubAppInstallationId { get; set; } + public Input? GithubAppInstallationId + { + get => _githubAppInstallationId; + set + { + var emptySecret = Output.CreateSecret(0); + _githubAppInstallationId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("githubAppPrivateKey")] private Input? _githubAppPrivateKey; diff --git a/sdk/dotnet/Platform/Inputs/GitOpsRepoCredCredGetArgs.cs b/sdk/dotnet/Platform/Inputs/GitOpsRepoCredCredGetArgs.cs index 0bd11a82..e7c5db9e 100644 --- a/sdk/dotnet/Platform/Inputs/GitOpsRepoCredCredGetArgs.cs +++ b/sdk/dotnet/Platform/Inputs/GitOpsRepoCredCredGetArgs.cs @@ -24,17 +24,37 @@ public sealed class GitOpsRepoCredCredGetArgs : global::Pulumi.ResourceArgs [Input("githubAppEnterpriseBaseUrl")] public Input? GithubAppEnterpriseBaseUrl { get; set; } + [Input("githubAppId")] + private Input? _githubAppId; + /// /// Specifies the Github App ID of the app used to access the repo for GitHub app authentication. /// - [Input("githubAppId")] - public Input? GithubAppId { get; set; } + public Input? GithubAppId + { + get => _githubAppId; + set + { + var emptySecret = Output.CreateSecret(0); + _githubAppId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("githubAppInstallationId")] + private Input? _githubAppInstallationId; /// /// Specifies the ID of the installed GitHub App for GitHub app authentication. /// - [Input("githubAppInstallationId")] - public Input? GithubAppInstallationId { get; set; } + public Input? GithubAppInstallationId + { + get => _githubAppInstallationId; + set + { + var emptySecret = Output.CreateSecret(0); + _githubAppInstallationId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("githubAppPrivateKey")] private Input? _githubAppPrivateKey; diff --git a/sdk/dotnet/Platform/Inputs/GitOpsRepositoryRepoArgs.cs b/sdk/dotnet/Platform/Inputs/GitOpsRepositoryRepoArgs.cs index e60fb7aa..610bb7aa 100644 --- a/sdk/dotnet/Platform/Inputs/GitOpsRepositoryRepoArgs.cs +++ b/sdk/dotnet/Platform/Inputs/GitOpsRepositoryRepoArgs.cs @@ -36,17 +36,37 @@ public sealed class GitOpsRepositoryRepoArgs : global::Pulumi.ResourceArgs [Input("githubAppEnterpriseBaseUrl")] public Input? GithubAppEnterpriseBaseUrl { get; set; } + [Input("githubAppId")] + private Input? _githubAppId; + /// /// Id of the GitHub app used to access the repo. /// - [Input("githubAppId")] - public Input? GithubAppId { get; set; } + public Input? GithubAppId + { + get => _githubAppId; + set + { + var emptySecret = Output.CreateSecret(0); + _githubAppId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("githubAppInstallationId")] + private Input? _githubAppInstallationId; /// /// Installation id of the GitHub app used to access the repo. /// - [Input("githubAppInstallationId")] - public Input? GithubAppInstallationId { get; set; } + public Input? GithubAppInstallationId + { + get => _githubAppInstallationId; + set + { + var emptySecret = Output.CreateSecret(0); + _githubAppInstallationId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("githubAppPrivateKey")] private Input? _githubAppPrivateKey; diff --git a/sdk/dotnet/Platform/Inputs/GitOpsRepositoryRepoGetArgs.cs b/sdk/dotnet/Platform/Inputs/GitOpsRepositoryRepoGetArgs.cs index 37fb4b04..e2442f69 100644 --- a/sdk/dotnet/Platform/Inputs/GitOpsRepositoryRepoGetArgs.cs +++ b/sdk/dotnet/Platform/Inputs/GitOpsRepositoryRepoGetArgs.cs @@ -36,17 +36,37 @@ public sealed class GitOpsRepositoryRepoGetArgs : global::Pulumi.ResourceArgs [Input("githubAppEnterpriseBaseUrl")] public Input? GithubAppEnterpriseBaseUrl { get; set; } + [Input("githubAppId")] + private Input? _githubAppId; + /// /// Id of the GitHub app used to access the repo. /// - [Input("githubAppId")] - public Input? GithubAppId { get; set; } + public Input? GithubAppId + { + get => _githubAppId; + set + { + var emptySecret = Output.CreateSecret(0); + _githubAppId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("githubAppInstallationId")] + private Input? _githubAppInstallationId; /// /// Installation id of the GitHub app used to access the repo. /// - [Input("githubAppInstallationId")] - public Input? GithubAppInstallationId { get; set; } + public Input? GithubAppInstallationId + { + get => _githubAppInstallationId; + set + { + var emptySecret = Output.CreateSecret(0); + _githubAppInstallationId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("githubAppPrivateKey")] private Input? _githubAppPrivateKey; diff --git a/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectArgs.cs b/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectArgs.cs index 87d9cc93..8d432367 100644 --- a/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectArgs.cs +++ b/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectArgs.cs @@ -16,7 +16,7 @@ public sealed class GitopsAppProjectProjectArgs : global::Pulumi.ResourceArgs private InputList? _metadatas; /// - /// Metadata details for the GitOps project. + /// K8s object metadata for the Argo project. /// public InputList Metadatas { @@ -28,7 +28,7 @@ public InputList Metadatas private InputList? _specs; /// - /// Specification details for the GitOps project. + /// Specification details for the Argo project. /// public InputList Specs { diff --git a/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectGetArgs.cs b/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectGetArgs.cs index a93a0e6b..d25a918d 100644 --- a/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectGetArgs.cs +++ b/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectGetArgs.cs @@ -16,7 +16,7 @@ public sealed class GitopsAppProjectProjectGetArgs : global::Pulumi.ResourceArgs private InputList? _metadatas; /// - /// Metadata details for the GitOps project. + /// K8s object metadata for the Argo project. /// public InputList Metadatas { @@ -28,7 +28,7 @@ public InputList Metadatas private InputList? _specs; /// - /// Specification details for the GitOps project. + /// Specification details for the Argo project. /// public InputList Specs { diff --git a/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectMetadataArgs.cs b/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectMetadataArgs.cs index 38fc0c4e..99d958a3 100644 --- a/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectMetadataArgs.cs +++ b/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectMetadataArgs.cs @@ -73,7 +73,7 @@ public InputList Managed public Input? Name { get; set; } /// - /// Namespace of the GitOps project. + /// Namespace of the GitOps project. This must be the same as the namespace where the agent is installed /// [Input("namespace")] public Input? Namespace { get; set; } diff --git a/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectMetadataGetArgs.cs b/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectMetadataGetArgs.cs index cd09c7c1..93a643ce 100644 --- a/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectMetadataGetArgs.cs +++ b/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectMetadataGetArgs.cs @@ -73,7 +73,7 @@ public InputList Mana public Input? Name { get; set; } /// - /// Namespace of the GitOps project. + /// Namespace of the GitOps project. This must be the same as the namespace where the agent is installed /// [Input("namespace")] public Input? Namespace { get; set; } diff --git a/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecArgs.cs b/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecArgs.cs index b2cca7b8..7ae0f2ea 100644 --- a/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecArgs.cs +++ b/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecArgs.cs @@ -28,7 +28,7 @@ public InputList private InputList? _clusterResourceWhitelists; /// - /// Cluster resource whitelist for the GitOps project. + /// Cluster resource whitelist for the Argo project. /// public InputList ClusterResourceWhitelists { @@ -37,7 +37,7 @@ public InputList } /// - /// Description of the GitOps project. + /// Description of the Argo project. /// [Input("description")] public Input? Description { get; set; } @@ -46,7 +46,7 @@ public InputList private InputList? _destinations; /// - /// Destinations for deployment of the GitOps project. + /// Allowed destinations for applications in this Argo project. /// public InputList Destinations { @@ -58,7 +58,7 @@ public InputList Destinations private InputList? _namespaceResourceBlacklists; /// - /// Namespace resource blacklist for the GitOps project. + /// Namespace resource blacklist for the Argo project. /// public InputList NamespaceResourceBlacklists { @@ -82,7 +82,7 @@ public InputList? _orphanedResources; /// - /// Orphaned resources configuration for the GitOps project. + /// OrphanedResources specifies if agent should monitor orphaned resources of apps in this project /// public InputList OrphanedResources { @@ -94,7 +94,7 @@ public InputList Orphane private InputList? _roles; /// - /// Roles associated with the GitOps project. + /// Roles associated with the Argo project. /// public InputList Roles { @@ -118,7 +118,7 @@ public InputList SignatureKe private InputList? _sourceRepos; /// - /// Source repositories for the GitOps project. + /// Allowed Source repositories for the Argo project. /// public InputList SourceRepos { diff --git a/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecDestinationArgs.cs b/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecDestinationArgs.cs index d81735bd..31332a80 100644 --- a/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecDestinationArgs.cs +++ b/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecDestinationArgs.cs @@ -13,19 +13,19 @@ namespace Pulumi.Harness.Platform.Inputs public sealed class GitopsAppProjectProjectSpecDestinationArgs : global::Pulumi.ResourceArgs { /// - /// Name of the destination. + /// Name of the destination cluster. /// [Input("name")] public Input? Name { get; set; } /// - /// Namespace of the destination. + /// Permitted Namespaces for deployment in the destination cluster. /// [Input("namespace")] public Input? Namespace { get; set; } /// - /// Server URL of the destination. + /// Server URL of the destination cluster. /// [Input("server")] public Input? Server { get; set; } diff --git a/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecDestinationGetArgs.cs b/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecDestinationGetArgs.cs index 25712e61..c775304c 100644 --- a/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecDestinationGetArgs.cs +++ b/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecDestinationGetArgs.cs @@ -13,19 +13,19 @@ namespace Pulumi.Harness.Platform.Inputs public sealed class GitopsAppProjectProjectSpecDestinationGetArgs : global::Pulumi.ResourceArgs { /// - /// Name of the destination. + /// Name of the destination cluster. /// [Input("name")] public Input? Name { get; set; } /// - /// Namespace of the destination. + /// Permitted Namespaces for deployment in the destination cluster. /// [Input("namespace")] public Input? Namespace { get; set; } /// - /// Server URL of the destination. + /// Server URL of the destination cluster. /// [Input("server")] public Input? Server { get; set; } diff --git a/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecGetArgs.cs b/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecGetArgs.cs index ee88c6e9..bf876b2c 100644 --- a/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecGetArgs.cs +++ b/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecGetArgs.cs @@ -28,7 +28,7 @@ public InputList? _clusterResourceWhitelists; /// - /// Cluster resource whitelist for the GitOps project. + /// Cluster resource whitelist for the Argo project. /// public InputList ClusterResourceWhitelists { @@ -37,7 +37,7 @@ public InputList - /// Description of the GitOps project. + /// Description of the Argo project. /// [Input("description")] public Input? Description { get; set; } @@ -46,7 +46,7 @@ public InputList? _destinations; /// - /// Destinations for deployment of the GitOps project. + /// Allowed destinations for applications in this Argo project. /// public InputList Destinations { @@ -58,7 +58,7 @@ public InputList Destinati private InputList? _namespaceResourceBlacklists; /// - /// Namespace resource blacklist for the GitOps project. + /// Namespace resource blacklist for the Argo project. /// public InputList NamespaceResourceBlacklists { @@ -82,7 +82,7 @@ public InputList? _orphanedResources; /// - /// Orphaned resources configuration for the GitOps project. + /// OrphanedResources specifies if agent should monitor orphaned resources of apps in this project /// public InputList OrphanedResources { @@ -94,7 +94,7 @@ public InputList Orph private InputList? _roles; /// - /// Roles associated with the GitOps project. + /// Roles associated with the Argo project. /// public InputList Roles { @@ -118,7 +118,7 @@ public InputList Signatur private InputList? _sourceRepos; /// - /// Source repositories for the GitOps project. + /// Allowed Source repositories for the Argo project. /// public InputList SourceRepos { diff --git a/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecRoleArgs.cs b/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecRoleArgs.cs index 51f6b233..0bd2679e 100644 --- a/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecRoleArgs.cs +++ b/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecRoleArgs.cs @@ -52,7 +52,7 @@ public InputList JwtTokens private InputList? _policies; /// - /// Policies associated with the role. + /// Policies associated with the role. These are argo RBAC policies and may not necessarily reflect in harness. /// public InputList Policies { diff --git a/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecRoleGetArgs.cs b/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecRoleGetArgs.cs index 7a343724..13d2c015 100644 --- a/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecRoleGetArgs.cs +++ b/sdk/dotnet/Platform/Inputs/GitopsAppProjectProjectSpecRoleGetArgs.cs @@ -52,7 +52,7 @@ public InputList JwtToken private InputList? _policies; /// - /// Policies associated with the role. + /// Policies associated with the role. These are argo RBAC policies and may not necessarily reflect in harness. /// public InputList Policies { diff --git a/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecResult.cs b/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecResult.cs index 15cf3701..e41353a9 100644 --- a/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecResult.cs +++ b/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecResult.cs @@ -18,7 +18,7 @@ public sealed class GetGitopsApplicationsApplicationSpecResult /// public readonly ImmutableArray Destinations; /// - /// The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness. + /// The ArgoCD project name corresponding to this GitOps application. Value must match mappings of ArgoCD projects to harness project. /// public readonly string? Project; /// diff --git a/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarResult.cs b/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarResult.cs index 43b41dc2..d6dec53f 100644 --- a/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarResult.cs +++ b/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarResult.cs @@ -18,7 +18,7 @@ public sealed class GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetEx /// public readonly bool Code; /// - /// Name of the GitOps application. + /// Name of the external variables of jsonnet application. /// public readonly string Name; /// diff --git a/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetTlaResult.cs b/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetTlaResult.cs index ed77a964..c1cf92f0 100644 --- a/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetTlaResult.cs +++ b/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetTlaResult.cs @@ -18,7 +18,7 @@ public sealed class GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetTl /// public readonly bool Code; /// - /// Name of the GitOps application. + /// Name of the TLAS of the jsonnet application. /// public readonly string Name; /// diff --git a/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourceHelmFileParameterResult.cs b/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourceHelmFileParameterResult.cs index 82c1d1e2..b647c33d 100644 --- a/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourceHelmFileParameterResult.cs +++ b/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourceHelmFileParameterResult.cs @@ -14,7 +14,7 @@ namespace Pulumi.Harness.Platform.Outputs public sealed class GetGitopsApplicationsApplicationSpecSourceHelmFileParameterResult { /// - /// Name of the GitOps application. + /// Name of the helm parameter. /// public readonly string Name; /// diff --git a/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourceHelmParameterResult.cs b/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourceHelmParameterResult.cs index 922f0efa..8ca603ea 100644 --- a/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourceHelmParameterResult.cs +++ b/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourceHelmParameterResult.cs @@ -18,7 +18,7 @@ public sealed class GetGitopsApplicationsApplicationSpecSourceHelmParameterResul /// public readonly bool ForceString; /// - /// Name of the GitOps application. + /// Name of the helm parameter. /// public readonly string Name; /// diff --git a/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourceKsonnetParameterResult.cs b/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourceKsonnetParameterResult.cs index a23c7429..611b3322 100644 --- a/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourceKsonnetParameterResult.cs +++ b/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourceKsonnetParameterResult.cs @@ -18,7 +18,7 @@ public sealed class GetGitopsApplicationsApplicationSpecSourceKsonnetParameterRe /// public readonly string Component; /// - /// Name of the GitOps application. + /// Name of the parameter of the ksonnet application. /// public readonly string Name; /// diff --git a/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourcePluginEnvResult.cs b/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourcePluginEnvResult.cs index a223ba85..931cff5d 100644 --- a/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourcePluginEnvResult.cs +++ b/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourcePluginEnvResult.cs @@ -14,7 +14,7 @@ namespace Pulumi.Harness.Platform.Outputs public sealed class GetGitopsApplicationsApplicationSpecSourcePluginEnvResult { /// - /// Name of the GitOps application. + /// Name of the variable, usually expressed in uppercase. /// public readonly string Name; /// diff --git a/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourcePluginResult.cs b/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourcePluginResult.cs index a8e8b839..085cead3 100644 --- a/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourcePluginResult.cs +++ b/sdk/dotnet/Platform/Outputs/GetGitopsApplicationsApplicationSpecSourcePluginResult.cs @@ -18,7 +18,7 @@ public sealed class GetGitopsApplicationsApplicationSpecSourcePluginResult /// public readonly ImmutableArray Envs; /// - /// Name of the GitOps application. + /// Name of the plugin. /// public readonly string Name; diff --git a/sdk/dotnet/Platform/Outputs/GitopsAppProjectProject.cs b/sdk/dotnet/Platform/Outputs/GitopsAppProjectProject.cs index bca56a31..26fab340 100644 --- a/sdk/dotnet/Platform/Outputs/GitopsAppProjectProject.cs +++ b/sdk/dotnet/Platform/Outputs/GitopsAppProjectProject.cs @@ -14,11 +14,11 @@ namespace Pulumi.Harness.Platform.Outputs public sealed class GitopsAppProjectProject { /// - /// Metadata details for the GitOps project. + /// K8s object metadata for the Argo project. /// public readonly ImmutableArray Metadatas; /// - /// Specification details for the GitOps project. + /// Specification details for the Argo project. /// public readonly ImmutableArray Specs; diff --git a/sdk/dotnet/Platform/Outputs/GitopsAppProjectProjectMetadata.cs b/sdk/dotnet/Platform/Outputs/GitopsAppProjectProjectMetadata.cs index 2bbb0db0..6b86c48a 100644 --- a/sdk/dotnet/Platform/Outputs/GitopsAppProjectProjectMetadata.cs +++ b/sdk/dotnet/Platform/Outputs/GitopsAppProjectProjectMetadata.cs @@ -38,7 +38,7 @@ public sealed class GitopsAppProjectProjectMetadata /// public readonly string? Name; /// - /// Namespace of the GitOps project. + /// Namespace of the GitOps project. This must be the same as the namespace where the agent is installed /// public readonly string? Namespace; /// diff --git a/sdk/dotnet/Platform/Outputs/GitopsAppProjectProjectSpec.cs b/sdk/dotnet/Platform/Outputs/GitopsAppProjectProjectSpec.cs index 1a943dd6..3a2a8dcb 100644 --- a/sdk/dotnet/Platform/Outputs/GitopsAppProjectProjectSpec.cs +++ b/sdk/dotnet/Platform/Outputs/GitopsAppProjectProjectSpec.cs @@ -18,19 +18,19 @@ public sealed class GitopsAppProjectProjectSpec /// public readonly ImmutableArray ClusterResourceBlacklists; /// - /// Cluster resource whitelist for the GitOps project. + /// Cluster resource whitelist for the Argo project. /// public readonly ImmutableArray ClusterResourceWhitelists; /// - /// Description of the GitOps project. + /// Description of the Argo project. /// public readonly string? Description; /// - /// Destinations for deployment of the GitOps project. + /// Allowed destinations for applications in this Argo project. /// public readonly ImmutableArray Destinations; /// - /// Namespace resource blacklist for the GitOps project. + /// Namespace resource blacklist for the Argo project. /// public readonly ImmutableArray NamespaceResourceBlacklists; /// @@ -38,11 +38,11 @@ public sealed class GitopsAppProjectProjectSpec /// public readonly ImmutableArray NamespaceResourceWhitelists; /// - /// Orphaned resources configuration for the GitOps project. + /// OrphanedResources specifies if agent should monitor orphaned resources of apps in this project /// public readonly ImmutableArray OrphanedResources; /// - /// Roles associated with the GitOps project. + /// Roles associated with the Argo project. /// public readonly ImmutableArray Roles; /// @@ -50,7 +50,7 @@ public sealed class GitopsAppProjectProjectSpec /// public readonly ImmutableArray SignatureKeys; /// - /// Source repositories for the GitOps project. + /// Allowed Source repositories for the Argo project. /// public readonly ImmutableArray SourceRepos; /// diff --git a/sdk/dotnet/Platform/Outputs/GitopsAppProjectProjectSpecDestination.cs b/sdk/dotnet/Platform/Outputs/GitopsAppProjectProjectSpecDestination.cs index 672676b6..68929fb2 100644 --- a/sdk/dotnet/Platform/Outputs/GitopsAppProjectProjectSpecDestination.cs +++ b/sdk/dotnet/Platform/Outputs/GitopsAppProjectProjectSpecDestination.cs @@ -14,15 +14,15 @@ namespace Pulumi.Harness.Platform.Outputs public sealed class GitopsAppProjectProjectSpecDestination { /// - /// Name of the destination. + /// Name of the destination cluster. /// public readonly string? Name; /// - /// Namespace of the destination. + /// Permitted Namespaces for deployment in the destination cluster. /// public readonly string? Namespace; /// - /// Server URL of the destination. + /// Server URL of the destination cluster. /// public readonly string? Server; diff --git a/sdk/dotnet/Platform/Outputs/GitopsAppProjectProjectSpecRole.cs b/sdk/dotnet/Platform/Outputs/GitopsAppProjectProjectSpecRole.cs index d664a360..1105f283 100644 --- a/sdk/dotnet/Platform/Outputs/GitopsAppProjectProjectSpecRole.cs +++ b/sdk/dotnet/Platform/Outputs/GitopsAppProjectProjectSpecRole.cs @@ -30,7 +30,7 @@ public sealed class GitopsAppProjectProjectSpecRole /// public readonly string Name; /// - /// Policies associated with the role. + /// Policies associated with the role. These are argo RBAC policies and may not necessarily reflect in harness. /// public readonly ImmutableArray Policies; diff --git a/sdk/go/harness/platform/getGitopsAppProject.go b/sdk/go/harness/platform/getGitopsAppProject.go index 0b2f91b5..723ec0a5 100644 --- a/sdk/go/harness/platform/getGitopsAppProject.go +++ b/sdk/go/harness/platform/getGitopsAppProject.go @@ -49,31 +49,31 @@ func LookupGitopsAppProject(ctx *pulumi.Context, args *LookupGitopsAppProjectArg // A collection of arguments for invoking getGitopsAppProject. type LookupGitopsAppProjectArgs struct { - // Account identifier of the GitOps project. + // Account identifier of the GitOps Agent where argo project resides. AccountId string `pulumi:"accountId"` - // Agent identifier of the GitOps project. + // Agent identifier of the agent where argo project resides(include scope prefix) AgentId string `pulumi:"agentId"` - // Org identifier of the GitOps project. + // Org identifier of the GitOps Agent where argo project resides. OrgId *string `pulumi:"orgId"` - // Project identifier of the GitOps repository. + // Project identifier of the Gitops Agent where argo project resides. ProjectId *string `pulumi:"projectId"` - // Identifier for the GitOps project. + // Identifier for the GitOps Argo project. QueryName *string `pulumi:"queryName"` } // A collection of values returned by getGitopsAppProject. type LookupGitopsAppProjectResult struct { - // Account identifier of the GitOps project. + // Account identifier of the GitOps Agent where argo project resides. AccountId string `pulumi:"accountId"` - // Agent identifier of the GitOps project. + // Agent identifier of the agent where argo project resides(include scope prefix) AgentId string `pulumi:"agentId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` - // Org identifier of the GitOps project. + // Org identifier of the GitOps Agent where argo project resides. OrgId *string `pulumi:"orgId"` - // Project identifier of the GitOps repository. + // Project identifier of the Gitops Agent where argo project resides. ProjectId *string `pulumi:"projectId"` - // Identifier for the GitOps project. + // Identifier for the GitOps Argo project. QueryName string `pulumi:"queryName"` } @@ -98,15 +98,15 @@ func LookupGitopsAppProjectOutput(ctx *pulumi.Context, args LookupGitopsAppProje // A collection of arguments for invoking getGitopsAppProject. type LookupGitopsAppProjectOutputArgs struct { - // Account identifier of the GitOps project. + // Account identifier of the GitOps Agent where argo project resides. AccountId pulumi.StringInput `pulumi:"accountId"` - // Agent identifier of the GitOps project. + // Agent identifier of the agent where argo project resides(include scope prefix) AgentId pulumi.StringInput `pulumi:"agentId"` - // Org identifier of the GitOps project. + // Org identifier of the GitOps Agent where argo project resides. OrgId pulumi.StringPtrInput `pulumi:"orgId"` - // Project identifier of the GitOps repository. + // Project identifier of the Gitops Agent where argo project resides. ProjectId pulumi.StringPtrInput `pulumi:"projectId"` - // Identifier for the GitOps project. + // Identifier for the GitOps Argo project. QueryName pulumi.StringPtrInput `pulumi:"queryName"` } @@ -129,12 +129,12 @@ func (o LookupGitopsAppProjectResultOutput) ToLookupGitopsAppProjectResultOutput return o } -// Account identifier of the GitOps project. +// Account identifier of the GitOps Agent where argo project resides. func (o LookupGitopsAppProjectResultOutput) AccountId() pulumi.StringOutput { return o.ApplyT(func(v LookupGitopsAppProjectResult) string { return v.AccountId }).(pulumi.StringOutput) } -// Agent identifier of the GitOps project. +// Agent identifier of the agent where argo project resides(include scope prefix) func (o LookupGitopsAppProjectResultOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v LookupGitopsAppProjectResult) string { return v.AgentId }).(pulumi.StringOutput) } @@ -144,17 +144,17 @@ func (o LookupGitopsAppProjectResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupGitopsAppProjectResult) string { return v.Id }).(pulumi.StringOutput) } -// Org identifier of the GitOps project. +// Org identifier of the GitOps Agent where argo project resides. func (o LookupGitopsAppProjectResultOutput) OrgId() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupGitopsAppProjectResult) *string { return v.OrgId }).(pulumi.StringPtrOutput) } -// Project identifier of the GitOps repository. +// Project identifier of the Gitops Agent where argo project resides. func (o LookupGitopsAppProjectResultOutput) ProjectId() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupGitopsAppProjectResult) *string { return v.ProjectId }).(pulumi.StringPtrOutput) } -// Identifier for the GitOps project. +// Identifier for the GitOps Argo project. func (o LookupGitopsAppProjectResultOutput) QueryName() pulumi.StringOutput { return o.ApplyT(func(v LookupGitopsAppProjectResult) string { return v.QueryName }).(pulumi.StringOutput) } diff --git a/sdk/go/harness/platform/getGitopsRepoCred.go b/sdk/go/harness/platform/getGitopsRepoCred.go index b93f818e..3334491f 100644 --- a/sdk/go/harness/platform/getGitopsRepoCred.go +++ b/sdk/go/harness/platform/getGitopsRepoCred.go @@ -58,6 +58,8 @@ type GetGitopsRepoCredArgs struct { AccountId string `pulumi:"accountId"` // Agent identifier of the Repository Credentials. AgentId string `pulumi:"agentId"` + // credential details. + Creds []GetGitopsRepoCredCred `pulumi:"creds"` // Identifier of the Repository Credentials. Identifier string `pulumi:"identifier"` // Organization identifier of the Repository Credentials. @@ -109,6 +111,8 @@ type GetGitopsRepoCredOutputArgs struct { AccountId pulumi.StringInput `pulumi:"accountId"` // Agent identifier of the Repository Credentials. AgentId pulumi.StringInput `pulumi:"agentId"` + // credential details. + Creds GetGitopsRepoCredCredArrayInput `pulumi:"creds"` // Identifier of the Repository Credentials. Identifier pulumi.StringInput `pulumi:"identifier"` // Organization identifier of the Repository Credentials. diff --git a/sdk/go/harness/platform/gitOpsCluster.go b/sdk/go/harness/platform/gitOpsCluster.go index c6355859..ab94e2eb 100644 --- a/sdk/go/harness/platform/gitOpsCluster.go +++ b/sdk/go/harness/platform/gitOpsCluster.go @@ -38,7 +38,7 @@ type GitOpsCluster struct { // Account identifier of the GitOps cluster. AccountId pulumi.StringOutput `pulumi:"accountId"` - // Agent identifier of the GitOps cluster. + // Agent identifier of the GitOps cluster. (include scope prefix) AgentId pulumi.StringOutput `pulumi:"agentId"` // Identifier of the GitOps cluster. Identifier pulumi.StringOutput `pulumi:"identifier"` @@ -91,7 +91,7 @@ func GetGitOpsCluster(ctx *pulumi.Context, type gitOpsClusterState struct { // Account identifier of the GitOps cluster. AccountId *string `pulumi:"accountId"` - // Agent identifier of the GitOps cluster. + // Agent identifier of the GitOps cluster. (include scope prefix) AgentId *string `pulumi:"agentId"` // Identifier of the GitOps cluster. Identifier *string `pulumi:"identifier"` @@ -106,7 +106,7 @@ type gitOpsClusterState struct { type GitOpsClusterState struct { // Account identifier of the GitOps cluster. AccountId pulumi.StringPtrInput - // Agent identifier of the GitOps cluster. + // Agent identifier of the GitOps cluster. (include scope prefix) AgentId pulumi.StringPtrInput // Identifier of the GitOps cluster. Identifier pulumi.StringPtrInput @@ -125,7 +125,7 @@ func (GitOpsClusterState) ElementType() reflect.Type { type gitOpsClusterArgs struct { // Account identifier of the GitOps cluster. AccountId string `pulumi:"accountId"` - // Agent identifier of the GitOps cluster. + // Agent identifier of the GitOps cluster. (include scope prefix) AgentId string `pulumi:"agentId"` // Identifier of the GitOps cluster. Identifier string `pulumi:"identifier"` @@ -141,7 +141,7 @@ type gitOpsClusterArgs struct { type GitOpsClusterArgs struct { // Account identifier of the GitOps cluster. AccountId pulumi.StringInput - // Agent identifier of the GitOps cluster. + // Agent identifier of the GitOps cluster. (include scope prefix) AgentId pulumi.StringInput // Identifier of the GitOps cluster. Identifier pulumi.StringInput @@ -245,7 +245,7 @@ func (o GitOpsClusterOutput) AccountId() pulumi.StringOutput { return o.ApplyT(func(v *GitOpsCluster) pulumi.StringOutput { return v.AccountId }).(pulumi.StringOutput) } -// Agent identifier of the GitOps cluster. +// Agent identifier of the GitOps cluster. (include scope prefix) func (o GitOpsClusterOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *GitOpsCluster) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } diff --git a/sdk/go/harness/platform/gitOpsRepository.go b/sdk/go/harness/platform/gitOpsRepository.go index a9db2400..bd737dc7 100644 --- a/sdk/go/harness/platform/gitOpsRepository.go +++ b/sdk/go/harness/platform/gitOpsRepository.go @@ -60,6 +60,8 @@ type GitOpsRepository struct { // Repo details holding application configurations. Repos GitOpsRepositoryRepoArrayOutput `pulumi:"repos"` // Update mask of the repository. + // + // Deprecated: This field is deprecated and will be removed in a future release. UpdateMasks GitOpsRepositoryUpdateMaskArrayOutput `pulumi:"updateMasks"` // Indicates if the GitOps repository should be updated if existing and inserted if not. Upsert pulumi.BoolPtrOutput `pulumi:"upsert"` @@ -131,6 +133,8 @@ type gitOpsRepositoryState struct { // Repo details holding application configurations. Repos []GitOpsRepositoryRepo `pulumi:"repos"` // Update mask of the repository. + // + // Deprecated: This field is deprecated and will be removed in a future release. UpdateMasks []GitOpsRepositoryUpdateMask `pulumi:"updateMasks"` // Indicates if the GitOps repository should be updated if existing and inserted if not. Upsert *bool `pulumi:"upsert"` @@ -161,6 +165,8 @@ type GitOpsRepositoryState struct { // Repo details holding application configurations. Repos GitOpsRepositoryRepoArrayInput // Update mask of the repository. + // + // Deprecated: This field is deprecated and will be removed in a future release. UpdateMasks GitOpsRepositoryUpdateMaskArrayInput // Indicates if the GitOps repository should be updated if existing and inserted if not. Upsert pulumi.BoolPtrInput @@ -195,6 +201,8 @@ type gitOpsRepositoryArgs struct { // Repo details holding application configurations. Repos []GitOpsRepositoryRepo `pulumi:"repos"` // Update mask of the repository. + // + // Deprecated: This field is deprecated and will be removed in a future release. UpdateMasks []GitOpsRepositoryUpdateMask `pulumi:"updateMasks"` // Indicates if the GitOps repository should be updated if existing and inserted if not. Upsert *bool `pulumi:"upsert"` @@ -226,6 +234,8 @@ type GitOpsRepositoryArgs struct { // Repo details holding application configurations. Repos GitOpsRepositoryRepoArrayInput // Update mask of the repository. + // + // Deprecated: This field is deprecated and will be removed in a future release. UpdateMasks GitOpsRepositoryUpdateMaskArrayInput // Indicates if the GitOps repository should be updated if existing and inserted if not. Upsert pulumi.BoolPtrInput @@ -375,6 +385,8 @@ func (o GitOpsRepositoryOutput) Repos() GitOpsRepositoryRepoArrayOutput { } // Update mask of the repository. +// +// Deprecated: This field is deprecated and will be removed in a future release. func (o GitOpsRepositoryOutput) UpdateMasks() GitOpsRepositoryUpdateMaskArrayOutput { return o.ApplyT(func(v *GitOpsRepository) GitOpsRepositoryUpdateMaskArrayOutput { return v.UpdateMasks }).(GitOpsRepositoryUpdateMaskArrayOutput) } diff --git a/sdk/go/harness/platform/gitopsAppProject.go b/sdk/go/harness/platform/gitopsAppProject.go index 3788c8a6..e642cf41 100644 --- a/sdk/go/harness/platform/gitopsAppProject.go +++ b/sdk/go/harness/platform/gitopsAppProject.go @@ -36,19 +36,19 @@ import ( type GitopsAppProject struct { pulumi.CustomResourceState - // Account identifier of the GitOps project. + // Account identifier of the GitOps project/agent. AccountId pulumi.StringOutput `pulumi:"accountId"` - // Agent identifier of the GitOps project. + // Agent identifier of the GitOps project. Project is created on agent scope. AgentId pulumi.StringOutput `pulumi:"agentId"` - // Org identifier of the GitOps project. + // Org identifier of the GitOps agent for which project is created. OrgId pulumi.StringPtrOutput `pulumi:"orgId"` - // Project identifier of the GitOps repository. + // Project identifier of the GitOps agent for which project is created. ProjectId pulumi.StringPtrOutput `pulumi:"projectId"` // GitOps project configuration. Projects GitopsAppProjectProjectArrayOutput `pulumi:"projects"` // Identifier for the GitOps project. QueryName pulumi.StringOutput `pulumi:"queryName"` - // Indicates if the GitOps repository should be updated if existing and inserted if not. + // Indicates if the GitOps project should be updated if existing and inserted if not. Upsert pulumi.BoolPtrOutput `pulumi:"upsert"` } @@ -91,36 +91,36 @@ func GetGitopsAppProject(ctx *pulumi.Context, // Input properties used for looking up and filtering GitopsAppProject resources. type gitopsAppProjectState struct { - // Account identifier of the GitOps project. + // Account identifier of the GitOps project/agent. AccountId *string `pulumi:"accountId"` - // Agent identifier of the GitOps project. + // Agent identifier of the GitOps project. Project is created on agent scope. AgentId *string `pulumi:"agentId"` - // Org identifier of the GitOps project. + // Org identifier of the GitOps agent for which project is created. OrgId *string `pulumi:"orgId"` - // Project identifier of the GitOps repository. + // Project identifier of the GitOps agent for which project is created. ProjectId *string `pulumi:"projectId"` // GitOps project configuration. Projects []GitopsAppProjectProject `pulumi:"projects"` // Identifier for the GitOps project. QueryName *string `pulumi:"queryName"` - // Indicates if the GitOps repository should be updated if existing and inserted if not. + // Indicates if the GitOps project should be updated if existing and inserted if not. Upsert *bool `pulumi:"upsert"` } type GitopsAppProjectState struct { - // Account identifier of the GitOps project. + // Account identifier of the GitOps project/agent. AccountId pulumi.StringPtrInput - // Agent identifier of the GitOps project. + // Agent identifier of the GitOps project. Project is created on agent scope. AgentId pulumi.StringPtrInput - // Org identifier of the GitOps project. + // Org identifier of the GitOps agent for which project is created. OrgId pulumi.StringPtrInput - // Project identifier of the GitOps repository. + // Project identifier of the GitOps agent for which project is created. ProjectId pulumi.StringPtrInput // GitOps project configuration. Projects GitopsAppProjectProjectArrayInput // Identifier for the GitOps project. QueryName pulumi.StringPtrInput - // Indicates if the GitOps repository should be updated if existing and inserted if not. + // Indicates if the GitOps project should be updated if existing and inserted if not. Upsert pulumi.BoolPtrInput } @@ -129,37 +129,37 @@ func (GitopsAppProjectState) ElementType() reflect.Type { } type gitopsAppProjectArgs struct { - // Account identifier of the GitOps project. + // Account identifier of the GitOps project/agent. AccountId string `pulumi:"accountId"` - // Agent identifier of the GitOps project. + // Agent identifier of the GitOps project. Project is created on agent scope. AgentId string `pulumi:"agentId"` - // Org identifier of the GitOps project. + // Org identifier of the GitOps agent for which project is created. OrgId *string `pulumi:"orgId"` - // Project identifier of the GitOps repository. + // Project identifier of the GitOps agent for which project is created. ProjectId *string `pulumi:"projectId"` // GitOps project configuration. Projects []GitopsAppProjectProject `pulumi:"projects"` // Identifier for the GitOps project. QueryName *string `pulumi:"queryName"` - // Indicates if the GitOps repository should be updated if existing and inserted if not. + // Indicates if the GitOps project should be updated if existing and inserted if not. Upsert *bool `pulumi:"upsert"` } // The set of arguments for constructing a GitopsAppProject resource. type GitopsAppProjectArgs struct { - // Account identifier of the GitOps project. + // Account identifier of the GitOps project/agent. AccountId pulumi.StringInput - // Agent identifier of the GitOps project. + // Agent identifier of the GitOps project. Project is created on agent scope. AgentId pulumi.StringInput - // Org identifier of the GitOps project. + // Org identifier of the GitOps agent for which project is created. OrgId pulumi.StringPtrInput - // Project identifier of the GitOps repository. + // Project identifier of the GitOps agent for which project is created. ProjectId pulumi.StringPtrInput // GitOps project configuration. Projects GitopsAppProjectProjectArrayInput // Identifier for the GitOps project. QueryName pulumi.StringPtrInput - // Indicates if the GitOps repository should be updated if existing and inserted if not. + // Indicates if the GitOps project should be updated if existing and inserted if not. Upsert pulumi.BoolPtrInput } @@ -250,22 +250,22 @@ func (o GitopsAppProjectOutput) ToGitopsAppProjectOutputWithContext(ctx context. return o } -// Account identifier of the GitOps project. +// Account identifier of the GitOps project/agent. func (o GitopsAppProjectOutput) AccountId() pulumi.StringOutput { return o.ApplyT(func(v *GitopsAppProject) pulumi.StringOutput { return v.AccountId }).(pulumi.StringOutput) } -// Agent identifier of the GitOps project. +// Agent identifier of the GitOps project. Project is created on agent scope. func (o GitopsAppProjectOutput) AgentId() pulumi.StringOutput { return o.ApplyT(func(v *GitopsAppProject) pulumi.StringOutput { return v.AgentId }).(pulumi.StringOutput) } -// Org identifier of the GitOps project. +// Org identifier of the GitOps agent for which project is created. func (o GitopsAppProjectOutput) OrgId() pulumi.StringPtrOutput { return o.ApplyT(func(v *GitopsAppProject) pulumi.StringPtrOutput { return v.OrgId }).(pulumi.StringPtrOutput) } -// Project identifier of the GitOps repository. +// Project identifier of the GitOps agent for which project is created. func (o GitopsAppProjectOutput) ProjectId() pulumi.StringPtrOutput { return o.ApplyT(func(v *GitopsAppProject) pulumi.StringPtrOutput { return v.ProjectId }).(pulumi.StringPtrOutput) } @@ -280,7 +280,7 @@ func (o GitopsAppProjectOutput) QueryName() pulumi.StringOutput { return o.ApplyT(func(v *GitopsAppProject) pulumi.StringOutput { return v.QueryName }).(pulumi.StringOutput) } -// Indicates if the GitOps repository should be updated if existing and inserted if not. +// Indicates if the GitOps project should be updated if existing and inserted if not. func (o GitopsAppProjectOutput) Upsert() pulumi.BoolPtrOutput { return o.ApplyT(func(v *GitopsAppProject) pulumi.BoolPtrOutput { return v.Upsert }).(pulumi.BoolPtrOutput) } diff --git a/sdk/go/harness/platform/pulumiTypes.go b/sdk/go/harness/platform/pulumiTypes.go index 98d6733a..7c600d59 100644 --- a/sdk/go/harness/platform/pulumiTypes.go +++ b/sdk/go/harness/platform/pulumiTypes.go @@ -17909,9 +17909,9 @@ func (o GitlabConnectorCredentialsSshPtrOutput) SshKeyRef() pulumi.StringPtrOutp } type GitopsAppProjectProject struct { - // Metadata details for the GitOps project. + // K8s object metadata for the Argo project. Metadatas []GitopsAppProjectProjectMetadata `pulumi:"metadatas"` - // Specification details for the GitOps project. + // Specification details for the Argo project. Specs []GitopsAppProjectProjectSpec `pulumi:"specs"` } @@ -17927,9 +17927,9 @@ type GitopsAppProjectProjectInput interface { } type GitopsAppProjectProjectArgs struct { - // Metadata details for the GitOps project. + // K8s object metadata for the Argo project. Metadatas GitopsAppProjectProjectMetadataArrayInput `pulumi:"metadatas"` - // Specification details for the GitOps project. + // Specification details for the Argo project. Specs GitopsAppProjectProjectSpecArrayInput `pulumi:"specs"` } @@ -17984,12 +17984,12 @@ func (o GitopsAppProjectProjectOutput) ToGitopsAppProjectProjectOutputWithContex return o } -// Metadata details for the GitOps project. +// K8s object metadata for the Argo project. func (o GitopsAppProjectProjectOutput) Metadatas() GitopsAppProjectProjectMetadataArrayOutput { return o.ApplyT(func(v GitopsAppProjectProject) []GitopsAppProjectProjectMetadata { return v.Metadatas }).(GitopsAppProjectProjectMetadataArrayOutput) } -// Specification details for the GitOps project. +// Specification details for the Argo project. func (o GitopsAppProjectProjectOutput) Specs() GitopsAppProjectProjectSpecArrayOutput { return o.ApplyT(func(v GitopsAppProjectProject) []GitopsAppProjectProjectSpec { return v.Specs }).(GitopsAppProjectProjectSpecArrayOutput) } @@ -18027,7 +18027,7 @@ type GitopsAppProjectProjectMetadata struct { ManagedFields []GitopsAppProjectProjectMetadataManagedField `pulumi:"managedFields"` // Name of the GitOps project. Name *string `pulumi:"name"` - // Namespace of the GitOps project. + // Namespace of the GitOps project. This must be the same as the namespace where the agent is installed Namespace *string `pulumi:"namespace"` // Resource Version for the GitOps project ResourceVersion *string `pulumi:"resourceVersion"` @@ -18057,7 +18057,7 @@ type GitopsAppProjectProjectMetadataArgs struct { ManagedFields GitopsAppProjectProjectMetadataManagedFieldArrayInput `pulumi:"managedFields"` // Name of the GitOps project. Name pulumi.StringPtrInput `pulumi:"name"` - // Namespace of the GitOps project. + // Namespace of the GitOps project. This must be the same as the namespace where the agent is installed Namespace pulumi.StringPtrInput `pulumi:"namespace"` // Resource Version for the GitOps project ResourceVersion pulumi.StringPtrInput `pulumi:"resourceVersion"` @@ -18146,7 +18146,7 @@ func (o GitopsAppProjectProjectMetadataOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v GitopsAppProjectProjectMetadata) *string { return v.Name }).(pulumi.StringPtrOutput) } -// Namespace of the GitOps project. +// Namespace of the GitOps project. This must be the same as the namespace where the agent is installed func (o GitopsAppProjectProjectMetadataOutput) Namespace() pulumi.StringPtrOutput { return o.ApplyT(func(v GitopsAppProjectProjectMetadata) *string { return v.Namespace }).(pulumi.StringPtrOutput) } @@ -18330,23 +18330,23 @@ func (o GitopsAppProjectProjectMetadataManagedFieldArrayOutput) Index(i pulumi.I type GitopsAppProjectProjectSpec struct { // Cluster resource blacklist for the GitOps project. ClusterResourceBlacklists []GitopsAppProjectProjectSpecClusterResourceBlacklist `pulumi:"clusterResourceBlacklists"` - // Cluster resource whitelist for the GitOps project. + // Cluster resource whitelist for the Argo project. ClusterResourceWhitelists []GitopsAppProjectProjectSpecClusterResourceWhitelist `pulumi:"clusterResourceWhitelists"` - // Description of the GitOps project. + // Description of the Argo project. Description *string `pulumi:"description"` - // Destinations for deployment of the GitOps project. + // Allowed destinations for applications in this Argo project. Destinations []GitopsAppProjectProjectSpecDestination `pulumi:"destinations"` - // Namespace resource blacklist for the GitOps project. + // Namespace resource blacklist for the Argo project. NamespaceResourceBlacklists []GitopsAppProjectProjectSpecNamespaceResourceBlacklist `pulumi:"namespaceResourceBlacklists"` // Namespace resource whitelist for the GitOps project. NamespaceResourceWhitelists []GitopsAppProjectProjectSpecNamespaceResourceWhitelist `pulumi:"namespaceResourceWhitelists"` - // Orphaned resources configuration for the GitOps project. + // OrphanedResources specifies if agent should monitor orphaned resources of apps in this project OrphanedResources []GitopsAppProjectProjectSpecOrphanedResource `pulumi:"orphanedResources"` - // Roles associated with the GitOps project. + // Roles associated with the Argo project. Roles []GitopsAppProjectProjectSpecRole `pulumi:"roles"` // Signature keys for the GitOps project. SignatureKeys []GitopsAppProjectProjectSpecSignatureKey `pulumi:"signatureKeys"` - // Source repositories for the GitOps project. + // Allowed Source repositories for the Argo project. SourceRepos []string `pulumi:"sourceRepos"` // Synchronization windows for the GitOps project. SyncWindows []GitopsAppProjectProjectSpecSyncWindow `pulumi:"syncWindows"` @@ -18366,23 +18366,23 @@ type GitopsAppProjectProjectSpecInput interface { type GitopsAppProjectProjectSpecArgs struct { // Cluster resource blacklist for the GitOps project. ClusterResourceBlacklists GitopsAppProjectProjectSpecClusterResourceBlacklistArrayInput `pulumi:"clusterResourceBlacklists"` - // Cluster resource whitelist for the GitOps project. + // Cluster resource whitelist for the Argo project. ClusterResourceWhitelists GitopsAppProjectProjectSpecClusterResourceWhitelistArrayInput `pulumi:"clusterResourceWhitelists"` - // Description of the GitOps project. + // Description of the Argo project. Description pulumi.StringPtrInput `pulumi:"description"` - // Destinations for deployment of the GitOps project. + // Allowed destinations for applications in this Argo project. Destinations GitopsAppProjectProjectSpecDestinationArrayInput `pulumi:"destinations"` - // Namespace resource blacklist for the GitOps project. + // Namespace resource blacklist for the Argo project. NamespaceResourceBlacklists GitopsAppProjectProjectSpecNamespaceResourceBlacklistArrayInput `pulumi:"namespaceResourceBlacklists"` // Namespace resource whitelist for the GitOps project. NamespaceResourceWhitelists GitopsAppProjectProjectSpecNamespaceResourceWhitelistArrayInput `pulumi:"namespaceResourceWhitelists"` - // Orphaned resources configuration for the GitOps project. + // OrphanedResources specifies if agent should monitor orphaned resources of apps in this project OrphanedResources GitopsAppProjectProjectSpecOrphanedResourceArrayInput `pulumi:"orphanedResources"` - // Roles associated with the GitOps project. + // Roles associated with the Argo project. Roles GitopsAppProjectProjectSpecRoleArrayInput `pulumi:"roles"` // Signature keys for the GitOps project. SignatureKeys GitopsAppProjectProjectSpecSignatureKeyArrayInput `pulumi:"signatureKeys"` - // Source repositories for the GitOps project. + // Allowed Source repositories for the Argo project. SourceRepos pulumi.StringArrayInput `pulumi:"sourceRepos"` // Synchronization windows for the GitOps project. SyncWindows GitopsAppProjectProjectSpecSyncWindowArrayInput `pulumi:"syncWindows"` @@ -18446,24 +18446,24 @@ func (o GitopsAppProjectProjectSpecOutput) ClusterResourceBlacklists() GitopsApp }).(GitopsAppProjectProjectSpecClusterResourceBlacklistArrayOutput) } -// Cluster resource whitelist for the GitOps project. +// Cluster resource whitelist for the Argo project. func (o GitopsAppProjectProjectSpecOutput) ClusterResourceWhitelists() GitopsAppProjectProjectSpecClusterResourceWhitelistArrayOutput { return o.ApplyT(func(v GitopsAppProjectProjectSpec) []GitopsAppProjectProjectSpecClusterResourceWhitelist { return v.ClusterResourceWhitelists }).(GitopsAppProjectProjectSpecClusterResourceWhitelistArrayOutput) } -// Description of the GitOps project. +// Description of the Argo project. func (o GitopsAppProjectProjectSpecOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v GitopsAppProjectProjectSpec) *string { return v.Description }).(pulumi.StringPtrOutput) } -// Destinations for deployment of the GitOps project. +// Allowed destinations for applications in this Argo project. func (o GitopsAppProjectProjectSpecOutput) Destinations() GitopsAppProjectProjectSpecDestinationArrayOutput { return o.ApplyT(func(v GitopsAppProjectProjectSpec) []GitopsAppProjectProjectSpecDestination { return v.Destinations }).(GitopsAppProjectProjectSpecDestinationArrayOutput) } -// Namespace resource blacklist for the GitOps project. +// Namespace resource blacklist for the Argo project. func (o GitopsAppProjectProjectSpecOutput) NamespaceResourceBlacklists() GitopsAppProjectProjectSpecNamespaceResourceBlacklistArrayOutput { return o.ApplyT(func(v GitopsAppProjectProjectSpec) []GitopsAppProjectProjectSpecNamespaceResourceBlacklist { return v.NamespaceResourceBlacklists @@ -18477,14 +18477,14 @@ func (o GitopsAppProjectProjectSpecOutput) NamespaceResourceWhitelists() GitopsA }).(GitopsAppProjectProjectSpecNamespaceResourceWhitelistArrayOutput) } -// Orphaned resources configuration for the GitOps project. +// OrphanedResources specifies if agent should monitor orphaned resources of apps in this project func (o GitopsAppProjectProjectSpecOutput) OrphanedResources() GitopsAppProjectProjectSpecOrphanedResourceArrayOutput { return o.ApplyT(func(v GitopsAppProjectProjectSpec) []GitopsAppProjectProjectSpecOrphanedResource { return v.OrphanedResources }).(GitopsAppProjectProjectSpecOrphanedResourceArrayOutput) } -// Roles associated with the GitOps project. +// Roles associated with the Argo project. func (o GitopsAppProjectProjectSpecOutput) Roles() GitopsAppProjectProjectSpecRoleArrayOutput { return o.ApplyT(func(v GitopsAppProjectProjectSpec) []GitopsAppProjectProjectSpecRole { return v.Roles }).(GitopsAppProjectProjectSpecRoleArrayOutput) } @@ -18494,7 +18494,7 @@ func (o GitopsAppProjectProjectSpecOutput) SignatureKeys() GitopsAppProjectProje return o.ApplyT(func(v GitopsAppProjectProjectSpec) []GitopsAppProjectProjectSpecSignatureKey { return v.SignatureKeys }).(GitopsAppProjectProjectSpecSignatureKeyArrayOutput) } -// Source repositories for the GitOps project. +// Allowed Source repositories for the Argo project. func (o GitopsAppProjectProjectSpecOutput) SourceRepos() pulumi.StringArrayOutput { return o.ApplyT(func(v GitopsAppProjectProjectSpec) []string { return v.SourceRepos }).(pulumi.StringArrayOutput) } @@ -18737,11 +18737,11 @@ func (o GitopsAppProjectProjectSpecClusterResourceWhitelistArrayOutput) Index(i } type GitopsAppProjectProjectSpecDestination struct { - // Name of the destination. + // Name of the destination cluster. Name *string `pulumi:"name"` - // Namespace of the destination. + // Permitted Namespaces for deployment in the destination cluster. Namespace *string `pulumi:"namespace"` - // Server URL of the destination. + // Server URL of the destination cluster. Server *string `pulumi:"server"` } @@ -18757,11 +18757,11 @@ type GitopsAppProjectProjectSpecDestinationInput interface { } type GitopsAppProjectProjectSpecDestinationArgs struct { - // Name of the destination. + // Name of the destination cluster. Name pulumi.StringPtrInput `pulumi:"name"` - // Namespace of the destination. + // Permitted Namespaces for deployment in the destination cluster. Namespace pulumi.StringPtrInput `pulumi:"namespace"` - // Server URL of the destination. + // Server URL of the destination cluster. Server pulumi.StringPtrInput `pulumi:"server"` } @@ -18816,17 +18816,17 @@ func (o GitopsAppProjectProjectSpecDestinationOutput) ToGitopsAppProjectProjectS return o } -// Name of the destination. +// Name of the destination cluster. func (o GitopsAppProjectProjectSpecDestinationOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v GitopsAppProjectProjectSpecDestination) *string { return v.Name }).(pulumi.StringPtrOutput) } -// Namespace of the destination. +// Permitted Namespaces for deployment in the destination cluster. func (o GitopsAppProjectProjectSpecDestinationOutput) Namespace() pulumi.StringPtrOutput { return o.ApplyT(func(v GitopsAppProjectProjectSpecDestination) *string { return v.Namespace }).(pulumi.StringPtrOutput) } -// Server URL of the destination. +// Server URL of the destination cluster. func (o GitopsAppProjectProjectSpecDestinationOutput) Server() pulumi.StringPtrOutput { return o.ApplyT(func(v GitopsAppProjectProjectSpecDestination) *string { return v.Server }).(pulumi.StringPtrOutput) } @@ -19295,7 +19295,7 @@ type GitopsAppProjectProjectSpecRole struct { JwtTokens []GitopsAppProjectProjectSpecRoleJwtToken `pulumi:"jwtTokens"` // Name of the role. Name string `pulumi:"name"` - // Policies associated with the role. + // Policies associated with the role. These are argo RBAC policies and may not necessarily reflect in harness. Policies []string `pulumi:"policies"` } @@ -19319,7 +19319,7 @@ type GitopsAppProjectProjectSpecRoleArgs struct { JwtTokens GitopsAppProjectProjectSpecRoleJwtTokenArrayInput `pulumi:"jwtTokens"` // Name of the role. Name pulumi.StringInput `pulumi:"name"` - // Policies associated with the role. + // Policies associated with the role. These are argo RBAC policies and may not necessarily reflect in harness. Policies pulumi.StringArrayInput `pulumi:"policies"` } @@ -19394,7 +19394,7 @@ func (o GitopsAppProjectProjectSpecRoleOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GitopsAppProjectProjectSpecRole) string { return v.Name }).(pulumi.StringOutput) } -// Policies associated with the role. +// Policies associated with the role. These are argo RBAC policies and may not necessarily reflect in harness. func (o GitopsAppProjectProjectSpecRoleOutput) Policies() pulumi.StringArrayOutput { return o.ApplyT(func(v GitopsAppProjectProjectSpecRole) []string { return v.Policies }).(pulumi.StringArrayOutput) } @@ -43088,7 +43088,7 @@ func (o GetGitopsApplicationsApplicationMetadataOwnerReferenceArrayOutput) Index type GetGitopsApplicationsApplicationSpec struct { // Information about the GitOps application's destination. Destinations []GetGitopsApplicationsApplicationSpecDestination `pulumi:"destinations"` - // The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness. + // The ArgoCD project name corresponding to this GitOps application. Value must match mappings of ArgoCD projects to harness project. Project *string `pulumi:"project"` // Contains all information about the source of a GitOps application. Sources []GetGitopsApplicationsApplicationSpecSource `pulumi:"sources"` @@ -43110,7 +43110,7 @@ type GetGitopsApplicationsApplicationSpecInput interface { type GetGitopsApplicationsApplicationSpecArgs struct { // Information about the GitOps application's destination. Destinations GetGitopsApplicationsApplicationSpecDestinationArrayInput `pulumi:"destinations"` - // The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness. + // The ArgoCD project name corresponding to this GitOps application. Value must match mappings of ArgoCD projects to harness project. Project pulumi.StringPtrInput `pulumi:"project"` // Contains all information about the source of a GitOps application. Sources GetGitopsApplicationsApplicationSpecSourceArrayInput `pulumi:"sources"` @@ -43176,7 +43176,7 @@ func (o GetGitopsApplicationsApplicationSpecOutput) Destinations() GetGitopsAppl }).(GetGitopsApplicationsApplicationSpecDestinationArrayOutput) } -// The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness. +// The ArgoCD project name corresponding to this GitOps application. Value must match mappings of ArgoCD projects to harness project. func (o GetGitopsApplicationsApplicationSpecOutput) Project() pulumi.StringPtrOutput { return o.ApplyT(func(v GetGitopsApplicationsApplicationSpec) *string { return v.Project }).(pulumi.StringPtrOutput) } @@ -43757,7 +43757,7 @@ func (o GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetArrayOutput) I type GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetExtVar struct { // Code of the external variables of jsonnet application. Code bool `pulumi:"code"` - // Name of the GitOps application. + // Name of the external variables of jsonnet application. Name string `pulumi:"name"` // Value of the external variables of jsonnet application. Value string `pulumi:"value"` @@ -43777,7 +43777,7 @@ type GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarInput inter type GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarArgs struct { // Code of the external variables of jsonnet application. Code pulumi.BoolInput `pulumi:"code"` - // Name of the GitOps application. + // Name of the external variables of jsonnet application. Name pulumi.StringInput `pulumi:"name"` // Value of the external variables of jsonnet application. Value pulumi.StringInput `pulumi:"value"` @@ -43839,7 +43839,7 @@ func (o GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarOutput) return o.ApplyT(func(v GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetExtVar) bool { return v.Code }).(pulumi.BoolOutput) } -// Name of the GitOps application. +// Name of the external variables of jsonnet application. func (o GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetExtVar) string { return v.Name }).(pulumi.StringOutput) } @@ -43872,7 +43872,7 @@ func (o GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetExtVarArrayOut type GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetTla struct { // Code of the TLAS of the jsonnet application. Code bool `pulumi:"code"` - // Name of the GitOps application. + // Name of the TLAS of the jsonnet application. Name string `pulumi:"name"` // Value of the TLAS of the jsonnet application. Value string `pulumi:"value"` @@ -43892,7 +43892,7 @@ type GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetTlaInput interfac type GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetTlaArgs struct { // Code of the TLAS of the jsonnet application. Code pulumi.BoolInput `pulumi:"code"` - // Name of the GitOps application. + // Name of the TLAS of the jsonnet application. Name pulumi.StringInput `pulumi:"name"` // Value of the TLAS of the jsonnet application. Value pulumi.StringInput `pulumi:"value"` @@ -43954,7 +43954,7 @@ func (o GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetTlaOutput) Cod return o.ApplyT(func(v GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetTla) bool { return v.Code }).(pulumi.BoolOutput) } -// Name of the GitOps application. +// Name of the TLAS of the jsonnet application. func (o GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetTlaOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetTla) string { return v.Name }).(pulumi.StringOutput) } @@ -44140,7 +44140,7 @@ func (o GetGitopsApplicationsApplicationSpecSourceHelmArrayOutput) Index(i pulum } type GetGitopsApplicationsApplicationSpecSourceHelmFileParameter struct { - // Name of the GitOps application. + // Name of the helm parameter. Name string `pulumi:"name"` // Path to the file containing the values of the helm parameter. Path string `pulumi:"path"` @@ -44158,7 +44158,7 @@ type GetGitopsApplicationsApplicationSpecSourceHelmFileParameterInput interface } type GetGitopsApplicationsApplicationSpecSourceHelmFileParameterArgs struct { - // Name of the GitOps application. + // Name of the helm parameter. Name pulumi.StringInput `pulumi:"name"` // Path to the file containing the values of the helm parameter. Path pulumi.StringInput `pulumi:"path"` @@ -44215,7 +44215,7 @@ func (o GetGitopsApplicationsApplicationSpecSourceHelmFileParameterOutput) ToGet return o } -// Name of the GitOps application. +// Name of the helm parameter. func (o GetGitopsApplicationsApplicationSpecSourceHelmFileParameterOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetGitopsApplicationsApplicationSpecSourceHelmFileParameter) string { return v.Name }).(pulumi.StringOutput) } @@ -44248,7 +44248,7 @@ func (o GetGitopsApplicationsApplicationSpecSourceHelmFileParameterArrayOutput) type GetGitopsApplicationsApplicationSpecSourceHelmParameter struct { // Indicates if helm should interpret booleans and numbers as strings. ForceString bool `pulumi:"forceString"` - // Name of the GitOps application. + // Name of the helm parameter. Name string `pulumi:"name"` // Value of the helm parameter. Value string `pulumi:"value"` @@ -44268,7 +44268,7 @@ type GetGitopsApplicationsApplicationSpecSourceHelmParameterInput interface { type GetGitopsApplicationsApplicationSpecSourceHelmParameterArgs struct { // Indicates if helm should interpret booleans and numbers as strings. ForceString pulumi.BoolInput `pulumi:"forceString"` - // Name of the GitOps application. + // Name of the helm parameter. Name pulumi.StringInput `pulumi:"name"` // Value of the helm parameter. Value pulumi.StringInput `pulumi:"value"` @@ -44330,7 +44330,7 @@ func (o GetGitopsApplicationsApplicationSpecSourceHelmParameterOutput) ForceStri return o.ApplyT(func(v GetGitopsApplicationsApplicationSpecSourceHelmParameter) bool { return v.ForceString }).(pulumi.BoolOutput) } -// Name of the GitOps application. +// Name of the helm parameter. func (o GetGitopsApplicationsApplicationSpecSourceHelmParameterOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetGitopsApplicationsApplicationSpecSourceHelmParameter) string { return v.Name }).(pulumi.StringOutput) } @@ -44471,7 +44471,7 @@ func (o GetGitopsApplicationsApplicationSpecSourceKsonnetArrayOutput) Index(i pu type GetGitopsApplicationsApplicationSpecSourceKsonnetParameter struct { // Component of the parameter of the ksonnet application. Component string `pulumi:"component"` - // Name of the GitOps application. + // Name of the parameter of the ksonnet application. Name string `pulumi:"name"` // Value of the parameter of the ksonnet application. Value string `pulumi:"value"` @@ -44491,7 +44491,7 @@ type GetGitopsApplicationsApplicationSpecSourceKsonnetParameterInput interface { type GetGitopsApplicationsApplicationSpecSourceKsonnetParameterArgs struct { // Component of the parameter of the ksonnet application. Component pulumi.StringInput `pulumi:"component"` - // Name of the GitOps application. + // Name of the parameter of the ksonnet application. Name pulumi.StringInput `pulumi:"name"` // Value of the parameter of the ksonnet application. Value pulumi.StringInput `pulumi:"value"` @@ -44553,7 +44553,7 @@ func (o GetGitopsApplicationsApplicationSpecSourceKsonnetParameterOutput) Compon return o.ApplyT(func(v GetGitopsApplicationsApplicationSpecSourceKsonnetParameter) string { return v.Component }).(pulumi.StringOutput) } -// Name of the GitOps application. +// Name of the parameter of the ksonnet application. func (o GetGitopsApplicationsApplicationSpecSourceKsonnetParameterOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetGitopsApplicationsApplicationSpecSourceKsonnetParameter) string { return v.Name }).(pulumi.StringOutput) } @@ -44748,7 +44748,7 @@ func (o GetGitopsApplicationsApplicationSpecSourceKustomizeArrayOutput) Index(i type GetGitopsApplicationsApplicationSpecSourcePlugin struct { // Entry in the GitOps application's environment. Envs []GetGitopsApplicationsApplicationSpecSourcePluginEnv `pulumi:"envs"` - // Name of the GitOps application. + // Name of the plugin. Name string `pulumi:"name"` } @@ -44766,7 +44766,7 @@ type GetGitopsApplicationsApplicationSpecSourcePluginInput interface { type GetGitopsApplicationsApplicationSpecSourcePluginArgs struct { // Entry in the GitOps application's environment. Envs GetGitopsApplicationsApplicationSpecSourcePluginEnvArrayInput `pulumi:"envs"` - // Name of the GitOps application. + // Name of the plugin. Name pulumi.StringInput `pulumi:"name"` } @@ -44828,7 +44828,7 @@ func (o GetGitopsApplicationsApplicationSpecSourcePluginOutput) Envs() GetGitops }).(GetGitopsApplicationsApplicationSpecSourcePluginEnvArrayOutput) } -// Name of the GitOps application. +// Name of the plugin. func (o GetGitopsApplicationsApplicationSpecSourcePluginOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetGitopsApplicationsApplicationSpecSourcePlugin) string { return v.Name }).(pulumi.StringOutput) } @@ -44854,7 +44854,7 @@ func (o GetGitopsApplicationsApplicationSpecSourcePluginArrayOutput) Index(i pul } type GetGitopsApplicationsApplicationSpecSourcePluginEnv struct { - // Name of the GitOps application. + // Name of the variable, usually expressed in uppercase. Name string `pulumi:"name"` // Value of the variable. Value string `pulumi:"value"` @@ -44872,7 +44872,7 @@ type GetGitopsApplicationsApplicationSpecSourcePluginEnvInput interface { } type GetGitopsApplicationsApplicationSpecSourcePluginEnvArgs struct { - // Name of the GitOps application. + // Name of the variable, usually expressed in uppercase. Name pulumi.StringInput `pulumi:"name"` // Value of the variable. Value pulumi.StringInput `pulumi:"value"` @@ -44929,7 +44929,7 @@ func (o GetGitopsApplicationsApplicationSpecSourcePluginEnvOutput) ToGetGitopsAp return o } -// Name of the GitOps application. +// Name of the variable, usually expressed in uppercase. func (o GetGitopsApplicationsApplicationSpecSourcePluginEnvOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetGitopsApplicationsApplicationSpecSourcePluginEnv) string { return v.Name }).(pulumi.StringOutput) } diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/GitOpsCluster.java b/sdk/java/src/main/java/com/pulumi/harness/platform/GitOpsCluster.java index 4bf71798..c477c54d 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/GitOpsCluster.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/GitOpsCluster.java @@ -57,14 +57,14 @@ public Output accountId() { return this.accountId; } /** - * Agent identifier of the GitOps cluster. + * Agent identifier of the GitOps cluster. (include scope prefix) * */ @Export(name="agentId", refs={String.class}, tree="[0]") private Output agentId; /** - * @return Agent identifier of the GitOps cluster. + * @return Agent identifier of the GitOps cluster. (include scope prefix) * */ public Output agentId() { diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/GitOpsClusterArgs.java b/sdk/java/src/main/java/com/pulumi/harness/platform/GitOpsClusterArgs.java index 9af647ba..ba8a79e0 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/GitOpsClusterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/GitOpsClusterArgs.java @@ -34,14 +34,14 @@ public Output accountId() { } /** - * Agent identifier of the GitOps cluster. + * Agent identifier of the GitOps cluster. (include scope prefix) * */ @Import(name="agentId", required=true) private Output agentId; /** - * @return Agent identifier of the GitOps cluster. + * @return Agent identifier of the GitOps cluster. (include scope prefix) * */ public Output agentId() { @@ -159,7 +159,7 @@ public Builder accountId(String accountId) { } /** - * @param agentId Agent identifier of the GitOps cluster. + * @param agentId Agent identifier of the GitOps cluster. (include scope prefix) * * @return builder * @@ -170,7 +170,7 @@ public Builder agentId(Output agentId) { } /** - * @param agentId Agent identifier of the GitOps cluster. + * @param agentId Agent identifier of the GitOps cluster. (include scope prefix) * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/GitOpsRepository.java b/sdk/java/src/main/java/com/pulumi/harness/platform/GitOpsRepository.java index 471e3c13..04d39818 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/GitOpsRepository.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/GitOpsRepository.java @@ -205,7 +205,11 @@ public Output> repos() { /** * Update mask of the repository. * + * @deprecated + * This field is deprecated and will be removed in a future release. + * */ + @Deprecated /* This field is deprecated and will be removed in a future release. */ @Export(name="updateMasks", refs={List.class,GitOpsRepositoryUpdateMask.class}, tree="[0,1]") private Output> updateMasks; diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/GitOpsRepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/harness/platform/GitOpsRepositoryArgs.java index 5bc55cdd..bc596030 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/GitOpsRepositoryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/GitOpsRepositoryArgs.java @@ -192,14 +192,22 @@ public Output> repos() { /** * Update mask of the repository. * + * @deprecated + * This field is deprecated and will be removed in a future release. + * */ + @Deprecated /* This field is deprecated and will be removed in a future release. */ @Import(name="updateMasks") private @Nullable Output> updateMasks; /** * @return Update mask of the repository. * + * @deprecated + * This field is deprecated and will be removed in a future release. + * */ + @Deprecated /* This field is deprecated and will be removed in a future release. */ public Optional>> updateMasks() { return Optional.ofNullable(this.updateMasks); } @@ -503,7 +511,11 @@ public Builder repos(GitOpsRepositoryRepoArgs... repos) { * * @return builder * + * @deprecated + * This field is deprecated and will be removed in a future release. + * */ + @Deprecated /* This field is deprecated and will be removed in a future release. */ public Builder updateMasks(@Nullable Output> updateMasks) { $.updateMasks = updateMasks; return this; @@ -514,7 +526,11 @@ public Builder updateMasks(@Nullable Output * * @return builder * + * @deprecated + * This field is deprecated and will be removed in a future release. + * */ + @Deprecated /* This field is deprecated and will be removed in a future release. */ public Builder updateMasks(List updateMasks) { return updateMasks(Output.of(updateMasks)); } @@ -524,7 +540,11 @@ public Builder updateMasks(List updateMasks) { * * @return builder * + * @deprecated + * This field is deprecated and will be removed in a future release. + * */ + @Deprecated /* This field is deprecated and will be removed in a future release. */ public Builder updateMasks(GitOpsRepositoryUpdateMaskArgs... updateMasks) { return updateMasks(List.of(updateMasks)); } diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/GitopsAppProject.java b/sdk/java/src/main/java/com/pulumi/harness/platform/GitopsAppProject.java index a8d78642..93641024 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/GitopsAppProject.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/GitopsAppProject.java @@ -44,56 +44,56 @@ @ResourceType(type="harness:platform/gitopsAppProject:GitopsAppProject") public class GitopsAppProject extends com.pulumi.resources.CustomResource { /** - * Account identifier of the GitOps project. + * Account identifier of the GitOps project/agent. * */ @Export(name="accountId", refs={String.class}, tree="[0]") private Output accountId; /** - * @return Account identifier of the GitOps project. + * @return Account identifier of the GitOps project/agent. * */ public Output accountId() { return this.accountId; } /** - * Agent identifier of the GitOps project. + * Agent identifier of the GitOps project. Project is created on agent scope. * */ @Export(name="agentId", refs={String.class}, tree="[0]") private Output agentId; /** - * @return Agent identifier of the GitOps project. + * @return Agent identifier of the GitOps project. Project is created on agent scope. * */ public Output agentId() { return this.agentId; } /** - * Org identifier of the GitOps project. + * Org identifier of the GitOps agent for which project is created. * */ @Export(name="orgId", refs={String.class}, tree="[0]") private Output orgId; /** - * @return Org identifier of the GitOps project. + * @return Org identifier of the GitOps agent for which project is created. * */ public Output> orgId() { return Codegen.optional(this.orgId); } /** - * Project identifier of the GitOps repository. + * Project identifier of the GitOps agent for which project is created. * */ @Export(name="projectId", refs={String.class}, tree="[0]") private Output projectId; /** - * @return Project identifier of the GitOps repository. + * @return Project identifier of the GitOps agent for which project is created. * */ public Output> projectId() { @@ -128,14 +128,14 @@ public Output queryName() { return this.queryName; } /** - * Indicates if the GitOps repository should be updated if existing and inserted if not. + * Indicates if the GitOps project should be updated if existing and inserted if not. * */ @Export(name="upsert", refs={Boolean.class}, tree="[0]") private Output upsert; /** - * @return Indicates if the GitOps repository should be updated if existing and inserted if not. + * @return Indicates if the GitOps project should be updated if existing and inserted if not. * */ public Output> upsert() { diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/GitopsAppProjectArgs.java b/sdk/java/src/main/java/com/pulumi/harness/platform/GitopsAppProjectArgs.java index ed317833..2837ca0f 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/GitopsAppProjectArgs.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/GitopsAppProjectArgs.java @@ -20,14 +20,14 @@ public final class GitopsAppProjectArgs extends com.pulumi.resources.ResourceArg public static final GitopsAppProjectArgs Empty = new GitopsAppProjectArgs(); /** - * Account identifier of the GitOps project. + * Account identifier of the GitOps project/agent. * */ @Import(name="accountId", required=true) private Output accountId; /** - * @return Account identifier of the GitOps project. + * @return Account identifier of the GitOps project/agent. * */ public Output accountId() { @@ -35,14 +35,14 @@ public Output accountId() { } /** - * Agent identifier of the GitOps project. + * Agent identifier of the GitOps project. Project is created on agent scope. * */ @Import(name="agentId", required=true) private Output agentId; /** - * @return Agent identifier of the GitOps project. + * @return Agent identifier of the GitOps project. Project is created on agent scope. * */ public Output agentId() { @@ -50,14 +50,14 @@ public Output agentId() { } /** - * Org identifier of the GitOps project. + * Org identifier of the GitOps agent for which project is created. * */ @Import(name="orgId") private @Nullable Output orgId; /** - * @return Org identifier of the GitOps project. + * @return Org identifier of the GitOps agent for which project is created. * */ public Optional> orgId() { @@ -65,14 +65,14 @@ public Optional> orgId() { } /** - * Project identifier of the GitOps repository. + * Project identifier of the GitOps agent for which project is created. * */ @Import(name="projectId") private @Nullable Output projectId; /** - * @return Project identifier of the GitOps repository. + * @return Project identifier of the GitOps agent for which project is created. * */ public Optional> projectId() { @@ -110,14 +110,14 @@ public Optional> queryName() { } /** - * Indicates if the GitOps repository should be updated if existing and inserted if not. + * Indicates if the GitOps project should be updated if existing and inserted if not. * */ @Import(name="upsert") private @Nullable Output upsert; /** - * @return Indicates if the GitOps repository should be updated if existing and inserted if not. + * @return Indicates if the GitOps project should be updated if existing and inserted if not. * */ public Optional> upsert() { @@ -155,7 +155,7 @@ public Builder(GitopsAppProjectArgs defaults) { } /** - * @param accountId Account identifier of the GitOps project. + * @param accountId Account identifier of the GitOps project/agent. * * @return builder * @@ -166,7 +166,7 @@ public Builder accountId(Output accountId) { } /** - * @param accountId Account identifier of the GitOps project. + * @param accountId Account identifier of the GitOps project/agent. * * @return builder * @@ -176,7 +176,7 @@ public Builder accountId(String accountId) { } /** - * @param agentId Agent identifier of the GitOps project. + * @param agentId Agent identifier of the GitOps project. Project is created on agent scope. * * @return builder * @@ -187,7 +187,7 @@ public Builder agentId(Output agentId) { } /** - * @param agentId Agent identifier of the GitOps project. + * @param agentId Agent identifier of the GitOps project. Project is created on agent scope. * * @return builder * @@ -197,7 +197,7 @@ public Builder agentId(String agentId) { } /** - * @param orgId Org identifier of the GitOps project. + * @param orgId Org identifier of the GitOps agent for which project is created. * * @return builder * @@ -208,7 +208,7 @@ public Builder orgId(@Nullable Output orgId) { } /** - * @param orgId Org identifier of the GitOps project. + * @param orgId Org identifier of the GitOps agent for which project is created. * * @return builder * @@ -218,7 +218,7 @@ public Builder orgId(String orgId) { } /** - * @param projectId Project identifier of the GitOps repository. + * @param projectId Project identifier of the GitOps agent for which project is created. * * @return builder * @@ -229,7 +229,7 @@ public Builder projectId(@Nullable Output projectId) { } /** - * @param projectId Project identifier of the GitOps repository. + * @param projectId Project identifier of the GitOps agent for which project is created. * * @return builder * @@ -291,7 +291,7 @@ public Builder queryName(String queryName) { } /** - * @param upsert Indicates if the GitOps repository should be updated if existing and inserted if not. + * @param upsert Indicates if the GitOps project should be updated if existing and inserted if not. * * @return builder * @@ -302,7 +302,7 @@ public Builder upsert(@Nullable Output upsert) { } /** - * @param upsert Indicates if the GitOps repository should be updated if existing and inserted if not. + * @param upsert Indicates if the GitOps project should be updated if existing and inserted if not. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GetGitopsAppProjectArgs.java b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GetGitopsAppProjectArgs.java index 8f6202fe..e832b762 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GetGitopsAppProjectArgs.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GetGitopsAppProjectArgs.java @@ -17,14 +17,14 @@ public final class GetGitopsAppProjectArgs extends com.pulumi.resources.InvokeAr public static final GetGitopsAppProjectArgs Empty = new GetGitopsAppProjectArgs(); /** - * Account identifier of the GitOps project. + * Account identifier of the GitOps Agent where argo project resides. * */ @Import(name="accountId", required=true) private Output accountId; /** - * @return Account identifier of the GitOps project. + * @return Account identifier of the GitOps Agent where argo project resides. * */ public Output accountId() { @@ -32,14 +32,14 @@ public Output accountId() { } /** - * Agent identifier of the GitOps project. + * Agent identifier of the agent where argo project resides(include scope prefix) * */ @Import(name="agentId", required=true) private Output agentId; /** - * @return Agent identifier of the GitOps project. + * @return Agent identifier of the agent where argo project resides(include scope prefix) * */ public Output agentId() { @@ -47,14 +47,14 @@ public Output agentId() { } /** - * Org identifier of the GitOps project. + * Org identifier of the GitOps Agent where argo project resides. * */ @Import(name="orgId") private @Nullable Output orgId; /** - * @return Org identifier of the GitOps project. + * @return Org identifier of the GitOps Agent where argo project resides. * */ public Optional> orgId() { @@ -62,14 +62,14 @@ public Optional> orgId() { } /** - * Project identifier of the GitOps repository. + * Project identifier of the Gitops Agent where argo project resides. * */ @Import(name="projectId") private @Nullable Output projectId; /** - * @return Project identifier of the GitOps repository. + * @return Project identifier of the Gitops Agent where argo project resides. * */ public Optional> projectId() { @@ -77,14 +77,14 @@ public Optional> projectId() { } /** - * Identifier for the GitOps project. + * Identifier for the GitOps Argo project. * */ @Import(name="queryName") private @Nullable Output queryName; /** - * @return Identifier for the GitOps project. + * @return Identifier for the GitOps Argo project. * */ public Optional> queryName() { @@ -120,7 +120,7 @@ public Builder(GetGitopsAppProjectArgs defaults) { } /** - * @param accountId Account identifier of the GitOps project. + * @param accountId Account identifier of the GitOps Agent where argo project resides. * * @return builder * @@ -131,7 +131,7 @@ public Builder accountId(Output accountId) { } /** - * @param accountId Account identifier of the GitOps project. + * @param accountId Account identifier of the GitOps Agent where argo project resides. * * @return builder * @@ -141,7 +141,7 @@ public Builder accountId(String accountId) { } /** - * @param agentId Agent identifier of the GitOps project. + * @param agentId Agent identifier of the agent where argo project resides(include scope prefix) * * @return builder * @@ -152,7 +152,7 @@ public Builder agentId(Output agentId) { } /** - * @param agentId Agent identifier of the GitOps project. + * @param agentId Agent identifier of the agent where argo project resides(include scope prefix) * * @return builder * @@ -162,7 +162,7 @@ public Builder agentId(String agentId) { } /** - * @param orgId Org identifier of the GitOps project. + * @param orgId Org identifier of the GitOps Agent where argo project resides. * * @return builder * @@ -173,7 +173,7 @@ public Builder orgId(@Nullable Output orgId) { } /** - * @param orgId Org identifier of the GitOps project. + * @param orgId Org identifier of the GitOps Agent where argo project resides. * * @return builder * @@ -183,7 +183,7 @@ public Builder orgId(String orgId) { } /** - * @param projectId Project identifier of the GitOps repository. + * @param projectId Project identifier of the Gitops Agent where argo project resides. * * @return builder * @@ -194,7 +194,7 @@ public Builder projectId(@Nullable Output projectId) { } /** - * @param projectId Project identifier of the GitOps repository. + * @param projectId Project identifier of the Gitops Agent where argo project resides. * * @return builder * @@ -204,7 +204,7 @@ public Builder projectId(String projectId) { } /** - * @param queryName Identifier for the GitOps project. + * @param queryName Identifier for the GitOps Argo project. * * @return builder * @@ -215,7 +215,7 @@ public Builder queryName(@Nullable Output queryName) { } /** - * @param queryName Identifier for the GitOps project. + * @param queryName Identifier for the GitOps Argo project. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GetGitopsAppProjectPlainArgs.java b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GetGitopsAppProjectPlainArgs.java index 54852752..5503443d 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GetGitopsAppProjectPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GetGitopsAppProjectPlainArgs.java @@ -16,14 +16,14 @@ public final class GetGitopsAppProjectPlainArgs extends com.pulumi.resources.Inv public static final GetGitopsAppProjectPlainArgs Empty = new GetGitopsAppProjectPlainArgs(); /** - * Account identifier of the GitOps project. + * Account identifier of the GitOps Agent where argo project resides. * */ @Import(name="accountId", required=true) private String accountId; /** - * @return Account identifier of the GitOps project. + * @return Account identifier of the GitOps Agent where argo project resides. * */ public String accountId() { @@ -31,14 +31,14 @@ public String accountId() { } /** - * Agent identifier of the GitOps project. + * Agent identifier of the agent where argo project resides(include scope prefix) * */ @Import(name="agentId", required=true) private String agentId; /** - * @return Agent identifier of the GitOps project. + * @return Agent identifier of the agent where argo project resides(include scope prefix) * */ public String agentId() { @@ -46,14 +46,14 @@ public String agentId() { } /** - * Org identifier of the GitOps project. + * Org identifier of the GitOps Agent where argo project resides. * */ @Import(name="orgId") private @Nullable String orgId; /** - * @return Org identifier of the GitOps project. + * @return Org identifier of the GitOps Agent where argo project resides. * */ public Optional orgId() { @@ -61,14 +61,14 @@ public Optional orgId() { } /** - * Project identifier of the GitOps repository. + * Project identifier of the Gitops Agent where argo project resides. * */ @Import(name="projectId") private @Nullable String projectId; /** - * @return Project identifier of the GitOps repository. + * @return Project identifier of the Gitops Agent where argo project resides. * */ public Optional projectId() { @@ -76,14 +76,14 @@ public Optional projectId() { } /** - * Identifier for the GitOps project. + * Identifier for the GitOps Argo project. * */ @Import(name="queryName") private @Nullable String queryName; /** - * @return Identifier for the GitOps project. + * @return Identifier for the GitOps Argo project. * */ public Optional queryName() { @@ -119,7 +119,7 @@ public Builder(GetGitopsAppProjectPlainArgs defaults) { } /** - * @param accountId Account identifier of the GitOps project. + * @param accountId Account identifier of the GitOps Agent where argo project resides. * * @return builder * @@ -130,7 +130,7 @@ public Builder accountId(String accountId) { } /** - * @param agentId Agent identifier of the GitOps project. + * @param agentId Agent identifier of the agent where argo project resides(include scope prefix) * * @return builder * @@ -141,7 +141,7 @@ public Builder agentId(String agentId) { } /** - * @param orgId Org identifier of the GitOps project. + * @param orgId Org identifier of the GitOps Agent where argo project resides. * * @return builder * @@ -152,7 +152,7 @@ public Builder orgId(@Nullable String orgId) { } /** - * @param projectId Project identifier of the GitOps repository. + * @param projectId Project identifier of the Gitops Agent where argo project resides. * * @return builder * @@ -163,7 +163,7 @@ public Builder projectId(@Nullable String projectId) { } /** - * @param queryName Identifier for the GitOps project. + * @param queryName Identifier for the GitOps Argo project. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GetGitopsRepoCredArgs.java b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GetGitopsRepoCredArgs.java index aa866b12..298be582 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GetGitopsRepoCredArgs.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GetGitopsRepoCredArgs.java @@ -6,7 +6,9 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.harness.platform.inputs.GetGitopsRepoCredCredArgs; import java.lang.String; +import java.util.List; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; @@ -46,6 +48,21 @@ public Output agentId() { return this.agentId; } + /** + * credential details. + * + */ + @Import(name="creds") + private @Nullable Output> creds; + + /** + * @return credential details. + * + */ + public Optional>> creds() { + return Optional.ofNullable(this.creds); + } + /** * Identifier of the Repository Credentials. * @@ -96,6 +113,7 @@ private GetGitopsRepoCredArgs() {} private GetGitopsRepoCredArgs(GetGitopsRepoCredArgs $) { this.accountId = $.accountId; this.agentId = $.agentId; + this.creds = $.creds; this.identifier = $.identifier; this.orgId = $.orgId; this.projectId = $.projectId; @@ -161,6 +179,37 @@ public Builder agentId(String agentId) { return agentId(Output.of(agentId)); } + /** + * @param creds credential details. + * + * @return builder + * + */ + public Builder creds(@Nullable Output> creds) { + $.creds = creds; + return this; + } + + /** + * @param creds credential details. + * + * @return builder + * + */ + public Builder creds(List creds) { + return creds(Output.of(creds)); + } + + /** + * @param creds credential details. + * + * @return builder + * + */ + public Builder creds(GetGitopsRepoCredCredArgs... creds) { + return creds(List.of(creds)); + } + /** * @param identifier Identifier of the Repository Credentials. * diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GetGitopsRepoCredCred.java b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GetGitopsRepoCredCred.java new file mode 100644 index 00000000..10a74910 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GetGitopsRepoCredCred.java @@ -0,0 +1,405 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.harness.platform.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + + +public final class GetGitopsRepoCredCred extends com.pulumi.resources.InvokeArgs { + + public static final GetGitopsRepoCredCred Empty = new GetGitopsRepoCredCred(); + + /** + * Specifies whether helm-oci support should be enabled for this repo. + * + */ + @Import(name="enableOci", required=true) + private Boolean enableOci; + + /** + * @return Specifies whether helm-oci support should be enabled for this repo. + * + */ + public Boolean enableOci() { + return this.enableOci; + } + + /** + * Specifies the GitHub API URL for GitHub app authentication. + * + */ + @Import(name="githubAppEnterpriseBaseUrl", required=true) + private String githubAppEnterpriseBaseUrl; + + /** + * @return Specifies the GitHub API URL for GitHub app authentication. + * + */ + public String githubAppEnterpriseBaseUrl() { + return this.githubAppEnterpriseBaseUrl; + } + + /** + * Specifies the Github App ID of the app used to access the repo for GitHub app authentication. + * + */ + @Import(name="githubAppId", required=true) + private String githubAppId; + + /** + * @return Specifies the Github App ID of the app used to access the repo for GitHub app authentication. + * + */ + public String githubAppId() { + return this.githubAppId; + } + + /** + * Specifies the ID of the installed GitHub App for GitHub app authentication. + * + */ + @Import(name="githubAppInstallationId", required=true) + private String githubAppInstallationId; + + /** + * @return Specifies the ID of the installed GitHub App for GitHub app authentication. + * + */ + public String githubAppInstallationId() { + return this.githubAppInstallationId; + } + + /** + * github*app*private_key specifies the private key PEM data for authentication via GitHub app. + * + */ + @Import(name="githubAppPrivateKey", required=true) + private String githubAppPrivateKey; + + /** + * @return github*app*private_key specifies the private key PEM data for authentication via GitHub app. + * + */ + public String githubAppPrivateKey() { + return this.githubAppPrivateKey; + } + + /** + * Password or PAT to be used for authenticating the remote repository. + * + */ + @Import(name="password", required=true) + private String password; + + /** + * @return Password or PAT to be used for authenticating the remote repository. + * + */ + public String password() { + return this.password; + } + + /** + * SSH Key in PEM format for authenticating the repository. Used only for Git repository. + * + */ + @Import(name="sshPrivateKey", required=true) + private String sshPrivateKey; + + /** + * @return SSH Key in PEM format for authenticating the repository. Used only for Git repository. + * + */ + public String sshPrivateKey() { + return this.sshPrivateKey; + } + + /** + * Certificate in PEM format for authenticating at the repo server. This is used for mTLS. + * + */ + @Import(name="tlsClientCertData", required=true) + private String tlsClientCertData; + + /** + * @return Certificate in PEM format for authenticating at the repo server. This is used for mTLS. + * + */ + public String tlsClientCertData() { + return this.tlsClientCertData; + } + + /** + * Private key in PEM format for authenticating at the repo server. This is used for mTLS. + * + */ + @Import(name="tlsClientCertKey", required=true) + private String tlsClientCertKey; + + /** + * @return Private key in PEM format for authenticating at the repo server. This is used for mTLS. + * + */ + public String tlsClientCertKey() { + return this.tlsClientCertKey; + } + + /** + * Type specifies the type of the repoCreds.Can be either 'git' or 'helm. 'git' is assumed if empty or absent + * + */ + @Import(name="type", required=true) + private String type; + + /** + * @return Type specifies the type of the repoCreds.Can be either 'git' or 'helm. 'git' is assumed if empty or absent + * + */ + public String type() { + return this.type; + } + + /** + * URL of the remote repository. Make sure you pass at least an org, this will not work if you just provide the host, for eg. "https://github.com" + * + */ + @Import(name="url", required=true) + private String url; + + /** + * @return URL of the remote repository. Make sure you pass at least an org, this will not work if you just provide the host, for eg. "https://github.com" + * + */ + public String url() { + return this.url; + } + + /** + * Username to be used for authenticating the remote repository. + * + */ + @Import(name="username", required=true) + private String username; + + /** + * @return Username to be used for authenticating the remote repository. + * + */ + public String username() { + return this.username; + } + + private GetGitopsRepoCredCred() {} + + private GetGitopsRepoCredCred(GetGitopsRepoCredCred $) { + this.enableOci = $.enableOci; + this.githubAppEnterpriseBaseUrl = $.githubAppEnterpriseBaseUrl; + this.githubAppId = $.githubAppId; + this.githubAppInstallationId = $.githubAppInstallationId; + this.githubAppPrivateKey = $.githubAppPrivateKey; + this.password = $.password; + this.sshPrivateKey = $.sshPrivateKey; + this.tlsClientCertData = $.tlsClientCertData; + this.tlsClientCertKey = $.tlsClientCertKey; + this.type = $.type; + this.url = $.url; + this.username = $.username; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetGitopsRepoCredCred defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetGitopsRepoCredCred $; + + public Builder() { + $ = new GetGitopsRepoCredCred(); + } + + public Builder(GetGitopsRepoCredCred defaults) { + $ = new GetGitopsRepoCredCred(Objects.requireNonNull(defaults)); + } + + /** + * @param enableOci Specifies whether helm-oci support should be enabled for this repo. + * + * @return builder + * + */ + public Builder enableOci(Boolean enableOci) { + $.enableOci = enableOci; + return this; + } + + /** + * @param githubAppEnterpriseBaseUrl Specifies the GitHub API URL for GitHub app authentication. + * + * @return builder + * + */ + public Builder githubAppEnterpriseBaseUrl(String githubAppEnterpriseBaseUrl) { + $.githubAppEnterpriseBaseUrl = githubAppEnterpriseBaseUrl; + return this; + } + + /** + * @param githubAppId Specifies the Github App ID of the app used to access the repo for GitHub app authentication. + * + * @return builder + * + */ + public Builder githubAppId(String githubAppId) { + $.githubAppId = githubAppId; + return this; + } + + /** + * @param githubAppInstallationId Specifies the ID of the installed GitHub App for GitHub app authentication. + * + * @return builder + * + */ + public Builder githubAppInstallationId(String githubAppInstallationId) { + $.githubAppInstallationId = githubAppInstallationId; + return this; + } + + /** + * @param githubAppPrivateKey github*app*private_key specifies the private key PEM data for authentication via GitHub app. + * + * @return builder + * + */ + public Builder githubAppPrivateKey(String githubAppPrivateKey) { + $.githubAppPrivateKey = githubAppPrivateKey; + return this; + } + + /** + * @param password Password or PAT to be used for authenticating the remote repository. + * + * @return builder + * + */ + public Builder password(String password) { + $.password = password; + return this; + } + + /** + * @param sshPrivateKey SSH Key in PEM format for authenticating the repository. Used only for Git repository. + * + * @return builder + * + */ + public Builder sshPrivateKey(String sshPrivateKey) { + $.sshPrivateKey = sshPrivateKey; + return this; + } + + /** + * @param tlsClientCertData Certificate in PEM format for authenticating at the repo server. This is used for mTLS. + * + * @return builder + * + */ + public Builder tlsClientCertData(String tlsClientCertData) { + $.tlsClientCertData = tlsClientCertData; + return this; + } + + /** + * @param tlsClientCertKey Private key in PEM format for authenticating at the repo server. This is used for mTLS. + * + * @return builder + * + */ + public Builder tlsClientCertKey(String tlsClientCertKey) { + $.tlsClientCertKey = tlsClientCertKey; + return this; + } + + /** + * @param type Type specifies the type of the repoCreds.Can be either 'git' or 'helm. 'git' is assumed if empty or absent + * + * @return builder + * + */ + public Builder type(String type) { + $.type = type; + return this; + } + + /** + * @param url URL of the remote repository. Make sure you pass at least an org, this will not work if you just provide the host, for eg. "https://github.com" + * + * @return builder + * + */ + public Builder url(String url) { + $.url = url; + return this; + } + + /** + * @param username Username to be used for authenticating the remote repository. + * + * @return builder + * + */ + public Builder username(String username) { + $.username = username; + return this; + } + + public GetGitopsRepoCredCred build() { + if ($.enableOci == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCred", "enableOci"); + } + if ($.githubAppEnterpriseBaseUrl == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCred", "githubAppEnterpriseBaseUrl"); + } + if ($.githubAppId == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCred", "githubAppId"); + } + if ($.githubAppInstallationId == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCred", "githubAppInstallationId"); + } + if ($.githubAppPrivateKey == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCred", "githubAppPrivateKey"); + } + if ($.password == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCred", "password"); + } + if ($.sshPrivateKey == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCred", "sshPrivateKey"); + } + if ($.tlsClientCertData == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCred", "tlsClientCertData"); + } + if ($.tlsClientCertKey == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCred", "tlsClientCertKey"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCred", "type"); + } + if ($.url == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCred", "url"); + } + if ($.username == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCred", "username"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GetGitopsRepoCredCredArgs.java b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GetGitopsRepoCredCredArgs.java new file mode 100644 index 00000000..a8a9311e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GetGitopsRepoCredCredArgs.java @@ -0,0 +1,526 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.harness.platform.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + + +public final class GetGitopsRepoCredCredArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetGitopsRepoCredCredArgs Empty = new GetGitopsRepoCredCredArgs(); + + /** + * Specifies whether helm-oci support should be enabled for this repo. + * + */ + @Import(name="enableOci", required=true) + private Output enableOci; + + /** + * @return Specifies whether helm-oci support should be enabled for this repo. + * + */ + public Output enableOci() { + return this.enableOci; + } + + /** + * Specifies the GitHub API URL for GitHub app authentication. + * + */ + @Import(name="githubAppEnterpriseBaseUrl", required=true) + private Output githubAppEnterpriseBaseUrl; + + /** + * @return Specifies the GitHub API URL for GitHub app authentication. + * + */ + public Output githubAppEnterpriseBaseUrl() { + return this.githubAppEnterpriseBaseUrl; + } + + /** + * Specifies the Github App ID of the app used to access the repo for GitHub app authentication. + * + */ + @Import(name="githubAppId", required=true) + private Output githubAppId; + + /** + * @return Specifies the Github App ID of the app used to access the repo for GitHub app authentication. + * + */ + public Output githubAppId() { + return this.githubAppId; + } + + /** + * Specifies the ID of the installed GitHub App for GitHub app authentication. + * + */ + @Import(name="githubAppInstallationId", required=true) + private Output githubAppInstallationId; + + /** + * @return Specifies the ID of the installed GitHub App for GitHub app authentication. + * + */ + public Output githubAppInstallationId() { + return this.githubAppInstallationId; + } + + /** + * github*app*private_key specifies the private key PEM data for authentication via GitHub app. + * + */ + @Import(name="githubAppPrivateKey", required=true) + private Output githubAppPrivateKey; + + /** + * @return github*app*private_key specifies the private key PEM data for authentication via GitHub app. + * + */ + public Output githubAppPrivateKey() { + return this.githubAppPrivateKey; + } + + /** + * Password or PAT to be used for authenticating the remote repository. + * + */ + @Import(name="password", required=true) + private Output password; + + /** + * @return Password or PAT to be used for authenticating the remote repository. + * + */ + public Output password() { + return this.password; + } + + /** + * SSH Key in PEM format for authenticating the repository. Used only for Git repository. + * + */ + @Import(name="sshPrivateKey", required=true) + private Output sshPrivateKey; + + /** + * @return SSH Key in PEM format for authenticating the repository. Used only for Git repository. + * + */ + public Output sshPrivateKey() { + return this.sshPrivateKey; + } + + /** + * Certificate in PEM format for authenticating at the repo server. This is used for mTLS. + * + */ + @Import(name="tlsClientCertData", required=true) + private Output tlsClientCertData; + + /** + * @return Certificate in PEM format for authenticating at the repo server. This is used for mTLS. + * + */ + public Output tlsClientCertData() { + return this.tlsClientCertData; + } + + /** + * Private key in PEM format for authenticating at the repo server. This is used for mTLS. + * + */ + @Import(name="tlsClientCertKey", required=true) + private Output tlsClientCertKey; + + /** + * @return Private key in PEM format for authenticating at the repo server. This is used for mTLS. + * + */ + public Output tlsClientCertKey() { + return this.tlsClientCertKey; + } + + /** + * Type specifies the type of the repoCreds.Can be either 'git' or 'helm. 'git' is assumed if empty or absent + * + */ + @Import(name="type", required=true) + private Output type; + + /** + * @return Type specifies the type of the repoCreds.Can be either 'git' or 'helm. 'git' is assumed if empty or absent + * + */ + public Output type() { + return this.type; + } + + /** + * URL of the remote repository. Make sure you pass at least an org, this will not work if you just provide the host, for eg. "https://github.com" + * + */ + @Import(name="url", required=true) + private Output url; + + /** + * @return URL of the remote repository. Make sure you pass at least an org, this will not work if you just provide the host, for eg. "https://github.com" + * + */ + public Output url() { + return this.url; + } + + /** + * Username to be used for authenticating the remote repository. + * + */ + @Import(name="username", required=true) + private Output username; + + /** + * @return Username to be used for authenticating the remote repository. + * + */ + public Output username() { + return this.username; + } + + private GetGitopsRepoCredCredArgs() {} + + private GetGitopsRepoCredCredArgs(GetGitopsRepoCredCredArgs $) { + this.enableOci = $.enableOci; + this.githubAppEnterpriseBaseUrl = $.githubAppEnterpriseBaseUrl; + this.githubAppId = $.githubAppId; + this.githubAppInstallationId = $.githubAppInstallationId; + this.githubAppPrivateKey = $.githubAppPrivateKey; + this.password = $.password; + this.sshPrivateKey = $.sshPrivateKey; + this.tlsClientCertData = $.tlsClientCertData; + this.tlsClientCertKey = $.tlsClientCertKey; + this.type = $.type; + this.url = $.url; + this.username = $.username; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetGitopsRepoCredCredArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetGitopsRepoCredCredArgs $; + + public Builder() { + $ = new GetGitopsRepoCredCredArgs(); + } + + public Builder(GetGitopsRepoCredCredArgs defaults) { + $ = new GetGitopsRepoCredCredArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param enableOci Specifies whether helm-oci support should be enabled for this repo. + * + * @return builder + * + */ + public Builder enableOci(Output enableOci) { + $.enableOci = enableOci; + return this; + } + + /** + * @param enableOci Specifies whether helm-oci support should be enabled for this repo. + * + * @return builder + * + */ + public Builder enableOci(Boolean enableOci) { + return enableOci(Output.of(enableOci)); + } + + /** + * @param githubAppEnterpriseBaseUrl Specifies the GitHub API URL for GitHub app authentication. + * + * @return builder + * + */ + public Builder githubAppEnterpriseBaseUrl(Output githubAppEnterpriseBaseUrl) { + $.githubAppEnterpriseBaseUrl = githubAppEnterpriseBaseUrl; + return this; + } + + /** + * @param githubAppEnterpriseBaseUrl Specifies the GitHub API URL for GitHub app authentication. + * + * @return builder + * + */ + public Builder githubAppEnterpriseBaseUrl(String githubAppEnterpriseBaseUrl) { + return githubAppEnterpriseBaseUrl(Output.of(githubAppEnterpriseBaseUrl)); + } + + /** + * @param githubAppId Specifies the Github App ID of the app used to access the repo for GitHub app authentication. + * + * @return builder + * + */ + public Builder githubAppId(Output githubAppId) { + $.githubAppId = githubAppId; + return this; + } + + /** + * @param githubAppId Specifies the Github App ID of the app used to access the repo for GitHub app authentication. + * + * @return builder + * + */ + public Builder githubAppId(String githubAppId) { + return githubAppId(Output.of(githubAppId)); + } + + /** + * @param githubAppInstallationId Specifies the ID of the installed GitHub App for GitHub app authentication. + * + * @return builder + * + */ + public Builder githubAppInstallationId(Output githubAppInstallationId) { + $.githubAppInstallationId = githubAppInstallationId; + return this; + } + + /** + * @param githubAppInstallationId Specifies the ID of the installed GitHub App for GitHub app authentication. + * + * @return builder + * + */ + public Builder githubAppInstallationId(String githubAppInstallationId) { + return githubAppInstallationId(Output.of(githubAppInstallationId)); + } + + /** + * @param githubAppPrivateKey github*app*private_key specifies the private key PEM data for authentication via GitHub app. + * + * @return builder + * + */ + public Builder githubAppPrivateKey(Output githubAppPrivateKey) { + $.githubAppPrivateKey = githubAppPrivateKey; + return this; + } + + /** + * @param githubAppPrivateKey github*app*private_key specifies the private key PEM data for authentication via GitHub app. + * + * @return builder + * + */ + public Builder githubAppPrivateKey(String githubAppPrivateKey) { + return githubAppPrivateKey(Output.of(githubAppPrivateKey)); + } + + /** + * @param password Password or PAT to be used for authenticating the remote repository. + * + * @return builder + * + */ + public Builder password(Output password) { + $.password = password; + return this; + } + + /** + * @param password Password or PAT to be used for authenticating the remote repository. + * + * @return builder + * + */ + public Builder password(String password) { + return password(Output.of(password)); + } + + /** + * @param sshPrivateKey SSH Key in PEM format for authenticating the repository. Used only for Git repository. + * + * @return builder + * + */ + public Builder sshPrivateKey(Output sshPrivateKey) { + $.sshPrivateKey = sshPrivateKey; + return this; + } + + /** + * @param sshPrivateKey SSH Key in PEM format for authenticating the repository. Used only for Git repository. + * + * @return builder + * + */ + public Builder sshPrivateKey(String sshPrivateKey) { + return sshPrivateKey(Output.of(sshPrivateKey)); + } + + /** + * @param tlsClientCertData Certificate in PEM format for authenticating at the repo server. This is used for mTLS. + * + * @return builder + * + */ + public Builder tlsClientCertData(Output tlsClientCertData) { + $.tlsClientCertData = tlsClientCertData; + return this; + } + + /** + * @param tlsClientCertData Certificate in PEM format for authenticating at the repo server. This is used for mTLS. + * + * @return builder + * + */ + public Builder tlsClientCertData(String tlsClientCertData) { + return tlsClientCertData(Output.of(tlsClientCertData)); + } + + /** + * @param tlsClientCertKey Private key in PEM format for authenticating at the repo server. This is used for mTLS. + * + * @return builder + * + */ + public Builder tlsClientCertKey(Output tlsClientCertKey) { + $.tlsClientCertKey = tlsClientCertKey; + return this; + } + + /** + * @param tlsClientCertKey Private key in PEM format for authenticating at the repo server. This is used for mTLS. + * + * @return builder + * + */ + public Builder tlsClientCertKey(String tlsClientCertKey) { + return tlsClientCertKey(Output.of(tlsClientCertKey)); + } + + /** + * @param type Type specifies the type of the repoCreds.Can be either 'git' or 'helm. 'git' is assumed if empty or absent + * + * @return builder + * + */ + public Builder type(Output type) { + $.type = type; + return this; + } + + /** + * @param type Type specifies the type of the repoCreds.Can be either 'git' or 'helm. 'git' is assumed if empty or absent + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + /** + * @param url URL of the remote repository. Make sure you pass at least an org, this will not work if you just provide the host, for eg. "https://github.com" + * + * @return builder + * + */ + public Builder url(Output url) { + $.url = url; + return this; + } + + /** + * @param url URL of the remote repository. Make sure you pass at least an org, this will not work if you just provide the host, for eg. "https://github.com" + * + * @return builder + * + */ + public Builder url(String url) { + return url(Output.of(url)); + } + + /** + * @param username Username to be used for authenticating the remote repository. + * + * @return builder + * + */ + public Builder username(Output username) { + $.username = username; + return this; + } + + /** + * @param username Username to be used for authenticating the remote repository. + * + * @return builder + * + */ + public Builder username(String username) { + return username(Output.of(username)); + } + + public GetGitopsRepoCredCredArgs build() { + if ($.enableOci == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCredArgs", "enableOci"); + } + if ($.githubAppEnterpriseBaseUrl == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCredArgs", "githubAppEnterpriseBaseUrl"); + } + if ($.githubAppId == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCredArgs", "githubAppId"); + } + if ($.githubAppInstallationId == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCredArgs", "githubAppInstallationId"); + } + if ($.githubAppPrivateKey == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCredArgs", "githubAppPrivateKey"); + } + if ($.password == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCredArgs", "password"); + } + if ($.sshPrivateKey == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCredArgs", "sshPrivateKey"); + } + if ($.tlsClientCertData == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCredArgs", "tlsClientCertData"); + } + if ($.tlsClientCertKey == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCredArgs", "tlsClientCertKey"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCredArgs", "type"); + } + if ($.url == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCredArgs", "url"); + } + if ($.username == null) { + throw new MissingRequiredPropertyException("GetGitopsRepoCredCredArgs", "username"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GetGitopsRepoCredPlainArgs.java b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GetGitopsRepoCredPlainArgs.java index 727d3005..f7a46457 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GetGitopsRepoCredPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GetGitopsRepoCredPlainArgs.java @@ -5,7 +5,9 @@ import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.harness.platform.inputs.GetGitopsRepoCredCred; import java.lang.String; +import java.util.List; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; @@ -45,6 +47,21 @@ public String agentId() { return this.agentId; } + /** + * credential details. + * + */ + @Import(name="creds") + private @Nullable List creds; + + /** + * @return credential details. + * + */ + public Optional> creds() { + return Optional.ofNullable(this.creds); + } + /** * Identifier of the Repository Credentials. * @@ -95,6 +112,7 @@ private GetGitopsRepoCredPlainArgs() {} private GetGitopsRepoCredPlainArgs(GetGitopsRepoCredPlainArgs $) { this.accountId = $.accountId; this.agentId = $.agentId; + this.creds = $.creds; this.identifier = $.identifier; this.orgId = $.orgId; this.projectId = $.projectId; @@ -140,6 +158,27 @@ public Builder agentId(String agentId) { return this; } + /** + * @param creds credential details. + * + * @return builder + * + */ + public Builder creds(@Nullable List creds) { + $.creds = creds; + return this; + } + + /** + * @param creds credential details. + * + * @return builder + * + */ + public Builder creds(GetGitopsRepoCredCred... creds) { + return creds(List.of(creds)); + } + /** * @param identifier Identifier of the Repository Credentials. * diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitOpsClusterState.java b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitOpsClusterState.java index 76bdf6f6..bc58a59b 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitOpsClusterState.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitOpsClusterState.java @@ -33,14 +33,14 @@ public Optional> accountId() { } /** - * Agent identifier of the GitOps cluster. + * Agent identifier of the GitOps cluster. (include scope prefix) * */ @Import(name="agentId") private @Nullable Output agentId; /** - * @return Agent identifier of the GitOps cluster. + * @return Agent identifier of the GitOps cluster. (include scope prefix) * */ public Optional> agentId() { @@ -158,7 +158,7 @@ public Builder accountId(String accountId) { } /** - * @param agentId Agent identifier of the GitOps cluster. + * @param agentId Agent identifier of the GitOps cluster. (include scope prefix) * * @return builder * @@ -169,7 +169,7 @@ public Builder agentId(@Nullable Output agentId) { } /** - * @param agentId Agent identifier of the GitOps cluster. + * @param agentId Agent identifier of the GitOps cluster. (include scope prefix) * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitOpsRepositoryState.java b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitOpsRepositoryState.java index c3c502bf..1401b264 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitOpsRepositoryState.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitOpsRepositoryState.java @@ -191,14 +191,22 @@ public Optional>> repos() { /** * Update mask of the repository. * + * @deprecated + * This field is deprecated and will be removed in a future release. + * */ + @Deprecated /* This field is deprecated and will be removed in a future release. */ @Import(name="updateMasks") private @Nullable Output> updateMasks; /** * @return Update mask of the repository. * + * @deprecated + * This field is deprecated and will be removed in a future release. + * */ + @Deprecated /* This field is deprecated and will be removed in a future release. */ public Optional>> updateMasks() { return Optional.ofNullable(this.updateMasks); } @@ -502,7 +510,11 @@ public Builder repos(GitOpsRepositoryRepoArgs... repos) { * * @return builder * + * @deprecated + * This field is deprecated and will be removed in a future release. + * */ + @Deprecated /* This field is deprecated and will be removed in a future release. */ public Builder updateMasks(@Nullable Output> updateMasks) { $.updateMasks = updateMasks; return this; @@ -513,7 +525,11 @@ public Builder updateMasks(@Nullable Output * * @return builder * + * @deprecated + * This field is deprecated and will be removed in a future release. + * */ + @Deprecated /* This field is deprecated and will be removed in a future release. */ public Builder updateMasks(List updateMasks) { return updateMasks(Output.of(updateMasks)); } @@ -523,7 +539,11 @@ public Builder updateMasks(List updateMasks) { * * @return builder * + * @deprecated + * This field is deprecated and will be removed in a future release. + * */ + @Deprecated /* This field is deprecated and will be removed in a future release. */ public Builder updateMasks(GitOpsRepositoryUpdateMaskArgs... updateMasks) { return updateMasks(List.of(updateMasks)); } diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectProjectArgs.java b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectProjectArgs.java index fa55949a..f9e2e178 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectProjectArgs.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectProjectArgs.java @@ -17,14 +17,14 @@ public final class GitopsAppProjectProjectArgs extends com.pulumi.resources.Reso public static final GitopsAppProjectProjectArgs Empty = new GitopsAppProjectProjectArgs(); /** - * Metadata details for the GitOps project. + * K8s object metadata for the Argo project. * */ @Import(name="metadatas", required=true) private Output> metadatas; /** - * @return Metadata details for the GitOps project. + * @return K8s object metadata for the Argo project. * */ public Output> metadatas() { @@ -32,14 +32,14 @@ public Output> metadatas() { } /** - * Specification details for the GitOps project. + * Specification details for the Argo project. * */ @Import(name="specs", required=true) private Output> specs; /** - * @return Specification details for the GitOps project. + * @return Specification details for the Argo project. * */ public Output> specs() { @@ -72,7 +72,7 @@ public Builder(GitopsAppProjectProjectArgs defaults) { } /** - * @param metadatas Metadata details for the GitOps project. + * @param metadatas K8s object metadata for the Argo project. * * @return builder * @@ -83,7 +83,7 @@ public Builder metadatas(Output> metad } /** - * @param metadatas Metadata details for the GitOps project. + * @param metadatas K8s object metadata for the Argo project. * * @return builder * @@ -93,7 +93,7 @@ public Builder metadatas(List metadatas) { } /** - * @param metadatas Metadata details for the GitOps project. + * @param metadatas K8s object metadata for the Argo project. * * @return builder * @@ -103,7 +103,7 @@ public Builder metadatas(GitopsAppProjectProjectMetadataArgs... metadatas) { } /** - * @param specs Specification details for the GitOps project. + * @param specs Specification details for the Argo project. * * @return builder * @@ -114,7 +114,7 @@ public Builder specs(Output> specs) { } /** - * @param specs Specification details for the GitOps project. + * @param specs Specification details for the Argo project. * * @return builder * @@ -124,7 +124,7 @@ public Builder specs(List specs) { } /** - * @param specs Specification details for the GitOps project. + * @param specs Specification details for the Argo project. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectProjectMetadataArgs.java b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectProjectMetadataArgs.java index 3c75e87e..1143adc4 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectProjectMetadataArgs.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectProjectMetadataArgs.java @@ -109,14 +109,14 @@ public Optional> name() { } /** - * Namespace of the GitOps project. + * Namespace of the GitOps project. This must be the same as the namespace where the agent is installed * */ @Import(name="namespace") private @Nullable Output namespace; /** - * @return Namespace of the GitOps project. + * @return Namespace of the GitOps project. This must be the same as the namespace where the agent is installed * */ public Optional> namespace() { @@ -316,7 +316,7 @@ public Builder name(String name) { } /** - * @param namespace Namespace of the GitOps project. + * @param namespace Namespace of the GitOps project. This must be the same as the namespace where the agent is installed * * @return builder * @@ -327,7 +327,7 @@ public Builder namespace(@Nullable Output namespace) { } /** - * @param namespace Namespace of the GitOps project. + * @param namespace Namespace of the GitOps project. This must be the same as the namespace where the agent is installed * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectProjectSpecArgs.java b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectProjectSpecArgs.java index 56ec1a1b..8121ba06 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectProjectSpecArgs.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectProjectSpecArgs.java @@ -41,14 +41,14 @@ public Optional> clusterResourceWhitelists; /** - * @return Cluster resource whitelist for the GitOps project. + * @return Cluster resource whitelist for the Argo project. * */ public Optional>> clusterResourceWhitelists() { @@ -56,14 +56,14 @@ public Optional description; /** - * @return Description of the GitOps project. + * @return Description of the Argo project. * */ public Optional> description() { @@ -71,14 +71,14 @@ public Optional> description() { } /** - * Destinations for deployment of the GitOps project. + * Allowed destinations for applications in this Argo project. * */ @Import(name="destinations") private @Nullable Output> destinations; /** - * @return Destinations for deployment of the GitOps project. + * @return Allowed destinations for applications in this Argo project. * */ public Optional>> destinations() { @@ -86,14 +86,14 @@ public Optional>> destin } /** - * Namespace resource blacklist for the GitOps project. + * Namespace resource blacklist for the Argo project. * */ @Import(name="namespaceResourceBlacklists") private @Nullable Output> namespaceResourceBlacklists; /** - * @return Namespace resource blacklist for the GitOps project. + * @return Namespace resource blacklist for the Argo project. * */ public Optional>> namespaceResourceBlacklists() { @@ -116,14 +116,14 @@ public Optional> orphanedResources; /** - * @return Orphaned resources configuration for the GitOps project. + * @return OrphanedResources specifies if agent should monitor orphaned resources of apps in this project * */ public Optional>> orphanedResources() { @@ -131,14 +131,14 @@ public Optional>> o } /** - * Roles associated with the GitOps project. + * Roles associated with the Argo project. * */ @Import(name="roles") private @Nullable Output> roles; /** - * @return Roles associated with the GitOps project. + * @return Roles associated with the Argo project. * */ public Optional>> roles() { @@ -161,14 +161,14 @@ public Optional>> signa } /** - * Source repositories for the GitOps project. + * Allowed Source repositories for the Argo project. * */ @Import(name="sourceRepos") private @Nullable Output> sourceRepos; /** - * @return Source repositories for the GitOps project. + * @return Allowed Source repositories for the Argo project. * */ public Optional>> sourceRepos() { @@ -256,7 +256,7 @@ public Builder clusterResourceBlacklists(GitopsAppProjectProjectSpecClusterResou } /** - * @param clusterResourceWhitelists Cluster resource whitelist for the GitOps project. + * @param clusterResourceWhitelists Cluster resource whitelist for the Argo project. * * @return builder * @@ -267,7 +267,7 @@ public Builder clusterResourceWhitelists(@Nullable Output description) { } /** - * @param description Description of the GitOps project. + * @param description Description of the Argo project. * * @return builder * @@ -308,7 +308,7 @@ public Builder description(String description) { } /** - * @param destinations Destinations for deployment of the GitOps project. + * @param destinations Allowed destinations for applications in this Argo project. * * @return builder * @@ -319,7 +319,7 @@ public Builder destinations(@Nullable Output des } /** - * @param destinations Destinations for deployment of the GitOps project. + * @param destinations Allowed destinations for applications in this Argo project. * * @return builder * @@ -339,7 +339,7 @@ public Builder destinations(GitopsAppProjectProjectSpecDestinationArgs... destin } /** - * @param namespaceResourceBlacklists Namespace resource blacklist for the GitOps project. + * @param namespaceResourceBlacklists Namespace resource blacklist for the Argo project. * * @return builder * @@ -350,7 +350,7 @@ public Builder namespaceResourceBlacklists(@Nullable Output> } /** - * @param roles Roles associated with the GitOps project. + * @param roles Roles associated with the Argo project. * * @return builder * @@ -453,7 +453,7 @@ public Builder roles(List roles) { } /** - * @param roles Roles associated with the GitOps project. + * @param roles Roles associated with the Argo project. * * @return builder * @@ -494,7 +494,7 @@ public Builder signatureKeys(GitopsAppProjectProjectSpecSignatureKeyArgs... sign } /** - * @param sourceRepos Source repositories for the GitOps project. + * @param sourceRepos Allowed Source repositories for the Argo project. * * @return builder * @@ -505,7 +505,7 @@ public Builder sourceRepos(@Nullable Output> sourceRepos) { } /** - * @param sourceRepos Source repositories for the GitOps project. + * @param sourceRepos Allowed Source repositories for the Argo project. * * @return builder * @@ -515,7 +515,7 @@ public Builder sourceRepos(List sourceRepos) { } /** - * @param sourceRepos Source repositories for the GitOps project. + * @param sourceRepos Allowed Source repositories for the Argo project. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectProjectSpecDestinationArgs.java b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectProjectSpecDestinationArgs.java index 0b39356c..b24138d1 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectProjectSpecDestinationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectProjectSpecDestinationArgs.java @@ -16,14 +16,14 @@ public final class GitopsAppProjectProjectSpecDestinationArgs extends com.pulumi public static final GitopsAppProjectProjectSpecDestinationArgs Empty = new GitopsAppProjectProjectSpecDestinationArgs(); /** - * Name of the destination. + * Name of the destination cluster. * */ @Import(name="name") private @Nullable Output name; /** - * @return Name of the destination. + * @return Name of the destination cluster. * */ public Optional> name() { @@ -31,14 +31,14 @@ public Optional> name() { } /** - * Namespace of the destination. + * Permitted Namespaces for deployment in the destination cluster. * */ @Import(name="namespace") private @Nullable Output namespace; /** - * @return Namespace of the destination. + * @return Permitted Namespaces for deployment in the destination cluster. * */ public Optional> namespace() { @@ -46,14 +46,14 @@ public Optional> namespace() { } /** - * Server URL of the destination. + * Server URL of the destination cluster. * */ @Import(name="server") private @Nullable Output server; /** - * @return Server URL of the destination. + * @return Server URL of the destination cluster. * */ public Optional> server() { @@ -87,7 +87,7 @@ public Builder(GitopsAppProjectProjectSpecDestinationArgs defaults) { } /** - * @param name Name of the destination. + * @param name Name of the destination cluster. * * @return builder * @@ -98,7 +98,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name Name of the destination. + * @param name Name of the destination cluster. * * @return builder * @@ -108,7 +108,7 @@ public Builder name(String name) { } /** - * @param namespace Namespace of the destination. + * @param namespace Permitted Namespaces for deployment in the destination cluster. * * @return builder * @@ -119,7 +119,7 @@ public Builder namespace(@Nullable Output namespace) { } /** - * @param namespace Namespace of the destination. + * @param namespace Permitted Namespaces for deployment in the destination cluster. * * @return builder * @@ -129,7 +129,7 @@ public Builder namespace(String namespace) { } /** - * @param server Server URL of the destination. + * @param server Server URL of the destination cluster. * * @return builder * @@ -140,7 +140,7 @@ public Builder server(@Nullable Output server) { } /** - * @param server Server URL of the destination. + * @param server Server URL of the destination cluster. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectProjectSpecRoleArgs.java b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectProjectSpecRoleArgs.java index 2c1fa45a..0bed28e4 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectProjectSpecRoleArgs.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectProjectSpecRoleArgs.java @@ -79,14 +79,14 @@ public Output name() { } /** - * Policies associated with the role. + * Policies associated with the role. These are argo RBAC policies and may not necessarily reflect in harness. * */ @Import(name="policies") private @Nullable Output> policies; /** - * @return Policies associated with the role. + * @return Policies associated with the role. These are argo RBAC policies and may not necessarily reflect in harness. * */ public Optional>> policies() { @@ -226,7 +226,7 @@ public Builder name(String name) { } /** - * @param policies Policies associated with the role. + * @param policies Policies associated with the role. These are argo RBAC policies and may not necessarily reflect in harness. * * @return builder * @@ -237,7 +237,7 @@ public Builder policies(@Nullable Output> policies) { } /** - * @param policies Policies associated with the role. + * @param policies Policies associated with the role. These are argo RBAC policies and may not necessarily reflect in harness. * * @return builder * @@ -247,7 +247,7 @@ public Builder policies(List policies) { } /** - * @param policies Policies associated with the role. + * @param policies Policies associated with the role. These are argo RBAC policies and may not necessarily reflect in harness. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectState.java b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectState.java index 4d44ba43..f4f16660 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectState.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/inputs/GitopsAppProjectState.java @@ -19,14 +19,14 @@ public final class GitopsAppProjectState extends com.pulumi.resources.ResourceAr public static final GitopsAppProjectState Empty = new GitopsAppProjectState(); /** - * Account identifier of the GitOps project. + * Account identifier of the GitOps project/agent. * */ @Import(name="accountId") private @Nullable Output accountId; /** - * @return Account identifier of the GitOps project. + * @return Account identifier of the GitOps project/agent. * */ public Optional> accountId() { @@ -34,14 +34,14 @@ public Optional> accountId() { } /** - * Agent identifier of the GitOps project. + * Agent identifier of the GitOps project. Project is created on agent scope. * */ @Import(name="agentId") private @Nullable Output agentId; /** - * @return Agent identifier of the GitOps project. + * @return Agent identifier of the GitOps project. Project is created on agent scope. * */ public Optional> agentId() { @@ -49,14 +49,14 @@ public Optional> agentId() { } /** - * Org identifier of the GitOps project. + * Org identifier of the GitOps agent for which project is created. * */ @Import(name="orgId") private @Nullable Output orgId; /** - * @return Org identifier of the GitOps project. + * @return Org identifier of the GitOps agent for which project is created. * */ public Optional> orgId() { @@ -64,14 +64,14 @@ public Optional> orgId() { } /** - * Project identifier of the GitOps repository. + * Project identifier of the GitOps agent for which project is created. * */ @Import(name="projectId") private @Nullable Output projectId; /** - * @return Project identifier of the GitOps repository. + * @return Project identifier of the GitOps agent for which project is created. * */ public Optional> projectId() { @@ -109,14 +109,14 @@ public Optional> queryName() { } /** - * Indicates if the GitOps repository should be updated if existing and inserted if not. + * Indicates if the GitOps project should be updated if existing and inserted if not. * */ @Import(name="upsert") private @Nullable Output upsert; /** - * @return Indicates if the GitOps repository should be updated if existing and inserted if not. + * @return Indicates if the GitOps project should be updated if existing and inserted if not. * */ public Optional> upsert() { @@ -154,7 +154,7 @@ public Builder(GitopsAppProjectState defaults) { } /** - * @param accountId Account identifier of the GitOps project. + * @param accountId Account identifier of the GitOps project/agent. * * @return builder * @@ -165,7 +165,7 @@ public Builder accountId(@Nullable Output accountId) { } /** - * @param accountId Account identifier of the GitOps project. + * @param accountId Account identifier of the GitOps project/agent. * * @return builder * @@ -175,7 +175,7 @@ public Builder accountId(String accountId) { } /** - * @param agentId Agent identifier of the GitOps project. + * @param agentId Agent identifier of the GitOps project. Project is created on agent scope. * * @return builder * @@ -186,7 +186,7 @@ public Builder agentId(@Nullable Output agentId) { } /** - * @param agentId Agent identifier of the GitOps project. + * @param agentId Agent identifier of the GitOps project. Project is created on agent scope. * * @return builder * @@ -196,7 +196,7 @@ public Builder agentId(String agentId) { } /** - * @param orgId Org identifier of the GitOps project. + * @param orgId Org identifier of the GitOps agent for which project is created. * * @return builder * @@ -207,7 +207,7 @@ public Builder orgId(@Nullable Output orgId) { } /** - * @param orgId Org identifier of the GitOps project. + * @param orgId Org identifier of the GitOps agent for which project is created. * * @return builder * @@ -217,7 +217,7 @@ public Builder orgId(String orgId) { } /** - * @param projectId Project identifier of the GitOps repository. + * @param projectId Project identifier of the GitOps agent for which project is created. * * @return builder * @@ -228,7 +228,7 @@ public Builder projectId(@Nullable Output projectId) { } /** - * @param projectId Project identifier of the GitOps repository. + * @param projectId Project identifier of the GitOps agent for which project is created. * * @return builder * @@ -290,7 +290,7 @@ public Builder queryName(String queryName) { } /** - * @param upsert Indicates if the GitOps repository should be updated if existing and inserted if not. + * @param upsert Indicates if the GitOps project should be updated if existing and inserted if not. * * @return builder * @@ -301,7 +301,7 @@ public Builder upsert(@Nullable Output upsert) { } /** - * @param upsert Indicates if the GitOps repository should be updated if existing and inserted if not. + * @param upsert Indicates if the GitOps project should be updated if existing and inserted if not. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsAppProjectResult.java b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsAppProjectResult.java index cde7b26e..527d39cc 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsAppProjectResult.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsAppProjectResult.java @@ -13,12 +13,12 @@ @CustomType public final class GetGitopsAppProjectResult { /** - * @return Account identifier of the GitOps project. + * @return Account identifier of the GitOps Agent where argo project resides. * */ private String accountId; /** - * @return Agent identifier of the GitOps project. + * @return Agent identifier of the agent where argo project resides(include scope prefix) * */ private String agentId; @@ -28,31 +28,31 @@ public final class GetGitopsAppProjectResult { */ private String id; /** - * @return Org identifier of the GitOps project. + * @return Org identifier of the GitOps Agent where argo project resides. * */ private @Nullable String orgId; /** - * @return Project identifier of the GitOps repository. + * @return Project identifier of the Gitops Agent where argo project resides. * */ private @Nullable String projectId; /** - * @return Identifier for the GitOps project. + * @return Identifier for the GitOps Argo project. * */ private String queryName; private GetGitopsAppProjectResult() {} /** - * @return Account identifier of the GitOps project. + * @return Account identifier of the GitOps Agent where argo project resides. * */ public String accountId() { return this.accountId; } /** - * @return Agent identifier of the GitOps project. + * @return Agent identifier of the agent where argo project resides(include scope prefix) * */ public String agentId() { @@ -66,21 +66,21 @@ public String id() { return this.id; } /** - * @return Org identifier of the GitOps project. + * @return Org identifier of the GitOps Agent where argo project resides. * */ public Optional orgId() { return Optional.ofNullable(this.orgId); } /** - * @return Project identifier of the GitOps repository. + * @return Project identifier of the Gitops Agent where argo project resides. * */ public Optional projectId() { return Optional.ofNullable(this.projectId); } /** - * @return Identifier for the GitOps project. + * @return Identifier for the GitOps Argo project. * */ public String queryName() { diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpec.java b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpec.java index 73115338..992f1761 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpec.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpec.java @@ -22,7 +22,7 @@ public final class GetGitopsApplicationsApplicationSpec { */ private List destinations; /** - * @return The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness. + * @return The ArgoCD project name corresponding to this GitOps application. Value must match mappings of ArgoCD projects to harness project. * */ private @Nullable String project; @@ -46,7 +46,7 @@ public List destinations() { return this.destinations; } /** - * @return The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness. + * @return The ArgoCD project name corresponding to this GitOps application. Value must match mappings of ArgoCD projects to harness project. * */ public Optional project() { diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetExtVar.java b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetExtVar.java index bf9f2b10..f4b18ac8 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetExtVar.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetExtVar.java @@ -17,7 +17,7 @@ public final class GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetExt */ private Boolean code; /** - * @return Name of the GitOps application. + * @return Name of the external variables of jsonnet application. * */ private String name; @@ -36,7 +36,7 @@ public Boolean code() { return this.code; } /** - * @return Name of the GitOps application. + * @return Name of the external variables of jsonnet application. * */ public String name() { diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetTla.java b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetTla.java index a3c7df97..efe435ba 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetTla.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetTla.java @@ -17,7 +17,7 @@ public final class GetGitopsApplicationsApplicationSpecSourceDirectoryJsonnetTla */ private Boolean code; /** - * @return Name of the GitOps application. + * @return Name of the TLAS of the jsonnet application. * */ private String name; @@ -36,7 +36,7 @@ public Boolean code() { return this.code; } /** - * @return Name of the GitOps application. + * @return Name of the TLAS of the jsonnet application. * */ public String name() { diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourceHelmFileParameter.java b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourceHelmFileParameter.java index 85c92340..0882ea95 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourceHelmFileParameter.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourceHelmFileParameter.java @@ -11,7 +11,7 @@ @CustomType public final class GetGitopsApplicationsApplicationSpecSourceHelmFileParameter { /** - * @return Name of the GitOps application. + * @return Name of the helm parameter. * */ private String name; @@ -23,7 +23,7 @@ public final class GetGitopsApplicationsApplicationSpecSourceHelmFileParameter { private GetGitopsApplicationsApplicationSpecSourceHelmFileParameter() {} /** - * @return Name of the GitOps application. + * @return Name of the helm parameter. * */ public String name() { diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourceHelmParameter.java b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourceHelmParameter.java index d1185537..6b52d180 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourceHelmParameter.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourceHelmParameter.java @@ -17,7 +17,7 @@ public final class GetGitopsApplicationsApplicationSpecSourceHelmParameter { */ private Boolean forceString; /** - * @return Name of the GitOps application. + * @return Name of the helm parameter. * */ private String name; @@ -36,7 +36,7 @@ public Boolean forceString() { return this.forceString; } /** - * @return Name of the GitOps application. + * @return Name of the helm parameter. * */ public String name() { diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourceKsonnetParameter.java b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourceKsonnetParameter.java index 621a37c9..2c165d9b 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourceKsonnetParameter.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourceKsonnetParameter.java @@ -16,7 +16,7 @@ public final class GetGitopsApplicationsApplicationSpecSourceKsonnetParameter { */ private String component; /** - * @return Name of the GitOps application. + * @return Name of the parameter of the ksonnet application. * */ private String name; @@ -35,7 +35,7 @@ public String component() { return this.component; } /** - * @return Name of the GitOps application. + * @return Name of the parameter of the ksonnet application. * */ public String name() { diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourcePlugin.java b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourcePlugin.java index 7b7fd794..ece9b43f 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourcePlugin.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourcePlugin.java @@ -18,7 +18,7 @@ public final class GetGitopsApplicationsApplicationSpecSourcePlugin { */ private List envs; /** - * @return Name of the GitOps application. + * @return Name of the plugin. * */ private String name; @@ -32,7 +32,7 @@ public List envs() { return this.envs; } /** - * @return Name of the GitOps application. + * @return Name of the plugin. * */ public String name() { diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourcePluginEnv.java b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourcePluginEnv.java index a14aaddc..21e5bfc1 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourcePluginEnv.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GetGitopsApplicationsApplicationSpecSourcePluginEnv.java @@ -11,7 +11,7 @@ @CustomType public final class GetGitopsApplicationsApplicationSpecSourcePluginEnv { /** - * @return Name of the GitOps application. + * @return Name of the variable, usually expressed in uppercase. * */ private String name; @@ -23,7 +23,7 @@ public final class GetGitopsApplicationsApplicationSpecSourcePluginEnv { private GetGitopsApplicationsApplicationSpecSourcePluginEnv() {} /** - * @return Name of the GitOps application. + * @return Name of the variable, usually expressed in uppercase. * */ public String name() { diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GitopsAppProjectProject.java b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GitopsAppProjectProject.java index cba059de..81d094cf 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GitopsAppProjectProject.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GitopsAppProjectProject.java @@ -13,26 +13,26 @@ @CustomType public final class GitopsAppProjectProject { /** - * @return Metadata details for the GitOps project. + * @return K8s object metadata for the Argo project. * */ private List metadatas; /** - * @return Specification details for the GitOps project. + * @return Specification details for the Argo project. * */ private List specs; private GitopsAppProjectProject() {} /** - * @return Metadata details for the GitOps project. + * @return K8s object metadata for the Argo project. * */ public List metadatas() { return this.metadatas; } /** - * @return Specification details for the GitOps project. + * @return Specification details for the Argo project. * */ public List specs() { diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GitopsAppProjectProjectMetadata.java b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GitopsAppProjectProjectMetadata.java index 065f0ad1..43f46a4d 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GitopsAppProjectProjectMetadata.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GitopsAppProjectProjectMetadata.java @@ -45,7 +45,7 @@ public final class GitopsAppProjectProjectMetadata { */ private @Nullable String name; /** - * @return Namespace of the GitOps project. + * @return Namespace of the GitOps project. This must be the same as the namespace where the agent is installed * */ private @Nullable String namespace; @@ -99,7 +99,7 @@ public Optional name() { return Optional.ofNullable(this.name); } /** - * @return Namespace of the GitOps project. + * @return Namespace of the GitOps project. This must be the same as the namespace where the agent is installed * */ public Optional namespace() { diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GitopsAppProjectProjectSpec.java b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GitopsAppProjectProjectSpec.java index be082966..35edf72a 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GitopsAppProjectProjectSpec.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GitopsAppProjectProjectSpec.java @@ -27,22 +27,22 @@ public final class GitopsAppProjectProjectSpec { */ private @Nullable List clusterResourceBlacklists; /** - * @return Cluster resource whitelist for the GitOps project. + * @return Cluster resource whitelist for the Argo project. * */ private @Nullable List clusterResourceWhitelists; /** - * @return Description of the GitOps project. + * @return Description of the Argo project. * */ private @Nullable String description; /** - * @return Destinations for deployment of the GitOps project. + * @return Allowed destinations for applications in this Argo project. * */ private @Nullable List destinations; /** - * @return Namespace resource blacklist for the GitOps project. + * @return Namespace resource blacklist for the Argo project. * */ private @Nullable List namespaceResourceBlacklists; @@ -52,12 +52,12 @@ public final class GitopsAppProjectProjectSpec { */ private @Nullable List namespaceResourceWhitelists; /** - * @return Orphaned resources configuration for the GitOps project. + * @return OrphanedResources specifies if agent should monitor orphaned resources of apps in this project * */ private @Nullable List orphanedResources; /** - * @return Roles associated with the GitOps project. + * @return Roles associated with the Argo project. * */ private @Nullable List roles; @@ -67,7 +67,7 @@ public final class GitopsAppProjectProjectSpec { */ private @Nullable List signatureKeys; /** - * @return Source repositories for the GitOps project. + * @return Allowed Source repositories for the Argo project. * */ private @Nullable List sourceRepos; @@ -86,28 +86,28 @@ public List clusterResource return this.clusterResourceBlacklists == null ? List.of() : this.clusterResourceBlacklists; } /** - * @return Cluster resource whitelist for the GitOps project. + * @return Cluster resource whitelist for the Argo project. * */ public List clusterResourceWhitelists() { return this.clusterResourceWhitelists == null ? List.of() : this.clusterResourceWhitelists; } /** - * @return Description of the GitOps project. + * @return Description of the Argo project. * */ public Optional description() { return Optional.ofNullable(this.description); } /** - * @return Destinations for deployment of the GitOps project. + * @return Allowed destinations for applications in this Argo project. * */ public List destinations() { return this.destinations == null ? List.of() : this.destinations; } /** - * @return Namespace resource blacklist for the GitOps project. + * @return Namespace resource blacklist for the Argo project. * */ public List namespaceResourceBlacklists() { @@ -121,14 +121,14 @@ public List namespaceReso return this.namespaceResourceWhitelists == null ? List.of() : this.namespaceResourceWhitelists; } /** - * @return Orphaned resources configuration for the GitOps project. + * @return OrphanedResources specifies if agent should monitor orphaned resources of apps in this project * */ public List orphanedResources() { return this.orphanedResources == null ? List.of() : this.orphanedResources; } /** - * @return Roles associated with the GitOps project. + * @return Roles associated with the Argo project. * */ public List roles() { @@ -142,7 +142,7 @@ public List signatureKeys() { return this.signatureKeys == null ? List.of() : this.signatureKeys; } /** - * @return Source repositories for the GitOps project. + * @return Allowed Source repositories for the Argo project. * */ public List sourceRepos() { diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GitopsAppProjectProjectSpecDestination.java b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GitopsAppProjectProjectSpecDestination.java index 9a21aabd..1e7087a4 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GitopsAppProjectProjectSpecDestination.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GitopsAppProjectProjectSpecDestination.java @@ -12,38 +12,38 @@ @CustomType public final class GitopsAppProjectProjectSpecDestination { /** - * @return Name of the destination. + * @return Name of the destination cluster. * */ private @Nullable String name; /** - * @return Namespace of the destination. + * @return Permitted Namespaces for deployment in the destination cluster. * */ private @Nullable String namespace; /** - * @return Server URL of the destination. + * @return Server URL of the destination cluster. * */ private @Nullable String server; private GitopsAppProjectProjectSpecDestination() {} /** - * @return Name of the destination. + * @return Name of the destination cluster. * */ public Optional name() { return Optional.ofNullable(this.name); } /** - * @return Namespace of the destination. + * @return Permitted Namespaces for deployment in the destination cluster. * */ public Optional namespace() { return Optional.ofNullable(this.namespace); } /** - * @return Server URL of the destination. + * @return Server URL of the destination cluster. * */ public Optional server() { diff --git a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GitopsAppProjectProjectSpecRole.java b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GitopsAppProjectProjectSpecRole.java index be670f0f..01787333 100644 --- a/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GitopsAppProjectProjectSpecRole.java +++ b/sdk/java/src/main/java/com/pulumi/harness/platform/outputs/GitopsAppProjectProjectSpecRole.java @@ -34,7 +34,7 @@ public final class GitopsAppProjectProjectSpecRole { */ private String name; /** - * @return Policies associated with the role. + * @return Policies associated with the role. These are argo RBAC policies and may not necessarily reflect in harness. * */ private @Nullable List policies; @@ -69,7 +69,7 @@ public String name() { return this.name; } /** - * @return Policies associated with the role. + * @return Policies associated with the role. These are argo RBAC policies and may not necessarily reflect in harness. * */ public List policies() { diff --git a/sdk/nodejs/platform/getGitopsAppProject.ts b/sdk/nodejs/platform/getGitopsAppProject.ts index d92d1c85..f148a54a 100644 --- a/sdk/nodejs/platform/getGitopsAppProject.ts +++ b/sdk/nodejs/platform/getGitopsAppProject.ts @@ -33,23 +33,23 @@ export function getGitopsAppProject(args: GetGitopsAppProjectArgs, opts?: pulumi */ export interface GetGitopsAppProjectArgs { /** - * Account identifier of the GitOps project. + * Account identifier of the GitOps Agent where argo project resides. */ accountId: string; /** - * Agent identifier of the GitOps project. + * Agent identifier of the agent where argo project resides(include scope prefix) */ agentId: string; /** - * Org identifier of the GitOps project. + * Org identifier of the GitOps Agent where argo project resides. */ orgId?: string; /** - * Project identifier of the GitOps repository. + * Project identifier of the Gitops Agent where argo project resides. */ projectId?: string; /** - * Identifier for the GitOps project. + * Identifier for the GitOps Argo project. */ queryName?: string; } @@ -59,11 +59,11 @@ export interface GetGitopsAppProjectArgs { */ export interface GetGitopsAppProjectResult { /** - * Account identifier of the GitOps project. + * Account identifier of the GitOps Agent where argo project resides. */ readonly accountId: string; /** - * Agent identifier of the GitOps project. + * Agent identifier of the agent where argo project resides(include scope prefix) */ readonly agentId: string; /** @@ -71,15 +71,15 @@ export interface GetGitopsAppProjectResult { */ readonly id: string; /** - * Org identifier of the GitOps project. + * Org identifier of the GitOps Agent where argo project resides. */ readonly orgId?: string; /** - * Project identifier of the GitOps repository. + * Project identifier of the Gitops Agent where argo project resides. */ readonly projectId?: string; /** - * Identifier for the GitOps project. + * Identifier for the GitOps Argo project. */ readonly queryName: string; } @@ -112,23 +112,23 @@ export function getGitopsAppProjectOutput(args: GetGitopsAppProjectOutputArgs, o */ export interface GetGitopsAppProjectOutputArgs { /** - * Account identifier of the GitOps project. + * Account identifier of the GitOps Agent where argo project resides. */ accountId: pulumi.Input; /** - * Agent identifier of the GitOps project. + * Agent identifier of the agent where argo project resides(include scope prefix) */ agentId: pulumi.Input; /** - * Org identifier of the GitOps project. + * Org identifier of the GitOps Agent where argo project resides. */ orgId?: pulumi.Input; /** - * Project identifier of the GitOps repository. + * Project identifier of the Gitops Agent where argo project resides. */ projectId?: pulumi.Input; /** - * Identifier for the GitOps project. + * Identifier for the GitOps Argo project. */ queryName?: pulumi.Input; } diff --git a/sdk/nodejs/platform/getGitopsRepoCred.ts b/sdk/nodejs/platform/getGitopsRepoCred.ts index bce67fe0..08e06483 100644 --- a/sdk/nodejs/platform/getGitopsRepoCred.ts +++ b/sdk/nodejs/platform/getGitopsRepoCred.ts @@ -29,6 +29,7 @@ export function getGitopsRepoCred(args: GetGitopsRepoCredArgs, opts?: pulumi.Inv return pulumi.runtime.invoke("harness:platform/getGitopsRepoCred:getGitopsRepoCred", { "accountId": args.accountId, "agentId": args.agentId, + "creds": args.creds, "identifier": args.identifier, "orgId": args.orgId, "projectId": args.projectId, @@ -47,6 +48,10 @@ export interface GetGitopsRepoCredArgs { * Agent identifier of the Repository Credentials. */ agentId: string; + /** + * credential details. + */ + creds?: inputs.platform.GetGitopsRepoCredCred[]; /** * Identifier of the Repository Credentials. */ @@ -117,6 +122,7 @@ export function getGitopsRepoCredOutput(args: GetGitopsRepoCredOutputArgs, opts? return pulumi.runtime.invokeOutput("harness:platform/getGitopsRepoCred:getGitopsRepoCred", { "accountId": args.accountId, "agentId": args.agentId, + "creds": args.creds, "identifier": args.identifier, "orgId": args.orgId, "projectId": args.projectId, @@ -135,6 +141,10 @@ export interface GetGitopsRepoCredOutputArgs { * Agent identifier of the Repository Credentials. */ agentId: pulumi.Input; + /** + * credential details. + */ + creds?: pulumi.Input[]>; /** * Identifier of the Repository Credentials. */ diff --git a/sdk/nodejs/platform/gitOpsCluster.ts b/sdk/nodejs/platform/gitOpsCluster.ts index 854bab23..4fab7888 100644 --- a/sdk/nodejs/platform/gitOpsCluster.ts +++ b/sdk/nodejs/platform/gitOpsCluster.ts @@ -62,7 +62,7 @@ export class GitOpsCluster extends pulumi.CustomResource { */ public readonly accountId!: pulumi.Output; /** - * Agent identifier of the GitOps cluster. + * Agent identifier of the GitOps cluster. (include scope prefix) */ public readonly agentId!: pulumi.Output; /** @@ -133,7 +133,7 @@ export interface GitOpsClusterState { */ accountId?: pulumi.Input; /** - * Agent identifier of the GitOps cluster. + * Agent identifier of the GitOps cluster. (include scope prefix) */ agentId?: pulumi.Input; /** @@ -163,7 +163,7 @@ export interface GitOpsClusterArgs { */ accountId: pulumi.Input; /** - * Agent identifier of the GitOps cluster. + * Agent identifier of the GitOps cluster. (include scope prefix) */ agentId: pulumi.Input; /** diff --git a/sdk/nodejs/platform/gitOpsRepository.ts b/sdk/nodejs/platform/gitOpsRepository.ts index 46e8c17f..82454038 100644 --- a/sdk/nodejs/platform/gitOpsRepository.ts +++ b/sdk/nodejs/platform/gitOpsRepository.ts @@ -104,6 +104,8 @@ export class GitOpsRepository extends pulumi.CustomResource { public readonly repos!: pulumi.Output; /** * Update mask of the repository. + * + * @deprecated This field is deprecated and will be removed in a future release. */ public readonly updateMasks!: pulumi.Output; /** @@ -221,6 +223,8 @@ export interface GitOpsRepositoryState { repos?: pulumi.Input[]>; /** * Update mask of the repository. + * + * @deprecated This field is deprecated and will be removed in a future release. */ updateMasks?: pulumi.Input[]>; /** @@ -280,6 +284,8 @@ export interface GitOpsRepositoryArgs { repos: pulumi.Input[]>; /** * Update mask of the repository. + * + * @deprecated This field is deprecated and will be removed in a future release. */ updateMasks?: pulumi.Input[]>; /** diff --git a/sdk/nodejs/platform/gitopsAppProject.ts b/sdk/nodejs/platform/gitopsAppProject.ts index e1abf824..1b11b401 100644 --- a/sdk/nodejs/platform/gitopsAppProject.ts +++ b/sdk/nodejs/platform/gitopsAppProject.ts @@ -58,19 +58,19 @@ export class GitopsAppProject extends pulumi.CustomResource { } /** - * Account identifier of the GitOps project. + * Account identifier of the GitOps project/agent. */ public readonly accountId!: pulumi.Output; /** - * Agent identifier of the GitOps project. + * Agent identifier of the GitOps project. Project is created on agent scope. */ public readonly agentId!: pulumi.Output; /** - * Org identifier of the GitOps project. + * Org identifier of the GitOps agent for which project is created. */ public readonly orgId!: pulumi.Output; /** - * Project identifier of the GitOps repository. + * Project identifier of the GitOps agent for which project is created. */ public readonly projectId!: pulumi.Output; /** @@ -82,7 +82,7 @@ export class GitopsAppProject extends pulumi.CustomResource { */ public readonly queryName!: pulumi.Output; /** - * Indicates if the GitOps repository should be updated if existing and inserted if not. + * Indicates if the GitOps project should be updated if existing and inserted if not. */ public readonly upsert!: pulumi.Output; @@ -135,19 +135,19 @@ export class GitopsAppProject extends pulumi.CustomResource { */ export interface GitopsAppProjectState { /** - * Account identifier of the GitOps project. + * Account identifier of the GitOps project/agent. */ accountId?: pulumi.Input; /** - * Agent identifier of the GitOps project. + * Agent identifier of the GitOps project. Project is created on agent scope. */ agentId?: pulumi.Input; /** - * Org identifier of the GitOps project. + * Org identifier of the GitOps agent for which project is created. */ orgId?: pulumi.Input; /** - * Project identifier of the GitOps repository. + * Project identifier of the GitOps agent for which project is created. */ projectId?: pulumi.Input; /** @@ -159,7 +159,7 @@ export interface GitopsAppProjectState { */ queryName?: pulumi.Input; /** - * Indicates if the GitOps repository should be updated if existing and inserted if not. + * Indicates if the GitOps project should be updated if existing and inserted if not. */ upsert?: pulumi.Input; } @@ -169,19 +169,19 @@ export interface GitopsAppProjectState { */ export interface GitopsAppProjectArgs { /** - * Account identifier of the GitOps project. + * Account identifier of the GitOps project/agent. */ accountId: pulumi.Input; /** - * Agent identifier of the GitOps project. + * Agent identifier of the GitOps project. Project is created on agent scope. */ agentId: pulumi.Input; /** - * Org identifier of the GitOps project. + * Org identifier of the GitOps agent for which project is created. */ orgId?: pulumi.Input; /** - * Project identifier of the GitOps repository. + * Project identifier of the GitOps agent for which project is created. */ projectId?: pulumi.Input; /** @@ -193,7 +193,7 @@ export interface GitopsAppProjectArgs { */ queryName?: pulumi.Input; /** - * Indicates if the GitOps repository should be updated if existing and inserted if not. + * Indicates if the GitOps project should be updated if existing and inserted if not. */ upsert?: pulumi.Input; } diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 3b8f3126..ae7222ac 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -2889,6 +2889,108 @@ export namespace platform { trust?: pulumi.Input; } + export interface GetGitopsRepoCredCred { + /** + * Specifies whether helm-oci support should be enabled for this repo. + */ + enableOci?: boolean; + /** + * Specifies the GitHub API URL for GitHub app authentication. + */ + githubAppEnterpriseBaseUrl?: string; + /** + * Specifies the Github App ID of the app used to access the repo for GitHub app authentication. + */ + githubAppId?: string; + /** + * Specifies the ID of the installed GitHub App for GitHub app authentication. + */ + githubAppInstallationId?: string; + /** + * github*app*private_key specifies the private key PEM data for authentication via GitHub app. + */ + githubAppPrivateKey?: string; + /** + * Password or PAT to be used for authenticating the remote repository. + */ + password?: string; + /** + * SSH Key in PEM format for authenticating the repository. Used only for Git repository. + */ + sshPrivateKey?: string; + /** + * Certificate in PEM format for authenticating at the repo server. This is used for mTLS. + */ + tlsClientCertData?: string; + /** + * Private key in PEM format for authenticating at the repo server. This is used for mTLS. + */ + tlsClientCertKey?: string; + /** + * Type specifies the type of the repoCreds.Can be either 'git' or 'helm. 'git' is assumed if empty or absent + */ + type?: string; + /** + * URL of the remote repository. Make sure you pass at least an org, this will not work if you just provide the host, for eg. "https://github.com" + */ + url?: string; + /** + * Username to be used for authenticating the remote repository. + */ + username?: string; + } + + export interface GetGitopsRepoCredCredArgs { + /** + * Specifies whether helm-oci support should be enabled for this repo. + */ + enableOci?: pulumi.Input; + /** + * Specifies the GitHub API URL for GitHub app authentication. + */ + githubAppEnterpriseBaseUrl?: pulumi.Input; + /** + * Specifies the Github App ID of the app used to access the repo for GitHub app authentication. + */ + githubAppId?: pulumi.Input; + /** + * Specifies the ID of the installed GitHub App for GitHub app authentication. + */ + githubAppInstallationId?: pulumi.Input; + /** + * github*app*private_key specifies the private key PEM data for authentication via GitHub app. + */ + githubAppPrivateKey?: pulumi.Input; + /** + * Password or PAT to be used for authenticating the remote repository. + */ + password?: pulumi.Input; + /** + * SSH Key in PEM format for authenticating the repository. Used only for Git repository. + */ + sshPrivateKey?: pulumi.Input; + /** + * Certificate in PEM format for authenticating at the repo server. This is used for mTLS. + */ + tlsClientCertData?: pulumi.Input; + /** + * Private key in PEM format for authenticating at the repo server. This is used for mTLS. + */ + tlsClientCertKey?: pulumi.Input; + /** + * Type specifies the type of the repoCreds.Can be either 'git' or 'helm. 'git' is assumed if empty or absent + */ + type?: pulumi.Input; + /** + * URL of the remote repository. Make sure you pass at least an org, this will not work if you just provide the host, for eg. "https://github.com" + */ + url?: pulumi.Input; + /** + * Username to be used for authenticating the remote repository. + */ + username?: pulumi.Input; + } + export interface GetInfrastructureGitDetails { /** * Name of the branch. @@ -4833,11 +4935,11 @@ export namespace platform { export interface GitopsAppProjectProject { /** - * Metadata details for the GitOps project. + * K8s object metadata for the Argo project. */ metadatas: pulumi.Input[]>; /** - * Specification details for the GitOps project. + * Specification details for the Argo project. */ specs: pulumi.Input[]>; } @@ -4868,7 +4970,7 @@ export namespace platform { */ name?: pulumi.Input; /** - * Namespace of the GitOps project. + * Namespace of the GitOps project. This must be the same as the namespace where the agent is installed */ namespace?: pulumi.Input; /** @@ -4914,19 +5016,19 @@ export namespace platform { */ clusterResourceBlacklists?: pulumi.Input[]>; /** - * Cluster resource whitelist for the GitOps project. + * Cluster resource whitelist for the Argo project. */ clusterResourceWhitelists?: pulumi.Input[]>; /** - * Description of the GitOps project. + * Description of the Argo project. */ description?: pulumi.Input; /** - * Destinations for deployment of the GitOps project. + * Allowed destinations for applications in this Argo project. */ destinations?: pulumi.Input[]>; /** - * Namespace resource blacklist for the GitOps project. + * Namespace resource blacklist for the Argo project. */ namespaceResourceBlacklists?: pulumi.Input[]>; /** @@ -4934,11 +5036,11 @@ export namespace platform { */ namespaceResourceWhitelists?: pulumi.Input[]>; /** - * Orphaned resources configuration for the GitOps project. + * OrphanedResources specifies if agent should monitor orphaned resources of apps in this project */ orphanedResources?: pulumi.Input[]>; /** - * Roles associated with the GitOps project. + * Roles associated with the Argo project. */ roles?: pulumi.Input[]>; /** @@ -4946,7 +5048,7 @@ export namespace platform { */ signatureKeys?: pulumi.Input[]>; /** - * Source repositories for the GitOps project. + * Allowed Source repositories for the Argo project. */ sourceRepos?: pulumi.Input[]>; /** @@ -4979,15 +5081,15 @@ export namespace platform { export interface GitopsAppProjectProjectSpecDestination { /** - * Name of the destination. + * Name of the destination cluster. */ name?: pulumi.Input; /** - * Namespace of the destination. + * Permitted Namespaces for deployment in the destination cluster. */ namespace?: pulumi.Input; /** - * Server URL of the destination. + * Server URL of the destination cluster. */ server?: pulumi.Input; } @@ -5058,7 +5160,7 @@ export namespace platform { */ name: pulumi.Input; /** - * Policies associated with the role. + * Policies associated with the role. These are argo RBAC policies and may not necessarily reflect in harness. */ policies?: pulumi.Input[]>; } diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 0fea49c3..47ab1577 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -3434,7 +3434,7 @@ export namespace platform { */ destinations: outputs.platform.GetGitopsApplicationsApplicationSpecDestination[]; /** - * The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness. + * The ArgoCD project name corresponding to this GitOps application. Value must match mappings of ArgoCD projects to harness project. */ project?: string; /** @@ -3541,7 +3541,7 @@ export namespace platform { */ code: boolean; /** - * Name of the GitOps application. + * Name of the external variables of jsonnet application. */ name: string; /** @@ -3556,7 +3556,7 @@ export namespace platform { */ code: boolean; /** - * Name of the GitOps application. + * Name of the TLAS of the jsonnet application. */ name: string; /** @@ -3598,7 +3598,7 @@ export namespace platform { export interface GetGitopsApplicationsApplicationSpecSourceHelmFileParameter { /** - * Name of the GitOps application. + * Name of the helm parameter. */ name: string; /** @@ -3613,7 +3613,7 @@ export namespace platform { */ forceString: boolean; /** - * Name of the GitOps application. + * Name of the helm parameter. */ name: string; /** @@ -3639,7 +3639,7 @@ export namespace platform { */ component: string; /** - * Name of the GitOps application. + * Name of the parameter of the ksonnet application. */ name: string; /** @@ -3689,14 +3689,14 @@ export namespace platform { */ envs: outputs.platform.GetGitopsApplicationsApplicationSpecSourcePluginEnv[]; /** - * Name of the GitOps application. + * Name of the plugin. */ name: string; } export interface GetGitopsApplicationsApplicationSpecSourcePluginEnv { /** - * Name of the GitOps application. + * Name of the variable, usually expressed in uppercase. */ name: string; /** @@ -6138,31 +6138,31 @@ export namespace platform { /** * Specifies the Github App ID of the app used to access the repo for GitHub app authentication. */ - githubAppId?: string; + githubAppId: string; /** * Specifies the ID of the installed GitHub App for GitHub app authentication. */ - githubAppInstallationId?: string; + githubAppInstallationId: string; /** * github*app*private_key specifies the private key PEM data for authentication via GitHub app. */ - githubAppPrivateKey?: string; + githubAppPrivateKey: string; /** * Password or PAT to be used for authenticating the remote repository. */ - password?: string; + password: string; /** * SSH Key in PEM format for authenticating the repository. Used only for Git repository. */ - sshPrivateKey?: string; + sshPrivateKey: string; /** * Certificate in PEM format for authenticating at the repo server. This is used for mTLS. */ - tlsClientCertData?: string; + tlsClientCertData: string; /** * Private key in PEM format for authenticating at the repo server. This is used for mTLS. */ - tlsClientCertKey?: string; + tlsClientCertKey: string; /** * Type specifies the type of the repoCreds.Can be either 'git' or 'helm. 'git' is assumed if empty or absent */ @@ -6291,15 +6291,15 @@ export namespace platform { /** * Id of the GitHub app used to access the repo. */ - githubAppId?: string; + githubAppId: string; /** * Installation id of the GitHub app used to access the repo. */ - githubAppInstallationId?: string; + githubAppInstallationId: string; /** * GitHub app private key PEM data. */ - githubAppPrivateKey?: string; + githubAppPrivateKey: string; /** * Indicates if the credentials were inherited from a repository credential. */ @@ -6319,7 +6319,7 @@ export namespace platform { /** * Password or PAT to be used for authenticating the remote repository. */ - password?: string; + password: string; /** * The ArgoCD project name corresponding to this GitOps repository. An empty string means that the GitOps repository belongs to the default project created by Harness. */ @@ -6339,11 +6339,11 @@ export namespace platform { /** * Certificate in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded. */ - tlsClientCertData?: string; + tlsClientCertData: string; /** * Private key in PEM format for authenticating at the repo server. This is used for mTLS. The value should be base64 encoded. */ - tlsClientCertKey?: string; + tlsClientCertKey: string; /** * Type specifies the type of the repo. Can be either "git" or "helm. "git" is assumed if empty or absent. */ @@ -6508,11 +6508,11 @@ export namespace platform { export interface GitopsAppProjectProject { /** - * Metadata details for the GitOps project. + * K8s object metadata for the Argo project. */ metadatas: outputs.platform.GitopsAppProjectProjectMetadata[]; /** - * Specification details for the GitOps project. + * Specification details for the Argo project. */ specs: outputs.platform.GitopsAppProjectProjectSpec[]; } @@ -6543,7 +6543,7 @@ export namespace platform { */ name?: string; /** - * Namespace of the GitOps project. + * Namespace of the GitOps project. This must be the same as the namespace where the agent is installed */ namespace?: string; /** @@ -6589,19 +6589,19 @@ export namespace platform { */ clusterResourceBlacklists?: outputs.platform.GitopsAppProjectProjectSpecClusterResourceBlacklist[]; /** - * Cluster resource whitelist for the GitOps project. + * Cluster resource whitelist for the Argo project. */ clusterResourceWhitelists?: outputs.platform.GitopsAppProjectProjectSpecClusterResourceWhitelist[]; /** - * Description of the GitOps project. + * Description of the Argo project. */ description?: string; /** - * Destinations for deployment of the GitOps project. + * Allowed destinations for applications in this Argo project. */ destinations?: outputs.platform.GitopsAppProjectProjectSpecDestination[]; /** - * Namespace resource blacklist for the GitOps project. + * Namespace resource blacklist for the Argo project. */ namespaceResourceBlacklists?: outputs.platform.GitopsAppProjectProjectSpecNamespaceResourceBlacklist[]; /** @@ -6609,11 +6609,11 @@ export namespace platform { */ namespaceResourceWhitelists?: outputs.platform.GitopsAppProjectProjectSpecNamespaceResourceWhitelist[]; /** - * Orphaned resources configuration for the GitOps project. + * OrphanedResources specifies if agent should monitor orphaned resources of apps in this project */ orphanedResources?: outputs.platform.GitopsAppProjectProjectSpecOrphanedResource[]; /** - * Roles associated with the GitOps project. + * Roles associated with the Argo project. */ roles?: outputs.platform.GitopsAppProjectProjectSpecRole[]; /** @@ -6621,7 +6621,7 @@ export namespace platform { */ signatureKeys?: outputs.platform.GitopsAppProjectProjectSpecSignatureKey[]; /** - * Source repositories for the GitOps project. + * Allowed Source repositories for the Argo project. */ sourceRepos?: string[]; /** @@ -6654,15 +6654,15 @@ export namespace platform { export interface GitopsAppProjectProjectSpecDestination { /** - * Name of the destination. + * Name of the destination cluster. */ name?: string; /** - * Namespace of the destination. + * Permitted Namespaces for deployment in the destination cluster. */ namespace?: string; /** - * Server URL of the destination. + * Server URL of the destination cluster. */ server?: string; } @@ -6733,7 +6733,7 @@ export namespace platform { */ name: string; /** - * Policies associated with the role. + * Policies associated with the role. These are argo RBAC policies and may not necessarily reflect in harness. */ policies?: string[]; } diff --git a/sdk/python/pulumi_harness/platform/_inputs.py b/sdk/python/pulumi_harness/platform/_inputs.py index 3276c6a9..88b8eca0 100644 --- a/sdk/python/pulumi_harness/platform/_inputs.py +++ b/sdk/python/pulumi_harness/platform/_inputs.py @@ -467,6 +467,8 @@ 'GetGitopsGnupgRequestArgsDict', 'GetGitopsGnupgRequestPublickeyArgs', 'GetGitopsGnupgRequestPublickeyArgsDict', + 'GetGitopsRepoCredCredArgs', + 'GetGitopsRepoCredCredArgsDict', 'GetInfrastructureGitDetailsArgs', 'GetInfrastructureGitDetailsArgsDict', 'GetInputSetGitDetailsArgs', @@ -10024,11 +10026,11 @@ def ssh_key_ref(self, value: pulumi.Input[str]): class GitopsAppProjectProjectArgsDict(TypedDict): metadatas: pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectMetadataArgsDict']]] """ - Metadata details for the GitOps project. + K8s object metadata for the Argo project. """ specs: pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecArgsDict']]] """ - Specification details for the GitOps project. + Specification details for the Argo project. """ elif False: GitopsAppProjectProjectArgsDict: TypeAlias = Mapping[str, Any] @@ -10039,8 +10041,8 @@ def __init__(__self__, *, metadatas: pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectMetadataArgs']]], specs: pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecArgs']]]): """ - :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectMetadataArgs']]] metadatas: Metadata details for the GitOps project. - :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecArgs']]] specs: Specification details for the GitOps project. + :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectMetadataArgs']]] metadatas: K8s object metadata for the Argo project. + :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecArgs']]] specs: Specification details for the Argo project. """ pulumi.set(__self__, "metadatas", metadatas) pulumi.set(__self__, "specs", specs) @@ -10049,7 +10051,7 @@ def __init__(__self__, *, @pulumi.getter def metadatas(self) -> pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectMetadataArgs']]]: """ - Metadata details for the GitOps project. + K8s object metadata for the Argo project. """ return pulumi.get(self, "metadatas") @@ -10061,7 +10063,7 @@ def metadatas(self, value: pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectP @pulumi.getter def specs(self) -> pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecArgs']]]: """ - Specification details for the GitOps project. + Specification details for the Argo project. """ return pulumi.get(self, "specs") @@ -10098,7 +10100,7 @@ class GitopsAppProjectProjectMetadataArgsDict(TypedDict): """ namespace: NotRequired[pulumi.Input[str]] """ - Namespace of the GitOps project. + Namespace of the GitOps project. This must be the same as the namespace where the agent is installed """ resource_version: NotRequired[pulumi.Input[str]] """ @@ -10125,7 +10127,7 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels associated with the GitOps project. :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectMetadataManagedFieldArgs']]] managed_fields: Managed fields associated with the GitOps project. :param pulumi.Input[str] name: Name of the GitOps project. - :param pulumi.Input[str] namespace: Namespace of the GitOps project. + :param pulumi.Input[str] namespace: Namespace of the GitOps project. This must be the same as the namespace where the agent is installed :param pulumi.Input[str] resource_version: Resource Version for the GitOps project """ if annotations is not None: @@ -10221,7 +10223,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def namespace(self) -> Optional[pulumi.Input[str]]: """ - Namespace of the GitOps project. + Namespace of the GitOps project. This must be the same as the namespace where the agent is installed """ return pulumi.get(self, "namespace") @@ -10402,19 +10404,19 @@ class GitopsAppProjectProjectSpecArgsDict(TypedDict): """ cluster_resource_whitelists: NotRequired[pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecClusterResourceWhitelistArgsDict']]]] """ - Cluster resource whitelist for the GitOps project. + Cluster resource whitelist for the Argo project. """ description: NotRequired[pulumi.Input[str]] """ - Description of the GitOps project. + Description of the Argo project. """ destinations: NotRequired[pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecDestinationArgsDict']]]] """ - Destinations for deployment of the GitOps project. + Allowed destinations for applications in this Argo project. """ namespace_resource_blacklists: NotRequired[pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecNamespaceResourceBlacklistArgsDict']]]] """ - Namespace resource blacklist for the GitOps project. + Namespace resource blacklist for the Argo project. """ namespace_resource_whitelists: NotRequired[pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecNamespaceResourceWhitelistArgsDict']]]] """ @@ -10422,11 +10424,11 @@ class GitopsAppProjectProjectSpecArgsDict(TypedDict): """ orphaned_resources: NotRequired[pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecOrphanedResourceArgsDict']]]] """ - Orphaned resources configuration for the GitOps project. + OrphanedResources specifies if agent should monitor orphaned resources of apps in this project """ roles: NotRequired[pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecRoleArgsDict']]]] """ - Roles associated with the GitOps project. + Roles associated with the Argo project. """ signature_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecSignatureKeyArgsDict']]]] """ @@ -10434,7 +10436,7 @@ class GitopsAppProjectProjectSpecArgsDict(TypedDict): """ source_repos: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] """ - Source repositories for the GitOps project. + Allowed Source repositories for the Argo project. """ sync_windows: NotRequired[pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecSyncWindowArgsDict']]]] """ @@ -10459,15 +10461,15 @@ def __init__(__self__, *, sync_windows: Optional[pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecSyncWindowArgs']]]] = None): """ :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecClusterResourceBlacklistArgs']]] cluster_resource_blacklists: Cluster resource blacklist for the GitOps project. - :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecClusterResourceWhitelistArgs']]] cluster_resource_whitelists: Cluster resource whitelist for the GitOps project. - :param pulumi.Input[str] description: Description of the GitOps project. - :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecDestinationArgs']]] destinations: Destinations for deployment of the GitOps project. - :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecNamespaceResourceBlacklistArgs']]] namespace_resource_blacklists: Namespace resource blacklist for the GitOps project. + :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecClusterResourceWhitelistArgs']]] cluster_resource_whitelists: Cluster resource whitelist for the Argo project. + :param pulumi.Input[str] description: Description of the Argo project. + :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecDestinationArgs']]] destinations: Allowed destinations for applications in this Argo project. + :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecNamespaceResourceBlacklistArgs']]] namespace_resource_blacklists: Namespace resource blacklist for the Argo project. :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecNamespaceResourceWhitelistArgs']]] namespace_resource_whitelists: Namespace resource whitelist for the GitOps project. - :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecOrphanedResourceArgs']]] orphaned_resources: Orphaned resources configuration for the GitOps project. - :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecRoleArgs']]] roles: Roles associated with the GitOps project. + :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecOrphanedResourceArgs']]] orphaned_resources: OrphanedResources specifies if agent should monitor orphaned resources of apps in this project + :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecRoleArgs']]] roles: Roles associated with the Argo project. :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecSignatureKeyArgs']]] signature_keys: Signature keys for the GitOps project. - :param pulumi.Input[Sequence[pulumi.Input[str]]] source_repos: Source repositories for the GitOps project. + :param pulumi.Input[Sequence[pulumi.Input[str]]] source_repos: Allowed Source repositories for the Argo project. :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecSyncWindowArgs']]] sync_windows: Synchronization windows for the GitOps project. """ if cluster_resource_blacklists is not None: @@ -10509,7 +10511,7 @@ def cluster_resource_blacklists(self, value: Optional[pulumi.Input[Sequence[pulu @pulumi.getter(name="clusterResourceWhitelists") def cluster_resource_whitelists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecClusterResourceWhitelistArgs']]]]: """ - Cluster resource whitelist for the GitOps project. + Cluster resource whitelist for the Argo project. """ return pulumi.get(self, "cluster_resource_whitelists") @@ -10521,7 +10523,7 @@ def cluster_resource_whitelists(self, value: Optional[pulumi.Input[Sequence[pulu @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: """ - Description of the GitOps project. + Description of the Argo project. """ return pulumi.get(self, "description") @@ -10533,7 +10535,7 @@ def description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def destinations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecDestinationArgs']]]]: """ - Destinations for deployment of the GitOps project. + Allowed destinations for applications in this Argo project. """ return pulumi.get(self, "destinations") @@ -10545,7 +10547,7 @@ def destinations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Gitop @pulumi.getter(name="namespaceResourceBlacklists") def namespace_resource_blacklists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecNamespaceResourceBlacklistArgs']]]]: """ - Namespace resource blacklist for the GitOps project. + Namespace resource blacklist for the Argo project. """ return pulumi.get(self, "namespace_resource_blacklists") @@ -10569,7 +10571,7 @@ def namespace_resource_whitelists(self, value: Optional[pulumi.Input[Sequence[pu @pulumi.getter(name="orphanedResources") def orphaned_resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecOrphanedResourceArgs']]]]: """ - Orphaned resources configuration for the GitOps project. + OrphanedResources specifies if agent should monitor orphaned resources of apps in this project """ return pulumi.get(self, "orphaned_resources") @@ -10581,7 +10583,7 @@ def orphaned_resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ @pulumi.getter def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecRoleArgs']]]]: """ - Roles associated with the GitOps project. + Roles associated with the Argo project. """ return pulumi.get(self, "roles") @@ -10605,7 +10607,7 @@ def signature_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Git @pulumi.getter(name="sourceRepos") def source_repos(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Source repositories for the GitOps project. + Allowed Source repositories for the Argo project. """ return pulumi.get(self, "source_repos") @@ -10734,15 +10736,15 @@ def kind(self, value: Optional[pulumi.Input[str]]): class GitopsAppProjectProjectSpecDestinationArgsDict(TypedDict): name: NotRequired[pulumi.Input[str]] """ - Name of the destination. + Name of the destination cluster. """ namespace: NotRequired[pulumi.Input[str]] """ - Namespace of the destination. + Permitted Namespaces for deployment in the destination cluster. """ server: NotRequired[pulumi.Input[str]] """ - Server URL of the destination. + Server URL of the destination cluster. """ elif False: GitopsAppProjectProjectSpecDestinationArgsDict: TypeAlias = Mapping[str, Any] @@ -10754,9 +10756,9 @@ def __init__(__self__, *, namespace: Optional[pulumi.Input[str]] = None, server: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] name: Name of the destination. - :param pulumi.Input[str] namespace: Namespace of the destination. - :param pulumi.Input[str] server: Server URL of the destination. + :param pulumi.Input[str] name: Name of the destination cluster. + :param pulumi.Input[str] namespace: Permitted Namespaces for deployment in the destination cluster. + :param pulumi.Input[str] server: Server URL of the destination cluster. """ if name is not None: pulumi.set(__self__, "name", name) @@ -10769,7 +10771,7 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - Name of the destination. + Name of the destination cluster. """ return pulumi.get(self, "name") @@ -10781,7 +10783,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def namespace(self) -> Optional[pulumi.Input[str]]: """ - Namespace of the destination. + Permitted Namespaces for deployment in the destination cluster. """ return pulumi.get(self, "namespace") @@ -10793,7 +10795,7 @@ def namespace(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def server(self) -> Optional[pulumi.Input[str]]: """ - Server URL of the destination. + Server URL of the destination cluster. """ return pulumi.get(self, "server") @@ -11050,7 +11052,7 @@ class GitopsAppProjectProjectSpecRoleArgsDict(TypedDict): """ policies: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] """ - Policies associated with the role. + Policies associated with the role. These are argo RBAC policies and may not necessarily reflect in harness. """ elif False: GitopsAppProjectProjectSpecRoleArgsDict: TypeAlias = Mapping[str, Any] @@ -11068,7 +11070,7 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the role. :param pulumi.Input[Sequence[pulumi.Input[str]]] groups: Groups associated with the role. :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectSpecRoleJwtTokenArgs']]] jwt_tokens: JWT tokens associated with the role. - :param pulumi.Input[Sequence[pulumi.Input[str]]] policies: Policies associated with the role. + :param pulumi.Input[Sequence[pulumi.Input[str]]] policies: Policies associated with the role. These are argo RBAC policies and may not necessarily reflect in harness. """ pulumi.set(__self__, "description", description) pulumi.set(__self__, "name", name) @@ -11131,7 +11133,7 @@ def jwt_tokens(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GitopsA @pulumi.getter def policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Policies associated with the role. + Policies associated with the role. These are argo RBAC policies and may not necessarily reflect in harness. """ return pulumi.get(self, "policies") @@ -19885,6 +19887,246 @@ def trust(self, value: Optional[str]): pulumi.set(self, "trust", value) +if not MYPY: + class GetGitopsRepoCredCredArgsDict(TypedDict): + enable_oci: bool + """ + Specifies whether helm-oci support should be enabled for this repo. + """ + github_app_enterprise_base_url: str + """ + Specifies the GitHub API URL for GitHub app authentication. + """ + github_app_id: str + """ + Specifies the Github App ID of the app used to access the repo for GitHub app authentication. + """ + github_app_installation_id: str + """ + Specifies the ID of the installed GitHub App for GitHub app authentication. + """ + github_app_private_key: str + """ + github*app*private_key specifies the private key PEM data for authentication via GitHub app. + """ + password: str + """ + Password or PAT to be used for authenticating the remote repository. + """ + ssh_private_key: str + """ + SSH Key in PEM format for authenticating the repository. Used only for Git repository. + """ + tls_client_cert_data: str + """ + Certificate in PEM format for authenticating at the repo server. This is used for mTLS. + """ + tls_client_cert_key: str + """ + Private key in PEM format for authenticating at the repo server. This is used for mTLS. + """ + type: str + """ + Type specifies the type of the repoCreds.Can be either 'git' or 'helm. 'git' is assumed if empty or absent + """ + url: str + """ + URL of the remote repository. Make sure you pass at least an org, this will not work if you just provide the host, for eg. "https://github.com" + """ + username: str + """ + Username to be used for authenticating the remote repository. + """ +elif False: + GetGitopsRepoCredCredArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GetGitopsRepoCredCredArgs: + def __init__(__self__, *, + enable_oci: bool, + github_app_enterprise_base_url: str, + github_app_id: str, + github_app_installation_id: str, + github_app_private_key: str, + password: str, + ssh_private_key: str, + tls_client_cert_data: str, + tls_client_cert_key: str, + type: str, + url: str, + username: str): + """ + :param bool enable_oci: Specifies whether helm-oci support should be enabled for this repo. + :param str github_app_enterprise_base_url: Specifies the GitHub API URL for GitHub app authentication. + :param str github_app_id: Specifies the Github App ID of the app used to access the repo for GitHub app authentication. + :param str github_app_installation_id: Specifies the ID of the installed GitHub App for GitHub app authentication. + :param str github_app_private_key: github*app*private_key specifies the private key PEM data for authentication via GitHub app. + :param str password: Password or PAT to be used for authenticating the remote repository. + :param str ssh_private_key: SSH Key in PEM format for authenticating the repository. Used only for Git repository. + :param str tls_client_cert_data: Certificate in PEM format for authenticating at the repo server. This is used for mTLS. + :param str tls_client_cert_key: Private key in PEM format for authenticating at the repo server. This is used for mTLS. + :param str type: Type specifies the type of the repoCreds.Can be either 'git' or 'helm. 'git' is assumed if empty or absent + :param str url: URL of the remote repository. Make sure you pass at least an org, this will not work if you just provide the host, for eg. "https://github.com" + :param str username: Username to be used for authenticating the remote repository. + """ + pulumi.set(__self__, "enable_oci", enable_oci) + pulumi.set(__self__, "github_app_enterprise_base_url", github_app_enterprise_base_url) + pulumi.set(__self__, "github_app_id", github_app_id) + pulumi.set(__self__, "github_app_installation_id", github_app_installation_id) + pulumi.set(__self__, "github_app_private_key", github_app_private_key) + pulumi.set(__self__, "password", password) + pulumi.set(__self__, "ssh_private_key", ssh_private_key) + pulumi.set(__self__, "tls_client_cert_data", tls_client_cert_data) + pulumi.set(__self__, "tls_client_cert_key", tls_client_cert_key) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "url", url) + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter(name="enableOci") + def enable_oci(self) -> bool: + """ + Specifies whether helm-oci support should be enabled for this repo. + """ + return pulumi.get(self, "enable_oci") + + @enable_oci.setter + def enable_oci(self, value: bool): + pulumi.set(self, "enable_oci", value) + + @property + @pulumi.getter(name="githubAppEnterpriseBaseUrl") + def github_app_enterprise_base_url(self) -> str: + """ + Specifies the GitHub API URL for GitHub app authentication. + """ + return pulumi.get(self, "github_app_enterprise_base_url") + + @github_app_enterprise_base_url.setter + def github_app_enterprise_base_url(self, value: str): + pulumi.set(self, "github_app_enterprise_base_url", value) + + @property + @pulumi.getter(name="githubAppId") + def github_app_id(self) -> str: + """ + Specifies the Github App ID of the app used to access the repo for GitHub app authentication. + """ + return pulumi.get(self, "github_app_id") + + @github_app_id.setter + def github_app_id(self, value: str): + pulumi.set(self, "github_app_id", value) + + @property + @pulumi.getter(name="githubAppInstallationId") + def github_app_installation_id(self) -> str: + """ + Specifies the ID of the installed GitHub App for GitHub app authentication. + """ + return pulumi.get(self, "github_app_installation_id") + + @github_app_installation_id.setter + def github_app_installation_id(self, value: str): + pulumi.set(self, "github_app_installation_id", value) + + @property + @pulumi.getter(name="githubAppPrivateKey") + def github_app_private_key(self) -> str: + """ + github*app*private_key specifies the private key PEM data for authentication via GitHub app. + """ + return pulumi.get(self, "github_app_private_key") + + @github_app_private_key.setter + def github_app_private_key(self, value: str): + pulumi.set(self, "github_app_private_key", value) + + @property + @pulumi.getter + def password(self) -> str: + """ + Password or PAT to be used for authenticating the remote repository. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: str): + pulumi.set(self, "password", value) + + @property + @pulumi.getter(name="sshPrivateKey") + def ssh_private_key(self) -> str: + """ + SSH Key in PEM format for authenticating the repository. Used only for Git repository. + """ + return pulumi.get(self, "ssh_private_key") + + @ssh_private_key.setter + def ssh_private_key(self, value: str): + pulumi.set(self, "ssh_private_key", value) + + @property + @pulumi.getter(name="tlsClientCertData") + def tls_client_cert_data(self) -> str: + """ + Certificate in PEM format for authenticating at the repo server. This is used for mTLS. + """ + return pulumi.get(self, "tls_client_cert_data") + + @tls_client_cert_data.setter + def tls_client_cert_data(self, value: str): + pulumi.set(self, "tls_client_cert_data", value) + + @property + @pulumi.getter(name="tlsClientCertKey") + def tls_client_cert_key(self) -> str: + """ + Private key in PEM format for authenticating at the repo server. This is used for mTLS. + """ + return pulumi.get(self, "tls_client_cert_key") + + @tls_client_cert_key.setter + def tls_client_cert_key(self, value: str): + pulumi.set(self, "tls_client_cert_key", value) + + @property + @pulumi.getter + def type(self) -> str: + """ + Type specifies the type of the repoCreds.Can be either 'git' or 'helm. 'git' is assumed if empty or absent + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: str): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def url(self) -> str: + """ + URL of the remote repository. Make sure you pass at least an org, this will not work if you just provide the host, for eg. "https://github.com" + """ + return pulumi.get(self, "url") + + @url.setter + def url(self, value: str): + pulumi.set(self, "url", value) + + @property + @pulumi.getter + def username(self) -> str: + """ + Username to be used for authenticating the remote repository. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: str): + pulumi.set(self, "username", value) + + if not MYPY: class GetInfrastructureGitDetailsArgsDict(TypedDict): branch: str diff --git a/sdk/python/pulumi_harness/platform/get_gitops_app_project.py b/sdk/python/pulumi_harness/platform/get_gitops_app_project.py index dce6f760..88dea6fa 100644 --- a/sdk/python/pulumi_harness/platform/get_gitops_app_project.py +++ b/sdk/python/pulumi_harness/platform/get_gitops_app_project.py @@ -50,7 +50,7 @@ def __init__(__self__, account_id=None, agent_id=None, id=None, org_id=None, pro @pulumi.getter(name="accountId") def account_id(self) -> str: """ - Account identifier of the GitOps project. + Account identifier of the GitOps Agent where argo project resides. """ return pulumi.get(self, "account_id") @@ -58,7 +58,7 @@ def account_id(self) -> str: @pulumi.getter(name="agentId") def agent_id(self) -> str: """ - Agent identifier of the GitOps project. + Agent identifier of the agent where argo project resides(include scope prefix) """ return pulumi.get(self, "agent_id") @@ -74,7 +74,7 @@ def id(self) -> str: @pulumi.getter(name="orgId") def org_id(self) -> Optional[str]: """ - Org identifier of the GitOps project. + Org identifier of the GitOps Agent where argo project resides. """ return pulumi.get(self, "org_id") @@ -82,7 +82,7 @@ def org_id(self) -> Optional[str]: @pulumi.getter(name="projectId") def project_id(self) -> Optional[str]: """ - Project identifier of the GitOps repository. + Project identifier of the Gitops Agent where argo project resides. """ return pulumi.get(self, "project_id") @@ -90,7 +90,7 @@ def project_id(self) -> Optional[str]: @pulumi.getter(name="queryName") def query_name(self) -> str: """ - Identifier for the GitOps project. + Identifier for the GitOps Argo project. """ return pulumi.get(self, "query_name") @@ -127,11 +127,11 @@ def get_gitops_app_project(account_id: Optional[str] = None, ``` - :param str account_id: Account identifier of the GitOps project. - :param str agent_id: Agent identifier of the GitOps project. - :param str org_id: Org identifier of the GitOps project. - :param str project_id: Project identifier of the GitOps repository. - :param str query_name: Identifier for the GitOps project. + :param str account_id: Account identifier of the GitOps Agent where argo project resides. + :param str agent_id: Agent identifier of the agent where argo project resides(include scope prefix) + :param str org_id: Org identifier of the GitOps Agent where argo project resides. + :param str project_id: Project identifier of the Gitops Agent where argo project resides. + :param str query_name: Identifier for the GitOps Argo project. """ __args__ = dict() __args__['accountId'] = account_id @@ -167,11 +167,11 @@ def get_gitops_app_project_output(account_id: Optional[pulumi.Input[str]] = None ``` - :param str account_id: Account identifier of the GitOps project. - :param str agent_id: Agent identifier of the GitOps project. - :param str org_id: Org identifier of the GitOps project. - :param str project_id: Project identifier of the GitOps repository. - :param str query_name: Identifier for the GitOps project. + :param str account_id: Account identifier of the GitOps Agent where argo project resides. + :param str agent_id: Agent identifier of the agent where argo project resides(include scope prefix) + :param str org_id: Org identifier of the GitOps Agent where argo project resides. + :param str project_id: Project identifier of the Gitops Agent where argo project resides. + :param str query_name: Identifier for the GitOps Argo project. """ __args__ = dict() __args__['accountId'] = account_id diff --git a/sdk/python/pulumi_harness/platform/get_gitops_repo_cred.py b/sdk/python/pulumi_harness/platform/get_gitops_repo_cred.py index b529239d..d6393028 100644 --- a/sdk/python/pulumi_harness/platform/get_gitops_repo_cred.py +++ b/sdk/python/pulumi_harness/platform/get_gitops_repo_cred.py @@ -14,6 +14,7 @@ from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs +from ._inputs import * __all__ = [ 'GetGitopsRepoCredResult', @@ -124,6 +125,7 @@ def __await__(self): def get_gitops_repo_cred(account_id: Optional[str] = None, agent_id: Optional[str] = None, + creds: Optional[Sequence[Union['GetGitopsRepoCredCredArgs', 'GetGitopsRepoCredCredArgsDict']]] = None, identifier: Optional[str] = None, org_id: Optional[str] = None, project_id: Optional[str] = None, @@ -147,6 +149,7 @@ def get_gitops_repo_cred(account_id: Optional[str] = None, :param str account_id: Account identifier of the Repository Credentials. :param str agent_id: Agent identifier of the Repository Credentials. + :param Sequence[Union['GetGitopsRepoCredCredArgs', 'GetGitopsRepoCredCredArgsDict']] creds: credential details. :param str identifier: Identifier of the Repository Credentials. :param str org_id: Organization identifier of the Repository Credentials. :param str project_id: Project identifier of the Repository Credentials. @@ -154,6 +157,7 @@ def get_gitops_repo_cred(account_id: Optional[str] = None, __args__ = dict() __args__['accountId'] = account_id __args__['agentId'] = agent_id + __args__['creds'] = creds __args__['identifier'] = identifier __args__['orgId'] = org_id __args__['projectId'] = project_id @@ -170,6 +174,7 @@ def get_gitops_repo_cred(account_id: Optional[str] = None, project_id=pulumi.get(__ret__, 'project_id')) def get_gitops_repo_cred_output(account_id: Optional[pulumi.Input[str]] = None, agent_id: Optional[pulumi.Input[str]] = None, + creds: Optional[pulumi.Input[Optional[Sequence[Union['GetGitopsRepoCredCredArgs', 'GetGitopsRepoCredCredArgsDict']]]]] = None, identifier: Optional[pulumi.Input[str]] = None, org_id: Optional[pulumi.Input[Optional[str]]] = None, project_id: Optional[pulumi.Input[Optional[str]]] = None, @@ -193,6 +198,7 @@ def get_gitops_repo_cred_output(account_id: Optional[pulumi.Input[str]] = None, :param str account_id: Account identifier of the Repository Credentials. :param str agent_id: Agent identifier of the Repository Credentials. + :param Sequence[Union['GetGitopsRepoCredCredArgs', 'GetGitopsRepoCredCredArgsDict']] creds: credential details. :param str identifier: Identifier of the Repository Credentials. :param str org_id: Organization identifier of the Repository Credentials. :param str project_id: Project identifier of the Repository Credentials. @@ -200,6 +206,7 @@ def get_gitops_repo_cred_output(account_id: Optional[pulumi.Input[str]] = None, __args__ = dict() __args__['accountId'] = account_id __args__['agentId'] = agent_id + __args__['creds'] = creds __args__['identifier'] = identifier __args__['orgId'] = org_id __args__['projectId'] = project_id diff --git a/sdk/python/pulumi_harness/platform/git_ops_cluster.py b/sdk/python/pulumi_harness/platform/git_ops_cluster.py index e65101e8..6ab4c4bd 100644 --- a/sdk/python/pulumi_harness/platform/git_ops_cluster.py +++ b/sdk/python/pulumi_harness/platform/git_ops_cluster.py @@ -30,7 +30,7 @@ def __init__(__self__, *, """ The set of arguments for constructing a GitOpsCluster resource. :param pulumi.Input[str] account_id: Account identifier of the GitOps cluster. - :param pulumi.Input[str] agent_id: Agent identifier of the GitOps cluster. + :param pulumi.Input[str] agent_id: Agent identifier of the GitOps cluster. (include scope prefix) :param pulumi.Input[str] identifier: Identifier of the GitOps cluster. :param pulumi.Input[str] org_id: Organization identifier of the cluster. :param pulumi.Input[str] project_id: Project identifier of the GitOps cluster. @@ -62,7 +62,7 @@ def account_id(self, value: pulumi.Input[str]): @pulumi.getter(name="agentId") def agent_id(self) -> pulumi.Input[str]: """ - Agent identifier of the GitOps cluster. + Agent identifier of the GitOps cluster. (include scope prefix) """ return pulumi.get(self, "agent_id") @@ -131,7 +131,7 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering GitOpsCluster resources. :param pulumi.Input[str] account_id: Account identifier of the GitOps cluster. - :param pulumi.Input[str] agent_id: Agent identifier of the GitOps cluster. + :param pulumi.Input[str] agent_id: Agent identifier of the GitOps cluster. (include scope prefix) :param pulumi.Input[str] identifier: Identifier of the GitOps cluster. :param pulumi.Input[str] org_id: Organization identifier of the cluster. :param pulumi.Input[str] project_id: Project identifier of the GitOps cluster. @@ -166,7 +166,7 @@ def account_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="agentId") def agent_id(self) -> Optional[pulumi.Input[str]]: """ - Agent identifier of the GitOps cluster. + Agent identifier of the GitOps cluster. (include scope prefix) """ return pulumi.get(self, "agent_id") @@ -261,7 +261,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] account_id: Account identifier of the GitOps cluster. - :param pulumi.Input[str] agent_id: Agent identifier of the GitOps cluster. + :param pulumi.Input[str] agent_id: Agent identifier of the GitOps cluster. (include scope prefix) :param pulumi.Input[str] identifier: Identifier of the GitOps cluster. :param pulumi.Input[str] org_id: Organization identifier of the cluster. :param pulumi.Input[str] project_id: Project identifier of the GitOps cluster. @@ -362,7 +362,7 @@ def get(resource_name: str, :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] account_id: Account identifier of the GitOps cluster. - :param pulumi.Input[str] agent_id: Agent identifier of the GitOps cluster. + :param pulumi.Input[str] agent_id: Agent identifier of the GitOps cluster. (include scope prefix) :param pulumi.Input[str] identifier: Identifier of the GitOps cluster. :param pulumi.Input[str] org_id: Organization identifier of the cluster. :param pulumi.Input[str] project_id: Project identifier of the GitOps cluster. @@ -392,7 +392,7 @@ def account_id(self) -> pulumi.Output[str]: @pulumi.getter(name="agentId") def agent_id(self) -> pulumi.Output[str]: """ - Agent identifier of the GitOps cluster. + Agent identifier of the GitOps cluster. (include scope prefix) """ return pulumi.get(self, "agent_id") diff --git a/sdk/python/pulumi_harness/platform/git_ops_repository.py b/sdk/python/pulumi_harness/platform/git_ops_repository.py index ae97f293..5f04985a 100644 --- a/sdk/python/pulumi_harness/platform/git_ops_repository.py +++ b/sdk/python/pulumi_harness/platform/git_ops_repository.py @@ -69,6 +69,9 @@ def __init__(__self__, *, pulumi.set(__self__, "project_id", project_id) if refresh_interval is not None: pulumi.set(__self__, "refresh_interval", refresh_interval) + if update_masks is not None: + warnings.warn("""This field is deprecated and will be removed in a future release.""", DeprecationWarning) + pulumi.log.warn("""update_masks is deprecated: This field is deprecated and will be removed in a future release.""") if update_masks is not None: pulumi.set(__self__, "update_masks", update_masks) if upsert is not None: @@ -209,6 +212,7 @@ def refresh_interval(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="updateMasks") + @_utilities.deprecated("""This field is deprecated and will be removed in a future release.""") def update_masks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GitOpsRepositoryUpdateMaskArgs']]]]: """ Update mask of the repository. @@ -287,6 +291,9 @@ def __init__(__self__, *, pulumi.set(__self__, "refresh_interval", refresh_interval) if repos is not None: pulumi.set(__self__, "repos", repos) + if update_masks is not None: + warnings.warn("""This field is deprecated and will be removed in a future release.""", DeprecationWarning) + pulumi.log.warn("""update_masks is deprecated: This field is deprecated and will be removed in a future release.""") if update_masks is not None: pulumi.set(__self__, "update_masks", update_masks) if upsert is not None: @@ -427,6 +434,7 @@ def repos(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GitOpsReposi @property @pulumi.getter(name="updateMasks") + @_utilities.deprecated("""This field is deprecated and will be removed in a future release.""") def update_masks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GitOpsRepositoryUpdateMaskArgs']]]]: """ Update mask of the repository. @@ -751,6 +759,7 @@ def repos(self) -> pulumi.Output[Sequence['outputs.GitOpsRepositoryRepo']]: @property @pulumi.getter(name="updateMasks") + @_utilities.deprecated("""This field is deprecated and will be removed in a future release.""") def update_masks(self) -> pulumi.Output[Optional[Sequence['outputs.GitOpsRepositoryUpdateMask']]]: """ Update mask of the repository. diff --git a/sdk/python/pulumi_harness/platform/gitops_app_project.py b/sdk/python/pulumi_harness/platform/gitops_app_project.py index 363c54b3..0a4e098b 100644 --- a/sdk/python/pulumi_harness/platform/gitops_app_project.py +++ b/sdk/python/pulumi_harness/platform/gitops_app_project.py @@ -30,13 +30,13 @@ def __init__(__self__, *, upsert: Optional[pulumi.Input[bool]] = None): """ The set of arguments for constructing a GitopsAppProject resource. - :param pulumi.Input[str] account_id: Account identifier of the GitOps project. - :param pulumi.Input[str] agent_id: Agent identifier of the GitOps project. + :param pulumi.Input[str] account_id: Account identifier of the GitOps project/agent. + :param pulumi.Input[str] agent_id: Agent identifier of the GitOps project. Project is created on agent scope. :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectArgs']]] projects: GitOps project configuration. - :param pulumi.Input[str] org_id: Org identifier of the GitOps project. - :param pulumi.Input[str] project_id: Project identifier of the GitOps repository. + :param pulumi.Input[str] org_id: Org identifier of the GitOps agent for which project is created. + :param pulumi.Input[str] project_id: Project identifier of the GitOps agent for which project is created. :param pulumi.Input[str] query_name: Identifier for the GitOps project. - :param pulumi.Input[bool] upsert: Indicates if the GitOps repository should be updated if existing and inserted if not. + :param pulumi.Input[bool] upsert: Indicates if the GitOps project should be updated if existing and inserted if not. """ pulumi.set(__self__, "account_id", account_id) pulumi.set(__self__, "agent_id", agent_id) @@ -54,7 +54,7 @@ def __init__(__self__, *, @pulumi.getter(name="accountId") def account_id(self) -> pulumi.Input[str]: """ - Account identifier of the GitOps project. + Account identifier of the GitOps project/agent. """ return pulumi.get(self, "account_id") @@ -66,7 +66,7 @@ def account_id(self, value: pulumi.Input[str]): @pulumi.getter(name="agentId") def agent_id(self) -> pulumi.Input[str]: """ - Agent identifier of the GitOps project. + Agent identifier of the GitOps project. Project is created on agent scope. """ return pulumi.get(self, "agent_id") @@ -90,7 +90,7 @@ def projects(self, value: pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectPr @pulumi.getter(name="orgId") def org_id(self) -> Optional[pulumi.Input[str]]: """ - Org identifier of the GitOps project. + Org identifier of the GitOps agent for which project is created. """ return pulumi.get(self, "org_id") @@ -102,7 +102,7 @@ def org_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - Project identifier of the GitOps repository. + Project identifier of the GitOps agent for which project is created. """ return pulumi.get(self, "project_id") @@ -126,7 +126,7 @@ def query_name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def upsert(self) -> Optional[pulumi.Input[bool]]: """ - Indicates if the GitOps repository should be updated if existing and inserted if not. + Indicates if the GitOps project should be updated if existing and inserted if not. """ return pulumi.get(self, "upsert") @@ -147,13 +147,13 @@ def __init__(__self__, *, upsert: Optional[pulumi.Input[bool]] = None): """ Input properties used for looking up and filtering GitopsAppProject resources. - :param pulumi.Input[str] account_id: Account identifier of the GitOps project. - :param pulumi.Input[str] agent_id: Agent identifier of the GitOps project. - :param pulumi.Input[str] org_id: Org identifier of the GitOps project. - :param pulumi.Input[str] project_id: Project identifier of the GitOps repository. + :param pulumi.Input[str] account_id: Account identifier of the GitOps project/agent. + :param pulumi.Input[str] agent_id: Agent identifier of the GitOps project. Project is created on agent scope. + :param pulumi.Input[str] org_id: Org identifier of the GitOps agent for which project is created. + :param pulumi.Input[str] project_id: Project identifier of the GitOps agent for which project is created. :param pulumi.Input[Sequence[pulumi.Input['GitopsAppProjectProjectArgs']]] projects: GitOps project configuration. :param pulumi.Input[str] query_name: Identifier for the GitOps project. - :param pulumi.Input[bool] upsert: Indicates if the GitOps repository should be updated if existing and inserted if not. + :param pulumi.Input[bool] upsert: Indicates if the GitOps project should be updated if existing and inserted if not. """ if account_id is not None: pulumi.set(__self__, "account_id", account_id) @@ -174,7 +174,7 @@ def __init__(__self__, *, @pulumi.getter(name="accountId") def account_id(self) -> Optional[pulumi.Input[str]]: """ - Account identifier of the GitOps project. + Account identifier of the GitOps project/agent. """ return pulumi.get(self, "account_id") @@ -186,7 +186,7 @@ def account_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="agentId") def agent_id(self) -> Optional[pulumi.Input[str]]: """ - Agent identifier of the GitOps project. + Agent identifier of the GitOps project. Project is created on agent scope. """ return pulumi.get(self, "agent_id") @@ -198,7 +198,7 @@ def agent_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="orgId") def org_id(self) -> Optional[pulumi.Input[str]]: """ - Org identifier of the GitOps project. + Org identifier of the GitOps agent for which project is created. """ return pulumi.get(self, "org_id") @@ -210,7 +210,7 @@ def org_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="projectId") def project_id(self) -> Optional[pulumi.Input[str]]: """ - Project identifier of the GitOps repository. + Project identifier of the GitOps agent for which project is created. """ return pulumi.get(self, "project_id") @@ -246,7 +246,7 @@ def query_name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def upsert(self) -> Optional[pulumi.Input[bool]]: """ - Indicates if the GitOps repository should be updated if existing and inserted if not. + Indicates if the GitOps project should be updated if existing and inserted if not. """ return pulumi.get(self, "upsert") @@ -293,13 +293,13 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] account_id: Account identifier of the GitOps project. - :param pulumi.Input[str] agent_id: Agent identifier of the GitOps project. - :param pulumi.Input[str] org_id: Org identifier of the GitOps project. - :param pulumi.Input[str] project_id: Project identifier of the GitOps repository. + :param pulumi.Input[str] account_id: Account identifier of the GitOps project/agent. + :param pulumi.Input[str] agent_id: Agent identifier of the GitOps project. Project is created on agent scope. + :param pulumi.Input[str] org_id: Org identifier of the GitOps agent for which project is created. + :param pulumi.Input[str] project_id: Project identifier of the GitOps agent for which project is created. :param pulumi.Input[Sequence[pulumi.Input[Union['GitopsAppProjectProjectArgs', 'GitopsAppProjectProjectArgsDict']]]] projects: GitOps project configuration. :param pulumi.Input[str] query_name: Identifier for the GitOps project. - :param pulumi.Input[bool] upsert: Indicates if the GitOps repository should be updated if existing and inserted if not. + :param pulumi.Input[bool] upsert: Indicates if the GitOps project should be updated if existing and inserted if not. """ ... @overload @@ -398,13 +398,13 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] account_id: Account identifier of the GitOps project. - :param pulumi.Input[str] agent_id: Agent identifier of the GitOps project. - :param pulumi.Input[str] org_id: Org identifier of the GitOps project. - :param pulumi.Input[str] project_id: Project identifier of the GitOps repository. + :param pulumi.Input[str] account_id: Account identifier of the GitOps project/agent. + :param pulumi.Input[str] agent_id: Agent identifier of the GitOps project. Project is created on agent scope. + :param pulumi.Input[str] org_id: Org identifier of the GitOps agent for which project is created. + :param pulumi.Input[str] project_id: Project identifier of the GitOps agent for which project is created. :param pulumi.Input[Sequence[pulumi.Input[Union['GitopsAppProjectProjectArgs', 'GitopsAppProjectProjectArgsDict']]]] projects: GitOps project configuration. :param pulumi.Input[str] query_name: Identifier for the GitOps project. - :param pulumi.Input[bool] upsert: Indicates if the GitOps repository should be updated if existing and inserted if not. + :param pulumi.Input[bool] upsert: Indicates if the GitOps project should be updated if existing and inserted if not. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -423,7 +423,7 @@ def get(resource_name: str, @pulumi.getter(name="accountId") def account_id(self) -> pulumi.Output[str]: """ - Account identifier of the GitOps project. + Account identifier of the GitOps project/agent. """ return pulumi.get(self, "account_id") @@ -431,7 +431,7 @@ def account_id(self) -> pulumi.Output[str]: @pulumi.getter(name="agentId") def agent_id(self) -> pulumi.Output[str]: """ - Agent identifier of the GitOps project. + Agent identifier of the GitOps project. Project is created on agent scope. """ return pulumi.get(self, "agent_id") @@ -439,7 +439,7 @@ def agent_id(self) -> pulumi.Output[str]: @pulumi.getter(name="orgId") def org_id(self) -> pulumi.Output[Optional[str]]: """ - Org identifier of the GitOps project. + Org identifier of the GitOps agent for which project is created. """ return pulumi.get(self, "org_id") @@ -447,7 +447,7 @@ def org_id(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="projectId") def project_id(self) -> pulumi.Output[Optional[str]]: """ - Project identifier of the GitOps repository. + Project identifier of the GitOps agent for which project is created. """ return pulumi.get(self, "project_id") @@ -471,7 +471,7 @@ def query_name(self) -> pulumi.Output[str]: @pulumi.getter def upsert(self) -> pulumi.Output[Optional[bool]]: """ - Indicates if the GitOps repository should be updated if existing and inserted if not. + Indicates if the GitOps project should be updated if existing and inserted if not. """ return pulumi.get(self, "upsert") diff --git a/sdk/python/pulumi_harness/platform/outputs.py b/sdk/python/pulumi_harness/platform/outputs.py index d94e0f1d..b12e2f1e 100644 --- a/sdk/python/pulumi_harness/platform/outputs.py +++ b/sdk/python/pulumi_harness/platform/outputs.py @@ -7773,8 +7773,8 @@ def __init__(__self__, *, metadatas: Sequence['outputs.GitopsAppProjectProjectMetadata'], specs: Sequence['outputs.GitopsAppProjectProjectSpec']): """ - :param Sequence['GitopsAppProjectProjectMetadataArgs'] metadatas: Metadata details for the GitOps project. - :param Sequence['GitopsAppProjectProjectSpecArgs'] specs: Specification details for the GitOps project. + :param Sequence['GitopsAppProjectProjectMetadataArgs'] metadatas: K8s object metadata for the Argo project. + :param Sequence['GitopsAppProjectProjectSpecArgs'] specs: Specification details for the Argo project. """ pulumi.set(__self__, "metadatas", metadatas) pulumi.set(__self__, "specs", specs) @@ -7783,7 +7783,7 @@ def __init__(__self__, *, @pulumi.getter def metadatas(self) -> Sequence['outputs.GitopsAppProjectProjectMetadata']: """ - Metadata details for the GitOps project. + K8s object metadata for the Argo project. """ return pulumi.get(self, "metadatas") @@ -7791,7 +7791,7 @@ def metadatas(self) -> Sequence['outputs.GitopsAppProjectProjectMetadata']: @pulumi.getter def specs(self) -> Sequence['outputs.GitopsAppProjectProjectSpec']: """ - Specification details for the GitOps project. + Specification details for the Argo project. """ return pulumi.get(self, "specs") @@ -7835,7 +7835,7 @@ def __init__(__self__, *, :param Mapping[str, str] labels: Labels associated with the GitOps project. :param Sequence['GitopsAppProjectProjectMetadataManagedFieldArgs'] managed_fields: Managed fields associated with the GitOps project. :param str name: Name of the GitOps project. - :param str namespace: Namespace of the GitOps project. + :param str namespace: Namespace of the GitOps project. This must be the same as the namespace where the agent is installed :param str resource_version: Resource Version for the GitOps project """ if annotations is not None: @@ -7907,7 +7907,7 @@ def name(self) -> Optional[str]: @pulumi.getter def namespace(self) -> Optional[str]: """ - Namespace of the GitOps project. + Namespace of the GitOps project. This must be the same as the namespace where the agent is installed """ return pulumi.get(self, "namespace") @@ -8079,15 +8079,15 @@ def __init__(__self__, *, sync_windows: Optional[Sequence['outputs.GitopsAppProjectProjectSpecSyncWindow']] = None): """ :param Sequence['GitopsAppProjectProjectSpecClusterResourceBlacklistArgs'] cluster_resource_blacklists: Cluster resource blacklist for the GitOps project. - :param Sequence['GitopsAppProjectProjectSpecClusterResourceWhitelistArgs'] cluster_resource_whitelists: Cluster resource whitelist for the GitOps project. - :param str description: Description of the GitOps project. - :param Sequence['GitopsAppProjectProjectSpecDestinationArgs'] destinations: Destinations for deployment of the GitOps project. - :param Sequence['GitopsAppProjectProjectSpecNamespaceResourceBlacklistArgs'] namespace_resource_blacklists: Namespace resource blacklist for the GitOps project. + :param Sequence['GitopsAppProjectProjectSpecClusterResourceWhitelistArgs'] cluster_resource_whitelists: Cluster resource whitelist for the Argo project. + :param str description: Description of the Argo project. + :param Sequence['GitopsAppProjectProjectSpecDestinationArgs'] destinations: Allowed destinations for applications in this Argo project. + :param Sequence['GitopsAppProjectProjectSpecNamespaceResourceBlacklistArgs'] namespace_resource_blacklists: Namespace resource blacklist for the Argo project. :param Sequence['GitopsAppProjectProjectSpecNamespaceResourceWhitelistArgs'] namespace_resource_whitelists: Namespace resource whitelist for the GitOps project. - :param Sequence['GitopsAppProjectProjectSpecOrphanedResourceArgs'] orphaned_resources: Orphaned resources configuration for the GitOps project. - :param Sequence['GitopsAppProjectProjectSpecRoleArgs'] roles: Roles associated with the GitOps project. + :param Sequence['GitopsAppProjectProjectSpecOrphanedResourceArgs'] orphaned_resources: OrphanedResources specifies if agent should monitor orphaned resources of apps in this project + :param Sequence['GitopsAppProjectProjectSpecRoleArgs'] roles: Roles associated with the Argo project. :param Sequence['GitopsAppProjectProjectSpecSignatureKeyArgs'] signature_keys: Signature keys for the GitOps project. - :param Sequence[str] source_repos: Source repositories for the GitOps project. + :param Sequence[str] source_repos: Allowed Source repositories for the Argo project. :param Sequence['GitopsAppProjectProjectSpecSyncWindowArgs'] sync_windows: Synchronization windows for the GitOps project. """ if cluster_resource_blacklists is not None: @@ -8125,7 +8125,7 @@ def cluster_resource_blacklists(self) -> Optional[Sequence['outputs.GitopsAppPro @pulumi.getter(name="clusterResourceWhitelists") def cluster_resource_whitelists(self) -> Optional[Sequence['outputs.GitopsAppProjectProjectSpecClusterResourceWhitelist']]: """ - Cluster resource whitelist for the GitOps project. + Cluster resource whitelist for the Argo project. """ return pulumi.get(self, "cluster_resource_whitelists") @@ -8133,7 +8133,7 @@ def cluster_resource_whitelists(self) -> Optional[Sequence['outputs.GitopsAppPro @pulumi.getter def description(self) -> Optional[str]: """ - Description of the GitOps project. + Description of the Argo project. """ return pulumi.get(self, "description") @@ -8141,7 +8141,7 @@ def description(self) -> Optional[str]: @pulumi.getter def destinations(self) -> Optional[Sequence['outputs.GitopsAppProjectProjectSpecDestination']]: """ - Destinations for deployment of the GitOps project. + Allowed destinations for applications in this Argo project. """ return pulumi.get(self, "destinations") @@ -8149,7 +8149,7 @@ def destinations(self) -> Optional[Sequence['outputs.GitopsAppProjectProjectSpec @pulumi.getter(name="namespaceResourceBlacklists") def namespace_resource_blacklists(self) -> Optional[Sequence['outputs.GitopsAppProjectProjectSpecNamespaceResourceBlacklist']]: """ - Namespace resource blacklist for the GitOps project. + Namespace resource blacklist for the Argo project. """ return pulumi.get(self, "namespace_resource_blacklists") @@ -8165,7 +8165,7 @@ def namespace_resource_whitelists(self) -> Optional[Sequence['outputs.GitopsAppP @pulumi.getter(name="orphanedResources") def orphaned_resources(self) -> Optional[Sequence['outputs.GitopsAppProjectProjectSpecOrphanedResource']]: """ - Orphaned resources configuration for the GitOps project. + OrphanedResources specifies if agent should monitor orphaned resources of apps in this project """ return pulumi.get(self, "orphaned_resources") @@ -8173,7 +8173,7 @@ def orphaned_resources(self) -> Optional[Sequence['outputs.GitopsAppProjectProje @pulumi.getter def roles(self) -> Optional[Sequence['outputs.GitopsAppProjectProjectSpecRole']]: """ - Roles associated with the GitOps project. + Roles associated with the Argo project. """ return pulumi.get(self, "roles") @@ -8189,7 +8189,7 @@ def signature_keys(self) -> Optional[Sequence['outputs.GitopsAppProjectProjectSp @pulumi.getter(name="sourceRepos") def source_repos(self) -> Optional[Sequence[str]]: """ - Source repositories for the GitOps project. + Allowed Source repositories for the Argo project. """ return pulumi.get(self, "source_repos") @@ -8271,9 +8271,9 @@ def __init__(__self__, *, namespace: Optional[str] = None, server: Optional[str] = None): """ - :param str name: Name of the destination. - :param str namespace: Namespace of the destination. - :param str server: Server URL of the destination. + :param str name: Name of the destination cluster. + :param str namespace: Permitted Namespaces for deployment in the destination cluster. + :param str server: Server URL of the destination cluster. """ if name is not None: pulumi.set(__self__, "name", name) @@ -8286,7 +8286,7 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> Optional[str]: """ - Name of the destination. + Name of the destination cluster. """ return pulumi.get(self, "name") @@ -8294,7 +8294,7 @@ def name(self) -> Optional[str]: @pulumi.getter def namespace(self) -> Optional[str]: """ - Namespace of the destination. + Permitted Namespaces for deployment in the destination cluster. """ return pulumi.get(self, "namespace") @@ -8302,7 +8302,7 @@ def namespace(self) -> Optional[str]: @pulumi.getter def server(self) -> Optional[str]: """ - Server URL of the destination. + Server URL of the destination cluster. """ return pulumi.get(self, "server") @@ -8473,7 +8473,7 @@ def __init__(__self__, *, :param str name: Name of the role. :param Sequence[str] groups: Groups associated with the role. :param Sequence['GitopsAppProjectProjectSpecRoleJwtTokenArgs'] jwt_tokens: JWT tokens associated with the role. - :param Sequence[str] policies: Policies associated with the role. + :param Sequence[str] policies: Policies associated with the role. These are argo RBAC policies and may not necessarily reflect in harness. """ pulumi.set(__self__, "description", description) pulumi.set(__self__, "name", name) @@ -8520,7 +8520,7 @@ def jwt_tokens(self) -> Optional[Sequence['outputs.GitopsAppProjectProjectSpecRo @pulumi.getter def policies(self) -> Optional[Sequence[str]]: """ - Policies associated with the role. + Policies associated with the role. These are argo RBAC policies and may not necessarily reflect in harness. """ return pulumi.get(self, "policies") @@ -17769,7 +17769,7 @@ def __init__(__self__, *, """ :param Sequence['GetGitopsApplicationsApplicationSpecDestinationArgs'] destinations: Information about the GitOps application's destination. :param Sequence['GetGitopsApplicationsApplicationSpecSyncPolicyArgs'] sync_policies: Controls when a sync will be performed in response to updates in git. - :param str project: The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness. + :param str project: The ArgoCD project name corresponding to this GitOps application. Value must match mappings of ArgoCD projects to harness project. :param Sequence['GetGitopsApplicationsApplicationSpecSourceArgs'] sources: Contains all information about the source of a GitOps application. """ pulumi.set(__self__, "destinations", destinations) @@ -17799,7 +17799,7 @@ def sync_policies(self) -> Sequence['outputs.GetGitopsApplicationsApplicationSpe @pulumi.getter def project(self) -> Optional[str]: """ - The ArgoCD project name corresponding to this GitOps application. An empty string means that the GitOps application belongs to the default project created by Harness. + The ArgoCD project name corresponding to this GitOps application. Value must match mappings of ArgoCD projects to harness project. """ return pulumi.get(self, "project") @@ -18058,7 +18058,7 @@ def __init__(__self__, *, value: str): """ :param bool code: Code of the external variables of jsonnet application. - :param str name: Name of the GitOps application. + :param str name: Name of the external variables of jsonnet application. :param str value: Value of the external variables of jsonnet application. """ pulumi.set(__self__, "code", code) @@ -18077,7 +18077,7 @@ def code(self) -> bool: @pulumi.getter def name(self) -> str: """ - Name of the GitOps application. + Name of the external variables of jsonnet application. """ return pulumi.get(self, "name") @@ -18098,7 +18098,7 @@ def __init__(__self__, *, value: str): """ :param bool code: Code of the TLAS of the jsonnet application. - :param str name: Name of the GitOps application. + :param str name: Name of the TLAS of the jsonnet application. :param str value: Value of the TLAS of the jsonnet application. """ pulumi.set(__self__, "code", code) @@ -18117,7 +18117,7 @@ def code(self) -> bool: @pulumi.getter def name(self) -> str: """ - Name of the GitOps application. + Name of the TLAS of the jsonnet application. """ return pulumi.get(self, "name") @@ -18220,7 +18220,7 @@ def __init__(__self__, *, name: str, path: str): """ - :param str name: Name of the GitOps application. + :param str name: Name of the helm parameter. :param str path: Path to the file containing the values of the helm parameter. """ pulumi.set(__self__, "name", name) @@ -18230,7 +18230,7 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> str: """ - Name of the GitOps application. + Name of the helm parameter. """ return pulumi.get(self, "name") @@ -18251,7 +18251,7 @@ def __init__(__self__, *, value: str): """ :param bool force_string: Indicates if helm should interpret booleans and numbers as strings. - :param str name: Name of the GitOps application. + :param str name: Name of the helm parameter. :param str value: Value of the helm parameter. """ pulumi.set(__self__, "force_string", force_string) @@ -18270,7 +18270,7 @@ def force_string(self) -> bool: @pulumi.getter def name(self) -> str: """ - Name of the GitOps application. + Name of the helm parameter. """ return pulumi.get(self, "name") @@ -18320,7 +18320,7 @@ def __init__(__self__, *, value: str): """ :param str component: Component of the parameter of the ksonnet application. - :param str name: Name of the GitOps application. + :param str name: Name of the parameter of the ksonnet application. :param str value: Value of the parameter of the ksonnet application. """ pulumi.set(__self__, "component", component) @@ -18339,7 +18339,7 @@ def component(self) -> str: @pulumi.getter def name(self) -> str: """ - Name of the GitOps application. + Name of the parameter of the ksonnet application. """ return pulumi.get(self, "name") @@ -18454,7 +18454,7 @@ def __init__(__self__, *, name: str): """ :param Sequence['GetGitopsApplicationsApplicationSpecSourcePluginEnvArgs'] envs: Entry in the GitOps application's environment. - :param str name: Name of the GitOps application. + :param str name: Name of the plugin. """ pulumi.set(__self__, "envs", envs) pulumi.set(__self__, "name", name) @@ -18471,7 +18471,7 @@ def envs(self) -> Sequence['outputs.GetGitopsApplicationsApplicationSpecSourcePl @pulumi.getter def name(self) -> str: """ - Name of the GitOps application. + Name of the plugin. """ return pulumi.get(self, "name") @@ -18482,7 +18482,7 @@ def __init__(__self__, *, name: str, value: str): """ - :param str name: Name of the GitOps application. + :param str name: Name of the variable, usually expressed in uppercase. :param str value: Value of the variable. """ pulumi.set(__self__, "name", name) @@ -18492,7 +18492,7 @@ def __init__(__self__, *, @pulumi.getter def name(self) -> str: """ - Name of the GitOps application. + Name of the variable, usually expressed in uppercase. """ return pulumi.get(self, "name")