@azure/arm-databricks 3.0.0-alpha.20220118.1 → 3.0.0-alpha.20220128.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -6,6 +6,26 @@ var coreClient = require('@azure/core-client');
6
6
  var tslib = require('tslib');
7
7
  var coreLro = require('@azure/core-lro');
8
8
 
9
+ function _interopNamespace(e) {
10
+ if (e && e.__esModule) return e;
11
+ var n = Object.create(null);
12
+ if (e) {
13
+ Object.keys(e).forEach(function (k) {
14
+ if (k !== 'default') {
15
+ var d = Object.getOwnPropertyDescriptor(e, k);
16
+ Object.defineProperty(n, k, d.get ? d : {
17
+ enumerable: true,
18
+ get: function () { return e[k]; }
19
+ });
20
+ }
21
+ });
22
+ }
23
+ n["default"] = e;
24
+ return Object.freeze(n);
25
+ }
26
+
27
+ var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
28
+
9
29
  /*
10
30
  * Copyright (c) Microsoft Corporation.
11
31
  * Licensed under the MIT License.
@@ -13,15 +33,21 @@ var coreLro = require('@azure/core-lro');
13
33
  * Code generated by Microsoft (R) AutoRest Code Generator.
14
34
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
15
35
  */
36
+ /** Known values of {@link CustomParameterType} that the service accepts. */
37
+ exports.KnownCustomParameterType = void 0;
16
38
  (function (KnownCustomParameterType) {
17
39
  KnownCustomParameterType["Bool"] = "Bool";
18
40
  KnownCustomParameterType["Object"] = "Object";
19
41
  KnownCustomParameterType["String"] = "String";
20
42
  })(exports.KnownCustomParameterType || (exports.KnownCustomParameterType = {}));
43
+ /** Known values of {@link KeySource} that the service accepts. */
44
+ exports.KnownKeySource = void 0;
21
45
  (function (KnownKeySource) {
22
46
  KnownKeySource["Default"] = "Default";
23
47
  KnownKeySource["MicrosoftKeyvault"] = "Microsoft.Keyvault";
24
48
  })(exports.KnownKeySource || (exports.KnownKeySource = {}));
49
+ /** Known values of {@link ProvisioningState} that the service accepts. */
50
+ exports.KnownProvisioningState = void 0;
25
51
  (function (KnownProvisioningState) {
26
52
  KnownProvisioningState["Accepted"] = "Accepted";
27
53
  KnownProvisioningState["Running"] = "Running";
@@ -35,15 +61,21 @@ var coreLro = require('@azure/core-lro');
35
61
  KnownProvisioningState["Succeeded"] = "Succeeded";
36
62
  KnownProvisioningState["Updating"] = "Updating";
37
63
  })(exports.KnownProvisioningState || (exports.KnownProvisioningState = {}));
64
+ /** Known values of {@link EncryptionKeySource} that the service accepts. */
65
+ exports.KnownEncryptionKeySource = void 0;
38
66
  (function (KnownEncryptionKeySource) {
39
67
  KnownEncryptionKeySource["MicrosoftKeyvault"] = "Microsoft.Keyvault";
40
68
  })(exports.KnownEncryptionKeySource || (exports.KnownEncryptionKeySource = {}));
69
+ /** Known values of {@link PrivateLinkServiceConnectionStatus} that the service accepts. */
70
+ exports.KnownPrivateLinkServiceConnectionStatus = void 0;
41
71
  (function (KnownPrivateLinkServiceConnectionStatus) {
42
72
  KnownPrivateLinkServiceConnectionStatus["Pending"] = "Pending";
43
73
  KnownPrivateLinkServiceConnectionStatus["Approved"] = "Approved";
44
74
  KnownPrivateLinkServiceConnectionStatus["Rejected"] = "Rejected";
45
75
  KnownPrivateLinkServiceConnectionStatus["Disconnected"] = "Disconnected";
46
76
  })(exports.KnownPrivateLinkServiceConnectionStatus || (exports.KnownPrivateLinkServiceConnectionStatus = {}));
