@pulumi/databricks 1.110.0-alpha.1789105339 → 1.110.0

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 (113) hide show
  1. package/aiGatewayMcpService.d.ts +48 -43
  2. package/aiGatewayMcpService.d.ts.map +1 -1
  3. package/aiGatewayMcpService.js +25 -3
  4. package/aiGatewayMcpService.js.map +1 -1
  5. package/aiGatewayModelProviderService.d.ts +60 -46
  6. package/aiGatewayModelProviderService.d.ts.map +1 -1
  7. package/aiGatewayModelProviderService.js +37 -3
  8. package/aiGatewayModelProviderService.js.map +1 -1
  9. package/aiGatewayModelService.d.ts +61 -47
  10. package/aiGatewayModelService.d.ts.map +1 -1
  11. package/aiGatewayModelService.js +32 -3
  12. package/aiGatewayModelService.js.map +1 -1
  13. package/app.d.ts +12 -3
  14. package/app.d.ts.map +1 -1
  15. package/app.js.map +1 -1
  16. package/domain.d.ts +232 -0
  17. package/domain.d.ts.map +1 -0
  18. package/domain.js +127 -0
  19. package/domain.js.map +1 -0
  20. package/featureEngineeringFeature.d.ts +9 -0
  21. package/featureEngineeringFeature.d.ts.map +1 -1
  22. package/featureEngineeringFeature.js +6 -0
  23. package/featureEngineeringFeature.js.map +1 -1
  24. package/featureEngineeringMaterializedFeature.d.ts +62 -0
  25. package/featureEngineeringMaterializedFeature.d.ts.map +1 -1
  26. package/featureEngineeringMaterializedFeature.js +8 -0
  27. package/featureEngineeringMaterializedFeature.js.map +1 -1
  28. package/getAiGatewayMcpService.d.ts +46 -21
  29. package/getAiGatewayMcpService.d.ts.map +1 -1
  30. package/getAiGatewayMcpService.js +34 -2
  31. package/getAiGatewayMcpService.js.map +1 -1
  32. package/getAiGatewayMcpServices.d.ts +46 -14
  33. package/getAiGatewayMcpServices.d.ts.map +1 -1
  34. package/getAiGatewayMcpServices.js +34 -2
  35. package/getAiGatewayMcpServices.js.map +1 -1
  36. package/getAiGatewayModelProviderService.d.ts +48 -24
  37. package/getAiGatewayModelProviderService.d.ts.map +1 -1
  38. package/getAiGatewayModelProviderService.js +34 -2
  39. package/getAiGatewayModelProviderService.js.map +1 -1
  40. package/getAiGatewayModelProviderServices.d.ts +51 -17
  41. package/getAiGatewayModelProviderServices.d.ts.map +1 -1
  42. package/getAiGatewayModelProviderServices.js +34 -2
  43. package/getAiGatewayModelProviderServices.js.map +1 -1
  44. package/getAiGatewayModelService.d.ts +47 -21
  45. package/getAiGatewayModelService.d.ts.map +1 -1
  46. package/getAiGatewayModelService.js +34 -2
  47. package/getAiGatewayModelService.js.map +1 -1
  48. package/getAiGatewayModelServices.d.ts +51 -17
  49. package/getAiGatewayModelServices.d.ts.map +1 -1
  50. package/getAiGatewayModelServices.js +34 -2
  51. package/getAiGatewayModelServices.js.map +1 -1
  52. package/getDomain.d.ts +135 -0
  53. package/getDomain.d.ts.map +1 -0
  54. package/getDomain.js +83 -0
  55. package/getDomain.js.map +1 -0
  56. package/getDomains.d.ts +85 -0
  57. package/getDomains.d.ts.map +1 -0
  58. package/getDomains.js +85 -0
  59. package/getDomains.js.map +1 -0
  60. package/getFeatureEngineeringFeature.d.ts +13 -1
  61. package/getFeatureEngineeringFeature.d.ts.map +1 -1
  62. package/getFeatureEngineeringFeature.js.map +1 -1
  63. package/getFeatureEngineeringKafkaConfig.d.ts +2 -1
  64. package/getFeatureEngineeringKafkaConfig.d.ts.map +1 -1
  65. package/getFeatureEngineeringKafkaConfig.js.map +1 -1
  66. package/getFeatureEngineeringMaterializedFeature.d.ts +25 -0
  67. package/getFeatureEngineeringMaterializedFeature.d.ts.map +1 -1
  68. package/getFeatureEngineeringMaterializedFeature.js.map +1 -1
  69. package/getPolicyInfo.d.ts +7 -1
  70. package/getPolicyInfo.d.ts.map +1 -1
  71. package/getPolicyInfo.js.map +1 -1
  72. package/getSandbox.d.ts +100 -0
  73. package/getSandbox.d.ts.map +1 -0
  74. package/getSandbox.js +85 -0
  75. package/getSandbox.js.map +1 -0
  76. package/getSandboxes.d.ts +68 -0
  77. package/getSandboxes.d.ts.map +1 -0
  78. package/getSandboxes.js +83 -0
  79. package/getSandboxes.js.map +1 -0
  80. package/grant.d.ts +18 -0
  81. package/grant.d.ts.map +1 -1
  82. package/grant.js +17 -0
  83. package/grant.js.map +1 -1
  84. package/grants.d.ts +20 -0
  85. package/grants.d.ts.map +1 -1
  86. package/grants.js +19 -0
  87. package/grants.js.map +1 -1
  88. package/index.d.ts +18 -0
  89. package/index.d.ts.map +1 -1
  90. package/index.js +34 -12
  91. package/index.js.map +1 -1
  92. package/mwsWorkspaces.d.ts +3 -3
  93. package/package.json +2 -2
  94. package/policyInfo.d.ts +21 -3
  95. package/policyInfo.d.ts.map +1 -1
  96. package/policyInfo.js +2 -0
  97. package/policyInfo.js.map +1 -1
  98. package/postgresBranch.d.ts +18 -0
  99. package/postgresBranch.d.ts.map +1 -1
  100. package/postgresBranch.js +18 -0
  101. package/postgresBranch.js.map +1 -1
  102. package/postgresSnapshotSchedule.d.ts +13 -1
  103. package/postgresSnapshotSchedule.d.ts.map +1 -1
  104. package/postgresSnapshotSchedule.js +5 -0
  105. package/postgresSnapshotSchedule.js.map +1 -1
  106. package/sandbox.d.ts +147 -0
  107. package/sandbox.d.ts.map +1 -0
  108. package/sandbox.js +117 -0
  109. package/sandbox.js.map +1 -0
  110. package/types/input.d.ts +462 -273
  111. package/types/input.d.ts.map +1 -1
  112. package/types/output.d.ts +1609 -984
  113. package/types/output.d.ts.map +1 -1
