@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,141 @@
|
|
|
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.ElasticsearchConnector = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for creating an ElasticSearch connector.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as harness from "@pulumi/harness";
|
|
16
|
+
*
|
|
17
|
+
* // Authentication mechanism as api token
|
|
18
|
+
* const token = new harness.platform.ElasticsearchConnector("token", {
|
|
19
|
+
* identifier: "identifier",
|
|
20
|
+
* name: "name",
|
|
21
|
+
* description: "test",
|
|
22
|
+
* tags: ["foo:bar"],
|
|
23
|
+
* url: "https://elasticsearch.com/",
|
|
24
|
+
* delegateSelectors: ["harness-delegate"],
|
|
25
|
+
* apiToken: {
|
|
26
|
+
* clientId: "client_id",
|
|
27
|
+
* clientSecretRef: "account.secret_id",
|
|
28
|
+
* },
|
|
29
|
+
* });
|
|
30
|
+
* // Authentication mechanism as username and password
|
|
31
|
+
* const test = new harness.platform.ElasticsearchConnector("test", {
|
|
32
|
+
* identifier: "identifier",
|
|
33
|
+
* name: "name",
|
|
34
|
+
* description: "test",
|
|
35
|
+
* tags: ["foo:bar"],
|
|
36
|
+
* url: "https://elasticsearch.com/",
|
|
37
|
+
* delegateSelectors: ["harness-delegate"],
|
|
38
|
+
* usernamePassword: {
|
|
39
|
+
* username: "username",
|
|
40
|
+
* passwordRef: "account.secret_id",
|
|
41
|
+
* },
|
|
42
|
+
* });
|
|
43
|
+
* // Authentication mechanism as username and password
|
|
44
|
+
* const noAuthentication = new harness.platform.ElasticsearchConnector("no_authentication", {
|
|
45
|
+
* identifier: "identifier",
|
|
46
|
+
* name: "name",
|
|
47
|
+
* description: "test",
|
|
48
|
+
* tags: ["foo:bar"],
|
|
49
|
+
* url: "https://elasticsearch.com/",
|
|
50
|
+
* delegateSelectors: ["harness-delegate"],
|
|
51
|
+
* });
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* ## Import
|
|
55
|
+
*
|
|
56
|
+
* Import account level elasticsearch connector
|
|
57
|
+
*
|
|
58
|
+
* ```sh
|
|
59
|
+
* $ pulumi import harness:platform/elasticsearchConnector:ElasticsearchConnector example <connector_id>
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* Import org level elasticsearch connector
|
|
63
|
+
*
|
|
64
|
+
* ```sh
|
|
65
|
+
* $ pulumi import harness:platform/elasticsearchConnector:ElasticsearchConnector example <ord_id>/<connector_id>
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* Import project level elasticsearch connector
|
|
69
|
+
*
|
|
70
|
+
* ```sh
|
|
71
|
+
* $ pulumi import harness:platform/elasticsearchConnector:ElasticsearchConnector example <org_id>/<project_id>/<connector_id>
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
class ElasticsearchConnector extends pulumi.CustomResource {
|
|
75
|
+
/**
|
|
76
|
+
* Get an existing ElasticsearchConnector resource's state with the given name, ID, and optional extra
|
|
77
|
+
* properties used to qualify the lookup.
|
|
78
|
+
*
|
|
79
|
+
* @param name The _unique_ name of the resulting resource.
|
|
80
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
81
|
+
* @param state Any extra arguments used during the lookup.
|
|
82
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
83
|
+
*/
|
|
84
|
+
static get(name, id, state, opts) {
|
|
85
|
+
return new ElasticsearchConnector(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Returns true if the given object is an instance of ElasticsearchConnector. This is designed to work even
|
|
89
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
90
|
+
*/
|
|
91
|
+
static isInstance(obj) {
|
|
92
|
+
if (obj === undefined || obj === null) {
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
return obj['__pulumiType'] === ElasticsearchConnector.__pulumiType;
|
|
96
|
+
}
|
|
97
|
+
constructor(name, argsOrState, opts) {
|
|
98
|
+
let resourceInputs = {};
|
|
99
|
+
opts = opts || {};
|
|
100
|
+
if (opts.id) {
|
|
101
|
+
const state = argsOrState;
|
|
102
|
+
resourceInputs["apiToken"] = state ? state.apiToken : undefined;
|
|
103
|
+
resourceInputs["delegateSelectors"] = state ? state.delegateSelectors : undefined;
|
|
104
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
105
|
+
resourceInputs["identifier"] = state ? state.identifier : undefined;
|
|
106
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
107
|
+
resourceInputs["noAuthentication"] = state ? state.noAuthentication : undefined;
|
|
108
|
+
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
109
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
110
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
111
|
+
resourceInputs["url"] = state ? state.url : undefined;
|
|
112
|
+
resourceInputs["usernamePassword"] = state ? state.usernamePassword : undefined;
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
const args = argsOrState;
|
|
116
|
+
if ((!args || args.identifier === undefined) && !opts.urn) {
|
|
117
|
+
throw new Error("Missing required property 'identifier'");
|
|
118
|
+
}
|
|
119
|
+
if ((!args || args.url === undefined) && !opts.urn) {
|
|
120
|
+
throw new Error("Missing required property 'url'");
|
|
121
|
+
}
|
|
122
|
+
resourceInputs["apiToken"] = args ? args.apiToken : undefined;
|
|
123
|
+
resourceInputs["delegateSelectors"] = args ? args.delegateSelectors : undefined;
|
|
124
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
125
|
+
resourceInputs["identifier"] = args ? args.identifier : undefined;
|
|
126
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
127
|
+
resourceInputs["noAuthentication"] = args ? args.noAuthentication : undefined;
|
|
128
|
+
resourceInputs["orgId"] = args ? args.orgId : undefined;
|
|
129
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
130
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
131
|
+
resourceInputs["url"] = args ? args.url : undefined;
|
|
132
|
+
resourceInputs["usernamePassword"] = args ? args.usernamePassword : undefined;
|
|
133
|
+
}
|
|
134
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
135
|
+
super(ElasticsearchConnector.__pulumiType, name, resourceInputs, opts);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
exports.ElasticsearchConnector = ElasticsearchConnector;
|
|
139
|
+
/** @internal */
|
|
140
|
+
ElasticsearchConnector.__pulumiType = 'harness:platform/elasticsearchConnector:ElasticsearchConnector';
|
|
141
|
+
//# sourceMappingURL=elasticsearchConnector.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"elasticsearchConnector.js","sourceRoot":"","sources":["../../platform/elasticsearchConnector.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,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,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;IAuDD,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAA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ACxD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;SACjF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AAvHL,wDAwHC;AA1GG,gBAAgB;AACO,mCAAY,GAAG,gEAAgE,CAAC"}
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Resource for creating a Harness environment.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as harness from "@pulumi/harness";
|
|
10
|
+
*
|
|
11
|
+
* const example = new harness.platform.Environment("example", {
|
|
12
|
+
* identifier: "identifier",
|
|
13
|
+
* name: "name",
|
|
14
|
+
* orgId: "org_id",
|
|
15
|
+
* projectId: "project_id",
|
|
16
|
+
* tags: [
|
|
17
|
+
* "foo:bar",
|
|
18
|
+
* "baz",
|
|
19
|
+
* ],
|
|
20
|
+
* type: "PreProduction",
|
|
21
|
+
* yaml: `environment:
|
|
22
|
+
* name: name
|
|
23
|
+
* identifier: identifier
|
|
24
|
+
* orgIdentifier: org_id
|
|
25
|
+
* projectIdentifier: project_id
|
|
26
|
+
* type: PreProduction
|
|
27
|
+
* tags:
|
|
28
|
+
* foo: bar
|
|
29
|
+
* baz: ""
|
|
30
|
+
* variables:
|
|
31
|
+
* - name: envVar1
|
|
32
|
+
* type: String
|
|
33
|
+
* value: v1
|
|
34
|
+
* description: ""
|
|
35
|
+
* - name: envVar2
|
|
36
|
+
* type: String
|
|
37
|
+
* value: v2
|
|
38
|
+
* description: ""
|
|
39
|
+
* overrides:
|
|
40
|
+
* manifests:
|
|
41
|
+
* - manifest:
|
|
42
|
+
* identifier: manifestEnv
|
|
43
|
+
* type: Values
|
|
44
|
+
* spec:
|
|
45
|
+
* store:
|
|
46
|
+
* type: Git
|
|
47
|
+
* spec:
|
|
48
|
+
* connectorRef: <+input>
|
|
49
|
+
* gitFetchType: Branch
|
|
50
|
+
* paths:
|
|
51
|
+
* - file1
|
|
52
|
+
* repoName: <+input>
|
|
53
|
+
* branch: master
|
|
54
|
+
* configFiles:
|
|
55
|
+
* - configFile:
|
|
56
|
+
* identifier: configFileEnv
|
|
57
|
+
* spec:
|
|
58
|
+
* store:
|
|
59
|
+
* type: Harness
|
|
60
|
+
* spec:
|
|
61
|
+
* files:
|
|
62
|
+
* - account:/Add-ons/svcOverrideTest
|
|
63
|
+
* secretFiles: []
|
|
64
|
+
* `,
|
|
65
|
+
* });
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* ## Import
|
|
69
|
+
*
|
|
70
|
+
* Import account level environment id
|
|
71
|
+
*
|
|
72
|
+
* ```sh
|
|
73
|
+
* $ pulumi import harness:platform/environment:Environment example <environment_id>
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* Import org level environment id
|
|
77
|
+
*
|
|
78
|
+
* ```sh
|
|
79
|
+
* $ pulumi import harness:platform/environment:Environment example <org_id>/<environment_id>
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* Import project level environment id
|
|
83
|
+
*
|
|
84
|
+
* ```sh
|
|
85
|
+
* $ pulumi import harness:platform/environment:Environment example <org_id>/<project_id>/<environment_id>
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
export declare class Environment extends pulumi.CustomResource {
|
|
89
|
+
/**
|
|
90
|
+
* Get an existing Environment resource's state with the given name, ID, and optional extra
|
|
91
|
+
* properties used to qualify the lookup.
|
|
92
|
+
*
|
|
93
|
+
* @param name The _unique_ name of the resulting resource.
|
|
94
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
95
|
+
* @param state Any extra arguments used during the lookup.
|
|
96
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
97
|
+
*/
|
|
98
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EnvironmentState, opts?: pulumi.CustomResourceOptions): Environment;
|
|
99
|
+
/**
|
|
100
|
+
* Returns true if the given object is an instance of Environment. This is designed to work even
|
|
101
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
102
|
+
*/
|
|
103
|
+
static isInstance(obj: any): obj is Environment;
|
|
104
|
+
/**
|
|
105
|
+
* Color of the environment.
|
|
106
|
+
*/
|
|
107
|
+
readonly color: pulumi.Output<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Description of the resource.
|
|
110
|
+
*/
|
|
111
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
112
|
+
/**
|
|
113
|
+
* Enable this flag for force deletion of environment
|
|
114
|
+
*/
|
|
115
|
+
readonly forceDelete: pulumi.Output<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Unique identifier of the resource.
|
|
118
|
+
*/
|
|
119
|
+
readonly identifier: pulumi.Output<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Name of the resource.
|
|
122
|
+
*/
|
|
123
|
+
readonly name: pulumi.Output<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Unique identifier of the organization.
|
|
126
|
+
*/
|
|
127
|
+
readonly orgId: pulumi.Output<string | undefined>;
|
|
128
|
+
/**
|
|
129
|
+
* Unique identifier of the project.
|
|
130
|
+
*/
|
|
131
|
+
readonly projectId: pulumi.Output<string | undefined>;
|
|
132
|
+
/**
|
|
133
|
+
* Tags to associate with the resource.
|
|
134
|
+
*/
|
|
135
|
+
readonly tags: pulumi.Output<string[] | undefined>;
|
|
136
|
+
/**
|
|
137
|
+
* The type of environment. Valid values are PreProduction, Production
|
|
138
|
+
*/
|
|
139
|
+
readonly type: pulumi.Output<string>;
|
|
140
|
+
/**
|
|
141
|
+
* Environment YAML. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
|
|
142
|
+
*/
|
|
143
|
+
readonly yaml: pulumi.Output<string | undefined>;
|
|
144
|
+
/**
|
|
145
|
+
* Create a Environment resource with the given unique name, arguments, and options.
|
|
146
|
+
*
|
|
147
|
+
* @param name The _unique_ name of the resource.
|
|
148
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
149
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
150
|
+
*/
|
|
151
|
+
constructor(name: string, args: EnvironmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Input properties used for looking up and filtering Environment resources.
|
|
155
|
+
*/
|
|
156
|
+
export interface EnvironmentState {
|
|
157
|
+
/**
|
|
158
|
+
* Color of the environment.
|
|
159
|
+
*/
|
|
160
|
+
color?: pulumi.Input<string>;
|
|
161
|
+
/**
|
|
162
|
+
* Description of the resource.
|
|
163
|
+
*/
|
|
164
|
+
description?: pulumi.Input<string>;
|
|
165
|
+
/**
|
|
166
|
+
* Enable this flag for force deletion of environment
|
|
167
|
+
*/
|
|
168
|
+
forceDelete?: pulumi.Input<string>;
|
|
169
|
+
/**
|
|
170
|
+
* Unique identifier of the resource.
|
|
171
|
+
*/
|
|
172
|
+
identifier?: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* Name of the resource.
|
|
175
|
+
*/
|
|
176
|
+
name?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* Unique identifier of the organization.
|
|
179
|
+
*/
|
|
180
|
+
orgId?: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* Unique identifier of the project.
|
|
183
|
+
*/
|
|
184
|
+
projectId?: pulumi.Input<string>;
|
|
185
|
+
/**
|
|
186
|
+
* Tags to associate with the resource.
|
|
187
|
+
*/
|
|
188
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
189
|
+
/**
|
|
190
|
+
* The type of environment. Valid values are PreProduction, Production
|
|
191
|
+
*/
|
|
192
|
+
type?: pulumi.Input<string>;
|
|
193
|
+
/**
|
|
194
|
+
* Environment YAML. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
|
|
195
|
+
*/
|
|
196
|
+
yaml?: pulumi.Input<string>;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* The set of arguments for constructing a Environment resource.
|
|
200
|
+
*/
|
|
201
|
+
export interface EnvironmentArgs {
|
|
202
|
+
/**
|
|
203
|
+
* Color of the environment.
|
|
204
|
+
*/
|
|
205
|
+
color?: pulumi.Input<string>;
|
|
206
|
+
/**
|
|
207
|
+
* Description of the resource.
|
|
208
|
+
*/
|
|
209
|
+
description?: pulumi.Input<string>;
|
|
210
|
+
/**
|
|
211
|
+
* Enable this flag for force deletion of environment
|
|
212
|
+
*/
|
|
213
|
+
forceDelete?: pulumi.Input<string>;
|
|
214
|
+
/**
|
|
215
|
+
* Unique identifier of the resource.
|
|
216
|
+
*/
|
|
217
|
+
identifier: pulumi.Input<string>;
|
|
218
|
+
/**
|
|
219
|
+
* Name of the resource.
|
|
220
|
+
*/
|
|
221
|
+
name?: pulumi.Input<string>;
|
|
222
|
+
/**
|
|
223
|
+
* Unique identifier of the organization.
|
|
224
|
+
*/
|
|
225
|
+
orgId?: pulumi.Input<string>;
|
|
226
|
+
/**
|
|
227
|
+
* Unique identifier of the project.
|
|
228
|
+
*/
|
|
229
|
+
projectId?: pulumi.Input<string>;
|
|
230
|
+
/**
|
|
231
|
+
* Tags to associate with the resource.
|
|
232
|
+
*/
|
|
233
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
234
|
+
/**
|
|
235
|
+
* The type of environment. Valid values are PreProduction, Production
|
|
236
|
+
*/
|
|
237
|
+
type: pulumi.Input<string>;
|
|
238
|
+
/**
|
|
239
|
+
* Environment YAML. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
|
|
240
|
+
*/
|
|
241
|
+
yaml?: pulumi.Input<string>;
|
|
242
|
+
}
|
|
@@ -0,0 +1,159 @@
|
|
|
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.Environment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for creating a Harness environment.
|
|
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.Environment("example", {
|
|
18
|
+
* identifier: "identifier",
|
|
19
|
+
* name: "name",
|
|
20
|
+
* orgId: "org_id",
|
|
21
|
+
* projectId: "project_id",
|
|
22
|
+
* tags: [
|
|
23
|
+
* "foo:bar",
|
|
24
|
+
* "baz",
|
|
25
|
+
* ],
|
|
26
|
+
* type: "PreProduction",
|
|
27
|
+
* yaml: `environment:
|
|
28
|
+
* name: name
|
|
29
|
+
* identifier: identifier
|
|
30
|
+
* orgIdentifier: org_id
|
|
31
|
+
* projectIdentifier: project_id
|
|
32
|
+
* type: PreProduction
|
|
33
|
+
* tags:
|
|
34
|
+
* foo: bar
|
|
35
|
+
* baz: ""
|
|
36
|
+
* variables:
|
|
37
|
+
* - name: envVar1
|
|
38
|
+
* type: String
|
|
39
|
+
* value: v1
|
|
40
|
+
* description: ""
|
|
41
|
+
* - name: envVar2
|
|
42
|
+
* type: String
|
|
43
|
+
* value: v2
|
|
44
|
+
* description: ""
|
|
45
|
+
* overrides:
|
|
46
|
+
* manifests:
|
|
47
|
+
* - manifest:
|
|
48
|
+
* identifier: manifestEnv
|
|
49
|
+
* type: Values
|
|
50
|
+
* spec:
|
|
51
|
+
* store:
|
|
52
|
+
* type: Git
|
|
53
|
+
* spec:
|
|
54
|
+
* connectorRef: <+input>
|
|
55
|
+
* gitFetchType: Branch
|
|
56
|
+
* paths:
|
|
57
|
+
* - file1
|
|
58
|
+
* repoName: <+input>
|
|
59
|
+
* branch: master
|
|
60
|
+
* configFiles:
|
|
61
|
+
* - configFile:
|
|
62
|
+
* identifier: configFileEnv
|
|
63
|
+
* spec:
|
|
64
|
+
* store:
|
|
65
|
+
* type: Harness
|
|
66
|
+
* spec:
|
|
67
|
+
* files:
|
|
68
|
+
* - account:/Add-ons/svcOverrideTest
|
|
69
|
+
* secretFiles: []
|
|
70
|
+
* `,
|
|
71
|
+
* });
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* ## Import
|
|
75
|
+
*
|
|
76
|
+
* Import account level environment id
|
|
77
|
+
*
|
|
78
|
+
* ```sh
|
|
79
|
+
* $ pulumi import harness:platform/environment:Environment example <environment_id>
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* Import org level environment id
|
|
83
|
+
*
|
|
84
|
+
* ```sh
|
|
85
|
+
* $ pulumi import harness:platform/environment:Environment example <org_id>/<environment_id>
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* Import project level environment id
|
|
89
|
+
*
|
|
90
|
+
* ```sh
|
|
91
|
+
* $ pulumi import harness:platform/environment:Environment example <org_id>/<project_id>/<environment_id>
|
|
92
|
+
* ```
|
|
93
|
+
*/
|
|
94
|
+
class Environment extends pulumi.CustomResource {
|
|
95
|
+
/**
|
|
96
|
+
* Get an existing Environment resource's state with the given name, ID, and optional extra
|
|
97
|
+
* properties used to qualify the lookup.
|
|
98
|
+
*
|
|
99
|
+
* @param name The _unique_ name of the resulting resource.
|
|
100
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
101
|
+
* @param state Any extra arguments used during the lookup.
|
|
102
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
103
|
+
*/
|
|
104
|
+
static get(name, id, state, opts) {
|
|
105
|
+
return new Environment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Returns true if the given object is an instance of Environment. This is designed to work even
|
|
109
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
110
|
+
*/
|
|
111
|
+
static isInstance(obj) {
|
|
112
|
+
if (obj === undefined || obj === null) {
|
|
113
|
+
return false;
|
|
114
|
+
}
|
|
115
|
+
return obj['__pulumiType'] === Environment.__pulumiType;
|
|
116
|
+
}
|
|
117
|
+
constructor(name, argsOrState, opts) {
|
|
118
|
+
let resourceInputs = {};
|
|
119
|
+
opts = opts || {};
|
|
120
|
+
if (opts.id) {
|
|
121
|
+
const state = argsOrState;
|
|
122
|
+
resourceInputs["color"] = state ? state.color : undefined;
|
|
123
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
124
|
+
resourceInputs["forceDelete"] = state ? state.forceDelete : undefined;
|
|
125
|
+
resourceInputs["identifier"] = state ? state.identifier : undefined;
|
|
126
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
127
|
+
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
128
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
129
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
130
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
131
|
+
resourceInputs["yaml"] = state ? state.yaml : undefined;
|
|
132
|
+
}
|
|
133
|
+
else {
|
|
134
|
+
const args = argsOrState;
|
|
135
|
+
if ((!args || args.identifier === undefined) && !opts.urn) {
|
|
136
|
+
throw new Error("Missing required property 'identifier'");
|
|
137
|
+
}
|
|
138
|
+
if ((!args || args.type === undefined) && !opts.urn) {
|
|
139
|
+
throw new Error("Missing required property 'type'");
|
|
140
|
+
}
|
|
141
|
+
resourceInputs["color"] = args ? args.color : undefined;
|
|
142
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
143
|
+
resourceInputs["forceDelete"] = args ? args.forceDelete : undefined;
|
|
144
|
+
resourceInputs["identifier"] = args ? args.identifier : undefined;
|
|
145
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
146
|
+
resourceInputs["orgId"] = args ? args.orgId : undefined;
|
|
147
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
148
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
149
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
150
|
+
resourceInputs["yaml"] = args ? args.yaml : undefined;
|
|
151
|
+
}
|
|
152
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
153
|
+
super(Environment.__pulumiType, name, resourceInputs, opts);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
exports.Environment = Environment;
|
|
157
|
+
/** @internal */
|
|
158
|
+
Environment.__pulumiType = 'harness:platform/environment:Environment';
|
|
159
|
+
//# sourceMappingURL=environment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../platform/environment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqFG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAmDD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,C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AAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAjHL,kCAkHC;AApGG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -0,0 +1,130 @@
|
|
|
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 mapping environment with Harness Clusters.
|
|
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.EnvironmentClustersMapping("example", {
|
|
14
|
+
* identifier: "identifier",
|
|
15
|
+
* orgId: "orgIdentifer",
|
|
16
|
+
* projectId: "projectIdentifier",
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ## Import
|
|
21
|
+
*
|
|
22
|
+
* Import using the cluster.
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import harness:platform/environmentClustersMapping:EnvironmentClustersMapping example <cluster_id>
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare class EnvironmentClustersMapping extends pulumi.CustomResource {
|
|
29
|
+
/**
|
|
30
|
+
* Get an existing EnvironmentClustersMapping resource's state with the given name, ID, and optional extra
|
|
31
|
+
* properties used to qualify the lookup.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resulting resource.
|
|
34
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
35
|
+
* @param state Any extra arguments used during the lookup.
|
|
36
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
37
|
+
*/
|
|
38
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EnvironmentClustersMappingState, opts?: pulumi.CustomResourceOptions): EnvironmentClustersMapping;
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of EnvironmentClustersMapping. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj: any): obj is EnvironmentClustersMapping;
|
|
44
|
+
/**
|
|
45
|
+
* list of cluster identifiers and names
|
|
46
|
+
*/
|
|
47
|
+
readonly clusters: pulumi.Output<outputs.platform.EnvironmentClustersMappingCluster[] | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* environment identifier.
|
|
50
|
+
*/
|
|
51
|
+
readonly envId: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* identifier of the cluster.
|
|
54
|
+
*/
|
|
55
|
+
readonly identifier: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* org_id of the cluster.
|
|
58
|
+
*/
|
|
59
|
+
readonly orgId: pulumi.Output<string | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* project_id of the cluster.
|
|
62
|
+
*/
|
|
63
|
+
readonly projectId: pulumi.Output<string | undefined>;
|
|
64
|
+
/**
|
|
65
|
+
* scope at which the cluster exists in harness gitops
|
|
66
|
+
*/
|
|
67
|
+
readonly scope: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* Create a EnvironmentClustersMapping resource with the given unique name, arguments, and options.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resource.
|
|
72
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
73
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
74
|
+
*/
|
|
75
|
+
constructor(name: string, args: EnvironmentClustersMappingArgs, opts?: pulumi.CustomResourceOptions);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Input properties used for looking up and filtering EnvironmentClustersMapping resources.
|
|
79
|
+
*/
|
|
80
|
+
export interface EnvironmentClustersMappingState {
|
|
81
|
+
/**
|
|
82
|
+
* list of cluster identifiers and names
|
|
83
|
+
*/
|
|
84
|
+
clusters?: pulumi.Input<pulumi.Input<inputs.platform.EnvironmentClustersMappingCluster>[]>;
|
|
85
|
+
/**
|
|
86
|
+
* environment identifier.
|
|
87
|
+
*/
|
|
88
|
+
envId?: pulumi.Input<string>;
|
|
89
|
+
/**
|
|
90
|
+
* identifier of the cluster.
|
|
91
|
+
*/
|
|
92
|
+
identifier?: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* org_id of the cluster.
|
|
95
|
+
*/
|
|
96
|
+
orgId?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* project_id of the cluster.
|
|
99
|
+
*/
|
|
100
|
+
projectId?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* scope at which the cluster exists in harness gitops
|
|
103
|
+
*/
|
|
104
|
+
scope?: pulumi.Input<string>;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* The set of arguments for constructing a EnvironmentClustersMapping resource.
|
|
108
|
+
*/
|
|
109
|
+
export interface EnvironmentClustersMappingArgs {
|
|
110
|
+
/**
|
|
111
|
+
* list of cluster identifiers and names
|
|
112
|
+
*/
|
|
113
|
+
clusters?: pulumi.Input<pulumi.Input<inputs.platform.EnvironmentClustersMappingCluster>[]>;
|
|
114
|
+
/**
|
|
115
|
+
* environment identifier.
|
|
116
|
+
*/
|
|
117
|
+
envId: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* identifier of the cluster.
|
|
120
|
+
*/
|
|
121
|
+
identifier: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* org_id of the cluster.
|
|
124
|
+
*/
|
|
125
|
+
orgId?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* project_id of the cluster.
|
|
128
|
+
*/
|
|
129
|
+
projectId?: pulumi.Input<string>;
|
|
130
|
+
}
|