77
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
78
+ exports.KnownPrivateEndpointConnectionProvisioningState = void 0;
47
79
  (function (KnownPrivateEndpointConnectionProvisioningState) {
48
80
  KnownPrivateEndpointConnectionProvisioningState["Succeeded"] = "Succeeded";
49
81
  KnownPrivateEndpointConnectionProvisioningState["Creating"] = "Creating";
@@ -51,26 +83,36 @@ var coreLro = require('@azure/core-lro');
51
83
  KnownPrivateEndpointConnectionProvisioningState["Deleting"] = "Deleting";
52
84
  KnownPrivateEndpointConnectionProvisioningState["Failed"] = "Failed";
53
85
  })(exports.KnownPrivateEndpointConnectionProvisioningState || (exports.KnownPrivateEndpointConnectionProvisioningState = {}));
86
+ /** Known values of {@link PublicNetworkAccess} that the service accepts. */
87
+ exports.KnownPublicNetworkAccess = void 0;
54
88
  (function (KnownPublicNetworkAccess) {
55
89
  KnownPublicNetworkAccess["Enabled"] = "Enabled";
56
90
  KnownPublicNetworkAccess["Disabled"] = "Disabled";
57
91
  })(exports.KnownPublicNetworkAccess || (exports.KnownPublicNetworkAccess = {}));
92
+ /** Known values of {@link RequiredNsgRules} that the service accepts. */
93
+ exports.KnownRequiredNsgRules = void 0;
58
94
  (function (KnownRequiredNsgRules) {
59
95
  KnownRequiredNsgRules["AllRules"] = "AllRules";
60
96
  KnownRequiredNsgRules["NoAzureDatabricksRules"] = "NoAzureDatabricksRules";
61
97
  KnownRequiredNsgRules["NoAzureServiceRules"] = "NoAzureServiceRules";
62
98
  })(exports.KnownRequiredNsgRules || (exports.KnownRequiredNsgRules = {}));
