@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
package/service/ssh.js
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
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.Ssh = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for creating an SSH service. This resource uses the config-as-code API's. When updating the `name` or `path` of this resource you should typically also set the `createBeforeDestroy = true` lifecycle setting.
|
|
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.Application("example", {name: "example"});
|
|
18
|
+
* const exampleSsh = new harness.service.Ssh("example", {
|
|
19
|
+
* appId: example.id,
|
|
20
|
+
* artifactType: "TAR",
|
|
21
|
+
* name: "ssh-example",
|
|
22
|
+
* description: "Service for deploying applications with SSH.",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* Import using the Harness application id and service id
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import harness:service/ssh:Ssh example <app_id>/<svc_id>
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
class Ssh extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing Ssh resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name, id, state, opts) {
|
|
45
|
+
return new Ssh(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of Ssh. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj) {
|
|
52
|
+
if (obj === undefined || obj === null) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
return obj['__pulumiType'] === Ssh.__pulumiType;
|
|
56
|
+
}
|
|
57
|
+
constructor(name, argsOrState, opts) {
|
|
58
|
+
let resourceInputs = {};
|
|
59
|
+
opts = opts || {};
|
|
60
|
+
if (opts.id) {
|
|
61
|
+
const state = argsOrState;
|
|
62
|
+
resourceInputs["appId"] = state ? state.appId : undefined;
|
|
63
|
+
resourceInputs["artifactType"] = state ? state.artifactType : undefined;
|
|
64
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
65
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
66
|
+
resourceInputs["variables"] = state ? state.variables : undefined;
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
const args = argsOrState;
|
|
70
|
+
if ((!args || args.appId === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'appId'");
|
|
72
|
+
}
|
|
73
|
+
if ((!args || args.artifactType === undefined) && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'artifactType'");
|
|
75
|
+
}
|
|
76
|
+
resourceInputs["appId"] = args ? args.appId : undefined;
|
|
77
|
+
resourceInputs["artifactType"] = args ? args.artifactType : undefined;
|
|
78
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
79
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
80
|
+
resourceInputs["variables"] = args ? args.variables : undefined;
|
|
81
|
+
}
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
+
super(Ssh.__pulumiType, name, resourceInputs, opts);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.Ssh = Ssh;
|
|
87
|
+
/** @internal */
|
|
88
|
+
Ssh.__pulumiType = 'harness:service/ssh:Ssh';
|
|
89
|
+
//# sourceMappingURL=ssh.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ssh.js","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xD,CAAC;;AAnFL,kBAoFC;AAtEG,gBAAgB;AACO,gBAAY,GAAG,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,111 @@
|
|
|
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 Tanzu (PCF) service. This resource uses the config-as-code API's. When updating the `name` or `path` of this resource you should typically also set the `createBeforeDestroy = true` lifecycle setting.
|
|
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.Application("example", {name: "example"});
|
|
14
|
+
* const exampleTanzu = new harness.service.Tanzu("example", {
|
|
15
|
+
* appId: example.id,
|
|
16
|
+
* name: "tanzu-svc",
|
|
17
|
+
* description: "A service for deploying Tanzu applications.",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* Import using the Harness application id and service id
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import harness:service/tanzu:Tanzu example <app_id>/<svc_id>
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class Tanzu extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing Tanzu resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TanzuState, opts?: pulumi.CustomResourceOptions): Tanzu;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of Tanzu. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is Tanzu;
|
|
45
|
+
/**
|
|
46
|
+
* The id of the application the service belongs to
|
|
47
|
+
*/
|
|
48
|
+
readonly appId: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Description of th service
|
|
51
|
+
*/
|
|
52
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* Name of the service
|
|
55
|
+
*/
|
|
56
|
+
readonly name: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Variables to be used in the service
|
|
59
|
+
*/
|
|
60
|
+
readonly variables: pulumi.Output<outputs.service.TanzuVariable[] | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* Create a Tanzu resource with the given unique name, arguments, and options.
|
|
63
|
+
*
|
|
64
|
+
* @param name The _unique_ name of the resource.
|
|
65
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
66
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
67
|
+
*/
|
|
68
|
+
constructor(name: string, args: TanzuArgs, opts?: pulumi.CustomResourceOptions);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Input properties used for looking up and filtering Tanzu resources.
|
|
72
|
+
*/
|
|
73
|
+
export interface TanzuState {
|
|
74
|
+
/**
|
|
75
|
+
* The id of the application the service belongs to
|
|
76
|
+
*/
|
|
77
|
+
appId?: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Description of th service
|
|
80
|
+
*/
|
|
81
|
+
description?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Name of the service
|
|
84
|
+
*/
|
|
85
|
+
name?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Variables to be used in the service
|
|
88
|
+
*/
|
|
89
|
+
variables?: pulumi.Input<pulumi.Input<inputs.service.TanzuVariable>[]>;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* The set of arguments for constructing a Tanzu resource.
|
|
93
|
+
*/
|
|
94
|
+
export interface TanzuArgs {
|
|
95
|
+
/**
|
|
96
|
+
* The id of the application the service belongs to
|
|
97
|
+
*/
|
|
98
|
+
appId: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Description of th service
|
|
101
|
+
*/
|
|
102
|
+
description?: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Name of the service
|
|
105
|
+
*/
|
|
106
|
+
name?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Variables to be used in the service
|
|
109
|
+
*/
|
|
110
|
+
variables?: pulumi.Input<pulumi.Input<inputs.service.TanzuVariable>[]>;
|
|
111
|
+
}
|
package/service/tanzu.js
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
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.Tanzu = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for creating a Tanzu (PCF) service. This resource uses the config-as-code API's. When updating the `name` or `path` of this resource you should typically also set the `createBeforeDestroy = true` lifecycle setting.
|
|
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.Application("example", {name: "example"});
|
|
18
|
+
* const exampleTanzu = new harness.service.Tanzu("example", {
|
|
19
|
+
* appId: example.id,
|
|
20
|
+
* name: "tanzu-svc",
|
|
21
|
+
* description: "A service for deploying Tanzu applications.",
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* Import using the Harness application id and service id
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import harness:service/tanzu:Tanzu example <app_id>/<svc_id>
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
class Tanzu extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing Tanzu resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, state, opts) {
|
|
44
|
+
return new Tanzu(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of Tanzu. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === Tanzu.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["appId"] = state ? state.appId : undefined;
|
|
62
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
63
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
64
|
+
resourceInputs["variables"] = state ? state.variables : undefined;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
const args = argsOrState;
|
|
68
|
+
if ((!args || args.appId === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'appId'");
|
|
70
|
+
}
|
|
71
|
+
resourceInputs["appId"] = args ? args.appId : undefined;
|
|
72
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
73
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
74
|
+
resourceInputs["variables"] = args ? args.variables : undefined;
|
|
75
|
+
}
|
|
76
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
77
|
+
super(Tanzu.__pulumiType, name, resourceInputs, opts);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.Tanzu = Tanzu;
|
|
81
|
+
/** @internal */
|
|
82
|
+
Tanzu.__pulumiType = 'harness:service/tanzu:Tanzu';
|
|
83
|
+
//# sourceMappingURL=tanzu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tanzu.js","sourceRoot":"","sources":["../../service/tanzu.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,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AC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AA1EL,sBA2EC;AA7DG,gBAAgB;AACO,kBAAY,GAAG,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,124 @@
|
|
|
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 an WinRM service. This resource uses the config-as-code API's. When updating the `name` or `path` of this resource you should typically also set the `createBeforeDestroy = true` lifecycle setting.
|
|
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.Application("example", {name: "example"});
|
|
14
|
+
* const exampleWinrm = new harness.service.Winrm("example", {
|
|
15
|
+
* appId: example.id,
|
|
16
|
+
* artifactType: "IIS_APP",
|
|
17
|
+
* name: "iis-app-winrm-svc",
|
|
18
|
+
* description: "Service for deploying IIS appliactions using winrm.",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* Import using the Harness application id and service id
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import harness:service/winrm:Winrm example <app_id>/<svc_id>
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare class Winrm extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing Winrm resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WinrmState, opts?: pulumi.CustomResourceOptions): Winrm;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of Winrm. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj: any): obj is Winrm;
|
|
46
|
+
/**
|
|
47
|
+
* The id of the application the service belongs to
|
|
48
|
+
*/
|
|
49
|
+
readonly appId: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* The type of artifact to deploy.
|
|
52
|
+
*/
|
|
53
|
+
readonly artifactType: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Description of th service
|
|
56
|
+
*/
|
|
57
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* Name of the service
|
|
60
|
+
*/
|
|
61
|
+
readonly name: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Variables to be used in the service
|
|
64
|
+
*/
|
|
65
|
+
readonly variables: pulumi.Output<outputs.service.WinrmVariable[] | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* Create a Winrm resource with the given unique name, arguments, and options.
|
|
68
|
+
*
|
|
69
|
+
* @param name The _unique_ name of the resource.
|
|
70
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
71
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
72
|
+
*/
|
|
73
|
+
constructor(name: string, args: WinrmArgs, opts?: pulumi.CustomResourceOptions);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Input properties used for looking up and filtering Winrm resources.
|
|
77
|
+
*/
|
|
78
|
+
export interface WinrmState {
|
|
79
|
+
/**
|
|
80
|
+
* The id of the application the service belongs to
|
|
81
|
+
*/
|
|
82
|
+
appId?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The type of artifact to deploy.
|
|
85
|
+
*/
|
|
86
|
+
artifactType?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Description of th service
|
|
89
|
+
*/
|
|
90
|
+
description?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Name of the service
|
|
93
|
+
*/
|
|
94
|
+
name?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Variables to be used in the service
|
|
97
|
+
*/
|
|
98
|
+
variables?: pulumi.Input<pulumi.Input<inputs.service.WinrmVariable>[]>;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* The set of arguments for constructing a Winrm resource.
|
|
102
|
+
*/
|
|
103
|
+
export interface WinrmArgs {
|
|
104
|
+
/**
|
|
105
|
+
* The id of the application the service belongs to
|
|
106
|
+
*/
|
|
107
|
+
appId: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The type of artifact to deploy.
|
|
110
|
+
*/
|
|
111
|
+
artifactType: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Description of th service
|
|
114
|
+
*/
|
|
115
|
+
description?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Name of the service
|
|
118
|
+
*/
|
|
119
|
+
name?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Variables to be used in the service
|
|
122
|
+
*/
|
|
123
|
+
variables?: pulumi.Input<pulumi.Input<inputs.service.WinrmVariable>[]>;
|
|
124
|
+
}
|
package/service/winrm.js
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
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.Winrm = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for creating an WinRM service. This resource uses the config-as-code API's. When updating the `name` or `path` of this resource you should typically also set the `createBeforeDestroy = true` lifecycle setting.
|
|
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.Application("example", {name: "example"});
|
|
18
|
+
* const exampleWinrm = new harness.service.Winrm("example", {
|
|
19
|
+
* appId: example.id,
|
|
20
|
+
* artifactType: "IIS_APP",
|
|
21
|
+
* name: "iis-app-winrm-svc",
|
|
22
|
+
* description: "Service for deploying IIS appliactions using winrm.",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* Import using the Harness application id and service id
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import harness:service/winrm:Winrm example <app_id>/<svc_id>
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
class Winrm extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing Winrm resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name, id, state, opts) {
|
|
45
|
+
return new Winrm(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of Winrm. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj) {
|
|
52
|
+
if (obj === undefined || obj === null) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
return obj['__pulumiType'] === Winrm.__pulumiType;
|
|
56
|
+
}
|
|
57
|
+
constructor(name, argsOrState, opts) {
|
|
58
|
+
let resourceInputs = {};
|
|
59
|
+
opts = opts || {};
|
|
60
|
+
if (opts.id) {
|
|
61
|
+
const state = argsOrState;
|
|
62
|
+
resourceInputs["appId"] = state ? state.appId : undefined;
|
|
63
|
+
resourceInputs["artifactType"] = state ? state.artifactType : undefined;
|
|
64
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
65
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
66
|
+
resourceInputs["variables"] = state ? state.variables : undefined;
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
const args = argsOrState;
|
|
70
|
+
if ((!args || args.appId === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'appId'");
|
|
72
|
+
}
|
|
73
|
+
if ((!args || args.artifactType === undefined) && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'artifactType'");
|
|
75
|
+
}
|
|
76
|
+
resourceInputs["appId"] = args ? args.appId : undefined;
|
|
77
|
+
resourceInputs["artifactType"] = args ? args.artifactType : undefined;
|
|
78
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
79
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
80
|
+
resourceInputs["variables"] = args ? args.variables : undefined;
|
|
81
|
+
}
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
+
super(Winrm.__pulumiType, name, resourceInputs, opts);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.Winrm = Winrm;
|
|
87
|
+
/** @internal */
|
|
88
|
+
Winrm.__pulumiType = 'harness:service/winrm:Winrm';
|
|
89
|
+
//# sourceMappingURL=winrm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"winrm.js","sourceRoot":"","sources":["../../service/winrm.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqC,CAAC;YACpD,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS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AC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAnFL,sBAoFC;AAtEG,gBAAgB;AACO,kBAAY,GAAG,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,128 @@
|
|
|
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 an encrypted text secret
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as harness from "@pulumi/harness";
|
|
12
|
+
* import * as tls from "@pulumi/tls";
|
|
13
|
+
*
|
|
14
|
+
* const harnessDeployKey = new tls.index.PrivateKey("harness_deploy_key", {
|
|
15
|
+
* algorithm: "RSA",
|
|
16
|
+
* rsaBits: 4096,
|
|
17
|
+
* });
|
|
18
|
+
* const secretManager = harness.getSecretManager({
|
|
19
|
+
* "default": true,
|
|
20
|
+
* });
|
|
21
|
+
* const mySecret = new harness.EncryptedText("my_secret", {
|
|
22
|
+
* name: "my_secret",
|
|
23
|
+
* value: harnessDeployKey.privateKeyPem,
|
|
24
|
+
* secretManagerId: secretManager.then(secretManager => secretManager.id),
|
|
25
|
+
* });
|
|
26
|
+
* const sshCreds = new harness.SshCredential("ssh_creds", {
|
|
27
|
+
* name: "ssh-test",
|
|
28
|
+
* sshAuthentication: {
|
|
29
|
+
* port: 22,
|
|
30
|
+
* username: "git",
|
|
31
|
+
* inlineSsh: {
|
|
32
|
+
* sshKeyFileId: mySecret.id,
|
|
33
|
+
* },
|
|
34
|
+
* },
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* ## Import
|
|
39
|
+
*
|
|
40
|
+
* Import using the Harness ssh credential id
|
|
41
|
+
*
|
|
42
|
+
* ```sh
|
|
43
|
+
* $ pulumi import harness:index/sshCredential:SshCredential example <credential_id>
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
export declare class SshCredential extends pulumi.CustomResource {
|
|
47
|
+
/**
|
|
48
|
+
* Get an existing SshCredential resource's state with the given name, ID, and optional extra
|
|
49
|
+
* properties used to qualify the lookup.
|
|
50
|
+
*
|
|
51
|
+
* @param name The _unique_ name of the resulting resource.
|
|
52
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
53
|
+
* @param state Any extra arguments used during the lookup.
|
|
54
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
55
|
+
*/
|
|
56
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SshCredentialState, opts?: pulumi.CustomResourceOptions): SshCredential;
|
|
57
|
+
/**
|
|
58
|
+
* Returns true if the given object is an instance of SshCredential. This is designed to work even
|
|
59
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
+
*/
|
|
61
|
+
static isInstance(obj: any): obj is SshCredential;
|
|
62
|
+
/**
|
|
63
|
+
* Kerberos authentication for SSH. Cannot be used if ssh*authentication is specified
|
|
64
|
+
*/
|
|
65
|
+
readonly kerberosAuthentication: pulumi.Output<outputs.SshCredentialKerberosAuthentication | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* Name of the encrypted text secret
|
|
68
|
+
*/
|
|
69
|
+
readonly name: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Authentication method for SSH. Cannot be used if kerberos*authentication is specified. Only one of `inlineSsh`, `serverPassword`, or `sshKeyFile` should be set
|
|
72
|
+
*/
|
|
73
|
+
readonly sshAuthentication: pulumi.Output<outputs.SshCredentialSshAuthentication | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* This block is used for scoping the resource to a specific set of applications or environments.
|
|
76
|
+
*/
|
|
77
|
+
readonly usageScopes: pulumi.Output<outputs.SshCredentialUsageScope[] | undefined>;
|
|
78
|
+
/**
|
|
79
|
+
* Create a SshCredential resource with the given unique name, arguments, and options.
|
|
80
|
+
*
|
|
81
|
+
* @param name The _unique_ name of the resource.
|
|
82
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
83
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
84
|
+
*/
|
|
85
|
+
constructor(name: string, args?: SshCredentialArgs, opts?: pulumi.CustomResourceOptions);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Input properties used for looking up and filtering SshCredential resources.
|
|
89
|
+
*/
|
|
90
|
+
export interface SshCredentialState {
|
|
91
|
+
/**
|
|
92
|
+
* Kerberos authentication for SSH. Cannot be used if ssh*authentication is specified
|
|
93
|
+
*/
|
|
94
|
+
kerberosAuthentication?: pulumi.Input<inputs.SshCredentialKerberosAuthentication>;
|
|
95
|
+
/**
|
|
96
|
+
* Name of the encrypted text secret
|
|
97
|
+
*/
|
|
98
|
+
name?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Authentication method for SSH. Cannot be used if kerberos*authentication is specified. Only one of `inlineSsh`, `serverPassword`, or `sshKeyFile` should be set
|
|
101
|
+
*/
|
|
102
|
+
sshAuthentication?: pulumi.Input<inputs.SshCredentialSshAuthentication>;
|
|
103
|
+
/**
|
|
104
|
+
* This block is used for scoping the resource to a specific set of applications or environments.
|
|
105
|
+
*/
|
|
106
|
+
usageScopes?: pulumi.Input<pulumi.Input<inputs.SshCredentialUsageScope>[]>;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* The set of arguments for constructing a SshCredential resource.
|
|
110
|
+
*/
|
|
111
|
+
export interface SshCredentialArgs {
|
|
112
|
+
/**
|
|
113
|
+
* Kerberos authentication for SSH. Cannot be used if ssh*authentication is specified
|
|
114
|
+
*/
|
|
115
|
+
kerberosAuthentication?: pulumi.Input<inputs.SshCredentialKerberosAuthentication>;
|
|
116
|
+
/**
|
|
117
|
+
* Name of the encrypted text secret
|
|
118
|
+
*/
|
|
119
|
+
name?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Authentication method for SSH. Cannot be used if kerberos*authentication is specified. Only one of `inlineSsh`, `serverPassword`, or `sshKeyFile` should be set
|
|
122
|
+
*/
|
|
123
|
+
sshAuthentication?: pulumi.Input<inputs.SshCredentialSshAuthentication>;
|
|
124
|
+
/**
|
|
125
|
+
* This block is used for scoping the resource to a specific set of applications or environments.
|
|
126
|
+
*/
|
|
127
|
+
usageScopes?: pulumi.Input<pulumi.Input<inputs.SshCredentialUsageScope>[]>;
|
|
128
|
+
}
|