@pulumi/harness 0.8.2 → 0.8.3
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.js +7 -7
- package/addUserToGroup.js.map +1 -1
- package/application.js +11 -11
- package/application.js.map +1 -1
- package/applicationGitSync.js +14 -14
- package/applicationGitSync.js.map +1 -1
- package/autostopping/awsAlb.js +27 -27
- package/autostopping/awsAlb.js.map +1 -1
- package/autostopping/awsProxy.js +35 -35
- package/autostopping/awsProxy.js.map +1 -1
- package/autostopping/azureGateway.js +35 -35
- package/autostopping/azureGateway.js.map +1 -1
- package/autostopping/azureProxy.js +42 -42
- package/autostopping/azureProxy.js.map +1 -1
- package/autostopping/gcpProxy.js +37 -37
- package/autostopping/gcpProxy.js.map +1 -1
- package/autostopping/ruleEcs.js +19 -19
- package/autostopping/ruleEcs.js.map +1 -1
- package/autostopping/ruleRds.js +18 -18
- package/autostopping/ruleRds.js.map +1 -1
- package/autostopping/ruleVm.js +24 -24
- package/autostopping/ruleVm.js.map +1 -1
- package/autostopping/schedule.js +19 -19
- package/autostopping/schedule.js.map +1 -1
- package/chaos/hub.js +29 -29
- package/chaos/hub.js.map +1 -1
- package/chaos/hubSync.js +11 -11
- package/chaos/hubSync.js.map +1 -1
- package/chaos/imageRegistry.js +28 -28
- package/chaos/imageRegistry.js.map +1 -1
- package/chaos/infrastructureV2.js +69 -69
- package/chaos/infrastructureV2.js.map +1 -1
- package/chaos/securityGovernanceCondition.js +23 -23
- package/chaos/securityGovernanceCondition.js.map +1 -1
- package/chaos/securityGovernanceRule.js +23 -23
- package/chaos/securityGovernanceRule.js.map +1 -1
- package/chaosInfrastructure.js +23 -23
- package/chaosInfrastructure.js.map +1 -1
- package/cloudprovider/aws.js +19 -19
- package/cloudprovider/aws.js.map +1 -1
- package/cloudprovider/azure.js +14 -14
- package/cloudprovider/azure.js.map +1 -1
- package/cloudprovider/datacenter.js +5 -5
- package/cloudprovider/datacenter.js.map +1 -1
- package/cloudprovider/gcp.js +11 -11
- package/cloudprovider/gcp.js.map +1 -1
- package/cloudprovider/kubernetes.js +10 -10
- package/cloudprovider/kubernetes.js.map +1 -1
- package/cloudprovider/spot.js +9 -9
- package/cloudprovider/spot.js.map +1 -1
- package/cloudprovider/tanzu.js +15 -15
- package/cloudprovider/tanzu.js.map +1 -1
- package/cluster/orchestrator.js +9 -9
- package/cluster/orchestrator.js.map +1 -1
- package/cluster/orchestratorConfig.js +15 -15
- package/cluster/orchestratorConfig.js.map +1 -1
- package/config/vars.d.ts +3 -7
- package/config/vars.js +4 -8
- package/config/vars.js.map +1 -1
- package/delegateApproval.js +8 -8
- package/delegateApproval.js.map +1 -1
- package/encryptedText.js +16 -16
- package/encryptedText.js.map +1 -1
- package/environment.js +13 -13
- package/environment.js.map +1 -1
- package/gitConnector.js +27 -27
- package/gitConnector.js.map +1 -1
- package/governance/rule.js +12 -12
- package/governance/rule.js.map +1 -1
- package/governance/ruleEnforcement.js +28 -28
- package/governance/ruleEnforcement.js.map +1 -1
- package/governance/ruleSet.js +12 -12
- package/governance/ruleSet.js.map +1 -1
- package/infrastructureDefinition.js +47 -47
- package/infrastructureDefinition.js.map +1 -1
- package/package.json +2 -2
- package/platform/appDynamicsConnector.js +26 -26
- package/platform/appDynamicsConnector.js.map +1 -1
- package/platform/artifactoryConnector.d.ts +12 -0
- package/platform/artifactoryConnector.js +23 -21
- package/platform/artifactoryConnector.js.map +1 -1
- package/platform/awsCCConnector.js +27 -27
- package/platform/awsCCConnector.js.map +1 -1
- package/platform/awsConnector.js +34 -34
- package/platform/awsConnector.js.map +1 -1
- package/platform/awsKmsConnector.js +30 -30
- package/platform/awsKmsConnector.js.map +1 -1
- package/platform/awsSecretManagerConnector.js +34 -34
- package/platform/awsSecretManagerConnector.js.map +1 -1
- package/platform/azureCloudCostConnector.js +27 -27
- package/platform/azureCloudCostConnector.js.map +1 -1
- package/platform/azureCloudProviderConnector.js +25 -25
- package/platform/azureCloudProviderConnector.js.map +1 -1
- package/platform/azureKeyVaultConnector.js +35 -35
- package/platform/azureKeyVaultConnector.js.map +1 -1
- package/platform/bitbucketConnector.js +29 -29
- package/platform/bitbucketConnector.js.map +1 -1
- package/platform/centralNotificationChannel.js +21 -21
- package/platform/centralNotificationChannel.js.map +1 -1
- package/platform/centralNotificationRule.js +24 -24
- package/platform/centralNotificationRule.js.map +1 -1
- package/platform/connectorAzureArtifacts.js +22 -22
- package/platform/connectorAzureArtifacts.js.map +1 -1
- package/platform/connectorAzureRepo.js +31 -31
- package/platform/connectorAzureRepo.js.map +1 -1
- package/platform/connectorCustomSecretManager.js +36 -36
- package/platform/connectorCustomSecretManager.js.map +1 -1
- package/platform/connectorCustomhealthsource.js +30 -30
- package/platform/connectorCustomhealthsource.js.map +1 -1
- package/platform/connectorGcpKms.js +34 -34
- package/platform/connectorGcpKms.js.map +1 -1
- package/platform/connectorJdbc.js +22 -22
- package/platform/connectorJdbc.js.map +1 -1
- package/platform/connectorPdc.js +19 -19
- package/platform/connectorPdc.js.map +1 -1
- package/platform/connectorRancher.js +23 -23
- package/platform/connectorRancher.js.map +1 -1
- package/platform/dashboardFolders.js +4 -4
- package/platform/dashboardFolders.js.map +1 -1
- package/platform/dashboards.js +27 -27
- package/platform/dashboards.js.map +1 -1
- package/platform/datadogConnector.js +25 -25
- package/platform/datadogConnector.js.map +1 -1
- package/platform/dbInstance.js +28 -28
- package/platform/dbInstance.js.map +1 -1
- package/platform/dbSchema.js +24 -24
- package/platform/dbSchema.js.map +1 -1
- package/platform/defaultNotificationTemplateSet.js +21 -21
- package/platform/defaultNotificationTemplateSet.js.map +1 -1
- package/platform/delegatetoken.d.ts +3 -0
- package/platform/delegatetoken.js +23 -20
- package/platform/delegatetoken.js.map +1 -1
- package/platform/dockerConnector.js +26 -26
- package/platform/dockerConnector.js.map +1 -1
- package/platform/dynatraceConnector.js +22 -22
- package/platform/dynatraceConnector.js.map +1 -1
- package/platform/elasticsearchConnector.js +25 -25
- package/platform/elasticsearchConnector.js.map +1 -1
- package/platform/environment.js +25 -25
- package/platform/environment.js.map +1 -1
- package/platform/environmentClustersMapping.js +14 -14
- package/platform/environmentClustersMapping.js.map +1 -1
- package/platform/environmentGroup.js +15 -15
- package/platform/environmentGroup.js.map +1 -1
- package/platform/environmentServiceOverrides.js +16 -16
- package/platform/environmentServiceOverrides.js.map +1 -1
- package/platform/featureFlag.js +37 -37
- package/platform/featureFlag.js.map +1 -1
- package/platform/featureFlagApiKey.js +23 -23
- package/platform/featureFlagApiKey.js.map +1 -1
- package/platform/featureFlagTarget.js +20 -20
- package/platform/featureFlagTarget.js.map +1 -1
- package/platform/featureFlagTargetGroup.js +24 -24
- package/platform/featureFlagTargetGroup.js.map +1 -1
- package/platform/fileStoreFile.js +29 -29
- package/platform/fileStoreFile.js.map +1 -1
- package/platform/fileStoreFolder.js +21 -21
- package/platform/fileStoreFolder.js.map +1 -1
- package/platform/filters.js +18 -18
- package/platform/filters.js.map +1 -1
- package/platform/gcpCloudCostConnector.js +25 -25
- package/platform/gcpCloudCostConnector.js.map +1 -1
- package/platform/gcpConnector.js +24 -24
- package/platform/gcpConnector.js.map +1 -1
- package/platform/gcpSecretManagerConnector.js +26 -26
- package/platform/gcpSecretManagerConnector.js.map +1 -1
- package/platform/getPolicySet.d.ts +10 -1
- package/platform/getPolicySet.js +2 -0
- package/platform/getPolicySet.js.map +1 -1
- package/platform/gitConnector.js +29 -29
- package/platform/gitConnector.js.map +1 -1
- package/platform/gitOpsAgent.js +25 -25
- package/platform/gitOpsAgent.js.map +1 -1
- package/platform/gitOpsApplications.js +42 -42
- package/platform/gitOpsApplications.js.map +1 -1
- package/platform/gitOpsCluster.js +19 -19
- package/platform/gitOpsCluster.js.map +1 -1
- package/platform/gitOpsGnupg.js +14 -14
- package/platform/gitOpsGnupg.js.map +1 -1
- package/platform/gitOpsRepoCert.js +13 -13
- package/platform/gitOpsRepoCert.js.map +1 -1
- package/platform/gitOpsRepoCred.js +17 -17
- package/platform/gitOpsRepoCred.js.map +1 -1
- package/platform/gitOpsRepository.js +32 -32
- package/platform/gitOpsRepository.js.map +1 -1
- package/platform/githubConnector.js +33 -33
- package/platform/githubConnector.js.map +1 -1
- package/platform/gitlabConnector.js +31 -31
- package/platform/gitlabConnector.js.map +1 -1
- package/platform/gitopsAppProject.js +17 -17
- package/platform/gitopsAppProject.js.map +1 -1
- package/platform/gitopsAppProjectMapping.js +16 -16
- package/platform/gitopsAppProjectMapping.js.map +1 -1
- package/platform/gitopsApplicationset.js +16 -16
- package/platform/gitopsApplicationset.js.map +1 -1
- package/platform/gitopsFilters.js +20 -20
- package/platform/gitopsFilters.js.map +1 -1
- package/platform/gitxWebhook.js +24 -24
- package/platform/gitxWebhook.js.map +1 -1
- package/platform/harRegistry.js +21 -21
- package/platform/harRegistry.js.map +1 -1
- package/platform/helmConnector.js +23 -23
- package/platform/helmConnector.js.map +1 -1
- package/platform/iacmDefaultPipeline.js +16 -16
- package/platform/iacmDefaultPipeline.js.map +1 -1
- package/platform/infraModule.js +28 -28
- package/platform/infraModule.js.map +1 -1
- package/platform/infraVariableSet.js +22 -22
- package/platform/infraVariableSet.js.map +1 -1
- package/platform/infrastructure.js +27 -27
- package/platform/infrastructure.js.map +1 -1
- package/platform/inputSet.js +29 -29
- package/platform/inputSet.js.map +1 -1
- package/platform/jenkinsConnector.js +21 -21
- package/platform/jenkinsConnector.js.map +1 -1
- package/platform/jiraConnector.js +28 -28
- package/platform/jiraConnector.js.map +1 -1
- package/platform/kubernetesCloudCostConnector.js +20 -20
- package/platform/kubernetesCloudCostConnector.js.map +1 -1
- package/platform/kubernetesConnector.js +28 -28
- package/platform/kubernetesConnector.js.map +1 -1
- package/platform/manualFreeze.js +22 -22
- package/platform/manualFreeze.js.map +1 -1
- package/platform/monitoredService.js +12 -12
- package/platform/monitoredService.js.map +1 -1
- package/platform/newrelicConnector.js +25 -25
- package/platform/newrelicConnector.js.map +1 -1
- package/platform/nexusConnector.js +24 -24
- package/platform/nexusConnector.js.map +1 -1
- package/platform/notificationRule.js +12 -12
- package/platform/notificationRule.js.map +1 -1
- package/platform/ociHelmConnector.js +23 -23
- package/platform/ociHelmConnector.js.map +1 -1
- package/platform/organization.js +10 -10
- package/platform/organization.js.map +1 -1
- package/platform/overrides.js +27 -27
- package/platform/overrides.js.map +1 -1
- package/platform/pagerdutyConnector.js +19 -19
- package/platform/pagerdutyConnector.js.map +1 -1
- package/platform/pipeline.js +30 -30
- package/platform/pipeline.js.map +1 -1
- package/platform/pipelineFilters.js +18 -18
- package/platform/pipelineFilters.js.map +1 -1
- package/platform/policy.js +37 -37
- package/platform/policy.js.map +1 -1
- package/platform/policySet.d.ts +12 -0
- package/platform/policySet.js +26 -24
- package/platform/policySet.js.map +1 -1
- package/platform/project.js +16 -16
- package/platform/project.js.map +1 -1
- package/platform/prometheusConnector.js +25 -25
- package/platform/prometheusConnector.js.map +1 -1
- package/platform/provider.js +13 -13
- package/platform/provider.js.map +1 -1
- package/platform/repo.js +26 -26
- package/platform/repo.js.map +1 -1
- package/platform/repoRuleBranch.js +28 -28
- package/platform/repoRuleBranch.js.map +1 -1
- package/platform/repoWebhook.js +29 -29
- package/platform/repoWebhook.js.map +1 -1
- package/platform/resourceGroup.js +25 -25
- package/platform/resourceGroup.js.map +1 -1
- package/platform/roleAssignments.js +20 -20
- package/platform/roleAssignments.js.map +1 -1
- package/platform/roles.js +18 -18
- package/platform/roles.js.map +1 -1
- package/platform/secretFile.js +20 -20
- package/platform/secretFile.js.map +1 -1
- package/platform/secretSshkey.js +20 -20
- package/platform/secretSshkey.js.map +1 -1
- package/platform/secretText.js +24 -24
- package/platform/secretText.js.map +1 -1
- package/platform/service.js +26 -26
- package/platform/service.js.map +1 -1
- package/platform/serviceAccount.js +20 -20
- package/platform/serviceAccount.js.map +1 -1
- package/platform/serviceNowConnector.js +28 -28
- package/platform/serviceNowConnector.js.map +1 -1
- package/platform/serviceOverridesV2.js +27 -27
- package/platform/serviceOverridesV2.js.map +1 -1
- package/platform/slo.js +12 -12
- package/platform/slo.js.map +1 -1
- package/platform/splunkConnector.js +28 -28
- package/platform/splunkConnector.js.map +1 -1
- package/platform/spotConnector.js +17 -17
- package/platform/spotConnector.js.map +1 -1
- package/platform/sumologicConnector.js +25 -25
- package/platform/sumologicConnector.js.map +1 -1
- package/platform/tasConnector.js +21 -21
- package/platform/tasConnector.js.map +1 -1
- package/platform/template.js +33 -33
- package/platform/template.js.map +1 -1
- package/platform/templateFilters.js +18 -18
- package/platform/templateFilters.js.map +1 -1
- package/platform/terraformCloudConnector.js +24 -24
- package/platform/terraformCloudConnector.js.map +1 -1
- package/platform/token.js +41 -41
- package/platform/token.js.map +1 -1
- package/platform/triggers.js +26 -26
- package/platform/triggers.js.map +1 -1
- package/platform/user.js +18 -18
- package/platform/user.js.map +1 -1
- package/platform/usergroup.js +34 -34
- package/platform/usergroup.js.map +1 -1
- package/platform/variables.js +18 -18
- package/platform/variables.js.map +1 -1
- package/platform/vaultConnector.js +78 -78
- package/platform/vaultConnector.js.map +1 -1
- package/platform/workspace.js +54 -54
- package/platform/workspace.js.map +1 -1
- package/platformApiKey.js +25 -25
- package/platformApiKey.js.map +1 -1
- package/platformCcmFilters.js +18 -18
- package/platformCcmFilters.js.map +1 -1
- package/provider.d.ts +6 -14
- package/provider.js +4 -5
- package/provider.js.map +1 -1
- package/service/ami.js +10 -10
- package/service/ami.js.map +1 -1
- package/service/codedeploy.js +10 -10
- package/service/codedeploy.js.map +1 -1
- package/service/discoveryAgent.js +36 -36
- package/service/discoveryAgent.js.map +1 -1
- package/service/discoverySetting.js +11 -11
- package/service/discoverySetting.js.map +1 -1
- package/service/ecs.js +10 -10
- package/service/ecs.js.map +1 -1
- package/service/helm.js +10 -10
- package/service/helm.js.map +1 -1
- package/service/kubernetes.js +12 -12
- package/service/kubernetes.js.map +1 -1
- package/service/lambda.js +10 -10
- package/service/lambda.js.map +1 -1
- package/service/ssh.js +13 -13
- package/service/ssh.js.map +1 -1
- package/service/tanzu.js +10 -10
- package/service/tanzu.js.map +1 -1
- package/service/winrm.js +13 -13
- package/service/winrm.js.map +1 -1
- package/sshCredential.js +9 -9
- package/sshCredential.js.map +1 -1
- package/types/input.d.ts +30 -0
- package/types/output.d.ts +20 -0
- package/user.js +13 -13
- package/user.js.map +1 -1
- package/userGroup.js +15 -15
- package/userGroup.js.map +1 -1
- package/userGroupPermissions.js +8 -8
- package/userGroupPermissions.js.map +1 -1
- package/utilities.js +18 -29
- package/utilities.js.map +1 -1
- package/yamlConfig.js +10 -10
- package/yamlConfig.js.map +1 -1
|
@@ -19,7 +19,7 @@ class DefaultNotificationTemplateSet extends pulumi.CustomResource {
|
|
|
19
19
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
20
|
*/
|
|
21
21
|
static get(name, id, state, opts) {
|
|
22
|
-
return new DefaultNotificationTemplateSet(name, state,
|
|
22
|
+
return new DefaultNotificationTemplateSet(name, state, { ...opts, id: id });
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* Returns true if the given object is an instance of DefaultNotificationTemplateSet. This is designed to work even
|
|
@@ -36,37 +36,37 @@ class DefaultNotificationTemplateSet extends pulumi.CustomResource {
|
|
|
36
36
|
opts = opts || {};
|
|
37
37
|
if (opts.id) {
|
|
38
38
|
const state = argsOrState;
|
|
39
|
-
resourceInputs["created"] = state
|
|
40
|
-
resourceInputs["description"] = state
|
|
41
|
-
resourceInputs["eventTemplateConfigurationSets"] = state
|
|
42
|
-
resourceInputs["identifier"] = state
|
|
43
|
-
resourceInputs["lastModified"] = state
|
|
44
|
-
resourceInputs["name"] = state
|
|
45
|
-
resourceInputs["notificationChannelType"] = state
|
|
46
|
-
resourceInputs["notificationEntity"] = state
|
|
47
|
-
resourceInputs["tags"] = state
|
|
39
|
+
resourceInputs["created"] = state?.created;
|
|
40
|
+
resourceInputs["description"] = state?.description;
|
|
41
|
+
resourceInputs["eventTemplateConfigurationSets"] = state?.eventTemplateConfigurationSets;
|
|
42
|
+
resourceInputs["identifier"] = state?.identifier;
|
|
43
|
+
resourceInputs["lastModified"] = state?.lastModified;
|
|
44
|
+
resourceInputs["name"] = state?.name;
|
|
45
|
+
resourceInputs["notificationChannelType"] = state?.notificationChannelType;
|
|
46
|
+
resourceInputs["notificationEntity"] = state?.notificationEntity;
|
|
47
|
+
resourceInputs["tags"] = state?.tags;
|
|
48
48
|
}
|
|
49
49
|
else {
|
|
50
50
|
const args = argsOrState;
|
|
51
|
-
if (
|
|
51
|
+
if (args?.eventTemplateConfigurationSets === undefined && !opts.urn) {
|
|
52
52
|
throw new Error("Missing required property 'eventTemplateConfigurationSets'");
|
|
53
53
|
}
|
|
54
|
-
if (
|
|
54
|
+
if (args?.identifier === undefined && !opts.urn) {
|
|
55
55
|
throw new Error("Missing required property 'identifier'");
|
|
56
56
|
}
|
|
57
|
-
if (
|
|
57
|
+
if (args?.notificationChannelType === undefined && !opts.urn) {
|
|
58
58
|
throw new Error("Missing required property 'notificationChannelType'");
|
|
59
59
|
}
|
|
60
|
-
if (
|
|
60
|
+
if (args?.notificationEntity === undefined && !opts.urn) {
|
|
61
61
|
throw new Error("Missing required property 'notificationEntity'");
|
|
62
62
|
}
|
|
63
|
-
resourceInputs["description"] = args
|
|
64
|
-
resourceInputs["eventTemplateConfigurationSets"] = args
|
|
65
|
-
resourceInputs["identifier"] = args
|
|
66
|
-
resourceInputs["name"] = args
|
|
67
|
-
resourceInputs["notificationChannelType"] = args
|
|
68
|
-
resourceInputs["notificationEntity"] = args
|
|
69
|
-
resourceInputs["tags"] = args
|
|
63
|
+
resourceInputs["description"] = args?.description;
|
|
64
|
+
resourceInputs["eventTemplateConfigurationSets"] = args?.eventTemplateConfigurationSets;
|
|
65
|
+
resourceInputs["identifier"] = args?.identifier;
|
|
66
|
+
resourceInputs["name"] = args?.name;
|
|
67
|
+
resourceInputs["notificationChannelType"] = args?.notificationChannelType;
|
|
68
|
+
resourceInputs["notificationEntity"] = args?.notificationEntity;
|
|
69
|
+
resourceInputs["tags"] = args?.tags;
|
|
70
70
|
resourceInputs["created"] = undefined /*out*/;
|
|
71
71
|
resourceInputs["lastModified"] = undefined /*out*/;
|
|
72
72
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaultNotificationTemplateSet.js","sourceRoot":"","sources":["../../platform/defaultNotificationTemplateSet.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,8BAA+B,SAAQ,MAAM,CAAC,cAAc;IACrE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2C,EAAE,IAAmC;QACzI,OAAO,IAAI,8BAA8B,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"defaultNotificationTemplateSet.js","sourceRoot":"","sources":["../../platform/defaultNotificationTemplateSet.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,8BAA+B,SAAQ,MAAM,CAAC,cAAc;IACrE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2C,EAAE,IAAmC;QACzI,OAAO,IAAI,8BAA8B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrF,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,8BAA8B,CAAC,YAAY,CAAC;IAC/E,CAAC;IA+CD,YAAY,IAAY,EAAE,WAAsF,EAAE,IAAmC;QACjJ,IAAI,cAAc,GAAkB,EAAE,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AAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;aACrE;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,gCAAgC,CAAC,GAAG,IAAI,EAAE,8BAA8B,CAAC;YACxF,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,yBAAyB,CAAC,GAAG,IAAI,EAAE,uBAAuB,CAAC;YAC1E,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,8BAA8B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnF,CAAC;;AAjHL,wEAkHC;AApGG,gBAAgB;AACO,2CAAY,GAAG,gFAAgF,CAAC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* Resource for creating delegate tokens. Delegate tokens can be created and revoked. Revoked tokens immediately stop functioning and are only purged after 30 days, meaning you cannot recreate a token with the same name within that period.
|
|
4
|
+
* To revoke a token, set tokenStatus field to "REVOKED".
|
|
5
|
+
*
|
|
3
6
|
* ## Example Usage
|
|
4
7
|
*
|
|
5
8
|
* ```typescript
|
|
@@ -6,6 +6,9 @@ exports.Delegatetoken = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
+
* Resource for creating delegate tokens. Delegate tokens can be created and revoked. Revoked tokens immediately stop functioning and are only purged after 30 days, meaning you cannot recreate a token with the same name within that period.
|
|
10
|
+
* To revoke a token, set tokenStatus field to "REVOKED".
|
|
11
|
+
*
|
|
9
12
|
* ## Example Usage
|
|
10
13
|
*
|
|
11
14
|
* ```typescript
|
|
@@ -49,7 +52,7 @@ class Delegatetoken extends pulumi.CustomResource {
|
|
|
49
52
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
53
|
*/
|
|
51
54
|
static get(name, id, state, opts) {
|
|
52
|
-
return new Delegatetoken(name, state,
|
|
55
|
+
return new Delegatetoken(name, state, { ...opts, id: id });
|
|
53
56
|
}
|
|
54
57
|
/**
|
|
55
58
|
* Returns true if the given object is an instance of Delegatetoken. This is designed to work even
|
|
@@ -66,30 +69,30 @@ class Delegatetoken extends pulumi.CustomResource {
|
|
|
66
69
|
opts = opts || {};
|
|
67
70
|
if (opts.id) {
|
|
68
71
|
const state = argsOrState;
|
|
69
|
-
resourceInputs["accountId"] = state
|
|
70
|
-
resourceInputs["createdAt"] = state
|
|
71
|
-
resourceInputs["createdBy"] = state
|
|
72
|
-
resourceInputs["name"] = state
|
|
73
|
-
resourceInputs["orgId"] = state
|
|
74
|
-
resourceInputs["projectId"] = state
|
|
75
|
-
resourceInputs["revokeAfter"] = state
|
|
76
|
-
resourceInputs["tokenStatus"] = state
|
|
77
|
-
resourceInputs["value"] = state
|
|
72
|
+
resourceInputs["accountId"] = state?.accountId;
|
|
73
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
74
|
+
resourceInputs["createdBy"] = state?.createdBy;
|
|
75
|
+
resourceInputs["name"] = state?.name;
|
|
76
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
77
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
78
|
+
resourceInputs["revokeAfter"] = state?.revokeAfter;
|
|
79
|
+
resourceInputs["tokenStatus"] = state?.tokenStatus;
|
|
80
|
+
resourceInputs["value"] = state?.value;
|
|
78
81
|
}
|
|
79
82
|
else {
|
|
80
83
|
const args = argsOrState;
|
|
81
|
-
if (
|
|
84
|
+
if (args?.accountId === undefined && !opts.urn) {
|
|
82
85
|
throw new Error("Missing required property 'accountId'");
|
|
83
86
|
}
|
|
84
|
-
resourceInputs["accountId"] = args
|
|
85
|
-
resourceInputs["createdAt"] = args
|
|
86
|
-
resourceInputs["createdBy"] = args
|
|
87
|
-
resourceInputs["name"] = args
|
|
88
|
-
resourceInputs["orgId"] = args
|
|
89
|
-
resourceInputs["projectId"] = args
|
|
90
|
-
resourceInputs["revokeAfter"] = args
|
|
91
|
-
resourceInputs["tokenStatus"] = args
|
|
92
|
-
resourceInputs["value"] = args
|
|
87
|
+
resourceInputs["accountId"] = args?.accountId;
|
|
88
|
+
resourceInputs["createdAt"] = args?.createdAt;
|
|
89
|
+
resourceInputs["createdBy"] = args?.createdBy;
|
|
90
|
+
resourceInputs["name"] = args?.name;
|
|
91
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
92
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
93
|
+
resourceInputs["revokeAfter"] = args?.revokeAfter;
|
|
94
|
+
resourceInputs["tokenStatus"] = args?.tokenStatus;
|
|
95
|
+
resourceInputs["value"] = args?.value;
|
|
93
96
|
}
|
|
94
97
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
95
98
|
super(Delegatetoken.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delegatetoken.js","sourceRoot":"","sources":["../../platform/delegatetoken.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"delegatetoken.js","sourceRoot":"","sources":["../../platform/delegatetoken.ts"],"names":[],"mappings":";AA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Ac,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;SAC1C;aAAM;YACH,MAAM,IAAI,GAAG,WAA4C,CAAC;YAC1D,IAAI,IAAI,EAAE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;SACzC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAxGL,sCAyGC;AA3FG,gBAAgB;AACO,0BAAY,GAAG,8CAA8C,CAAC"}
|
|
@@ -41,7 +41,7 @@ class DockerConnector extends pulumi.CustomResource {
|
|
|
41
41
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
42
|
*/
|
|
43
43
|
static get(name, id, state, opts) {
|
|
44
|
-
return new DockerConnector(name, state,
|
|
44
|
+
return new DockerConnector(name, state, { ...opts, id: id });
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
47
|
* Returns true if the given object is an instance of DockerConnector. This is designed to work even
|
|
@@ -58,40 +58,40 @@ class DockerConnector extends pulumi.CustomResource {
|
|
|
58
58
|
opts = opts || {};
|
|
59
59
|
if (opts.id) {
|
|
60
60
|
const state = argsOrState;
|
|
61
|
-
resourceInputs["credentials"] = state
|
|
62
|
-
resourceInputs["delegateSelectors"] = state
|
|
63
|
-
resourceInputs["description"] = state
|
|
64
|
-
resourceInputs["executeOnDelegate"] = state
|
|
65
|
-
resourceInputs["identifier"] = state
|
|
66
|
-
resourceInputs["name"] = state
|
|
67
|
-
resourceInputs["orgId"] = state
|
|
68
|
-
resourceInputs["projectId"] = state
|
|
69
|
-
resourceInputs["tags"] = state
|
|
70
|
-
resourceInputs["type"] = state
|
|
71
|
-
resourceInputs["url"] = state
|
|
61
|
+
resourceInputs["credentials"] = state?.credentials;
|
|
62
|
+
resourceInputs["delegateSelectors"] = state?.delegateSelectors;
|
|
63
|
+
resourceInputs["description"] = state?.description;
|
|
64
|
+
resourceInputs["executeOnDelegate"] = state?.executeOnDelegate;
|
|
65
|
+
resourceInputs["identifier"] = state?.identifier;
|
|
66
|
+
resourceInputs["name"] = state?.name;
|
|
67
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
68
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
69
|
+
resourceInputs["tags"] = state?.tags;
|
|
70
|
+
resourceInputs["type"] = state?.type;
|
|
71
|
+
resourceInputs["url"] = state?.url;
|
|
72
72
|
}
|
|
73
73
|
else {
|
|
74
74
|
const args = argsOrState;
|
|
75
|
-
if (
|
|
75
|
+
if (args?.identifier === undefined && !opts.urn) {
|
|
76
76
|
throw new Error("Missing required property 'identifier'");
|
|
77
77
|
}
|
|
78
|
-
if (
|
|
78
|
+
if (args?.type === undefined && !opts.urn) {
|
|
79
79
|
throw new Error("Missing required property 'type'");
|
|
80
80
|
}
|
|
81
|
-
if (
|
|
81
|
+
if (args?.url === undefined && !opts.urn) {
|
|
82
82
|
throw new Error("Missing required property 'url'");
|
|
83
83
|
}
|
|
84
|
-
resourceInputs["credentials"] = args
|
|
85
|
-
resourceInputs["delegateSelectors"] = args
|
|
86
|
-
resourceInputs["description"] = args
|
|
87
|
-
resourceInputs["executeOnDelegate"] = args
|
|
88
|
-
resourceInputs["identifier"] = args
|
|
89
|
-
resourceInputs["name"] = args
|
|
90
|
-
resourceInputs["orgId"] = args
|
|
91
|
-
resourceInputs["projectId"] = args
|
|
92
|
-
resourceInputs["tags"] = args
|
|
93
|
-
resourceInputs["type"] = args
|
|
94
|
-
resourceInputs["url"] = args
|
|
84
|
+
resourceInputs["credentials"] = args?.credentials;
|
|
85
|
+
resourceInputs["delegateSelectors"] = args?.delegateSelectors;
|
|
86
|
+
resourceInputs["description"] = args?.description;
|
|
87
|
+
resourceInputs["executeOnDelegate"] = args?.executeOnDelegate;
|
|
88
|
+
resourceInputs["identifier"] = args?.identifier;
|
|
89
|
+
resourceInputs["name"] = args?.name;
|
|
90
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
91
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
92
|
+
resourceInputs["tags"] = args?.tags;
|
|
93
|
+
resourceInputs["type"] = args?.type;
|
|
94
|
+
resourceInputs["url"] = args?.url;
|
|
95
95
|
}
|
|
96
96
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
97
97
|
super(DockerConnector.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dockerConnector.js","sourceRoot":"","sources":["../../platform/dockerConnector.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,eAAgB,SA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,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;SACrC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA1HL,0CA2HC;AA7GG,gBAAgB;AACO,4BAAY,GAAG,kDAAkD,CAAC"}
|
|
@@ -58,7 +58,7 @@ class DynatraceConnector extends pulumi.CustomResource {
|
|
|
58
58
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
59
59
|
*/
|
|
60
60
|
static get(name, id, state, opts) {
|
|
61
|
-
return new DynatraceConnector(name, state,
|
|
61
|
+
return new DynatraceConnector(name, state, { ...opts, id: id });
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
64
|
* Returns true if the given object is an instance of DynatraceConnector. This is designed to work even
|
|
@@ -75,36 +75,36 @@ class DynatraceConnector extends pulumi.CustomResource {
|
|
|
75
75
|
opts = opts || {};
|
|
76
76
|
if (opts.id) {
|
|
77
77
|
const state = argsOrState;
|
|
78
|
-
resourceInputs["apiTokenRef"] = state
|
|
79
|
-
resourceInputs["delegateSelectors"] = state
|
|
80
|
-
resourceInputs["description"] = state
|
|
81
|
-
resourceInputs["identifier"] = state
|
|
82
|
-
resourceInputs["name"] = state
|
|
83
|
-
resourceInputs["orgId"] = state
|
|
84
|
-
resourceInputs["projectId"] = state
|
|
85
|
-
resourceInputs["tags"] = state
|
|
86
|
-
resourceInputs["url"] = state
|
|
78
|
+
resourceInputs["apiTokenRef"] = state?.apiTokenRef;
|
|
79
|
+
resourceInputs["delegateSelectors"] = state?.delegateSelectors;
|
|
80
|
+
resourceInputs["description"] = state?.description;
|
|
81
|
+
resourceInputs["identifier"] = state?.identifier;
|
|
82
|
+
resourceInputs["name"] = state?.name;
|
|
83
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
84
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
85
|
+
resourceInputs["tags"] = state?.tags;
|
|
86
|
+
resourceInputs["url"] = state?.url;
|
|
87
87
|
}
|
|
88
88
|
else {
|
|
89
89
|
const args = argsOrState;
|
|
90
|
-
if (
|
|
90
|
+
if (args?.apiTokenRef === undefined && !opts.urn) {
|
|
91
91
|
throw new Error("Missing required property 'apiTokenRef'");
|
|
92
92
|
}
|
|
93
|
-
if (
|
|
93
|
+
if (args?.identifier === undefined && !opts.urn) {
|
|
94
94
|
throw new Error("Missing required property 'identifier'");
|
|
95
95
|
}
|
|
96
|
-
if (
|
|
96
|
+
if (args?.url === undefined && !opts.urn) {
|
|
97
97
|
throw new Error("Missing required property 'url'");
|
|
98
98
|
}
|
|
99
|
-
resourceInputs["apiTokenRef"] = args
|
|
100
|
-
resourceInputs["delegateSelectors"] = args
|
|
101
|
-
resourceInputs["description"] = args
|
|
102
|
-
resourceInputs["identifier"] = args
|
|
103
|
-
resourceInputs["name"] = args
|
|
104
|
-
resourceInputs["orgId"] = args
|
|
105
|
-
resourceInputs["projectId"] = args
|
|
106
|
-
resourceInputs["tags"] = args
|
|
107
|
-
resourceInputs["url"] = args
|
|
99
|
+
resourceInputs["apiTokenRef"] = args?.apiTokenRef;
|
|
100
|
+
resourceInputs["delegateSelectors"] = args?.delegateSelectors;
|
|
101
|
+
resourceInputs["description"] = args?.description;
|
|
102
|
+
resourceInputs["identifier"] = args?.identifier;
|
|
103
|
+
resourceInputs["name"] = args?.name;
|
|
104
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
105
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
106
|
+
resourceInputs["tags"] = args?.tags;
|
|
107
|
+
resourceInputs["url"] = args?.url;
|
|
108
108
|
}
|
|
109
109
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
110
110
|
super(DynatraceConnector.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynatraceConnector.js","sourceRoot":"","sources":["../../platform/dynatraceConnector.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"dynatraceConnector.js","sourceRoot":"","sources":["../../platform/dynatraceConnector.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,M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KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,IAAI,IAAI,EAAE,GAAG,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;aACtD;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;SACrC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA9GL,gDA+GC;AAjGG,gBAAgB;AACO,+BAAY,GAAG,wDAAwD,CAAC"}
|
|
@@ -84,7 +84,7 @@ class ElasticsearchConnector extends pulumi.CustomResource {
|
|
|
84
84
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
85
85
|
*/
|
|
86
86
|
static get(name, id, state, opts) {
|
|
87
|
-
return new ElasticsearchConnector(name, state,
|
|
87
|
+
return new ElasticsearchConnector(name, state, { ...opts, id: id });
|
|
88
88
|
}
|
|
89
89
|
/**
|
|
90
90
|
* Returns true if the given object is an instance of ElasticsearchConnector. This is designed to work even
|
|
@@ -101,37 +101,37 @@ class ElasticsearchConnector extends pulumi.CustomResource {
|
|
|
101
101
|
opts = opts || {};
|
|
102
102
|
if (opts.id) {
|
|
103
103
|
const state = argsOrState;
|
|
104
|
-
resourceInputs["apiToken"] = state
|
|
105
|
-
resourceInputs["delegateSelectors"] = state
|
|
106
|
-
resourceInputs["description"] = state
|
|
107
|
-
resourceInputs["identifier"] = state
|
|
108
|
-
resourceInputs["name"] = state
|
|
109
|
-
resourceInputs["noAuthentication"] = state
|
|
110
|
-
resourceInputs["orgId"] = state
|
|
111
|
-
resourceInputs["projectId"] = state
|
|
112
|
-
resourceInputs["tags"] = state
|
|
113
|
-
resourceInputs["url"] = state
|
|
114
|
-
resourceInputs["usernamePassword"] = state
|
|
104
|
+
resourceInputs["apiToken"] = state?.apiToken;
|
|
105
|
+
resourceInputs["delegateSelectors"] = state?.delegateSelectors;
|
|
106
|
+
resourceInputs["description"] = state?.description;
|
|
107
|
+
resourceInputs["identifier"] = state?.identifier;
|
|
108
|
+
resourceInputs["name"] = state?.name;
|
|
109
|
+
resourceInputs["noAuthentication"] = state?.noAuthentication;
|
|
110
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
111
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
112
|
+
resourceInputs["tags"] = state?.tags;
|
|
113
|
+
resourceInputs["url"] = state?.url;
|
|
114
|
+
resourceInputs["usernamePassword"] = state?.usernamePassword;
|
|
115
115
|
}
|
|
116
116
|
else {
|
|
117
117
|
const args = argsOrState;
|
|
118
|
-
if (
|
|
118
|
+
if (args?.identifier === undefined && !opts.urn) {
|
|
119
119
|
throw new Error("Missing required property 'identifier'");
|
|
120
120
|
}
|
|
121
|
-
if (
|
|
121
|
+
if (args?.url === undefined && !opts.urn) {
|
|
122
122
|
throw new Error("Missing required property 'url'");
|
|
123
123
|
}
|
|
124
|
-
resourceInputs["apiToken"] = args
|
|
125
|
-
resourceInputs["delegateSelectors"] = args
|
|
126
|
-
resourceInputs["description"] = args
|
|
127
|
-
resourceInputs["identifier"] = args
|
|
128
|
-
resourceInputs["name"] = args
|
|
129
|
-
resourceInputs["noAuthentication"] = args
|
|
130
|
-
resourceInputs["orgId"] = args
|
|
131
|
-
resourceInputs["projectId"] = args
|
|
132
|
-
resourceInputs["tags"] = args
|
|
133
|
-
resourceInputs["url"] = args
|
|
134
|
-
resourceInputs["usernamePassword"] = args
|
|
124
|
+
resourceInputs["apiToken"] = args?.apiToken;
|
|
125
|
+
resourceInputs["delegateSelectors"] = args?.delegateSelectors;
|
|
126
|
+
resourceInputs["description"] = args?.description;
|
|
127
|
+
resourceInputs["identifier"] = args?.identifier;
|
|
128
|
+
resourceInputs["name"] = args?.name;
|
|
129
|
+
resourceInputs["noAuthentication"] = args?.noAuthentication;
|
|
130
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
131
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
132
|
+
resourceInputs["tags"] = args?.tags;
|
|
133
|
+
resourceInputs["url"] = args?.url;
|
|
134
|
+
resourceInputs["usernamePassword"] = args?.usernamePassword;
|
|
135
135
|
}
|
|
136
136
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
137
137
|
super(ElasticsearchConnector.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elasticsearchConnector.js","sourceRoot":"","sources":["../../platform/elasticsearchConnector.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA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W,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AAvHL,wDAwHC;AA1GG,gBAAgB;AACO,mCAAY,GAAG,gEAAgE,CAAC"}
|
package/platform/environment.js
CHANGED
|
@@ -41,7 +41,7 @@ class Environment extends pulumi.CustomResource {
|
|
|
41
41
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
42
|
*/
|
|
43
43
|
static get(name, id, state, opts) {
|
|
44
|
-
return new Environment(name, state,
|
|
44
|
+
return new Environment(name, state, { ...opts, id: id });
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
47
|
* Returns true if the given object is an instance of Environment. This is designed to work even
|
|
@@ -58,37 +58,37 @@ class Environment extends pulumi.CustomResource {
|
|
|
58
58
|
opts = opts || {};
|
|
59
59
|
if (opts.id) {
|
|
60
60
|
const state = argsOrState;
|
|
61
|
-
resourceInputs["color"] = state
|
|
62
|
-
resourceInputs["description"] = state
|
|
63
|
-
resourceInputs["forceDelete"] = state
|
|
64
|
-
resourceInputs["gitDetails"] = state
|
|
65
|
-
resourceInputs["identifier"] = state
|
|
66
|
-
resourceInputs["name"] = state
|
|
67
|
-
resourceInputs["orgId"] = state
|
|
68
|
-
resourceInputs["projectId"] = state
|
|
69
|
-
resourceInputs["tags"] = state
|
|
70
|
-
resourceInputs["type"] = state
|
|
71
|
-
resourceInputs["yaml"] = state
|
|
61
|
+
resourceInputs["color"] = state?.color;
|
|
62
|
+
resourceInputs["description"] = state?.description;
|
|
63
|
+
resourceInputs["forceDelete"] = state?.forceDelete;
|
|
64
|
+
resourceInputs["gitDetails"] = state?.gitDetails;
|
|
65
|
+
resourceInputs["identifier"] = state?.identifier;
|
|
66
|
+
resourceInputs["name"] = state?.name;
|
|
67
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
68
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
69
|
+
resourceInputs["tags"] = state?.tags;
|
|
70
|
+
resourceInputs["type"] = state?.type;
|
|
71
|
+
resourceInputs["yaml"] = state?.yaml;
|
|
72
72
|
}
|
|
73
73
|
else {
|
|
74
74
|
const args = argsOrState;
|
|
75
|
-
if (
|
|
75
|
+
if (args?.identifier === undefined && !opts.urn) {
|
|
76
76
|
throw new Error("Missing required property 'identifier'");
|
|
77
77
|
}
|
|
78
|
-
if (
|
|
78
|
+
if (args?.type === undefined && !opts.urn) {
|
|
79
79
|
throw new Error("Missing required property 'type'");
|
|
80
80
|
}
|
|
81
|
-
resourceInputs["color"] = args
|
|
82
|
-
resourceInputs["description"] = args
|
|
83
|
-
resourceInputs["forceDelete"] = args
|
|
84
|
-
resourceInputs["gitDetails"] = args
|
|
85
|
-
resourceInputs["identifier"] = args
|
|
86
|
-
resourceInputs["name"] = args
|
|
87
|
-
resourceInputs["orgId"] = args
|
|
88
|
-
resourceInputs["projectId"] = args
|
|
89
|
-
resourceInputs["tags"] = args
|
|
90
|
-
resourceInputs["type"] = args
|
|
91
|
-
resourceInputs["yaml"] = args
|
|
81
|
+
resourceInputs["color"] = args?.color;
|
|
82
|
+
resourceInputs["description"] = args?.description;
|
|
83
|
+
resourceInputs["forceDelete"] = args?.forceDelete;
|
|
84
|
+
resourceInputs["gitDetails"] = args?.gitDetails;
|
|
85
|
+
resourceInputs["identifier"] = args?.identifier;
|
|
86
|
+
resourceInputs["name"] = args?.name;
|
|
87
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
88
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
89
|
+
resourceInputs["tags"] = args?.tags;
|
|
90
|
+
resourceInputs["type"] = args?.type;
|
|
91
|
+
resourceInputs["yaml"] = args?.yaml;
|
|
92
92
|
}
|
|
93
93
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
94
94
|
super(Environment.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../platform/environment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../platform/environment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GA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