99
+ /** Known values of {@link CreatedByType} that the service accepts. */
100
+ exports.KnownCreatedByType = void 0;
63
101
  (function (KnownCreatedByType) {
64
102
  KnownCreatedByType["User"] = "User";
65
103
  KnownCreatedByType["Application"] = "Application";
66
104
  KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
67
105
  KnownCreatedByType["Key"] = "Key";
68
106
  })(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
107
+ /** Known values of {@link PeeringState} that the service accepts. */
108
+ exports.KnownPeeringState = void 0;
69
109
  (function (KnownPeeringState) {
70
110
  KnownPeeringState["Initiated"] = "Initiated";
71
111
  KnownPeeringState["Connected"] = "Connected";
72
112
  KnownPeeringState["Disconnected"] = "Disconnected";
73
113
  })(exports.KnownPeeringState || (exports.KnownPeeringState = {}));
114
+ /** Known values of {@link PeeringProvisioningState} that the service accepts. */
115
+ exports.KnownPeeringProvisioningState = void 0;
74
116
  (function (KnownPeeringProvisioningState) {
75
117
  KnownPeeringProvisioningState["Succeeded"] = "Succeeded";
76
118
  KnownPeeringProvisioningState["Updating"] = "Updating";
@@ -1719,7 +1761,7 @@ class WorkspacesImpl {
1719
1761
  * @param options The options parameters.
1720
1762
  */
1721
1763
  get(resourceGroupName, workspaceName, options) {
1722
- return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, getOperationSpec);
1764
+ return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, getOperationSpec$3);
1723
1765
  }
1724
1766
  /**
1725
1767
  * Deletes the workspace.
@@ -1751,7 +1793,7 @@ class WorkspacesImpl {
1751
1793
  }
1752
1794
  };
1753
1795
  });
1754
- const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, options }, deleteOperationSpec);
1796
+ const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, options }, deleteOperationSpec$2);
1755
1797
  return new coreLro.LroEngine(lro, {
1756
1798
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1757
1799
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
@@ -1801,7 +1843,7 @@ class WorkspacesImpl {
1801
1843
  }
1802
1844
  };
1803
1845
  });
1804
- const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, parameters, options }, createOrUpdateOperationSpec);
1846
+ const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, parameters, options }, createOrUpdateOperationSpec$1);
1805
1847
  return new coreLro.LroEngine(lro, {
1806
1848
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
1807
1849
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
@@ -1906,8 +1948,8 @@ class WorkspacesImpl {
1906
1948
  }
1907
1949
  }
1908
1950
  // Operation Specifications
1909
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
1910
- const getOperationSpec = {
1951
+ const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
1952
+ const getOperationSpec$3 = {
1911
1953
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
1912
1954
  httpMethod: "GET",
1913
1955
  responses: {
@@ -1926,9 +1968,9 @@ const getOperationSpec = {
1926
1968
  subscriptionId
1927
1969
  ],
1928
1970
  headerParameters: [accept],
1929
- serializer
1971
+ serializer: serializer$5
1930
1972
  };
1931
- const deleteOperationSpec = {
1973
+ const deleteOperationSpec$2 = {
1932
1974
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
1933
1975
  httpMethod: "DELETE",
1934
1976
  responses: {
@@ -1948,9 +1990,9 @@ const deleteOperationSpec = {
1948
1990
  subscriptionId
1949
1991
  ],
1950
1992
  headerParameters: [accept],
1951
- serializer
1993
+ serializer: serializer$5
1952
1994
  };
1953
- const createOrUpdateOperationSpec = {
1995
+ const createOrUpdateOperationSpec$1 = {
1954
1996
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
1955
1997
  httpMethod: "PUT",
1956
1998
  responses: {
@@ -1980,7 +2022,7 @@ const createOrUpdateOperationSpec = {
1980
2022
  ],
1981
2023
  headerParameters: [accept, contentType],
1982
2024
  mediaType: "json",
1983
- serializer
2025
+ serializer: serializer$5
1984
2026
  };
1985
2027
  const updateOperationSpec = {
1986
2028
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
@@ -2012,7 +2054,7 @@ const updateOperationSpec = {
2012
2054
  ],
2013
2055
  headerParameters: [accept, contentType],
2014
2056
  mediaType: "json",
2015
- serializer
2057
+ serializer: serializer$5
2016
2058
  };
2017
2059
  const listByResourceGroupOperationSpec = {
2018
2060
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces",
@@ -2032,7 +2074,7 @@ const listByResourceGroupOperationSpec = {
2032
2074
  subscriptionId
2033
2075
  ],
2034
2076
  headerParameters: [accept],
2035
- serializer
2077
+ serializer: serializer$5
2036
2078
  };
2037
2079
  const listBySubscriptionOperationSpec = {
2038
2080
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Databricks/workspaces",
@@ -2048,7 +2090,7 @@ const listBySubscriptionOperationSpec = {
2048
2090
  queryParameters: [apiVersion],
2049
2091
  urlParameters: [$host, subscriptionId],
2050
2092
  headerParameters: [accept],
2051
- serializer
2093
+ serializer: serializer$5
2052
2094
  };
2053
2095
  const listByResourceGroupNextOperationSpec = {
2054
2096
  path: "{nextLink}",
@@ -2069,7 +2111,7 @@ const listByResourceGroupNextOperationSpec = {
2069
2111
  nextLink
2070
2112
  ],
2071
2113
  headerParameters: [accept],
2072
- serializer
2114
+ serializer: serializer$5
2073
2115
  };
2074
2116
  const listBySubscriptionNextOperationSpec = {
2075
2117
  path: "{nextLink}",
@@ -2089,7 +2131,7 @@ const listBySubscriptionNextOperationSpec = {
2089
2131
  nextLink
2090
2132
  ],
2091
2133
  headerParameters: [accept],
2092
- serializer
2134
+ serializer: serializer$5
2093
2135
  };
2094
2136
 
2095
2137
  /*
@@ -2162,7 +2204,7 @@ class OperationsImpl {
2162
2204
  * @param options The options parameters.
2163
2205
  */
2164
2206
  _list(options) {
2165
- return this.client.sendOperationRequest({ options }, listOperationSpec);
2207
+ return this.client.sendOperationRequest({ options }, listOperationSpec$3);
2166
2208
  }
2167
2209
  /**
2168
2210
  * ListNext
@@ -2170,12 +2212,12 @@ class OperationsImpl {
2170
2212
  * @param options The options parameters.
2171
2213
  */
2172
2214
  _listNext(nextLink, options) {
2173
- return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
2215
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$2);
2174
2216
  }
2175
2217
  }
2176
2218
  // Operation Specifications
