@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,25 @@ 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
+ * Retrieves a Unity Catalog model service by its full resource name.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * The following example retrieves the model service named `customerSupport` from the `main.default` schema:
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as databricks from "@pulumi/databricks";
18
+ *
19
+ * const example = databricks.getAiGatewayModelService({
20
+ * name: "model-services/main.default.customer_support",
21
+ * });
22
+ * export const modelServiceConfig = example.then(example => example.config);
23
+ * ```
8
24
  */
9
25
  export declare function getAiGatewayModelService(args: GetAiGatewayModelServiceArgs, opts?: pulumi.InvokeOptions): Promise<GetAiGatewayModelServiceResult>;
10
26
  /**
@@ -33,14 +49,13 @@ export interface GetAiGatewayModelServiceResult {
33
49
  */
34
50
  readonly comment: string;
35
51
  /**
36
- * (ModelServiceConfig) - Operational configuration: destinations, routing, rate limits, inference
37
- * table. Required on CreateModelService; on UpdateModelService it is
38
- * required only when `config` (or a `config.*` subpath) appears in
39
- * `updateMask`
52
+ * (ModelServiceConfig) - Destinations, routing, rate limits, and payload logging configuration.
53
+ * Required on Create. On Update, provide this field when `updateMask`
54
+ * contains `config` or one of its subpaths
40
55
  */
41
56
  readonly config: outputs.GetAiGatewayModelServiceConfig;
42
57
  /**
43
- * (string) - When the model service was created
58
+ * (string) - Time the model service was created
44
59
  */
45
60
  readonly createTime: string;
46
61
  /**
@@ -48,16 +63,14 @@ export interface GetAiGatewayModelServiceResult {
48
63
  */
49
64
  readonly createdBy: string;
50
65
  /**
51
- * (string) - The resolved owner of the ModelService. Falls back to the caller's identity
52
- * when `owner` is not explicitly set on creation
66
+ * (string) - Owner of the model service
53
67
  */
54
68
  readonly effectiveOwner: string;
55
69
  /**
56
- * (string) - Optimistic concurrency control token. Server-generated from the
57
- * entity's state and returned on every read. To use it as an if-match
58
- * precondition on a mutation, echo the last-read value back via the dedicated
59
- * `etag` field on the Update / Delete request; the server rejects the mutation
60
- * if the stored etag differs
70
+ * (string) - Optimistic concurrency token returned on every read. To make an Update or
71
+ * Delete conditional, pass the last-read value in that request's `etag`
72
+ * field. In REST responses, this value is a base64 string; URL-encode it when
73
+ * setting the `etag` query parameter
61
74
  */
62
75
  readonly etag: string;
63
76
  /**
@@ -68,19 +81,16 @@ export interface GetAiGatewayModelServiceResult {
68
81
  * (string) - User-facing label for this destination, used in routing references
69
82
  */
70
83
  readonly name: string;
71
- /**
72
- * (string) - The owner of the model service. Write-only; read owner via effective_owner
73
- */
74
- readonly owner: string;
75
84
  readonly providerConfig?: outputs.GetAiGatewayModelServiceProviderConfig;
76
85
  /**
77
- * (list of string) - Unified API types this endpoint supports (e.g. "chat", "embeddings",
78
- * "completions"). Derived from the destinations' backing models / providers
86
+ * (list of string) - API types supported across this service's destinations, such as
87
+ * `openai/v1/chat/completions`, `openai/v1/embeddings`, and
88
+ * `mlflow/v1/chat/completions`. Derived from the backing models and providers
79
89
  * at read time
80
90
  */
81
91
  readonly supportedApiTypes: string[];
82
92
  /**
83
- * (string) - When the model service was last modified
93
+ * (string) - Time the model service was last modified
84
94
  */
85
95
  readonly updateTime: string;
86
96
  /**
@@ -89,9 +99,25 @@ export interface GetAiGatewayModelServiceResult {
89
99
  readonly updatedBy: string;
90
100
  }
91
101
  /**
92
- * [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
102
+ * [![GA](https://img.shields.io/badge/Release_Stage-GA-green)](https://docs.databricks.com/aws/en/release-notes/release-types)
93
103
  *
94
104
  * [API Documentation](https://docs.databricks.com/api/workspace/aigateway)
105
+ *
106
+ * Retrieves a Unity Catalog model service by its full resource name.
107
+ *
108
+ * ## Example Usage
109
+ *
110
+ * The following example retrieves the model service named `customerSupport` from the `main.default` schema:
111
+ *
112
+ * ```typescript
113
+ * import * as pulumi from "@pulumi/pulumi";
114
+ * import * as databricks from "@pulumi/databricks";
115
+ *
116
+ * const example = databricks.getAiGatewayModelService({
117
+ * name: "model-services/main.default.customer_support",
118
+ * });
119
+ * export const modelServiceConfig = example.then(example => example.config);
120
+ * ```
95
121
  */
96
122
  export declare function getAiGatewayModelServiceOutput(args: GetAiGatewayModelServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAiGatewayModelServiceResult>;
97
123
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"getAiGatewayModelService.d.ts","sourceRoot":"","sources":["../getAiGatewayModelService.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,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,4BAA4B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,8BAA8B,CAAC,CAMjJ;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,sCAAsC,CAAC;CAClE;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;;;;OAKG;IACH,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC,8BAA8B,CAAC;IACxD;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC;;;;;;OAMG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAA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;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC,8BAA8B,CAAC;IACxD;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC;;;;;OAKG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,sCAAsC,CAAC;IACzE;;;;;OAKG;IACH,QAAQ,CAAC,iBAAiB,EAAE,MAAM,EAAE,CAAC;IACrC;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC9B;AACD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,kCAAkC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,8BAA8B,CAAC,CAMzK;AAED;;GAEG;AACH,MAAM,WAAW,kCAAkC;IAC/C;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,0CAA0C,GAAG,SAAS,CAAC,CAAC;CAChG"}
@@ -29,9 +29,25 @@ exports.getAiGatewayModelServiceOutput = exports.getAiGatewayModelService = void
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
+ * Retrieves a Unity Catalog model service by its full resource name.
37
+ *
38
+ * ## Example Usage
39
+ *
40
+ * The following example retrieves the model service named `customerSupport` from the `main.default` schema:
41
+ *
42
+ * ```typescript
43
+ * import * as pulumi from "@pulumi/pulumi";
44
+ * import * as databricks from "@pulumi/databricks";
45
+ *
46
+ * const example = databricks.getAiGatewayModelService({
47
+ * name: "model-services/main.default.customer_support",
48
+ * });
49
+ * export const modelServiceConfig = example.then(example => example.config);
50
+ * ```
35
51
  */
36
52
  function getAiGatewayModelService(args, opts) {
37
53
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -42,9 +58,25 @@ function getAiGatewayModelService(args, opts) {
42
58
  }
43
59
  exports.getAiGatewayModelService = getAiGatewayModelService;
44
60
  /**
45
- * [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
61
+ * [![GA](https://img.shields.io/badge/Release_Stage-GA-green)](https://docs.databricks.com/aws/en/release-notes/release-types)
46
62
  *
47
63
  * [API Documentation](https://docs.databricks.com/api/workspace/aigateway)
64
+ *
65
+ * Retrieves a Unity Catalog model service by its full resource name.
66
+ *
67
+ * ## Example Usage
68
+ *
69
+ * The following example retrieves the model service named `customerSupport` from the `main.default` schema:
70
+ *
71
+ * ```typescript
72
+ * import * as pulumi from "@pulumi/pulumi";
73
+ * import * as databricks from "@pulumi/databricks";
74
+ *
75
+ * const example = databricks.getAiGatewayModelService({
76
+ * name: "model-services/main.default.customer_support",
77
+ * });
78
+ * export const modelServiceConfig = example.then(example => example.config);
79
+ * ```
48
80
  */
49
81
  function getAiGatewayModelServiceOutput(args, opts) {
50
82
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -1 +1 @@
1
- {"version":3,"file":"getAiGatewayModelService.js","sourceRoot":"","sources":["../getAiGatewayModelService.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;GAIG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oEAAoE,EAAE;QAC/F,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4DAMC;AAoFD;;;;GAIG;AACH,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAAiC;IACtH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oEAAoE,EAAE;QACrG,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wEAMC"}
1
+ {"version":3,"file":"getAiGatewayModelService.js","sourceRoot":"","sources":["../getAiGatewayModelService.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oEAAoE,EAAE;QAC/F,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4DAMC;AA8ED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAAiC;IACtH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oEAAoE,EAAE;QACrG,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wEAMC"}
@@ -2,9 +2,25 @@ 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
+ * Lists the Unity Catalog model services that are visible to the current principal in a schema.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * The following example lists model services in the `main.default` schema:
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as databricks from "@pulumi/databricks";
18
+ *
19
+ * const all = databricks.getAiGatewayModelServices({
20
+ * parent: "schemas/main.default",
21
+ * });
22
+ * export const modelServices = all.then(all => all.modelServices);
23
+ * ```
8
24
  */
