@pulumi/harness 0.0.7-alpha.1719955866
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +54 -0
- package/addUserToGroup.d.ts +87 -0
- package/addUserToGroup.js +84 -0
- package/addUserToGroup.js.map +1 -0
- package/application.d.ts +127 -0
- package/application.js +86 -0
- package/application.js.map +1 -0
- package/applicationGitSync.d.ts +139 -0
- package/applicationGitSync.js +109 -0
- package/applicationGitSync.js.map +1 -0
- package/cloudprovider/aws.d.ts +183 -0
- package/cloudprovider/aws.js +102 -0
- package/cloudprovider/aws.js.map +1 -0
- package/cloudprovider/azure.d.ts +129 -0
- package/cloudprovider/azure.js +99 -0
- package/cloudprovider/azure.js.map +1 -0
- package/cloudprovider/datacenter.d.ts +82 -0
- package/cloudprovider/datacenter.js +71 -0
- package/cloudprovider/datacenter.js.map +1 -0
- package/cloudprovider/gcp.d.ts +101 -0
- package/cloudprovider/gcp.js +60 -0
- package/cloudprovider/gcp.js.map +1 -0
- package/cloudprovider/getDelegateIds.d.ts +68 -0
- package/cloudprovider/getDelegateIds.js +28 -0
- package/cloudprovider/getDelegateIds.js.map +1 -0
- package/cloudprovider/index.d.ts +24 -0
- package/cloudprovider/index.js +55 -0
- package/cloudprovider/index.js.map +1 -0
- package/cloudprovider/kubernetes.d.ts +97 -0
- package/cloudprovider/kubernetes.js +69 -0
- package/cloudprovider/kubernetes.js.map +1 -0
- package/cloudprovider/spot.d.ts +104 -0
- package/cloudprovider/spot.js +91 -0
- package/cloudprovider/spot.js.map +1 -0
- package/cloudprovider/tanzu.d.ts +142 -0
- package/cloudprovider/tanzu.js +99 -0
- package/cloudprovider/tanzu.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +20 -0
- package/config/vars.js +36 -0
- package/config/vars.js.map +1 -0
- package/delegateApproval.d.ts +94 -0
- package/delegateApproval.js +85 -0
- package/delegateApproval.js.map +1 -0
- package/encryptedText.d.ts +159 -0
- package/encryptedText.js +103 -0
- package/encryptedText.js.map +1 -0
- package/environment.d.ts +155 -0
- package/environment.js +120 -0
- package/environment.js.map +1 -0
- package/getApplication.d.ts +96 -0
- package/getApplication.js +31 -0
- package/getApplication.js.map +1 -0
- package/getCurrentAccount.d.ts +44 -0
- package/getCurrentAccount.js +26 -0
- package/getCurrentAccount.js.map +1 -0
- package/getDelegate.d.ts +138 -0
- package/getDelegate.js +56 -0
- package/getDelegate.js.map +1 -0
- package/getEncryptedText.d.ts +66 -0
- package/getEncryptedText.js +28 -0
- package/getEncryptedText.js.map +1 -0
- package/getEnvironment.d.ts +86 -0
- package/getEnvironment.js +28 -0
- package/getEnvironment.js.map +1 -0
- package/getGitConnector.d.ts +93 -0
- package/getGitConnector.js +27 -0
- package/getGitConnector.js.map +1 -0
- package/getSecretManager.d.ts +74 -0
- package/getSecretManager.js +29 -0
- package/getSecretManager.js.map +1 -0
- package/getService.d.ts +78 -0
- package/getService.js +26 -0
- package/getService.js.map +1 -0
- package/getSshCredential.d.ts +62 -0
- package/getSshCredential.js +28 -0
- package/getSshCredential.js.map +1 -0
- package/getSsoProvider.d.ts +52 -0
- package/getSsoProvider.js +27 -0
- package/getSsoProvider.js.map +1 -0
- package/getTrigger.d.ts +107 -0
- package/getTrigger.js +59 -0
- package/getTrigger.js.map +1 -0
- package/getUser.d.ts +72 -0
- package/getUser.js +27 -0
- package/getUser.js.map +1 -0
- package/getUserGroup.d.ts +48 -0
- package/getUserGroup.js +27 -0
- package/getUserGroup.js.map +1 -0
- package/getYamlConfig.d.ts +60 -0
- package/getYamlConfig.js +26 -0
- package/getYamlConfig.js.map +1 -0
- package/gitConnector.d.ts +222 -0
- package/gitConnector.js +115 -0
- package/gitConnector.js.map +1 -0
- package/index.d.ts +96 -0
- package/index.js +156 -0
- package/index.js.map +1 -0
- package/infrastructureDefinition.d.ts +373 -0
- package/infrastructureDefinition.js +184 -0
- package/infrastructureDefinition.js.map +1 -0
- package/package.json +29 -0
- package/platform/appDynamicsConnector.d.ts +229 -0
- package/platform/appDynamicsConnector.js +137 -0
- package/platform/appDynamicsConnector.js.map +1 -0
- package/platform/artifactoryConnector.d.ts +203 -0
- package/platform/artifactoryConnector.js +128 -0
- package/platform/artifactoryConnector.js.map +1 -0
- package/platform/awsCCConnector.d.ts +219 -0
- package/platform/awsCCConnector.js +136 -0
- package/platform/awsCCConnector.js.map +1 -0
- package/platform/awsConnector.d.ts +217 -0
- package/platform/awsConnector.js +99 -0
- package/platform/awsConnector.js.map +1 -0
- package/platform/awsKmsConnector.d.ts +181 -0
- package/platform/awsKmsConnector.js +102 -0
- package/platform/awsKmsConnector.js.map +1 -0
- package/platform/awsSecretManagerConnector.d.ts +181 -0
- package/platform/awsSecretManagerConnector.js +99 -0
- package/platform/awsSecretManagerConnector.js.map +1 -0
- package/platform/azureCloudCostConnector.d.ts +209 -0
- package/platform/azureCloudCostConnector.js +130 -0
- package/platform/azureCloudCostConnector.js.map +1 -0
- package/platform/azureCloudProviderConnector.d.ts +266 -0
- package/platform/azureCloudProviderConnector.js +181 -0
- package/platform/azureCloudProviderConnector.js.map +1 -0
- package/platform/azureKeyVaultConnector.d.ts +248 -0
- package/platform/azureKeyVaultConnector.js +137 -0
- package/platform/azureKeyVaultConnector.js.map +1 -0
- package/platform/bitbucketConnector.d.ts +205 -0
- package/platform/bitbucketConnector.js +106 -0
- package/platform/bitbucketConnector.js.map +1 -0
- package/platform/datadogConnector.d.ts +197 -0
- package/platform/datadogConnector.js +120 -0
- package/platform/datadogConnector.js.map +1 -0
- package/platform/dockerConnector.d.ts +181 -0
- package/platform/dockerConnector.js +99 -0
- package/platform/dockerConnector.js.map +1 -0
- package/platform/dynatraceConnector.d.ts +184 -0
- package/platform/dynatraceConnector.js +114 -0
- package/platform/dynatraceConnector.js.map +1 -0
- package/platform/elasticsearchConnector.d.ts +236 -0
- package/platform/elasticsearchConnector.js +141 -0
- package/platform/elasticsearchConnector.js.map +1 -0
- package/platform/environment.d.ts +242 -0
- package/platform/environment.js +159 -0
- package/platform/environment.js.map +1 -0
- package/platform/environmentClustersMapping.d.ts +130 -0
- package/platform/environmentClustersMapping.js +89 -0
- package/platform/environmentClustersMapping.js.map +1 -0
- package/platform/environmentGroup.d.ts +141 -0
- package/platform/environmentGroup.js +98 -0
- package/platform/environmentGroup.js.map +1 -0
- package/platform/environmentServiceOverrides.d.ts +165 -0
- package/platform/environmentServiceOverrides.js +125 -0
- package/platform/environmentServiceOverrides.js.map +1 -0
- package/platform/featureFlag.d.ts +240 -0
- package/platform/featureFlag.js +162 -0
- package/platform/featureFlag.js.map +1 -0
- package/platform/featureFlagApiKey.d.ts +162 -0
- package/platform/featureFlagApiKey.js +104 -0
- package/platform/featureFlagApiKey.js.map +1 -0
- package/platform/filters.d.ts +165 -0
- package/platform/filters.js +113 -0
- package/platform/filters.js.map +1 -0
- package/platform/gcpCloudCostConnector.d.ts +206 -0
- package/platform/gcpCloudCostConnector.js +127 -0
- package/platform/gcpCloudCostConnector.js.map +1 -0
- package/platform/gcpConnector.d.ts +157 -0
- package/platform/gcpConnector.js +89 -0
- package/platform/gcpConnector.js.map +1 -0
- package/platform/gcpSecretManagerConnector.d.ts +183 -0
- package/platform/gcpSecretManagerConnector.js +110 -0
- package/platform/gcpSecretManagerConnector.js.map +1 -0
- package/platform/getApiKey.d.ts +58 -0
- package/platform/getApiKey.js +28 -0
- package/platform/getApiKey.js.map +1 -0
- package/platform/getAppDynamicsConnector.d.ts +127 -0
- package/platform/getAppDynamicsConnector.js +50 -0
- package/platform/getAppDynamicsConnector.js.map +1 -0
- package/platform/getArtifactoryConnector.d.ts +119 -0
- package/platform/getArtifactoryConnector.js +51 -0
- package/platform/getArtifactoryConnector.js.map +1 -0
- package/platform/getAwsCCConnector.d.ts +127 -0
- package/platform/getAwsCCConnector.js +50 -0
- package/platform/getAwsCCConnector.js.map +1 -0
- package/platform/getAwsConnector.d.ts +135 -0
- package/platform/getAwsConnector.js +50 -0
- package/platform/getAwsConnector.js.map +1 -0
- package/platform/getAwsKmsConnector.d.ts +123 -0
- package/platform/getAwsKmsConnector.js +50 -0
- package/platform/getAwsKmsConnector.js.map +1 -0
- package/platform/getAwsSecretManagerConnector.d.ts +123 -0
- package/platform/getAwsSecretManagerConnector.js +50 -0
- package/platform/getAwsSecretManagerConnector.js.map +1 -0
- package/platform/getAzureCloudCostConnector.d.ts +123 -0
- package/platform/getAzureCloudCostConnector.js +50 -0
- package/platform/getAzureCloudCostConnector.js.map +1 -0
- package/platform/getAzureCloudProviderConnector.d.ts +123 -0
- package/platform/getAzureCloudProviderConnector.js +50 -0
- package/platform/getAzureCloudProviderConnector.js.map +1 -0
- package/platform/getAzureKeyVaultConnector.d.ts +138 -0
- package/platform/getAzureKeyVaultConnector.js +50 -0
- package/platform/getAzureKeyVaultConnector.js.map +1 -0
- package/platform/getBitbucketConnector.d.ts +131 -0
- package/platform/getBitbucketConnector.js +50 -0
- package/platform/getBitbucketConnector.js.map +1 -0
- package/platform/getCcmFilters.d.ts +117 -0
- package/platform/getCcmFilters.js +56 -0
- package/platform/getCcmFilters.js.map +1 -0
- package/platform/getCurrentUser.d.ts +70 -0
- package/platform/getCurrentUser.js +23 -0
- package/platform/getCurrentUser.js.map +1 -0
- package/platform/getDatadogConnector.d.ts +130 -0
- package/platform/getDatadogConnector.js +51 -0
- package/platform/getDatadogConnector.js.map +1 -0
- package/platform/getDockerConnector.d.ts +123 -0
- package/platform/getDockerConnector.js +50 -0
- package/platform/getDockerConnector.js.map +1 -0
- package/platform/getDynatraceConnector.d.ts +118 -0
- package/platform/getDynatraceConnector.js +50 -0
- package/platform/getDynatraceConnector.js.map +1 -0
- package/platform/getElasticsearchConnector.d.ts +123 -0
- package/platform/getElasticsearchConnector.js +50 -0
- package/platform/getElasticsearchConnector.js.map +1 -0
- package/platform/getEnvironment.d.ts +122 -0
- package/platform/getEnvironment.js +54 -0
- package/platform/getEnvironment.js.map +1 -0
- package/platform/getEnvironmentClustersMapping.d.ts +106 -0
- package/platform/getEnvironmentClustersMapping.js +54 -0
- package/platform/getEnvironmentClustersMapping.js.map +1 -0
- package/platform/getEnvironmentGroup.d.ts +106 -0
- package/platform/getEnvironmentGroup.js +54 -0
- package/platform/getEnvironmentGroup.js.map +1 -0
- package/platform/getEnvironmentServiceOverrides.d.ts +120 -0
- package/platform/getEnvironmentServiceOverrides.js +57 -0
- package/platform/getEnvironmentServiceOverrides.js.map +1 -0
- package/platform/getFilters.d.ts +117 -0
- package/platform/getFilters.js +56 -0
- package/platform/getFilters.js.map +1 -0
- package/platform/getGcpCloudCostConnector.d.ts +123 -0
- package/platform/getGcpCloudCostConnector.js +50 -0
- package/platform/getGcpCloudCostConnector.js.map +1 -0
- package/platform/getGcpConnector.d.ts +115 -0
- package/platform/getGcpConnector.js +50 -0
- package/platform/getGcpConnector.js.map +1 -0
- package/platform/getGcpSecretManagerConnector.d.ts +118 -0
- package/platform/getGcpSecretManagerConnector.js +50 -0
- package/platform/getGcpSecretManagerConnector.js.map +1 -0
- package/platform/getGitConnector.d.ts +127 -0
- package/platform/getGitConnector.js +50 -0
- package/platform/getGitConnector.js.map +1 -0
- package/platform/getGithubConnector.d.ts +132 -0
- package/platform/getGithubConnector.js +50 -0
- package/platform/getGithubConnector.js.map +1 -0
- package/platform/getGitlabConnector.d.ts +131 -0
- package/platform/getGitlabConnector.js +50 -0
- package/platform/getGitlabConnector.js.map +1 -0
- package/platform/getGitopsAgent.d.ts +128 -0
- package/platform/getGitopsAgent.js +56 -0
- package/platform/getGitopsAgent.js.map +1 -0
- package/platform/getGitopsAgentDeployYaml.d.ts +122 -0
- package/platform/getGitopsAgentDeployYaml.js +59 -0
- package/platform/getGitopsAgentDeployYaml.js.map +1 -0
- package/platform/getGitopsApplications.d.ts +326 -0
- package/platform/getGitopsApplications.js +78 -0
- package/platform/getGitopsApplications.js.map +1 -0
- package/platform/getGitopsCluster.d.ts +136 -0
- package/platform/getGitopsCluster.js +60 -0
- package/platform/getGitopsCluster.js.map +1 -0
- package/platform/getGitopsGnupg.d.ts +128 -0
- package/platform/getGitopsGnupg.js +56 -0
- package/platform/getGitopsGnupg.js.map +1 -0
- package/platform/getGitopsRepoCert.d.ts +76 -0
- package/platform/getGitopsRepoCert.js +28 -0
- package/platform/getGitopsRepoCert.js.map +1 -0
- package/platform/getGitopsRepoCred.d.ts +144 -0
- package/platform/getGitopsRepoCred.js +61 -0
- package/platform/getGitopsRepoCred.js.map +1 -0
- package/platform/getGitopsRepository.d.ts +196 -0
- package/platform/getGitopsRepository.js +65 -0
- package/platform/getGitopsRepository.js.map +1 -0
- package/platform/getHelmConnector.d.ts +119 -0
- package/platform/getHelmConnector.js +50 -0
- package/platform/getHelmConnector.js.map +1 -0
- package/platform/getInfrastructure.d.ts +138 -0
- package/platform/getInfrastructure.js +59 -0
- package/platform/getInfrastructure.js.map +1 -0
- package/platform/getInputSet.d.ts +114 -0
- package/platform/getInputSet.js +30 -0
- package/platform/getInputSet.js.map +1 -0
- package/platform/getJenkinsConnector.d.ts +119 -0
- package/platform/getJenkinsConnector.js +50 -0
- package/platform/getJenkinsConnector.js.map +1 -0
- package/platform/getJiraConnector.d.ts +131 -0
- package/platform/getJiraConnector.js +50 -0
- package/platform/getJiraConnector.js.map +1 -0
- package/platform/getKubernetesCloudCostConnector.d.ts +114 -0
- package/platform/getKubernetesCloudCostConnector.js +50 -0
- package/platform/getKubernetesCloudCostConnector.js.map +1 -0
- package/platform/getKubernetesConnector.d.ts +131 -0
- package/platform/getKubernetesConnector.js +50 -0
- package/platform/getKubernetesConnector.js.map +1 -0
- package/platform/getManualFreeze.d.ts +141 -0
- package/platform/getManualFreeze.js +56 -0
- package/platform/getManualFreeze.js.map +1 -0
- package/platform/getMonitoredService.d.ts +64 -0
- package/platform/getMonitoredService.js +27 -0
- package/platform/getMonitoredService.js.map +1 -0
- package/platform/getNexusConnector.d.ts +123 -0
- package/platform/getNexusConnector.js +50 -0
- package/platform/getNexusConnector.js.map +1 -0
- package/platform/getOciHelmConnector.d.ts +119 -0
- package/platform/getOciHelmConnector.js +50 -0
- package/platform/getOciHelmConnector.js.map +1 -0
- package/platform/getOrganization.d.ts +82 -0
- package/platform/getOrganization.js +49 -0
- package/platform/getOrganization.js.map +1 -0
- package/platform/getPagerdutyConnector.d.ts +114 -0
- package/platform/getPagerdutyConnector.js +50 -0
- package/platform/getPagerdutyConnector.js.map +1 -0
- package/platform/getPermissions.d.ts +81 -0
- package/platform/getPermissions.js +51 -0
- package/platform/getPermissions.js.map +1 -0
- package/platform/getPipeline.d.ts +136 -0
- package/platform/getPipeline.js +55 -0
- package/platform/getPipeline.js.map +1 -0
- package/platform/getPipelineFilters.d.ts +89 -0
- package/platform/getPipelineFilters.js +28 -0
- package/platform/getPipelineFilters.js.map +1 -0
- package/platform/getPolicy.d.ts +122 -0
- package/platform/getPolicy.js +55 -0
- package/platform/getPolicy.js.map +1 -0
- package/platform/getPolicySet.d.ts +172 -0
- package/platform/getPolicySet.js +70 -0
- package/platform/getPolicySet.js.map +1 -0
- package/platform/getProject.d.ts +112 -0
- package/platform/getProject.js +59 -0
- package/platform/getProject.js.map +1 -0
- package/platform/getPrometheusConnector.d.ts +127 -0
- package/platform/getPrometheusConnector.js +50 -0
- package/platform/getPrometheusConnector.js.map +1 -0
- package/platform/getResourceGroup.d.ts +127 -0
- package/platform/getResourceGroup.js +50 -0
- package/platform/getResourceGroup.js.map +1 -0
- package/platform/getRoleAssignments.d.ts +111 -0
- package/platform/getRoleAssignments.js +53 -0
- package/platform/getRoleAssignments.js.map +1 -0
- package/platform/getRoles.d.ts +134 -0
- package/platform/getRoles.js +56 -0
- package/platform/getRoles.js.map +1 -0
- package/platform/getSecretFile.d.ts +114 -0
- package/platform/getSecretFile.js +50 -0
- package/platform/getSecretFile.js.map +1 -0
- package/platform/getSecretSshkey.d.ts +119 -0
- package/platform/getSecretSshkey.js +50 -0
- package/platform/getSecretSshkey.js.map +1 -0
- package/platform/getSecretText.d.ts +118 -0
- package/platform/getSecretText.js +50 -0
- package/platform/getSecretText.js.map +1 -0
- package/platform/getService.d.ts +114 -0
- package/platform/getService.js +54 -0
- package/platform/getService.js.map +1 -0
- package/platform/getServiceAccount.d.ts +114 -0
- package/platform/getServiceAccount.js +51 -0
- package/platform/getServiceAccount.js.map +1 -0
- package/platform/getServiceNowConnector.d.ts +131 -0
- package/platform/getServiceNowConnector.js +50 -0
- package/platform/getServiceNowConnector.js.map +1 -0
- package/platform/getServiceOverridesV2.d.ts +49 -0
- package/platform/getServiceOverridesV2.js +27 -0
- package/platform/getServiceOverridesV2.js.map +1 -0
- package/platform/getSlo.d.ts +64 -0
- package/platform/getSlo.js +27 -0
- package/platform/getSlo.js.map +1 -0
- package/platform/getSplunkConnector.d.ts +126 -0
- package/platform/getSplunkConnector.js +50 -0
- package/platform/getSplunkConnector.js.map +1 -0
- package/platform/getSpotConnector.d.ts +111 -0
- package/platform/getSpotConnector.js +50 -0
- package/platform/getSpotConnector.js.map +1 -0
- package/platform/getSumologicConnector.d.ts +122 -0
- package/platform/getSumologicConnector.js +50 -0
- package/platform/getSumologicConnector.js.map +1 -0
- package/platform/getTasConnector.d.ts +119 -0
- package/platform/getTasConnector.js +50 -0
- package/platform/getTasConnector.js.map +1 -0
- package/platform/getTemplate.d.ts +222 -0
- package/platform/getTemplate.js +87 -0
- package/platform/getTemplate.js.map +1 -0
- package/platform/getTemplateFilters.d.ts +117 -0
- package/platform/getTemplateFilters.js +56 -0
- package/platform/getTemplateFilters.js.map +1 -0
- package/platform/getTerraformCloudConnector.d.ts +109 -0
- package/platform/getTerraformCloudConnector.js +46 -0
- package/platform/getTerraformCloudConnector.js.map +1 -0
- package/platform/getToken.d.ts +270 -0
- package/platform/getToken.js +73 -0
- package/platform/getToken.js.map +1 -0
- package/platform/getTriggers.d.ts +140 -0
- package/platform/getTriggers.js +58 -0
- package/platform/getTriggers.js.map +1 -0
- package/platform/getUser.d.ts +110 -0
- package/platform/getUser.js +53 -0
- package/platform/getUser.js.map +1 -0
- package/platform/getUsergroup.d.ts +166 -0
- package/platform/getUsergroup.js +66 -0
- package/platform/getUsergroup.js.map +1 -0
- package/platform/getVariables.d.ts +107 -0
- package/platform/getVariables.js +53 -0
- package/platform/getVariables.js.map +1 -0
- package/platform/getVaultConnector.d.ts +214 -0
- package/platform/getVaultConnector.js +50 -0
- package/platform/getVaultConnector.js.map +1 -0
- package/platform/gitConnector.d.ts +193 -0
- package/platform/gitConnector.js +104 -0
- package/platform/gitConnector.js.map +1 -0
- package/platform/gitOpsAgent.d.ts +192 -0
- package/platform/gitOpsAgent.js +111 -0
- package/platform/gitOpsAgent.js.map +1 -0
- package/platform/gitOpsApplications.d.ts +364 -0
- package/platform/gitOpsApplications.js +174 -0
- package/platform/gitOpsApplications.js.map +1 -0
- package/platform/gitOpsCluster.d.ts +139 -0
- package/platform/gitOpsCluster.js +87 -0
- package/platform/gitOpsCluster.js.map +1 -0
- package/platform/gitOpsGnupg.d.ts +141 -0
- package/platform/gitOpsGnupg.js +103 -0
- package/platform/gitOpsGnupg.js.map +1 -0
- package/platform/gitOpsRepoCert.d.ts +132 -0
- package/platform/gitOpsRepoCert.js +100 -0
- package/platform/gitOpsRepoCert.js.map +1 -0
- package/platform/gitOpsRepoCred.d.ts +159 -0
- package/platform/gitOpsRepoCred.js +107 -0
- package/platform/gitOpsRepoCred.js.map +1 -0
- package/platform/gitOpsRepository.d.ts +221 -0
- package/platform/gitOpsRepository.js +122 -0
- package/platform/gitOpsRepository.js.map +1 -0
- package/platform/githubConnector.d.ts +217 -0
- package/platform/githubConnector.js +108 -0
- package/platform/githubConnector.js.map +1 -0
- package/platform/gitlabConnector.d.ts +205 -0
- package/platform/gitlabConnector.js +106 -0
- package/platform/gitlabConnector.js.map +1 -0
- package/platform/helmConnector.d.ts +169 -0
- package/platform/helmConnector.js +94 -0
- package/platform/helmConnector.js.map +1 -0
- package/platform/index.d.ts +474 -0
- package/platform/index.js +651 -0
- package/platform/index.js.map +1 -0
- package/platform/infrastructure.d.ts +225 -0
- package/platform/infrastructure.js +138 -0
- package/platform/infrastructure.js.map +1 -0
- package/platform/inputSet.d.ts +218 -0
- package/platform/inputSet.js +152 -0
- package/platform/inputSet.js.map +1 -0
- package/platform/jenkinsConnector.d.ts +169 -0
- package/platform/jenkinsConnector.js +94 -0
- package/platform/jenkinsConnector.js.map +1 -0
- package/platform/jiraConnector.d.ts +228 -0
- package/platform/jiraConnector.js +126 -0
- package/platform/jiraConnector.js.map +1 -0
- package/platform/kubernetesCloudCostConnector.d.ts +174 -0
- package/platform/kubernetesCloudCostConnector.js +114 -0
- package/platform/kubernetesCloudCostConnector.js.map +1 -0
- package/platform/kubernetesConnector.d.ts +279 -0
- package/platform/kubernetesConnector.js +171 -0
- package/platform/kubernetesConnector.js.map +1 -0
- package/platform/manualFreeze.d.ts +224 -0
- package/platform/manualFreeze.js +144 -0
- package/platform/manualFreeze.js.map +1 -0
- package/platform/monitoredService.d.ts +109 -0
- package/platform/monitoredService.js +87 -0
- package/platform/monitoredService.js.map +1 -0
- package/platform/newrelicConnector.d.ts +197 -0
- package/platform/newrelicConnector.js +120 -0
- package/platform/newrelicConnector.js.map +1 -0
- package/platform/nexusConnector.d.ts +181 -0
- package/platform/nexusConnector.js +99 -0
- package/platform/nexusConnector.js.map +1 -0
- package/platform/ociHelmConnector.d.ts +169 -0
- package/platform/ociHelmConnector.js +94 -0
- package/platform/ociHelmConnector.js.map +1 -0
- package/platform/organization.d.ts +112 -0
- package/platform/organization.js +86 -0
- package/platform/organization.js.map +1 -0
- package/platform/pagerdutyConnector.d.ts +171 -0
- package/platform/pagerdutyConnector.js +108 -0
- package/platform/pagerdutyConnector.js.map +1 -0
- package/platform/pipeline.d.ts +277 -0
- package/platform/pipeline.js +198 -0
- package/platform/pipeline.js.map +1 -0
- package/platform/pipelineFilters.d.ts +165 -0
- package/platform/pipelineFilters.js +113 -0
- package/platform/pipelineFilters.js.map +1 -0
- package/platform/policy.d.ts +131 -0
- package/platform/policy.js +78 -0
- package/platform/policy.js.map +1 -0
- package/platform/policySet.d.ts +169 -0
- package/platform/policySet.js +87 -0
- package/platform/policySet.js.map +1 -0
- package/platform/project.d.ts +141 -0
- package/platform/project.js +92 -0
- package/platform/project.js.map +1 -0
- package/platform/prometheusConnector.d.ts +217 -0
- package/platform/prometheusConnector.js +122 -0
- package/platform/prometheusConnector.js.map +1 -0
- package/platform/resourceGroup.d.ts +223 -0
- package/platform/resourceGroup.js +128 -0
- package/platform/resourceGroup.js.map +1 -0
- package/platform/roleAssignments.d.ts +157 -0
- package/platform/roleAssignments.js +95 -0
- package/platform/roleAssignments.js.map +1 -0
- package/platform/roles.d.ts +171 -0
- package/platform/roles.js +105 -0
- package/platform/roles.js.map +1 -0
- package/platform/secretFile.d.ts +171 -0
- package/platform/secretFile.js +111 -0
- package/platform/secretFile.js.map +1 -0
- package/platform/secretSshkey.d.ts +169 -0
- package/platform/secretSshkey.js +91 -0
- package/platform/secretSshkey.js.map +1 -0
- package/platform/secretText.d.ts +193 -0
- package/platform/secretText.js +128 -0
- package/platform/secretText.js.map +1 -0
- package/platform/service.d.ts +209 -0
- package/platform/service.js +143 -0
- package/platform/service.js.map +1 -0
- package/platform/serviceAccount.d.ts +171 -0
- package/platform/serviceAccount.js +111 -0
- package/platform/serviceAccount.js.map +1 -0
- package/platform/serviceNowConnector.d.ts +205 -0
- package/platform/serviceNowConnector.js +103 -0
- package/platform/serviceNowConnector.js.map +1 -0
- package/platform/serviceOverridesV2.d.ts +144 -0
- package/platform/serviceOverridesV2.js +77 -0
- package/platform/serviceOverridesV2.js.map +1 -0
- package/platform/slo.d.ts +109 -0
- package/platform/slo.js +87 -0
- package/platform/slo.js.map +1 -0
- package/platform/splunkConnector.d.ts +210 -0
- package/platform/splunkConnector.js +126 -0
- package/platform/splunkConnector.js.map +1 -0
- package/platform/spotConnector.d.ts +133 -0
- package/platform/spotConnector.js +78 -0
- package/platform/spotConnector.js.map +1 -0
- package/platform/sumologicConnector.d.ts +197 -0
- package/platform/sumologicConnector.js +120 -0
- package/platform/sumologicConnector.js.map +1 -0
- package/platform/tasConnector.d.ts +169 -0
- package/platform/tasConnector.js +94 -0
- package/platform/tasConnector.js.map +1 -0
- package/platform/template.d.ts +1042 -0
- package/platform/template.js +934 -0
- package/platform/template.js.map +1 -0
- package/platform/templateFilters.d.ts +165 -0
- package/platform/templateFilters.js +113 -0
- package/platform/templateFilters.js.map +1 -0
- package/platform/terraformCloudConnector.d.ts +151 -0
- package/platform/terraformCloudConnector.js +97 -0
- package/platform/terraformCloudConnector.js.map +1 -0
- package/platform/token.d.ts +269 -0
- package/platform/token.js +119 -0
- package/platform/token.js.map +1 -0
- package/platform/triggers.d.ts +211 -0
- package/platform/triggers.js +137 -0
- package/platform/triggers.js.map +1 -0
- package/platform/user.d.ts +161 -0
- package/platform/user.js +96 -0
- package/platform/user.js.map +1 -0
- package/platform/usergroup.d.ts +389 -0
- package/platform/usergroup.js +241 -0
- package/platform/usergroup.js.map +1 -0
- package/platform/variables.d.ts +164 -0
- package/platform/variables.js +112 -0
- package/platform/variables.js.map +1 -0
- package/platform/vaultConnector.d.ts +573 -0
- package/platform/vaultConnector.js +263 -0
- package/platform/vaultConnector.js.map +1 -0
- package/platformApiKey.d.ts +162 -0
- package/platformApiKey.js +79 -0
- package/platformApiKey.js.map +1 -0
- package/platformCcmFilters.d.ts +165 -0
- package/platformCcmFilters.js +113 -0
- package/platformCcmFilters.js.map +1 -0
- package/provider.d.ts +67 -0
- package/provider.js +49 -0
- package/provider.js.map +1 -0
- package/service/ami.d.ts +111 -0
- package/service/ami.js +83 -0
- package/service/ami.js.map +1 -0
- package/service/codedeploy.d.ts +111 -0
- package/service/codedeploy.js +83 -0
- package/service/codedeploy.js.map +1 -0
- package/service/ecs.d.ts +111 -0
- package/service/ecs.js +83 -0
- package/service/ecs.js.map +1 -0
- package/service/helm.d.ts +111 -0
- package/service/helm.js +83 -0
- package/service/helm.js.map +1 -0
- package/service/index.d.ts +27 -0
- package/service/index.js +62 -0
- package/service/index.js.map +1 -0
- package/service/kubernetes.d.ts +136 -0
- package/service/kubernetes.js +98 -0
- package/service/kubernetes.js.map +1 -0
- package/service/lambda.d.ts +111 -0
- package/service/lambda.js +83 -0
- package/service/lambda.js.map +1 -0
- package/service/ssh.d.ts +124 -0
- package/service/ssh.js +89 -0
- package/service/ssh.js.map +1 -0
- package/service/tanzu.d.ts +111 -0
- package/service/tanzu.js +83 -0
- package/service/tanzu.js.map +1 -0
- package/service/winrm.d.ts +124 -0
- package/service/winrm.js +89 -0
- package/service/winrm.js.map +1 -0
- package/sshCredential.d.ts +128 -0
- package/sshCredential.js +97 -0
- package/sshCredential.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +4864 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +5677 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/user.d.ts +135 -0
- package/user.js +89 -0
- package/user.js.map +1 -0
- package/userGroup.d.ts +265 -0
- package/userGroup.js +202 -0
- package/userGroup.js.map +1 -0
- package/userGroupPermissions.d.ts +77 -0
- package/userGroupPermissions.js +59 -0
- package/userGroupPermissions.js.map +1 -0
- package/utilities.d.ts +8 -0
- package/utilities.js +101 -0
- package/utilities.js.map +1 -0
- package/yamlConfig.d.ts +115 -0
- package/yamlConfig.js +96 -0
- package/yamlConfig.js.map +1 -0
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Resource for creating a Harness Gitops Application.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as harness from "@pulumi/harness";
|
|
12
|
+
*
|
|
13
|
+
* const example = new harness.platform.GitOpsApplications("example", {
|
|
14
|
+
* applications: [{
|
|
15
|
+
* metadatas: [{
|
|
16
|
+
* annotations: {},
|
|
17
|
+
* labels: {
|
|
18
|
+
* "harness.io/serviceRef": "service_id",
|
|
19
|
+
* "harness.io/envRef": "env_id",
|
|
20
|
+
* },
|
|
21
|
+
* name: "appname123",
|
|
22
|
+
* }],
|
|
23
|
+
* specs: [{
|
|
24
|
+
* syncPolicies: [{
|
|
25
|
+
* syncOptions: [
|
|
26
|
+
* "PrunePropagationPolicy=undefined",
|
|
27
|
+
* "CreateNamespace=false",
|
|
28
|
+
* "Validate=false",
|
|
29
|
+
* "skipSchemaValidations=false",
|
|
30
|
+
* "autoCreateNamespace=false",
|
|
31
|
+
* "pruneLast=false",
|
|
32
|
+
* "applyOutofSyncOnly=false",
|
|
33
|
+
* "Replace=false",
|
|
34
|
+
* "retry=false",
|
|
35
|
+
* ],
|
|
36
|
+
* }],
|
|
37
|
+
* sources: [{
|
|
38
|
+
* targetRevision: "master",
|
|
39
|
+
* repoUrl: "https://github.com/willycoll/argocd-example-apps.git",
|
|
40
|
+
* path: "helm-guestbook",
|
|
41
|
+
* }],
|
|
42
|
+
* destinations: [{
|
|
43
|
+
* namespace: "namespace-123",
|
|
44
|
+
* server: "https://1.3.4.5",
|
|
45
|
+
* }],
|
|
46
|
+
* }],
|
|
47
|
+
* }],
|
|
48
|
+
* projectId: "project_id",
|
|
49
|
+
* orgId: "org_id",
|
|
50
|
+
* accountId: "account_id",
|
|
51
|
+
* identifier: "identifier",
|
|
52
|
+
* clusterId: "cluster_id",
|
|
53
|
+
* repoId: "repo_id",
|
|
54
|
+
* agentId: "agent_id",
|
|
55
|
+
* });
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* ## Import
|
|
59
|
+
*
|
|
60
|
+
* Import a Project level Gitops Application
|
|
61
|
+
*
|
|
62
|
+
* ```sh
|
|
63
|
+
* $ pulumi import harness:platform/gitOpsApplications:GitOpsApplications example <organization_id>/<project_id>/<agent_id>/<app_name>
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
export declare class GitOpsApplications extends pulumi.CustomResource {
|
|
67
|
+
/**
|
|
68
|
+
* Get an existing GitOpsApplications resource's state with the given name, ID, and optional extra
|
|
69
|
+
* properties used to qualify the lookup.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resulting resource.
|
|
72
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
73
|
+
* @param state Any extra arguments used during the lookup.
|
|
74
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
75
|
+
*/
|
|
76
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GitOpsApplicationsState, opts?: pulumi.CustomResourceOptions): GitOpsApplications;
|
|
77
|
+
/**
|
|
78
|
+
* Returns true if the given object is an instance of GitOpsApplications. This is designed to work even
|
|
79
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
80
|
+
*/
|
|
81
|
+
static isInstance(obj: any): obj is GitOpsApplications;
|
|
82
|
+
/**
|
|
83
|
+
* Account identifier of the GitOps application.
|
|
84
|
+
*/
|
|
85
|
+
readonly accountId: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Agent identifier of the GitOps application.
|
|
88
|
+
*/
|
|
89
|
+
readonly agentId: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Definition of the GitOps application resource.
|
|
92
|
+
*/
|
|
93
|
+
readonly applications: pulumi.Output<outputs.platform.GitOpsApplicationsApplication[]>;
|
|
94
|
+
/**
|
|
95
|
+
* Cluster identifier of the GitOps application.
|
|
96
|
+
*/
|
|
97
|
+
readonly clusterId: pulumi.Output<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Identifier of the GitOps application.
|
|
100
|
+
*/
|
|
101
|
+
readonly identifier: pulumi.Output<string | undefined>;
|
|
102
|
+
/**
|
|
103
|
+
* Kind of the GitOps application.
|
|
104
|
+
*/
|
|
105
|
+
readonly kind: pulumi.Output<string | undefined>;
|
|
106
|
+
/**
|
|
107
|
+
* Name of the GitOps application.
|
|
108
|
+
*/
|
|
109
|
+
readonly name: pulumi.Output<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Options to remove existing finalizers to delete the GitOps application.
|
|
112
|
+
*/
|
|
113
|
+
readonly optionsRemoveExistingFinalizers: pulumi.Output<boolean | undefined>;
|
|
114
|
+
/**
|
|
115
|
+
* Organization identifier of the GitOps application.
|
|
116
|
+
*/
|
|
117
|
+
readonly orgId: pulumi.Output<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Reference to the project corresponding to this GitOps application. An empty string means that the GitOps application belongs to the 'default' project.
|
|
120
|
+
*/
|
|
121
|
+
readonly project: pulumi.Output<string | undefined>;
|
|
122
|
+
/**
|
|
123
|
+
* Project identifier of the GitOps application.
|
|
124
|
+
*/
|
|
125
|
+
readonly projectId: pulumi.Output<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Project names to filter the corresponding GitOps applications.
|
|
128
|
+
*/
|
|
129
|
+
readonly queryProject: pulumi.Output<string | undefined>;
|
|
130
|
+
/**
|
|
131
|
+
* Forces the GitOps application to reconcile when set to true.
|
|
132
|
+
*/
|
|
133
|
+
readonly queryRefresh: pulumi.Output<string | undefined>;
|
|
134
|
+
/**
|
|
135
|
+
* Repo URL to restrict returned list applications.
|
|
136
|
+
*/
|
|
137
|
+
readonly queryRepo: pulumi.Output<string | undefined>;
|
|
138
|
+
/**
|
|
139
|
+
* Shows modifications after a version that is specified with a watch call.
|
|
140
|
+
*/
|
|
141
|
+
readonly queryResourceVersion: pulumi.Output<string | undefined>;
|
|
142
|
+
/**
|
|
143
|
+
* Filters GitOps applications corresponding to the labels.
|
|
144
|
+
*/
|
|
145
|
+
readonly querySelector: pulumi.Output<string | undefined>;
|
|
146
|
+
/**
|
|
147
|
+
* Repository identifier of the GitOps application.
|
|
148
|
+
*/
|
|
149
|
+
readonly repoId: pulumi.Output<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Request cascade to delete the GitOps application.
|
|
152
|
+
*/
|
|
153
|
+
readonly requestCascade: pulumi.Output<boolean | undefined>;
|
|
154
|
+
/**
|
|
155
|
+
* Request name to delete the GitOps application.
|
|
156
|
+
*/
|
|
157
|
+
readonly requestName: pulumi.Output<string | undefined>;
|
|
158
|
+
/**
|
|
159
|
+
* Request propagation policy to delete the GitOps application.
|
|
160
|
+
*/
|
|
161
|
+
readonly requestPropagationPolicy: pulumi.Output<string | undefined>;
|
|
162
|
+
/**
|
|
163
|
+
* Indicates if the GitOps application should be updated if existing and inserted if not.
|
|
164
|
+
*/
|
|
165
|
+
readonly upsert: pulumi.Output<boolean | undefined>;
|
|
166
|
+
/**
|
|
167
|
+
* Indicates if the GitOps application has to be validated.
|
|
168
|
+
*/
|
|
169
|
+
readonly validate: pulumi.Output<boolean | undefined>;
|
|
170
|
+
/**
|
|
171
|
+
* Create a GitOpsApplications resource with the given unique name, arguments, and options.
|
|
172
|
+
*
|
|
173
|
+
* @param name The _unique_ name of the resource.
|
|
174
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
175
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
176
|
+
*/
|
|
177
|
+
constructor(name: string, args: GitOpsApplicationsArgs, opts?: pulumi.CustomResourceOptions);
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Input properties used for looking up and filtering GitOpsApplications resources.
|
|
181
|
+
*/
|
|
182
|
+
export interface GitOpsApplicationsState {
|
|
183
|
+
/**
|
|
184
|
+
* Account identifier of the GitOps application.
|
|
185
|
+
*/
|
|
186
|
+
accountId?: pulumi.Input<string>;
|
|
187
|
+
/**
|
|
188
|
+
* Agent identifier of the GitOps application.
|
|
189
|
+
*/
|
|
190
|
+
agentId?: pulumi.Input<string>;
|
|
191
|
+
/**
|
|
192
|
+
* Definition of the GitOps application resource.
|
|
193
|
+
*/
|
|
194
|
+
applications?: pulumi.Input<pulumi.Input<inputs.platform.GitOpsApplicationsApplication>[]>;
|
|
195
|
+
/**
|
|
196
|
+
* Cluster identifier of the GitOps application.
|
|
197
|
+
*/
|
|
198
|
+
clusterId?: pulumi.Input<string>;
|
|
199
|
+
/**
|
|
200
|
+
* Identifier of the GitOps application.
|
|
201
|
+
*/
|
|
202
|
+
identifier?: pulumi.Input<string>;
|
|
203
|
+
/**
|
|
204
|
+
* Kind of the GitOps application.
|
|
205
|
+
*/
|
|
206
|
+
kind?: pulumi.Input<string>;
|
|
207
|
+
/**
|
|
208
|
+
* Name of the GitOps application.
|
|
209
|
+
*/
|
|
210
|
+
name?: pulumi.Input<string>;
|
|
211
|
+
/**
|
|
212
|
+
* Options to remove existing finalizers to delete the GitOps application.
|
|
213
|
+
*/
|
|
214
|
+
optionsRemoveExistingFinalizers?: pulumi.Input<boolean>;
|
|
215
|
+
/**
|
|
216
|
+
* Organization identifier of the GitOps application.
|
|
217
|
+
*/
|
|
218
|
+
orgId?: pulumi.Input<string>;
|
|
219
|
+
/**
|
|
220
|
+
* Reference to the project corresponding to this GitOps application. An empty string means that the GitOps application belongs to the 'default' project.
|
|
221
|
+
*/
|
|
222
|
+
project?: pulumi.Input<string>;
|
|
223
|
+
/**
|
|
224
|
+
* Project identifier of the GitOps application.
|
|
225
|
+
*/
|
|
226
|
+
projectId?: pulumi.Input<string>;
|
|
227
|
+
/**
|
|
228
|
+
* Project names to filter the corresponding GitOps applications.
|
|
229
|
+
*/
|
|
230
|
+
queryProject?: pulumi.Input<string>;
|
|
231
|
+
/**
|
|
232
|
+
* Forces the GitOps application to reconcile when set to true.
|
|
233
|
+
*/
|
|
234
|
+
queryRefresh?: pulumi.Input<string>;
|
|
235
|
+
/**
|
|
236
|
+
* Repo URL to restrict returned list applications.
|
|
237
|
+
*/
|
|
238
|
+
queryRepo?: pulumi.Input<string>;
|
|
239
|
+
/**
|
|
240
|
+
* Shows modifications after a version that is specified with a watch call.
|
|
241
|
+
*/
|
|
242
|
+
queryResourceVersion?: pulumi.Input<string>;
|
|
243
|
+
/**
|
|
244
|
+
* Filters GitOps applications corresponding to the labels.
|
|
245
|
+
*/
|
|
246
|
+
querySelector?: pulumi.Input<string>;
|
|
247
|
+
/**
|
|
248
|
+
* Repository identifier of the GitOps application.
|
|
249
|
+
*/
|
|
250
|
+
repoId?: pulumi.Input<string>;
|
|
251
|
+
/**
|
|
252
|
+
* Request cascade to delete the GitOps application.
|
|
253
|
+
*/
|
|
254
|
+
requestCascade?: pulumi.Input<boolean>;
|
|
255
|
+
/**
|
|
256
|
+
* Request name to delete the GitOps application.
|
|
257
|
+
*/
|
|
258
|
+
requestName?: pulumi.Input<string>;
|
|
259
|
+
/**
|
|
260
|
+
* Request propagation policy to delete the GitOps application.
|
|
261
|
+
*/
|
|
262
|
+
requestPropagationPolicy?: pulumi.Input<string>;
|
|
263
|
+
/**
|
|
264
|
+
* Indicates if the GitOps application should be updated if existing and inserted if not.
|
|
265
|
+
*/
|
|
266
|
+
upsert?: pulumi.Input<boolean>;
|
|
267
|
+
/**
|
|
268
|
+
* Indicates if the GitOps application has to be validated.
|
|
269
|
+
*/
|
|
270
|
+
validate?: pulumi.Input<boolean>;
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* The set of arguments for constructing a GitOpsApplications resource.
|
|
274
|
+
*/
|
|
275
|
+
export interface GitOpsApplicationsArgs {
|
|
276
|
+
/**
|
|
277
|
+
* Account identifier of the GitOps application.
|
|
278
|
+
*/
|
|
279
|
+
accountId: pulumi.Input<string>;
|
|
280
|
+
/**
|
|
281
|
+
* Agent identifier of the GitOps application.
|
|
282
|
+
*/
|
|
283
|
+
agentId: pulumi.Input<string>;
|
|
284
|
+
/**
|
|
285
|
+
* Definition of the GitOps application resource.
|
|
286
|
+
*/
|
|
287
|
+
applications: pulumi.Input<pulumi.Input<inputs.platform.GitOpsApplicationsApplication>[]>;
|
|
288
|
+
/**
|
|
289
|
+
* Cluster identifier of the GitOps application.
|
|
290
|
+
*/
|
|
291
|
+
clusterId: pulumi.Input<string>;
|
|
292
|
+
/**
|
|
293
|
+
* Identifier of the GitOps application.
|
|
294
|
+
*/
|
|
295
|
+
identifier?: pulumi.Input<string>;
|
|
296
|
+
/**
|
|
297
|
+
* Kind of the GitOps application.
|
|
298
|
+
*/
|
|
299
|
+
kind?: pulumi.Input<string>;
|
|
300
|
+
/**
|
|
301
|
+
* Name of the GitOps application.
|
|
302
|
+
*/
|
|
303
|
+
name?: pulumi.Input<string>;
|
|
304
|
+
/**
|
|
305
|
+
* Options to remove existing finalizers to delete the GitOps application.
|
|
306
|
+
*/
|
|
307
|
+
optionsRemoveExistingFinalizers?: pulumi.Input<boolean>;
|
|
308
|
+
/**
|
|
309
|
+
* Organization identifier of the GitOps application.
|
|
310
|
+
*/
|
|
311
|
+
orgId: pulumi.Input<string>;
|
|
312
|
+
/**
|
|
313
|
+
* Reference to the project corresponding to this GitOps application. An empty string means that the GitOps application belongs to the 'default' project.
|
|
314
|
+
*/
|
|
315
|
+
project?: pulumi.Input<string>;
|
|
316
|
+
/**
|
|
317
|
+
* Project identifier of the GitOps application.
|
|
318
|
+
*/
|
|
319
|
+
projectId: pulumi.Input<string>;
|
|
320
|
+
/**
|
|
321
|
+
* Project names to filter the corresponding GitOps applications.
|
|
322
|
+
*/
|
|
323
|
+
queryProject?: pulumi.Input<string>;
|
|
324
|
+
/**
|
|
325
|
+
* Forces the GitOps application to reconcile when set to true.
|
|
326
|
+
*/
|
|
327
|
+
queryRefresh?: pulumi.Input<string>;
|
|
328
|
+
/**
|
|
329
|
+
* Repo URL to restrict returned list applications.
|
|
330
|
+
*/
|
|
331
|
+
queryRepo?: pulumi.Input<string>;
|
|
332
|
+
/**
|
|
333
|
+
* Shows modifications after a version that is specified with a watch call.
|
|
334
|
+
*/
|
|
335
|
+
queryResourceVersion?: pulumi.Input<string>;
|
|
336
|
+
/**
|
|
337
|
+
* Filters GitOps applications corresponding to the labels.
|
|
338
|
+
*/
|
|
339
|
+
querySelector?: pulumi.Input<string>;
|
|
340
|
+
/**
|
|
341
|
+
* Repository identifier of the GitOps application.
|
|
342
|
+
*/
|
|
343
|
+
repoId: pulumi.Input<string>;
|
|
344
|
+
/**
|
|
345
|
+
* Request cascade to delete the GitOps application.
|
|
346
|
+
*/
|
|
347
|
+
requestCascade?: pulumi.Input<boolean>;
|
|
348
|
+
/**
|
|
349
|
+
* Request name to delete the GitOps application.
|
|
350
|
+
*/
|
|
351
|
+
requestName?: pulumi.Input<string>;
|
|
352
|
+
/**
|
|
353
|
+
* Request propagation policy to delete the GitOps application.
|
|
354
|
+
*/
|
|
355
|
+
requestPropagationPolicy?: pulumi.Input<string>;
|
|
356
|
+
/**
|
|
357
|
+
* Indicates if the GitOps application should be updated if existing and inserted if not.
|
|
358
|
+
*/
|
|
359
|
+
upsert?: pulumi.Input<boolean>;
|
|
360
|
+
/**
|
|
361
|
+
* Indicates if the GitOps application has to be validated.
|
|
362
|
+
*/
|
|
363
|
+
validate?: pulumi.Input<boolean>;
|
|
364
|
+
}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.GitOpsApplications = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for creating a Harness Gitops Application.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as harness from "@pulumi/harness";
|
|
16
|
+
*
|
|
17
|
+
* const example = new harness.platform.GitOpsApplications("example", {
|
|
18
|
+
* applications: [{
|
|
19
|
+
* metadatas: [{
|
|
20
|
+
* annotations: {},
|
|
21
|
+
* labels: {
|
|
22
|
+
* "harness.io/serviceRef": "service_id",
|
|
23
|
+
* "harness.io/envRef": "env_id",
|
|
24
|
+
* },
|
|
25
|
+
* name: "appname123",
|
|
26
|
+
* }],
|
|
27
|
+
* specs: [{
|
|
28
|
+
* syncPolicies: [{
|
|
29
|
+
* syncOptions: [
|
|
30
|
+
* "PrunePropagationPolicy=undefined",
|
|
31
|
+
* "CreateNamespace=false",
|
|
32
|
+
* "Validate=false",
|
|
33
|
+
* "skipSchemaValidations=false",
|
|
34
|
+
* "autoCreateNamespace=false",
|
|
35
|
+
* "pruneLast=false",
|
|
36
|
+
* "applyOutofSyncOnly=false",
|
|
37
|
+
* "Replace=false",
|
|
38
|
+
* "retry=false",
|
|
39
|
+
* ],
|
|
40
|
+
* }],
|
|
41
|
+
* sources: [{
|
|
42
|
+
* targetRevision: "master",
|
|
43
|
+
* repoUrl: "https://github.com/willycoll/argocd-example-apps.git",
|
|
44
|
+
* path: "helm-guestbook",
|
|
45
|
+
* }],
|
|
46
|
+
* destinations: [{
|
|
47
|
+
* namespace: "namespace-123",
|
|
48
|
+
* server: "https://1.3.4.5",
|
|
49
|
+
* }],
|
|
50
|
+
* }],
|
|
51
|
+
* }],
|
|
52
|
+
* projectId: "project_id",
|
|
53
|
+
* orgId: "org_id",
|
|
54
|
+
* accountId: "account_id",
|
|
55
|
+
* identifier: "identifier",
|
|
56
|
+
* clusterId: "cluster_id",
|
|
57
|
+
* repoId: "repo_id",
|
|
58
|
+
* agentId: "agent_id",
|
|
59
|
+
* });
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* ## Import
|
|
63
|
+
*
|
|
64
|
+
* Import a Project level Gitops Application
|
|
65
|
+
*
|
|
66
|
+
* ```sh
|
|
67
|
+
* $ pulumi import harness:platform/gitOpsApplications:GitOpsApplications example <organization_id>/<project_id>/<agent_id>/<app_name>
|
|
68
|
+
* ```
|
|
69
|
+
*/
|
|
70
|
+
class GitOpsApplications extends pulumi.CustomResource {
|
|
71
|
+
/**
|
|
72
|
+
* Get an existing GitOpsApplications resource's state with the given name, ID, and optional extra
|
|
73
|
+
* properties used to qualify the lookup.
|
|
74
|
+
*
|
|
75
|
+
* @param name The _unique_ name of the resulting resource.
|
|
76
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
77
|
+
* @param state Any extra arguments used during the lookup.
|
|
78
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
79
|
+
*/
|
|
80
|
+
static get(name, id, state, opts) {
|
|
81
|
+
return new GitOpsApplications(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Returns true if the given object is an instance of GitOpsApplications. This is designed to work even
|
|
85
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
86
|
+
*/
|
|
87
|
+
static isInstance(obj) {
|
|
88
|
+
if (obj === undefined || obj === null) {
|
|
89
|
+
return false;
|
|
90
|
+
}
|
|
91
|
+
return obj['__pulumiType'] === GitOpsApplications.__pulumiType;
|
|
92
|
+
}
|
|
93
|
+
constructor(name, argsOrState, opts) {
|
|
94
|
+
let resourceInputs = {};
|
|
95
|
+
opts = opts || {};
|
|
96
|
+
if (opts.id) {
|
|
97
|
+
const state = argsOrState;
|
|
98
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
99
|
+
resourceInputs["agentId"] = state ? state.agentId : undefined;
|
|
100
|
+
resourceInputs["applications"] = state ? state.applications : undefined;
|
|
101
|
+
resourceInputs["clusterId"] = state ? state.clusterId : undefined;
|
|
102
|
+
resourceInputs["identifier"] = state ? state.identifier : undefined;
|
|
103
|
+
resourceInputs["kind"] = state ? state.kind : undefined;
|
|
104
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
105
|
+
resourceInputs["optionsRemoveExistingFinalizers"] = state ? state.optionsRemoveExistingFinalizers : undefined;
|
|
106
|
+
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
107
|
+
resourceInputs["project"] = state ? state.project : undefined;
|
|
108
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
109
|
+
resourceInputs["queryProject"] = state ? state.queryProject : undefined;
|
|
110
|
+
resourceInputs["queryRefresh"] = state ? state.queryRefresh : undefined;
|
|
111
|
+
resourceInputs["queryRepo"] = state ? state.queryRepo : undefined;
|
|
112
|
+
resourceInputs["queryResourceVersion"] = state ? state.queryResourceVersion : undefined;
|
|
113
|
+
resourceInputs["querySelector"] = state ? state.querySelector : undefined;
|
|
114
|
+
resourceInputs["repoId"] = state ? state.repoId : undefined;
|
|
115
|
+
resourceInputs["requestCascade"] = state ? state.requestCascade : undefined;
|
|
116
|
+
resourceInputs["requestName"] = state ? state.requestName : undefined;
|
|
117
|
+
resourceInputs["requestPropagationPolicy"] = state ? state.requestPropagationPolicy : undefined;
|
|
118
|
+
resourceInputs["upsert"] = state ? state.upsert : undefined;
|
|
119
|
+
resourceInputs["validate"] = state ? state.validate : undefined;
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
const args = argsOrState;
|
|
123
|
+
if ((!args || args.accountId === undefined) && !opts.urn) {
|
|
124
|
+
throw new Error("Missing required property 'accountId'");
|
|
125
|
+
}
|
|
126
|
+
if ((!args || args.agentId === undefined) && !opts.urn) {
|
|
127
|
+
throw new Error("Missing required property 'agentId'");
|
|
128
|
+
}
|
|
129
|
+
if ((!args || args.applications === undefined) && !opts.urn) {
|
|
130
|
+
throw new Error("Missing required property 'applications'");
|
|
131
|
+
}
|
|
132
|
+
if ((!args || args.clusterId === undefined) && !opts.urn) {
|
|
133
|
+
throw new Error("Missing required property 'clusterId'");
|
|
134
|
+
}
|
|
135
|
+
if ((!args || args.orgId === undefined) && !opts.urn) {
|
|
136
|
+
throw new Error("Missing required property 'orgId'");
|
|
137
|
+
}
|
|
138
|
+
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
139
|
+
throw new Error("Missing required property 'projectId'");
|
|
140
|
+
}
|
|
141
|
+
if ((!args || args.repoId === undefined) && !opts.urn) {
|
|
142
|
+
throw new Error("Missing required property 'repoId'");
|
|
143
|
+
}
|
|
144
|
+
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
145
|
+
resourceInputs["agentId"] = args ? args.agentId : undefined;
|
|
146
|
+
resourceInputs["applications"] = args ? args.applications : undefined;
|
|
147
|
+
resourceInputs["clusterId"] = args ? args.clusterId : undefined;
|
|
148
|
+
resourceInputs["identifier"] = args ? args.identifier : undefined;
|
|
149
|
+
resourceInputs["kind"] = args ? args.kind : undefined;
|
|
150
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
151
|
+
resourceInputs["optionsRemoveExistingFinalizers"] = args ? args.optionsRemoveExistingFinalizers : undefined;
|
|
152
|
+
resourceInputs["orgId"] = args ? args.orgId : undefined;
|
|
153
|
+
resourceInputs["project"] = args ? args.project : undefined;
|
|
154
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
155
|
+
resourceInputs["queryProject"] = args ? args.queryProject : undefined;
|
|
156
|
+
resourceInputs["queryRefresh"] = args ? args.queryRefresh : undefined;
|
|
157
|
+
resourceInputs["queryRepo"] = args ? args.queryRepo : undefined;
|
|
158
|
+
resourceInputs["queryResourceVersion"] = args ? args.queryResourceVersion : undefined;
|
|
159
|
+
resourceInputs["querySelector"] = args ? args.querySelector : undefined;
|
|
160
|
+
resourceInputs["repoId"] = args ? args.repoId : undefined;
|
|
161
|
+
resourceInputs["requestCascade"] = args ? args.requestCascade : undefined;
|
|
162
|
+
resourceInputs["requestName"] = args ? args.requestName : undefined;
|
|
163
|
+
resourceInputs["requestPropagationPolicy"] = args ? args.requestPropagationPolicy : undefined;
|
|
164
|
+
resourceInputs["upsert"] = args ? args.upsert : undefined;
|
|
165
|
+
resourceInputs["validate"] = args ? args.validate : undefined;
|
|
166
|
+
}
|
|
167
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
168
|
+
super(GitOpsApplications.__pulumiType, name, resourceInputs, opts);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
exports.GitOpsApplications = GitOpsApplications;
|
|
172
|
+
/** @internal */
|
|
173
|
+
GitOpsApplications.__pulumiType = 'harness:platform/gitOpsApplications:GitOpsApplications';
|
|
174
|
+
//# sourceMappingURL=gitOpsApplications.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gitOpsApplications.js","sourceRoot":"","sources":["../../platform/gitOpsApplications.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IAmGD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,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O,+BAAY,GAAG,wDAAwD,CAAC"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Resource for creating a Harness Gitops Cluster.
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* Import a Account level Gitops Cluster
|
|
10
|
+
*
|
|
11
|
+
* ```sh
|
|
12
|
+
* $ pulumi import harness:platform/gitOpsCluster:GitOpsCluster example <agent_id>/<cluster_id>
|
|
13
|
+
* ```
|
|
14
|
+
*
|
|
15
|
+
* Import a Project level Gitops Cluster
|
|
16
|
+
*
|
|
17
|
+
* ```sh
|
|
18
|
+
* $ pulumi import harness:platform/gitOpsCluster:GitOpsCluster example <organization_id>/<project_id>/<agent_id>/<cluster_id>
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare class GitOpsCluster extends pulumi.CustomResource {
|
|
22
|
+
/**
|
|
23
|
+
* Get an existing GitOpsCluster resource's state with the given name, ID, and optional extra
|
|
24
|
+
* properties used to qualify the lookup.
|
|
25
|
+
*
|
|
26
|
+
* @param name The _unique_ name of the resulting resource.
|
|
27
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
28
|
+
* @param state Any extra arguments used during the lookup.
|
|
29
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
30
|
+
*/
|
|
31
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GitOpsClusterState, opts?: pulumi.CustomResourceOptions): GitOpsCluster;
|
|
32
|
+
/**
|
|
33
|
+
* Returns true if the given object is an instance of GitOpsCluster. This is designed to work even
|
|
34
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
35
|
+
*/
|
|
36
|
+
static isInstance(obj: any): obj is GitOpsCluster;
|
|
37
|
+
/**
|
|
38
|
+
* Account identifier of the GitOps cluster.
|
|
39
|
+
*/
|
|
40
|
+
readonly accountId: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* Agent identifier of the GitOps cluster.
|
|
43
|
+
*/
|
|
44
|
+
readonly agentId: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* Identifier of the GitOps cluster.
|
|
47
|
+
*/
|
|
48
|
+
readonly identifier: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Organization identifier of the cluster.
|
|
51
|
+
*/
|
|
52
|
+
readonly orgId: pulumi.Output<string | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* Project identifier of the GitOps cluster.
|
|
55
|
+
*/
|
|
56
|
+
readonly projectId: pulumi.Output<string | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* Query for the GitOps cluster resources.
|
|
59
|
+
*/
|
|
60
|
+
readonly queries: pulumi.Output<outputs.platform.GitOpsClusterQuery[] | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* Cluster create or update request.
|
|
63
|
+
*/
|
|
64
|
+
readonly requests: pulumi.Output<outputs.platform.GitOpsClusterRequest[] | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* Create a GitOpsCluster resource with the given unique name, arguments, and options.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resource.
|
|
69
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
70
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
71
|
+
*/
|
|
72
|
+
constructor(name: string, args: GitOpsClusterArgs, opts?: pulumi.CustomResourceOptions);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Input properties used for looking up and filtering GitOpsCluster resources.
|
|
76
|
+
*/
|
|
77
|
+
export interface GitOpsClusterState {
|
|
78
|
+
/**
|
|
79
|
+
* Account identifier of the GitOps cluster.
|
|
80
|
+
*/
|
|
81
|
+
accountId?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Agent identifier of the GitOps cluster.
|
|
84
|
+
*/
|
|
85
|
+
agentId?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Identifier of the GitOps cluster.
|
|
88
|
+
*/
|
|
89
|
+
identifier?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Organization identifier of the cluster.
|
|
92
|
+
*/
|
|
93
|
+
orgId?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* Project identifier of the GitOps cluster.
|
|
96
|
+
*/
|
|
97
|
+
projectId?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Query for the GitOps cluster resources.
|
|
100
|
+
*/
|
|
101
|
+
queries?: pulumi.Input<pulumi.Input<inputs.platform.GitOpsClusterQuery>[]>;
|
|
102
|
+
/**
|
|
103
|
+
* Cluster create or update request.
|
|
104
|
+
*/
|
|
105
|
+
requests?: pulumi.Input<pulumi.Input<inputs.platform.GitOpsClusterRequest>[]>;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* The set of arguments for constructing a GitOpsCluster resource.
|
|
109
|
+
*/
|
|
110
|
+
export interface GitOpsClusterArgs {
|
|
111
|
+
/**
|
|
112
|
+
* Account identifier of the GitOps cluster.
|
|
113
|
+
*/
|
|
114
|
+
accountId: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* Agent identifier of the GitOps cluster.
|
|
117
|
+
*/
|
|
118
|
+
agentId: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* Identifier of the GitOps cluster.
|
|
121
|
+
*/
|
|
122
|
+
identifier: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* Organization identifier of the cluster.
|
|
125
|
+
*/
|
|
126
|
+
orgId?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* Project identifier of the GitOps cluster.
|
|
129
|
+
*/
|
|
130
|
+
projectId?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Query for the GitOps cluster resources.
|
|
133
|
+
*/
|
|
134
|
+
queries?: pulumi.Input<pulumi.Input<inputs.platform.GitOpsClusterQuery>[]>;
|
|
135
|
+
/**
|
|
136
|
+
* Cluster create or update request.
|
|
137
|
+
*/
|
|
138
|
+
requests?: pulumi.Input<pulumi.Input<inputs.platform.GitOpsClusterRequest>[]>;
|
|
139
|
+
}
|