2177
- const serializer$1 = coreClient.createSerializer(Mappers, /* isXml */ false);
2178
- const listOperationSpec = {
2219
+ const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2220
+ const listOperationSpec$3 = {
2179
2221
  path: "/providers/Microsoft.Databricks/operations",
2180
2222
  httpMethod: "GET",
2181
2223
  responses: {
@@ -2189,9 +2231,9 @@ const listOperationSpec = {
2189
2231
  queryParameters: [apiVersion],
2190
2232
  urlParameters: [$host],
2191
2233
  headerParameters: [accept],
2192
- serializer: serializer$1
2234
+ serializer: serializer$4
2193
2235
  };
2194
- const listNextOperationSpec = {
2236
+ const listNextOperationSpec$2 = {
2195
2237
  path: "{nextLink}",
2196
2238
  httpMethod: "GET",
2197
2239
  responses: {
@@ -2205,7 +2247,7 @@ const listNextOperationSpec = {
2205
2247
  queryParameters: [apiVersion],
2206
2248
  urlParameters: [$host, nextLink],
2207
2249
  headerParameters: [accept],
2208
- serializer: serializer$1
2250
+ serializer: serializer$4
2209
2251
  };
2210
2252
 
2211
2253
  /*
@@ -2282,7 +2324,7 @@ class PrivateLinkResourcesImpl {
2282
2324
  * @param options The options parameters.
2283
2325
  */
2284
2326
  _list(resourceGroupName, workspaceName, options) {
2285
- return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec$1);
2327
+ return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec$2);
2286
2328
  }
2287
2329
  /**
2288
2330
  * Get the specified private link resource for the given group id (sub-resource)
@@ -2292,7 +2334,7 @@ class PrivateLinkResourcesImpl {
2292
2334
  * @param options The options parameters.
2293
2335
  */
2294
2336
  get(resourceGroupName, workspaceName, groupId, options) {
2295
- return this.client.sendOperationRequest({ resourceGroupName, workspaceName, groupId, options }, getOperationSpec$1);
2337
+ return this.client.sendOperationRequest({ resourceGroupName, workspaceName, groupId, options }, getOperationSpec$2);
2296
2338
  }
2297
2339
  /**
2298
2340
  * ListNext
@@ -2306,8 +2348,8 @@ class PrivateLinkResourcesImpl {
2306
2348
  }
2307
2349
  }
2308
2350
  // Operation Specifications
2309
- const serializer$2 = coreClient.createSerializer(Mappers, /* isXml */ false);
2310
- const listOperationSpec$1 = {
2351
+ const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2352
+ const listOperationSpec$2 = {
2311
2353
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateLinkResources",
2312
2354
  httpMethod: "GET",
2313
2355
  responses: {
@@ -2326,9 +2368,9 @@ const listOperationSpec$1 = {
2326
2368
  subscriptionId
2327
2369
  ],
2328
2370
  headerParameters: [accept],
2329
- serializer: serializer$2
2371
+ serializer: serializer$3
2330
2372
  };
2331
- const getOperationSpec$1 = {
2373
+ const getOperationSpec$2 = {
2332
2374
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateLinkResources/{groupId}",
2333
2375
  httpMethod: "GET",
2334
2376
  responses: {
@@ -2348,7 +2390,7 @@ const getOperationSpec$1 = {
2348
2390
  groupId
2349
2391
  ],
2350
2392
  headerParameters: [accept],
2351
- serializer: serializer$2
2393
+ serializer: serializer$3
2352
2394
  };
2353
2395
  const listNextOperationSpec$1 = {
2354
2396
  path: "{nextLink}",
@@ -2370,7 +2412,7 @@ const listNextOperationSpec$1 = {
2370
2412
  nextLink
2371
2413
  ],
2372
2414
  headerParameters: [accept],
2373
- serializer: serializer$2
2415
+ serializer: serializer$3
2374
2416
  };
2375
2417
 
2376
2418
  /*
@@ -2447,7 +2489,7 @@ class PrivateEndpointConnectionsImpl {
2447
2489
  * @param options The options parameters.
2448
2490
  */
2449
2491
  _list(resourceGroupName, workspaceName, options) {
2450
- return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec$2);
2492
+ return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec$1);
2451
2493
  }
2452
2494
  /**
2453
2495
  * Get a private endpoint connection properties for a workspace
@@ -2462,7 +2504,7 @@ class PrivateEndpointConnectionsImpl {
2462
2504
  workspaceName,
2463
2505
  privateEndpointConnectionName,
2464
2506
  options
2465
- }, getOperationSpec$2);
2507
+ }, getOperationSpec$1);
2466
2508
  }
2467
2509
  /**
2468
2510
  * Update the status of a private endpoint connection with the specified name
@@ -2587,12 +2629,12 @@ class PrivateEndpointConnectionsImpl {
2587
2629
  * @param options The options parameters.
2588
2630
  */
2589
2631
  _listNext(resourceGroupName, workspaceName, nextLink, options) {
2590
- return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec$2);
2632
+ return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec);
2591
2633
  }
2592
2634
  }
2593
2635
  // Operation Specifications
2594
- const serializer$3 = coreClient.createSerializer(Mappers, /* isXml */ false);
2595
- const listOperationSpec$2 = {
2636
+ const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2637
+ const listOperationSpec$1 = {
2596
2638
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateEndpointConnections",
2597
2639
  httpMethod: "GET",
2598
2640
  responses: {
@@ -2611,9 +2653,9 @@ const listOperationSpec$2 = {
2611
2653
  subscriptionId
2612
2654
  ],
2613
2655
  headerParameters: [accept],
2614
- serializer: serializer$3
2656
+ serializer: serializer$2
2615
2657
  };
2616
- const getOperationSpec$2 = {
2658
+ const getOperationSpec$1 = {
2617
2659
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
2618
2660
  httpMethod: "GET",
2619
2661
  responses: {
@@ -2633,7 +2675,7 @@ const getOperationSpec$2 = {
2633
2675
  privateEndpointConnectionName
2634
2676
  ],
2635
2677
  headerParameters: [accept],
2636
- serializer: serializer$3
2678
+ serializer: serializer$2
2637
2679
  };
2638
2680
  const createOperationSpec = {
2639
2681
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
@@ -2666,7 +2708,7 @@ const createOperationSpec = {
2666
2708
  ],
2667
2709
  headerParameters: [accept, contentType],
2668
2710
  mediaType: "json",
2669
- serializer: serializer$3
2711
+ serializer: serializer$2
2670
2712
  };
2671
2713
  const deleteOperationSpec$1 = {
2672
2714
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
@@ -2689,9 +2731,9 @@ const deleteOperationSpec$1 = {
2689
2731
  privateEndpointConnectionName
2690
2732
  ],
2691
2733
  headerParameters: [accept],
2692
- serializer: serializer$3
2734
+ serializer: serializer$2
2693
2735
  };
2694
- const listNextOperationSpec$2 = {
2736
+ const listNextOperationSpec = {
2695
2737
  path: "{nextLink}",
2696
2738
  httpMethod: "GET",
2697
2739
  responses: {
@@ -2711,7 +2753,7 @@ const listNextOperationSpec$2 = {
2711
2753
  nextLink
2712
2754
  ],
2713
2755
  headerParameters: [accept],
2714
- serializer: serializer$3
2756
+ serializer: serializer$2
2715
2757
  };
2716
2758
 
2717
2759
  /*
@@ -2739,12 +2781,12 @@ class OutboundNetworkDependenciesEndpointsImpl {
2739
2781
  * @param options The options parameters.
2740
2782
  */
2741
2783
  list(resourceGroupName, workspaceName, options) {
2742
- return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec$3);
2784
+ return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec);
2743
2785
  }
2744
2786
  }
2745
2787
  // Operation Specifications
2746
- const serializer$4 = coreClient.createSerializer(Mappers, /* isXml */ false);
2747
- const listOperationSpec$3 = {
2788
+ const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2789
+ const listOperationSpec = {
2748
2790
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/outboundNetworkDependenciesEndpoints",
2749
2791
  httpMethod: "GET",
2750
2792
  responses: {
@@ -2773,7 +2815,7 @@ const listOperationSpec$3 = {
2773
2815
  subscriptionId
2774
2816
  ],
2775
2817
  headerParameters: [accept],
2776
- serializer: serializer$4
2818
+ serializer: serializer$1
2777
2819
  };
2778
2820
 
2779
2821
  /*
@@ -2851,7 +2893,7 @@ class VNetPeeringImpl {
2851
2893
  * @param options The options parameters.
2852
2894
  */
2853
2895
  get(resourceGroupName, workspaceName, peeringName, options) {
2854
- return this.client.sendOperationRequest({ resourceGroupName, workspaceName, peeringName, options }, getOperationSpec$3);
2896
+ return this.client.sendOperationRequest({ resourceGroupName, workspaceName, peeringName, options }, getOperationSpec);
2855
2897
  }
2856
2898
  /**
2857
2899
  * Deletes the workspace vNetPeering.
@@ -2884,7 +2926,7 @@ class VNetPeeringImpl {
2884
2926
  }
2885
2927
  };
2886
2928
  });
2887
- const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, peeringName, options }, deleteOperationSpec$2);
2929
+ const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, peeringName, options }, deleteOperationSpec);
2888
2930
  return new coreLro.LroEngine(lro, {
2889
2931
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2890
2932
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
@@ -2942,7 +2984,7 @@ class VNetPeeringImpl {
2942
2984
  peeringName,
2943
2985
  virtualNetworkPeeringParameters,
2944
2986
  options
2945
- }, createOrUpdateOperationSpec$1);
2987
+ }, createOrUpdateOperationSpec);
2946
2988
  return new coreLro.LroEngine(lro, {
2947
2989
  resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
2948
2990
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
@@ -2984,8 +3026,8 @@ class VNetPeeringImpl {
2984
3026
  }
2985
3027
  }
2986
3028
  // Operation Specifications
2987
- const serializer$5 = coreClient.createSerializer(Mappers, /* isXml */ false);
2988
- const getOperationSpec$3 = {
3029
+ const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3030
+ const getOperationSpec = {
2989
3031
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/virtualNetworkPeerings/{peeringName}",
2990
3032
  httpMethod: "GET",
2991
3033
  responses: {
@@ -3006,9 +3048,9 @@ const getOperationSpec$3 = {
3006
3048
  peeringName
3007
3049
  ],
3008
3050
  headerParameters: [accept],
3009
- serializer: serializer$5
3051
+ serializer
3010
3052
  };
3011
- const deleteOperationSpec$2 = {
3053
+ const deleteOperationSpec = {
3012
3054
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/virtualNetworkPeerings/{peeringName}",
3013
3055
  httpMethod: "DELETE",
3014
3056
  responses: {
@@ -3029,9 +3071,9 @@ const deleteOperationSpec$2 = {
3029
3071
  peeringName
3030
3072
  ],
3031
3073
  headerParameters: [accept],
3032
- serializer: serializer$5
3074
+ serializer
3033
3075
  };
3034
- const createOrUpdateOperationSpec$1 = {
3076
+ const createOrUpdateOperationSpec = {
3035
3077
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/virtualNetworkPeerings/{peeringName}",
3036
3078
  httpMethod: "PUT",
3037
3079
  responses: {
@@ -3062,7 +3104,7 @@ const createOrUpdateOperationSpec$1 = {
3062
3104
  ],
3063
3105
  headerParameters: [accept, contentType],
3064
3106
  mediaType: "json",
3065
- serializer: serializer$5
3107
+ serializer
3066
3108
  };
3067
3109
  const listByWorkspaceOperationSpec = {
3068
3110
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/virtualNetworkPeerings",
@@ -3083,7 +3125,7 @@ const listByWorkspaceOperationSpec = {
3083
3125
  subscriptionId
3084
3126
  ],
3085
3127
  headerParameters: [accept],
3086
- serializer: serializer$5
3128
+ serializer
3087
3129
  };
3088
3130
  const listByWorkspaceNextOperationSpec = {
3089
3131
  path: "{nextLink}",
@@ -3105,7 +3147,7 @@ const listByWorkspaceNextOperationSpec = {
3105
3147
  nextLink
3106
3148
  ],
3107
3149
  headerParameters: [accept],
3108
- serializer: serializer$5
3150
+ serializer
3109
3151
  };
3110
3152
 
3111
3153
  /*
@@ -3115,7 +3157,7 @@ const listByWorkspaceNextOperationSpec = {
3115
3157
  * Code generated by Microsoft (R) AutoRest Code Generator.
3116
3158
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
3117
3159
  */
3118
- class AzureDatabricksManagementClient extends coreClient.ServiceClient {
3160
+ class AzureDatabricksManagementClient extends coreClient__namespace.ServiceClient {
3119
3161
  /**
3120
3162
  * Initializes a new instance of the AzureDatabricksManagementClient class.
3121
3163
  * @param credentials Subscription credentials which uniquely identify client subscription.