@pulumi/dbtcloud 0.1.0-alpha.1715944408
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/LICENSE +177 -0
- package/README.md +70 -0
- package/bigQueryConnection.d.ts +399 -0
- package/bigQueryConnection.js +196 -0
- package/bigQueryConnection.js.map +1 -0
- package/bigQueryCredential.d.ts +117 -0
- package/bigQueryCredential.js +91 -0
- package/bigQueryCredential.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +14 -0
- package/config/vars.js +29 -0
- package/config/vars.js.map +1 -0
- package/connection.d.ts +321 -0
- package/connection.js +149 -0
- package/connection.js.map +1 -0
- package/databricksCredential.d.ts +168 -0
- package/databricksCredential.js +120 -0
- package/databricksCredential.js.map +1 -0
- package/environment.d.ts +209 -0
- package/environment.js +123 -0
- package/environment.js.map +1 -0
- package/environmentVariable.d.ts +120 -0
- package/environmentVariable.js +101 -0
- package/environmentVariable.js.map +1 -0
- package/environmentVariableJobOverride.d.ts +119 -0
- package/environmentVariableJobOverride.js +93 -0
- package/environmentVariableJobOverride.js.map +1 -0
- package/extendedAttributes.d.ts +135 -0
- package/extendedAttributes.js +107 -0
- package/extendedAttributes.js.map +1 -0
- package/fabricConnection.d.ts +177 -0
- package/fabricConnection.js +108 -0
- package/fabricConnection.js.map +1 -0
- package/fabricCredential.d.ts +167 -0
- package/fabricCredential.js +93 -0
- package/fabricCredential.js.map +1 -0
- package/getAzureDevOpsProject.d.ts +72 -0
- package/getAzureDevOpsProject.js +53 -0
- package/getAzureDevOpsProject.js.map +1 -0
- package/getAzureDevOpsRepository.d.ts +98 -0
- package/getAzureDevOpsRepository.js +56 -0
- package/getAzureDevOpsRepository.js.map +1 -0
- package/getBigQueryConnection.d.ts +134 -0
- package/getBigQueryConnection.js +20 -0
- package/getBigQueryConnection.js.map +1 -0
- package/getBigQueryCredential.d.ts +58 -0
- package/getBigQueryCredential.js +20 -0
- package/getBigQueryCredential.js.map +1 -0
- package/getConnection.d.ts +86 -0
- package/getConnection.js +20 -0
- package/getConnection.js.map +1 -0
- package/getDatabricksCredential.d.ts +66 -0
- package/getDatabricksCredential.js +20 -0
- package/getDatabricksCredential.js.map +1 -0
- package/getEnvironment.d.ts +82 -0
- package/getEnvironment.js +20 -0
- package/getEnvironment.js.map +1 -0
- package/getEnvironmentVariable.d.ts +52 -0
- package/getEnvironmentVariable.js +20 -0
- package/getEnvironmentVariable.js.map +1 -0
- package/getExtendedAttributes.d.ts +80 -0
- package/getExtendedAttributes.js +46 -0
- package/getExtendedAttributes.js.map +1 -0
- package/getGroup.d.ts +50 -0
- package/getGroup.js +19 -0
- package/getGroup.js.map +1 -0
- package/getGroupUsers.d.ts +67 -0
- package/getGroupUsers.js +47 -0
- package/getGroupUsers.js.map +1 -0
- package/getJob.d.ts +89 -0
- package/getJob.js +20 -0
- package/getJob.js.map +1 -0
- package/getNotification.d.ts +82 -0
- package/getNotification.js +43 -0
- package/getNotification.js.map +1 -0
- package/getPostgresCredential.d.ts +62 -0
- package/getPostgresCredential.js +20 -0
- package/getPostgresCredential.js.map +1 -0
- package/getPrivatelinkEndpoint.d.ts +98 -0
- package/getPrivatelinkEndpoint.js +61 -0
- package/getPrivatelinkEndpoint.js.map +1 -0
- package/getProject.d.ts +102 -0
- package/getProject.js +57 -0
- package/getProject.js.map +1 -0
- package/getRepository.d.ts +86 -0
- package/getRepository.js +21 -0
- package/getRepository.js.map +1 -0
- package/getServiceToken.d.ts +47 -0
- package/getServiceToken.js +19 -0
- package/getServiceToken.js.map +1 -0
- package/getSnowflakeCredential.d.ts +66 -0
- package/getSnowflakeCredential.js +20 -0
- package/getSnowflakeCredential.js.map +1 -0
- package/getUser.d.ts +58 -0
- package/getUser.js +43 -0
- package/getUser.js.map +1 -0
- package/getUserGroups.d.ts +62 -0
- package/getUserGroups.js +43 -0
- package/getUserGroups.js.map +1 -0
- package/getWebhook.d.ts +66 -0
- package/getWebhook.js +19 -0
- package/getWebhook.js.map +1 -0
- package/group.d.ts +127 -0
- package/group.js +95 -0
- package/group.js.map +1 -0
- package/index.d.ts +144 -0
- package/index.js +220 -0
- package/index.js.map +1 -0
- package/job.d.ts +443 -0
- package/job.js +228 -0
- package/job.js.map +1 -0
- package/licenseMap.d.ts +96 -0
- package/licenseMap.js +90 -0
- package/licenseMap.js.map +1 -0
- package/notification.d.ts +202 -0
- package/notification.js +126 -0
- package/notification.js.map +1 -0
- package/package.json +31 -0
- package/package.json.bak +31 -0
- package/postgresCredential.d.ts +171 -0
- package/postgresCredential.js +110 -0
- package/postgresCredential.js.map +1 -0
- package/project.d.ts +87 -0
- package/project.js +78 -0
- package/project.js.map +1 -0
- package/projectArtefacts.d.ts +99 -0
- package/projectArtefacts.js +83 -0
- package/projectArtefacts.js.map +1 -0
- package/projectConnection.d.ts +86 -0
- package/projectConnection.js +83 -0
- package/projectConnection.js.map +1 -0
- package/projectRepository.d.ts +86 -0
- package/projectRepository.js +83 -0
- package/projectRepository.js.map +1 -0
- package/provider.d.ts +50 -0
- package/provider.js +48 -0
- package/provider.js.map +1 -0
- package/repository.d.ts +204 -0
- package/repository.js +103 -0
- package/repository.js.map +1 -0
- package/serviceToken.d.ts +126 -0
- package/serviceToken.js +95 -0
- package/serviceToken.js.map +1 -0
- package/snowflakeCredential.d.ts +218 -0
- package/snowflakeCredential.js +120 -0
- package/snowflakeCredential.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +43 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +74 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/userGroups.d.ts +105 -0
- package/userGroups.js +102 -0
- package/userGroups.js.map +1 -0
- package/utilities.d.ts +8 -0
- package/utilities.js +101 -0
- package/utilities.js.map +1 -0
- package/webhook.d.ts +175 -0
- package/webhook.js +110 -0
- package/webhook.js.map +1 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
export declare function getServiceToken(args: GetServiceTokenArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceTokenResult>;
|
|
4
|
+
/**
|
|
5
|
+
* A collection of arguments for invoking getServiceToken.
|
|
6
|
+
*/
|
|
7
|
+
export interface GetServiceTokenArgs {
|
|
8
|
+
/**
|
|
9
|
+
* ID of the service token
|
|
10
|
+
*/
|
|
11
|
+
serviceTokenId: number;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* A collection of values returned by getServiceToken.
|
|
15
|
+
*/
|
|
16
|
+
export interface GetServiceTokenResult {
|
|
17
|
+
/**
|
|
18
|
+
* The provider-assigned unique ID for this managed resource.
|
|
19
|
+
*/
|
|
20
|
+
readonly id: string;
|
|
21
|
+
/**
|
|
22
|
+
* Service token name
|
|
23
|
+
*/
|
|
24
|
+
readonly name: string;
|
|
25
|
+
/**
|
|
26
|
+
* ID of the service token
|
|
27
|
+
*/
|
|
28
|
+
readonly serviceTokenId: number;
|
|
29
|
+
/**
|
|
30
|
+
* Permissions set for the service token
|
|
31
|
+
*/
|
|
32
|
+
readonly serviceTokenPermissions: outputs.GetServiceTokenServiceTokenPermission[];
|
|
33
|
+
/**
|
|
34
|
+
* The UID of the service token (part of the token secret)
|
|
35
|
+
*/
|
|
36
|
+
readonly uid: string;
|
|
37
|
+
}
|
|
38
|
+
export declare function getServiceTokenOutput(args: GetServiceTokenOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetServiceTokenResult>;
|
|
39
|
+
/**
|
|
40
|
+
* A collection of arguments for invoking getServiceToken.
|
|
41
|
+
*/
|
|
42
|
+
export interface GetServiceTokenOutputArgs {
|
|
43
|
+
/**
|
|
44
|
+
* ID of the service token
|
|
45
|
+
*/
|
|
46
|
+
serviceTokenId: pulumi.Input<number>;
|
|
47
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getServiceTokenOutput = exports.getServiceToken = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
function getServiceToken(args, opts) {
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("dbtcloud:index/getServiceToken:getServiceToken", {
|
|
11
|
+
"serviceTokenId": args.serviceTokenId,
|
|
12
|
+
}, opts);
|
|
13
|
+
}
|
|
14
|
+
exports.getServiceToken = getServiceToken;
|
|
15
|
+
function getServiceTokenOutput(args, opts) {
|
|
16
|
+
return pulumi.output(args).apply((a) => getServiceToken(a, opts));
|
|
17
|
+
}
|
|
18
|
+
exports.getServiceTokenOutput = getServiceTokenOutput;
|
|
19
|
+
//# sourceMappingURL=getServiceToken.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getServiceToken.js","sourceRoot":"","sources":["../getServiceToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC;AAqCD,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare function getSnowflakeCredential(args: GetSnowflakeCredentialArgs, opts?: pulumi.InvokeOptions): Promise<GetSnowflakeCredentialResult>;
|
|
3
|
+
/**
|
|
4
|
+
* A collection of arguments for invoking getSnowflakeCredential.
|
|
5
|
+
*/
|
|
6
|
+
export interface GetSnowflakeCredentialArgs {
|
|
7
|
+
/**
|
|
8
|
+
* Credential ID
|
|
9
|
+
*/
|
|
10
|
+
credentialId: number;
|
|
11
|
+
/**
|
|
12
|
+
* Project ID
|
|
13
|
+
*/
|
|
14
|
+
projectId: number;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getSnowflakeCredential.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetSnowflakeCredentialResult {
|
|
20
|
+
/**
|
|
21
|
+
* The type of Snowflake credential ('password' or 'keypair')
|
|
22
|
+
*/
|
|
23
|
+
readonly authType: string;
|
|
24
|
+
/**
|
|
25
|
+
* Credential ID
|
|
26
|
+
*/
|
|
27
|
+
readonly credentialId: number;
|
|
28
|
+
/**
|
|
29
|
+
* The provider-assigned unique ID for this managed resource.
|
|
30
|
+
*/
|
|
31
|
+
readonly id: string;
|
|
32
|
+
/**
|
|
33
|
+
* Whether the Snowflake credential is active
|
|
34
|
+
*/
|
|
35
|
+
readonly isActive: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Number of threads to use
|
|
38
|
+
*/
|
|
39
|
+
readonly numThreads: number;
|
|
40
|
+
/**
|
|
41
|
+
* Project ID
|
|
42
|
+
*/
|
|
43
|
+
readonly projectId: number;
|
|
44
|
+
/**
|
|
45
|
+
* Default schema name
|
|
46
|
+
*/
|
|
47
|
+
readonly schema: string;
|
|
48
|
+
/**
|
|
49
|
+
* Username for Snowflake
|
|
50
|
+
*/
|
|
51
|
+
readonly user: string;
|
|
52
|
+
}
|
|
53
|
+
export declare function getSnowflakeCredentialOutput(args: GetSnowflakeCredentialOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSnowflakeCredentialResult>;
|
|
54
|
+
/**
|
|
55
|
+
* A collection of arguments for invoking getSnowflakeCredential.
|
|
56
|
+
*/
|
|
57
|
+
export interface GetSnowflakeCredentialOutputArgs {
|
|
58
|
+
/**
|
|
59
|
+
* Credential ID
|
|
60
|
+
*/
|
|
61
|
+
credentialId: pulumi.Input<number>;
|
|
62
|
+
/**
|
|
63
|
+
* Project ID
|
|
64
|
+
*/
|
|
65
|
+
projectId: pulumi.Input<number>;
|
|
66
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getSnowflakeCredentialOutput = exports.getSnowflakeCredential = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
function getSnowflakeCredential(args, opts) {
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("dbtcloud:index/getSnowflakeCredential:getSnowflakeCredential", {
|
|
11
|
+
"credentialId": args.credentialId,
|
|
12
|
+
"projectId": args.projectId,
|
|
13
|
+
}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getSnowflakeCredential = getSnowflakeCredential;
|
|
16
|
+
function getSnowflakeCredentialOutput(args, opts) {
|
|
17
|
+
return pulumi.output(args).apply((a) => getSnowflakeCredential(a, opts));
|
|
18
|
+
}
|
|
19
|
+
exports.getSnowflakeCredentialOutput = getSnowflakeCredentialOutput;
|
|
20
|
+
//# sourceMappingURL=getSnowflakeCredential.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSnowflakeCredential.js","sourceRoot":"","sources":["../getSnowflakeCredential.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAEhG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wDAOC;AAqDD,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjF,CAAC;AAFD,oEAEC"}
|
package/getUser.d.ts
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
8
|
+
*
|
|
9
|
+
* const myUser = dbtcloud.getUser({
|
|
10
|
+
* email: "my_user@email.com",
|
|
11
|
+
* });
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export declare function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions): Promise<GetUserResult>;
|
|
15
|
+
/**
|
|
16
|
+
* A collection of arguments for invoking getUser.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetUserArgs {
|
|
19
|
+
/**
|
|
20
|
+
* Email for the user
|
|
21
|
+
*/
|
|
22
|
+
email: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* A collection of values returned by getUser.
|
|
26
|
+
*/
|
|
27
|
+
export interface GetUserResult {
|
|
28
|
+
/**
|
|
29
|
+
* Email for the user
|
|
30
|
+
*/
|
|
31
|
+
readonly email: string;
|
|
32
|
+
/**
|
|
33
|
+
* ID of the user
|
|
34
|
+
*/
|
|
35
|
+
readonly id: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
43
|
+
*
|
|
44
|
+
* const myUser = dbtcloud.getUser({
|
|
45
|
+
* email: "my_user@email.com",
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
export declare function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUserResult>;
|
|
50
|
+
/**
|
|
51
|
+
* A collection of arguments for invoking getUser.
|
|
52
|
+
*/
|
|
53
|
+
export interface GetUserOutputArgs {
|
|
54
|
+
/**
|
|
55
|
+
* Email for the user
|
|
56
|
+
*/
|
|
57
|
+
email: pulumi.Input<string>;
|
|
58
|
+
}
|
package/getUser.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getUserOutput = exports.getUser = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
14
|
+
*
|
|
15
|
+
* const myUser = dbtcloud.getUser({
|
|
16
|
+
* email: "my_user@email.com",
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
function getUser(args, opts) {
|
|
21
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
22
|
+
return pulumi.runtime.invoke("dbtcloud:index/getUser:getUser", {
|
|
23
|
+
"email": args.email,
|
|
24
|
+
}, opts);
|
|
25
|
+
}
|
|
26
|
+
exports.getUser = getUser;
|
|
27
|
+
/**
|
|
28
|
+
* ## Example Usage
|
|
29
|
+
*
|
|
30
|
+
* ```typescript
|
|
31
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
33
|
+
*
|
|
34
|
+
* const myUser = dbtcloud.getUser({
|
|
35
|
+
* email: "my_user@email.com",
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
function getUserOutput(args, opts) {
|
|
40
|
+
return pulumi.output(args).apply((a) => getUser(a, opts));
|
|
41
|
+
}
|
|
42
|
+
exports.getUserOutput = getUserOutput;
|
|
43
|
+
//# sourceMappingURL=getUser.js.map
|
package/getUser.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0BAMC;AAyBD;;;;;;;;;;;GAWG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
8
|
+
*
|
|
9
|
+
* const myUserGroups = dbtcloud.getUserGroups({
|
|
10
|
+
* userId: 12345,
|
|
11
|
+
* });
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export declare function getUserGroups(args: GetUserGroupsArgs, opts?: pulumi.InvokeOptions): Promise<GetUserGroupsResult>;
|
|
15
|
+
/**
|
|
16
|
+
* A collection of arguments for invoking getUserGroups.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetUserGroupsArgs {
|
|
19
|
+
/**
|
|
20
|
+
* ID of the user
|
|
21
|
+
*/
|
|
22
|
+
userId: number;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* A collection of values returned by getUserGroups.
|
|
26
|
+
*/
|
|
27
|
+
export interface GetUserGroupsResult {
|
|
28
|
+
/**
|
|
29
|
+
* IDs of the groups assigned to the user
|
|
30
|
+
*/
|
|
31
|
+
readonly groupIds: number[];
|
|
32
|
+
/**
|
|
33
|
+
* The provider-assigned unique ID for this managed resource.
|
|
34
|
+
*/
|
|
35
|
+
readonly id: string;
|
|
36
|
+
/**
|
|
37
|
+
* ID of the user
|
|
38
|
+
*/
|
|
39
|
+
readonly userId: number;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* ## Example Usage
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
47
|
+
*
|
|
48
|
+
* const myUserGroups = dbtcloud.getUserGroups({
|
|
49
|
+
* userId: 12345,
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export declare function getUserGroupsOutput(args: GetUserGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUserGroupsResult>;
|
|
54
|
+
/**
|
|
55
|
+
* A collection of arguments for invoking getUserGroups.
|
|
56
|
+
*/
|
|
57
|
+
export interface GetUserGroupsOutputArgs {
|
|
58
|
+
/**
|
|
59
|
+
* ID of the user
|
|
60
|
+
*/
|
|
61
|
+
userId: pulumi.Input<number>;
|
|
62
|
+
}
|
package/getUserGroups.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getUserGroupsOutput = exports.getUserGroups = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
14
|
+
*
|
|
15
|
+
* const myUserGroups = dbtcloud.getUserGroups({
|
|
16
|
+
* userId: 12345,
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
function getUserGroups(args, opts) {
|
|
21
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
22
|
+
return pulumi.runtime.invoke("dbtcloud:index/getUserGroups:getUserGroups", {
|
|
23
|
+
"userId": args.userId,
|
|
24
|
+
}, opts);
|
|
25
|
+
}
|
|
26
|
+
exports.getUserGroups = getUserGroups;
|
|
27
|
+
/**
|
|
28
|
+
* ## Example Usage
|
|
29
|
+
*
|
|
30
|
+
* ```typescript
|
|
31
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
33
|
+
*
|
|
34
|
+
* const myUserGroups = dbtcloud.getUserGroups({
|
|
35
|
+
* userId: 12345,
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
function getUserGroupsOutput(args, opts) {
|
|
40
|
+
return pulumi.output(args).apply((a) => getUserGroups(a, opts));
|
|
41
|
+
}
|
|
42
|
+
exports.getUserGroupsOutput = getUserGroupsOutput;
|
|
43
|
+
//# sourceMappingURL=getUserGroups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserGroups.js","sourceRoot":"","sources":["../getUserGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sCAMC;AA6BD;;;;;;;;;;;GAWG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
|
package/getWebhook.d.ts
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare function getWebhook(args: GetWebhookArgs, opts?: pulumi.InvokeOptions): Promise<GetWebhookResult>;
|
|
3
|
+
/**
|
|
4
|
+
* A collection of arguments for invoking getWebhook.
|
|
5
|
+
*/
|
|
6
|
+
export interface GetWebhookArgs {
|
|
7
|
+
/**
|
|
8
|
+
* Webhooks ID
|
|
9
|
+
*/
|
|
10
|
+
webhookId: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* A collection of values returned by getWebhook.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetWebhookResult {
|
|
16
|
+
/**
|
|
17
|
+
* Webhooks Account Identifier
|
|
18
|
+
*/
|
|
19
|
+
readonly accountIdentifier: string;
|
|
20
|
+
/**
|
|
21
|
+
* Webhooks active flag
|
|
22
|
+
*/
|
|
23
|
+
readonly active: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Webhooks Client URL
|
|
26
|
+
*/
|
|
27
|
+
readonly clientUrl: string;
|
|
28
|
+
/**
|
|
29
|
+
* Webhooks Description
|
|
30
|
+
*/
|
|
31
|
+
readonly description: string;
|
|
32
|
+
/**
|
|
33
|
+
* Webhooks Event Types
|
|
34
|
+
*/
|
|
35
|
+
readonly eventTypes: string[];
|
|
36
|
+
/**
|
|
37
|
+
* Webhooks HTTP Status Code
|
|
38
|
+
*/
|
|
39
|
+
readonly httpStatusCode: string;
|
|
40
|
+
/**
|
|
41
|
+
* The provider-assigned unique ID for this managed resource.
|
|
42
|
+
*/
|
|
43
|
+
readonly id: string;
|
|
44
|
+
/**
|
|
45
|
+
* List of job IDs to trigger the webhook
|
|
46
|
+
*/
|
|
47
|
+
readonly jobIds: number[];
|
|
48
|
+
/**
|
|
49
|
+
* Webhooks Name
|
|
50
|
+
*/
|
|
51
|
+
readonly name: string;
|
|
52
|
+
/**
|
|
53
|
+
* Webhooks ID
|
|
54
|
+
*/
|
|
55
|
+
readonly webhookId: string;
|
|
56
|
+
}
|
|
57
|
+
export declare function getWebhookOutput(args: GetWebhookOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetWebhookResult>;
|
|
58
|
+
/**
|
|
59
|
+
* A collection of arguments for invoking getWebhook.
|
|
60
|
+
*/
|
|
61
|
+
export interface GetWebhookOutputArgs {
|
|
62
|
+
/**
|
|
63
|
+
* Webhooks ID
|
|
64
|
+
*/
|
|
65
|
+
webhookId: pulumi.Input<string>;
|
|
66
|
+
}
|
package/getWebhook.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getWebhookOutput = exports.getWebhook = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
function getWebhook(args, opts) {
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("dbtcloud:index/getWebhook:getWebhook", {
|
|
11
|
+
"webhookId": args.webhookId,
|
|
12
|
+
}, opts);
|
|
13
|
+
}
|
|
14
|
+
exports.getWebhook = getWebhook;
|
|
15
|
+
function getWebhookOutput(args, opts) {
|
|
16
|
+
return pulumi.output(args).apply((a) => getWebhook(a, opts));
|
|
17
|
+
}
|
|
18
|
+
exports.getWebhookOutput = getWebhookOutput;
|
|
19
|
+
//# sourceMappingURL=getWebhook.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getWebhook.js","sourceRoot":"","sources":["../getWebhook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gCAMC;AAyDD,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|
package/group.d.ts
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* *Note*: Groups currently do not support updates, as per both the API and the UI.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
12
|
+
*
|
|
13
|
+
* // NOTE for customers using the LEGACY dbt_cloud provider:
|
|
14
|
+
* const tfGroup1 = new dbtcloud.Group("tf_group_1", {
|
|
15
|
+
* name: "TF Group 1",
|
|
16
|
+
* groupPermissions: [
|
|
17
|
+
* {
|
|
18
|
+
* permissionSet: "member",
|
|
19
|
+
* allProjects: true,
|
|
20
|
+
* },
|
|
21
|
+
* {
|
|
22
|
+
* permissionSet: "developer",
|
|
23
|
+
* allProjects: false,
|
|
24
|
+
* projectId: dbtProject.id,
|
|
25
|
+
* },
|
|
26
|
+
* ],
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* Import using a group ID found in the URL or via the API.
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import dbtcloud:index/group:Group test_group "group_id"
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* ```sh
|
|
39
|
+
* $ pulumi import dbtcloud:index/group:Group test_group 12345
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
export declare class Group extends pulumi.CustomResource {
|
|
43
|
+
/**
|
|
44
|
+
* Get an existing Group resource's state with the given name, ID, and optional extra
|
|
45
|
+
* properties used to qualify the lookup.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resulting resource.
|
|
48
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
49
|
+
* @param state Any extra arguments used during the lookup.
|
|
50
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
|
+
*/
|
|
52
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GroupState, opts?: pulumi.CustomResourceOptions): Group;
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of Group. This is designed to work even
|
|
55
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
+
*/
|
|
57
|
+
static isInstance(obj: any): obj is Group;
|
|
58
|
+
/**
|
|
59
|
+
* Whether or not to assign this group to users by default
|
|
60
|
+
*/
|
|
61
|
+
readonly assignByDefault: pulumi.Output<boolean | undefined>;
|
|
62
|
+
readonly groupPermissions: pulumi.Output<outputs.GroupGroupPermission[] | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Whether the group is active
|
|
65
|
+
*/
|
|
66
|
+
readonly isActive: pulumi.Output<boolean | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* Group name
|
|
69
|
+
*/
|
|
70
|
+
readonly name: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* SSO mapping group names for this group
|
|
73
|
+
*/
|
|
74
|
+
readonly ssoMappingGroups: pulumi.Output<string[] | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* Create a Group resource with the given unique name, arguments, and options.
|
|
77
|
+
*
|
|
78
|
+
* @param name The _unique_ name of the resource.
|
|
79
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
80
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
81
|
+
*/
|
|
82
|
+
constructor(name: string, args?: GroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Input properties used for looking up and filtering Group resources.
|
|
86
|
+
*/
|
|
87
|
+
export interface GroupState {
|
|
88
|
+
/**
|
|
89
|
+
* Whether or not to assign this group to users by default
|
|
90
|
+
*/
|
|
91
|
+
assignByDefault?: pulumi.Input<boolean>;
|
|
92
|
+
groupPermissions?: pulumi.Input<pulumi.Input<inputs.GroupGroupPermission>[]>;
|
|
93
|
+
/**
|
|
94
|
+
* Whether the group is active
|
|
95
|
+
*/
|
|
96
|
+
isActive?: pulumi.Input<boolean>;
|
|
97
|
+
/**
|
|
98
|
+
* Group name
|
|
99
|
+
*/
|
|
100
|
+
name?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* SSO mapping group names for this group
|
|
103
|
+
*/
|
|
104
|
+
ssoMappingGroups?: pulumi.Input<pulumi.Input<string>[]>;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* The set of arguments for constructing a Group resource.
|
|
108
|
+
*/
|
|
109
|
+
export interface GroupArgs {
|
|
110
|
+
/**
|
|
111
|
+
* Whether or not to assign this group to users by default
|
|
112
|
+
*/
|
|
113
|
+
assignByDefault?: pulumi.Input<boolean>;
|
|
114
|
+
groupPermissions?: pulumi.Input<pulumi.Input<inputs.GroupGroupPermission>[]>;
|
|
115
|
+
/**
|
|
116
|
+
* Whether the group is active
|
|
117
|
+
*/
|
|
118
|
+
isActive?: pulumi.Input<boolean>;
|
|
119
|
+
/**
|
|
120
|
+
* Group name
|
|
121
|
+
*/
|
|
122
|
+
name?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* SSO mapping group names for this group
|
|
125
|
+
*/
|
|
126
|
+
ssoMappingGroups?: pulumi.Input<pulumi.Input<string>[]>;
|
|
127
|
+
}
|