@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
package/platform/organization.js
CHANGED
|
@@ -46,7 +46,7 @@ class Organization extends pulumi.CustomResource {
|
|
|
46
46
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
47
|
*/
|
|
48
48
|
static get(name, id, state, opts) {
|
|
49
|
-
return new Organization(name, state,
|
|
49
|
+
return new Organization(name, state, { ...opts, id: id });
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
52
|
* Returns true if the given object is an instance of Organization. This is designed to work even
|
|
@@ -63,20 +63,20 @@ class Organization extends pulumi.CustomResource {
|
|
|
63
63
|
opts = opts || {};
|
|
64
64
|
if (opts.id) {
|
|
65
65
|
const state = argsOrState;
|
|
66
|
-
resourceInputs["description"] = state
|
|
67
|
-
resourceInputs["identifier"] = state
|
|
68
|
-
resourceInputs["name"] = state
|
|
69
|
-
resourceInputs["tags"] = state
|
|
66
|
+
resourceInputs["description"] = state?.description;
|
|
67
|
+
resourceInputs["identifier"] = state?.identifier;
|
|
68
|
+
resourceInputs["name"] = state?.name;
|
|
69
|
+
resourceInputs["tags"] = state?.tags;
|
|
70
70
|
}
|
|
71
71
|
else {
|
|
72
72
|
const args = argsOrState;
|
|
73
|
-
if (
|
|
73
|
+
if (args?.identifier === undefined && !opts.urn) {
|
|
74
74
|
throw new Error("Missing required property 'identifier'");
|
|
75
75
|
}
|
|
76
|
-
resourceInputs["description"] = args
|
|
77
|
-
resourceInputs["identifier"] = args
|
|
78
|
-
resourceInputs["name"] = args
|
|
79
|
-
resourceInputs["tags"] = args
|
|
76
|
+
resourceInputs["description"] = args?.description;
|
|
77
|
+
resourceInputs["identifier"] = args?.identifier;
|
|
78
|
+
resourceInputs["name"] = args?.name;
|
|
79
|
+
resourceInputs["tags"] = args?.tags;
|
|
80
80
|
}
|
|
81
81
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
82
82
|
super(Organization.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../../platform/organization.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../../platform/organization.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAA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4C,CAAC"}
|
package/platform/overrides.js
CHANGED
|
@@ -41,7 +41,7 @@ class Overrides 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 Overrides(name, state,
|
|
44
|
+
return new Overrides(name, state, { ...opts, id: id });
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
47
|
* Returns true if the given object is an instance of Overrides. This is designed to work even
|
|
@@ -58,39 +58,39 @@ class Overrides extends pulumi.CustomResource {
|
|
|
58
58
|
opts = opts || {};
|
|
59
59
|
if (opts.id) {
|
|
60
60
|
const state = argsOrState;
|
|
61
|
-
resourceInputs["clusterId"] = state
|
|
62
|
-
resourceInputs["envId"] = state
|
|
63
|
-
resourceInputs["gitDetails"] = state
|
|
64
|
-
resourceInputs["identifier"] = state
|
|
65
|
-
resourceInputs["importFromGit"] = state
|
|
66
|
-
resourceInputs["infraId"] = state
|
|
67
|
-
resourceInputs["isForceImport"] = state
|
|
68
|
-
resourceInputs["orgId"] = state
|
|
69
|
-
resourceInputs["projectId"] = state
|
|
70
|
-
resourceInputs["serviceId"] = state
|
|
71
|
-
resourceInputs["type"] = state
|
|
72
|
-
resourceInputs["yaml"] = state
|
|
61
|
+
resourceInputs["clusterId"] = state?.clusterId;
|
|
62
|
+
resourceInputs["envId"] = state?.envId;
|
|
63
|
+
resourceInputs["gitDetails"] = state?.gitDetails;
|
|
64
|
+
resourceInputs["identifier"] = state?.identifier;
|
|
65
|
+
resourceInputs["importFromGit"] = state?.importFromGit;
|
|
66
|
+
resourceInputs["infraId"] = state?.infraId;
|
|
67
|
+
resourceInputs["isForceImport"] = state?.isForceImport;
|
|
68
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
69
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
70
|
+
resourceInputs["serviceId"] = state?.serviceId;
|
|
71
|
+
resourceInputs["type"] = state?.type;
|
|
72
|
+
resourceInputs["yaml"] = state?.yaml;
|
|
73
73
|
}
|
|
74
74
|
else {
|
|
75
75
|
const args = argsOrState;
|
|
76
|
-
if (
|
|
76
|
+
if (args?.envId === undefined && !opts.urn) {
|
|
77
77
|
throw new Error("Missing required property 'envId'");
|
|
78
78
|
}
|
|
79
|
-
if (
|
|
79
|
+
if (args?.type === undefined && !opts.urn) {
|
|
80
80
|
throw new Error("Missing required property 'type'");
|
|
81
81
|
}
|
|
82
|
-
resourceInputs["clusterId"] = args
|
|
83
|
-
resourceInputs["envId"] = args
|
|
84
|
-
resourceInputs["gitDetails"] = args
|
|
85
|
-
resourceInputs["identifier"] = args
|
|
86
|
-
resourceInputs["importFromGit"] = args
|
|
87
|
-
resourceInputs["infraId"] = args
|
|
88
|
-
resourceInputs["isForceImport"] = args
|
|
89
|
-
resourceInputs["orgId"] = args
|
|
90
|
-
resourceInputs["projectId"] = args
|
|
91
|
-
resourceInputs["serviceId"] = args
|
|
92
|
-
resourceInputs["type"] = args
|
|
93
|
-
resourceInputs["yaml"] = args
|
|
82
|
+
resourceInputs["clusterId"] = args?.clusterId;
|
|
83
|
+
resourceInputs["envId"] = args?.envId;
|
|
84
|
+
resourceInputs["gitDetails"] = args?.gitDetails;
|
|
85
|
+
resourceInputs["identifier"] = args?.identifier;
|
|
86
|
+
resourceInputs["importFromGit"] = args?.importFromGit;
|
|
87
|
+
resourceInputs["infraId"] = args?.infraId;
|
|
88
|
+
resourceInputs["isForceImport"] = args?.isForceImport;
|
|
89
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
90
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
91
|
+
resourceInputs["serviceId"] = args?.serviceId;
|
|
92
|
+
resourceInputs["type"] = args?.type;
|
|
93
|
+
resourceInputs["yaml"] = args?.yaml;
|
|
94
94
|
}
|
|
95
95
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
96
96
|
super(Overrides.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overrides.js","sourceRoot":"","sources":["../../platform/overrides.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"overrides.js","sourceRoot":"","sources":["../../platform/overrides.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IA2DD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC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,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,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,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA7HL,8BA8HC;AAhHG,gBAAgB;AACO,sBAAY,GAAG,sCAAsC,CAAC"}
|
|
@@ -57,7 +57,7 @@ class PagerdutyConnector extends pulumi.CustomResource {
|
|
|
57
57
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
58
58
|
*/
|
|
59
59
|
static get(name, id, state, opts) {
|
|
60
|
-
return new PagerdutyConnector(name, state,
|
|
60
|
+
return new PagerdutyConnector(name, state, { ...opts, id: id });
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
63
|
* Returns true if the given object is an instance of PagerdutyConnector. This is designed to work even
|
|
@@ -74,31 +74,31 @@ class PagerdutyConnector extends pulumi.CustomResource {
|
|
|
74
74
|
opts = opts || {};
|
|
75
75
|
if (opts.id) {
|
|
76
76
|
const state = argsOrState;
|
|
77
|
-
resourceInputs["apiTokenRef"] = state
|
|
78
|
-
resourceInputs["delegateSelectors"] = state
|
|
79
|
-
resourceInputs["description"] = state
|
|
80
|
-
resourceInputs["identifier"] = state
|
|
81
|
-
resourceInputs["name"] = state
|
|
82
|
-
resourceInputs["orgId"] = state
|
|
83
|
-
resourceInputs["projectId"] = state
|
|
84
|
-
resourceInputs["tags"] = state
|
|
77
|
+
resourceInputs["apiTokenRef"] = state?.apiTokenRef;
|
|
78
|
+
resourceInputs["delegateSelectors"] = state?.delegateSelectors;
|
|
79
|
+
resourceInputs["description"] = state?.description;
|
|
80
|
+
resourceInputs["identifier"] = state?.identifier;
|
|
81
|
+
resourceInputs["name"] = state?.name;
|
|
82
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
83
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
84
|
+
resourceInputs["tags"] = state?.tags;
|
|
85
85
|
}
|
|
86
86
|
else {
|
|
87
87
|
const args = argsOrState;
|
|
88
|
-
if (
|
|
88
|
+
if (args?.apiTokenRef === undefined && !opts.urn) {
|
|
89
89
|
throw new Error("Missing required property 'apiTokenRef'");
|
|
90
90
|
}
|
|
91
|
-
if (
|
|
91
|
+
if (args?.identifier === undefined && !opts.urn) {
|
|
92
92
|
throw new Error("Missing required property 'identifier'");
|
|
93
93
|
}
|
|
94
|
-
resourceInputs["apiTokenRef"] = args
|
|
95
|
-
resourceInputs["delegateSelectors"] = args
|
|
96
|
-
resourceInputs["description"] = args
|
|
97
|
-
resourceInputs["identifier"] = args
|
|
98
|
-
resourceInputs["name"] = args
|
|
99
|
-
resourceInputs["orgId"] = args
|
|
100
|
-
resourceInputs["projectId"] = args
|
|
101
|
-
resourceInputs["tags"] = args
|
|
94
|
+
resourceInputs["apiTokenRef"] = args?.apiTokenRef;
|
|
95
|
+
resourceInputs["delegateSelectors"] = args?.delegateSelectors;
|
|
96
|
+
resourceInputs["description"] = args?.description;
|
|
97
|
+
resourceInputs["identifier"] = args?.identifier;
|
|
98
|
+
resourceInputs["name"] = args?.name;
|
|
99
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
100
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
101
|
+
resourceInputs["tags"] = args?.tags;
|
|
102
102
|
}
|
|
103
103
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
104
104
|
super(PagerdutyConnector.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagerdutyConnector.js","sourceRoot":"","sources":["../../platform/pagerdutyConnector.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;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":"pagerdutyConnector.js","sourceRoot":"","sources":["../../platform/pagerdutyConnector.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;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,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,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,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;SACvC;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;;AArGL,gDAsGC;AAxFG,gBAAgB;AACO,+BAAY,GAAG,wDAAwD,CAAC"}
|
package/platform/pipeline.js
CHANGED
|
@@ -166,7 +166,7 @@ class Pipeline extends pulumi.CustomResource {
|
|
|
166
166
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
167
167
|
*/
|
|
168
168
|
static get(name, id, state, opts) {
|
|
169
|
-
return new Pipeline(name, state,
|
|
169
|
+
return new Pipeline(name, state, { ...opts, id: id });
|
|
170
170
|
}
|
|
171
171
|
/**
|
|
172
172
|
* Returns true if the given object is an instance of Pipeline. This is designed to work even
|
|
@@ -183,44 +183,44 @@ class Pipeline extends pulumi.CustomResource {
|
|
|
183
183
|
opts = opts || {};
|
|
184
184
|
if (opts.id) {
|
|
185
185
|
const state = argsOrState;
|
|
186
|
-
resourceInputs["description"] = state
|
|
187
|
-
resourceInputs["gitDetails"] = state
|
|
188
|
-
resourceInputs["gitImportInfo"] = state
|
|
189
|
-
resourceInputs["identifier"] = state
|
|
190
|
-
resourceInputs["importFromGit"] = state
|
|
191
|
-
resourceInputs["name"] = state
|
|
192
|
-
resourceInputs["orgId"] = state
|
|
193
|
-
resourceInputs["pipelineImportRequest"] = state
|
|
194
|
-
resourceInputs["projectId"] = state
|
|
195
|
-
resourceInputs["tags"] = state
|
|
196
|
-
resourceInputs["templateApplied"] = state
|
|
197
|
-
resourceInputs["templateAppliedPipelineYaml"] = state
|
|
198
|
-
resourceInputs["yaml"] = state
|
|
186
|
+
resourceInputs["description"] = state?.description;
|
|
187
|
+
resourceInputs["gitDetails"] = state?.gitDetails;
|
|
188
|
+
resourceInputs["gitImportInfo"] = state?.gitImportInfo;
|
|
189
|
+
resourceInputs["identifier"] = state?.identifier;
|
|
190
|
+
resourceInputs["importFromGit"] = state?.importFromGit;
|
|
191
|
+
resourceInputs["name"] = state?.name;
|
|
192
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
193
|
+
resourceInputs["pipelineImportRequest"] = state?.pipelineImportRequest;
|
|
194
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
195
|
+
resourceInputs["tags"] = state?.tags;
|
|
196
|
+
resourceInputs["templateApplied"] = state?.templateApplied;
|
|
197
|
+
resourceInputs["templateAppliedPipelineYaml"] = state?.templateAppliedPipelineYaml;
|
|
198
|
+
resourceInputs["yaml"] = state?.yaml;
|
|
199
199
|
}
|
|
200
200
|
else {
|
|
201
201
|
const args = argsOrState;
|
|
202
|
-
if (
|
|
202
|
+
if (args?.identifier === undefined && !opts.urn) {
|
|
203
203
|
throw new Error("Missing required property 'identifier'");
|
|
204
204
|
}
|
|
205
|
-
if (
|
|
205
|
+
if (args?.orgId === undefined && !opts.urn) {
|
|
206
206
|
throw new Error("Missing required property 'orgId'");
|
|
207
207
|
}
|
|
208
|
-
if (
|
|
208
|
+
if (args?.projectId === undefined && !opts.urn) {
|
|
209
209
|
throw new Error("Missing required property 'projectId'");
|
|
210
210
|
}
|
|
211
|
-
resourceInputs["description"] = args
|
|
212
|
-
resourceInputs["gitDetails"] = args
|
|
213
|
-
resourceInputs["gitImportInfo"] = args
|
|
214
|
-
resourceInputs["identifier"] = args
|
|
215
|
-
resourceInputs["importFromGit"] = args
|
|
216
|
-
resourceInputs["name"] = args
|
|
217
|
-
resourceInputs["orgId"] = args
|
|
218
|
-
resourceInputs["pipelineImportRequest"] = args
|
|
219
|
-
resourceInputs["projectId"] = args
|
|
220
|
-
resourceInputs["tags"] = args
|
|
221
|
-
resourceInputs["templateApplied"] = args
|
|
222
|
-
resourceInputs["templateAppliedPipelineYaml"] = args
|
|
223
|
-
resourceInputs["yaml"] = args
|
|
211
|
+
resourceInputs["description"] = args?.description;
|
|
212
|
+
resourceInputs["gitDetails"] = args?.gitDetails;
|
|
213
|
+
resourceInputs["gitImportInfo"] = args?.gitImportInfo;
|
|
214
|
+
resourceInputs["identifier"] = args?.identifier;
|
|
215
|
+
resourceInputs["importFromGit"] = args?.importFromGit;
|
|
216
|
+
resourceInputs["name"] = args?.name;
|
|
217
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
218
|
+
resourceInputs["pipelineImportRequest"] = args?.pipelineImportRequest;
|
|
219
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
220
|
+
resourceInputs["tags"] = args?.tags;
|
|
221
|
+
resourceInputs["templateApplied"] = args?.templateApplied;
|
|
222
|
+
resourceInputs["templateAppliedPipelineYaml"] = args?.templateAppliedPipelineYaml;
|
|
223
|
+
resourceInputs["yaml"] = args?.yaml;
|
|
224
224
|
}
|
|
225
225
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
226
226
|
super(Pipeline.__pulumiType, name, resourceInputs, opts);
|
package/platform/pipeline.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../../platform/pipeline.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;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-162,7 +162,7 @@ class PipelineFilters extends pulumi.CustomResource {
|
|
|
162
162
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
163
163
|
*/
|
|
164
164
|
static get(name, id, state, opts) {
|
|
165
|
-
return new PipelineFilters(name, state,
|
|
165
|
+
return new PipelineFilters(name, state, { ...opts, id: id });
|
|
166
166
|
}
|
|
167
167
|
/**
|
|
168
168
|
* Returns true if the given object is an instance of PipelineFilters. This is designed to work even
|
|
@@ -179,32 +179,32 @@ class PipelineFilters extends pulumi.CustomResource {
|
|
|
179
179
|
opts = opts || {};
|
|
180
180
|
if (opts.id) {
|
|
181
181
|
const state = argsOrState;
|
|
182
|
-
resourceInputs["filterProperties"] = state
|
|
183
|
-
resourceInputs["filterVisibility"] = state
|
|
184
|
-
resourceInputs["identifier"] = state
|
|
185
|
-
resourceInputs["name"] = state
|
|
186
|
-
resourceInputs["orgId"] = state
|
|
187
|
-
resourceInputs["projectId"] = state
|
|
188
|
-
resourceInputs["type"] = state
|
|
182
|
+
resourceInputs["filterProperties"] = state?.filterProperties;
|
|
183
|
+
resourceInputs["filterVisibility"] = state?.filterVisibility;
|
|
184
|
+
resourceInputs["identifier"] = state?.identifier;
|
|
185
|
+
resourceInputs["name"] = state?.name;
|
|
186
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
187
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
188
|
+
resourceInputs["type"] = state?.type;
|
|
189
189
|
}
|
|
190
190
|
else {
|
|
191
191
|
const args = argsOrState;
|
|
192
|
-
if (
|
|
192
|
+
if (args?.filterProperties === undefined && !opts.urn) {
|
|
193
193
|
throw new Error("Missing required property 'filterProperties'");
|
|
194
194
|
}
|
|
195
|
-
if (
|
|
195
|
+
if (args?.identifier === undefined && !opts.urn) {
|
|
196
196
|
throw new Error("Missing required property 'identifier'");
|
|
197
197
|
}
|
|
198
|
-
if (
|
|
198
|
+
if (args?.type === undefined && !opts.urn) {
|
|
199
199
|
throw new Error("Missing required property 'type'");
|
|
200
200
|
}
|
|
201
|
-
resourceInputs["filterProperties"] = args
|
|
202
|
-
resourceInputs["filterVisibility"] = args
|
|
203
|
-
resourceInputs["identifier"] = args
|
|
204
|
-
resourceInputs["name"] = args
|
|
205
|
-
resourceInputs["orgId"] = args
|
|
206
|
-
resourceInputs["projectId"] = args
|
|
207
|
-
resourceInputs["type"] = args
|
|
201
|
+
resourceInputs["filterProperties"] = args?.filterProperties;
|
|
202
|
+
resourceInputs["filterVisibility"] = args?.filterVisibility;
|
|
203
|
+
resourceInputs["identifier"] = args?.identifier;
|
|
204
|
+
resourceInputs["name"] = args?.name;
|
|
205
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
206
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
207
|
+
resourceInputs["type"] = args?.type;
|
|
208
208
|
}
|
|
209
209
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
210
210
|
super(PipelineFilters.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipelineFilters.js","sourceRoot":"","sources":["../../platform/pipelineFilters.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiJG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"pipelineFilters.js","sourceRoot":"","sources":["../../platform/pipelineFilters.ts"],"names":[],"mapp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L,0CAmGC;AArFG,gBAAgB;AACO,4BAAY,GAAG,kDAAkD,CAAC"}
|
package/platform/policy.js
CHANGED
|
@@ -29,7 +29,7 @@ class Policy extends pulumi.CustomResource {
|
|
|
29
29
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
30
30
|
*/
|
|
31
31
|
static get(name, id, state, opts) {
|
|
32
|
-
return new Policy(name, state,
|
|
32
|
+
return new Policy(name, state, { ...opts, id: id });
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Returns true if the given object is an instance of Policy. This is designed to work even
|
|
@@ -46,49 +46,49 @@ class Policy extends pulumi.CustomResource {
|
|
|
46
46
|
opts = opts || {};
|
|
47
47
|
if (opts.id) {
|
|
48
48
|
const state = argsOrState;
|
|
49
|
-
resourceInputs["description"] = state
|
|
50
|
-
resourceInputs["gitBaseBranch"] = state
|
|
51
|
-
resourceInputs["gitBranch"] = state
|
|
52
|
-
resourceInputs["gitCommitMsg"] = state
|
|
53
|
-
resourceInputs["gitCommitSha"] = state
|
|
54
|
-
resourceInputs["gitConnectorRef"] = state
|
|
55
|
-
resourceInputs["gitFileId"] = state
|
|
56
|
-
resourceInputs["gitImport"] = state
|
|
57
|
-
resourceInputs["gitIsNewBranch"] = state
|
|
58
|
-
resourceInputs["gitPath"] = state
|
|
59
|
-
resourceInputs["gitRepo"] = state
|
|
60
|
-
resourceInputs["identifier"] = state
|
|
61
|
-
resourceInputs["name"] = state
|
|
62
|
-
resourceInputs["orgId"] = state
|
|
63
|
-
resourceInputs["projectId"] = state
|
|
64
|
-
resourceInputs["rego"] = state
|
|
65
|
-
resourceInputs["tags"] = state
|
|
49
|
+
resourceInputs["description"] = state?.description;
|
|
50
|
+
resourceInputs["gitBaseBranch"] = state?.gitBaseBranch;
|
|
51
|
+
resourceInputs["gitBranch"] = state?.gitBranch;
|
|
52
|
+
resourceInputs["gitCommitMsg"] = state?.gitCommitMsg;
|
|
53
|
+
resourceInputs["gitCommitSha"] = state?.gitCommitSha;
|
|
54
|
+
resourceInputs["gitConnectorRef"] = state?.gitConnectorRef;
|
|
55
|
+
resourceInputs["gitFileId"] = state?.gitFileId;
|
|
56
|
+
resourceInputs["gitImport"] = state?.gitImport;
|
|
57
|
+
resourceInputs["gitIsNewBranch"] = state?.gitIsNewBranch;
|
|
58
|
+
resourceInputs["gitPath"] = state?.gitPath;
|
|
59
|
+
resourceInputs["gitRepo"] = state?.gitRepo;
|
|
60
|
+
resourceInputs["identifier"] = state?.identifier;
|
|
61
|
+
resourceInputs["name"] = state?.name;
|
|
62
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
63
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
64
|
+
resourceInputs["rego"] = state?.rego;
|
|
65
|
+
resourceInputs["tags"] = state?.tags;
|
|
66
66
|
}
|
|
67
67
|
else {
|
|
68
68
|
const args = argsOrState;
|
|
69
|
-
if (
|
|
69
|
+
if (args?.identifier === undefined && !opts.urn) {
|
|
70
70
|
throw new Error("Missing required property 'identifier'");
|
|
71
71
|
}
|
|
72
|
-
if (
|
|
72
|
+
if (args?.rego === undefined && !opts.urn) {
|
|
73
73
|
throw new Error("Missing required property 'rego'");
|
|
74
74
|
}
|
|
75
|
-
resourceInputs["description"] = args
|
|
76
|
-
resourceInputs["gitBaseBranch"] = args
|
|
77
|
-
resourceInputs["gitBranch"] = args
|
|
78
|
-
resourceInputs["gitCommitMsg"] = args
|
|
79
|
-
resourceInputs["gitCommitSha"] = args
|
|
80
|
-
resourceInputs["gitConnectorRef"] = args
|
|
81
|
-
resourceInputs["gitFileId"] = args
|
|
82
|
-
resourceInputs["gitImport"] = args
|
|
83
|
-
resourceInputs["gitIsNewBranch"] = args
|
|
84
|
-
resourceInputs["gitPath"] = args
|
|
85
|
-
resourceInputs["gitRepo"] = args
|
|
86
|
-
resourceInputs["identifier"] = args
|
|
87
|
-
resourceInputs["name"] = args
|
|
88
|
-
resourceInputs["orgId"] = args
|
|
89
|
-
resourceInputs["projectId"] = args
|
|
90
|
-
resourceInputs["rego"] = args
|
|
91
|
-
resourceInputs["tags"] = args
|
|
75
|
+
resourceInputs["description"] = args?.description;
|
|
76
|
+
resourceInputs["gitBaseBranch"] = args?.gitBaseBranch;
|
|
77
|
+
resourceInputs["gitBranch"] = args?.gitBranch;
|
|
78
|
+
resourceInputs["gitCommitMsg"] = args?.gitCommitMsg;
|
|
79
|
+
resourceInputs["gitCommitSha"] = args?.gitCommitSha;
|
|
80
|
+
resourceInputs["gitConnectorRef"] = args?.gitConnectorRef;
|
|
81
|
+
resourceInputs["gitFileId"] = args?.gitFileId;
|
|
82
|
+
resourceInputs["gitImport"] = args?.gitImport;
|
|
83
|
+
resourceInputs["gitIsNewBranch"] = args?.gitIsNewBranch;
|
|
84
|
+
resourceInputs["gitPath"] = args?.gitPath;
|
|
85
|
+
resourceInputs["gitRepo"] = args?.gitRepo;
|
|
86
|
+
resourceInputs["identifier"] = args?.identifier;
|
|
87
|
+
resourceInputs["name"] = args?.name;
|
|
88
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
89
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
90
|
+
resourceInputs["rego"] = args?.rego;
|
|
91
|
+
resourceInputs["tags"] = args?.tags;
|
|
92
92
|
}
|
|
93
93
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
94
94
|
super(Policy.__pulumiType, name, resourceInputs, opts);
|
package/platform/policy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policy.js","sourceRoot":"","sources":["../../platform/policy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC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pD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,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,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA3JL,wBA4JC;AA9IG,gBAAgB;AACO,mBAAY,GAAG,gCAAgC,CAAC"}
|
package/platform/policySet.d.ts
CHANGED
|
@@ -58,6 +58,10 @@ export declare class PolicySet extends pulumi.CustomResource {
|
|
|
58
58
|
* List of policy identifiers / severity for the policyset.
|
|
59
59
|
*/
|
|
60
60
|
readonly policies: pulumi.Output<outputs.platform.PolicySetPolicy[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Set of policy identifiers / severity for the policyset. Order is not significant.
|
|
63
|
+
*/
|
|
64
|
+
readonly policyReferences: pulumi.Output<outputs.platform.PolicySetPolicyReference[]>;
|
|
61
65
|
/**
|
|
62
66
|
* Unique identifier of the project.
|
|
63
67
|
*/
|
|
@@ -111,6 +115,10 @@ export interface PolicySetState {
|
|
|
111
115
|
* List of policy identifiers / severity for the policyset.
|
|
112
116
|
*/
|
|
113
117
|
policies?: pulumi.Input<pulumi.Input<inputs.platform.PolicySetPolicy>[]>;
|
|
118
|
+
/**
|
|
119
|
+
* Set of policy identifiers / severity for the policyset. Order is not significant.
|
|
120
|
+
*/
|
|
121
|
+
policyReferences?: pulumi.Input<pulumi.Input<inputs.platform.PolicySetPolicyReference>[]>;
|
|
114
122
|
/**
|
|
115
123
|
* Unique identifier of the project.
|
|
116
124
|
*/
|
|
@@ -156,6 +164,10 @@ export interface PolicySetArgs {
|
|
|
156
164
|
* List of policy identifiers / severity for the policyset.
|
|
157
165
|
*/
|
|
158
166
|
policies?: pulumi.Input<pulumi.Input<inputs.platform.PolicySetPolicy>[]>;
|
|
167
|
+
/**
|
|
168
|
+
* Set of policy identifiers / severity for the policyset. Order is not significant.
|
|
169
|
+
*/
|
|
170
|
+
policyReferences?: pulumi.Input<pulumi.Input<inputs.platform.PolicySetPolicyReference>[]>;
|
|
159
171
|
/**
|
|
160
172
|
* Unique identifier of the project.
|
|
161
173
|
*/
|