@pulumi/dbtcloud 0.1.0 → 0.1.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.
Files changed (105) hide show
  1. package/bigQueryConnection.d.ts +20 -1
  2. package/bigQueryConnection.js +20 -1
  3. package/bigQueryConnection.js.map +1 -1
  4. package/bigQueryCredential.d.ts +20 -1
  5. package/bigQueryCredential.js +20 -1
  6. package/bigQueryCredential.js.map +1 -1
  7. package/connection.d.ts +53 -31
  8. package/connection.js +24 -2
  9. package/connection.js.map +1 -1
  10. package/databricksCredential.d.ts +19 -2
  11. package/databricksCredential.js +19 -2
  12. package/databricksCredential.js.map +1 -1
  13. package/environment.d.ts +22 -5
  14. package/environment.js +19 -2
  15. package/environment.js.map +1 -1
  16. package/environmentVariable.d.ts +19 -2
  17. package/environmentVariable.js +19 -2
  18. package/environmentVariable.js.map +1 -1
  19. package/environmentVariableJobOverride.d.ts +19 -1
  20. package/environmentVariableJobOverride.js +19 -1
  21. package/environmentVariableJobOverride.js.map +1 -1
  22. package/extendedAttributes.d.ts +20 -20
  23. package/extendedAttributes.js +20 -2
  24. package/extendedAttributes.js.map +1 -1
  25. package/fabricConnection.d.ts +20 -0
  26. package/fabricConnection.js +20 -0
  27. package/fabricConnection.js.map +1 -1
  28. package/fabricCredential.d.ts +44 -1
  29. package/fabricCredential.js +44 -1
  30. package/fabricCredential.js.map +1 -1
  31. package/getEnvironment.d.ts +18 -16
  32. package/getEnvironment.js +6 -0
  33. package/getEnvironment.js.map +1 -1
  34. package/getEnvironments.d.ts +45 -0
  35. package/getEnvironments.js +26 -0
  36. package/getEnvironments.js.map +1 -0
  37. package/getJob.d.ts +1 -1
  38. package/getNotification.d.ts +20 -4
  39. package/getNotification.js +4 -0
  40. package/getNotification.js.map +1 -1
  41. package/getRepository.d.ts +6 -0
  42. package/getRepository.js.map +1 -1
  43. package/getUser.d.ts +4 -0
  44. package/getUser.js +4 -0
  45. package/getUser.js.map +1 -1
  46. package/group.d.ts +21 -6
  47. package/group.js +21 -6
  48. package/group.js.map +1 -1
  49. package/groupPartialPermissions.d.ts +89 -0
  50. package/groupPartialPermissions.js +58 -0
  51. package/groupPartialPermissions.js.map +1 -0
  52. package/index.d.ts +12 -0
  53. package/index.js +20 -2
  54. package/index.js.map +1 -1
  55. package/job.d.ts +33 -16
  56. package/job.js +27 -10
  57. package/job.js.map +1 -1
  58. package/licenseMap.d.ts +21 -3
  59. package/licenseMap.js +21 -3
  60. package/licenseMap.js.map +1 -1
  61. package/notification.d.ts +27 -6
  62. package/notification.js +22 -1
  63. package/notification.js.map +1 -1
  64. package/package.json +3 -2
  65. package/partialLicenseMap.d.ts +84 -0
  66. package/partialLicenseMap.js +81 -0
  67. package/partialLicenseMap.js.map +1 -0
  68. package/partialNotification.d.ts +183 -0
  69. package/partialNotification.js +107 -0
  70. package/partialNotification.js.map +1 -0
  71. package/postgresCredential.d.ts +19 -2
  72. package/postgresCredential.js +19 -2
  73. package/postgresCredential.js.map +1 -1
  74. package/project.d.ts +21 -4
  75. package/project.js +21 -4
  76. package/project.js.map +1 -1
  77. package/projectArtefacts.d.ts +21 -2
  78. package/projectArtefacts.js +21 -2
  79. package/projectArtefacts.js.map +1 -1
  80. package/projectConnection.d.ts +19 -2
  81. package/projectConnection.js +19 -2
  82. package/projectConnection.js.map +1 -1
  83. package/projectRepository.d.ts +21 -2
  84. package/projectRepository.js +21 -2
  85. package/projectRepository.js.map +1 -1
  86. package/provider.js +3 -1
  87. package/provider.js.map +1 -1
  88. package/repository.d.ts +67 -8
  89. package/repository.js +61 -8
  90. package/repository.js.map +1 -1
  91. package/serviceToken.d.ts +21 -4
  92. package/serviceToken.js +21 -4
  93. package/serviceToken.js.map +1 -1
  94. package/snowflakeCredential.d.ts +19 -2
  95. package/snowflakeCredential.js +19 -2
  96. package/snowflakeCredential.js.map +1 -1
  97. package/types/input.d.ts +14 -0
  98. package/types/output.d.ts +56 -0
  99. package/userGroups.d.ts +19 -1
  100. package/userGroups.js +19 -1
  101. package/userGroups.js.map +1 -1
  102. package/webhook.d.ts +21 -4
  103. package/webhook.js +21 -4
  104. package/webhook.js.map +1 -1
  105. package/package.json.bak +0 -31
