@azure/arm-databricks 3.0.2-alpha.20260302.1 → 3.0.2-alpha.20260305.1
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/dist/commonjs/azureDatabricksManagementClient.js +111 -92
- package/dist/commonjs/azureDatabricksManagementClient.js.map +7 -1
- package/dist/commonjs/index.js +35 -19
- package/dist/commonjs/index.js.map +7 -1
- package/dist/commonjs/lroImpl.js +41 -19
- package/dist/commonjs/lroImpl.js.map +7 -1
- package/dist/commonjs/models/index.js +130 -151
- package/dist/commonjs/models/index.js.map +7 -1
- package/dist/commonjs/models/mappers.js +1525 -1412
- package/dist/commonjs/models/mappers.js.map +7 -1
- package/dist/commonjs/models/parameters.js +224 -173
- package/dist/commonjs/models/parameters.js.map +7 -1
- package/dist/commonjs/operations/accessConnectors.js +547 -483
- package/dist/commonjs/operations/accessConnectors.js.map +7 -1
- package/dist/commonjs/operations/index.js +33 -18
- package/dist/commonjs/operations/index.js.map +7 -1
- package/dist/commonjs/operations/operations.js +136 -109
- package/dist/commonjs/operations/operations.js.map +7 -1
- package/dist/commonjs/operations/outboundNetworkDependenciesEndpoints.js +92 -64
- package/dist/commonjs/operations/outboundNetworkDependenciesEndpoints.js.map +7 -1
- package/dist/commonjs/operations/privateEndpointConnections.js +399 -341
- package/dist/commonjs/operations/privateEndpointConnections.js.map +7 -1
- package/dist/commonjs/operations/privateLinkResources.js +202 -155
- package/dist/commonjs/operations/privateLinkResources.js.map +7 -1
- package/dist/commonjs/operations/vNetPeering.js +398 -332
- package/dist/commonjs/operations/vNetPeering.js.map +7 -1
- package/dist/commonjs/operations/workspaces.js +547 -483
- package/dist/commonjs/operations/workspaces.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/accessConnectors.js +15 -10
- package/dist/commonjs/operationsInterfaces/accessConnectors.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/index.js +33 -18
- package/dist/commonjs/operationsInterfaces/index.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/operations.js +15 -10
- package/dist/commonjs/operationsInterfaces/operations.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/outboundNetworkDependenciesEndpoints.js +15 -10
- package/dist/commonjs/operationsInterfaces/outboundNetworkDependenciesEndpoints.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +15 -10
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js +15 -10
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/vNetPeering.js +15 -10
- package/dist/commonjs/operationsInterfaces/vNetPeering.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/workspaces.js +15 -10
- package/dist/commonjs/operationsInterfaces/workspaces.js.map +7 -1
- package/dist/commonjs/pagingHelper.js +39 -30
- package/dist/commonjs/pagingHelper.js.map +7 -1
- package/dist/esm/azureDatabricksManagementClient.js +85 -86
- package/dist/esm/azureDatabricksManagementClient.js.map +7 -1
- package/dist/esm/index.js +6 -11
- package/dist/esm/index.js.map +7 -1
- package/dist/esm/lroImpl.js +19 -17
- package/dist/esm/lroImpl.js.map +7 -1
- package/dist/esm/models/index.js +96 -148
- package/dist/esm/models/index.js.map +7 -1
- package/dist/esm/models/mappers.js +1453 -1409
- package/dist/esm/models/mappers.js.map +7 -1
- package/dist/esm/models/parameters.js +189 -169
- package/dist/esm/models/parameters.js.map +7 -1
- package/dist/esm/operations/accessConnectors.js +512 -474
- package/dist/esm/operations/accessConnectors.js.map +7 -1
- package/dist/esm/operations/index.js +0 -8
- package/dist/esm/operations/index.js.map +7 -1
- package/dist/esm/operations/operations.js +100 -101
- package/dist/esm/operations/operations.js.map +7 -1
- package/dist/esm/operations/outboundNetworkDependenciesEndpoints.js +57 -57
- package/dist/esm/operations/outboundNetworkDependenciesEndpoints.js.map +7 -1
- package/dist/esm/operations/privateEndpointConnections.js +364 -332
- package/dist/esm/operations/privateEndpointConnections.js.map +7 -1
- package/dist/esm/operations/privateLinkResources.js +166 -147
- package/dist/esm/operations/privateLinkResources.js.map +7 -1
- package/dist/esm/operations/vNetPeering.js +363 -323
- package/dist/esm/operations/vNetPeering.js.map +7 -1
- package/dist/esm/operations/workspaces.js +512 -474
- package/dist/esm/operations/workspaces.js.map +7 -1
- package/dist/esm/operationsInterfaces/accessConnectors.js +0 -9
- package/dist/esm/operationsInterfaces/accessConnectors.js.map +7 -1
- package/dist/esm/operationsInterfaces/index.js +0 -8
- package/dist/esm/operationsInterfaces/index.js.map +7 -1
- package/dist/esm/operationsInterfaces/operations.js +0 -9
- package/dist/esm/operationsInterfaces/operations.js.map +7 -1
- package/dist/esm/operationsInterfaces/outboundNetworkDependenciesEndpoints.js +0 -9
- package/dist/esm/operationsInterfaces/outboundNetworkDependenciesEndpoints.js.map +7 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js +0 -9
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +7 -1
- package/dist/esm/operationsInterfaces/privateLinkResources.js +0 -9
- package/dist/esm/operationsInterfaces/privateLinkResources.js.map +7 -1
- package/dist/esm/operationsInterfaces/vNetPeering.js +0 -9
- package/dist/esm/operationsInterfaces/vNetPeering.js.map +7 -1
- package/dist/esm/operationsInterfaces/workspaces.js +0 -9
- package/dist/esm/operationsInterfaces/workspaces.js.map +7 -1
- package/dist/esm/pagingHelper.js +17 -28
- package/dist/esm/pagingHelper.js.map +7 -1
- package/package.json +3 -20
|
@@ -1,95 +1,114 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var azureDatabricksManagementClient_exports = {};
|
|
29
|
+
__export(azureDatabricksManagementClient_exports, {
|
|
30
|
+
AzureDatabricksManagementClient: () => AzureDatabricksManagementClient
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(azureDatabricksManagementClient_exports);
|
|
33
|
+
var coreClient = __toESM(require("@azure/core-client"));
|
|
34
|
+
var coreRestPipeline = __toESM(require("@azure/core-rest-pipeline"));
|
|
35
|
+
var import_operations = require("./operations/index.js");
|
|
15
36
|
class AzureDatabricksManagementClient extends coreClient.ServiceClient {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
if (subscriptionId === undefined) {
|
|
29
|
-
throw new Error("'subscriptionId' cannot be null");
|
|
30
|
-
}
|
|
31
|
-
// Initializing default values for options
|
|
32
|
-
if (!options) {
|
|
33
|
-
options = {};
|
|
34
|
-
}
|
|
35
|
-
const defaults = {
|
|
36
|
-
requestContentType: "application/json; charset=utf-8",
|
|
37
|
-
credential: credentials
|
|
38
|
-
};
|
|
39
|
-
const packageDetails = `azsdk-js-arm-databricks/3.0.2`;
|
|
40
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
41
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
42
|
-
: `${packageDetails}`;
|
|
43
|
-
const optionsWithDefaults = {
|
|
44
|
-
...defaults,
|
|
45
|
-
...options,
|
|
46
|
-
userAgentOptions: {
|
|
47
|
-
userAgentPrefix
|
|
48
|
-
},
|
|
49
|
-
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
|
|
50
|
-
};
|
|
51
|
-
super(optionsWithDefaults);
|
|
52
|
-
let bearerTokenAuthenticationPolicyFound = false;
|
|
53
|
-
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
54
|
-
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
55
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
56
|
-
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
57
|
-
}
|
|
58
|
-
if (!options ||
|
|
59
|
-
!options.pipeline ||
|
|
60
|
-
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
61
|
-
!bearerTokenAuthenticationPolicyFound) {
|
|
62
|
-
this.pipeline.removePolicy({
|
|
63
|
-
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
64
|
-
});
|
|
65
|
-
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
66
|
-
credential: credentials,
|
|
67
|
-
scopes: optionsWithDefaults.credentialScopes ??
|
|
68
|
-
`${optionsWithDefaults.endpoint}/.default`,
|
|
69
|
-
challengeCallbacks: {
|
|
70
|
-
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
71
|
-
}
|
|
72
|
-
}));
|
|
73
|
-
}
|
|
74
|
-
// Parameter assignments
|
|
75
|
-
this.subscriptionId = subscriptionId;
|
|
76
|
-
// Assigning values to Constant parameters
|
|
77
|
-
this.$host = options.$host || "https://management.azure.com";
|
|
78
|
-
this.workspaces = new index_js_1.WorkspacesImpl(this);
|
|
79
|
-
this.operations = new index_js_1.OperationsImpl(this);
|
|
80
|
-
this.privateLinkResources = new index_js_1.PrivateLinkResourcesImpl(this);
|
|
81
|
-
this.privateEndpointConnections = new index_js_1.PrivateEndpointConnectionsImpl(this);
|
|
82
|
-
this.outboundNetworkDependenciesEndpoints = new index_js_1.OutboundNetworkDependenciesEndpointsImpl(this);
|
|
83
|
-
this.vNetPeering = new index_js_1.VNetPeeringImpl(this);
|
|
84
|
-
this.accessConnectors = new index_js_1.AccessConnectorsImpl(this);
|
|
37
|
+
$host;
|
|
38
|
+
subscriptionId;
|
|
39
|
+
/**
|
|
40
|
+
* Initializes a new instance of the AzureDatabricksManagementClient class.
|
|
41
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
42
|
+
* @param subscriptionId The ID of the target subscription.
|
|
43
|
+
* @param options The parameter options
|
|
44
|
+
*/
|
|
45
|
+
constructor(credentials, subscriptionId, options) {
|
|
46
|
+
if (credentials === void 0) {
|
|
47
|
+
throw new Error("'credentials' cannot be null");
|
|
85
48
|
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
49
|
+
if (subscriptionId === void 0) {
|
|
50
|
+
throw new Error("'subscriptionId' cannot be null");
|
|
51
|
+
}
|
|
52
|
+
if (!options) {
|
|
53
|
+
options = {};
|
|
54
|
+
}
|
|
55
|
+
const defaults = {
|
|
56
|
+
requestContentType: "application/json; charset=utf-8",
|
|
57
|
+
credential: credentials
|
|
58
|
+
};
|
|
59
|
+
const packageDetails = `azsdk-js-arm-databricks/3.0.2`;
|
|
60
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` : `${packageDetails}`;
|
|
61
|
+
const optionsWithDefaults = {
|
|
62
|
+
...defaults,
|
|
63
|
+
...options,
|
|
64
|
+
userAgentOptions: {
|
|
65
|
+
userAgentPrefix
|
|
66
|
+
},
|
|
67
|
+
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
|
|
68
|
+
};
|
|
69
|
+
super(optionsWithDefaults);
|
|
70
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
|
71
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
72
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
73
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(
|
|
74
|
+
(pipelinePolicy) => pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
if (!options || !options.pipeline || options.pipeline.getOrderedPolicies().length == 0 || !bearerTokenAuthenticationPolicyFound) {
|
|
78
|
+
this.pipeline.removePolicy({
|
|
79
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
80
|
+
});
|
|
81
|
+
this.pipeline.addPolicy(
|
|
82
|
+
coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
83
|
+
credential: credentials,
|
|
84
|
+
scopes: optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,
|
|
85
|
+
challengeCallbacks: {
|
|
86
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
87
|
+
}
|
|
88
|
+
})
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
this.subscriptionId = subscriptionId;
|
|
92
|
+
this.$host = options.$host || "https://management.azure.com";
|
|
93
|
+
this.workspaces = new import_operations.WorkspacesImpl(this);
|
|
94
|
+
this.operations = new import_operations.OperationsImpl(this);
|
|
95
|
+
this.privateLinkResources = new import_operations.PrivateLinkResourcesImpl(this);
|
|
96
|
+
this.privateEndpointConnections = new import_operations.PrivateEndpointConnectionsImpl(this);
|
|
97
|
+
this.outboundNetworkDependenciesEndpoints = new import_operations.OutboundNetworkDependenciesEndpointsImpl(
|
|
98
|
+
this
|
|
99
|
+
);
|
|
100
|
+
this.vNetPeering = new import_operations.VNetPeeringImpl(this);
|
|
101
|
+
this.accessConnectors = new import_operations.AccessConnectorsImpl(this);
|
|
102
|
+
}
|
|
103
|
+
workspaces;
|
|
104
|
+
operations;
|
|
105
|
+
privateLinkResources;
|
|
106
|
+
privateEndpointConnections;
|
|
107
|
+
outboundNetworkDependenciesEndpoints;
|
|
108
|
+
vNetPeering;
|
|
109
|
+
accessConnectors;
|
|
93
110
|
}
|
|
94
|
-
|
|
95
|
-
|
|
111
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
112
|
+
0 && (module.exports = {
|
|
113
|
+
AzureDatabricksManagementClient
|
|
114
|
+
});
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["/mnt/vss/_work/1/s/sdk/databricks/arm-databricks/src/azureDatabricksManagementClient.ts"],
|
|
4
|
+
"sourcesContent": ["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n WorkspacesImpl,\n OperationsImpl,\n PrivateLinkResourcesImpl,\n PrivateEndpointConnectionsImpl,\n OutboundNetworkDependenciesEndpointsImpl,\n VNetPeeringImpl,\n AccessConnectorsImpl\n} from \"./operations/index.js\";\nimport {\n Workspaces,\n Operations,\n PrivateLinkResources,\n PrivateEndpointConnections,\n OutboundNetworkDependenciesEndpoints,\n VNetPeering,\n AccessConnectors\n} from \"./operationsInterfaces/index.js\";\nimport { AzureDatabricksManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class AzureDatabricksManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the AzureDatabricksManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: AzureDatabricksManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: AzureDatabricksManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-databricks/3.0.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.workspaces = new WorkspacesImpl(this);\n this.operations = new OperationsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.outboundNetworkDependenciesEndpoints = new OutboundNetworkDependenciesEndpointsImpl(\n this\n );\n this.vNetPeering = new VNetPeeringImpl(this);\n this.accessConnectors = new AccessConnectorsImpl(this);\n }\n\n workspaces: Workspaces;\n operations: Operations;\n privateLinkResources: PrivateLinkResources;\n privateEndpointConnections: PrivateEndpointConnections;\n outboundNetworkDependenciesEndpoints: OutboundNetworkDependenciesEndpoints;\n vNetPeering: VNetPeering;\n accessConnectors: AccessConnectors;\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,iBAA4B;AAC5B,uBAAkC;AAElC,wBAQO;AAYA,MAAM,wCAAwC,WAAW,cAAc;AAAA,EAC5E;AAAA,EACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,YACE,aACA,gBACA,SACA;AACA,QAAI,gBAAgB,QAAW;AAC7B,YAAM,IAAI,MAAM,8BAA8B;AAAA,IAChD;AACA,QAAI,mBAAmB,QAAW;AAChC,YAAM,IAAI,MAAM,iCAAiC;AAAA,IACnD;AAGA,QAAI,CAAC,SAAS;AACZ,gBAAU,CAAC;AAAA,IACb;AACA,UAAM,WAA0D;AAAA,MAC9D,oBAAoB;AAAA,MACpB,YAAY;AAAA,IACd;AAEA,UAAM,iBAAiB;AACvB,UAAM,kBACJ,QAAQ,oBAAoB,QAAQ,iBAAiB,kBACjD,GAAG,QAAQ,iBAAiB,eAAe,IAAI,cAAc,KAC7D,GAAG,cAAc;AAEvB,UAAM,sBAAsB;AAAA,MAC1B,GAAG;AAAA,MACH,GAAG;AAAA,MACH,kBAAkB;AAAA,QAChB;AAAA,MACF;AAAA,MACA,UACE,QAAQ,YAAY,QAAQ,WAAW;AAAA,IAC3C;AACA,UAAM,mBAAmB;AAEzB,QAAI,uCAAgD;AACpD,QAAI,SAAS,YAAY,QAAQ,SAAS,mBAAmB,EAAE,SAAS,GAAG;AACzE,YAAM,mBAAsD,QAAQ,SAAS,mBAAmB;AAChG,6CAAuC,iBAAiB;AAAA,QACtD,CAAC,mBACC,eAAe,SACf,iBAAiB;AAAA,MACrB;AAAA,IACF;AACA,QACE,CAAC,WACD,CAAC,QAAQ,YACT,QAAQ,SAAS,mBAAmB,EAAE,UAAU,KAChD,CAAC,sCACD;AACA,WAAK,SAAS,aAAa;AAAA,QACzB,MAAM,iBAAiB;AAAA,MACzB,CAAC;AACD,WAAK,SAAS;AAAA,QACZ,iBAAiB,gCAAgC;AAAA,UAC/C,YAAY;AAAA,UACZ,QACE,oBAAoB,oBACpB,GAAG,oBAAoB,QAAQ;AAAA,UACjC,oBAAoB;AAAA,YAClB,6BACE,WAAW;AAAA,UACf;AAAA,QACF,CAAC;AAAA,MACH;AAAA,IACF;AAEA,SAAK,iBAAiB;AAGtB,SAAK,QAAQ,QAAQ,SAAS;AAC9B,SAAK,aAAa,IAAI,iCAAe,IAAI;AACzC,SAAK,aAAa,IAAI,iCAAe,IAAI;AACzC,SAAK,uBAAuB,IAAI,2CAAyB,IAAI;AAC7D,SAAK,6BAA6B,IAAI,iDAA+B,IAAI;AACzE,SAAK,uCAAuC,IAAI;AAAA,MAC9C;AAAA,IACF;AACA,SAAK,cAAc,IAAI,kCAAgB,IAAI;AAC3C,SAAK,mBAAmB,IAAI,uCAAqB,IAAI;AAAA,EACvD;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/dist/commonjs/index.js
CHANGED
|
@@ -1,19 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var src_exports = {};
|
|
20
|
+
__export(src_exports, {
|
|
21
|
+
AzureDatabricksManagementClient: () => import_azureDatabricksManagementClient.AzureDatabricksManagementClient,
|
|
22
|
+
getContinuationToken: () => import_pagingHelper.getContinuationToken
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(src_exports);
|
|
25
|
+
var import_pagingHelper = require("./pagingHelper.js");
|
|
26
|
+
__reExport(src_exports, require("./models/index.js"), module.exports);
|
|
27
|
+
var import_azureDatabricksManagementClient = require("./azureDatabricksManagementClient.js");
|
|
28
|
+
__reExport(src_exports, require("./operationsInterfaces/index.js"), module.exports);
|
|
29
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
30
|
+
0 && (module.exports = {
|
|
31
|
+
AzureDatabricksManagementClient,
|
|
32
|
+
getContinuationToken,
|
|
33
|
+
...require("./models/index.js"),
|
|
34
|
+
...require("./operationsInterfaces/index.js")
|
|
35
|
+
});
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["/mnt/vss/_work/1/s/sdk/databricks/arm-databricks/src/index.ts"],
|
|
4
|
+
"sourcesContent": ["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { AzureDatabricksManagementClient } from \"./azureDatabricksManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,0BAAqC;AACrC,wBAAc,8BAVd;AAWA,6CAAgD;AAChD,wBAAc,4CAZd;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/dist/commonjs/lroImpl.js
CHANGED
|
@@ -1,21 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var lroImpl_exports = {};
|
|
19
|
+
__export(lroImpl_exports, {
|
|
20
|
+
createLroSpec: () => createLroSpec
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(lroImpl_exports);
|
|
4
23
|
function createLroSpec(inputs) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
24
|
+
const { args, spec, sendOperationFn } = inputs;
|
|
25
|
+
return {
|
|
26
|
+
requestMethod: spec.httpMethod,
|
|
27
|
+
requestPath: spec.path,
|
|
28
|
+
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
29
|
+
sendPollRequest: (path, options) => {
|
|
30
|
+
const { requestBody, ...restSpec } = spec;
|
|
31
|
+
return sendOperationFn(args, {
|
|
32
|
+
...restSpec,
|
|
33
|
+
httpMethod: "GET",
|
|
34
|
+
path,
|
|
35
|
+
abortSignal: options?.abortSignal
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
};
|
|
20
39
|
}
|
|
21
|
-
|
|
40
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
41
|
+
0 && (module.exports = {
|
|
42
|
+
createLroSpec
|
|
43
|
+
});
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["/mnt/vss/_work/1/s/sdk/databricks/arm-databricks/src/lroImpl.ts"],
|
|
4
|
+
"sourcesContent": ["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike }\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal\n });\n }\n };\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAUO,SAAS,cAAiB,QAQL;AAC1B,QAAM,EAAE,MAAM,MAAM,gBAAgB,IAAI;AACxC,SAAO;AAAA,IACL,eAAe,KAAK;AAAA,IACpB,aAAa,KAAK;AAAA,IAClB,oBAAoB,MAAM,gBAAgB,MAAM,IAAI;AAAA,IACpD,iBAAiB,CACf,MACA,YACG;AACH,YAAM,EAAE,aAAa,GAAG,SAAS,IAAI;AACrC,aAAO,gBAAgB,MAAM;AAAA,QAC3B,GAAG;AAAA,QACH,YAAY;AAAA,QACZ;AAAA,QACA,aAAa,SAAS;AAAA,MACxB,CAAC;AAAA,IACH;AAAA,EACF;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|