9
25
  export declare function getAiGatewayModelServices(args?: GetAiGatewayModelServicesArgs, opts?: pulumi.InvokeOptions): Promise<GetAiGatewayModelServicesResult>;
10
26
  /**
@@ -17,9 +33,9 @@ export interface GetAiGatewayModelServicesArgs {
17
33
  */
18
34
  pageSize?: number;
19
35
  /**
20
- * Name of the parent schema to list within, as
21
- * `schemas/{catalog}.{schema}`. Each `{...}` component is capped at 255
22
- * characters individually
36
+ * Parent schema to list within, in the form
37
+ * `schemas/{catalog}.{schema}`. Required. Each `{...}` component is capped at
38
+ * 255 characters individually
23
39
  */
24
40
  parent?: string;
25
41
  /**
@@ -27,9 +43,10 @@ export interface GetAiGatewayModelServicesArgs {
27
43
  */
28
44
  providerConfig?: inputs.GetAiGatewayModelServicesProviderConfig;
29
45
  /**
30
- * View selector controlling which fields are populated per row. `FULL`
31
- * returns the full representation of the service; `BASIC` returns a more
32
- * compact version. Defaults to `BASIC` when unset. Possible values are: `BASIC`, `FULL`
46
+ * Fields to return for each service. `FULL` includes destinations,
47
+ * inference-table details, and rate-limit principal names. `BASIC` omits
48
+ * destinations and inference-table details and omits principal names from
49
+ * rate limits. Defaults to `BASIC` when unset. Possible values are: `BASIC`, `FULL`
33
50
  */
