@pulumi/dbtcloud 1.8.1 → 1.8.2
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/accountFeatures.d.ts +15 -14
- package/accountFeatures.d.ts.map +1 -0
- package/accountFeatures.js +27 -4
- package/accountFeatures.js.map +1 -1
- package/athenaCredential.d.ts +18 -17
- package/athenaCredential.d.ts.map +1 -0
- package/athenaCredential.js +29 -6
- package/athenaCredential.js.map +1 -1
- package/authProvider.d.ts +47 -46
- package/authProvider.d.ts.map +1 -0
- package/authProvider.js +27 -4
- package/authProvider.js.map +1 -1
- package/azureAdApplication.d.ts +11 -10
- package/azureAdApplication.d.ts.map +1 -0
- package/azureAdApplication.js +27 -4
- package/azureAdApplication.js.map +1 -1
- package/bigQueryCredential.d.ts +12 -11
- package/bigQueryCredential.d.ts.map +1 -0
- package/bigQueryCredential.js +30 -7
- package/bigQueryCredential.js.map +1 -1
- package/bigquerySemanticLayerCredential.d.ts +21 -20
- package/bigquerySemanticLayerCredential.d.ts.map +1 -0
- package/bigquerySemanticLayerCredential.js +30 -7
- package/bigquerySemanticLayerCredential.js.map +1 -1
- package/config/index.d.ts +1 -0
- package/config/index.d.ts.map +1 -0
- package/config/vars.d.ts +1 -0
- package/config/vars.d.ts.map +1 -0
- package/config/vars.js +25 -2
- package/config/vars.js.map +1 -1
- package/connectionCatalogConfig.d.ts +22 -21
- package/connectionCatalogConfig.d.ts.map +1 -0
- package/connectionCatalogConfig.js +31 -8
- package/connectionCatalogConfig.js.map +1 -1
- package/databricksCredential.d.ts +21 -20
- package/databricksCredential.d.ts.map +1 -0
- package/databricksCredential.js +29 -6
- package/databricksCredential.js.map +1 -1
- package/databricksPlatformMetadataCredential.d.ts +19 -18
- package/databricksPlatformMetadataCredential.d.ts.map +1 -0
- package/databricksPlatformMetadataCredential.js +29 -6
- package/databricksPlatformMetadataCredential.js.map +1 -1
- package/databricksSemanticLayerCredential.d.ts +5 -4
- package/databricksSemanticLayerCredential.d.ts.map +1 -0
- package/databricksSemanticLayerCredential.js +29 -6
- package/databricksSemanticLayerCredential.js.map +1 -1
- package/environment.d.ts +36 -35
- package/environment.d.ts.map +1 -0
- package/environment.js +37 -14
- package/environment.js.map +1 -1
- package/environmentVariable.d.ts +6 -5
- package/environmentVariable.d.ts.map +1 -0
- package/environmentVariable.js +28 -5
- package/environmentVariable.js.map +1 -1
- package/environmentVariableJobOverride.d.ts +10 -9
- package/environmentVariableJobOverride.d.ts.map +1 -0
- package/environmentVariableJobOverride.js +29 -6
- package/environmentVariableJobOverride.js.map +1 -1
- package/extendedAttributes.d.ts +9 -8
- package/extendedAttributes.d.ts.map +1 -0
- package/extendedAttributes.js +30 -7
- package/extendedAttributes.js.map +1 -1
- package/fabricCredential.d.ts +29 -28
- package/fabricCredential.d.ts.map +1 -0
- package/fabricCredential.js +31 -8
- package/fabricCredential.js.map +1 -1
- package/getAthenaCredential.d.ts +1 -0
- package/getAthenaCredential.d.ts.map +1 -0
- package/getAthenaCredential.js +25 -2
- package/getAthenaCredential.js.map +1 -1
- package/getAzureDevOpsProject.d.ts +1 -0
- package/getAzureDevOpsProject.d.ts.map +1 -0
- package/getAzureDevOpsProject.js +25 -2
- package/getAzureDevOpsProject.js.map +1 -1
- package/getAzureDevOpsRepository.d.ts +1 -0
- package/getAzureDevOpsRepository.d.ts.map +1 -0
- package/getAzureDevOpsRepository.js +25 -2
- package/getAzureDevOpsRepository.js.map +1 -1
- package/getBigQueryCredential.d.ts +1 -0
- package/getBigQueryCredential.d.ts.map +1 -0
- package/getBigQueryCredential.js +25 -2
- package/getBigQueryCredential.js.map +1 -1
- package/getDatabricksCredential.d.ts +1 -0
- package/getDatabricksCredential.d.ts.map +1 -0
- package/getDatabricksCredential.js +25 -2
- package/getDatabricksCredential.js.map +1 -1
- package/getEnvironment.d.ts +1 -0
- package/getEnvironment.d.ts.map +1 -0
- package/getEnvironment.js +25 -2
- package/getEnvironment.js.map +1 -1
- package/getEnvironmentVariable.d.ts +1 -0
- package/getEnvironmentVariable.d.ts.map +1 -0
- package/getEnvironmentVariable.js +25 -2
- package/getEnvironmentVariable.js.map +1 -1
- package/getEnvironments.d.ts +2 -1
- package/getEnvironments.d.ts.map +1 -0
- package/getEnvironments.js +25 -2
- package/getEnvironments.js.map +1 -1
- package/getExtendedAttributes.d.ts +1 -0
- package/getExtendedAttributes.d.ts.map +1 -0
- package/getExtendedAttributes.js +25 -2
- package/getExtendedAttributes.js.map +1 -1
- package/getGlobalConnection.d.ts +1 -0
- package/getGlobalConnection.d.ts.map +1 -0
- package/getGlobalConnection.js +25 -2
- package/getGlobalConnection.js.map +1 -1
- package/getGlobalConnections.d.ts +1 -0
- package/getGlobalConnections.d.ts.map +1 -0
- package/getGlobalConnections.js +25 -2
- package/getGlobalConnections.js.map +1 -1
- package/getGroup.d.ts +1 -0
- package/getGroup.d.ts.map +1 -0
- package/getGroup.js +25 -2
- package/getGroup.js.map +1 -1
- package/getGroupUsers.d.ts +1 -0
- package/getGroupUsers.d.ts.map +1 -0
- package/getGroupUsers.js +25 -2
- package/getGroupUsers.js.map +1 -1
- package/getGroups.d.ts +4 -3
- package/getGroups.d.ts.map +1 -0
- package/getGroups.js +25 -2
- package/getGroups.js.map +1 -1
- package/getJob.d.ts +2 -1
- package/getJob.d.ts.map +1 -0
- package/getJob.js +25 -2
- package/getJob.js.map +1 -1
- package/getJobs.d.ts +3 -2
- package/getJobs.d.ts.map +1 -0
- package/getJobs.js +25 -2
- package/getJobs.js.map +1 -1
- package/getModelNotifications.d.ts +1 -0
- package/getModelNotifications.d.ts.map +1 -0
- package/getModelNotifications.js +25 -2
- package/getModelNotifications.js.map +1 -1
- package/getNotification.d.ts +1 -0
- package/getNotification.d.ts.map +1 -0
- package/getNotification.js +25 -2
- package/getNotification.js.map +1 -1
- package/getPostgresCredential.d.ts +1 -0
- package/getPostgresCredential.d.ts.map +1 -0
- package/getPostgresCredential.js +25 -2
- package/getPostgresCredential.js.map +1 -1
- package/getPrivatelinkEndpoint.d.ts +4 -3
- package/getPrivatelinkEndpoint.d.ts.map +1 -0
- package/getPrivatelinkEndpoint.js +25 -2
- package/getPrivatelinkEndpoint.js.map +1 -1
- package/getPrivatelinkEndpoints.d.ts +3 -2
- package/getPrivatelinkEndpoints.d.ts.map +1 -0
- package/getPrivatelinkEndpoints.js +27 -4
- package/getPrivatelinkEndpoints.js.map +1 -1
- package/getProfile.d.ts +1 -0
- package/getProfile.d.ts.map +1 -0
- package/getProfile.js +25 -2
- package/getProfile.js.map +1 -1
- package/getProfiles.d.ts +1 -0
- package/getProfiles.d.ts.map +1 -0
- package/getProfiles.js +25 -2
- package/getProfiles.js.map +1 -1
- package/getProject.d.ts +3 -2
- package/getProject.d.ts.map +1 -0
- package/getProject.js +25 -2
- package/getProject.js.map +1 -1
- package/getProjects.d.ts +2 -1
- package/getProjects.d.ts.map +1 -0
- package/getProjects.js +25 -2
- package/getProjects.js.map +1 -1
- package/getRedshiftCredential.d.ts +1 -0
- package/getRedshiftCredential.d.ts.map +1 -0
- package/getRedshiftCredential.js +25 -2
- package/getRedshiftCredential.js.map +1 -1
- package/getRepository.d.ts +2 -1
- package/getRepository.d.ts.map +1 -0
- package/getRepository.js +25 -2
- package/getRepository.js.map +1 -1
- package/getRuns.d.ts +2 -1
- package/getRuns.d.ts.map +1 -0
- package/getRuns.js +25 -2
- package/getRuns.js.map +1 -1
- package/getSalesforceCredential.d.ts +1 -0
- package/getSalesforceCredential.d.ts.map +1 -0
- package/getSalesforceCredential.js +25 -2
- package/getSalesforceCredential.js.map +1 -1
- package/getServiceToken.d.ts +2 -1
- package/getServiceToken.d.ts.map +1 -0
- package/getServiceToken.js +25 -2
- package/getServiceToken.js.map +1 -1
- package/getSnowflakeCredential.d.ts +1 -0
- package/getSnowflakeCredential.d.ts.map +1 -0
- package/getSnowflakeCredential.js +25 -2
- package/getSnowflakeCredential.js.map +1 -1
- package/getSparkCredential.d.ts +3 -2
- package/getSparkCredential.d.ts.map +1 -0
- package/getSparkCredential.js +27 -4
- package/getSparkCredential.js.map +1 -1
- package/getStarburstCredential.d.ts +1 -0
- package/getStarburstCredential.d.ts.map +1 -0
- package/getStarburstCredential.js +25 -2
- package/getStarburstCredential.js.map +1 -1
- package/getSynapseCredential.d.ts +1 -0
- package/getSynapseCredential.d.ts.map +1 -0
- package/getSynapseCredential.js +25 -2
- package/getSynapseCredential.js.map +1 -1
- package/getTeradataCredential.d.ts +1 -0
- package/getTeradataCredential.d.ts.map +1 -0
- package/getTeradataCredential.js +25 -2
- package/getTeradataCredential.js.map +1 -1
- package/getUser.d.ts +1 -0
- package/getUser.d.ts.map +1 -0
- package/getUser.js +25 -2
- package/getUser.js.map +1 -1
- package/getUserGroups.d.ts +1 -0
- package/getUserGroups.d.ts.map +1 -0
- package/getUserGroups.js +25 -2
- package/getUserGroups.js.map +1 -1
- package/getUsers.d.ts +1 -0
- package/getUsers.d.ts.map +1 -0
- package/getUsers.js +25 -2
- package/getUsers.js.map +1 -1
- package/getWebhook.d.ts +1 -0
- package/getWebhook.d.ts.map +1 -0
- package/getWebhook.js +25 -2
- package/getWebhook.js.map +1 -1
- package/globalConnection.d.ts +33 -32
- package/globalConnection.d.ts.map +1 -0
- package/globalConnection.js +27 -4
- package/globalConnection.js.map +1 -1
- package/group.d.ts +14 -13
- package/group.d.ts.map +1 -0
- package/group.js +29 -6
- package/group.js.map +1 -1
- package/groupPartialPermissions.d.ts +12 -11
- package/groupPartialPermissions.d.ts.map +1 -0
- package/groupPartialPermissions.js +30 -7
- package/groupPartialPermissions.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -0
- package/index.js +16 -4
- package/index.js.map +1 -1
- package/ipRestrictionsRule.d.ts +8 -7
- package/ipRestrictionsRule.d.ts.map +1 -0
- package/ipRestrictionsRule.js +27 -4
- package/ipRestrictionsRule.js.map +1 -1
- package/job.d.ts +65 -64
- package/job.d.ts.map +1 -0
- package/job.js +29 -6
- package/job.js.map +1 -1
- package/licenseMap.d.ts +4 -3
- package/licenseMap.d.ts.map +1 -0
- package/licenseMap.js +27 -4
- package/licenseMap.js.map +1 -1
- package/lineageIntegration.d.ts +15 -14
- package/lineageIntegration.d.ts.map +1 -0
- package/lineageIntegration.js +29 -6
- package/lineageIntegration.js.map +1 -1
- package/modelNotifications.d.ts +12 -11
- package/modelNotifications.d.ts.map +1 -0
- package/modelNotifications.js +27 -4
- package/modelNotifications.js.map +1 -1
- package/notification.d.ts +20 -19
- package/notification.d.ts.map +1 -0
- package/notification.js +27 -4
- package/notification.js.map +1 -1
- package/notificationSetting.d.ts +9 -8
- package/notificationSetting.d.ts.map +1 -0
- package/notificationSetting.js +29 -6
- package/notificationSetting.js.map +1 -1
- package/oauthConfiguration.d.ts +16 -15
- package/oauthConfiguration.d.ts.map +1 -0
- package/oauthConfiguration.js +27 -4
- package/oauthConfiguration.js.map +1 -1
- package/openaiIntegration.d.ts +17 -16
- package/openaiIntegration.d.ts.map +1 -0
- package/openaiIntegration.js +27 -4
- package/openaiIntegration.js.map +1 -1
- package/package.json +3 -3
- package/partialEnvironmentVariable.d.ts +5 -4
- package/partialEnvironmentVariable.d.ts.map +1 -0
- package/partialEnvironmentVariable.js +27 -4
- package/partialEnvironmentVariable.js.map +1 -1
- package/partialLicenseMap.d.ts +3 -2
- package/partialLicenseMap.d.ts.map +1 -0
- package/partialLicenseMap.js +27 -4
- package/partialLicenseMap.js.map +1 -1
- package/partialNotification.d.ts +20 -19
- package/partialNotification.d.ts.map +1 -0
- package/partialNotification.js +27 -4
- package/partialNotification.js.map +1 -1
- package/postgresCredential.d.ts +24 -23
- package/postgresCredential.d.ts.map +1 -0
- package/postgresCredential.js +29 -6
- package/postgresCredential.js.map +1 -1
- package/postgresSemanticLayerCredential.d.ts +5 -4
- package/postgresSemanticLayerCredential.d.ts.map +1 -0
- package/postgresSemanticLayerCredential.js +29 -6
- package/postgresSemanticLayerCredential.js.map +1 -1
- package/profile.d.ts +15 -14
- package/profile.d.ts.map +1 -0
- package/profile.js +34 -11
- package/profile.js.map +1 -1
- package/project.d.ts +9 -8
- package/project.d.ts.map +1 -0
- package/project.js +27 -4
- package/project.js.map +1 -1
- package/projectArtefacts.d.ts +9 -8
- package/projectArtefacts.d.ts.map +1 -0
- package/projectArtefacts.js +30 -7
- package/projectArtefacts.js.map +1 -1
- package/projectRepository.d.ts +5 -4
- package/projectRepository.d.ts.map +1 -0
- package/projectRepository.js +29 -6
- package/projectRepository.js.map +1 -1
- package/provider.d.ts +10 -9
- package/provider.d.ts.map +1 -0
- package/provider.js +27 -4
- package/provider.js.map +1 -1
- package/redshiftCredential.d.ts +17 -16
- package/redshiftCredential.d.ts.map +1 -0
- package/redshiftCredential.js +29 -6
- package/redshiftCredential.js.map +1 -1
- package/redshiftSemanticLayerCredential.d.ts +6 -5
- package/redshiftSemanticLayerCredential.d.ts.map +1 -0
- package/redshiftSemanticLayerCredential.js +30 -7
- package/redshiftSemanticLayerCredential.js.map +1 -1
- package/repository.d.ts +26 -25
- package/repository.d.ts.map +1 -0
- package/repository.js +27 -4
- package/repository.js.map +1 -1
- package/salesforceCredential.d.ts +22 -21
- package/salesforceCredential.d.ts.map +1 -0
- package/salesforceCredential.js +29 -6
- package/salesforceCredential.js.map +1 -1
- package/scimConfig.d.ts +4 -3
- package/scimConfig.d.ts.map +1 -0
- package/scimConfig.js +27 -4
- package/scimConfig.js.map +1 -1
- package/scimConfigToken.d.ts +6 -5
- package/scimConfigToken.d.ts.map +1 -0
- package/scimConfigToken.js +27 -4
- package/scimConfigToken.js.map +1 -1
- package/scimGroupPartialPermissions.d.ts +4 -3
- package/scimGroupPartialPermissions.d.ts.map +1 -0
- package/scimGroupPartialPermissions.js +27 -4
- package/scimGroupPartialPermissions.js.map +1 -1
- package/scimGroupPermissions.d.ts +4 -3
- package/scimGroupPermissions.d.ts.map +1 -0
- package/scimGroupPermissions.js +27 -4
- package/scimGroupPermissions.js.map +1 -1
- package/semanticLayerConfiguration.d.ts +5 -4
- package/semanticLayerConfiguration.d.ts.map +1 -0
- package/semanticLayerConfiguration.js +29 -6
- package/semanticLayerConfiguration.js.map +1 -1
- package/semanticLayerCredentialServiceTokenMapping.d.ts +7 -6
- package/semanticLayerCredentialServiceTokenMapping.d.ts.map +1 -0
- package/semanticLayerCredentialServiceTokenMapping.js +30 -7
- package/semanticLayerCredentialServiceTokenMapping.js.map +1 -1
- package/serviceToken.d.ts +10 -9
- package/serviceToken.d.ts.map +1 -0
- package/serviceToken.js +28 -5
- package/serviceToken.js.map +1 -1
- package/snowflakeCredential.d.ts +39 -38
- package/snowflakeCredential.d.ts.map +1 -0
- package/snowflakeCredential.js +29 -6
- package/snowflakeCredential.js.map +1 -1
- package/snowflakePlatformMetadataCredential.d.ts +36 -35
- package/snowflakePlatformMetadataCredential.d.ts.map +1 -0
- package/snowflakePlatformMetadataCredential.js +31 -8
- package/snowflakePlatformMetadataCredential.js.map +1 -1
- package/snowflakeSemanticLayerCredential.d.ts +7 -6
- package/snowflakeSemanticLayerCredential.d.ts.map +1 -0
- package/snowflakeSemanticLayerCredential.js +31 -8
- package/snowflakeSemanticLayerCredential.js.map +1 -1
- package/sparkCredential.d.ts +14 -13
- package/sparkCredential.d.ts.map +1 -0
- package/sparkCredential.js +29 -6
- package/sparkCredential.js.map +1 -1
- package/starburstCredential.d.ts +14 -13
- package/starburstCredential.d.ts.map +1 -0
- package/starburstCredential.js +29 -6
- package/starburstCredential.js.map +1 -1
- package/synapseCredential.d.ts +31 -30
- package/synapseCredential.d.ts.map +1 -0
- package/synapseCredential.js +32 -9
- package/synapseCredential.js.map +1 -1
- package/teradataCredential.d.ts +15 -14
- package/teradataCredential.d.ts.map +1 -0
- package/teradataCredential.js +29 -6
- package/teradataCredential.js.map +1 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +25 -2
- package/types/index.js.map +1 -1
- package/types/input.d.ts +169 -168
- package/types/input.d.ts.map +1 -0
- package/types/output.d.ts +8 -7
- package/types/output.d.ts.map +1 -0
- package/userGroups.d.ts +4 -3
- package/userGroups.d.ts.map +1 -0
- package/userGroups.js +28 -5
- package/userGroups.js.map +1 -1
- package/utilities.d.ts +1 -0
- package/utilities.d.ts.map +1 -0
- package/utilities.js +24 -1
- package/utilities.js.map +1 -1
- package/webhook.d.ts +15 -14
- package/webhook.d.ts.map +1 -0
- package/webhook.js +27 -4
- package/webhook.js.map +1 -1
|
@@ -1,10 +1,33 @@
|
|
|
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.SemanticLayerConfiguration = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* The resource allows basic configuration of the Semantic Layer for a specific project. For the feature to be completely functional, a Semantic Layer Credential is also required.
|
|
10
33
|
* See the documentationh ttps://docs.getdbt.com/docs/use-dbt-semantic-layer/dbt-sl for more information on the Semantic Layer.
|
|
@@ -16,8 +39,8 @@ const utilities = require("./utilities");
|
|
|
16
39
|
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
17
40
|
*
|
|
18
41
|
* const example = new dbtcloud.SemanticLayerConfiguration("example", {
|
|
19
|
-
* projectId: projectId,
|
|
20
|
-
* environmentId: environmentId,
|
|
42
|
+
* projectId: Number(projectId),
|
|
43
|
+
* environmentId: Number(environmentId),
|
|
21
44
|
* });
|
|
22
45
|
* ```
|
|
23
46
|
*
|
|
@@ -54,6 +77,8 @@ class SemanticLayerConfiguration extends pulumi.CustomResource {
|
|
|
54
77
|
static get(name, id, state, opts) {
|
|
55
78
|
return new SemanticLayerConfiguration(name, state, { ...opts, id: id });
|
|
56
79
|
}
|
|
80
|
+
/** @internal */
|
|
81
|
+
static __pulumiType = 'dbtcloud:index/semanticLayerConfiguration:SemanticLayerConfiguration';
|
|
57
82
|
/**
|
|
58
83
|
* Returns true if the given object is an instance of SemanticLayerConfiguration. This is designed to work even
|
|
59
84
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -88,6 +113,4 @@ class SemanticLayerConfiguration extends pulumi.CustomResource {
|
|
|
88
113
|
}
|
|
89
114
|
}
|
|
90
115
|
exports.SemanticLayerConfiguration = SemanticLayerConfiguration;
|
|
91
|
-
/** @internal */
|
|
92
|
-
SemanticLayerConfiguration.__pulumiType = 'dbtcloud:index/semanticLayerConfiguration:SemanticLayerConfiguration';
|
|
93
116
|
//# sourceMappingURL=semanticLayerConfiguration.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"semanticLayerConfiguration.js","sourceRoot":"","sources":["../semanticLayerConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"semanticLayerConfiguration.js","sourceRoot":"","sources":["../semanticLayerConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjF,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,sEAAsE,CAAC;IAE7G;;;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,0BAA0B,CAAC,YAAY,CAAC;IAC3E,CAAC;IAmBD,YAAY,IAAY,EAAE,WAA8E,EAAE,IAAmC;QACzI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0D,CAAC;YACzE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,EAAE,aAAa,CAAC;YACvD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;SAClD;aAAM;YACH,MAAM,IAAI,GAAG,WAAyD,CAAC;YACvE,IAAI,IAAI,EAAE,aAAa,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAChD,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,IAAI,IAAI,EAAE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,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,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AAjEL,gEAkEC"}
|
|
@@ -7,9 +7,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
7
|
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
8
8
|
*
|
|
9
9
|
* const testMapping = new dbtcloud.SemanticLayerCredentialServiceTokenMapping("test_mapping", {
|
|
10
|
-
* semanticLayerCredentialId: test.id,
|
|
11
|
-
* serviceTokenId: testServiceToken.id,
|
|
12
|
-
* projectId: testProject.id,
|
|
10
|
+
* semanticLayerCredentialId: Number(test.id),
|
|
11
|
+
* serviceTokenId: Number(testServiceToken.id),
|
|
12
|
+
* projectId: Number(testProject.id),
|
|
13
13
|
* });
|
|
14
14
|
* ```
|
|
15
15
|
*
|
|
@@ -77,15 +77,15 @@ export interface SemanticLayerCredentialServiceTokenMappingState {
|
|
|
77
77
|
/**
|
|
78
78
|
* The ID of the project to which the semantic layer credential is associated.
|
|
79
79
|
*/
|
|
80
|
-
projectId?: pulumi.Input<number>;
|
|
80
|
+
projectId?: pulumi.Input<number | undefined>;
|
|
81
81
|
/**
|
|
82
82
|
* The ID of the semantic layer credential to map.
|
|
83
83
|
*/
|
|
84
|
-
semanticLayerCredentialId?: pulumi.Input<number>;
|
|
84
|
+
semanticLayerCredentialId?: pulumi.Input<number | undefined>;
|
|
85
85
|
/**
|
|
86
86
|
* The ID of the service token to map to the semantic layer credential.
|
|
87
87
|
*/
|
|
88
|
-
serviceTokenId?: pulumi.Input<number>;
|
|
88
|
+
serviceTokenId?: pulumi.Input<number | undefined>;
|
|
89
89
|
}
|
|
90
90
|
/**
|
|
91
91
|
* The set of arguments for constructing a SemanticLayerCredentialServiceTokenMapping resource.
|
|
@@ -104,3 +104,4 @@ export interface SemanticLayerCredentialServiceTokenMappingArgs {
|
|
|
104
104
|
*/
|
|
105
105
|
serviceTokenId: pulumi.Input<number>;
|
|
106
106
|
}
|
|
107
|
+
//# sourceMappingURL=semanticLayerCredentialServiceTokenMapping.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"semanticLayerCredentialServiceTokenMapping.d.ts","sourceRoot":"","sources":["../semanticLayerCredentialServiceTokenMapping.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,qBAAa,0CAA2C,SAAQ,MAAM,CAAC,cAAc;IACjF;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,+CAA+C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,0CAA0C;IAOtM;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,0CAA0C;IAOrF;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACzD;;OAEG;IACH,SAAwB,yBAAyB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACzE;;OAEG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAE9D;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,8CAA8C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CA2BtH;AAED;;GAEG;AACH,MAAM,WAAW,+CAA+C;IAC5D;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7D;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACrD;AAED;;GAEG;AACH,MAAM,WAAW,8CAA8C;IAC3D;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,yBAAyB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChD;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACxC"}
|
|
@@ -1,10 +1,33 @@
|
|
|
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.SemanticLayerCredentialServiceTokenMapping = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* ## Example Usage
|
|
10
33
|
*
|
|
@@ -13,9 +36,9 @@ const utilities = require("./utilities");
|
|
|
13
36
|
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
14
37
|
*
|
|
15
38
|
* const testMapping = new dbtcloud.SemanticLayerCredentialServiceTokenMapping("test_mapping", {
|
|
16
|
-
* semanticLayerCredentialId: test.id,
|
|
17
|
-
* serviceTokenId: testServiceToken.id,
|
|
18
|
-
* projectId: testProject.id,
|
|
39
|
+
* semanticLayerCredentialId: Number(test.id),
|
|
40
|
+
* serviceTokenId: Number(testServiceToken.id),
|
|
41
|
+
* projectId: Number(testProject.id),
|
|
19
42
|
* });
|
|
20
43
|
* ```
|
|
21
44
|
*
|
|
@@ -52,6 +75,8 @@ class SemanticLayerCredentialServiceTokenMapping extends pulumi.CustomResource {
|
|
|
52
75
|
static get(name, id, state, opts) {
|
|
53
76
|
return new SemanticLayerCredentialServiceTokenMapping(name, state, { ...opts, id: id });
|
|
54
77
|
}
|
|
78
|
+
/** @internal */
|
|
79
|
+
static __pulumiType = 'dbtcloud:index/semanticLayerCredentialServiceTokenMapping:SemanticLayerCredentialServiceTokenMapping';
|
|
55
80
|
/**
|
|
56
81
|
* Returns true if the given object is an instance of SemanticLayerCredentialServiceTokenMapping. This is designed to work even
|
|
57
82
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -91,6 +116,4 @@ class SemanticLayerCredentialServiceTokenMapping extends pulumi.CustomResource {
|
|
|
91
116
|
}
|
|
92
117
|
}
|
|
93
118
|
exports.SemanticLayerCredentialServiceTokenMapping = SemanticLayerCredentialServiceTokenMapping;
|
|
94
|
-
/** @internal */
|
|
95
|
-
SemanticLayerCredentialServiceTokenMapping.__pulumiType = 'dbtcloud:index/semanticLayerCredentialServiceTokenMapping:SemanticLayerCredentialServiceTokenMapping';
|
|
96
119
|
//# sourceMappingURL=semanticLayerCredentialServiceTokenMapping.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"semanticLayerCredentialServiceTokenMapping.js","sourceRoot":"","sources":["../semanticLayerCredentialServiceTokenMapping.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"semanticLayerCredentialServiceTokenMapping.js","sourceRoot":"","sources":["../semanticLayerCredentialServiceTokenMapping.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,u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I,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5D,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;aAC5E;YACD,IAAI,IAAI,EAAE,cAAc,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,EAAE,yBAAyB,CAAC;YAC9E,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,0CAA0C,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/F,CAAC;;AA1EL,gGA2EC"}
|
package/serviceToken.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ import * as outputs from "./types/output";
|
|
|
18
18
|
* {
|
|
19
19
|
* permissionSet: "job_admin",
|
|
20
20
|
* allProjects: false,
|
|
21
|
-
* projectId: dbtProject.id,
|
|
21
|
+
* projectId: Number(dbtProject.id),
|
|
22
22
|
* },
|
|
23
23
|
* {
|
|
24
24
|
* permissionSet: "developer",
|
|
@@ -104,23 +104,23 @@ export interface ServiceTokenState {
|
|
|
104
104
|
/**
|
|
105
105
|
* Service token name
|
|
106
106
|
*/
|
|
107
|
-
name?: pulumi.Input<string>;
|
|
107
|
+
name?: pulumi.Input<string | undefined>;
|
|
108
108
|
/**
|
|
109
109
|
* Permissions set for the service token
|
|
110
110
|
*/
|
|
111
|
-
serviceTokenPermissions?: pulumi.Input<pulumi.Input<inputs.ServiceTokenServiceTokenPermission>[]>;
|
|
111
|
+
serviceTokenPermissions?: pulumi.Input<pulumi.Input<inputs.ServiceTokenServiceTokenPermission>[] | undefined>;
|
|
112
112
|
/**
|
|
113
113
|
* Service token state (1 is active, 2 is inactive)
|
|
114
114
|
*/
|
|
115
|
-
state?: pulumi.Input<number>;
|
|
115
|
+
state?: pulumi.Input<number | undefined>;
|
|
116
116
|
/**
|
|
117
117
|
* Service token secret value (only accessible on creation))
|
|
118
118
|
*/
|
|
119
|
-
tokenString?: pulumi.Input<string>;
|
|
119
|
+
tokenString?: pulumi.Input<string | undefined>;
|
|
120
120
|
/**
|
|
121
121
|
* Service token UID (part of the token)
|
|
122
122
|
*/
|
|
123
|
-
uid?: pulumi.Input<string>;
|
|
123
|
+
uid?: pulumi.Input<string | undefined>;
|
|
124
124
|
}
|
|
125
125
|
/**
|
|
126
126
|
* The set of arguments for constructing a ServiceToken resource.
|
|
@@ -129,13 +129,14 @@ export interface ServiceTokenArgs {
|
|
|
129
129
|
/**
|
|
130
130
|
* Service token name
|
|
131
131
|
*/
|
|
132
|
-
name?: pulumi.Input<string>;
|
|
132
|
+
name?: pulumi.Input<string | undefined>;
|
|
133
133
|
/**
|
|
134
134
|
* Permissions set for the service token
|
|
135
135
|
*/
|
|
136
|
-
serviceTokenPermissions?: pulumi.Input<pulumi.Input<inputs.ServiceTokenServiceTokenPermission>[]>;
|
|
136
|
+
serviceTokenPermissions?: pulumi.Input<pulumi.Input<inputs.ServiceTokenServiceTokenPermission>[] | undefined>;
|
|
137
137
|
/**
|
|
138
138
|
* Service token state (1 is active, 2 is inactive)
|
|
139
139
|
*/
|
|
140
|
-
state?: pulumi.Input<number>;
|
|
140
|
+
state?: pulumi.Input<number | undefined>;
|
|
141
141
|
}
|
|
142
|
+
//# sourceMappingURL=serviceToken.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceToken.d.ts","sourceRoot":"","sources":["../serviceToken.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,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AC,MAAM,CAAC,kCAAkC,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC9G;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC1C;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,kCAAkC,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC9G;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC5C"}
|
package/serviceToken.js
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.ServiceToken = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* ## Example Usage
|
|
10
33
|
*
|
|
@@ -22,7 +45,7 @@ const utilities = require("./utilities");
|
|
|
22
45
|
* {
|
|
23
46
|
* permissionSet: "job_admin",
|
|
24
47
|
* allProjects: false,
|
|
25
|
-
* projectId: dbtProject.id,
|
|
48
|
+
* projectId: Number(dbtProject.id),
|
|
26
49
|
* },
|
|
27
50
|
* {
|
|
28
51
|
* permissionSet: "developer",
|
|
@@ -69,6 +92,8 @@ class ServiceToken extends pulumi.CustomResource {
|
|
|
69
92
|
static get(name, id, state, opts) {
|
|
70
93
|
return new ServiceToken(name, state, { ...opts, id: id });
|
|
71
94
|
}
|
|
95
|
+
/** @internal */
|
|
96
|
+
static __pulumiType = 'dbtcloud:index/serviceToken:ServiceToken';
|
|
72
97
|
/**
|
|
73
98
|
* Returns true if the given object is an instance of ServiceToken. This is designed to work even
|
|
74
99
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -105,6 +130,4 @@ class ServiceToken extends pulumi.CustomResource {
|
|
|
105
130
|
}
|
|
106
131
|
}
|
|
107
132
|
exports.ServiceToken = ServiceToken;
|
|
108
|
-
/** @internal */
|
|
109
|
-
ServiceToken.__pulumiType = 'dbtcloud:index/serviceToken:ServiceToken';
|
|
110
133
|
//# sourceMappingURL=serviceToken.js.map
|
package/serviceToken.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceToken.js","sourceRoot":"","sources":["../serviceToken.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"serviceToken.js","sourceRoot":"","sources":["../serviceToken.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,0CAA0C,CAAC;IAEjF;;;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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,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@pulumi/pulumi";
|
|
|
10
10
|
*
|
|
11
11
|
* // Using the classic sensitive attribute (stored in state)
|
|
12
12
|
* const prodCredential = new dbtcloud.SnowflakeCredential("prod_credential", {
|
|
13
|
-
* projectId: dbtProject.id,
|
|
13
|
+
* projectId: Number(dbtProject.id),
|
|
14
14
|
* authType: "password",
|
|
15
15
|
* numThreads: 16,
|
|
16
16
|
* schema: "SCHEMA",
|
|
@@ -20,7 +20,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
20
|
* const config = new pulumi.Config();
|
|
21
21
|
* const snowflakePassword = config.require("snowflakePassword");
|
|
22
22
|
* const prodCredentialWo = new dbtcloud.SnowflakeCredential("prod_credential_wo", {
|
|
23
|
-
* projectId: dbtProject.id,
|
|
23
|
+
* projectId: Number(dbtProject.id),
|
|
24
24
|
* authType: "password",
|
|
25
25
|
* numThreads: 16,
|
|
26
26
|
* schema: "SCHEMA",
|
|
@@ -165,86 +165,86 @@ export interface SnowflakeCredentialState {
|
|
|
165
165
|
/**
|
|
166
166
|
* The type of Snowflake credential ('password' or 'keypair')
|
|
167
167
|
*/
|
|
168
|
-
authType?: pulumi.Input<string>;
|
|
168
|
+
authType?: pulumi.Input<string | undefined>;
|
|
169
169
|
/**
|
|
170
170
|
* The internal credential ID
|
|
171
171
|
*/
|
|
172
|
-
credentialId?: pulumi.Input<number>;
|
|
172
|
+
credentialId?: pulumi.Input<number | undefined>;
|
|
173
173
|
/**
|
|
174
174
|
* The catalog to connect use
|
|
175
175
|
*/
|
|
176
|
-
database?: pulumi.Input<string>;
|
|
176
|
+
database?: pulumi.Input<string | undefined>;
|
|
177
177
|
/**
|
|
178
178
|
* Whether the Snowflake credential is active
|
|
179
179
|
*/
|
|
180
|
-
isActive?: pulumi.Input<boolean>;
|
|
180
|
+
isActive?: pulumi.Input<boolean | undefined>;
|
|
181
181
|
/**
|
|
182
182
|
* Number of threads to use
|
|
183
183
|
*/
|
|
184
|
-
numThreads?: pulumi.Input<number>;
|
|
184
|
+
numThreads?: pulumi.Input<number | undefined>;
|
|
185
185
|
/**
|
|
186
186
|
* The password for the Snowflake account. Consider using `passwordWo` instead, which is not stored in state.
|
|
187
187
|
*/
|
|
188
|
-
password?: pulumi.Input<string>;
|
|
188
|
+
password?: pulumi.Input<string | undefined>;
|
|
189
189
|
/**
|
|
190
190
|
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
191
191
|
* Write-only alternative to `password`. The value is not stored in state. Requires `passwordWoVersion` to trigger updates.
|
|
192
192
|
*/
|
|
193
|
-
passwordWo?: pulumi.Input<string>;
|
|
193
|
+
passwordWo?: pulumi.Input<string | undefined>;
|
|
194
194
|
/**
|
|
195
195
|
* Version number for `passwordWo`. Increment this value to trigger an update of the password when using `passwordWo`.
|
|
196
196
|
*/
|
|
197
|
-
passwordWoVersion?: pulumi.Input<number>;
|
|
197
|
+
passwordWoVersion?: pulumi.Input<number | undefined>;
|
|
198
198
|
/**
|
|
199
199
|
* The private key for the Snowflake account. Consider using `privateKeyWo` instead, which is not stored in state.
|
|
200
200
|
*/
|
|
201
|
-
privateKey?: pulumi.Input<string>;
|
|
201
|
+
privateKey?: pulumi.Input<string | undefined>;
|
|
202
202
|
/**
|
|
203
203
|
* The passphrase for the private key. Consider using `privateKeyPassphraseWo` instead, which is not stored in state.
|
|
204
204
|
*/
|
|
205
|
-
privateKeyPassphrase?: pulumi.Input<string>;
|
|
205
|
+
privateKeyPassphrase?: pulumi.Input<string | undefined>;
|
|
206
206
|
/**
|
|
207
207
|
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
208
208
|
* Write-only alternative to `privateKeyPassphrase`. The value is not stored in state. Requires `privateKeyPassphraseWoVersion` to trigger updates.
|
|
209
209
|
*/
|
|
210
|
-
privateKeyPassphraseWo?: pulumi.Input<string>;
|
|
210
|
+
privateKeyPassphraseWo?: pulumi.Input<string | undefined>;
|
|
211
211
|
/**
|
|
212
212
|
* Version number for `privateKeyPassphraseWo`. Increment this value to trigger an update of the private key passphrase when using `privateKeyPassphraseWo`.
|
|
213
213
|
*/
|
|
214
|
-
privateKeyPassphraseWoVersion?: pulumi.Input<number>;
|
|
214
|
+
privateKeyPassphraseWoVersion?: pulumi.Input<number | undefined>;
|
|
215
215
|
/**
|
|
216
216
|
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
217
217
|
* Write-only alternative to `privateKey`. The value is not stored in state. Requires `privateKeyWoVersion` to trigger updates.
|
|
218
218
|
*/
|
|
219
|
-
privateKeyWo?: pulumi.Input<string>;
|
|
219
|
+
privateKeyWo?: pulumi.Input<string | undefined>;
|
|
220
220
|
/**
|
|
221
221
|
* Version number for `privateKeyWo`. Increment this value to trigger an update of the private key when using `privateKeyWo`.
|
|
222
222
|
*/
|
|
223
|
-
privateKeyWoVersion?: pulumi.Input<number>;
|
|
223
|
+
privateKeyWoVersion?: pulumi.Input<number | undefined>;
|
|
224
224
|
/**
|
|
225
225
|
* Project ID to create the Snowflake credential in
|
|
226
226
|
*/
|
|
227
|
-
projectId?: pulumi.Input<number>;
|
|
227
|
+
projectId?: pulumi.Input<number | undefined>;
|
|
228
228
|
/**
|
|
229
229
|
* The role to assume
|
|
230
230
|
*/
|
|
231
|
-
role?: pulumi.Input<string>;
|
|
231
|
+
role?: pulumi.Input<string | undefined>;
|
|
232
232
|
/**
|
|
233
233
|
* The schema where to create models. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
|
|
234
234
|
*/
|
|
235
|
-
schema?: pulumi.Input<string>;
|
|
235
|
+
schema?: pulumi.Input<string | undefined>;
|
|
236
236
|
/**
|
|
237
237
|
* This field indicates that the credential is used as part of the Semantic Layer configuration. It is used to create a Snowflake credential for the Semantic Layer.
|
|
238
238
|
*/
|
|
239
|
-
semanticLayerCredential?: pulumi.Input<boolean>;
|
|
239
|
+
semanticLayerCredential?: pulumi.Input<boolean | undefined>;
|
|
240
240
|
/**
|
|
241
241
|
* The username for the Snowflake account. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
|
|
242
242
|
*/
|
|
243
|
-
user?: pulumi.Input<string>;
|
|
243
|
+
user?: pulumi.Input<string | undefined>;
|
|
244
244
|
/**
|
|
245
245
|
* The warehouse to use
|
|
246
246
|
*/
|
|
247
|
-
warehouse?: pulumi.Input<string>;
|
|
247
|
+
warehouse?: pulumi.Input<string | undefined>;
|
|
248
248
|
}
|
|
249
249
|
/**
|
|
250
250
|
* The set of arguments for constructing a SnowflakeCredential resource.
|
|
@@ -257,11 +257,11 @@ export interface SnowflakeCredentialArgs {
|
|
|
257
257
|
/**
|
|
258
258
|
* The catalog to connect use
|
|
259
259
|
*/
|
|
260
|
-
database?: pulumi.Input<string>;
|
|
260
|
+
database?: pulumi.Input<string | undefined>;
|
|
261
261
|
/**
|
|
262
262
|
* Whether the Snowflake credential is active
|
|
263
263
|
*/
|
|
264
|
-
isActive?: pulumi.Input<boolean>;
|
|
264
|
+
isActive?: pulumi.Input<boolean | undefined>;
|
|
265
265
|
/**
|
|
266
266
|
* Number of threads to use
|
|
267
267
|
*/
|
|
@@ -269,42 +269,42 @@ export interface SnowflakeCredentialArgs {
|
|
|
269
269
|
/**
|
|
270
270
|
* The password for the Snowflake account. Consider using `passwordWo` instead, which is not stored in state.
|
|
271
271
|
*/
|
|
272
|
-
password?: pulumi.Input<string>;
|
|
272
|
+
password?: pulumi.Input<string | undefined>;
|
|
273
273
|
/**
|
|
274
274
|
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
275
275
|
* Write-only alternative to `password`. The value is not stored in state. Requires `passwordWoVersion` to trigger updates.
|
|
276
276
|
*/
|
|
277
|
-
passwordWo?: pulumi.Input<string>;
|
|
277
|
+
passwordWo?: pulumi.Input<string | undefined>;
|
|
278
278
|
/**
|
|
279
279
|
* Version number for `passwordWo`. Increment this value to trigger an update of the password when using `passwordWo`.
|
|
280
280
|
*/
|
|
281
|
-
passwordWoVersion?: pulumi.Input<number>;
|
|
281
|
+
passwordWoVersion?: pulumi.Input<number | undefined>;
|
|
282
282
|
/**
|
|
283
283
|
* The private key for the Snowflake account. Consider using `privateKeyWo` instead, which is not stored in state.
|
|
284
284
|
*/
|
|
285
|
-
privateKey?: pulumi.Input<string>;
|
|
285
|
+
privateKey?: pulumi.Input<string | undefined>;
|
|
286
286
|
/**
|
|
287
287
|
* The passphrase for the private key. Consider using `privateKeyPassphraseWo` instead, which is not stored in state.
|
|
288
288
|
*/
|
|
289
|
-
privateKeyPassphrase?: pulumi.Input<string>;
|
|
289
|
+
privateKeyPassphrase?: pulumi.Input<string | undefined>;
|
|
290
290
|
/**
|
|
291
291
|
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
292
292
|
* Write-only alternative to `privateKeyPassphrase`. The value is not stored in state. Requires `privateKeyPassphraseWoVersion` to trigger updates.
|
|
293
293
|
*/
|
|
294
|
-
privateKeyPassphraseWo?: pulumi.Input<string>;
|
|
294
|
+
privateKeyPassphraseWo?: pulumi.Input<string | undefined>;
|
|
295
295
|
/**
|
|
296
296
|
* Version number for `privateKeyPassphraseWo`. Increment this value to trigger an update of the private key passphrase when using `privateKeyPassphraseWo`.
|
|
297
297
|
*/
|
|
298
|
-
privateKeyPassphraseWoVersion?: pulumi.Input<number>;
|
|
298
|
+
privateKeyPassphraseWoVersion?: pulumi.Input<number | undefined>;
|
|
299
299
|
/**
|
|
300
300
|
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
301
301
|
* Write-only alternative to `privateKey`. The value is not stored in state. Requires `privateKeyWoVersion` to trigger updates.
|
|
302
302
|
*/
|
|
303
|
-
privateKeyWo?: pulumi.Input<string>;
|
|
303
|
+
privateKeyWo?: pulumi.Input<string | undefined>;
|
|
304
304
|
/**
|
|
305
305
|
* Version number for `privateKeyWo`. Increment this value to trigger an update of the private key when using `privateKeyWo`.
|
|
306
306
|
*/
|
|
307
|
-
privateKeyWoVersion?: pulumi.Input<number>;
|
|
307
|
+
privateKeyWoVersion?: pulumi.Input<number | undefined>;
|
|
308
308
|
/**
|
|
309
309
|
* Project ID to create the Snowflake credential in
|
|
310
310
|
*/
|
|
@@ -312,21 +312,22 @@ export interface SnowflakeCredentialArgs {
|
|
|
312
312
|
/**
|
|
313
313
|
* The role to assume
|
|
314
314
|
*/
|
|
315
|
-
role?: pulumi.Input<string>;
|
|
315
|
+
role?: pulumi.Input<string | undefined>;
|
|
316
316
|
/**
|
|
317
317
|
* The schema where to create models. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
|
|
318
318
|
*/
|
|
319
|
-
schema?: pulumi.Input<string>;
|
|
319
|
+
schema?: pulumi.Input<string | undefined>;
|
|
320
320
|
/**
|
|
321
321
|
* This field indicates that the credential is used as part of the Semantic Layer configuration. It is used to create a Snowflake credential for the Semantic Layer.
|
|
322
322
|
*/
|
|
323
|
-
semanticLayerCredential?: pulumi.Input<boolean>;
|
|
323
|
+
semanticLayerCredential?: pulumi.Input<boolean | undefined>;
|
|
324
324
|
/**
|
|
325
325
|
* The username for the Snowflake account. This is an optional field ONLY if the credential is used for Semantic Layer configuration, otherwise it is required.
|
|
326
326
|
*/
|
|
327
|
-
user?: pulumi.Input<string>;
|
|
327
|
+
user?: pulumi.Input<string | undefined>;
|
|
328
328
|
/**
|
|
329
329
|
* The warehouse to use
|
|
330
330
|
*/
|
|
331
|
-
warehouse?: pulumi.Input<string>;
|
|
331
|
+
warehouse?: pulumi.Input<string | undefined>;
|
|
332
332
|
}
|
|
333
|
+
//# sourceMappingURL=snowflakeCredential.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snowflakeCredential.d.ts","sourceRoot":"","sources":["../snowflakeCredential.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,qBAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;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,CAAC,CAAC;IAC1D;;OAEG;IACH,6BAA6B,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjE;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvD;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC5D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAChD"}
|
package/snowflakeCredential.js
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.SnowflakeCredential = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* Snowflake credential resource. This resource is used both as a stand-alone credential, but also as part of the Semantic Layer credential definition for Snowflake.
|
|
10
33
|
*
|
|
@@ -16,7 +39,7 @@ const utilities = require("./utilities");
|
|
|
16
39
|
*
|
|
17
40
|
* // Using the classic sensitive attribute (stored in state)
|
|
18
41
|
* const prodCredential = new dbtcloud.SnowflakeCredential("prod_credential", {
|
|
19
|
-
* projectId: dbtProject.id,
|
|
42
|
+
* projectId: Number(dbtProject.id),
|
|
20
43
|
* authType: "password",
|
|
21
44
|
* numThreads: 16,
|
|
22
45
|
* schema: "SCHEMA",
|
|
@@ -26,7 +49,7 @@ const utilities = require("./utilities");
|
|
|
26
49
|
* const config = new pulumi.Config();
|
|
27
50
|
* const snowflakePassword = config.require("snowflakePassword");
|
|
28
51
|
* const prodCredentialWo = new dbtcloud.SnowflakeCredential("prod_credential_wo", {
|
|
29
|
-
* projectId: dbtProject.id,
|
|
52
|
+
* projectId: Number(dbtProject.id),
|
|
30
53
|
* authType: "password",
|
|
31
54
|
* numThreads: 16,
|
|
32
55
|
* schema: "SCHEMA",
|
|
@@ -69,6 +92,8 @@ class SnowflakeCredential extends pulumi.CustomResource {
|
|
|
69
92
|
static get(name, id, state, opts) {
|
|
70
93
|
return new SnowflakeCredential(name, state, { ...opts, id: id });
|
|
71
94
|
}
|
|
95
|
+
/** @internal */
|
|
96
|
+
static __pulumiType = 'dbtcloud:index/snowflakeCredential:SnowflakeCredential';
|
|
72
97
|
/**
|
|
73
98
|
* Returns true if the given object is an instance of SnowflakeCredential. This is designed to work even
|
|
74
99
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -144,6 +169,4 @@ class SnowflakeCredential extends pulumi.CustomResource {
|
|
|
144
169
|
}
|
|
145
170
|
}
|
|
146
171
|
exports.SnowflakeCredential = SnowflakeCredential;
|
|
147
|
-
/** @internal */
|
|
148
|
-
SnowflakeCredential.__pulumiType = 'dbtcloud:index/snowflakeCredential:SnowflakeCredential';
|
|
149
172
|
//# sourceMappingURL=snowflakeCredential.js.map
|