@pulumi/harness 0.8.0-alpha.1755712204 → 0.8.0
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/addUserToGroup.d.ts +2 -0
- package/addUserToGroup.js +2 -0
- package/addUserToGroup.js.map +1 -1
- package/application.d.ts +2 -0
- package/application.js +2 -0
- package/application.js.map +1 -1
- package/applicationGitSync.d.ts +2 -0
- package/applicationGitSync.js +2 -0
- package/applicationGitSync.js.map +1 -1
- package/chaos/getHub.d.ts +138 -0
- package/chaos/getHub.js +58 -0
- package/chaos/getHub.js.map +1 -0
- package/chaos/getImageRegistry.d.ts +159 -0
- package/chaos/getImageRegistry.js +74 -0
- package/chaos/getImageRegistry.js.map +1 -0
- package/chaos/getInfrastructureV2.d.ts +292 -0
- package/chaos/getInfrastructureV2.js +94 -0
- package/chaos/getInfrastructureV2.js.map +1 -0
- package/chaos/getSecurityGovernanceCondition.d.ts +141 -0
- package/chaos/getSecurityGovernanceCondition.js +80 -0
- package/chaos/getSecurityGovernanceCondition.js.map +1 -0
- package/chaos/getSecurityGovernanceRule.d.ts +145 -0
- package/chaos/getSecurityGovernanceRule.js +82 -0
- package/chaos/getSecurityGovernanceRule.js.map +1 -0
- package/chaos/hub.d.ts +239 -0
- package/chaos/hub.js +120 -0
- package/chaos/hub.js.map +1 -0
- package/chaos/hubSync.d.ts +78 -0
- package/chaos/hubSync.js +80 -0
- package/chaos/hubSync.js.map +1 -0
- package/chaos/imageRegistry.d.ts +214 -0
- package/chaos/imageRegistry.js +110 -0
- package/chaos/imageRegistry.js.map +1 -0
- package/chaos/index.d.ts +33 -0
- package/chaos/index.js +62 -0
- package/chaos/index.js.map +1 -0
- package/chaos/infrastructureV2.d.ts +469 -0
- package/chaos/infrastructureV2.js +144 -0
- package/chaos/infrastructureV2.js.map +1 -0
- package/chaos/securityGovernanceCondition.d.ts +283 -0
- package/chaos/securityGovernanceCondition.js +214 -0
- package/chaos/securityGovernanceCondition.js.map +1 -0
- package/chaos/securityGovernanceRule.d.ts +227 -0
- package/chaos/securityGovernanceRule.js +167 -0
- package/chaos/securityGovernanceRule.js.map +1 -0
- package/chaosInfrastructure.d.ts +5 -2
- package/chaosInfrastructure.js +5 -2
- package/chaosInfrastructure.js.map +1 -1
- package/cloudprovider/aws.d.ts +2 -0
- package/cloudprovider/aws.js +2 -0
- package/cloudprovider/aws.js.map +1 -1
- package/cloudprovider/azure.d.ts +2 -0
- package/cloudprovider/azure.js +2 -0
- package/cloudprovider/azure.js.map +1 -1
- package/cloudprovider/datacenter.d.ts +2 -0
- package/cloudprovider/datacenter.js +2 -0
- package/cloudprovider/datacenter.js.map +1 -1
- package/cloudprovider/kubernetes.d.ts +2 -0
- package/cloudprovider/kubernetes.js +2 -0
- package/cloudprovider/kubernetes.js.map +1 -1
- package/cloudprovider/spot.d.ts +2 -0
- package/cloudprovider/spot.js +2 -0
- package/cloudprovider/spot.js.map +1 -1
- package/cloudprovider/tanzu.d.ts +2 -0
- package/cloudprovider/tanzu.js +2 -0
- package/cloudprovider/tanzu.js.map +1 -1
- package/cluster/getOrchestratorConfig.d.ts +26 -2
- package/cluster/getOrchestratorConfig.js +6 -2
- package/cluster/getOrchestratorConfig.js.map +1 -1
- package/cluster/orchestrator.d.ts +0 -8
- package/cluster/orchestrator.js +0 -8
- package/cluster/orchestrator.js.map +1 -1
- package/cluster/orchestratorConfig.d.ts +104 -0
- package/cluster/orchestratorConfig.js +84 -0
- package/cluster/orchestratorConfig.js.map +1 -1
- package/delegateApproval.d.ts +2 -0
- package/delegateApproval.js +2 -0
- package/delegateApproval.js.map +1 -1
- package/encryptedText.d.ts +2 -0
- package/encryptedText.js +2 -0
- package/encryptedText.js.map +1 -1
- package/environment.d.ts +2 -0
- package/environment.js +2 -0
- package/environment.js.map +1 -1
- package/getCurrentAccount.d.ts +3 -3
- package/gitConnector.d.ts +2 -0
- package/gitConnector.js +2 -0
- package/gitConnector.js.map +1 -1
- package/governance/rule.d.ts +2 -0
- package/governance/rule.js +2 -0
- package/governance/rule.js.map +1 -1
- package/governance/ruleEnforcement.d.ts +2 -0
- package/governance/ruleEnforcement.js +2 -0
- package/governance/ruleEnforcement.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/infrastructureDefinition.d.ts +2 -0
- package/infrastructureDefinition.js +2 -0
- package/infrastructureDefinition.js.map +1 -1
- package/package.json +2 -2
- package/platform/appDynamicsConnector.d.ts +2 -0
- package/platform/appDynamicsConnector.js +2 -0
- package/platform/appDynamicsConnector.js.map +1 -1
- package/platform/artifactoryConnector.d.ts +2 -0
- package/platform/artifactoryConnector.js +2 -0
- package/platform/artifactoryConnector.js.map +1 -1
- package/platform/awsCCConnector.d.ts +2 -0
- package/platform/awsCCConnector.js +2 -0
- package/platform/awsCCConnector.js.map +1 -1
- package/platform/awsConnector.d.ts +5 -3
- package/platform/awsConnector.js +2 -0
- package/platform/awsConnector.js.map +1 -1
- package/platform/awsKmsConnector.d.ts +17 -3
- package/platform/awsKmsConnector.js +5 -4
- package/platform/awsKmsConnector.js.map +1 -1
- package/platform/awsSecretManagerConnector.d.ts +6 -4
- package/platform/awsSecretManagerConnector.js +3 -1
- package/platform/awsSecretManagerConnector.js.map +1 -1
- package/platform/azureCloudCostConnector.d.ts +14 -0
- package/platform/azureCloudCostConnector.js +4 -0
- package/platform/azureCloudCostConnector.js.map +1 -1
- package/platform/azureCloudProviderConnector.d.ts +2 -0
- package/platform/azureCloudProviderConnector.js +2 -0
- package/platform/azureCloudProviderConnector.js.map +1 -1
- package/platform/azureKeyVaultConnector.d.ts +4 -0
- package/platform/azureKeyVaultConnector.js +4 -0
- package/platform/azureKeyVaultConnector.js.map +1 -1
- package/platform/bitbucketConnector.d.ts +2 -0
- package/platform/bitbucketConnector.js +2 -0
- package/platform/bitbucketConnector.js.map +1 -1
- package/platform/connectorAzureArtifacts.d.ts +3 -0
- package/platform/connectorAzureArtifacts.js +3 -0
- package/platform/connectorAzureArtifacts.js.map +1 -1
- package/platform/connectorAzureRepo.d.ts +6 -6
- package/platform/connectorAzureRepo.js +3 -0
- package/platform/connectorAzureRepo.js.map +1 -1
- package/platform/connectorCustomSecretManager.d.ts +22 -87
- package/platform/connectorCustomSecretManager.js +1 -21
- package/platform/connectorCustomSecretManager.js.map +1 -1
- package/platform/connectorCustomhealthsource.d.ts +2 -0
- package/platform/connectorCustomhealthsource.js +2 -0
- package/platform/connectorCustomhealthsource.js.map +1 -1
- package/platform/connectorGcpKms.d.ts +2 -0
- package/platform/connectorGcpKms.js +2 -0
- package/platform/connectorGcpKms.js.map +1 -1
- package/platform/connectorJdbc.d.ts +2 -0
- package/platform/connectorJdbc.js +2 -0
- package/platform/connectorJdbc.js.map +1 -1
- package/platform/connectorPdc.d.ts +6 -6
- package/platform/connectorPdc.js +3 -3
- package/platform/connectorRancher.d.ts +2 -0
- package/platform/connectorRancher.js +2 -0
- package/platform/connectorRancher.js.map +1 -1
- package/platform/dashboardFolders.d.ts +1 -1
- package/platform/dashboardFolders.js +1 -1
- package/platform/dashboards.d.ts +5 -7
- package/platform/dashboards.js +5 -7
- package/platform/dashboards.js.map +1 -1
- package/platform/datadogConnector.d.ts +2 -0
- package/platform/datadogConnector.js +2 -0
- package/platform/datadogConnector.js.map +1 -1
- package/platform/dbInstance.d.ts +2 -0
- package/platform/dbInstance.js +2 -0
- package/platform/dbInstance.js.map +1 -1
- package/platform/dbSchema.d.ts +11 -9
- package/platform/dbSchema.js +2 -0
- package/platform/dbSchema.js.map +1 -1
- package/platform/dockerConnector.d.ts +2 -2
- package/platform/dockerConnector.js +2 -2
- package/platform/dynatraceConnector.d.ts +2 -0
- package/platform/dynatraceConnector.js +2 -0
- package/platform/dynatraceConnector.js.map +1 -1
- package/platform/elasticsearchConnector.d.ts +9 -7
- package/platform/elasticsearchConnector.js +6 -4
- package/platform/elasticsearchConnector.js.map +1 -1
- package/platform/environment.d.ts +11 -268
- package/platform/environment.js +2 -256
- package/platform/environment.js.map +1 -1
- package/platform/environmentClustersMapping.d.ts +4 -0
- package/platform/environmentClustersMapping.js +4 -0
- package/platform/environmentClustersMapping.js.map +1 -1
- package/platform/environmentGroup.d.ts +6 -50
- package/platform/environmentGroup.js +3 -38
- package/platform/environmentGroup.js.map +1 -1
- package/platform/environmentServiceOverrides.d.ts +9 -94
- package/platform/environmentServiceOverrides.js +3 -88
- package/platform/environmentServiceOverrides.js.map +1 -1
- package/platform/featureFlagTargetGroup.d.ts +4 -4
- package/platform/featureFlagTargetGroup.js +4 -4
- package/platform/fileStoreFile.d.ts +5 -3
- package/platform/fileStoreFile.js +2 -0
- package/platform/fileStoreFile.js.map +1 -1
- package/platform/fileStoreFolder.d.ts +5 -3
- package/platform/fileStoreFolder.js +2 -0
- package/platform/fileStoreFolder.js.map +1 -1
- package/platform/filters.d.ts +4 -0
- package/platform/filters.js +4 -0
- package/platform/filters.js.map +1 -1
- package/platform/gcpCloudCostConnector.d.ts +2 -0
- package/platform/gcpCloudCostConnector.js +2 -0
- package/platform/gcpCloudCostConnector.js.map +1 -1
- package/platform/gcpConnector.d.ts +2 -0
- package/platform/gcpConnector.js +2 -0
- package/platform/gcpConnector.js.map +1 -1
- package/platform/gcpSecretManagerConnector.d.ts +3 -50
- package/platform/gcpSecretManagerConnector.js +3 -50
- package/platform/gcpSecretManagerConnector.js.map +1 -1
- package/platform/getApiKey.d.ts +8 -42
- package/platform/getApiKey.js +2 -36
- package/platform/getApiKey.js.map +1 -1
- package/platform/getAwsKmsConnector.d.ts +5 -0
- package/platform/getAwsKmsConnector.js +4 -0
- package/platform/getAwsKmsConnector.js.map +1 -1
- package/platform/getAwsSecretManagerConnector.d.ts +7 -3
- package/platform/getAwsSecretManagerConnector.js +4 -0
- package/platform/getAwsSecretManagerConnector.js.map +1 -1
- package/platform/getAzureCloudCostConnector.d.ts +1 -0
- package/platform/getAzureCloudCostConnector.js.map +1 -1
- package/platform/getConnectorAzureRepo.d.ts +69 -0
- package/platform/getConnectorAzureRepo.js +6 -0
- package/platform/getConnectorAzureRepo.js.map +1 -1
- package/platform/getConnectorCustomSecretManager.d.ts +36 -36
- package/platform/getConnectorCustomSecretManager.js +2 -20
- package/platform/getConnectorCustomSecretManager.js.map +1 -1
- package/platform/getConnectorPdc.d.ts +3 -3
- package/platform/getConnectorPdc.js +2 -2
- package/platform/getCurrentAccount.d.ts +2 -20
- package/platform/getCurrentAccount.js +2 -20
- package/platform/getCurrentAccount.js.map +1 -1
- package/platform/getDashboardFolders.d.ts +22 -7
- package/platform/getDashboardFolders.js +4 -4
- package/platform/getDashboardFolders.js.map +1 -1
- package/platform/getDashboards.d.ts +21 -9
- package/platform/getDashboards.js +4 -4
- package/platform/getDashboards.js.map +1 -1
- package/platform/getDbInstance.d.ts +9 -0
- package/platform/getDbInstance.js.map +1 -1
- package/platform/getDbSchema.d.ts +10 -9
- package/platform/getDbSchema.js +0 -4
- package/platform/getDbSchema.js.map +1 -1
- package/platform/getEnvironment.d.ts +9 -0
- package/platform/getEnvironment.js.map +1 -1
- package/platform/getEnvironmentList.d.ts +20 -70
- package/platform/getEnvironmentList.js +2 -70
- package/platform/getEnvironmentList.js.map +1 -1
- package/platform/getEnvironmentServiceOverrides.d.ts +6 -6
- package/platform/getFilters.d.ts +4 -0
- package/platform/getFilters.js +4 -0
- package/platform/getFilters.js.map +1 -1
- package/platform/getGcpSecretManagerConnector.d.ts +4 -0
- package/platform/getGcpSecretManagerConnector.js +4 -0
- package/platform/getGcpSecretManagerConnector.js.map +1 -1
- package/platform/getGithubConnector.d.ts +3 -0
- package/platform/getGithubConnector.js.map +1 -1
- package/platform/getGitopsApplications.d.ts +9 -0
- package/platform/getGitopsApplications.js.map +1 -1
- package/platform/getGitopsFilters.d.ts +25 -10
- package/platform/getGitopsFilters.js.map +1 -1
- package/platform/getGitxWebhook.d.ts +3 -3
- package/platform/getHarRegistry.d.ts +71 -11
- package/platform/getHarRegistry.js +2 -2
- package/platform/getHarRegistry.js.map +1 -1
- package/platform/getIacmDefaultPipeline.d.ts +28 -0
- package/platform/getIacmDefaultPipeline.js +28 -0
- package/platform/getIacmDefaultPipeline.js.map +1 -1
- package/platform/getInfraVariableSet.d.ts +40 -23
- package/platform/getInfraVariableSet.js +18 -4
- package/platform/getInfraVariableSet.js.map +1 -1
- package/platform/getInfrastructure.d.ts +9 -0
- package/platform/getInfrastructure.js.map +1 -1
- package/platform/getManualFreeze.d.ts +0 -28
- package/platform/getManualFreeze.js +0 -28
- package/platform/getManualFreeze.js.map +1 -1
- package/platform/getMonitoredService.d.ts +26 -0
- package/platform/getMonitoredService.js +26 -0
- package/platform/getMonitoredService.js.map +1 -1
- package/platform/getOrganization.d.ts +4 -0
- package/platform/getOrganization.js +4 -0
- package/platform/getOrganization.js.map +1 -1
- package/platform/getOverrides.d.ts +86 -0
- package/platform/getOverrides.js +32 -0
- package/platform/getOverrides.js.map +1 -1
- package/platform/getPagerdutyConnector.d.ts +4 -0
- package/platform/getPagerdutyConnector.js +4 -0
- package/platform/getPagerdutyConnector.js.map +1 -1
- package/platform/getPipelineList.d.ts +23 -76
- package/platform/getPipelineList.js +2 -58
- package/platform/getPipelineList.js.map +1 -1
- package/platform/getProject.d.ts +4 -0
- package/platform/getProject.js +4 -0
- package/platform/getProject.js.map +1 -1
- package/platform/getProjectList.d.ts +22 -75
- package/platform/getProjectList.js +2 -58
- package/platform/getProjectList.js.map +1 -1
- package/platform/getProvider.d.ts +15 -0
- package/platform/getProvider.js +6 -0
- package/platform/getProvider.js.map +1 -1
- package/platform/getResourceGroup.d.ts +4 -0
- package/platform/getResourceGroup.js +4 -0
- package/platform/getResourceGroup.js.map +1 -1
- package/platform/getRoleAssignments.d.ts +6 -2
- package/platform/getRoleAssignments.js +4 -0
- package/platform/getRoleAssignments.js.map +1 -1
- package/platform/getRoles.d.ts +4 -0
- package/platform/getRoles.js +4 -0
- package/platform/getRoles.js.map +1 -1
- package/platform/getSecretFile.d.ts +4 -0
- package/platform/getSecretFile.js +4 -0
- package/platform/getSecretFile.js.map +1 -1
- package/platform/getSecretSshkey.d.ts +4 -0
- package/platform/getSecretSshkey.js +4 -0
- package/platform/getSecretSshkey.js.map +1 -1
- package/platform/getService.d.ts +9 -0
- package/platform/getService.js.map +1 -1
- package/platform/getServiceAccount.d.ts +4 -0
- package/platform/getServiceAccount.js +4 -0
- package/platform/getServiceAccount.js.map +1 -1
- package/platform/getServiceList.d.ts +38 -70
- package/platform/getServiceList.js +2 -70
- package/platform/getServiceList.js.map +1 -1
- package/platform/getServiceOverridesV2.d.ts +54 -0
- package/platform/getServiceOverridesV2.js.map +1 -1
- package/platform/getSlo.d.ts +26 -0
- package/platform/getSlo.js +26 -0
- package/platform/getSlo.js.map +1 -1
- package/platform/getToken.d.ts +2 -0
- package/platform/getToken.js +2 -0
- package/platform/getToken.js.map +1 -1
- package/platform/getUser.d.ts +4 -0
- package/platform/getUser.js +4 -0
- package/platform/getUser.js.map +1 -1
- package/platform/getUsergroup.d.ts +4 -0
- package/platform/getUsergroup.js +4 -0
- package/platform/getUsergroup.js.map +1 -1
- package/platform/getVariables.d.ts +4 -0
- package/platform/getVariables.js +4 -0
- package/platform/getVariables.js.map +1 -1
- package/platform/getVaultConnector.d.ts +5 -1
- package/platform/getVaultConnector.js +4 -0
- package/platform/getVaultConnector.js.map +1 -1
- package/platform/getWorkspace.d.ts +12 -3
- package/platform/getWorkspace.js.map +1 -1
- package/platform/gitConnector.d.ts +2 -0
- package/platform/gitConnector.js +2 -0
- package/platform/gitConnector.js.map +1 -1
- package/platform/gitOpsAgent.d.ts +2 -0
- package/platform/gitOpsAgent.js +2 -0
- package/platform/gitOpsAgent.js.map +1 -1
- package/platform/gitOpsApplications.d.ts +2 -0
- package/platform/gitOpsApplications.js +2 -0
- package/platform/gitOpsApplications.js.map +1 -1
- package/platform/gitOpsCluster.d.ts +14 -0
- package/platform/gitOpsCluster.js +4 -0
- package/platform/gitOpsCluster.js.map +1 -1
- package/platform/gitOpsGnupg.d.ts +2 -0
- package/platform/gitOpsGnupg.js +2 -0
- package/platform/gitOpsGnupg.js.map +1 -1
- package/platform/gitOpsRepoCert.d.ts +2 -0
- package/platform/gitOpsRepoCert.js +2 -0
- package/platform/gitOpsRepoCert.js.map +1 -1
- package/platform/gitOpsRepoCred.d.ts +2 -0
- package/platform/gitOpsRepoCred.js +2 -0
- package/platform/gitOpsRepoCred.js.map +1 -1
- package/platform/gitOpsRepository.d.ts +2 -0
- package/platform/gitOpsRepository.js +2 -0
- package/platform/gitOpsRepository.js.map +1 -1
- package/platform/githubConnector.d.ts +5 -3
- package/platform/githubConnector.js +2 -0
- package/platform/githubConnector.js.map +1 -1
- package/platform/gitlabConnector.d.ts +2 -0
- package/platform/gitlabConnector.js +2 -0
- package/platform/gitlabConnector.js.map +1 -1
- package/platform/gitopsAppProject.d.ts +2 -0
- package/platform/gitopsAppProject.js +2 -0
- package/platform/gitopsAppProject.js.map +1 -1
- package/platform/gitopsAppProjectMapping.d.ts +2 -0
- package/platform/gitopsAppProjectMapping.js +2 -0
- package/platform/gitopsAppProjectMapping.js.map +1 -1
- package/platform/gitopsApplicationset.d.ts +49 -0
- package/platform/gitopsApplicationset.js +49 -0
- package/platform/gitopsApplicationset.js.map +1 -1
- package/platform/gitopsFilters.d.ts +22 -86
- package/platform/gitopsFilters.js +1 -65
- package/platform/gitopsFilters.js.map +1 -1
- package/platform/gitxWebhook.d.ts +2 -0
- package/platform/gitxWebhook.js +2 -0
- package/platform/gitxWebhook.js.map +1 -1
- package/platform/harRegistry.d.ts +13 -13
- package/platform/harRegistry.js +0 -3
- package/platform/harRegistry.js.map +1 -1
- package/platform/helmConnector.d.ts +2 -0
- package/platform/helmConnector.js +2 -0
- package/platform/helmConnector.js.map +1 -1
- package/platform/iacmDefaultPipeline.d.ts +15 -0
- package/platform/iacmDefaultPipeline.js +15 -0
- package/platform/iacmDefaultPipeline.js.map +1 -1
- package/platform/infraModule.d.ts +3 -1
- package/platform/infraModule.js +3 -1
- package/platform/infraModule.js.map +1 -1
- package/platform/infraVariableSet.d.ts +18 -10
- package/platform/infraVariableSet.js +12 -4
- package/platform/infraVariableSet.js.map +1 -1
- package/platform/infrastructure.d.ts +8 -123
- package/platform/infrastructure.js +2 -117
- package/platform/infrastructure.js.map +1 -1
- package/platform/inputSet.d.ts +2 -0
- package/platform/inputSet.js +2 -0
- package/platform/inputSet.js.map +1 -1
- package/platform/jenkinsConnector.d.ts +4 -0
- package/platform/jenkinsConnector.js +4 -0
- package/platform/jenkinsConnector.js.map +1 -1
- package/platform/jiraConnector.d.ts +2 -1
- package/platform/jiraConnector.js +2 -1
- package/platform/jiraConnector.js.map +1 -1
- package/platform/kubernetesCloudCostConnector.d.ts +17 -5
- package/platform/kubernetesCloudCostConnector.js +14 -2
- package/platform/kubernetesCloudCostConnector.js.map +1 -1
- package/platform/kubernetesConnector.d.ts +2 -0
- package/platform/kubernetesConnector.js +2 -0
- package/platform/kubernetesConnector.js.map +1 -1
- package/platform/manualFreeze.d.ts +3 -79
- package/platform/manualFreeze.js +3 -79
- package/platform/manualFreeze.js.map +1 -1
- package/platform/monitoredService.d.ts +8 -6
- package/platform/monitoredService.js +8 -6
- package/platform/monitoredService.js.map +1 -1
- package/platform/newrelicConnector.d.ts +2 -0
- package/platform/newrelicConnector.js +2 -0
- package/platform/newrelicConnector.js.map +1 -1
- package/platform/nexusConnector.d.ts +2 -2
- package/platform/nexusConnector.js +2 -2
- package/platform/notificationRule.d.ts +2 -0
- package/platform/notificationRule.js +2 -0
- package/platform/notificationRule.js.map +1 -1
- package/platform/ociHelmConnector.d.ts +2 -0
- package/platform/ociHelmConnector.js +2 -0
- package/platform/ociHelmConnector.js.map +1 -1
- package/platform/organization.d.ts +4 -0
- package/platform/organization.js +4 -0
- package/platform/organization.js.map +1 -1
- package/platform/overrides.d.ts +25 -0
- package/platform/overrides.js +25 -0
- package/platform/overrides.js.map +1 -1
- package/platform/pagerdutyConnector.d.ts +4 -0
- package/platform/pagerdutyConnector.js +4 -0
- package/platform/pagerdutyConnector.js.map +1 -1
- package/platform/pipeline.d.ts +9 -1
- package/platform/pipeline.js +9 -1
- package/platform/pipeline.js.map +1 -1
- package/platform/pipelineFilters.d.ts +2 -0
- package/platform/pipelineFilters.js +2 -0
- package/platform/pipelineFilters.js.map +1 -1
- package/platform/policy.d.ts +3 -13
- package/platform/policy.js +3 -13
- package/platform/policy.js.map +1 -1
- package/platform/policySet.d.ts +2 -0
- package/platform/policySet.js +2 -0
- package/platform/policySet.js.map +1 -1
- package/platform/project.d.ts +4 -0
- package/platform/project.js +4 -0
- package/platform/project.js.map +1 -1
- package/platform/prometheusConnector.d.ts +2 -0
- package/platform/prometheusConnector.js +2 -0
- package/platform/prometheusConnector.js.map +1 -1
- package/platform/provider.d.ts +3 -0
- package/platform/provider.js +3 -0
- package/platform/provider.js.map +1 -1
- package/platform/repo.d.ts +21 -0
- package/platform/repo.js +21 -0
- package/platform/repo.js.map +1 -1
- package/platform/resourceGroup.d.ts +7 -3
- package/platform/resourceGroup.js +4 -0
- package/platform/resourceGroup.js.map +1 -1
- package/platform/roleAssignments.d.ts +9 -7
- package/platform/roleAssignments.js +3 -1
- package/platform/roleAssignments.js.map +1 -1
- package/platform/roles.d.ts +4 -0
- package/platform/roles.js +4 -0
- package/platform/roles.js.map +1 -1
- package/platform/secretFile.d.ts +4 -0
- package/platform/secretFile.js +4 -0
- package/platform/secretFile.js.map +1 -1
- package/platform/secretSshkey.d.ts +3 -1
- package/platform/secretSshkey.js +3 -1
- package/platform/secretSshkey.js.map +1 -1
- package/platform/secretText.d.ts +42 -0
- package/platform/secretText.js +42 -0
- package/platform/secretText.js.map +1 -1
- package/platform/service.d.ts +6 -250
- package/platform/service.js +3 -238
- package/platform/service.js.map +1 -1
- package/platform/serviceAccount.d.ts +4 -0
- package/platform/serviceAccount.js +4 -0
- package/platform/serviceAccount.js.map +1 -1
- package/platform/serviceNowConnector.d.ts +2 -1
- package/platform/serviceNowConnector.js +2 -1
- package/platform/serviceNowConnector.js.map +1 -1
- package/platform/serviceOverridesV2.d.ts +2 -105
- package/platform/serviceOverridesV2.js +2 -105
- package/platform/serviceOverridesV2.js.map +1 -1
- package/platform/slo.d.ts +6 -9
- package/platform/slo.js +6 -9
- package/platform/slo.js.map +1 -1
- package/platform/splunkConnector.d.ts +2 -0
- package/platform/splunkConnector.js +2 -0
- package/platform/splunkConnector.js.map +1 -1
- package/platform/spotConnector.d.ts +2 -0
- package/platform/spotConnector.js +2 -0
- package/platform/spotConnector.js.map +1 -1
- package/platform/sumologicConnector.d.ts +2 -0
- package/platform/sumologicConnector.js +2 -0
- package/platform/sumologicConnector.js.map +1 -1
- package/platform/tasConnector.d.ts +2 -0
- package/platform/tasConnector.js +2 -0
- package/platform/tasConnector.js.map +1 -1
- package/platform/template.d.ts +11 -9
- package/platform/template.js +2 -0
- package/platform/template.js.map +1 -1
- package/platform/templateFilters.d.ts +2 -0
- package/platform/templateFilters.js +2 -0
- package/platform/templateFilters.js.map +1 -1
- package/platform/terraformCloudConnector.d.ts +2 -0
- package/platform/terraformCloudConnector.js +2 -0
- package/platform/terraformCloudConnector.js.map +1 -1
- package/platform/token.d.ts +3 -1
- package/platform/token.js +3 -1
- package/platform/token.js.map +1 -1
- package/platform/triggers.d.ts +4 -0
- package/platform/triggers.js +4 -0
- package/platform/triggers.js.map +1 -1
- package/platform/user.d.ts +6 -4
- package/platform/user.js +3 -1
- package/platform/user.js.map +1 -1
- package/platform/usergroup.d.ts +35 -3
- package/platform/usergroup.js +32 -0
- package/platform/usergroup.js.map +1 -1
- package/platform/variables.d.ts +4 -0
- package/platform/variables.js +4 -0
- package/platform/variables.js.map +1 -1
- package/platform/vaultConnector.d.ts +7 -3
- package/platform/vaultConnector.js +4 -0
- package/platform/vaultConnector.js.map +1 -1
- package/platform/workspace.d.ts +9 -3
- package/platform/workspace.js +6 -0
- package/platform/workspace.js.map +1 -1
- package/platformApiKey.d.ts +3 -36
- package/platformApiKey.js +3 -36
- package/platformApiKey.js.map +1 -1
- package/platformCcmFilters.d.ts +5 -3
- package/platformCcmFilters.js +2 -0
- package/platformCcmFilters.js.map +1 -1
- package/service/ami.d.ts +2 -0
- package/service/ami.js +2 -0
- package/service/ami.js.map +1 -1
- package/service/codedeploy.d.ts +2 -0
- package/service/codedeploy.js +2 -0
- package/service/codedeploy.js.map +1 -1
- package/service/discoveryAgent.d.ts +409 -0
- package/service/discoveryAgent.js +255 -0
- package/service/discoveryAgent.js.map +1 -0
- package/service/discoverySetting.d.ts +123 -0
- package/service/discoverySetting.js +80 -0
- package/service/discoverySetting.js.map +1 -0
- package/service/ecs.d.ts +2 -0
- package/service/ecs.js +2 -0
- package/service/ecs.js.map +1 -1
- package/service/getDiscoveryAgent.d.ts +205 -0
- package/service/getDiscoveryAgent.js +88 -0
- package/service/getDiscoveryAgent.js.map +1 -0
- package/service/getDiscoverySetting.d.ts +103 -0
- package/service/getDiscoverySetting.js +60 -0
- package/service/getDiscoverySetting.js.map +1 -0
- package/service/helm.d.ts +2 -0
- package/service/helm.js +2 -0
- package/service/helm.js.map +1 -1
- package/service/index.d.ts +12 -0
- package/service/index.js +17 -1
- package/service/index.js.map +1 -1
- package/service/kubernetes.d.ts +2 -0
- package/service/kubernetes.js +2 -0
- package/service/kubernetes.js.map +1 -1
- package/service/lambda.d.ts +2 -0
- package/service/lambda.js +2 -0
- package/service/lambda.js.map +1 -1
- package/service/ssh.d.ts +2 -0
- package/service/ssh.js +2 -0
- package/service/ssh.js.map +1 -1
- package/service/tanzu.d.ts +2 -0
- package/service/tanzu.js +2 -0
- package/service/tanzu.js.map +1 -1
- package/service/winrm.d.ts +2 -0
- package/service/winrm.js +2 -0
- package/service/winrm.js.map +1 -1
- package/sshCredential.d.ts +2 -0
- package/sshCredential.js +2 -0
- package/sshCredential.js.map +1 -1
- package/types/input.d.ts +1312 -190
- package/types/output.d.ts +12685 -11229
- package/user.d.ts +2 -0
- package/user.js +2 -0
- package/user.js.map +1 -1
- package/userGroup.d.ts +2 -0
- package/userGroup.js +2 -0
- package/userGroup.js.map +1 -1
- package/yamlConfig.d.ts +2 -0
- package/yamlConfig.js +2 -0
- package/yamlConfig.js.map +1 -1
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data source for retrieving a Harness Chaos Security Governance Rule.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as harness from "@pulumi/harness";
|
|
11
|
+
*
|
|
12
|
+
* // Data sources to verify the rules
|
|
13
|
+
* const example = harness.chaos.getSecurityGovernanceRule({
|
|
14
|
+
* id: "<rule_id>",
|
|
15
|
+
* orgId: "<org_id>",
|
|
16
|
+
* projectId: "<project_id>",
|
|
17
|
+
* });
|
|
18
|
+
* const exampleLinux = harness.chaos.getSecurityGovernanceRule({
|
|
19
|
+
* id: "<rule_id>",
|
|
20
|
+
* orgId: "<org_id>",
|
|
21
|
+
* projectId: "<project_id>",
|
|
22
|
+
* });
|
|
23
|
+
* const exampleWindows = harness.chaos.getSecurityGovernanceRule({
|
|
24
|
+
* id: "<rule_id>",
|
|
25
|
+
* orgId: "<org_id>",
|
|
26
|
+
* projectId: "<project_id>",
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare function getSecurityGovernanceRule(args: GetSecurityGovernanceRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetSecurityGovernanceRuleResult>;
|
|
31
|
+
/**
|
|
32
|
+
* A collection of arguments for invoking getSecurityGovernanceRule.
|
|
33
|
+
*/
|
|
34
|
+
export interface GetSecurityGovernanceRuleArgs {
|
|
35
|
+
/**
|
|
36
|
+
* The ID of the rule.
|
|
37
|
+
*/
|
|
38
|
+
id?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The name of the rule.
|
|
41
|
+
*/
|
|
42
|
+
name?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The organization identifier.
|
|
45
|
+
*/
|
|
46
|
+
orgId: string;
|
|
47
|
+
/**
|
|
48
|
+
* The project identifier.
|
|
49
|
+
*/
|
|
50
|
+
projectId: string;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* A collection of values returned by getSecurityGovernanceRule.
|
|
54
|
+
*/
|
|
55
|
+
export interface GetSecurityGovernanceRuleResult {
|
|
56
|
+
/**
|
|
57
|
+
* List of condition IDs associated with the rule.
|
|
58
|
+
*/
|
|
59
|
+
readonly conditionIds: string[];
|
|
60
|
+
/**
|
|
61
|
+
* The description of the rule.
|
|
62
|
+
*/
|
|
63
|
+
readonly description: string;
|
|
64
|
+
/**
|
|
65
|
+
* The ID of the rule.
|
|
66
|
+
*/
|
|
67
|
+
readonly id?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Whether the rule is enabled.
|
|
70
|
+
*/
|
|
71
|
+
readonly isEnabled: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* The name of the rule.
|
|
74
|
+
*/
|
|
75
|
+
readonly name?: string;
|
|
76
|
+
/**
|
|
77
|
+
* The organization identifier.
|
|
78
|
+
*/
|
|
79
|
+
readonly orgId: string;
|
|
80
|
+
/**
|
|
81
|
+
* The project identifier.
|
|
82
|
+
*/
|
|
83
|
+
readonly projectId: string;
|
|
84
|
+
/**
|
|
85
|
+
* Tags associated with the rule.
|
|
86
|
+
*/
|
|
87
|
+
readonly tags: string[];
|
|
88
|
+
/**
|
|
89
|
+
* Time windows when the rule is active.
|
|
90
|
+
*/
|
|
91
|
+
readonly timeWindows: outputs.chaos.GetSecurityGovernanceRuleTimeWindow[];
|
|
92
|
+
/**
|
|
93
|
+
* List of user group IDs associated with the rule.
|
|
94
|
+
*/
|
|
95
|
+
readonly userGroupIds: string[];
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Data source for retrieving a Harness Chaos Security Governance Rule.
|
|
99
|
+
*
|
|
100
|
+
* ## Example Usage
|
|
101
|
+
*
|
|
102
|
+
* ```typescript
|
|
103
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
104
|
+
* import * as harness from "@pulumi/harness";
|
|
105
|
+
*
|
|
106
|
+
* // Data sources to verify the rules
|
|
107
|
+
* const example = harness.chaos.getSecurityGovernanceRule({
|
|
108
|
+
* id: "<rule_id>",
|
|
109
|
+
* orgId: "<org_id>",
|
|
110
|
+
* projectId: "<project_id>",
|
|
111
|
+
* });
|
|
112
|
+
* const exampleLinux = harness.chaos.getSecurityGovernanceRule({
|
|
113
|
+
* id: "<rule_id>",
|
|
114
|
+
* orgId: "<org_id>",
|
|
115
|
+
* projectId: "<project_id>",
|
|
116
|
+
* });
|
|
117
|
+
* const exampleWindows = harness.chaos.getSecurityGovernanceRule({
|
|
118
|
+
* id: "<rule_id>",
|
|
119
|
+
* orgId: "<org_id>",
|
|
120
|
+
* projectId: "<project_id>",
|
|
121
|
+
* });
|
|
122
|
+
* ```
|
|
123
|
+
*/
|
|
124
|
+
export declare function getSecurityGovernanceRuleOutput(args: GetSecurityGovernanceRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSecurityGovernanceRuleResult>;
|
|
125
|
+
/**
|
|
126
|
+
* A collection of arguments for invoking getSecurityGovernanceRule.
|
|
127
|
+
*/
|
|
128
|
+
export interface GetSecurityGovernanceRuleOutputArgs {
|
|
129
|
+
/**
|
|
130
|
+
* The ID of the rule.
|
|
131
|
+
*/
|
|
132
|
+
id?: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* The name of the rule.
|
|
135
|
+
*/
|
|
136
|
+
name?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* The organization identifier.
|
|
139
|
+
*/
|
|
140
|
+
orgId: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* The project identifier.
|
|
143
|
+
*/
|
|
144
|
+
projectId: pulumi.Input<string>;
|
|
145
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.getSecurityGovernanceRuleOutput = exports.getSecurityGovernanceRule = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data source for retrieving a Harness Chaos Security Governance Rule.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as harness from "@pulumi/harness";
|
|
16
|
+
*
|
|
17
|
+
* // Data sources to verify the rules
|
|
18
|
+
* const example = harness.chaos.getSecurityGovernanceRule({
|
|
19
|
+
* id: "<rule_id>",
|
|
20
|
+
* orgId: "<org_id>",
|
|
21
|
+
* projectId: "<project_id>",
|
|
22
|
+
* });
|
|
23
|
+
* const exampleLinux = harness.chaos.getSecurityGovernanceRule({
|
|
24
|
+
* id: "<rule_id>",
|
|
25
|
+
* orgId: "<org_id>",
|
|
26
|
+
* projectId: "<project_id>",
|
|
27
|
+
* });
|
|
28
|
+
* const exampleWindows = harness.chaos.getSecurityGovernanceRule({
|
|
29
|
+
* id: "<rule_id>",
|
|
30
|
+
* orgId: "<org_id>",
|
|
31
|
+
* projectId: "<project_id>",
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
function getSecurityGovernanceRule(args, opts) {
|
|
36
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
37
|
+
return pulumi.runtime.invoke("harness:chaos/getSecurityGovernanceRule:getSecurityGovernanceRule", {
|
|
38
|
+
"id": args.id,
|
|
39
|
+
"name": args.name,
|
|
40
|
+
"orgId": args.orgId,
|
|
41
|
+
"projectId": args.projectId,
|
|
42
|
+
}, opts);
|
|
43
|
+
}
|
|
44
|
+
exports.getSecurityGovernanceRule = getSecurityGovernanceRule;
|
|
45
|
+
/**
|
|
46
|
+
* Data source for retrieving a Harness Chaos Security Governance Rule.
|
|
47
|
+
*
|
|
48
|
+
* ## Example Usage
|
|
49
|
+
*
|
|
50
|
+
* ```typescript
|
|
51
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
52
|
+
* import * as harness from "@pulumi/harness";
|
|
53
|
+
*
|
|
54
|
+
* // Data sources to verify the rules
|
|
55
|
+
* const example = harness.chaos.getSecurityGovernanceRule({
|
|
56
|
+
* id: "<rule_id>",
|
|
57
|
+
* orgId: "<org_id>",
|
|
58
|
+
* projectId: "<project_id>",
|
|
59
|
+
* });
|
|
60
|
+
* const exampleLinux = harness.chaos.getSecurityGovernanceRule({
|
|
61
|
+
* id: "<rule_id>",
|
|
62
|
+
* orgId: "<org_id>",
|
|
63
|
+
* projectId: "<project_id>",
|
|
64
|
+
* });
|
|
65
|
+
* const exampleWindows = harness.chaos.getSecurityGovernanceRule({
|
|
66
|
+
* id: "<rule_id>",
|
|
67
|
+
* orgId: "<org_id>",
|
|
68
|
+
* projectId: "<project_id>",
|
|
69
|
+
* });
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
function getSecurityGovernanceRuleOutput(args, opts) {
|
|
73
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
74
|
+
return pulumi.runtime.invokeOutput("harness:chaos/getSecurityGovernanceRule:getSecurityGovernanceRule", {
|
|
75
|
+
"id": args.id,
|
|
76
|
+
"name": args.name,
|
|
77
|
+
"orgId": args.orgId,
|
|
78
|
+
"projectId": args.projectId,
|
|
79
|
+
}, opts);
|
|
80
|
+
}
|
|
81
|
+
exports.getSecurityGovernanceRuleOutput = getSecurityGovernanceRuleOutput;
|
|
82
|
+
//# sourceMappingURL=getSecurityGovernanceRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSecurityGovernanceRule.js","sourceRoot":"","sources":["../../chaos/getSecurityGovernanceRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mEAAmE,EAAE;QAC9F,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8DAQC;AAqED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAAiC;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mEAAmE,EAAE;QACpG,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0EAQC"}
|
package/chaos/hub.d.ts
ADDED
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Resource for managing a Harness Chaos Hub
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as harness from "@pulumi/harness";
|
|
10
|
+
*
|
|
11
|
+
* const example = new harness.chaos.Hub("example", {
|
|
12
|
+
* orgId: "<org_id>",
|
|
13
|
+
* projectId: "<project_id>",
|
|
14
|
+
* name: "<name>",
|
|
15
|
+
* description: "<description>",
|
|
16
|
+
* connectorId: "<connector_id>",
|
|
17
|
+
* repoBranch: "<repo_branch>",
|
|
18
|
+
* repoName: "<repo_name>",
|
|
19
|
+
* isDefault: false,
|
|
20
|
+
* tags: [
|
|
21
|
+
* "<tag1>",
|
|
22
|
+
* "<tag2>",
|
|
23
|
+
* ],
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* The `pulumi import` command can be used, for example:
|
|
30
|
+
*
|
|
31
|
+
* Import Project level Chaos Hub
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import harness:chaos/hub:Hub example <org_id>/<project_id>/<hub_id>
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare class Hub extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing Hub resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param state Any extra arguments used during the lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: HubState, opts?: pulumi.CustomResourceOptions): Hub;
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of Hub. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj: any): obj is Hub;
|
|
53
|
+
/**
|
|
54
|
+
* ID of the Git connector
|
|
55
|
+
*/
|
|
56
|
+
readonly connectorId: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Scope of the Git connector (PROJECT, ORGANISATION, or ACCOUNT)
|
|
59
|
+
*/
|
|
60
|
+
readonly connectorScope: pulumi.Output<string | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* Creation timestamp
|
|
63
|
+
*/
|
|
64
|
+
readonly createdAt: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Description of the chaos hub
|
|
67
|
+
*/
|
|
68
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* Whether the chaos hub is available
|
|
71
|
+
*/
|
|
72
|
+
readonly isAvailable: pulumi.Output<boolean>;
|
|
73
|
+
/**
|
|
74
|
+
* Whether this is the default chaos hub
|
|
75
|
+
*/
|
|
76
|
+
readonly isDefault: pulumi.Output<boolean | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* Timestamp of the last sync
|
|
79
|
+
*/
|
|
80
|
+
readonly lastSyncedAt: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* Name of the chaos hub
|
|
83
|
+
*/
|
|
84
|
+
readonly name: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* The organization ID of the chaos hub
|
|
87
|
+
*/
|
|
88
|
+
readonly orgId: pulumi.Output<string | undefined>;
|
|
89
|
+
/**
|
|
90
|
+
* The project ID of the chaos hub
|
|
91
|
+
*/
|
|
92
|
+
readonly projectId: pulumi.Output<string | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* Git repository branch
|
|
95
|
+
*/
|
|
96
|
+
readonly repoBranch: pulumi.Output<string>;
|
|
97
|
+
/**
|
|
98
|
+
* Name of the Git repository (required for account-level connectors)
|
|
99
|
+
*/
|
|
100
|
+
readonly repoName: pulumi.Output<string | undefined>;
|
|
101
|
+
/**
|
|
102
|
+
* Tags to associate with the chaos hub
|
|
103
|
+
*/
|
|
104
|
+
readonly tags: pulumi.Output<string[] | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* Total number of experiments in the hub
|
|
107
|
+
*/
|
|
108
|
+
readonly totalExperiments: pulumi.Output<number>;
|
|
109
|
+
/**
|
|
110
|
+
* Total number of faults in the hub
|
|
111
|
+
*/
|
|
112
|
+
readonly totalFaults: pulumi.Output<number>;
|
|
113
|
+
/**
|
|
114
|
+
* Last update timestamp
|
|
115
|
+
*/
|
|
116
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Create a Hub resource with the given unique name, arguments, and options.
|
|
119
|
+
*
|
|
120
|
+
* @param name The _unique_ name of the resource.
|
|
121
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
122
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
123
|
+
*/
|
|
124
|
+
constructor(name: string, args: HubArgs, opts?: pulumi.CustomResourceOptions);
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Input properties used for looking up and filtering Hub resources.
|
|
128
|
+
*/
|
|
129
|
+
export interface HubState {
|
|
130
|
+
/**
|
|
131
|
+
* ID of the Git connector
|
|
132
|
+
*/
|
|
133
|
+
connectorId?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Scope of the Git connector (PROJECT, ORGANISATION, or ACCOUNT)
|
|
136
|
+
*/
|
|
137
|
+
connectorScope?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* Creation timestamp
|
|
140
|
+
*/
|
|
141
|
+
createdAt?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* Description of the chaos hub
|
|
144
|
+
*/
|
|
145
|
+
description?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* Whether the chaos hub is available
|
|
148
|
+
*/
|
|
149
|
+
isAvailable?: pulumi.Input<boolean>;
|
|
150
|
+
/**
|
|
151
|
+
* Whether this is the default chaos hub
|
|
152
|
+
*/
|
|
153
|
+
isDefault?: pulumi.Input<boolean>;
|
|
154
|
+
/**
|
|
155
|
+
* Timestamp of the last sync
|
|
156
|
+
*/
|
|
157
|
+
lastSyncedAt?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* Name of the chaos hub
|
|
160
|
+
*/
|
|
161
|
+
name?: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* The organization ID of the chaos hub
|
|
164
|
+
*/
|
|
165
|
+
orgId?: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* The project ID of the chaos hub
|
|
168
|
+
*/
|
|
169
|
+
projectId?: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* Git repository branch
|
|
172
|
+
*/
|
|
173
|
+
repoBranch?: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* Name of the Git repository (required for account-level connectors)
|
|
176
|
+
*/
|
|
177
|
+
repoName?: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* Tags to associate with the chaos hub
|
|
180
|
+
*/
|
|
181
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
182
|
+
/**
|
|
183
|
+
* Total number of experiments in the hub
|
|
184
|
+
*/
|
|
185
|
+
totalExperiments?: pulumi.Input<number>;
|
|
186
|
+
/**
|
|
187
|
+
* Total number of faults in the hub
|
|
188
|
+
*/
|
|
189
|
+
totalFaults?: pulumi.Input<number>;
|
|
190
|
+
/**
|
|
191
|
+
* Last update timestamp
|
|
192
|
+
*/
|
|
193
|
+
updatedAt?: pulumi.Input<string>;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* The set of arguments for constructing a Hub resource.
|
|
197
|
+
*/
|
|
198
|
+
export interface HubArgs {
|
|
199
|
+
/**
|
|
200
|
+
* ID of the Git connector
|
|
201
|
+
*/
|
|
202
|
+
connectorId: pulumi.Input<string>;
|
|
203
|
+
/**
|
|
204
|
+
* Scope of the Git connector (PROJECT, ORGANISATION, or ACCOUNT)
|
|
205
|
+
*/
|
|
206
|
+
connectorScope?: pulumi.Input<string>;
|
|
207
|
+
/**
|
|
208
|
+
* Description of the chaos hub
|
|
209
|
+
*/
|
|
210
|
+
description?: pulumi.Input<string>;
|
|
211
|
+
/**
|
|
212
|
+
* Whether this is the default chaos hub
|
|
213
|
+
*/
|
|
214
|
+
isDefault?: pulumi.Input<boolean>;
|
|
215
|
+
/**
|
|
216
|
+
* Name of the chaos hub
|
|
217
|
+
*/
|
|
218
|
+
name?: pulumi.Input<string>;
|
|
219
|
+
/**
|
|
220
|
+
* The organization ID of the chaos hub
|
|
221
|
+
*/
|
|
222
|
+
orgId?: pulumi.Input<string>;
|
|
223
|
+
/**
|
|
224
|
+
* The project ID of the chaos hub
|
|
225
|
+
*/
|
|
226
|
+
projectId?: pulumi.Input<string>;
|
|
227
|
+
/**
|
|
228
|
+
* Git repository branch
|
|
229
|
+
*/
|
|
230
|
+
repoBranch: pulumi.Input<string>;
|
|
231
|
+
/**
|
|
232
|
+
* Name of the Git repository (required for account-level connectors)
|
|
233
|
+
*/
|
|
234
|
+
repoName?: pulumi.Input<string>;
|
|
235
|
+
/**
|
|
236
|
+
* Tags to associate with the chaos hub
|
|
237
|
+
*/
|
|
238
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
239
|
+
}
|
package/chaos/hub.js
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.Hub = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for managing a Harness Chaos Hub
|
|
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.chaos.Hub("example", {
|
|
18
|
+
* orgId: "<org_id>",
|
|
19
|
+
* projectId: "<project_id>",
|
|
20
|
+
* name: "<name>",
|
|
21
|
+
* description: "<description>",
|
|
22
|
+
* connectorId: "<connector_id>",
|
|
23
|
+
* repoBranch: "<repo_branch>",
|
|
24
|
+
* repoName: "<repo_name>",
|
|
25
|
+
* isDefault: false,
|
|
26
|
+
* tags: [
|
|
27
|
+
* "<tag1>",
|
|
28
|
+
* "<tag2>",
|
|
29
|
+
* ],
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ## Import
|
|
34
|
+
*
|
|
35
|
+
* The `pulumi import` command can be used, for example:
|
|
36
|
+
*
|
|
37
|
+
* Import Project level Chaos Hub
|
|
38
|
+
*
|
|
39
|
+
* ```sh
|
|
40
|
+
* $ pulumi import harness:chaos/hub:Hub example <org_id>/<project_id>/<hub_id>
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
class Hub extends pulumi.CustomResource {
|
|
44
|
+
/**
|
|
45
|
+
* Get an existing Hub resource's state with the given name, ID, and optional extra
|
|
46
|
+
* properties used to qualify the lookup.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resulting resource.
|
|
49
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
50
|
+
* @param state Any extra arguments used during the lookup.
|
|
51
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
|
+
*/
|
|
53
|
+
static get(name, id, state, opts) {
|
|
54
|
+
return new Hub(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of Hub. This is designed to work even
|
|
58
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
59
|
+
*/
|
|
60
|
+
static isInstance(obj) {
|
|
61
|
+
if (obj === undefined || obj === null) {
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
return obj['__pulumiType'] === Hub.__pulumiType;
|
|
65
|
+
}
|
|
66
|
+
constructor(name, argsOrState, opts) {
|
|
67
|
+
let resourceInputs = {};
|
|
68
|
+
opts = opts || {};
|
|
69
|
+
if (opts.id) {
|
|
70
|
+
const state = argsOrState;
|
|
71
|
+
resourceInputs["connectorId"] = state ? state.connectorId : undefined;
|
|
72
|
+
resourceInputs["connectorScope"] = state ? state.connectorScope : undefined;
|
|
73
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
74
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
75
|
+
resourceInputs["isAvailable"] = state ? state.isAvailable : undefined;
|
|
76
|
+
resourceInputs["isDefault"] = state ? state.isDefault : undefined;
|
|
77
|
+
resourceInputs["lastSyncedAt"] = state ? state.lastSyncedAt : undefined;
|
|
78
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
79
|
+
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
80
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
81
|
+
resourceInputs["repoBranch"] = state ? state.repoBranch : undefined;
|
|
82
|
+
resourceInputs["repoName"] = state ? state.repoName : undefined;
|
|
83
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
84
|
+
resourceInputs["totalExperiments"] = state ? state.totalExperiments : undefined;
|
|
85
|
+
resourceInputs["totalFaults"] = state ? state.totalFaults : undefined;
|
|
86
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
const args = argsOrState;
|
|
90
|
+
if ((!args || args.connectorId === undefined) && !opts.urn) {
|
|
91
|
+
throw new Error("Missing required property 'connectorId'");
|
|
92
|
+
}
|
|
93
|
+
if ((!args || args.repoBranch === undefined) && !opts.urn) {
|
|
94
|
+
throw new Error("Missing required property 'repoBranch'");
|
|
95
|
+
}
|
|
96
|
+
resourceInputs["connectorId"] = args ? args.connectorId : undefined;
|
|
97
|
+
resourceInputs["connectorScope"] = args ? args.connectorScope : undefined;
|
|
98
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
99
|
+
resourceInputs["isDefault"] = args ? args.isDefault : undefined;
|
|
100
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
101
|
+
resourceInputs["orgId"] = args ? args.orgId : undefined;
|
|
102
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
103
|
+
resourceInputs["repoBranch"] = args ? args.repoBranch : undefined;
|
|
104
|
+
resourceInputs["repoName"] = args ? args.repoName : undefined;
|
|
105
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
106
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
107
|
+
resourceInputs["isAvailable"] = undefined /*out*/;
|
|
108
|
+
resourceInputs["lastSyncedAt"] = undefined /*out*/;
|
|
109
|
+
resourceInputs["totalExperiments"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["totalFaults"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
112
|
+
}
|
|
113
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
114
|
+
super(Hub.__pulumiType, name, resourceInputs, opts);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
exports.Hub = Hub;
|
|
118
|
+
/** @internal */
|
|
119
|
+
Hub.__pulumiType = 'harness:chaos/hub:Hub';
|
|
120
|
+
//# sourceMappingURL=hub.js.map
|
package/chaos/hub.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hub.js","sourceRoot":"","sources":["../../chaos/hub.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Resource for syncing a Harness Chaos Hub
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as harness from "@pulumi/harness";
|
|
10
|
+
*
|
|
11
|
+
* const example = new harness.chaos.HubSync("example", {
|
|
12
|
+
* orgId: "<org_id>",
|
|
13
|
+
* projectId: "<project_id>",
|
|
14
|
+
* hubId: "<hub_id>",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare class HubSync extends pulumi.CustomResource {
|
|
19
|
+
/**
|
|
20
|
+
* Get an existing HubSync resource's state with the given name, ID, and optional extra
|
|
21
|
+
* properties used to qualify the lookup.
|
|
22
|
+
*
|
|
23
|
+
* @param name The _unique_ name of the resulting resource.
|
|
24
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
25
|
+
* @param state Any extra arguments used during the lookup.
|
|
26
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
27
|
+
*/
|
|
28
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: HubSyncState, opts?: pulumi.CustomResourceOptions): HubSync;
|
|
29
|
+
/**
|
|
30
|
+
* Returns true if the given object is an instance of HubSync. This is designed to work even
|
|
31
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
32
|
+
*/
|
|
33
|
+
static isInstance(obj: any): obj is HubSync;
|
|
34
|
+
/**
|
|
35
|
+
* The ID of the Chaos Hub to sync
|
|
36
|
+
*/
|
|
37
|
+
readonly hubId: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Timestamp of the last sync
|
|
40
|
+
*/
|
|
41
|
+
readonly lastSyncedAt: pulumi.Output<string>;
|
|
42
|
+
readonly orgId: pulumi.Output<string>;
|
|
43
|
+
readonly projectId: pulumi.Output<string>;
|
|
44
|
+
/**
|
|
45
|
+
* Create a HubSync resource with the given unique name, arguments, and options.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resource.
|
|
48
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
49
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
50
|
+
*/
|
|
51
|
+
constructor(name: string, args: HubSyncArgs, opts?: pulumi.CustomResourceOptions);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Input properties used for looking up and filtering HubSync resources.
|
|
55
|
+
*/
|
|
56
|
+
export interface HubSyncState {
|
|
57
|
+
/**
|
|
58
|
+
* The ID of the Chaos Hub to sync
|
|
59
|
+
*/
|
|
60
|
+
hubId?: pulumi.Input<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Timestamp of the last sync
|
|
63
|
+
*/
|
|
64
|
+
lastSyncedAt?: pulumi.Input<string>;
|
|
65
|
+
orgId?: pulumi.Input<string>;
|
|
66
|
+
projectId?: pulumi.Input<string>;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* The set of arguments for constructing a HubSync resource.
|
|
70
|
+
*/
|
|
71
|
+
export interface HubSyncArgs {
|
|
72
|
+
/**
|
|
73
|
+
* The ID of the Chaos Hub to sync
|
|
74
|
+
*/
|
|
75
|
+
hubId: pulumi.Input<string>;
|
|
76
|
+
orgId: pulumi.Input<string>;
|
|
77
|
+
projectId: pulumi.Input<string>;
|
|
78
|
+
}
|