34
51
  view?: string;
35
52
  }
@@ -40,18 +57,34 @@ export interface GetAiGatewayModelServicesResult {
40
57
  readonly modelServices: outputs.GetAiGatewayModelServicesModelService[];
41
58
  readonly pageSize?: number;
42
59
  /**
43
- * (string) - Parent UC schema where the inference table is created.
44
- * Format: `schemas/{catalog}.{schema}`. Set at create time and immutable
45
- * thereafter; changing it on an existing service is rejected
60
+ * (string) - Parent Unity Catalog schema where the inference table is created, in the
61
+ * form `schemas/{catalog}.{schema}`. Required when configuring an inference
62
+ * table. After the inference table is created, this field cannot be changed
46
63
  */
47
64
  readonly parent?: string;
48
65
  readonly providerConfig?: outputs.GetAiGatewayModelServicesProviderConfig;
49
66
  readonly view?: string;
50
67
  }
51
68
  /**
52
- * [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
69
+ * [![GA](https://img.shields.io/badge/Release_Stage-GA-green)](https://docs.databricks.com/aws/en/release-notes/release-types)
53
70
  *
54
71
  * [API Documentation](https://docs.databricks.com/api/workspace/aigateway)
72
+ *
73
+ * Lists the Unity Catalog model services that are visible to the current principal in a schema.
74
+ *
75
+ * ## Example Usage
76
+ *
77
+ * The following example lists model services in the `main.default` schema:
78
+ *
79
+ * ```typescript
80
+ * import * as pulumi from "@pulumi/pulumi";
81
+ * import * as databricks from "@pulumi/databricks";
82
+ *
83
+ * const all = databricks.getAiGatewayModelServices({
84
+ * parent: "schemas/main.default",
85
+ * });
86
+ * export const modelServices = all.then(all => all.modelServices);
87
+ * ```
55
88
  */
