@pulumi/databricks 1.101.0 → 1.102.0-alpha.1785817207
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aiGatewayMcpService.d.ts +226 -0
- package/aiGatewayMcpService.d.ts.map +1 -0
- package/aiGatewayMcpService.js +111 -0
- package/aiGatewayMcpService.js.map +1 -0
- package/aiGatewayModelProviderService.d.ts +229 -0
- package/aiGatewayModelProviderService.d.ts.map +1 -0
- package/aiGatewayModelProviderService.js +111 -0
- package/aiGatewayModelProviderService.js.map +1 -0
- package/aiGatewayModelService.d.ts +238 -0
- package/aiGatewayModelService.d.ts.map +1 -0
- package/aiGatewayModelService.js +113 -0
- package/aiGatewayModelService.js.map +1 -0
- package/getAiGatewayMcpService.d.ts +113 -0
- package/getAiGatewayMcpService.d.ts.map +1 -0
- package/getAiGatewayMcpService.js +57 -0
- package/getAiGatewayMcpService.js.map +1 -0
- package/getAiGatewayMcpServices.d.ts +85 -0
- package/getAiGatewayMcpServices.d.ts.map +1 -0
- package/getAiGatewayMcpServices.js +65 -0
- package/getAiGatewayMcpServices.js.map +1 -0
- package/getAiGatewayModelProviderService.d.ts +117 -0
- package/getAiGatewayModelProviderService.d.ts.map +1 -0
- package/getAiGatewayModelProviderService.js +57 -0
- package/getAiGatewayModelProviderService.js.map +1 -0
- package/getAiGatewayModelProviderServices.d.ts +90 -0
- package/getAiGatewayModelProviderServices.d.ts.map +1 -0
- package/getAiGatewayModelProviderServices.js +65 -0
- package/getAiGatewayModelProviderServices.js.map +1 -0
- package/getAiGatewayModelService.d.ts +119 -0
- package/getAiGatewayModelService.d.ts.map +1 -0
- package/getAiGatewayModelService.js +57 -0
- package/getAiGatewayModelService.js.map +1 -0
- package/getAiGatewayModelServices.d.ts +90 -0
- package/getAiGatewayModelServices.d.ts.map +1 -0
- package/getAiGatewayModelServices.js +65 -0
- package/getAiGatewayModelServices.js.map +1 -0
- package/getPostgresDataApi.d.ts +8 -8
- package/getPostgresDataApi.js +8 -8
- package/index.d.ts +27 -0
- package/index.d.ts.map +1 -1
- package/index.js +43 -10
- package/index.js.map +1 -1
- package/mwsWorkspaces.d.ts +3 -3
- package/package.json +2 -2
- package/postgresDataApi.d.ts +17 -10
- package/postgresDataApi.d.ts.map +1 -1
- package/postgresDataApi.js +17 -10
- package/postgresDataApi.js.map +1 -1
- package/types/input.d.ts +816 -4
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +6761 -3973
- package/types/output.d.ts.map +1 -1
|
@@ -0,0 +1,111 @@
|
|
|
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.AiGatewayModelProviderService = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
33
|
+
*
|
|
34
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/aigateway)
|
|
35
|
+
*/
|
|
36
|
+
class AiGatewayModelProviderService extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing AiGatewayModelProviderService resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name, id, state, opts) {
|
|
47
|
+
return new AiGatewayModelProviderService(name, state, { ...opts, id: id });
|
|
48
|
+
}
|
|
49
|
+
/** @internal */
|
|
50
|
+
static __pulumiType = 'databricks:index/aiGatewayModelProviderService:AiGatewayModelProviderService';
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of AiGatewayModelProviderService. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj) {
|
|
56
|
+
if (obj === undefined || obj === null) {
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
return obj['__pulumiType'] === AiGatewayModelProviderService.__pulumiType;
|
|
60
|
+
}
|
|
61
|
+
constructor(name, argsOrState, opts) {
|
|
62
|
+
let resourceInputs = {};
|
|
63
|
+
opts = opts || {};
|
|
64
|
+
if (opts.id) {
|
|
65
|
+
const state = argsOrState;
|
|
66
|
+
resourceInputs["browseOnly"] = state?.browseOnly;
|
|
67
|
+
resourceInputs["comment"] = state?.comment;
|
|
68
|
+
resourceInputs["config"] = state?.config;
|
|
69
|
+
resourceInputs["createTime"] = state?.createTime;
|
|
70
|
+
resourceInputs["createdBy"] = state?.createdBy;
|
|
71
|
+
resourceInputs["effectiveOwner"] = state?.effectiveOwner;
|
|
72
|
+
resourceInputs["etag"] = state?.etag;
|
|
73
|
+
resourceInputs["metastoreId"] = state?.metastoreId;
|
|
74
|
+
resourceInputs["modelProviderServiceId"] = state?.modelProviderServiceId;
|
|
75
|
+
resourceInputs["name"] = state?.name;
|
|
76
|
+
resourceInputs["owner"] = state?.owner;
|
|
77
|
+
resourceInputs["parent"] = state?.parent;
|
|
78
|
+
resourceInputs["providerConfig"] = state?.providerConfig;
|
|
79
|
+
resourceInputs["updateTime"] = state?.updateTime;
|
|
80
|
+
resourceInputs["updatedBy"] = state?.updatedBy;
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
const args = argsOrState;
|
|
84
|
+
if (args?.modelProviderServiceId === undefined && !opts.urn) {
|
|
85
|
+
throw new Error("Missing required property 'modelProviderServiceId'");
|
|
86
|
+
}
|
|
87
|
+
if (args?.parent === undefined && !opts.urn) {
|
|
88
|
+
throw new Error("Missing required property 'parent'");
|
|
89
|
+
}
|
|
90
|
+
resourceInputs["comment"] = args?.comment;
|
|
91
|
+
resourceInputs["config"] = args?.config;
|
|
92
|
+
resourceInputs["modelProviderServiceId"] = args?.modelProviderServiceId;
|
|
93
|
+
resourceInputs["owner"] = args?.owner;
|
|
94
|
+
resourceInputs["parent"] = args?.parent;
|
|
95
|
+
resourceInputs["providerConfig"] = args?.providerConfig;
|
|
96
|
+
resourceInputs["browseOnly"] = undefined /*out*/;
|
|
97
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
98
|
+
resourceInputs["createdBy"] = undefined /*out*/;
|
|
99
|
+
resourceInputs["effectiveOwner"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["etag"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["metastoreId"] = undefined /*out*/;
|
|
102
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
104
|
+
resourceInputs["updatedBy"] = undefined /*out*/;
|
|
105
|
+
}
|
|
106
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
107
|
+
super(AiGatewayModelProviderService.__pulumiType, name, resourceInputs, opts);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.AiGatewayModelProviderService = AiGatewayModelProviderService;
|
|
111
|
+
//# sourceMappingURL=aiGatewayModelProviderService.js.map
|
|
@@ -0,0 +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;IAwFD,YAA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A6B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;;AAhKL,sEAiKC"}
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
6
|
+
*
|
|
7
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/aigateway)
|
|
8
|
+
*/
|
|
9
|
+
export declare class AiGatewayModelService extends pulumi.CustomResource {
|
|
10
|
+
/**
|
|
11
|
+
* Get an existing AiGatewayModelService resource's state with the given name, ID, and optional extra
|
|
12
|
+
* properties used to qualify the lookup.
|
|
13
|
+
*
|
|
14
|
+
* @param name The _unique_ name of the resulting resource.
|
|
15
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
16
|
+
* @param state Any extra arguments used during the lookup.
|
|
17
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
18
|
+
*/
|
|
19
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AiGatewayModelServiceState, opts?: pulumi.CustomResourceOptions): AiGatewayModelService;
|
|
20
|
+
/**
|
|
21
|
+
* Returns true if the given object is an instance of AiGatewayModelService. This is designed to work even
|
|
22
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
23
|
+
*/
|
|
24
|
+
static isInstance(obj: any): obj is AiGatewayModelService;
|
|
25
|
+
/**
|
|
26
|
+
* (boolean) - Whether the caller sees only metadata available through the BROWSE
|
|
27
|
+
* privilege
|
|
28
|
+
*/
|
|
29
|
+
readonly browseOnly: pulumi.Output<boolean>;
|
|
30
|
+
/**
|
|
31
|
+
* User-provided description
|
|
32
|
+
*/
|
|
33
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* Operational configuration: destinations, routing, rate limits, inference
|
|
36
|
+
* table. Required on CreateModelService; on UpdateModelService it is
|
|
37
|
+
* required only when `config` (or a `config.*` subpath) appears in
|
|
38
|
+
* `updateMask`
|
|
39
|
+
*/
|
|
40
|
+
readonly config: pulumi.Output<outputs.AiGatewayModelServiceConfig | undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* (string) - When the model service was created
|
|
43
|
+
*/
|
|
44
|
+
readonly createTime: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* (string) - Creator identity
|
|
47
|
+
*/
|
|
48
|
+
readonly createdBy: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* (string) - The resolved owner of the ModelService. Falls back to the caller's identity
|
|
51
|
+
* when `owner` is not explicitly set on creation
|
|
52
|
+
*/
|
|
53
|
+
readonly effectiveOwner: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* (string) - Optimistic concurrency control token. Server-generated from the
|
|
56
|
+
* entity's state and returned on every read. To use it as an if-match
|
|
57
|
+
* precondition on a mutation, echo the last-read value back via the dedicated
|
|
58
|
+
* `etag` field on the Update / Delete request; the server rejects the mutation
|
|
59
|
+
* if the stored etag differs
|
|
60
|
+
*/
|
|
61
|
+
readonly etag: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* (string) - Metastore hosting the model service
|
|
64
|
+
*/
|
|
65
|
+
readonly metastoreId: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Leaf identifier for the model service (the unqualified name within the
|
|
68
|
+
* parent schema, e.g. "myModelService")
|
|
69
|
+
*/
|
|
70
|
+
readonly modelServiceId: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* (string) - Resource name of the model service.
|
|
73
|
+
* Format: `model-services/{catalog}.{schema}.{model_service}`.
|
|
74
|
+
* Each `{...}` component is capped at 255 characters individually.
|
|
75
|
+
* Server-derived on Create from `parent` +
|
|
76
|
+
* `modelServiceId`; required and immutable on Update/Get/Delete
|
|
77
|
+
*/
|
|
78
|
+
readonly name: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The owner of the model service. Write-only; read owner via effective_owner
|
|
81
|
+
*/
|
|
82
|
+
readonly owner: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Resource name of the parent schema.
|
|
85
|
+
* Format: `schemas/{catalog}.{schema}`.
|
|
86
|
+
* Each `{...}` component is capped at 255 characters individually
|
|
87
|
+
*/
|
|
88
|
+
readonly parent: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* Configure the provider for management through account provider.
|
|
91
|
+
*/
|
|
92
|
+
readonly providerConfig: pulumi.Output<outputs.AiGatewayModelServiceProviderConfig>;
|
|
93
|
+
/**
|
|
94
|
+
* (list of string) - Unified API types this endpoint supports (e.g. "chat", "embeddings",
|
|
95
|
+
* "completions"). Derived from the destinations' backing models / providers
|
|
96
|
+
* at read time
|
|
97
|
+
*/
|
|
98
|
+
readonly supportedApiTypes: pulumi.Output<string[]>;
|
|
99
|
+
/**
|
|
100
|
+
* (string) - When the model service was last modified
|
|
101
|
+
*/
|
|
102
|
+
readonly updateTime: pulumi.Output<string>;
|
|
103
|
+
/**
|
|
104
|
+
* (string) - Identity of the last updater
|
|
105
|
+
*/
|
|
106
|
+
readonly updatedBy: pulumi.Output<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Create a AiGatewayModelService resource with the given unique name, arguments, and options.
|
|
109
|
+
*
|
|
110
|
+
* @param name The _unique_ name of the resource.
|
|
111
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
112
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
113
|
+
*/
|
|
114
|
+
constructor(name: string, args: AiGatewayModelServiceArgs, opts?: pulumi.CustomResourceOptions);
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Input properties used for looking up and filtering AiGatewayModelService resources.
|
|
118
|
+
*/
|
|
119
|
+
export interface AiGatewayModelServiceState {
|
|
120
|
+
/**
|
|
121
|
+
* (boolean) - Whether the caller sees only metadata available through the BROWSE
|
|
122
|
+
* privilege
|
|
123
|
+
*/
|
|
124
|
+
browseOnly?: pulumi.Input<boolean | undefined>;
|
|
125
|
+
/**
|
|
126
|
+
* User-provided description
|
|
127
|
+
*/
|
|
128
|
+
comment?: pulumi.Input<string | undefined>;
|
|
129
|
+
/**
|
|
130
|
+
* Operational configuration: destinations, routing, rate limits, inference
|
|
131
|
+
* table. Required on CreateModelService; on UpdateModelService it is
|
|
132
|
+
* required only when `config` (or a `config.*` subpath) appears in
|
|
133
|
+
* `updateMask`
|
|
134
|
+
*/
|
|
135
|
+
config?: pulumi.Input<inputs.AiGatewayModelServiceConfig | undefined>;
|
|
136
|
+
/**
|
|
137
|
+
* (string) - When the model service was created
|
|
138
|
+
*/
|
|
139
|
+
createTime?: pulumi.Input<string | undefined>;
|
|
140
|
+
/**
|
|
141
|
+
* (string) - Creator identity
|
|
142
|
+
*/
|
|
143
|
+
createdBy?: pulumi.Input<string | undefined>;
|
|
144
|
+
/**
|
|
145
|
+
* (string) - The resolved owner of the ModelService. Falls back to the caller's identity
|
|
146
|
+
* when `owner` is not explicitly set on creation
|
|
147
|
+
*/
|
|
148
|
+
effectiveOwner?: pulumi.Input<string | undefined>;
|
|
149
|
+
/**
|
|
150
|
+
* (string) - Optimistic concurrency control token. Server-generated from the
|
|
151
|
+
* entity's state and returned on every read. To use it as an if-match
|
|
152
|
+
* precondition on a mutation, echo the last-read value back via the dedicated
|
|
153
|
+
* `etag` field on the Update / Delete request; the server rejects the mutation
|
|
154
|
+
* if the stored etag differs
|
|
155
|
+
*/
|
|
156
|
+
etag?: pulumi.Input<string | undefined>;
|
|
157
|
+
/**
|
|
158
|
+
* (string) - Metastore hosting the model service
|
|
159
|
+
*/
|
|
160
|
+
metastoreId?: pulumi.Input<string | undefined>;
|
|
161
|
+
/**
|
|
162
|
+
* Leaf identifier for the model service (the unqualified name within the
|
|
163
|
+
* parent schema, e.g. "myModelService")
|
|
164
|
+
*/
|
|
165
|
+
modelServiceId?: pulumi.Input<string | undefined>;
|
|
166
|
+
/**
|
|
167
|
+
* (string) - Resource name of the model service.
|
|
168
|
+
* Format: `model-services/{catalog}.{schema}.{model_service}`.
|
|
169
|
+
* Each `{...}` component is capped at 255 characters individually.
|
|
170
|
+
* Server-derived on Create from `parent` +
|
|
171
|
+
* `modelServiceId`; required and immutable on Update/Get/Delete
|
|
172
|
+
*/
|
|
173
|
+
name?: pulumi.Input<string | undefined>;
|
|
174
|
+
/**
|
|
175
|
+
* The owner of the model service. Write-only; read owner via effective_owner
|
|
176
|
+
*/
|
|
177
|
+
owner?: pulumi.Input<string | undefined>;
|
|
178
|
+
/**
|
|
179
|
+
* Resource name of the parent schema.
|
|
180
|
+
* Format: `schemas/{catalog}.{schema}`.
|
|
181
|
+
* Each `{...}` component is capped at 255 characters individually
|
|
182
|
+
*/
|
|
183
|
+
parent?: pulumi.Input<string | undefined>;
|
|
184
|
+
/**
|
|
185
|
+
* Configure the provider for management through account provider.
|
|
186
|
+
*/
|
|
187
|
+
providerConfig?: pulumi.Input<inputs.AiGatewayModelServiceProviderConfig | undefined>;
|
|
188
|
+
/**
|
|
189
|
+
* (list of string) - Unified API types this endpoint supports (e.g. "chat", "embeddings",
|
|
190
|
+
* "completions"). Derived from the destinations' backing models / providers
|
|
191
|
+
* at read time
|
|
192
|
+
*/
|
|
193
|
+
supportedApiTypes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
194
|
+
/**
|
|
195
|
+
* (string) - When the model service was last modified
|
|
196
|
+
*/
|
|
197
|
+
updateTime?: pulumi.Input<string | undefined>;
|
|
198
|
+
/**
|
|
199
|
+
* (string) - Identity of the last updater
|
|
200
|
+
*/
|
|
201
|
+
updatedBy?: pulumi.Input<string | undefined>;
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* The set of arguments for constructing a AiGatewayModelService resource.
|
|
205
|
+
*/
|
|
206
|
+
export interface AiGatewayModelServiceArgs {
|
|
207
|
+
/**
|
|
208
|
+
* User-provided description
|
|
209
|
+
*/
|
|
210
|
+
comment?: pulumi.Input<string | undefined>;
|
|
211
|
+
/**
|
|
212
|
+
* Operational configuration: destinations, routing, rate limits, inference
|
|
213
|
+
* table. Required on CreateModelService; on UpdateModelService it is
|
|
214
|
+
* required only when `config` (or a `config.*` subpath) appears in
|
|
215
|
+
* `updateMask`
|
|
216
|
+
*/
|
|
217
|
+
config?: pulumi.Input<inputs.AiGatewayModelServiceConfig | undefined>;
|
|
218
|
+
/**
|
|
219
|
+
* Leaf identifier for the model service (the unqualified name within the
|
|
220
|
+
* parent schema, e.g. "myModelService")
|
|
221
|
+
*/
|
|
222
|
+
modelServiceId: pulumi.Input<string>;
|
|
223
|
+
/**
|
|
224
|
+
* The owner of the model service. Write-only; read owner via effective_owner
|
|
225
|
+
*/
|
|
226
|
+
owner?: pulumi.Input<string | undefined>;
|
|
227
|
+
/**
|
|
228
|
+
* Resource name of the parent schema.
|
|
229
|
+
* Format: `schemas/{catalog}.{schema}`.
|
|
230
|
+
* Each `{...}` component is capped at 255 characters individually
|
|
231
|
+
*/
|
|
232
|
+
parent: pulumi.Input<string>;
|
|
233
|
+
/**
|
|
234
|
+
* Configure the provider for management through account provider.
|
|
235
|
+
*/
|
|
236
|
+
providerConfig?: pulumi.Input<inputs.AiGatewayModelServiceProviderConfig | undefined>;
|
|
237
|
+
}
|
|
238
|
+
//# sourceMappingURL=aiGatewayModelService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiGatewayModelService.d.ts","sourceRoot":"","sources":["../aiGatewayModelService.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,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;WACW,GAAG,CAA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AM,GAAG,SAAS,CAAC,CAAC;IACzC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,mCAAmC,GAAG,SAAS,CAAC,CAAC;CACzF"}
|
|
@@ -0,0 +1,113 @@
|
|
|
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.AiGatewayModelService = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
33
|
+
*
|
|
34
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/aigateway)
|
|
35
|
+
*/
|
|
36
|
+
class AiGatewayModelService extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing AiGatewayModelService resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name, id, state, opts) {
|
|
47
|
+
return new AiGatewayModelService(name, state, { ...opts, id: id });
|
|
48
|
+
}
|
|
49
|
+
/** @internal */
|
|
50
|
+
static __pulumiType = 'databricks:index/aiGatewayModelService:AiGatewayModelService';
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of AiGatewayModelService. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj) {
|
|
56
|
+
if (obj === undefined || obj === null) {
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
return obj['__pulumiType'] === AiGatewayModelService.__pulumiType;
|
|
60
|
+
}
|
|
61
|
+
constructor(name, argsOrState, opts) {
|
|
62
|
+
let resourceInputs = {};
|
|
63
|
+
opts = opts || {};
|
|
64
|
+
if (opts.id) {
|
|
65
|
+
const state = argsOrState;
|
|
66
|
+
resourceInputs["browseOnly"] = state?.browseOnly;
|
|
67
|
+
resourceInputs["comment"] = state?.comment;
|
|
68
|
+
resourceInputs["config"] = state?.config;
|
|
69
|
+
resourceInputs["createTime"] = state?.createTime;
|
|
70
|
+
resourceInputs["createdBy"] = state?.createdBy;
|
|
71
|
+
resourceInputs["effectiveOwner"] = state?.effectiveOwner;
|
|
72
|
+
resourceInputs["etag"] = state?.etag;
|
|
73
|
+
resourceInputs["metastoreId"] = state?.metastoreId;
|
|
74
|
+
resourceInputs["modelServiceId"] = state?.modelServiceId;
|
|
75
|
+
resourceInputs["name"] = state?.name;
|
|
76
|
+
resourceInputs["owner"] = state?.owner;
|
|
77
|
+
resourceInputs["parent"] = state?.parent;
|
|
78
|
+
resourceInputs["providerConfig"] = state?.providerConfig;
|
|
79
|
+
resourceInputs["supportedApiTypes"] = state?.supportedApiTypes;
|
|
80
|
+
resourceInputs["updateTime"] = state?.updateTime;
|
|
81
|
+
resourceInputs["updatedBy"] = state?.updatedBy;
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
const args = argsOrState;
|
|
85
|
+
if (args?.modelServiceId === undefined && !opts.urn) {
|
|
86
|
+
throw new Error("Missing required property 'modelServiceId'");
|
|
87
|
+
}
|
|
88
|
+
if (args?.parent === undefined && !opts.urn) {
|
|
89
|
+
throw new Error("Missing required property 'parent'");
|
|
90
|
+
}
|
|
91
|
+
resourceInputs["comment"] = args?.comment;
|
|
92
|
+
resourceInputs["config"] = args?.config;
|
|
93
|
+
resourceInputs["modelServiceId"] = args?.modelServiceId;
|
|
94
|
+
resourceInputs["owner"] = args?.owner;
|
|
95
|
+
resourceInputs["parent"] = args?.parent;
|
|
96
|
+
resourceInputs["providerConfig"] = args?.providerConfig;
|
|
97
|
+
resourceInputs["browseOnly"] = undefined /*out*/;
|
|
98
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
99
|
+
resourceInputs["createdBy"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["effectiveOwner"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["etag"] = undefined /*out*/;
|
|
102
|
+
resourceInputs["metastoreId"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
104
|
+
resourceInputs["supportedApiTypes"] = undefined /*out*/;
|
|
105
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
106
|
+
resourceInputs["updatedBy"] = undefined /*out*/;
|
|
107
|
+
}
|
|
108
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
109
|
+
super(AiGatewayModelService.__pulumiType, name, resourceInputs, opts);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
exports.AiGatewayModelService = AiGatewayModelService;
|
|
113
|
+
//# sourceMappingURL=aiGatewayModelService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiGatewayModelService.js","sourceRoot":"","sources":["../aiGatewayModelService.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;GAIG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,8DAA8D,CAAC;IAErG;;;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,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;IA6FD,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,cAAc,GAAkB,EAAE,CAAC;Q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AAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AAvKL,sDAwKC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
6
|
+
*
|
|
7
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/aigateway)
|
|
8
|
+
*/
|
|
9
|
+
export declare function getAiGatewayMcpService(args: GetAiGatewayMcpServiceArgs, opts?: pulumi.InvokeOptions): Promise<GetAiGatewayMcpServiceResult>;
|
|
10
|
+
/**
|
|
11
|
+
* A collection of arguments for invoking getAiGatewayMcpService.
|
|
12
|
+
*/
|
|
13
|
+
export interface GetAiGatewayMcpServiceArgs {
|
|
14
|
+
/**
|
|
15
|
+
* Resource name of the MCP service.
|
|
16
|
+
* Format: `mcp-services/{catalog}.{schema}.{mcp_service}`.
|
|
17
|
+
* Each `{...}` component is capped at 255 characters individually.
|
|
18
|
+
* Server-derived on Create from `parent` +
|
|
19
|
+
* `mcpServiceId`; required and immutable on Update/Get/Delete
|
|
20
|
+
*/
|
|
21
|
+
name: string;
|
|
22
|
+
/**
|
|
23
|
+
* Configure the provider for management through account provider.
|
|
24
|
+
*/
|
|
25
|
+
providerConfig?: inputs.GetAiGatewayMcpServiceProviderConfig;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* A collection of values returned by getAiGatewayMcpService.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetAiGatewayMcpServiceResult {
|
|
31
|
+
/**
|
|
32
|
+
* (boolean) - Whether the caller sees only metadata available through the BROWSE
|
|
33
|
+
* privilege
|
|
34
|
+
*/
|
|
35
|
+
readonly browseOnly: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* (string) - User-provided description
|
|
38
|
+
*/
|
|
39
|
+
readonly comment: string;
|
|
40
|
+
/**
|
|
41
|
+
* (McpServiceConfig) - Operational configuration: connection, tool selectors, rate limit.
|
|
42
|
+
* Required on CreateMcpService; on
|
|
43
|
+
* UpdateMcpService it is required only when `config` (or a `config.*`
|
|
44
|
+
* subpath) appears in `updateMask`
|
|
45
|
+
*/
|
|
46
|
+
readonly config: outputs.GetAiGatewayMcpServiceConfig;
|
|
47
|
+
/**
|
|
48
|
+
* (string) - When the MCP service was created
|
|
49
|
+
*/
|
|
50
|
+
readonly createTime: string;
|
|
51
|
+
/**
|
|
52
|
+
* (string) - Creator identity
|
|
53
|
+
*/
|
|
54
|
+
readonly createdBy: string;
|
|
55
|
+
/**
|
|
56
|
+
* (string) - The resolved owner of the MCP service. Falls back to the caller's identity
|
|
57
|
+
* when `owner` is not explicitly set on creation
|
|
58
|
+
*/
|
|
59
|
+
readonly effectiveOwner: string;
|
|
60
|
+
/**
|
|
61
|
+
* (string) - Optimistic concurrency control token. Server-generated from the
|
|
62
|
+
* entity's state and returned on every read. To use it as an if-match
|
|
63
|
+
* precondition on a mutation, echo the last-read value back via the dedicated
|
|
64
|
+
* `etag` field on the Update / Delete request; the server rejects the mutation
|
|
65
|
+
* if the stored etag differs
|
|
66
|
+
*/
|
|
67
|
+
readonly etag: string;
|
|
68
|
+
/**
|
|
69
|
+
* (string) - Metastore hosting the MCP service
|
|
70
|
+
*/
|
|
71
|
+
readonly metastoreId: string;
|
|
72
|
+
/**
|
|
73
|
+
* (string)
|
|
74
|
+
*/
|
|
75
|
+
readonly name: string;
|
|
76
|
+
/**
|
|
77
|
+
* (string) - The owner of the MCP service. Write-only; read owner via effective_owner
|
|
78
|
+
*/
|
|
79
|
+
readonly owner: string;
|
|
80
|
+
readonly providerConfig?: outputs.GetAiGatewayMcpServiceProviderConfig;
|
|
81
|
+
/**
|
|
82
|
+
* (string) - When the MCP service was last modified
|
|
83
|
+
*/
|
|
84
|
+
readonly updateTime: string;
|
|
85
|
+
/**
|
|
86
|
+
* (string) - Identity of the last updater
|
|
87
|
+
*/
|
|
88
|
+
readonly updatedBy: string;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
92
|
+
*
|
|
93
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/aigateway)
|
|
94
|
+
*/
|
|
95
|
+
export declare function getAiGatewayMcpServiceOutput(args: GetAiGatewayMcpServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAiGatewayMcpServiceResult>;
|
|
96
|
+
/**
|
|
97
|
+
* A collection of arguments for invoking getAiGatewayMcpService.
|
|
98
|
+
*/
|
|
99
|
+
export interface GetAiGatewayMcpServiceOutputArgs {
|
|
100
|
+
/**
|
|
101
|
+
* Resource name of the MCP service.
|
|
102
|
+
* Format: `mcp-services/{catalog}.{schema}.{mcp_service}`.
|
|
103
|
+
* Each `{...}` component is capped at 255 characters individually.
|
|
104
|
+
* Server-derived on Create from `parent` +
|
|
105
|
+
* `mcpServiceId`; required and immutable on Update/Get/Delete
|
|
106
|
+
*/
|
|
107
|
+
name: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Configure the provider for management through account provider.
|
|
110
|
+
*/
|
|
111
|
+
providerConfig?: pulumi.Input<inputs.GetAiGatewayMcpServiceProviderConfigArgs | undefined>;
|
|
112
|
+
}
|
|
113
|
+
//# sourceMappingURL=getAiGatewayMcpService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAiGatewayMcpService.d.ts","sourceRoot":"","sources":["../getAiGatewayMcpService.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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AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,wCAAwC,GAAG,SAAS,CAAC,CAAC;CAC9F"}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.getAiGatewayMcpServiceOutput = exports.getAiGatewayMcpService = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
33
|
+
*
|
|
34
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/aigateway)
|
|
35
|
+
*/
|
|
36
|
+
function getAiGatewayMcpService(args, opts) {
|
|
37
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
38
|
+
return pulumi.runtime.invoke("databricks:index/getAiGatewayMcpService:getAiGatewayMcpService", {
|
|
39
|
+
"name": args.name,
|
|
40
|
+
"providerConfig": args.providerConfig,
|
|
41
|
+
}, opts);
|
|
42
|
+
}
|
|
43
|
+
exports.getAiGatewayMcpService = getAiGatewayMcpService;
|
|
44
|
+
/**
|
|
45
|
+
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
46
|
+
*
|
|
47
|
+
* [API Documentation](https://docs.databricks.com/api/workspace/aigateway)
|
|
48
|
+
*/
|
|
49
|
+
function getAiGatewayMcpServiceOutput(args, opts) {
|
|
50
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
51
|
+
return pulumi.runtime.invokeOutput("databricks:index/getAiGatewayMcpService:getAiGatewayMcpService", {
|
|
52
|
+
"name": args.name,
|
|
53
|
+
"providerConfig": args.providerConfig,
|
|
54
|
+
}, opts);
|
|
55
|
+
}
|
|
56
|
+
exports.getAiGatewayMcpServiceOutput = getAiGatewayMcpServiceOutput;
|
|
57
|
+
//# sourceMappingURL=getAiGatewayMcpService.js.map
|