@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/repoWebhook.js
CHANGED
|
@@ -19,7 +19,7 @@ class RepoWebhook 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 RepoWebhook(name, state,
|
|
22
|
+
return new RepoWebhook(name, state, { ...opts, id: id });
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* Returns true if the given object is an instance of RepoWebhook. This is designed to work even
|
|
@@ -36,47 +36,47 @@ class RepoWebhook extends pulumi.CustomResource {
|
|
|
36
36
|
opts = opts || {};
|
|
37
37
|
if (opts.id) {
|
|
38
38
|
const state = argsOrState;
|
|
39
|
-
resourceInputs["created"] = state
|
|
40
|
-
resourceInputs["createdBy"] = state
|
|
41
|
-
resourceInputs["description"] = state
|
|
42
|
-
resourceInputs["enabled"] = state
|
|
43
|
-
resourceInputs["hasSecret"] = state
|
|
44
|
-
resourceInputs["identifier"] = state
|
|
45
|
-
resourceInputs["insecure"] = state
|
|
46
|
-
resourceInputs["orgId"] = state
|
|
47
|
-
resourceInputs["projectId"] = state
|
|
48
|
-
resourceInputs["repoIdentifier"] = state
|
|
49
|
-
resourceInputs["secret"] = state
|
|
50
|
-
resourceInputs["triggers"] = state
|
|
51
|
-
resourceInputs["url"] = state
|
|
39
|
+
resourceInputs["created"] = state?.created;
|
|
40
|
+
resourceInputs["createdBy"] = state?.createdBy;
|
|
41
|
+
resourceInputs["description"] = state?.description;
|
|
42
|
+
resourceInputs["enabled"] = state?.enabled;
|
|
43
|
+
resourceInputs["hasSecret"] = state?.hasSecret;
|
|
44
|
+
resourceInputs["identifier"] = state?.identifier;
|
|
45
|
+
resourceInputs["insecure"] = state?.insecure;
|
|
46
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
47
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
48
|
+
resourceInputs["repoIdentifier"] = state?.repoIdentifier;
|
|
49
|
+
resourceInputs["secret"] = state?.secret;
|
|
50
|
+
resourceInputs["triggers"] = state?.triggers;
|
|
51
|
+
resourceInputs["url"] = state?.url;
|
|
52
52
|
}
|
|
53
53
|
else {
|
|
54
54
|
const args = argsOrState;
|
|
55
|
-
if (
|
|
55
|
+
if (args?.enabled === undefined && !opts.urn) {
|
|
56
56
|
throw new Error("Missing required property 'enabled'");
|
|
57
57
|
}
|
|
58
|
-
if (
|
|
58
|
+
if (args?.identifier === undefined && !opts.urn) {
|
|
59
59
|
throw new Error("Missing required property 'identifier'");
|
|
60
60
|
}
|
|
61
|
-
if (
|
|
61
|
+
if (args?.insecure === undefined && !opts.urn) {
|
|
62
62
|
throw new Error("Missing required property 'insecure'");
|
|
63
63
|
}
|
|
64
|
-
if (
|
|
64
|
+
if (args?.repoIdentifier === undefined && !opts.urn) {
|
|
65
65
|
throw new Error("Missing required property 'repoIdentifier'");
|
|
66
66
|
}
|
|
67
|
-
if (
|
|
67
|
+
if (args?.url === undefined && !opts.urn) {
|
|
68
68
|
throw new Error("Missing required property 'url'");
|
|
69
69
|
}
|
|
70
|
-
resourceInputs["description"] = args
|
|
71
|
-
resourceInputs["enabled"] = args
|
|
72
|
-
resourceInputs["identifier"] = args
|
|
73
|
-
resourceInputs["insecure"] = args
|
|
74
|
-
resourceInputs["orgId"] = args
|
|
75
|
-
resourceInputs["projectId"] = args
|
|
76
|
-
resourceInputs["repoIdentifier"] = args
|
|
77
|
-
resourceInputs["secret"] =
|
|
78
|
-
resourceInputs["triggers"] = args
|
|
79
|
-
resourceInputs["url"] = args
|
|
70
|
+
resourceInputs["description"] = args?.description;
|
|
71
|
+
resourceInputs["enabled"] = args?.enabled;
|
|
72
|
+
resourceInputs["identifier"] = args?.identifier;
|
|
73
|
+
resourceInputs["insecure"] = args?.insecure;
|
|
74
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
75
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
76
|
+
resourceInputs["repoIdentifier"] = args?.repoIdentifier;
|
|
77
|
+
resourceInputs["secret"] = args?.secret ? pulumi.secret(args.secret) : undefined;
|
|
78
|
+
resourceInputs["triggers"] = args?.triggers;
|
|
79
|
+
resourceInputs["url"] = args?.url;
|
|
80
80
|
resourceInputs["created"] = undefined /*out*/;
|
|
81
81
|
resourceInputs["createdBy"] = undefined /*out*/;
|
|
82
82
|
resourceInputs["hasSecret"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repoWebhook.js","sourceRoot":"","sources":["../../platform/repoWebhook.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"repoWebhook.js","sourceRoot":"","sources":["../../platform/repoWebhook.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EA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AC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACjF,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA9IL,kCA+IC;AAjIG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -71,7 +71,7 @@ class ResourceGroup extends pulumi.CustomResource {
|
|
|
71
71
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
72
72
|
*/
|
|
73
73
|
static get(name, id, state, opts) {
|
|
74
|
-
return new ResourceGroup(name, state,
|
|
74
|
+
return new ResourceGroup(name, state, { ...opts, id: id });
|
|
75
75
|
}
|
|
76
76
|
/**
|
|
77
77
|
* Returns true if the given object is an instance of ResourceGroup. This is designed to work even
|
|
@@ -88,37 +88,37 @@ class ResourceGroup extends pulumi.CustomResource {
|
|
|
88
88
|
opts = opts || {};
|
|
89
89
|
if (opts.id) {
|
|
90
90
|
const state = argsOrState;
|
|
91
|
-
resourceInputs["accountId"] = state
|
|
92
|
-
resourceInputs["allowedScopeLevels"] = state
|
|
93
|
-
resourceInputs["color"] = state
|
|
94
|
-
resourceInputs["description"] = state
|
|
95
|
-
resourceInputs["identifier"] = state
|
|
96
|
-
resourceInputs["includedScopes"] = state
|
|
97
|
-
resourceInputs["name"] = state
|
|
98
|
-
resourceInputs["orgId"] = state
|
|
99
|
-
resourceInputs["projectId"] = state
|
|
100
|
-
resourceInputs["resourceFilters"] = state
|
|
101
|
-
resourceInputs["tags"] = state
|
|
91
|
+
resourceInputs["accountId"] = state?.accountId;
|
|
92
|
+
resourceInputs["allowedScopeLevels"] = state?.allowedScopeLevels;
|
|
93
|
+
resourceInputs["color"] = state?.color;
|
|
94
|
+
resourceInputs["description"] = state?.description;
|
|
95
|
+
resourceInputs["identifier"] = state?.identifier;
|
|
96
|
+
resourceInputs["includedScopes"] = state?.includedScopes;
|
|
97
|
+
resourceInputs["name"] = state?.name;
|
|
98
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
99
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
100
|
+
resourceInputs["resourceFilters"] = state?.resourceFilters;
|
|
101
|
+
resourceInputs["tags"] = state?.tags;
|
|
102
102
|
}
|
|
103
103
|
else {
|
|
104
104
|
const args = argsOrState;
|
|
105
|
-
if (
|
|
105
|
+
if (args?.accountId === undefined && !opts.urn) {
|
|
106
106
|
throw new Error("Missing required property 'accountId'");
|
|
107
107
|
}
|
|
108
|
-
if (
|
|
108
|
+
if (args?.identifier === undefined && !opts.urn) {
|
|
109
109
|
throw new Error("Missing required property 'identifier'");
|
|
110
110
|
}
|
|
111
|
-
resourceInputs["accountId"] = args
|
|
112
|
-
resourceInputs["allowedScopeLevels"] = args
|
|
113
|
-
resourceInputs["color"] = args
|
|
114
|
-
resourceInputs["description"] = args
|
|
115
|
-
resourceInputs["identifier"] = args
|
|
116
|
-
resourceInputs["includedScopes"] = args
|
|
117
|
-
resourceInputs["name"] = args
|
|
118
|
-
resourceInputs["orgId"] = args
|
|
119
|
-
resourceInputs["projectId"] = args
|
|
120
|
-
resourceInputs["resourceFilters"] = args
|
|
121
|
-
resourceInputs["tags"] = args
|
|
111
|
+
resourceInputs["accountId"] = args?.accountId;
|
|
112
|
+
resourceInputs["allowedScopeLevels"] = args?.allowedScopeLevels;
|
|
113
|
+
resourceInputs["color"] = args?.color;
|
|
114
|
+
resourceInputs["description"] = args?.description;
|
|
115
|
+
resourceInputs["identifier"] = args?.identifier;
|
|
116
|
+
resourceInputs["includedScopes"] = args?.includedScopes;
|
|
117
|
+
resourceInputs["name"] = args?.name;
|
|
118
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
119
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
120
|
+
resourceInputs["resourceFilters"] = args?.resourceFilters;
|
|
121
|
+
resourceInputs["tags"] = args?.tags;
|
|
122
122
|
}
|
|
123
123
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
124
124
|
super(ResourceGroup.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resourceGroup.js","sourceRoot":"","sources":["../../platform/resourceGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;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":"resourceGroup.js","sourceRoot":"","s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e,CAAC;YAC1D,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,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAvHL,sCAwHC;AA1GG,gBAAgB;AACO,0BAAY,GAAG,8CAA8C,CAAC"}
|
|
@@ -41,7 +41,7 @@ class RoleAssignments 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 RoleAssignments(name, state,
|
|
44
|
+
return new RoleAssignments(name, state, { ...opts, id: id });
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
47
|
* Returns true if the given object is an instance of RoleAssignments. This is designed to work even
|
|
@@ -58,34 +58,34 @@ class RoleAssignments extends pulumi.CustomResource {
|
|
|
58
58
|
opts = opts || {};
|
|
59
59
|
if (opts.id) {
|
|
60
60
|
const state = argsOrState;
|
|
61
|
-
resourceInputs["disabled"] = state
|
|
62
|
-
resourceInputs["identifier"] = state
|
|
63
|
-
resourceInputs["managed"] = state
|
|
64
|
-
resourceInputs["orgId"] = state
|
|
65
|
-
resourceInputs["principals"] = state
|
|
66
|
-
resourceInputs["projectId"] = state
|
|
67
|
-
resourceInputs["resourceGroupIdentifier"] = state
|
|
68
|
-
resourceInputs["roleIdentifier"] = state
|
|
61
|
+
resourceInputs["disabled"] = state?.disabled;
|
|
62
|
+
resourceInputs["identifier"] = state?.identifier;
|
|
63
|
+
resourceInputs["managed"] = state?.managed;
|
|
64
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
65
|
+
resourceInputs["principals"] = state?.principals;
|
|
66
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
67
|
+
resourceInputs["resourceGroupIdentifier"] = state?.resourceGroupIdentifier;
|
|
68
|
+
resourceInputs["roleIdentifier"] = state?.roleIdentifier;
|
|
69
69
|
}
|
|
70
70
|
else {
|
|
71
71
|
const args = argsOrState;
|
|
72
|
-
if (
|
|
72
|
+
if (args?.principals === undefined && !opts.urn) {
|
|
73
73
|
throw new Error("Missing required property 'principals'");
|
|
74
74
|
}
|
|
75
|
-
if (
|
|
75
|
+
if (args?.resourceGroupIdentifier === undefined && !opts.urn) {
|
|
76
76
|
throw new Error("Missing required property 'resourceGroupIdentifier'");
|
|
77
77
|
}
|
|
78
|
-
if (
|
|
78
|
+
if (args?.roleIdentifier === undefined && !opts.urn) {
|
|
79
79
|
throw new Error("Missing required property 'roleIdentifier'");
|
|
80
80
|
}
|
|
81
|
-
resourceInputs["disabled"] = args
|
|
82
|
-
resourceInputs["identifier"] = args
|
|
83
|
-
resourceInputs["managed"] = args
|
|
84
|
-
resourceInputs["orgId"] = args
|
|
85
|
-
resourceInputs["principals"] = args
|
|
86
|
-
resourceInputs["projectId"] = args
|
|
87
|
-
resourceInputs["resourceGroupIdentifier"] = args
|
|
88
|
-
resourceInputs["roleIdentifier"] = args
|
|
81
|
+
resourceInputs["disabled"] = args?.disabled;
|
|
82
|
+
resourceInputs["identifier"] = args?.identifier;
|
|
83
|
+
resourceInputs["managed"] = args?.managed;
|
|
84
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
85
|
+
resourceInputs["principals"] = args?.principals;
|
|
86
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
87
|
+
resourceInputs["resourceGroupIdentifier"] = args?.resourceGroupIdentifier;
|
|
88
|
+
resourceInputs["roleIdentifier"] = args?.roleIdentifier;
|
|
89
89
|
}
|
|
90
90
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
91
91
|
super(RoleAssignments.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"roleAssignments.js","sourceRoot":"","sources":["../../platform/roleAssignments.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;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":"roleAssignments.js","sourceRoot":"","sources":["../../platform/roleAssignments.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IA2CD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,UAAU,C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AC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,yBAAyB,CAAC,GAAG,IAAI,EAAE,uBAAuB,CAAC;YAC1E,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAxGL,0CAyGC;AA3FG,gBAAgB;AACO,4BAAY,GAAG,kDAAkD,CAAC"}
|
package/platform/roles.js
CHANGED
|
@@ -57,7 +57,7 @@ class Roles 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 Roles(name, state,
|
|
60
|
+
return new Roles(name, state, { ...opts, id: id });
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
63
|
* Returns true if the given object is an instance of Roles. This is designed to work even
|
|
@@ -74,28 +74,28 @@ class Roles extends pulumi.CustomResource {
|
|
|
74
74
|
opts = opts || {};
|
|
75
75
|
if (opts.id) {
|
|
76
76
|
const state = argsOrState;
|
|
77
|
-
resourceInputs["allowedScopeLevels"] = state
|
|
78
|
-
resourceInputs["description"] = state
|
|
79
|
-
resourceInputs["identifier"] = state
|
|
80
|
-
resourceInputs["name"] = state
|
|
81
|
-
resourceInputs["orgId"] = state
|
|
82
|
-
resourceInputs["permissions"] = state
|
|
83
|
-
resourceInputs["projectId"] = state
|
|
84
|
-
resourceInputs["tags"] = state
|
|
77
|
+
resourceInputs["allowedScopeLevels"] = state?.allowedScopeLevels;
|
|
78
|
+
resourceInputs["description"] = state?.description;
|
|
79
|
+
resourceInputs["identifier"] = state?.identifier;
|
|
80
|
+
resourceInputs["name"] = state?.name;
|
|
81
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
82
|
+
resourceInputs["permissions"] = state?.permissions;
|
|
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?.identifier === undefined && !opts.urn) {
|
|
89
89
|
throw new Error("Missing required property 'identifier'");
|
|
90
90
|
}
|
|
91
|
-
resourceInputs["allowedScopeLevels"] = args
|
|
92
|
-
resourceInputs["description"] = args
|
|
93
|
-
resourceInputs["identifier"] = args
|
|
94
|
-
resourceInputs["name"] = args
|
|
95
|
-
resourceInputs["orgId"] = args
|
|
96
|
-
resourceInputs["permissions"] = args
|
|
97
|
-
resourceInputs["projectId"] = args
|
|
98
|
-
resourceInputs["tags"] = args
|
|
91
|
+
resourceInputs["allowedScopeLevels"] = args?.allowedScopeLevels;
|
|
92
|
+
resourceInputs["description"] = args?.description;
|
|
93
|
+
resourceInputs["identifier"] = args?.identifier;
|
|
94
|
+
resourceInputs["name"] = args?.name;
|
|
95
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
96
|
+
resourceInputs["permissions"] = args?.permissions;
|
|
97
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
98
|
+
resourceInputs["tags"] = args?.tags;
|
|
99
99
|
}
|
|
100
100
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
101
101
|
super(Roles.__pulumiType, name, resourceInputs, opts);
|
package/platform/roles.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"roles.js","sourceRoot":"","sources":["../../platform/roles.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,M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,8BAA8B,CAAC"}
|
package/platform/secretFile.js
CHANGED
|
@@ -57,7 +57,7 @@ class SecretFile 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 SecretFile(name, state,
|
|
60
|
+
return new SecretFile(name, state, { ...opts, id: id });
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
63
|
* Returns true if the given object is an instance of SecretFile. This is designed to work even
|
|
@@ -74,34 +74,34 @@ class SecretFile extends pulumi.CustomResource {
|
|
|
74
74
|
opts = opts || {};
|
|
75
75
|
if (opts.id) {
|
|
76
76
|
const state = argsOrState;
|
|
77
|
-
resourceInputs["description"] = state
|
|
78
|
-
resourceInputs["filePath"] = state
|
|
79
|
-
resourceInputs["identifier"] = state
|
|
80
|
-
resourceInputs["name"] = state
|
|
81
|
-
resourceInputs["orgId"] = state
|
|
82
|
-
resourceInputs["projectId"] = state
|
|
83
|
-
resourceInputs["secretManagerIdentifier"] = state
|
|
84
|
-
resourceInputs["tags"] = state
|
|
77
|
+
resourceInputs["description"] = state?.description;
|
|
78
|
+
resourceInputs["filePath"] = state?.filePath;
|
|
79
|
+
resourceInputs["identifier"] = state?.identifier;
|
|
80
|
+
resourceInputs["name"] = state?.name;
|
|
81
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
82
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
83
|
+
resourceInputs["secretManagerIdentifier"] = state?.secretManagerIdentifier;
|
|
84
|
+
resourceInputs["tags"] = state?.tags;
|
|
85
85
|
}
|
|
86
86
|
else {
|
|
87
87
|
const args = argsOrState;
|
|
88
|
-
if (
|
|
88
|
+
if (args?.filePath === undefined && !opts.urn) {
|
|
89
89
|
throw new Error("Missing required property 'filePath'");
|
|
90
90
|
}
|
|
91
|
-
if (
|
|
91
|
+
if (args?.identifier === undefined && !opts.urn) {
|
|
92
92
|
throw new Error("Missing required property 'identifier'");
|
|
93
93
|
}
|
|
94
|
-
if (
|
|
94
|
+
if (args?.secretManagerIdentifier === undefined && !opts.urn) {
|
|
95
95
|
throw new Error("Missing required property 'secretManagerIdentifier'");
|
|
96
96
|
}
|
|
97
|
-
resourceInputs["description"] = args
|
|
98
|
-
resourceInputs["filePath"] = args
|
|
99
|
-
resourceInputs["identifier"] = args
|
|
100
|
-
resourceInputs["name"] = args
|
|
101
|
-
resourceInputs["orgId"] = args
|
|
102
|
-
resourceInputs["projectId"] = args
|
|
103
|
-
resourceInputs["secretManagerIdentifier"] = args
|
|
104
|
-
resourceInputs["tags"] = args
|
|
97
|
+
resourceInputs["description"] = args?.description;
|
|
98
|
+
resourceInputs["filePath"] = args?.filePath;
|
|
99
|
+
resourceInputs["identifier"] = args?.identifier;
|
|
100
|
+
resourceInputs["name"] = args?.name;
|
|
101
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
102
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
103
|
+
resourceInputs["secretManagerIdentifier"] = args?.secretManagerIdentifier;
|
|
104
|
+
resourceInputs["tags"] = args?.tags;
|
|
105
105
|
}
|
|
106
106
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
107
107
|
super(SecretFile.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secretFile.js","sourceRoot":"","sources":["../../platform/secretFile.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;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":"secret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IAAI,CAAC,CAAC;IAC/D,CAAC;;AAxGL,gCAyGC;AA3FG,gBAAgB;AACO,uBAAY,GAAG,wCAAwC,CAAC"}
|
package/platform/secretSshkey.js
CHANGED
|
@@ -41,7 +41,7 @@ class SecretSshkey 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 SecretSshkey(name, state,
|
|
44
|
+
return new SecretSshkey(name, state, { ...opts, id: id });
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
47
|
* Returns true if the given object is an instance of SecretSshkey. This is designed to work even
|
|
@@ -58,30 +58,30 @@ class SecretSshkey extends pulumi.CustomResource {
|
|
|
58
58
|
opts = opts || {};
|
|
59
59
|
if (opts.id) {
|
|
60
60
|
const state = argsOrState;
|
|
61
|
-
resourceInputs["description"] = state
|
|
62
|
-
resourceInputs["identifier"] = state
|
|
63
|
-
resourceInputs["kerberos"] = state
|
|
64
|
-
resourceInputs["name"] = state
|
|
65
|
-
resourceInputs["orgId"] = state
|
|
66
|
-
resourceInputs["port"] = state
|
|
67
|
-
resourceInputs["projectId"] = state
|
|
68
|
-
resourceInputs["ssh"] = state
|
|
69
|
-
resourceInputs["tags"] = state
|
|
61
|
+
resourceInputs["description"] = state?.description;
|
|
62
|
+
resourceInputs["identifier"] = state?.identifier;
|
|
63
|
+
resourceInputs["kerberos"] = state?.kerberos;
|
|
64
|
+
resourceInputs["name"] = state?.name;
|
|
65
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
66
|
+
resourceInputs["port"] = state?.port;
|
|
67
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
68
|
+
resourceInputs["ssh"] = state?.ssh;
|
|
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["kerberos"] = args
|
|
79
|
-
resourceInputs["name"] = args
|
|
80
|
-
resourceInputs["orgId"] = args
|
|
81
|
-
resourceInputs["port"] = args
|
|
82
|
-
resourceInputs["projectId"] = args
|
|
83
|
-
resourceInputs["ssh"] = args
|
|
84
|
-
resourceInputs["tags"] = args
|
|
76
|
+
resourceInputs["description"] = args?.description;
|
|
77
|
+
resourceInputs["identifier"] = args?.identifier;
|
|
78
|
+
resourceInputs["kerberos"] = args?.kerberos;
|
|
79
|
+
resourceInputs["name"] = args?.name;
|
|
80
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
81
|
+
resourceInputs["port"] = args?.port;
|
|
82
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
83
|
+
resourceInputs["ssh"] = args?.ssh;
|
|
84
|
+
resourceInputs["tags"] = args?.tags;
|
|
85
85
|
}
|
|
86
86
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
87
87
|
super(SecretSshkey.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secretSshkey.js","sourceRoot":"","sources":["../../platform/secretSshkey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;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":"secretSshkey.js","sourceRoot":"","sources":["../../platform/secretSshkey.ts"],"names":[],"mappings":";AAAA,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AAC,GAAG,KAAK,EAAE,GAAG,CAAC;YACnC,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAA2C,CAAC;YACzD,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,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,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAxGL,oCAyGC;AA3FG,gBAAgB;AACO,yBAAY,GAAG,4CAA4C,CAAC"}
|
package/platform/secretText.js
CHANGED
|
@@ -81,7 +81,7 @@ class SecretText extends pulumi.CustomResource {
|
|
|
81
81
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
82
82
|
*/
|
|
83
83
|
static get(name, id, state, opts) {
|
|
84
|
-
return new SecretText(name, state,
|
|
84
|
+
return new SecretText(name, state, { ...opts, id: id });
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
87
|
* Returns true if the given object is an instance of SecretText. This is designed to work even
|
|
@@ -98,38 +98,38 @@ class SecretText extends pulumi.CustomResource {
|
|
|
98
98
|
opts = opts || {};
|
|
99
99
|
if (opts.id) {
|
|
100
100
|
const state = argsOrState;
|
|
101
|
-
resourceInputs["additionalMetadatas"] = state
|
|
102
|
-
resourceInputs["description"] = state
|
|
103
|
-
resourceInputs["identifier"] = state
|
|
104
|
-
resourceInputs["name"] = state
|
|
105
|
-
resourceInputs["orgId"] = state
|
|
106
|
-
resourceInputs["projectId"] = state
|
|
107
|
-
resourceInputs["secretManagerIdentifier"] = state
|
|
108
|
-
resourceInputs["tags"] = state
|
|
109
|
-
resourceInputs["value"] = state
|
|
110
|
-
resourceInputs["valueType"] = state
|
|
101
|
+
resourceInputs["additionalMetadatas"] = state?.additionalMetadatas;
|
|
102
|
+
resourceInputs["description"] = state?.description;
|
|
103
|
+
resourceInputs["identifier"] = state?.identifier;
|
|
104
|
+
resourceInputs["name"] = state?.name;
|
|
105
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
106
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
107
|
+
resourceInputs["secretManagerIdentifier"] = state?.secretManagerIdentifier;
|
|
108
|
+
resourceInputs["tags"] = state?.tags;
|
|
109
|
+
resourceInputs["value"] = state?.value;
|
|
110
|
+
resourceInputs["valueType"] = state?.valueType;
|
|
111
111
|
}
|
|
112
112
|
else {
|
|
113
113
|
const args = argsOrState;
|
|
114
|
-
if (
|
|
114
|
+
if (args?.identifier === undefined && !opts.urn) {
|
|
115
115
|
throw new Error("Missing required property 'identifier'");
|
|
116
116
|
}
|
|
117
|
-
if (
|
|
117
|
+
if (args?.secretManagerIdentifier === undefined && !opts.urn) {
|
|
118
118
|
throw new Error("Missing required property 'secretManagerIdentifier'");
|
|
119
119
|
}
|
|
120
|
-
if (
|
|
120
|
+
if (args?.valueType === undefined && !opts.urn) {
|
|
121
121
|
throw new Error("Missing required property 'valueType'");
|
|
122
122
|
}
|
|
123
|
-
resourceInputs["additionalMetadatas"] = args
|
|
124
|
-
resourceInputs["description"] = args
|
|
125
|
-
resourceInputs["identifier"] = args
|
|
126
|
-
resourceInputs["name"] = args
|
|
127
|
-
resourceInputs["orgId"] = args
|
|
128
|
-
resourceInputs["projectId"] = args
|
|
129
|
-
resourceInputs["secretManagerIdentifier"] = args
|
|
130
|
-
resourceInputs["tags"] = args
|
|
131
|
-
resourceInputs["value"] =
|
|
132
|
-
resourceInputs["valueType"] = args
|
|
123
|
+
resourceInputs["additionalMetadatas"] = args?.additionalMetadatas;
|
|
124
|
+
resourceInputs["description"] = args?.description;
|
|
125
|
+
resourceInputs["identifier"] = args?.identifier;
|
|
126
|
+
resourceInputs["name"] = args?.name;
|
|
127
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
128
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
129
|
+
resourceInputs["secretManagerIdentifier"] = args?.secretManagerIdentifier;
|
|
130
|
+
resourceInputs["tags"] = args?.tags;
|
|
131
|
+
resourceInputs["value"] = args?.value ? pulumi.secret(args.value) : undefined;
|
|
132
|
+
resourceInputs["valueType"] = args?.valueType;
|
|
133
133
|
}
|
|
134
134
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
135
135
|
const secretOpts = { additionalSecretOutputs: ["value"] };
|