@@ -1,15 +1,18 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Retrieve data for a single environment
4
+ */
2
5
  export declare function getEnvironment(args: GetEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise<GetEnvironmentResult>;
3
6
  /**
4
7
  * A collection of arguments for invoking getEnvironment.
5
8
  */
6
9
  export interface GetEnvironmentArgs {
7
10
  /**
8
- * ID of the environment
11
+ * The ID of the environment
9
12
  */
10
13
  environmentId: number;
11
14
  /**
12
- * Project ID to create the environment in
15
+ * The project ID to which the environment belong
13
16
  */
14
17
  projectId: number;
15
18
  }
@@ -18,11 +21,11 @@ export interface GetEnvironmentArgs {
18
21
  */
19
22
  export interface GetEnvironmentResult {
20
23
  /**
21
- * Credential ID to create the environment with
24
+ * The project ID to which the environment belong
22
25
  */
23
- readonly credentialId: number;
26
+ readonly credentialsId: number;
24
27
  /**
25
- * Which custom branch to use in this environment
28
+ * The type of deployment environment (currently 'production', 'staging' or empty)
26
29
  */
27
30
  readonly customBranch: string;
28
31
  /**
@@ -30,11 +33,11 @@ export interface GetEnvironmentResult {
30
33
  */
31
34
  readonly dbtVersion: string;
32
35
  /**
33
- * The type of deployment environment (currently 'production' or empty)
36
+ * The name of the environment
34
37
  */
35
38
  readonly deploymentType: string;
36
39
  /**
37
- * ID of the environment
40
+ * The ID of the environment
38
41
  */
39
42
  readonly environmentId: number;
40
43
  /**
@@ -46,19 +49,15 @@ export interface GetEnvironmentResult {
46
49
  */
47
50
  readonly id: string;
48
51
  /**
49
- * Whether the environment is active
50
- */
51
- readonly isActive: boolean;
52
- /**
53
- * Environment name
52
+ * The name of the environment
54
53
  */
55
54
  readonly name: string;
56
55
  /**
57
- * Project ID to create the environment in
56
+ * The project ID to which the environment belong
58
57
  */
59
58
  readonly projectId: number;
60
59
  /**
61
- * The type of environment (must be either development or deployment)
60
+ * The name of the environment
62
61
  */
63
62
  readonly type: string;
64
63
  /**
@@ -66,17 +65,20 @@ export interface GetEnvironmentResult {
66
65
  */
67
66
  readonly useCustomBranch: boolean;
68
67
  }
68
+ /**
69
+ * Retrieve data for a single environment
70
+ */
69
71
  export declare function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEnvironmentResult>;
70
72
  /**
71
73
  * A collection of arguments for invoking getEnvironment.
72
74
  */
73
75
  export interface GetEnvironmentOutputArgs {
74
76
  /**
75
- * ID of the environment
77
+ * The ID of the environment
76
78
  */
77
79
  environmentId: pulumi.Input<number>;
78
80
  /**
79
- * Project ID to create the environment in
81
+ * The project ID to which the environment belong
80
82
  */
81
83
  projectId: pulumi.Input<number>;
82
84
  }
package/getEnvironment.js CHANGED
@@ -5,6 +5,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getEnvironmentOutput = exports.getEnvironment = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * Retrieve data for a single environment
10
+ */
8
11
  function getEnvironment(args, opts) {
9
12
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
13
  return pulumi.runtime.invoke("dbtcloud:index/getEnvironment:getEnvironment", {
@@ -13,6 +16,9 @@ function getEnvironment(args, opts) {
13
16
  }, opts);
14
17
  }
15
18
  exports.getEnvironment = getEnvironment;
19
+ /**
20
+ * Retrieve data for a single environment
21
+ */
16
22
  function getEnvironmentOutput(args, opts) {
17
23
  return pulumi.output(args).apply((a) => getEnvironment(a, opts));
18
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getEnvironment.js","sourceRoot":"","sources":["../getEnvironment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,cAAc,CAAC,I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zE,CAAC;AAFD,oDAEC"}
@@ -0,0 +1,45 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * Retrieve data for multiple environments
5
+ */
6
+ export declare function getEnvironments(args?: GetEnvironmentsArgs, opts?: pulumi.InvokeOptions): Promise<GetEnvironmentsResult>;
7
+ /**
8
+ * A collection of arguments for invoking getEnvironments.
9
+ */
10
+ export interface GetEnvironmentsArgs {
11
+ /**
12
+ * The project ID to filter the environments for [Optional]
13
+ */
14
+ projectId?: number;
15
+ }
16
+ /**
17
+ * A collection of values returned by getEnvironments.
18
+ */
19
+ export interface GetEnvironmentsResult {
20
+ /**
21
+ * The list of environments
22
+ */
23
+ readonly environments: outputs.GetEnvironmentsEnvironment[];
24
+ /**
25
+ * The provider-assigned unique ID for this managed resource.
26
+ */
27
+ readonly id: string;
28
+ /**
29
+ * The project ID to filter the environments for [Optional]
30
+ */
31
+ readonly projectId?: number;
32
+ }
33
+ /**
34
+ * Retrieve data for multiple environments
35
+ */
36
+ export declare function getEnvironmentsOutput(args?: GetEnvironmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEnvironmentsResult>;
37
+ /**
38
+ * A collection of arguments for invoking getEnvironments.
39
+ */
40
+ export interface GetEnvironmentsOutputArgs {
41
+ /**
42
+ * The project ID to filter the environments for [Optional]
43
+ */
44
+ projectId?: pulumi.Input<number>;
45
+ }
@@ -0,0 +1,26 @@
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.getEnvironmentsOutput = exports.getEnvironments = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Retrieve data for multiple environments
10
+ */
11
+ function getEnvironments(args, opts) {
12
+ args = args || {};
13
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
14
+ return pulumi.runtime.invoke("dbtcloud:index/getEnvironments:getEnvironments", {
15
+ "projectId": args.projectId,
16
+ }, opts);
17
+ }
18
+ exports.getEnvironments = getEnvironments;
19
+ /**
20
+ * Retrieve data for multiple environments
21
+ */
22
+ function getEnvironmentsOutput(args, opts) {
23
+ return pulumi.output(args).apply((a) => getEnvironments(a, opts));
24
+ }
25
+ exports.getEnvironmentsOutput = getEnvironmentsOutput;
26
+ //# sourceMappingURL=getEnvironments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getEnvironments.js","sourceRoot":"","sources":["../getEnvironments.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0CAOC;AA6BD;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,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"}
package/getJob.d.ts CHANGED
@@ -63,7 +63,7 @@ export interface GetJobResult {
63
63
  */
64
64
  readonly timeoutSeconds: number;
65
65
  /**
66
- * Flags for which types of triggers to use, keys of github*webhook, git*provider*webhook, schedule, custom*branch_only
66
+ * Flags for which types of triggers to use, keys of github*webhook, git*provider*webhook, schedule, on*merge
67
67
  */
68
68
  readonly triggers: {
69
69
  [key: string]: boolean;
@@ -1,5 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
+ * Retrieve notification details
4
+ *
3
5
  * ## Example Usage
4
6
  *
5
7
  * ```typescript
@@ -17,7 +19,7 @@ export declare function getNotification(args: GetNotificationArgs, opts?: pulumi
17
19
  */
18
20
  export interface GetNotificationArgs {
19
21
  /**
20
- * ID of the notification
22
+ * The ID of the notification
21
23
  */
22
24
  notificationId: number;
23
25
  }
@@ -34,11 +36,11 @@ export interface GetNotificationResult {
34
36
  */
35
37
  readonly id: string;
36
38
  /**
37
- * ID of the notification
39
+ * The ID of the notification
38
40
  */
39
41
  readonly notificationId: number;
40
42
  /**
41
- * Type of notification (1 = dbt Cloud user email (default): does not require an external*email ; 4 = external email: requires setting an external*email)
43
+ * Type of notification (1 = dbt Cloud user email (default): does not require an externalEmail ; 2 = Slack channel: requires `slackChannelId` and `slackChannelName` ; 4 = external email: requires setting an `externalEmail`)
42
44
  */
43
45
  readonly notificationType: number;
44
46
  /**
@@ -53,12 +55,26 @@ export interface GetNotificationResult {
53
55
  * List of job IDs to trigger the webhook on success
54
56
  */
55
57
  readonly onSuccesses: number[];
58
+ /**
59
+ * The ID of the Slack channel to receive the notification. It can be found at the bottom of the Slack channel settings
60
+ */
61
+ readonly slackChannelId: string;
62
+ /**
63
+ * The name of the slack channel
64
+ */
65
+ readonly slackChannelName: string;
66
+ /**
67
+ * State of the notification (1 = active (default), 2 = inactive)
68
+ */
69
+ readonly state: number;
56
70
  /**
57
71
  * Internal dbt Cloud User ID. Must be the userId for an existing user even if the notification is an external one
58
72
  */
59
73
  readonly userId: number;
60
74
  }
61
75
  /**
76
+ * Retrieve notification details
77
+ *
62
78
  * ## Example Usage
63
79
  *
64
80
  * ```typescript
@@ -76,7 +92,7 @@ export declare function getNotificationOutput(args: GetNotificationOutputArgs, o
76
92
  */
77
93
  export interface GetNotificationOutputArgs {
78
94
  /**
79
- * ID of the notification
95
+ * The ID of the notification
80
96
  */
81
97
  notificationId: pulumi.Input<number>;
82
98
  }
@@ -6,6 +6,8 @@ exports.getNotificationOutput = exports.getNotification = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * Retrieve notification details
10
+ *
9
11
  * ## Example Usage
10
12
  *
11
13
  * ```typescript
@@ -25,6 +27,8 @@ function getNotification(args, opts) {
25
27
  }
26
28
  exports.getNotification = getNotification;
27
29
  /**
30
+ * Retrieve notification details
31
+ *
28
32
  * ## Example Usage
29
33
  *
30
34
  * ```typescript
@@ -1 +1 @@
1
- {"version":3,"file":"getNotification.js","sourceRoot":"","sources":["../getNotification.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,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;AAiDD;;;;;;;;;;;GAWG;AACH,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"}
1
+ {"version":3,"file":"getNotification.js","sourceRoot":"","sources":["../getNotification.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,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;AA6DD;;;;;;;;;;;;;GAaG;AACH,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"}
@@ -6,6 +6,8 @@ export declare function getRepository(args: GetRepositoryArgs, opts?: pulumi.Inv
6
6
  export interface GetRepositoryArgs {
7
7
  /**
8
8
  * Whether we should return the public deploy key
9
+ *
10
+ * @deprecated This field is deprecated and will be removed in a future version of the provider. The key is always fetched when the clone strategy is `deployKey`
9
11
  */
10
12
  fetchDeployKey?: boolean;
11
13
  /**
@@ -27,6 +29,8 @@ export interface GetRepositoryResult {
27
29
  readonly deployKey: string;
28
30
  /**
29
31
  * Whether we should return the public deploy key
32
+ *
33
+ * @deprecated This field is deprecated and will be removed in a future version of the provider. The key is always fetched when the clone strategy is `deployKey`
30
34
  */
31
35
  readonly fetchDeployKey?: boolean;
32
36
  /**
@@ -73,6 +77,8 @@ export declare function getRepositoryOutput(args: GetRepositoryOutputArgs, opts?
73
77
  export interface GetRepositoryOutputArgs {
74
78
  /**
75
79
  * Whether we should return the public deploy key
80
+ *
81
+ * @deprecated This field is deprecated and will be removed in a future version of the provider. The key is always fetched when the clone strategy is `deployKey`
76
82
  */
77
83
  fetchDeployKey?: pulumi.Input<boolean>;
78
84
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"getRepository.js","sourceRoot":"","sources":["../getRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,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,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sCAQC;AAqED,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"}
1
+ {"version":3,"file":"getRepository.js","sourceRoot":"","sources":["../getRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,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,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sCAQC;AAyED,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/getUser.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
+ * Retrieve user details
4
+ *
3
5
  * ## Example Usage
4
6
  *
5
7
  * ```typescript
@@ -35,6 +37,8 @@ export interface GetUserResult {
35
37
  readonly id: number;
36
38
  }
37
39
  /**
40
+ * Retrieve user details
41
+ *
38
42
  * ## Example Usage
39
43
  *
40
44
  * ```typescript
package/getUser.js CHANGED
@@ -6,6 +6,8 @@ exports.getUserOutput = exports.getUser = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * Retrieve user details
10
+ *
9
11
  * ## Example Usage
10
12
  *
11
13
  * ```typescript
@@ -25,6 +27,8 @@ function getUser(args, opts) {
25
27
  }
26
28
  exports.getUser = getUser;
27
29
  /**
30
+ * Retrieve user details
31
+ *
28
32
  * ## Example Usage
29
33
  *
30
34
  * ```typescript
package/getUser.js.map CHANGED
@@ -1 +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"}
1
+ {"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;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;;;;;;;;;;;;;GAaG;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"}
package/group.d.ts CHANGED
@@ -2,15 +2,12 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
- * *Note*: Groups currently do not support updates, as per both the API and the UI.
6
- *
7
5
  * ## Example Usage
8
6
  *
9
7
  * ```typescript
10
8
  * import * as pulumi from "@pulumi/pulumi";
11
9
  * import * as dbtcloud from "@pulumi/dbtcloud";
12
10
  *
13
- * // NOTE for customers using the LEGACY dbt_cloud provider:
14
11
  * const tfGroup1 = new dbtcloud.Group("tf_group_1", {
15
12
  * name: "TF Group 1",
16
13
  * groupPermissions: [
@@ -29,14 +26,32 @@ import * as outputs from "./types/output";
29
26
  *
30
27
  * ## Import
31
28
  *
32
- * Import using a group ID found in the URL or via the API.
29
+ * using import blocks (requires Terraform >= 1.5)
30
+ *
31
+ * import {
32
+ *
33
+ * to = dbtcloud_group.my_group
34
+ *
35
+ * id = "group_id"
36
+ *
37
+ * }
38
+ *
39
+ * import {
40
+ *
41
+ * to = dbtcloud_group.my_group
42
+ *
43
+ * id = "12345"
44
+ *
45
+ * }
46
+ *
47
+ * using the older import command
33
48
  *
34
49
  * ```sh
35
- * $ pulumi import dbtcloud:index/group:Group test_group "group_id"
50
+ * $ pulumi import dbtcloud:index/group:Group my_group "group_id"
36
51
  * ```
37
52
  *
38
53
  * ```sh
39
- * $ pulumi import dbtcloud:index/group:Group test_group 12345
54
+ * $ pulumi import dbtcloud:index/group:Group my_group 12345
40
55
  * ```
41
56
  */
42
57
  export declare class Group extends pulumi.CustomResource {
package/group.js CHANGED
@@ -6,15 +6,12 @@ exports.Group = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * *Note*: Groups currently do not support updates, as per both the API and the UI.
10
- *
11
9
  * ## Example Usage
12
10
  *
13
11
  * ```typescript
14
12
  * import * as pulumi from "@pulumi/pulumi";
15
13
  * import * as dbtcloud from "@pulumi/dbtcloud";
16
14
  *
17
- * // NOTE for customers using the LEGACY dbt_cloud provider:
18
15
  * const tfGroup1 = new dbtcloud.Group("tf_group_1", {
19
16
  * name: "TF Group 1",
20
17
  * groupPermissions: [
@@ -33,14 +30,32 @@ const utilities = require("./utilities");
33
30
  *
34
31
  * ## Import
35
32
  *
36
- * Import using a group ID found in the URL or via the API.
33
+ * using import blocks (requires Terraform >= 1.5)
34
+ *
35
+ * import {
36
+ *
37
+ * to = dbtcloud_group.my_group
38
+ *
39
+ * id = "group_id"
40
+ *
41
+ * }
42
+ *
43
+ * import {
44
+ *
45
+ * to = dbtcloud_group.my_group
46
+ *
47
+ * id = "12345"
48
+ *
49
+ * }
50
+ *
51
+ * using the older import command
37
52
  *
38
53
  * ```sh
39
- * $ pulumi import dbtcloud:index/group:Group test_group "group_id"
54
+ * $ pulumi import dbtcloud:index/group:Group my_group "group_id"
40
55
  * ```
41
56
  *
42
57
  * ```sh
43
- * $ pulumi import dbtcloud:index/group:Group test_group 12345
58
+ * $ pulumi import dbtcloud:index/group:Group my_group 12345
44
59
  * ```
45
60
  */
46
61
  class Group extends pulumi.CustomResource {
package/group.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"group.js","sourceRoot":"","sources":["../group.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;IA4BD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CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AA1EL,sBA2EC;AA7DG,gBAAgB;AACO,kBAAY,GAAG,4BAA4B,CAAC"}
@@ -0,0 +1,89 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * ## Example Usage
6
+ */
7
+ export declare class GroupPartialPermissions extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing GroupPartialPermissions resource's state with the given name, ID, and optional extra
10
+ * properties used to qualify the lookup.
11
+ *
12
+ * @param name The _unique_ name of the resulting resource.
13
+ * @param id The _unique_ provider ID of the resource to lookup.
14
+ * @param state Any extra arguments used during the lookup.
15
+ * @param opts Optional settings to control the behavior of the CustomResource.
16
+ */
17
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GroupPartialPermissionsState, opts?: pulumi.CustomResourceOptions): GroupPartialPermissions;
18
+ /**
19
+ * Returns true if the given object is an instance of GroupPartialPermissions. This is designed to work even
20
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
21
+ */
22
+ static isInstance(obj: any): obj is GroupPartialPermissions;
23
+ /**
24
+ * Whether the group will be assigned by default to users. The value needs to be the same for all partial permissions for the same group.
25
+ */
26
+ readonly assignByDefault: pulumi.Output<boolean>;
27
+ /**
28
+ * Partial permissions for the group. Those permissions will be added/removed when config is added/removed.
29
+ */
30
+ readonly groupPermissions: pulumi.Output<outputs.GroupPartialPermissionsGroupPermission[] | undefined>;
31
+ /**
32
+ * The name of the group. This is used to identify an existing group
33
+ */
34
+ readonly name: pulumi.Output<string>;
35
+ /**
36
+ * Mapping groups from the IdP. At the moment the complete list needs to be provided in each partial permission for the same group.
37
+ */
38
+ readonly ssoMappingGroups: pulumi.Output<string[] | undefined>;
39
+ /**
40
+ * Create a GroupPartialPermissions resource with the given unique name, arguments, and options.
41
+ *
42
+ * @param name The _unique_ name of the resource.
43
+ * @param args The arguments to use to populate this resource's properties.
44
+ * @param opts A bag of options that control this resource's behavior.
45
+ */
46
+ constructor(name: string, args?: GroupPartialPermissionsArgs, opts?: pulumi.CustomResourceOptions);
47
+ }
48
+ /**
49
+ * Input properties used for looking up and filtering GroupPartialPermissions resources.
50
+ */
51
+ export interface GroupPartialPermissionsState {
52
+ /**
53
+ * Whether the group will be assigned by default to users. The value needs to be the same for all partial permissions for the same group.
54
+ */
55
+ assignByDefault?: pulumi.Input<boolean>;
56
+ /**
57
+ * Partial permissions for the group. Those permissions will be added/removed when config is added/removed.
58
+ */
59
+ groupPermissions?: pulumi.Input<pulumi.Input<inputs.GroupPartialPermissionsGroupPermission>[]>;
60
+ /**
61
+ * The name of the group. This is used to identify an existing group
62
+ */
63
+ name?: pulumi.Input<string>;
64
+ /**
65
+ * Mapping groups from the IdP. At the moment the complete list needs to be provided in each partial permission for the same group.
66
+ */
67
+ ssoMappingGroups?: pulumi.Input<pulumi.Input<string>[]>;
68
+ }
69
+ /**
70
+ * The set of arguments for constructing a GroupPartialPermissions resource.
71
+ */
72
+ export interface GroupPartialPermissionsArgs {
73
+ /**
74
+ * Whether the group will be assigned by default to users. The value needs to be the same for all partial permissions for the same group.
75
+ */
76
+ assignByDefault?: pulumi.Input<boolean>;
77
+ /**
78
+ * Partial permissions for the group. Those permissions will be added/removed when config is added/removed.
79
+ */
80
+ groupPermissions?: pulumi.Input<pulumi.Input<inputs.GroupPartialPermissionsGroupPermission>[]>;
81
+ /**
82
+ * The name of the group. This is used to identify an existing group
83
+ */
84
+ name?: pulumi.Input<string>;
85
+ /**
86
+ * Mapping groups from the IdP. At the moment the complete list needs to be provided in each partial permission for the same group.
87
+ */
88
+ ssoMappingGroups?: pulumi.Input<pulumi.Input<string>[]>;
89
+ }
@@ -0,0 +1,58 @@
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.GroupPartialPermissions = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ */
11
+ class GroupPartialPermissions extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing GroupPartialPermissions resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param state Any extra arguments used during the lookup.
19
+ * @param opts Optional settings to control the behavior of the CustomResource.
20
+ */
21
+ static get(name, id, state, opts) {
22
+ return new GroupPartialPermissions(name, state, Object.assign(Object.assign({}, opts), { id: id }));
23
+ }
24
+ /**
25
+ * Returns true if the given object is an instance of GroupPartialPermissions. This is designed to work even
26
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
+ */
28
+ static isInstance(obj) {
29
+ if (obj === undefined || obj === null) {
30
+ return false;
31
+ }
32
+ return obj['__pulumiType'] === GroupPartialPermissions.__pulumiType;
33
+ }
34
+ constructor(name, argsOrState, opts) {
35
+ let resourceInputs = {};
36
+ opts = opts || {};
37
+ if (opts.id) {
38
+ const state = argsOrState;
39
+ resourceInputs["assignByDefault"] = state ? state.assignByDefault : undefined;
40
+ resourceInputs["groupPermissions"] = state ? state.groupPermissions : undefined;
41
+ resourceInputs["name"] = state ? state.name : undefined;
42
+ resourceInputs["ssoMappingGroups"] = state ? state.ssoMappingGroups : undefined;
43
+ }
44
+ else {
45
+ const args = argsOrState;
46
+ resourceInputs["assignByDefault"] = args ? args.assignByDefault : undefined;
47
+ resourceInputs["groupPermissions"] = args ? args.groupPermissions : undefined;
48
+ resourceInputs["name"] = args ? args.name : undefined;
49
+ resourceInputs["ssoMappingGroups"] = args ? args.ssoMappingGroups : undefined;
50
+ }
51
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
52
+ super(GroupPartialPermissions.__pulumiType, name, resourceInputs, opts);
53
+ }
54
+ }
55
+ exports.GroupPartialPermissions = GroupPartialPermissions;
56
+ /** @internal */
57
+ GroupPartialPermissions.__pulumiType = 'dbtcloud:index/groupPartialPermissions:GroupPartialPermissions';
58
+ //# sourceMappingURL=groupPartialPermissions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"groupPartialPermissions.js","sourceRoot":"","sources":["../groupPartialPermissions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,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,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuD,CAAC;YACtE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,kBAAkB,CAAC,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