56
89
  export declare function getAiGatewayModelServicesOutput(args?: GetAiGatewayModelServicesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAiGatewayModelServicesResult>;
57
90
  /**
@@ -64,9 +97,9 @@ export interface GetAiGatewayModelServicesOutputArgs {
64
97
  */
65
98
  pageSize?: pulumi.Input<number | undefined>;
66
99
  /**
67
- * Name of the parent schema to list within, as
68
- * `schemas/{catalog}.{schema}`. Each `{...}` component is capped at 255
69
- * characters individually
100
+ * Parent schema to list within, in the form
101
+ * `schemas/{catalog}.{schema}`. Required. Each `{...}` component is capped at
102
+ * 255 characters individually
70
103
  */
71
104
  parent?: pulumi.Input<string | undefined>;
72
105
  /**
@@ -74,9 +107,10 @@ export interface GetAiGatewayModelServicesOutputArgs {
74
107
  */
75
108
  providerConfig?: pulumi.Input<inputs.GetAiGatewayModelServicesProviderConfigArgs | undefined>;
76
109
  /**
77
- * View selector controlling which fields are populated per row. `FULL`
78
- * returns the full representation of the service; `BASIC` returns a more
79
- * compact version. Defaults to `BASIC` when unset. Possible values are: `BASIC`, `FULL`
110
+ * Fields to return for each service. `FULL` includes destinations,
111
+ * inference-table details, and rate-limit principal names. `BASIC` omits
112
+ * destinations and inference-table details and omits principal names from
113
+ * rate limits. Defaults to `BASIC` when unset. Possible values are: `BASIC`, `FULL`
80
114
  */
81
115
  view?: pulumi.Input<string | undefined>;
82
116
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getAiGatewayModelServices.d.ts","sourceRoot":"","sources":["../getAiGatewayModelServices.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,wBAAgB,yBAAyB,CAAC,IAAI,CAAC,EAAE,6BAA6B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,+BAA+B,CAAC,CASrJ;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,uCAAuC,CAAC;IAChE;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC,qCAAqC,EAAE,CAAC;IACxE,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,uCAAuC,CAAC;IAC1E,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;CAC1B;AACD;;;;GAIG;AACH,wBAAgB,+BAA+B,CAAC,IAAI,CAAC,EAAE,mCAAmC,E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AAC,aAAa,EAAE,OAAO,CAAC,qCAAqC,EAAE,CAAC;IACxE,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,uCAAuC,CAAC;IAC1E,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;CAC1B;AACD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,+BAA+B,CAAC,IAAI,CAAC,EAAE,mCAAmC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,+BAA+B,CAAC,CAS7K;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,2CAA2C,GAAG,SAAS,CAAC,CAAC;IAC9F;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C"}
@@ -29,9 +29,25 @@ exports.getAiGatewayModelServicesOutput = exports.getAiGatewayModelServices = vo
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
+ * Lists the Unity Catalog model services that are visible to the current principal in a schema.
37
+ *
38
+ * ## Example Usage
39
+ *
40
+ * The following example lists model services in the `main.default` schema:
41
+ *
42
+ * ```typescript
43
+ * import * as pulumi from "@pulumi/pulumi";
44
+ * import * as databricks from "@pulumi/databricks";
45
+ *
46
+ * const all = databricks.getAiGatewayModelServices({
47
+ * parent: "schemas/main.default",
48
+ * });
49
+ * export const modelServices = all.then(all => all.modelServices);
50
+ * ```
35
51
  */
36
52
  function getAiGatewayModelServices(args, opts) {
37
53
  args = args || {};
@@ -45,9 +61,25 @@ function getAiGatewayModelServices(args, opts) {
45
61
  }
46
62
  exports.getAiGatewayModelServices = getAiGatewayModelServices;
47
63
  /**
48
- * [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
64
+ * [![GA](https://img.shields.io/badge/Release_Stage-GA-green)](https://docs.databricks.com/aws/en/release-notes/release-types)
49
65
  *
50
66
  * [API Documentation](https://docs.databricks.com/api/workspace/aigateway)
67
+ *
68
+ * Lists the Unity Catalog model services that are visible to the current principal in a schema.
69
+ *
70
+ * ## Example Usage
71
+ *
72
+ * The following example lists model services in the `main.default` schema:
73
+ *
74
+ * ```typescript
75
+ * import * as pulumi from "@pulumi/pulumi";
76
+ * import * as databricks from "@pulumi/databricks";
77
+ *
78
+ * const all = databricks.getAiGatewayModelServices({
79
+ * parent: "schemas/main.default",
80
+ * });
81
+ * export const modelServices = all.then(all => all.modelServices);
82
+ * ```
51
83
  */
52
84
  function getAiGatewayModelServicesOutput(args, opts) {
53
85
  args = args || {};
@@ -1 +1 @@
1
- {"version":3,"file":"getAiGatewayModelServices.js","sourceRoot":"","sources":["../getAiGatewayModelServices.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;GAIG;AAC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AClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sEAAsE,EAAE;QACjG,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,8DASC;AA6CD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,+BAA+B,CAAC,IAA0C,EAAE,IAAiC;IACzH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sEAAsE,EAAE;QACvG,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0EASC"}
package/getDomain.d.ts ADDED
@@ -0,0 +1,135 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
6
+ *
7
+ * [API Documentation](https://docs.databricks.com/api/workspace/domains)
8
+ *
9
+ * Retrieves a single Discover domain by its resource name (`domains/{id}`), returning the governed tag key and presentation metadata (subtitle, description, owners, icon).
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as databricks from "@pulumi/databricks";
16
+ *
17
+ * const finance = databricks.getDomain({
18
+ * name: "domains/finance",
19
+ * });
20
+ * ```
21
+ */
22
+ export declare function getDomain(args: GetDomainArgs, opts?: pulumi.InvokeOptions): Promise<GetDomainResult>;
23
+ /**
24
+ * A collection of arguments for invoking getDomain.
25
+ */
26
+ export interface GetDomainArgs {
27
+ /**
28
+ * Full resource name of the domain. The primary identifier for this resource.
29
+ * Format: `domains/{domain_id}`
30
+ * Identifies the domain on get, update, and delete. Not an input on
31
+ * create — to choose the id, set `CreateDomainRequest.domain_id`
32
+ */
33
+ name: string;
34
+ /**
35
+ * Configure the provider for management through account provider.
36
+ */
37
+ providerConfig?: inputs.GetDomainProviderConfig;
38
+ }
39
+ /**
40
+ * A collection of values returned by getDomain.
41
+ */
42
+ export interface GetDomainResult {
43
+ /**
44
+ * (list of integer) - Principal IDs of the business owners (users, groups, or service principals)
45
+ */
46
+ readonly businessOwnerIds: number[];
47
+ /**
48
+ * (string) - Timestamp when the domain was created
49
+ */
50
+ readonly createTime: string;
51
+ /**
52
+ * (string) - Full description (max 4096 chars)
53
+ */
54
+ readonly description: string;
55
+ /**
56
+ * (string) - Unique identifier for the domain. If omitted at Create, the server
57
+ * generates one
58
+ */
59
+ readonly domainId: string;
60
+ /**
61
+ * (boolean) - Whether to mark the domain as a draft. If omitted on Create, the server
62
+ * applies a default; the resolved value is returned in `effectiveDraft`
63
+ */
64
+ readonly draft: boolean;
65
+ /**
66
+ * (boolean) - Resolved draft state of the domain
67
+ */
68
+ readonly effectiveDraft: boolean;
69
+ /**
70
+ * (DomainIcon) - Icon to display for the domain
71
+ */
72
+ readonly icon: outputs.GetDomainIcon;
73
+ /**
74
+ * (string) - Possible values are: `ADDRESS_BOOK`, `ALARM`, `ARROWS_IN`, `ATOM`, `BALLOON`, `BANK`, `BARRICADE`, `BASKET`, `BRIDGE`, `CACTUS`, `CALL_BELL`, `CARROT`, `CHART_PIE_SLICE`, `CITY`, `CLOUD`, `COINS`, `COMPASS_ROSE`, `CRANE_TOWER`, `CROWN`, `CUBE_TRANSPARENT`, `FADERS`, `FLAG_BANNER_FOLD`, `FLAG_CHECKERED`, `GAVEL`, `HAMBURGER`, `HEAD_CIRCUIT`, `HOURGLASS_HIGH`, `INTERSECT_THREE`, `MICROSCOPE`, `MOON_STARS`, `PACKAGE`, `PARACHUTE`, `PEPPER`, `PIGGY_BANK`, `PILL`, `PLANET`, `PLANT`, `PLUGS_CONNECTED`, `POPCORN`, `PRESENTATION_CHART`, `PUZZLE_PIECE`, `RAINBOW`, `RANKING`, `RECEIPT`, `ROCKET`, `RULER`, `SAILBOAT`, `SCALES`, `SCAN_SMILEY`, `SCROLL`, `SHIELD_CHECKERED`, `SNEAKER`, `SNOWFLAKE`, `SOLAR_ROOF`, `SPEEDOMETER`, `STAMP`, `STEPS`, `STRATEGY`, `SWORD`, `TELEVISION_SIMPLE`, `TENT`, `TICKET`, `TRACTOR`, `TRAFFIC_CONE`, `TRAIN`, `TREE_EVERGREEN`, `TREE_STRUCTURE`, `TROLLEY_SUITCASE`, `TROPHY`, `TRUCK_TRAILER`, `USERS_THREE`, `VECTOR_THREE`
75
+ */
76
+ readonly name: string;
77
+ /**
78
+ * (string) - Domain ID of the parent. If absent, this is a top-level domain.
79
+ * If present, this domain is a subdomain of the specified parent
80
+ */
81
+ readonly parentDomainId: string;
82
+ readonly providerConfig?: outputs.GetDomainProviderConfig;
83
+ /**
84
+ * (string) - Short description (max 280 chars)
85
+ */
86
+ readonly subtitle: string;
87
+ /**
88
+ * (string) - Governed tag key associated with this domain
89
+ */
90
+ readonly tagKey: string;
91
+ /**
92
+ * (list of integer) - Principal IDs of the technical owners (users, groups, or service principals)
93
+ */
94
+ readonly technicalOwnerIds: number[];
95
+ /**
96
+ * (string) - Timestamp when the domain was last updated
97
+ */
98
+ readonly updateTime: string;
99
+ }
100
+ /**
101
+ * [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
102
+ *
103
+ * [API Documentation](https://docs.databricks.com/api/workspace/domains)
104
+ *
105
+ * Retrieves a single Discover domain by its resource name (`domains/{id}`), returning the governed tag key and presentation metadata (subtitle, description, owners, icon).
106
+ *
107
+ * ## Example Usage
108
+ *
109
+ * ```typescript
110
+ * import * as pulumi from "@pulumi/pulumi";
111
+ * import * as databricks from "@pulumi/databricks";
112
+ *
113
+ * const finance = databricks.getDomain({
114
+ * name: "domains/finance",
115
+ * });
116
+ * ```
117
+ */
118
+ export declare function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDomainResult>;
119
+ /**
120
+ * A collection of arguments for invoking getDomain.
121
+ */
122
+ export interface GetDomainOutputArgs {
123
+ /**
124
+ * Full resource name of the domain. The primary identifier for this resource.
125
+ * Format: `domains/{domain_id}`
126
+ * Identifies the domain on get, update, and delete. Not an input on
127
+ * create — to choose the id, set `CreateDomainRequest.domain_id`
128
+ */
129
+ name: pulumi.Input<string>;
130
+ /**
131
+ * Configure the provider for management through account provider.
132
+ */
133
+ providerConfig?: pulumi.Input<inputs.GetDomainProviderConfigArgs | undefined>;
134
+ }
135
+ //# sourceMappingURL=getDomain.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDomain.d.ts","sourceRoot":"","sources":["../getDomain.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;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,eAAe,CAAC,CAMpG;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;;OAK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MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAAC;CACjF"}
package/getDomain.js ADDED
@@ -0,0 +1,83 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getDomainOutput = exports.getDomain = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
33
+ *
34
+ * [API Documentation](https://docs.databricks.com/api/workspace/domains)
35
+ *
36
+ * Retrieves a single Discover domain by its resource name (`domains/{id}`), returning the governed tag key and presentation metadata (subtitle, description, owners, icon).
37
+ *
38
+ * ## Example Usage
39
+ *
40
+ * ```typescript
41
+ * import * as pulumi from "@pulumi/pulumi";
42
+ * import * as databricks from "@pulumi/databricks";
43
+ *
44
+ * const finance = databricks.getDomain({
45
+ * name: "domains/finance",
46
+ * });
47
+ * ```
48
+ */
49
+ function getDomain(args, opts) {
50
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
51
+ return pulumi.runtime.invoke("databricks:index/getDomain:getDomain", {
52
+ "name": args.name,
53
+ "providerConfig": args.providerConfig,
54
+ }, opts);
55
+ }
56
+ exports.getDomain = getDomain;
57
+ /**
58
+ * [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
59
+ *
60
+ * [API Documentation](https://docs.databricks.com/api/workspace/domains)
61
+ *
62
+ * Retrieves a single Discover domain by its resource name (`domains/{id}`), returning the governed tag key and presentation metadata (subtitle, description, owners, icon).
63
+ *
64
+ * ## Example Usage
65
+ *
66
+ * ```typescript
67
+ * import * as pulumi from "@pulumi/pulumi";
68
+ * import * as databricks from "@pulumi/databricks";
69
+ *
70
+ * const finance = databricks.getDomain({
71
+ * name: "domains/finance",
72
+ * });
73
+ * ```
74
+ */
75
+ function getDomainOutput(args, opts) {
76
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
77
+ return pulumi.runtime.invokeOutput("databricks:index/getDomain:getDomain", {
78
+ "name": args.name,
79
+ "providerConfig": args.providerConfig,
80
+ }, opts);
81
+ }
82
+ exports.getDomainOutput = getDomainOutput;
83
+ //# sourceMappingURL=getDomain.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDomain.js","sourceRoot":"","sources":["../getDomain.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,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,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8BAMC;AAgFD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC"}