@@ -2,9 +2,33 @@ 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
- * [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
5
+ * [![GA](https://img.shields.io/badge/Release_Stage-GA-green)](https://docs.databricks.com/aws/en/release-notes/release-types)
6
6
  *
7
7
  * [API Documentation](https://docs.databricks.com/api/workspace/aigateway)
8
+ *
9
+ * Manages an MCP service in Unity Catalog. An MCP service governs access to an MCP server hosted through a Unity Catalog connection.
10
+ *
11
+ * The Unity Catalog connection must exist before you create the MCP service. MCP services are contained in a Unity Catalog schema and governed by Unity Catalog permissions.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * The following example registers an MCP service backed by a Unity Catalog connection:
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as databricks from "@pulumi/databricks";
20
+ *
21
+ * const example = new databricks.AiGatewayMcpService("example", {
22
+ * parent: "schemas/main.default",
23
+ * mcpServiceId: "knowledge_tools",
24
+ * comment: "Provides governed access to knowledge tools",
25
+ * config: {
26
+ * sourceConnection: {
27
+ * name: "connections/main.default.mcp_connection",
28
+ * },
29
+ * },
30
+ * });
31
+ * ```
8
32
  */
9
33
  export declare class AiGatewayMcpService extends pulumi.CustomResource {
10
34
  /**
@@ -27,14 +51,13 @@ export declare class AiGatewayMcpService extends pulumi.CustomResource {
27
51
  */
28
52
  readonly comment: pulumi.Output<string | undefined>;
29
53
  /**
30
- * Operational configuration: connection, tool selectors, rate limit.
31
- * Required on CreateMcpService; on
32
- * UpdateMcpService it is required only when `config` (or a `config.*`
33
- * subpath) appears in `updateMask`
54
+ * Connection, tool selectors, and rate limits. Required on Create. On Update,
55
+ * provide this field when `updateMask` contains `config` or one of its
56
+ * subpaths
34
57
  */
35
58
  readonly config: pulumi.Output<outputs.AiGatewayMcpServiceConfig | undefined>;
36
59
  /**
37
- * (string) - When the MCP service was created
60
+ * (string) - Time the MCP service was created
38
61
  */
39
62
  readonly createTime: pulumi.Output<string>;
40
63
  /**
@@ -42,16 +65,14 @@ export declare class AiGatewayMcpService extends pulumi.CustomResource {
42
65
  */
43
66
  readonly createdBy: pulumi.Output<string>;
44
67
  /**
45
- * (string) - The resolved owner of the MCP service. Falls back to the caller's identity
46
- * when `owner` is not explicitly set on creation
68
+ * (string) - Owner of the MCP service
47
69
  */
48
70
  readonly effectiveOwner: pulumi.Output<string>;
49
71
  /**
50
- * (string) - Optimistic concurrency control token. Server-generated from the
51
- * entity's state and returned on every read. To use it as an if-match
52
- * precondition on a mutation, echo the last-read value back via the dedicated
53
- * `etag` field on the Update / Delete request; the server rejects the mutation
54
- * if the stored etag differs
72
+ * (string) - Optimistic concurrency token returned on every read. To make an Update or
73
+ * Delete conditional, pass the last-read value in that request's `etag`
74
+ * field. In REST responses, this value is a base64 string; URL-encode it when
75
+ * setting the `etag` query parameter
55
76
  */
56
77
  readonly etag: pulumi.Output<string>;
57
78
  /**
@@ -70,10 +91,6 @@ export declare class AiGatewayMcpService extends pulumi.CustomResource {
70
91
  * `mcpServiceId`; required and immutable on Update/Get/Delete
71
92
  */
72
93
  readonly name: pulumi.Output<string>;
73
- /**
74
- * The owner of the MCP service. Write-only; read owner via effective_owner
75
- */
76
- readonly owner: pulumi.Output<string>;
77
94
  /**
78
95
  * Name of the parent schema.
79
96
  * Format: `schemas/{catalog}.{schema}`.
@@ -85,7 +102,7 @@ export declare class AiGatewayMcpService extends pulumi.CustomResource {
85
102
  */
86
103
  readonly providerConfig: pulumi.Output<outputs.AiGatewayMcpServiceProviderConfig>;
87
104
  /**
88
- * (string) - When the MCP service was last modified
105
+ * (string) - Time the MCP service was last modified
89
106
  */
90
107
  readonly updateTime: pulumi.Output<string>;
91
108
  /**
@@ -110,14 +127,13 @@ export interface AiGatewayMcpServiceState {
110
127
  */
111
128
  comment?: pulumi.Input<string | undefined>;
112
129
  /**
113
- * Operational configuration: connection, tool selectors, rate limit.
114
- * Required on CreateMcpService; on
115
- * UpdateMcpService it is required only when `config` (or a `config.*`
116
- * subpath) appears in `updateMask`
130
+ * Connection, tool selectors, and rate limits. Required on Create. On Update,
131
+ * provide this field when `updateMask` contains `config` or one of its
132
+ * subpaths
117
133
  */
118
134
  config?: pulumi.Input<inputs.AiGatewayMcpServiceConfig | undefined>;
119
135
  /**
120
- * (string) - When the MCP service was created
136
+ * (string) - Time the MCP service was created
121
137
  */
122
138
  createTime?: pulumi.Input<string | undefined>;
123
139
  /**
@@ -125,16 +141,14 @@ export interface AiGatewayMcpServiceState {
125
141
  */
126
142
  createdBy?: pulumi.Input<string | undefined>;
127
143
  /**
128
- * (string) - The resolved owner of the MCP service. Falls back to the caller's identity
129
- * when `owner` is not explicitly set on creation
144
+ * (string) - Owner of the MCP service
130
145
  */
131
146
  effectiveOwner?: pulumi.Input<string | undefined>;
132
147
  /**
133
- * (string) - Optimistic concurrency control token. Server-generated from the
134
- * entity's state and returned on every read. To use it as an if-match
135
- * precondition on a mutation, echo the last-read value back via the dedicated
136
- * `etag` field on the Update / Delete request; the server rejects the mutation
137
- * if the stored etag differs
148
+ * (string) - Optimistic concurrency token returned on every read. To make an Update or
149
+ * Delete conditional, pass the last-read value in that request's `etag`
150
+ * field. In REST responses, this value is a base64 string; URL-encode it when
151
+ * setting the `etag` query parameter
138
152
  */
139
153
  etag?: pulumi.Input<string | undefined>;
140
154
  /**
@@ -153,10 +167,6 @@ export interface AiGatewayMcpServiceState {
153
167
  * `mcpServiceId`; required and immutable on Update/Get/Delete
154
168
  */
155
169
  name?: pulumi.Input<string | undefined>;
156
- /**
157
- * The owner of the MCP service. Write-only; read owner via effective_owner
158
- */
159
- owner?: pulumi.Input<string | undefined>;
160
170
  /**
161
171
  * Name of the parent schema.
162
172
  * Format: `schemas/{catalog}.{schema}`.
@@ -168,7 +178,7 @@ export interface AiGatewayMcpServiceState {
168
178
  */
169
179
  providerConfig?: pulumi.Input<inputs.AiGatewayMcpServiceProviderConfig | undefined>;
170
180
  /**
171
- * (string) - When the MCP service was last modified
181
+ * (string) - Time the MCP service was last modified
172
182
  */
173
183
  updateTime?: pulumi.Input<string | undefined>;
174
184
  /**
@@ -185,20 +195,15 @@ export interface AiGatewayMcpServiceArgs {
185
195
  */
186
196
  comment?: pulumi.Input<string | undefined>;
187
197
  /**
188
- * Operational configuration: connection, tool selectors, rate limit.
189
- * Required on CreateMcpService; on
190
- * UpdateMcpService it is required only when `config` (or a `config.*`
191
- * subpath) appears in `updateMask`
198
+ * Connection, tool selectors, and rate limits. Required on Create. On Update,
199
+ * provide this field when `updateMask` contains `config` or one of its
200
+ * subpaths
192
201
  */
193
202
  config?: pulumi.Input<inputs.AiGatewayMcpServiceConfig | undefined>;
194
203
  /**
195
204
  * Name for the MCP service, e.g. "myMcpService"
196
205
  */
197
206
  mcpServiceId: pulumi.Input<string>;
198
- /**
199
- * The owner of the MCP service. Write-only; read owner via effective_owner
200
- */
201
- owner?: pulumi.Input<string | undefined>;
202
207
  /**
203
208
  * Name of the parent schema.
204
209
  * Format: `schemas/{catalog}.{schema}`.
@@ -1 +1 @@
1
- {"version":3,"file":"aiGatewayMcpService.d.ts","sourceRoot":"","sources":["../aiGatewayMcpService.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;GAIG;AACH,qBAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,wBAAwB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,mBAAmB;IAOxJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,mBAAmB;IAO9D;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnE;;;;;OAKG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IAC7F;;OAEG;IACH,SAAgC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC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,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IACpE;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,iCAAiC,GAAG,SAAS,CAAC,CAAC;CACvF"}
@@ -29,9 +29,33 @@ exports.AiGatewayMcpService = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("./utilities"));
31
31
  /**
32
- * [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
32
+ * [![GA](https://img.shields.io/badge/Release_Stage-GA-green)](https://docs.databricks.com/aws/en/release-notes/release-types)
33
33
  *
34
34
  * [API Documentation](https://docs.databricks.com/api/workspace/aigateway)
35
+ *
36
+ * Manages an MCP service in Unity Catalog. An MCP service governs access to an MCP server hosted through a Unity Catalog connection.
37
+ *
38
+ * The Unity Catalog connection must exist before you create the MCP service. MCP services are contained in a Unity Catalog schema and governed by Unity Catalog permissions.
39
+ *
40
+ * ## Example Usage
41
+ *
42
+ * The following example registers an MCP service backed by a Unity Catalog connection:
43
+ *
44
+ * ```typescript
45
+ * import * as pulumi from "@pulumi/pulumi";
46
+ * import * as databricks from "@pulumi/databricks";
47
+ *
48
+ * const example = new databricks.AiGatewayMcpService("example", {
49
+ * parent: "schemas/main.default",
50
+ * mcpServiceId: "knowledge_tools",
51
+ * comment: "Provides governed access to knowledge tools",
52
+ * config: {
53
+ * sourceConnection: {
54
+ * name: "connections/main.default.mcp_connection",
55
+ * },
56
+ * },
57
+ * });
58
+ * ```
35
59
  */
36
60
  class AiGatewayMcpService extends pulumi.CustomResource {
37
61
  /**
@@ -72,7 +96,6 @@ class AiGatewayMcpService extends pulumi.CustomResource {
72
96
  resourceInputs["mcpServiceId"] = state?.mcpServiceId;
73
97
  resourceInputs["metastoreId"] = state?.metastoreId;
74
98
  resourceInputs["name"] = state?.name;
75
- resourceInputs["owner"] = state?.owner;
76
99
  resourceInputs["parent"] = state?.parent;
77
100
  resourceInputs["providerConfig"] = state?.providerConfig;
78
101
  resourceInputs["updateTime"] = state?.updateTime;
@@ -89,7 +112,6 @@ class AiGatewayMcpService extends pulumi.CustomResource {
89
112
  resourceInputs["comment"] = args?.comment;
90
113
  resourceInputs["config"] = args?.config;
91
114
  resourceInputs["mcpServiceId"] = args?.mcpServiceId;
92
- resourceInputs["owner"] = args?.owner;
93
115
  resourceInputs["parent"] = args?.parent;
94
116
  resourceInputs["providerConfig"] = args?.providerConfig;
95
117
  resourceInputs["createTime"] = undefined /*out*/;
@@ -1 +1 @@
1
- {"version":3,"file":"aiGatewayMcpService.js","sourceRoot":"","sources":["../aiGatewayMcpService.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;GAIG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,0DAA0D,CAAC;IAEjG;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG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,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA9IL,kDA+IC"}
@@ -2,9 +2,45 @@ 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
- * [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
5
+ * [![GA](https://img.shields.io/badge/Release_Stage-GA-green)](https://docs.databricks.com/aws/en/release-notes/release-types)
6
6
  *
7
7
  * [API Documentation](https://docs.databricks.com/api/workspace/aigateway)
8
+ *
9
+ * Manages a Unity Catalog model provider service. A model provider service defines how model services connect to an external model provider and which provider models they can access.
10
+ *
11
+ * Model provider services are contained in a Unity Catalog schema and governed by Unity Catalog permissions. Supply provider credentials through a sensitive variable or another secure input instead of hardcoding them in your configuration.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * The following example creates a model provider service for a custom OpenAI-compatible provider. Pass `providerApiKey` through a secure input, such as the `TF_VAR_provider_api_key` environment variable.
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as databricks from "@pulumi/databricks";
20
+ *
21
+ * const config = new pulumi.Config();
22
+ * const providerApiKey = config.require("providerApiKey");
23
+ * const example = new databricks.AiGatewayModelProviderService("example", {
24
+ * parent: "schemas/main.default",
25
+ * modelProviderServiceId: "custom_provider",
26
+ * comment: "Connects to a custom model provider",
27
+ * config: {
28
+ * providerType: "EXTERNAL_MODEL_PROVIDER_TYPE_CUSTOM",
29
+ * targets: [{
30
+ * model: "chat-model",
31
+ * nativeApiTypes: ["openai/v1/chat/completions"],
32
+ * }],
33
+ * custom: {
34
+ * direct: {
35
+ * baseUrl: "https://api.example.com/v1",
36
+ * apiKey: {
37
+ * plaintext: providerApiKey,
38
+ * },
39
+ * },
40
+ * },
41
+ * },
42
+ * });
43
+ * ```
8
44
  */
9
45
  export declare class AiGatewayModelProviderService extends pulumi.CustomResource {
10
46
  /**
@@ -27,14 +63,13 @@ export declare class AiGatewayModelProviderService extends pulumi.CustomResource
27
63
  */
28
64
  readonly comment: pulumi.Output<string | undefined>;
29
65
  /**
30
- * Behavioral configuration: provider connection, model catalog, and
31
- * passthrough policy. See `ModelProviderServiceConfig` for the per-field
32
- * contract. Required on CreateModelProviderService; on Update it is required
33
- * only when `config` (or a `config.*` subpath) appears in `updateMask`
66
+ * Provider authentication, exposed models, request-forwarding controls, rate
67
+ * limits, and payload logging. Required on Create. On Update, it is required
68
+ * only when `config` or one of its subpaths appears in `updateMask`
34
69
  */
35
70
  readonly config: pulumi.Output<outputs.AiGatewayModelProviderServiceConfig | undefined>;
36
71
  /**
37
- * (string) - When the provider service was created
72
+ * (string) - Time the provider service was created
38
73
  */
39
74
  readonly createTime: pulumi.Output<string>;
40
75
  /**
@@ -42,16 +77,14 @@ export declare class AiGatewayModelProviderService extends pulumi.CustomResource
42
77
  */
43
78
  readonly createdBy: pulumi.Output<string>;
44
79
  /**
45
- * (string) - The resolved owner of the model provider service. Falls back to the
46
- * caller's identity when `owner` is not explicitly set on creation
80
+ * (string) - Owner of the model provider service
47
81
  */
48
82
  readonly effectiveOwner: pulumi.Output<string>;
49
83
  /**
50
- * (string) - Optimistic concurrency control token. Server-generated from the
51
- * entity's state and returned on every read. To use it as an if-match
52
- * precondition on a mutation, echo the last-read value back via the dedicated
53
- * `etag` field on the Update / Delete request; the server rejects the mutation
54
- * if the stored etag differs
84
+ * (string) - Optimistic concurrency token returned on every read. To make an Update or
85
+ * Delete conditional, pass the last-read value in that request's `etag`
86
+ * field. In REST responses, this value is a base64 string; URL-encode it when
87
+ * setting the `etag` query parameter
55
88
  */
56
89
  readonly etag: pulumi.Output<string>;
57
90
  /**
@@ -70,11 +103,6 @@ export declare class AiGatewayModelProviderService extends pulumi.CustomResource
70
103
  * `modelProviderServiceId`; required and immutable on Update/Get/Delete
71
104
  */
72
105
  readonly name: pulumi.Output<string>;
73
- /**
74
- * The owner of the model provider service. Write-only; read owner via
75
- * effective_owner
76
- */
77
- readonly owner: pulumi.Output<string>;
78
106
  /**
79
107
  * Name of the parent schema.
80
108
  * Format: `schemas/{catalog}.{schema}`.
@@ -86,7 +114,7 @@ export declare class AiGatewayModelProviderService extends pulumi.CustomResource
86
114
  */
87
115
  readonly providerConfig: pulumi.Output<outputs.AiGatewayModelProviderServiceProviderConfig>;
88
116
  /**
89
- * (string) - When the provider service was last modified
117
+ * (string) - Time the provider service was last modified
90
118
  */
91
119
  readonly updateTime: pulumi.Output<string>;
92
120
  /**
@@ -111,14 +139,13 @@ export interface AiGatewayModelProviderServiceState {
111
139
  */
112
140
  comment?: pulumi.Input<string | undefined>;
113
141
  /**
114
- * Behavioral configuration: provider connection, model catalog, and
115
- * passthrough policy. See `ModelProviderServiceConfig` for the per-field
116
- * contract. Required on CreateModelProviderService; on Update it is required
117
- * only when `config` (or a `config.*` subpath) appears in `updateMask`
142
+ * Provider authentication, exposed models, request-forwarding controls, rate
143
+ * limits, and payload logging. Required on Create. On Update, it is required
144
+ * only when `config` or one of its subpaths appears in `updateMask`
118
145
  */
119
146
  config?: pulumi.Input<inputs.AiGatewayModelProviderServiceConfig | undefined>;
120
147
  /**
121
- * (string) - When the provider service was created
148
+ * (string) - Time the provider service was created
122
149
  */
123
150
  createTime?: pulumi.Input<string | undefined>;
124
151
  /**
@@ -126,16 +153,14 @@ export interface AiGatewayModelProviderServiceState {
126
153
  */
127
154
  createdBy?: pulumi.Input<string | undefined>;
128
155
  /**
129
- * (string) - The resolved owner of the model provider service. Falls back to the
130
- * caller's identity when `owner` is not explicitly set on creation
156
+ * (string) - Owner of the model provider service
131
157
  */
132
158
  effectiveOwner?: pulumi.Input<string | undefined>;
133
159
  /**
134
- * (string) - Optimistic concurrency control token. Server-generated from the
135
- * entity's state and returned on every read. To use it as an if-match
136
- * precondition on a mutation, echo the last-read value back via the dedicated
137
- * `etag` field on the Update / Delete request; the server rejects the mutation
138
- * if the stored etag differs
160
+ * (string) - Optimistic concurrency token returned on every read. To make an Update or
161
+ * Delete conditional, pass the last-read value in that request's `etag`
162
+ * field. In REST responses, this value is a base64 string; URL-encode it when
163
+ * setting the `etag` query parameter
139
164
  */
140
165
  etag?: pulumi.Input<string | undefined>;
141
166
  /**
@@ -154,11 +179,6 @@ export interface AiGatewayModelProviderServiceState {
154
179
  * `modelProviderServiceId`; required and immutable on Update/Get/Delete
155
180
  */
156
181
  name?: pulumi.Input<string | undefined>;
157
- /**
158
- * The owner of the model provider service. Write-only; read owner via
159
- * effective_owner
160
- */
161
- owner?: pulumi.Input<string | undefined>;
162
182
  /**
163
183
  * Name of the parent schema.
164
184
  * Format: `schemas/{catalog}.{schema}`.
@@ -170,7 +190,7 @@ export interface AiGatewayModelProviderServiceState {
170
190
  */
171
191
  providerConfig?: pulumi.Input<inputs.AiGatewayModelProviderServiceProviderConfig | undefined>;
172
192
  /**
173
- * (string) - When the provider service was last modified
193
+ * (string) - Time the provider service was last modified
174
194
  */
175
195
  updateTime?: pulumi.Input<string | undefined>;
176
196
  /**
@@ -187,21 +207,15 @@ export interface AiGatewayModelProviderServiceArgs {
187
207
  */
188
208
  comment?: pulumi.Input<string | undefined>;
189
209
  /**
190
- * Behavioral configuration: provider connection, model catalog, and
191
- * passthrough policy. See `ModelProviderServiceConfig` for the per-field
192
- * contract. Required on CreateModelProviderService; on Update it is required
193
- * only when `config` (or a `config.*` subpath) appears in `updateMask`
210
+ * Provider authentication, exposed models, request-forwarding controls, rate
211
+ * limits, and payload logging. Required on Create. On Update, it is required
212
+ * only when `config` or one of its subpaths appears in `updateMask`
194
213
  */
195
214
  config?: pulumi.Input<inputs.AiGatewayModelProviderServiceConfig | undefined>;
196
215
  /**
197
216
  * Name for the model provider service, e.g. "openaiProd"
198
217
  */
199
218
  modelProviderServiceId: pulumi.Input<string>;
200
- /**
201
- * The owner of the model provider service. Write-only; read owner via
202
- * effective_owner
203
- */
204
- owner?: pulumi.Input<string | undefined>;
205
219
  /**
206
220
  * Name of the parent schema.
207
221
  * Format: `schemas/{catalog}.{schema}`.
@@ -1 +1 @@
1
- {"version":3,"file":"aiGatewayModelProviderService.d.ts","sourceRoot":"","sources":["../aiGatewayModelProviderService.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;GAIG;AACH,qBAAa,6BAA8B,SAAQ,MAAM,CAAC,cAAc;IACpE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,kCAAkC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,6BAA6B;IAO5K;;;OAGG;WACW,UAAU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OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,2CAA2C,GAAG,SAAS,CAAC,CAAC;IAC9F;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAChD;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,mCAAmC,GAAG,SAAS,CAAC,CAAC;IAC9E;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7C;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,2CAA2C,GAAG,SAAS,CAAC,CAAC;CACjG"}
@@ -29,9 +29,45 @@ exports.AiGatewayModelProviderService = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("./utilities"));
31
31
  /**
32
- * [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
32
+ * [![GA](https://img.shields.io/badge/Release_Stage-GA-green)](https://docs.databricks.com/aws/en/release-notes/release-types)
33
33
  *
34
34
  * [API Documentation](https://docs.databricks.com/api/workspace/aigateway)
35
+ *
36
+ * Manages a Unity Catalog model provider service. A model provider service defines how model services connect to an external model provider and which provider models they can access.
37
+ *
38
+ * Model provider services are contained in a Unity Catalog schema and governed by Unity Catalog permissions. Supply provider credentials through a sensitive variable or another secure input instead of hardcoding them in your configuration.
39
+ *
40
+ * ## Example Usage
41
+ *
42
+ * The following example creates a model provider service for a custom OpenAI-compatible provider. Pass `providerApiKey` through a secure input, such as the `TF_VAR_provider_api_key` environment variable.
43
+ *
44
+ * ```typescript
45
+ * import * as pulumi from "@pulumi/pulumi";
46
+ * import * as databricks from "@pulumi/databricks";
47
+ *
48
+ * const config = new pulumi.Config();
49
+ * const providerApiKey = config.require("providerApiKey");
50
+ * const example = new databricks.AiGatewayModelProviderService("example", {
51
+ * parent: "schemas/main.default",
52
+ * modelProviderServiceId: "custom_provider",
53
+ * comment: "Connects to a custom model provider",
54
+ * config: {
55
+ * providerType: "EXTERNAL_MODEL_PROVIDER_TYPE_CUSTOM",
56
+ * targets: [{
57
+ * model: "chat-model",
58
+ * nativeApiTypes: ["openai/v1/chat/completions"],
59
+ * }],
60
+ * custom: {
61
+ * direct: {
62
+ * baseUrl: "https://api.example.com/v1",
63
+ * apiKey: {
64
+ * plaintext: providerApiKey,
65
+ * },
66
+ * },
67
+ * },
68
+ * },
69
+ * });
70
+ * ```
35
71
  */
36
72
  class AiGatewayModelProviderService extends pulumi.CustomResource {
37
73
  /**
@@ -72,7 +108,6 @@ class AiGatewayModelProviderService extends pulumi.CustomResource {
72
108
  resourceInputs["metastoreId"] = state?.metastoreId;
73
109
  resourceInputs["modelProviderServiceId"] = state?.modelProviderServiceId;
74
110
  resourceInputs["name"] = state?.name;
75
- resourceInputs["owner"] = state?.owner;
76
111
  resourceInputs["parent"] = state?.parent;
77
112
  resourceInputs["providerConfig"] = state?.providerConfig;
78
113
  resourceInputs["updateTime"] = state?.updateTime;
@@ -89,7 +124,6 @@ class AiGatewayModelProviderService extends pulumi.CustomResource {
89
124
  resourceInputs["comment"] = args?.comment;
90
125
  resourceInputs["config"] = args?.config;
91
126
  resourceInputs["modelProviderServiceId"] = args?.modelProviderServiceId;
92
- resourceInputs["owner"] = args?.owner;
93
127
  resourceInputs["parent"] = args?.parent;
94
128
  resourceInputs["providerConfig"] = args?.providerConfig;
95
129
  resourceInputs["createTime"] = undefined /*out*/;
@@ -1 +1 @@
1
- {"version":3,"file":"aiGatewayModelProviderService.js","sourceRoot":"","sources":["../aiGatewayModelProviderService.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;GAIG;AACH,MAAa,6BAA8B,SAAQ,MAAM,CAAC,cAAc;IACpE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0C,EAAE,IAAmC;QACxI,OAAO,IAAI,6BAA6B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpF,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,8EAA8E,CAAC;IAErH;;;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,6BAA6B,CAAC,YAAY,CAAC;IAC9E,CAAC;IAkFD,YAAY,IAAY,EAAE,WAAoF,EAAE,IAAmC;QAC/I,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6D,CAAC;YAC5E,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,C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