@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,86 @@
|
|
|
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.Organization = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for creating a Harness organization.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as harness from "@pulumi/harness";
|
|
16
|
+
*
|
|
17
|
+
* const _this = new harness.platform.Organization("this", {
|
|
18
|
+
* identifier: "MyOrg",
|
|
19
|
+
* name: "My Otganization",
|
|
20
|
+
* description: "An example organization",
|
|
21
|
+
* tags: [
|
|
22
|
+
* "foo:bar",
|
|
23
|
+
* "baz:qux",
|
|
24
|
+
* ],
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* Import using organization id
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import harness:platform/organization:Organization example <organization_id>
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
class Organization extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing Organization resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name, id, state, opts) {
|
|
47
|
+
return new Organization(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of Organization. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj) {
|
|
54
|
+
if (obj === undefined || obj === null) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
return obj['__pulumiType'] === Organization.__pulumiType;
|
|
58
|
+
}
|
|
59
|
+
constructor(name, argsOrState, opts) {
|
|
60
|
+
let resourceInputs = {};
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
if (opts.id) {
|
|
63
|
+
const state = argsOrState;
|
|
64
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
65
|
+
resourceInputs["identifier"] = state ? state.identifier : undefined;
|
|
66
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
67
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
const args = argsOrState;
|
|
71
|
+
if ((!args || args.identifier === undefined) && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'identifier'");
|
|
73
|
+
}
|
|
74
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
75
|
+
resourceInputs["identifier"] = args ? args.identifier : undefined;
|
|
76
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
77
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
78
|
+
}
|
|
79
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
80
|
+
super(Organization.__pulumiType, name, resourceInputs, opts);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.Organization = Organization;
|
|
84
|
+
/** @internal */
|
|
85
|
+
Organization.__pulumiType = 'harness:platform/organization:Organization';
|
|
86
|
+
//# sourceMappingURL=organization.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../../platform/organization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;aAAM;YACH,MAAM,IAAI,GAAG,WAA2C,CAAC;YACzD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA1EL,oCA2EC;AA7DG,gBAAgB;AACO,yBAAY,GAAG,4CAA4C,CAAC"}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Resource for creating a PagerDuty connector.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as harness from "@pulumi/harness";
|
|
10
|
+
*
|
|
11
|
+
* const test = new harness.platform.PagerdutyConnector("test", {
|
|
12
|
+
* identifier: "identifier",
|
|
13
|
+
* name: "name",
|
|
14
|
+
* description: "test",
|
|
15
|
+
* tags: ["foo:bar"],
|
|
16
|
+
* delegateSelectors: ["harness-delegate"],
|
|
17
|
+
* apiTokenRef: "account.secret_id",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* Import account level pagerduty connector
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import harness:platform/pagerdutyConnector:PagerdutyConnector example <connector_id>
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* Import org level pagerduty connector
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import harness:platform/pagerdutyConnector:PagerdutyConnector example <ord_id>/<connector_id>
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* Import project level pagerduty connector
|
|
36
|
+
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import harness:platform/pagerdutyConnector:PagerdutyConnector example <org_id>/<project_id>/<connector_id>
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare class PagerdutyConnector extends pulumi.CustomResource {
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing PagerdutyConnector resource's state with the given name, ID, and optional extra
|
|
44
|
+
* properties used to qualify the lookup.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resulting resource.
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PagerdutyConnectorState, opts?: pulumi.CustomResourceOptions): PagerdutyConnector;
|
|
52
|
+
/**
|
|
53
|
+
* Returns true if the given object is an instance of PagerdutyConnector. This is designed to work even
|
|
54
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
55
|
+
*/
|
|
56
|
+
static isInstance(obj: any): obj is PagerdutyConnector;
|
|
57
|
+
/**
|
|
58
|
+
* Reference to the Harness secret containing the api token. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
59
|
+
*/
|
|
60
|
+
readonly apiTokenRef: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Tags to filter delegates for connection.
|
|
63
|
+
*/
|
|
64
|
+
readonly delegateSelectors: pulumi.Output<string[] | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* Description of the resource.
|
|
67
|
+
*/
|
|
68
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* Unique identifier of the resource.
|
|
71
|
+
*/
|
|
72
|
+
readonly identifier: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Name of the resource.
|
|
75
|
+
*/
|
|
76
|
+
readonly name: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Unique identifier of the organization.
|
|
79
|
+
*/
|
|
80
|
+
readonly orgId: pulumi.Output<string | undefined>;
|
|
81
|
+
/**
|
|
82
|
+
* Unique identifier of the project.
|
|
83
|
+
*/
|
|
84
|
+
readonly projectId: pulumi.Output<string | undefined>;
|
|
85
|
+
/**
|
|
86
|
+
* Tags to associate with the resource.
|
|
87
|
+
*/
|
|
88
|
+
readonly tags: pulumi.Output<string[] | undefined>;
|
|
89
|
+
/**
|
|
90
|
+
* Create a PagerdutyConnector resource with the given unique name, arguments, and options.
|
|
91
|
+
*
|
|
92
|
+
* @param name The _unique_ name of the resource.
|
|
93
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
94
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
95
|
+
*/
|
|
96
|
+
constructor(name: string, args: PagerdutyConnectorArgs, opts?: pulumi.CustomResourceOptions);
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Input properties used for looking up and filtering PagerdutyConnector resources.
|
|
100
|
+
*/
|
|
101
|
+
export interface PagerdutyConnectorState {
|
|
102
|
+
/**
|
|
103
|
+
* Reference to the Harness secret containing the api token. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
104
|
+
*/
|
|
105
|
+
apiTokenRef?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Tags to filter delegates for connection.
|
|
108
|
+
*/
|
|
109
|
+
delegateSelectors?: pulumi.Input<pulumi.Input<string>[]>;
|
|
110
|
+
/**
|
|
111
|
+
* Description of the resource.
|
|
112
|
+
*/
|
|
113
|
+
description?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Unique identifier of the resource.
|
|
116
|
+
*/
|
|
117
|
+
identifier?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Name of the resource.
|
|
120
|
+
*/
|
|
121
|
+
name?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Unique identifier of the organization.
|
|
124
|
+
*/
|
|
125
|
+
orgId?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Unique identifier of the project.
|
|
128
|
+
*/
|
|
129
|
+
projectId?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Tags to associate with the resource.
|
|
132
|
+
*/
|
|
133
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* The set of arguments for constructing a PagerdutyConnector resource.
|
|
137
|
+
*/
|
|
138
|
+
export interface PagerdutyConnectorArgs {
|
|
139
|
+
/**
|
|
140
|
+
* Reference to the Harness secret containing the api token. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
|
141
|
+
*/
|
|
142
|
+
apiTokenRef: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Tags to filter delegates for connection.
|
|
145
|
+
*/
|
|
146
|
+
delegateSelectors?: pulumi.Input<pulumi.Input<string>[]>;
|
|
147
|
+
/**
|
|
148
|
+
* Description of the resource.
|
|
149
|
+
*/
|
|
150
|
+
description?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* Unique identifier of the resource.
|
|
153
|
+
*/
|
|
154
|
+
identifier: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* Name of the resource.
|
|
157
|
+
*/
|
|
158
|
+
name?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* Unique identifier of the organization.
|
|
161
|
+
*/
|
|
162
|
+
orgId?: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* Unique identifier of the project.
|
|
165
|
+
*/
|
|
166
|
+
projectId?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* Tags to associate with the resource.
|
|
169
|
+
*/
|
|
170
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
171
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
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.PagerdutyConnector = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for creating a PagerDuty connector.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as harness from "@pulumi/harness";
|
|
16
|
+
*
|
|
17
|
+
* const test = new harness.platform.PagerdutyConnector("test", {
|
|
18
|
+
* identifier: "identifier",
|
|
19
|
+
* name: "name",
|
|
20
|
+
* description: "test",
|
|
21
|
+
* tags: ["foo:bar"],
|
|
22
|
+
* delegateSelectors: ["harness-delegate"],
|
|
23
|
+
* apiTokenRef: "account.secret_id",
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* Import account level pagerduty connector
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import harness:platform/pagerdutyConnector:PagerdutyConnector example <connector_id>
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* Import org level pagerduty connector
|
|
36
|
+
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import harness:platform/pagerdutyConnector:PagerdutyConnector example <ord_id>/<connector_id>
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* Import project level pagerduty connector
|
|
42
|
+
*
|
|
43
|
+
* ```sh
|
|
44
|
+
* $ pulumi import harness:platform/pagerdutyConnector:PagerdutyConnector example <org_id>/<project_id>/<connector_id>
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
class PagerdutyConnector extends pulumi.CustomResource {
|
|
48
|
+
/**
|
|
49
|
+
* Get an existing PagerdutyConnector resource's state with the given name, ID, and optional extra
|
|
50
|
+
* properties used to qualify the lookup.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resulting resource.
|
|
53
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
54
|
+
* @param state Any extra arguments used during the lookup.
|
|
55
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
56
|
+
*/
|
|
57
|
+
static get(name, id, state, opts) {
|
|
58
|
+
return new PagerdutyConnector(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Returns true if the given object is an instance of PagerdutyConnector. This is designed to work even
|
|
62
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
63
|
+
*/
|
|
64
|
+
static isInstance(obj) {
|
|
65
|
+
if (obj === undefined || obj === null) {
|
|
66
|
+
return false;
|
|
67
|
+
}
|
|
68
|
+
return obj['__pulumiType'] === PagerdutyConnector.__pulumiType;
|
|
69
|
+
}
|
|
70
|
+
constructor(name, argsOrState, opts) {
|
|
71
|
+
let resourceInputs = {};
|
|
72
|
+
opts = opts || {};
|
|
73
|
+
if (opts.id) {
|
|
74
|
+
const state = argsOrState;
|
|
75
|
+
resourceInputs["apiTokenRef"] = state ? state.apiTokenRef : undefined;
|
|
76
|
+
resourceInputs["delegateSelectors"] = state ? state.delegateSelectors : undefined;
|
|
77
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
78
|
+
resourceInputs["identifier"] = state ? state.identifier : undefined;
|
|
79
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
80
|
+
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
81
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
82
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
const args = argsOrState;
|
|
86
|
+
if ((!args || args.apiTokenRef === undefined) && !opts.urn) {
|
|
87
|
+
throw new Error("Missing required property 'apiTokenRef'");
|
|
88
|
+
}
|
|
89
|
+
if ((!args || args.identifier === undefined) && !opts.urn) {
|
|
90
|
+
throw new Error("Missing required property 'identifier'");
|
|
91
|
+
}
|
|
92
|
+
resourceInputs["apiTokenRef"] = args ? args.apiTokenRef : undefined;
|
|
93
|
+
resourceInputs["delegateSelectors"] = args ? args.delegateSelectors : undefined;
|
|
94
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
95
|
+
resourceInputs["identifier"] = args ? args.identifier : undefined;
|
|
96
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
97
|
+
resourceInputs["orgId"] = args ? args.orgId : undefined;
|
|
98
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
99
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
100
|
+
}
|
|
101
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
102
|
+
super(PagerdutyConnector.__pulumiType, name, resourceInputs, opts);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
exports.PagerdutyConnector = PagerdutyConnector;
|
|
106
|
+
/** @internal */
|
|
107
|
+
PagerdutyConnector.__pulumiType = 'harness:platform/pagerdutyConnector:PagerdutyConnector';
|
|
108
|
+
//# sourceMappingURL=pagerdutyConnector.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagerdutyConnector.js","sourceRoot":"","sources":["../../platform/pagerdutyConnector.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,277 @@
|
|
|
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 pipeline.
|
|
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.Pipeline("example", {
|
|
14
|
+
* identifier: "identifier",
|
|
15
|
+
* orgId: "orgIdentifier",
|
|
16
|
+
* projectId: "projectIdentifier",
|
|
17
|
+
* name: "name",
|
|
18
|
+
* gitDetails: {
|
|
19
|
+
* branchName: "branchName",
|
|
20
|
+
* commitMessage: "commitMessage",
|
|
21
|
+
* filePath: "filePath",
|
|
22
|
+
* connectorRef: "connectorRef",
|
|
23
|
+
* storeType: "REMOTE",
|
|
24
|
+
* repoName: "repoName",
|
|
25
|
+
* },
|
|
26
|
+
* yaml: `pipeline:
|
|
27
|
+
* name: name
|
|
28
|
+
* identifier: identifier
|
|
29
|
+
* allowStageExecutions: false
|
|
30
|
+
* projectIdentifier: projectIdentifier
|
|
31
|
+
* orgIdentifier: orgIdentifier
|
|
32
|
+
* tags: {}
|
|
33
|
+
* stages:
|
|
34
|
+
* - stage:
|
|
35
|
+
* name: dep
|
|
36
|
+
* identifier: dep
|
|
37
|
+
* description: ""
|
|
38
|
+
* type: Deployment
|
|
39
|
+
* spec:
|
|
40
|
+
* serviceConfig:
|
|
41
|
+
* serviceRef: service
|
|
42
|
+
* serviceDefinition:
|
|
43
|
+
* type: Kubernetes
|
|
44
|
+
* spec:
|
|
45
|
+
* variables: []
|
|
46
|
+
* infrastructure:
|
|
47
|
+
* environmentRef: testenv
|
|
48
|
+
* infrastructureDefinition:
|
|
49
|
+
* type: KubernetesDirect
|
|
50
|
+
* spec:
|
|
51
|
+
* connectorRef: testconf
|
|
52
|
+
* namespace: test
|
|
53
|
+
* releaseName: release-<+INFRA_KEY>
|
|
54
|
+
* allowSimultaneousDeployments: false
|
|
55
|
+
* execution:
|
|
56
|
+
* steps:
|
|
57
|
+
* - stepGroup:
|
|
58
|
+
* name: Canary Deployment
|
|
59
|
+
* identifier: canaryDepoyment
|
|
60
|
+
* steps:
|
|
61
|
+
* - step:
|
|
62
|
+
* name: Canary Deployment
|
|
63
|
+
* identifier: canaryDeployment
|
|
64
|
+
* type: K8sCanaryDeploy
|
|
65
|
+
* timeout: 10m
|
|
66
|
+
* spec:
|
|
67
|
+
* instanceSelection:
|
|
68
|
+
* type: Count
|
|
69
|
+
* spec:
|
|
70
|
+
* count: 1
|
|
71
|
+
* skipDryRun: false
|
|
72
|
+
* - step:
|
|
73
|
+
* name: Canary Delete
|
|
74
|
+
* identifier: canaryDelete
|
|
75
|
+
* type: K8sCanaryDelete
|
|
76
|
+
* timeout: 10m
|
|
77
|
+
* spec: {}
|
|
78
|
+
* rollbackSteps:
|
|
79
|
+
* - step:
|
|
80
|
+
* name: Canary Delete
|
|
81
|
+
* identifier: rollbackCanaryDelete
|
|
82
|
+
* type: K8sCanaryDelete
|
|
83
|
+
* timeout: 10m
|
|
84
|
+
* spec: {}
|
|
85
|
+
* - stepGroup:
|
|
86
|
+
* name: Primary Deployment
|
|
87
|
+
* identifier: primaryDepoyment
|
|
88
|
+
* steps:
|
|
89
|
+
* - step:
|
|
90
|
+
* name: Rolling Deployment
|
|
91
|
+
* identifier: rollingDeployment
|
|
92
|
+
* type: K8sRollingDeploy
|
|
93
|
+
* timeout: 10m
|
|
94
|
+
* spec:
|
|
95
|
+
* skipDryRun: false
|
|
96
|
+
* rollbackSteps:
|
|
97
|
+
* - step:
|
|
98
|
+
* name: Rolling Rollback
|
|
99
|
+
* identifier: rollingRollback
|
|
100
|
+
* type: K8sRollingRollback
|
|
101
|
+
* timeout: 10m
|
|
102
|
+
* spec: {}
|
|
103
|
+
* rollbackSteps: []
|
|
104
|
+
* tags: {}
|
|
105
|
+
* failureStrategies:
|
|
106
|
+
* - onFailure:
|
|
107
|
+
* errors:
|
|
108
|
+
* - AllErrors
|
|
109
|
+
* action:
|
|
110
|
+
* type: StageRollback
|
|
111
|
+
* `,
|
|
112
|
+
* });
|
|
113
|
+
* ```
|
|
114
|
+
*
|
|
115
|
+
* ## Import
|
|
116
|
+
*
|
|
117
|
+
* Import pipeline
|
|
118
|
+
*
|
|
119
|
+
* ```sh
|
|
120
|
+
* $ pulumi import harness:platform/pipeline:Pipeline example <org_id>/<project_id>/<pipeline_id>
|
|
121
|
+
* ```
|
|
122
|
+
*/
|
|
123
|
+
export declare class Pipeline extends pulumi.CustomResource {
|
|
124
|
+
/**
|
|
125
|
+
* Get an existing Pipeline resource's state with the given name, ID, and optional extra
|
|
126
|
+
* properties used to qualify the lookup.
|
|
127
|
+
*
|
|
128
|
+
* @param name The _unique_ name of the resulting resource.
|
|
129
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
130
|
+
* @param state Any extra arguments used during the lookup.
|
|
131
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
132
|
+
*/
|
|
133
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PipelineState, opts?: pulumi.CustomResourceOptions): Pipeline;
|
|
134
|
+
/**
|
|
135
|
+
* Returns true if the given object is an instance of Pipeline. This is designed to work even
|
|
136
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
137
|
+
*/
|
|
138
|
+
static isInstance(obj: any): obj is Pipeline;
|
|
139
|
+
/**
|
|
140
|
+
* Description of the resource.
|
|
141
|
+
*/
|
|
142
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
143
|
+
/**
|
|
144
|
+
* Contains parameters related to creating an Entity for Git Experience.
|
|
145
|
+
*/
|
|
146
|
+
readonly gitDetails: pulumi.Output<outputs.platform.PipelineGitDetails | undefined>;
|
|
147
|
+
/**
|
|
148
|
+
* Unique identifier of the resource.
|
|
149
|
+
*/
|
|
150
|
+
readonly identifier: pulumi.Output<string>;
|
|
151
|
+
/**
|
|
152
|
+
* Name of the resource.
|
|
153
|
+
*/
|
|
154
|
+
readonly name: pulumi.Output<string>;
|
|
155
|
+
/**
|
|
156
|
+
* Unique identifier of the organization.
|
|
157
|
+
*/
|
|
158
|
+
readonly orgId: pulumi.Output<string>;
|
|
159
|
+
/**
|
|
160
|
+
* Unique identifier of the project.
|
|
161
|
+
*/
|
|
162
|
+
readonly projectId: pulumi.Output<string>;
|
|
163
|
+
/**
|
|
164
|
+
* Tags to associate with the resource.
|
|
165
|
+
*/
|
|
166
|
+
readonly tags: pulumi.Output<string[] | undefined>;
|
|
167
|
+
/**
|
|
168
|
+
* If true, returns Pipeline YAML with Templates applied on it.
|
|
169
|
+
*/
|
|
170
|
+
readonly templateApplied: pulumi.Output<boolean | undefined>;
|
|
171
|
+
/**
|
|
172
|
+
* Pipeline YAML after resolving Templates (returned as a String).
|
|
173
|
+
*/
|
|
174
|
+
readonly templateAppliedPipelineYaml: pulumi.Output<string | undefined>;
|
|
175
|
+
/**
|
|
176
|
+
* YAML of the pipeline. 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.
|
|
177
|
+
*/
|
|
178
|
+
readonly yaml: pulumi.Output<string>;
|
|
179
|
+
/**
|
|
180
|
+
* Create a Pipeline resource with the given unique name, arguments, and options.
|
|
181
|
+
*
|
|
182
|
+
* @param name The _unique_ name of the resource.
|
|
183
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
184
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
185
|
+
*/
|
|
186
|
+
constructor(name: string, args: PipelineArgs, opts?: pulumi.CustomResourceOptions);
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Input properties used for looking up and filtering Pipeline resources.
|
|
190
|
+
*/
|
|
191
|
+
export interface PipelineState {
|
|
192
|
+
/**
|
|
193
|
+
* Description of the resource.
|
|
194
|
+
*/
|
|
195
|
+
description?: pulumi.Input<string>;
|
|
196
|
+
/**
|
|
197
|
+
* Contains parameters related to creating an Entity for Git Experience.
|
|
198
|
+
*/
|
|
199
|
+
gitDetails?: pulumi.Input<inputs.platform.PipelineGitDetails>;
|
|
200
|
+
/**
|
|
201
|
+
* Unique identifier of the resource.
|
|
202
|
+
*/
|
|
203
|
+
identifier?: pulumi.Input<string>;
|
|
204
|
+
/**
|
|
205
|
+
* Name of the resource.
|
|
206
|
+
*/
|
|
207
|
+
name?: pulumi.Input<string>;
|
|
208
|
+
/**
|
|
209
|
+
* Unique identifier of the organization.
|
|
210
|
+
*/
|
|
211
|
+
orgId?: pulumi.Input<string>;
|
|
212
|
+
/**
|
|
213
|
+
* Unique identifier of the project.
|
|
214
|
+
*/
|
|
215
|
+
projectId?: pulumi.Input<string>;
|
|
216
|
+
/**
|
|
217
|
+
* Tags to associate with the resource.
|
|
218
|
+
*/
|
|
219
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
220
|
+
/**
|
|
221
|
+
* If true, returns Pipeline YAML with Templates applied on it.
|
|
222
|
+
*/
|
|
223
|
+
templateApplied?: pulumi.Input<boolean>;
|
|
224
|
+
/**
|
|
225
|
+
* Pipeline YAML after resolving Templates (returned as a String).
|
|
226
|
+
*/
|
|
227
|
+
templateAppliedPipelineYaml?: pulumi.Input<string>;
|
|
228
|
+
/**
|
|
229
|
+
* YAML of the pipeline. 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.
|
|
230
|
+
*/
|
|
231
|
+
yaml?: pulumi.Input<string>;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* The set of arguments for constructing a Pipeline resource.
|
|
235
|
+
*/
|
|
236
|
+
export interface PipelineArgs {
|
|
237
|
+
/**
|
|
238
|
+
* Description of the resource.
|
|
239
|
+
*/
|
|
240
|
+
description?: pulumi.Input<string>;
|
|
241
|
+
/**
|
|
242
|
+
* Contains parameters related to creating an Entity for Git Experience.
|
|
243
|
+
*/
|
|
244
|
+
gitDetails?: pulumi.Input<inputs.platform.PipelineGitDetails>;
|
|
245
|
+
/**
|
|
246
|
+
* Unique identifier of the resource.
|
|
247
|
+
*/
|
|
248
|
+
identifier: pulumi.Input<string>;
|
|
249
|
+
/**
|
|
250
|
+
* Name of the resource.
|
|
251
|
+
*/
|
|
252
|
+
name?: pulumi.Input<string>;
|
|
253
|
+
/**
|
|
254
|
+
* Unique identifier of the organization.
|
|
255
|
+
*/
|
|
256
|
+
orgId: pulumi.Input<string>;
|
|
257
|
+
/**
|
|
258
|
+
* Unique identifier of the project.
|
|
259
|
+
*/
|
|
260
|
+
projectId: pulumi.Input<string>;
|
|
261
|
+
/**
|
|
262
|
+
* Tags to associate with the resource.
|
|
263
|
+
*/
|
|
264
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
265
|
+
/**
|
|
266
|
+
* If true, returns Pipeline YAML with Templates applied on it.
|
|
267
|
+
*/
|
|
268
|
+
templateApplied?: pulumi.Input<boolean>;
|
|
269
|
+
/**
|
|
270
|
+
* Pipeline YAML after resolving Templates (returned as a String).
|
|
271
|
+
*/
|
|
272
|
+
templateAppliedPipelineYaml?: pulumi.Input<string>;
|
|
273
|
+
/**
|
|
274
|
+
* YAML of the pipeline. 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.
|
|
275
|
+
*/
|
|
276
|
+
yaml: pulumi.Input<string>;
|
|
277
|
+
}
|