@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/service/ssh.js
CHANGED
|
@@ -44,7 +44,7 @@ class Ssh extends pulumi.CustomResource {
|
|
|
44
44
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
45
|
*/
|
|
46
46
|
static get(name, id, state, opts) {
|
|
47
|
-
return new Ssh(name, state,
|
|
47
|
+
return new Ssh(name, state, { ...opts, id: id });
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* Returns true if the given object is an instance of Ssh. This is designed to work even
|
|
@@ -61,25 +61,25 @@ class Ssh extends pulumi.CustomResource {
|
|
|
61
61
|
opts = opts || {};
|
|
62
62
|
if (opts.id) {
|
|
63
63
|
const state = argsOrState;
|
|
64
|
-
resourceInputs["appId"] = state
|
|
65
|
-
resourceInputs["artifactType"] = state
|
|
66
|
-
resourceInputs["description"] = state
|
|
67
|
-
resourceInputs["name"] = state
|
|
68
|
-
resourceInputs["variables"] = state
|
|
64
|
+
resourceInputs["appId"] = state?.appId;
|
|
65
|
+
resourceInputs["artifactType"] = state?.artifactType;
|
|
66
|
+
resourceInputs["description"] = state?.description;
|
|
67
|
+
resourceInputs["name"] = state?.name;
|
|
68
|
+
resourceInputs["variables"] = state?.variables;
|
|
69
69
|
}
|
|
70
70
|
else {
|
|
71
71
|
const args = argsOrState;
|
|
72
|
-
if (
|
|
72
|
+
if (args?.appId === undefined && !opts.urn) {
|
|
73
73
|
throw new Error("Missing required property 'appId'");
|
|
74
74
|
}
|
|
75
|
-
if (
|
|
75
|
+
if (args?.artifactType === undefined && !opts.urn) {
|
|
76
76
|
throw new Error("Missing required property 'artifactType'");
|
|
77
77
|
}
|
|
78
|
-
resourceInputs["appId"] = args
|
|
79
|
-
resourceInputs["artifactType"] = args
|
|
80
|
-
resourceInputs["description"] = args
|
|
81
|
-
resourceInputs["name"] = args
|
|
82
|
-
resourceInputs["variables"] = args
|
|
78
|
+
resourceInputs["appId"] = args?.appId;
|
|
79
|
+
resourceInputs["artifactType"] = args?.artifactType;
|
|
80
|
+
resourceInputs["description"] = args?.description;
|
|
81
|
+
resourceInputs["name"] = args?.name;
|
|
82
|
+
resourceInputs["variables"] = args?.variables;
|
|
83
83
|
}
|
|
84
84
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
85
85
|
super(Ssh.__pulumiType, name, resourceInputs, opts);
|
package/service/ssh.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ssh.js","sourceRoot":"","sources":["../../service/ssh.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"ssh.js","sourceRoot":"","sources":["../../service/ssh.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY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CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AAnFL,kBAoFC;AAtEG,gBAAgB;AACO,gBAAY,GAAG,yBAAyB,CAAC"}
|
package/service/tanzu.js
CHANGED
|
@@ -43,7 +43,7 @@ class Tanzu extends pulumi.CustomResource {
|
|
|
43
43
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
44
44
|
*/
|
|
45
45
|
static get(name, id, state, opts) {
|
|
46
|
-
return new Tanzu(name, state,
|
|
46
|
+
return new Tanzu(name, state, { ...opts, id: id });
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
49
|
* Returns true if the given object is an instance of Tanzu. This is designed to work even
|
|
@@ -60,20 +60,20 @@ class Tanzu extends pulumi.CustomResource {
|
|
|
60
60
|
opts = opts || {};
|
|
61
61
|
if (opts.id) {
|
|
62
62
|
const state = argsOrState;
|
|
63
|
-
resourceInputs["appId"] = state
|
|
64
|
-
resourceInputs["description"] = state
|
|
65
|
-
resourceInputs["name"] = state
|
|
66
|
-
resourceInputs["variables"] = state
|
|
63
|
+
resourceInputs["appId"] = state?.appId;
|
|
64
|
+
resourceInputs["description"] = state?.description;
|
|
65
|
+
resourceInputs["name"] = state?.name;
|
|
66
|
+
resourceInputs["variables"] = state?.variables;
|
|
67
67
|
}
|
|
68
68
|
else {
|
|
69
69
|
const args = argsOrState;
|
|
70
|
-
if (
|
|
70
|
+
if (args?.appId === undefined && !opts.urn) {
|
|
71
71
|
throw new Error("Missing required property 'appId'");
|
|
72
72
|
}
|
|
73
|
-
resourceInputs["appId"] = args
|
|
74
|
-
resourceInputs["description"] = args
|
|
75
|
-
resourceInputs["name"] = args
|
|
76
|
-
resourceInputs["variables"] = args
|
|
73
|
+
resourceInputs["appId"] = args?.appId;
|
|
74
|
+
resourceInputs["description"] = args?.description;
|
|
75
|
+
resourceInputs["name"] = args?.name;
|
|
76
|
+
resourceInputs["variables"] = args?.variables;
|
|
77
77
|
}
|
|
78
78
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
79
79
|
super(Tanzu.__pulumiType, name, resourceInputs, opts);
|
package/service/tanzu.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tanzu.js","sourceRoot":"","sources":["../../service/tanzu.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"tanzu.js","sourceRoot":"","sources":["../../service/tanzu.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;Q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AAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AA1EL,sBA2EC;AA7DG,gBAAgB;AACO,kBAAY,GAAG,6BAA6B,CAAC"}
|
package/service/winrm.js
CHANGED
|
@@ -44,7 +44,7 @@ class Winrm extends pulumi.CustomResource {
|
|
|
44
44
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
45
|
*/
|
|
46
46
|
static get(name, id, state, opts) {
|
|
47
|
-
return new Winrm(name, state,
|
|
47
|
+
return new Winrm(name, state, { ...opts, id: id });
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* Returns true if the given object is an instance of Winrm. This is designed to work even
|
|
@@ -61,25 +61,25 @@ class Winrm extends pulumi.CustomResource {
|
|
|
61
61
|
opts = opts || {};
|
|
62
62
|
if (opts.id) {
|
|
63
63
|
const state = argsOrState;
|
|
64
|
-
resourceInputs["appId"] = state
|
|
65
|
-
resourceInputs["artifactType"] = state
|
|
66
|
-
resourceInputs["description"] = state
|
|
67
|
-
resourceInputs["name"] = state
|
|
68
|
-
resourceInputs["variables"] = state
|
|
64
|
+
resourceInputs["appId"] = state?.appId;
|
|
65
|
+
resourceInputs["artifactType"] = state?.artifactType;
|
|
66
|
+
resourceInputs["description"] = state?.description;
|
|
67
|
+
resourceInputs["name"] = state?.name;
|
|
68
|
+
resourceInputs["variables"] = state?.variables;
|
|
69
69
|
}
|
|
70
70
|
else {
|
|
71
71
|
const args = argsOrState;
|
|
72
|
-
if (
|
|
72
|
+
if (args?.appId === undefined && !opts.urn) {
|
|
73
73
|
throw new Error("Missing required property 'appId'");
|
|
74
74
|
}
|
|
75
|
-
if (
|
|
75
|
+
if (args?.artifactType === undefined && !opts.urn) {
|
|
76
76
|
throw new Error("Missing required property 'artifactType'");
|
|
77
77
|
}
|
|
78
|
-
resourceInputs["appId"] = args
|
|
79
|
-
resourceInputs["artifactType"] = args
|
|
80
|
-
resourceInputs["description"] = args
|
|
81
|
-
resourceInputs["name"] = args
|
|
82
|
-
resourceInputs["variables"] = args
|
|
78
|
+
resourceInputs["appId"] = args?.appId;
|
|
79
|
+
resourceInputs["artifactType"] = args?.artifactType;
|
|
80
|
+
resourceInputs["description"] = args?.description;
|
|
81
|
+
resourceInputs["name"] = args?.name;
|
|
82
|
+
resourceInputs["variables"] = args?.variables;
|
|
83
83
|
}
|
|
84
84
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
85
85
|
super(Winrm.__pulumiType, name, resourceInputs, opts);
|
package/service/winrm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"winrm.js","sourceRoot":"","sources":["../../service/winrm.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"winrm.js","sourceRoot":"","sources":["../../service/winrm.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG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,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAnFL,sBAoFC;AAtEG,gBAAgB;AACO,kBAAY,GAAG,6BAA6B,CAAC"}
|
package/sshCredential.js
CHANGED
|
@@ -60,7 +60,7 @@ class SshCredential extends pulumi.CustomResource {
|
|
|
60
60
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
61
61
|
*/
|
|
62
62
|
static get(name, id, state, opts) {
|
|
63
|
-
return new SshCredential(name, state,
|
|
63
|
+
return new SshCredential(name, state, { ...opts, id: id });
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
66
|
* Returns true if the given object is an instance of SshCredential. This is designed to work even
|
|
@@ -77,17 +77,17 @@ class SshCredential extends pulumi.CustomResource {
|
|
|
77
77
|
opts = opts || {};
|
|
78
78
|
if (opts.id) {
|
|
79
79
|
const state = argsOrState;
|
|
80
|
-
resourceInputs["kerberosAuthentication"] = state
|
|
81
|
-
resourceInputs["name"] = state
|
|
82
|
-
resourceInputs["sshAuthentication"] = state
|
|
83
|
-
resourceInputs["usageScopes"] = state
|
|
80
|
+
resourceInputs["kerberosAuthentication"] = state?.kerberosAuthentication;
|
|
81
|
+
resourceInputs["name"] = state?.name;
|
|
82
|
+
resourceInputs["sshAuthentication"] = state?.sshAuthentication;
|
|
83
|
+
resourceInputs["usageScopes"] = state?.usageScopes;
|
|
84
84
|
}
|
|
85
85
|
else {
|
|
86
86
|
const args = argsOrState;
|
|
87
|
-
resourceInputs["kerberosAuthentication"] = args
|
|
88
|
-
resourceInputs["name"] = args
|
|
89
|
-
resourceInputs["sshAuthentication"] = args
|
|
90
|
-
resourceInputs["usageScopes"] = args
|
|
87
|
+
resourceInputs["kerberosAuthentication"] = args?.kerberosAuthentication;
|
|
88
|
+
resourceInputs["name"] = args?.name;
|
|
89
|
+
resourceInputs["sshAuthentication"] = args?.sshAuthentication;
|
|
90
|
+
resourceInputs["usageScopes"] = args?.usageScopes;
|
|
91
91
|
}
|
|
92
92
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
93
93
|
super(SshCredential.__pulumiType, name, resourceInputs, opts);
|
package/sshCredential.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sshCredential.js","sourceRoot":"","sources":["../sshCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"sshCredential.js","sourceRoot":"","sources":["../sshCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE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;;AAvEL,sCAwEC;AA1DG,gBAAgB;AACO,0BAAY,GAAG,2CAA2C,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -4902,6 +4902,26 @@ export declare namespace platform {
|
|
|
4902
4902
|
*/
|
|
4903
4903
|
severity: pulumi.Input<string>;
|
|
4904
4904
|
}
|
|
4905
|
+
interface GetPolicySetPolicyReference {
|
|
4906
|
+
/**
|
|
4907
|
+
* Unique identifier of the resource.
|
|
4908
|
+
*/
|
|
4909
|
+
identifier: string;
|
|
4910
|
+
/**
|
|
4911
|
+
* Policy failure response - 'warning' for continuation, 'error' for exit
|
|
4912
|
+
*/
|
|
4913
|
+
severity: string;
|
|
4914
|
+
}
|
|
4915
|
+
interface GetPolicySetPolicyReferenceArgs {
|
|
4916
|
+
/**
|
|
4917
|
+
* Unique identifier of the resource.
|
|
4918
|
+
*/
|
|
4919
|
+
identifier: pulumi.Input<string>;
|
|
4920
|
+
/**
|
|
4921
|
+
* Policy failure response - 'warning' for continuation, 'error' for exit
|
|
4922
|
+
*/
|
|
4923
|
+
severity: pulumi.Input<string>;
|
|
4924
|
+
}
|
|
4905
4925
|
interface GetRepoRuleBranchBypass {
|
|
4906
4926
|
/**
|
|
4907
4927
|
* Allow users with repository edit permission to bypass.
|
|
@@ -32306,6 +32326,16 @@ export declare namespace platform {
|
|
|
32306
32326
|
*/
|
|
32307
32327
|
severity: pulumi.Input<string>;
|
|
32308
32328
|
}
|
|
32329
|
+
interface PolicySetPolicyReference {
|
|
32330
|
+
/**
|
|
32331
|
+
* Unique identifier of the resource.
|
|
32332
|
+
*/
|
|
32333
|
+
identifier: pulumi.Input<string>;
|
|
32334
|
+
/**
|
|
32335
|
+
* Policy failure response - 'warning' for continuation, 'error' for exit
|
|
32336
|
+
*/
|
|
32337
|
+
severity: pulumi.Input<string>;
|
|
32338
|
+
}
|
|
32309
32339
|
interface PrometheusConnectorHeader {
|
|
32310
32340
|
/**
|
|
32311
32341
|
* Reference to the Harness secret containing the encrypted value. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
package/types/output.d.ts
CHANGED
|
@@ -6028,6 +6028,16 @@ export declare namespace platform {
|
|
|
6028
6028
|
*/
|
|
6029
6029
|
severity: string;
|
|
6030
6030
|
}
|
|
6031
|
+
interface GetPolicySetPolicyReference {
|
|
6032
|
+
/**
|
|
6033
|
+
* Unique identifier of the resource.
|
|
6034
|
+
*/
|
|
6035
|
+
identifier: string;
|
|
6036
|
+
/**
|
|
6037
|
+
* Policy failure response - 'warning' for continuation, 'error' for exit
|
|
6038
|
+
*/
|
|
6039
|
+
severity: string;
|
|
6040
|
+
}
|
|
6031
6041
|
interface GetProjectListProject {
|
|
6032
6042
|
identifier: string;
|
|
6033
6043
|
name: string;
|
|
@@ -33536,6 +33546,16 @@ export declare namespace platform {
|
|
|
33536
33546
|
*/
|
|
33537
33547
|
severity: string;
|
|
33538
33548
|
}
|
|
33549
|
+
interface PolicySetPolicyReference {
|
|
33550
|
+
/**
|
|
33551
|
+
* Unique identifier of the resource.
|
|
33552
|
+
*/
|
|
33553
|
+
identifier: string;
|
|
33554
|
+
/**
|
|
33555
|
+
* Policy failure response - 'warning' for continuation, 'error' for exit
|
|
33556
|
+
*/
|
|
33557
|
+
severity: string;
|
|
33558
|
+
}
|
|
33539
33559
|
interface PrometheusConnectorHeader {
|
|
33540
33560
|
/**
|
|
33541
33561
|
* Reference to the Harness secret containing the encrypted value. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
|
package/user.js
CHANGED
|
@@ -41,7 +41,7 @@ class User 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 User(name, state,
|
|
44
|
+
return new User(name, state, { ...opts, id: id });
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
47
|
* Returns true if the given object is an instance of User. This is designed to work even
|
|
@@ -58,23 +58,23 @@ class User extends pulumi.CustomResource {
|
|
|
58
58
|
opts = opts || {};
|
|
59
59
|
if (opts.id) {
|
|
60
60
|
const state = argsOrState;
|
|
61
|
-
resourceInputs["email"] = state
|
|
62
|
-
resourceInputs["groupIds"] = state
|
|
63
|
-
resourceInputs["isEmailVerified"] = state
|
|
64
|
-
resourceInputs["isImportedFromIdentityProvider"] = state
|
|
65
|
-
resourceInputs["isPasswordExpired"] = state
|
|
66
|
-
resourceInputs["isTwoFactorAuthEnabled"] = state
|
|
67
|
-
resourceInputs["isUserLocked"] = state
|
|
68
|
-
resourceInputs["name"] = state
|
|
61
|
+
resourceInputs["email"] = state?.email;
|
|
62
|
+
resourceInputs["groupIds"] = state?.groupIds;
|
|
63
|
+
resourceInputs["isEmailVerified"] = state?.isEmailVerified;
|
|
64
|
+
resourceInputs["isImportedFromIdentityProvider"] = state?.isImportedFromIdentityProvider;
|
|
65
|
+
resourceInputs["isPasswordExpired"] = state?.isPasswordExpired;
|
|
66
|
+
resourceInputs["isTwoFactorAuthEnabled"] = state?.isTwoFactorAuthEnabled;
|
|
67
|
+
resourceInputs["isUserLocked"] = state?.isUserLocked;
|
|
68
|
+
resourceInputs["name"] = state?.name;
|
|
69
69
|
}
|
|
70
70
|
else {
|
|
71
71
|
const args = argsOrState;
|
|
72
|
-
if (
|
|
72
|
+
if (args?.email === undefined && !opts.urn) {
|
|
73
73
|
throw new Error("Missing required property 'email'");
|
|
74
74
|
}
|
|
75
|
-
resourceInputs["email"] = args
|
|
76
|
-
resourceInputs["groupIds"] = args
|
|
77
|
-
resourceInputs["name"] = args
|
|
75
|
+
resourceInputs["email"] = args?.email;
|
|
76
|
+
resourceInputs["groupIds"] = args?.groupIds;
|
|
77
|
+
resourceInputs["name"] = args?.name;
|
|
78
78
|
resourceInputs["isEmailVerified"] = undefined /*out*/;
|
|
79
79
|
resourceInputs["isImportedFromIdentityProvider"] = undefined /*out*/;
|
|
80
80
|
resourceInputs["isPasswordExpired"] = undefined /*out*/;
|
package/user.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sourceRoot":"","sources":["../user.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../user.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3D,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,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;IA2CD,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CA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SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AAlGL,oBAmGC;AArFG,gBAAgB;AACO,iBAAY,GAAG,yBAAyB,CAAC"}
|
package/userGroup.js
CHANGED
|
@@ -157,7 +157,7 @@ class UserGroup extends pulumi.CustomResource {
|
|
|
157
157
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
158
158
|
*/
|
|
159
159
|
static get(name, id, state, opts) {
|
|
160
|
-
return new UserGroup(name, state,
|
|
160
|
+
return new UserGroup(name, state, { ...opts, id: id });
|
|
161
161
|
}
|
|
162
162
|
/**
|
|
163
163
|
* Returns true if the given object is an instance of UserGroup. This is designed to work even
|
|
@@ -174,23 +174,23 @@ class UserGroup extends pulumi.CustomResource {
|
|
|
174
174
|
opts = opts || {};
|
|
175
175
|
if (opts.id) {
|
|
176
176
|
const state = argsOrState;
|
|
177
|
-
resourceInputs["description"] = state
|
|
178
|
-
resourceInputs["importedByScim"] = state
|
|
179
|
-
resourceInputs["isSsoLinked"] = state
|
|
180
|
-
resourceInputs["ldapSettings"] = state
|
|
181
|
-
resourceInputs["name"] = state
|
|
182
|
-
resourceInputs["notificationSettings"] = state
|
|
183
|
-
resourceInputs["permissions"] = state
|
|
184
|
-
resourceInputs["samlSettings"] = state
|
|
177
|
+
resourceInputs["description"] = state?.description;
|
|
178
|
+
resourceInputs["importedByScim"] = state?.importedByScim;
|
|
179
|
+
resourceInputs["isSsoLinked"] = state?.isSsoLinked;
|
|
180
|
+
resourceInputs["ldapSettings"] = state?.ldapSettings;
|
|
181
|
+
resourceInputs["name"] = state?.name;
|
|
182
|
+
resourceInputs["notificationSettings"] = state?.notificationSettings;
|
|
183
|
+
resourceInputs["permissions"] = state?.permissions;
|
|
184
|
+
resourceInputs["samlSettings"] = state?.samlSettings;
|
|
185
185
|
}
|
|
186
186
|
else {
|
|
187
187
|
const args = argsOrState;
|
|
188
|
-
resourceInputs["description"] = args
|
|
189
|
-
resourceInputs["ldapSettings"] = args
|
|
190
|
-
resourceInputs["name"] = args
|
|
191
|
-
resourceInputs["notificationSettings"] = args
|
|
192
|
-
resourceInputs["permissions"] = args
|
|
193
|
-
resourceInputs["samlSettings"] = args
|
|
188
|
+
resourceInputs["description"] = args?.description;
|
|
189
|
+
resourceInputs["ldapSettings"] = args?.ldapSettings;
|
|
190
|
+
resourceInputs["name"] = args?.name;
|
|
191
|
+
resourceInputs["notificationSettings"] = args?.notificationSettings;
|
|
192
|
+
resourceInputs["permissions"] = args?.permissions;
|
|
193
|
+
resourceInputs["samlSettings"] = args?.samlSettings;
|
|
194
194
|
resourceInputs["importedByScim"] = undefined /*out*/;
|
|
195
195
|
resourceInputs["isSsoLinked"] = undefined /*out*/;
|
|
196
196
|
}
|
package/userGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userGroup.js","sourceRoot":"","sources":["../userGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4IG;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":"userGroup.js","sourceRoot":"","sources":["../userGroup.ts"],"names":[],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AC;YACrC,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,EAAE,oBAAoB,CAAC;YACrE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;SACxD;aAAM;YACH,MAAM,IAAI,GAAG,WAAwC,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;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;;AA/FL,8BAgGC;AAlFG,gBAAgB;AACO,sBAAY,GAAG,mCAAmC,CAAC"}
|
package/userGroupPermissions.js
CHANGED
|
@@ -19,7 +19,7 @@ class UserGroupPermissions 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 UserGroupPermissions(name, state,
|
|
22
|
+
return new UserGroupPermissions(name, state, { ...opts, id: id });
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* Returns true if the given object is an instance of UserGroupPermissions. This is designed to work even
|
|
@@ -36,18 +36,18 @@ class UserGroupPermissions extends pulumi.CustomResource {
|
|
|
36
36
|
opts = opts || {};
|
|
37
37
|
if (opts.id) {
|
|
38
38
|
const state = argsOrState;
|
|
39
|
-
resourceInputs["accountPermissions"] = state
|
|
40
|
-
resourceInputs["appPermissions"] = state
|
|
41
|
-
resourceInputs["userGroupId"] = state
|
|
39
|
+
resourceInputs["accountPermissions"] = state?.accountPermissions;
|
|
40
|
+
resourceInputs["appPermissions"] = state?.appPermissions;
|
|
41
|
+
resourceInputs["userGroupId"] = state?.userGroupId;
|
|
42
42
|
}
|
|
43
43
|
else {
|
|
44
44
|
const args = argsOrState;
|
|
45
|
-
if (
|
|
45
|
+
if (args?.userGroupId === undefined && !opts.urn) {
|
|
46
46
|
throw new Error("Missing required property 'userGroupId'");
|
|
47
47
|
}
|
|
48
|
-
resourceInputs["accountPermissions"] = args
|
|
49
|
-
resourceInputs["appPermissions"] = args
|
|
50
|
-
resourceInputs["userGroupId"] = args
|
|
48
|
+
resourceInputs["accountPermissions"] = args?.accountPermissions;
|
|
49
|
+
resourceInputs["appPermissions"] = args?.appPermissions;
|
|
50
|
+
resourceInputs["userGroupId"] = args?.userGroupId;
|
|
51
51
|
}
|
|
52
52
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
53
53
|
super(UserGroupPermissions.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userGroupPermissions.js","sourceRoot":"","sources":["../userGroupPermissions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA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AAC,GAAG,EAAE;gBAC9C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AApEL,oDAqEC;AAvDG,gBAAgB;AACO,iCAAY,GAAG,yDAAyD,CAAC"}
|
package/utilities.js
CHANGED
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
5
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
6
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
7
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
8
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
9
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
10
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11
|
-
});
|
|
12
|
-
};
|
|
13
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
5
|
exports.callAsync = exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
15
6
|
const runtime = require("@pulumi/pulumi/runtime");
|
|
@@ -77,26 +68,24 @@ function lazyLoad(exports, props, loadModule) {
|
|
|
77
68
|
}
|
|
78
69
|
exports.lazyLoad = lazyLoad;
|
|
79
70
|
/** @internal */
|
|
80
|
-
function callAsync(tok, props, res, opts) {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
:
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
return value;
|
|
99
|
-
});
|
|
71
|
+
async function callAsync(tok, props, res, opts) {
|
|
72
|
+
const o = runtime.call(tok, props, res);
|
|
73
|
+
const value = await o.promise(true /*withUnknowns*/);
|
|
74
|
+
const isKnown = await o.isKnown;
|
|
75
|
+
const isSecret = await o.isSecret;
|
|
76
|
+
const problem = !isKnown ? "an unknown value"
|
|
77
|
+
: isSecret ? "a secret value"
|
|
78
|
+
: undefined;
|
|
79
|
+
// Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
|
|
80
|
+
if (problem) {
|
|
81
|
+
throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
|
|
82
|
+
"This is an error in the provider, please report this to the provider developer.");
|
|
83
|
+
}
|
|
84
|
+
// Extract a single property if requested.
|
|
85
|
+
if (opts && opts.property) {
|
|
86
|
+
return value[opts.property];
|
|
87
|
+
}
|
|
88
|
+
return value;
|
|
100
89
|
}
|
|
101
90
|
exports.callAsync = callAsync;
|
|
102
91
|
//# sourceMappingURL=utilities.js.map
|
package/utilities.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"utilities.js","sourceRoot":"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,kBAAkB;QAC7B,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,gBAAgB;YAC7B,CAAC,CAAC,SAAS,CAAC;IAChB,sGAAsG;IACtG,IAAI,OAAO,EAAE;QACT,MAAM,IAAI,KAAK,CAAC,0BAA0B,GAAG,0BAA0B,OAAO,IAAI;YAC9E,iFAAiF,CAAC,CAAC;KAC1F;IACD,0CAA0C;IAC1C,IAAI,IAAI,IAAI,IAAI,CAAC,QAAQ,EAAE;QACvB,OAAO,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KAC/B;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAxBD,8BAwBC"}
|
package/yamlConfig.js
CHANGED
|
@@ -53,7 +53,7 @@ class YamlConfig extends pulumi.CustomResource {
|
|
|
53
53
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
54
|
*/
|
|
55
55
|
static get(name, id, state, opts) {
|
|
56
|
-
return new YamlConfig(name, state,
|
|
56
|
+
return new YamlConfig(name, state, { ...opts, id: id });
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
59
|
* Returns true if the given object is an instance of YamlConfig. This is designed to work even
|
|
@@ -70,22 +70,22 @@ class YamlConfig extends pulumi.CustomResource {
|
|
|
70
70
|
opts = opts || {};
|
|
71
71
|
if (opts.id) {
|
|
72
72
|
const state = argsOrState;
|
|
73
|
-
resourceInputs["appId"] = state
|
|
74
|
-
resourceInputs["content"] = state
|
|
75
|
-
resourceInputs["name"] = state
|
|
76
|
-
resourceInputs["path"] = state
|
|
73
|
+
resourceInputs["appId"] = state?.appId;
|
|
74
|
+
resourceInputs["content"] = state?.content;
|
|
75
|
+
resourceInputs["name"] = state?.name;
|
|
76
|
+
resourceInputs["path"] = state?.path;
|
|
77
77
|
}
|
|
78
78
|
else {
|
|
79
79
|
const args = argsOrState;
|
|
80
|
-
if (
|
|
80
|
+
if (args?.content === undefined && !opts.urn) {
|
|
81
81
|
throw new Error("Missing required property 'content'");
|
|
82
82
|
}
|
|
83
|
-
if (
|
|
83
|
+
if (args?.path === undefined && !opts.urn) {
|
|
84
84
|
throw new Error("Missing required property 'path'");
|
|
85
85
|
}
|
|
86
|
-
resourceInputs["appId"] = args
|
|
87
|
-
resourceInputs["content"] = args
|
|
88
|
-
resourceInputs["path"] = args
|
|
86
|
+
resourceInputs["appId"] = args?.appId;
|
|
87
|
+
resourceInputs["content"] = args?.content;
|
|
88
|
+
resourceInputs["path"] = args?.path;
|
|
89
89
|
resourceInputs["name"] = undefined /*out*/;
|
|
90
90
|
}
|
|
91
91
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/yamlConfig.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"yamlConfig.js","sourceRoot":"","sources":["../yamlConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"yamlConfig.js","sourceRoot":"","sources":["../yamlConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EA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