@azure/arm-databricks 3.0.0-alpha.20211117.1 → 3.0.0-beta.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/CHANGELOG.md +7 -22
- package/README.md +4 -0
- package/dist/index.js +34 -54
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/azureDatabricksManagementClient.d.ts +5 -2
- package/dist-esm/src/azureDatabricksManagementClient.d.ts.map +1 -1
- package/dist-esm/src/azureDatabricksManagementClient.js +32 -3
- package/dist-esm/src/azureDatabricksManagementClient.js.map +1 -1
- package/dist-esm/src/index.d.ts +0 -1
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +0 -1
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +18 -18
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +1 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +29 -29
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts +2 -2
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.d.ts +2 -2
- package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.d.ts.map +1 -1
- package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +2 -2
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.d.ts +2 -2
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/vNetPeering.d.ts +2 -2
- package/dist-esm/src/operations/vNetPeering.d.ts.map +1 -1
- package/dist-esm/src/operations/vNetPeering.js.map +1 -1
- package/dist-esm/src/operations/workspaces.d.ts +2 -2
- package/dist-esm/src/operations/workspaces.d.ts.map +1 -1
- package/dist-esm/src/operations/workspaces.js.map +1 -1
- package/package.json +10 -20
- package/review/arm-databricks.api.md +7 -13
- package/src/azureDatabricksManagementClient.ts +46 -3
- package/src/index.ts +0 -1
- package/src/models/index.ts +19 -19
- package/src/models/mappers.ts +30 -30
- package/src/operations/operations.ts +3 -3
- package/src/operations/outboundNetworkDependenciesEndpoints.ts +3 -3
- package/src/operations/privateEndpointConnections.ts +3 -3
- package/src/operations/privateLinkResources.ts +3 -3
- package/src/operations/vNetPeering.ts +3 -3
- package/src/operations/workspaces.ts +3 -3
- package/types/arm-databricks.d.ts +4 -14
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/src/azureDatabricksManagementClientContext.d.ts +0 -16
- package/dist-esm/src/azureDatabricksManagementClientContext.d.ts.map +0 -1
- package/dist-esm/src/azureDatabricksManagementClientContext.js +0 -49
- package/dist-esm/src/azureDatabricksManagementClientContext.js.map +0 -1
- package/src/azureDatabricksManagementClientContext.ts +0 -70
package/CHANGELOG.md
CHANGED
|
@@ -1,26 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
# Release History
|
|
2
|
+
|
|
3
|
+
## 3.0.0-beta.2 (2021-12-17)
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
The package of @azure/arm-databricks is using our next generation design principles since version 3.0.0-beta.2, which contains breaking changes.
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
|
|
8
10
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
#### Other Changes
|
|
12
|
-
|
|
13
|
-
### 3.0.0-beta.1 (2021-10-29)
|
|
14
|
-
|
|
15
|
-
This is the first preview for the new version of the `@azure/arm-databricks` package that follows the new [guidelines for TypeScript SDKs](https://azure.github.io/azure-sdk/typescript_introduction.html) for Azure services.
|
|
16
|
-
|
|
17
|
-
While this package remains auto generated, the SDK generator itself has undergone changes to comply with the above guidelines in order to generate packages that are idiomatic to the JavaScript/TypeScript ecosystem and consistent with other packages for Azure services. For more on this, please see [State of the Azure SDK 2021](https://devblogs.microsoft.com/azure-sdk/state-of-the-azure-sdk-2021/).
|
|
18
|
-
|
|
19
|
-
Please note that this version has breaking changes, all of which were made after careful consideration during the authoring of the guidelines and user studies.
|
|
20
|
-
|
|
21
|
-
**Noteworthy changes and features**
|
|
22
|
-
- Authentication: The packages `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` are no longer supported. Use package [@azure/identity](https://www.npmjs.com/package/@azure/identity) instead. Select a credential from Azure Identity examples based on the authentication method of your choice.
|
|
23
|
-
- Callbacks: Method overloads that used callbacks have been removed and the use of promises is encouraged instead.
|
|
24
|
-
- List operations now return an iterable result that follows the `PagedAsyncIterableIterator` interface as opposed to the previous model where you had to make a new request using the link to the next page.
|
|
25
|
-
- Long running operations i.e. the Lro related object returned by methods whose names started with `begin`, now uses `pollUntilDone` to check whether the request is finished, instead of `pollUntilFinished`. To get the final result, use the corresponding method that will have the suffix `AndWait`.
|
|
26
|
-
- The SDK only supports ECMAScript 2015 (ES6) and beyond, all projects that referenced this SDK should be upgraded to use ES6.
|
|
11
|
+
To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
|
package/README.md
CHANGED
|
@@ -53,6 +53,10 @@ const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
|
53
53
|
const client = new AzureDatabricksManagementClient(new DefaultAzureCredential(), subscriptionId);
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
+
|
|
57
|
+
### JavaScript Bundle
|
|
58
|
+
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
|
|
59
|
+
|
|
56
60
|
## Key concepts
|
|
57
61
|
|
|
58
62
|
### AzureDatabricksManagementClient
|
package/dist/index.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib = require('tslib');
|
|
6
5
|
var coreClient = require('@azure/core-client');
|
|
6
|
+
var tslib = require('tslib');
|
|
7
7
|
var coreLro = require('@azure/core-lro');
|
|
8
8
|
|
|
9
9
|
/*
|
|
@@ -85,35 +85,6 @@ var coreLro = require('@azure/core-lro');
|
|
|
85
85
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
86
86
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
87
87
|
*/
|
|
88
|
-
const Resource = {
|
|
89
|
-
type: {
|
|
90
|
-
name: "Composite",
|
|
91
|
-
className: "Resource",
|
|
92
|
-
modelProperties: {
|
|
93
|
-
id: {
|
|
94
|
-
serializedName: "id",
|
|
95
|
-
readOnly: true,
|
|
96
|
-
type: {
|
|
97
|
-
name: "String"
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
name: {
|
|
101
|
-
serializedName: "name",
|
|
102
|
-
readOnly: true,
|
|
103
|
-
type: {
|
|
104
|
-
name: "String"
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
type: {
|
|
108
|
-
serializedName: "type",
|
|
109
|
-
readOnly: true,
|
|
110
|
-
type: {
|
|
111
|
-
name: "String"
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
};
|
|
117
88
|
const WorkspaceCustomParameters = {
|
|
118
89
|
type: {
|
|
119
90
|
name: "Composite",
|
|
@@ -689,6 +660,35 @@ const SystemData = {
|
|
|
689
660
|
}
|
|
690
661
|
}
|
|
691
662
|
};
|
|
663
|
+
const Resource = {
|
|
664
|
+
type: {
|
|
665
|
+
name: "Composite",
|
|
666
|
+
className: "Resource",
|
|
667
|
+
modelProperties: {
|
|
668
|
+
id: {
|
|
669
|
+
serializedName: "id",
|
|
670
|
+
readOnly: true,
|
|
671
|
+
type: {
|
|
672
|
+
name: "String"
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
name: {
|
|
676
|
+
serializedName: "name",
|
|
677
|
+
readOnly: true,
|
|
678
|
+
type: {
|
|
679
|
+
name: "String"
|
|
680
|
+
}
|
|
681
|
+
},
|
|
682
|
+
type: {
|
|
683
|
+
serializedName: "type",
|
|
684
|
+
readOnly: true,
|
|
685
|
+
type: {
|
|
686
|
+
name: "String"
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
};
|
|
692
692
|
const ErrorResponse = {
|
|
693
693
|
type: {
|
|
694
694
|
name: "Composite",
|
|
@@ -1378,7 +1378,6 @@ const Workspace = {
|
|
|
1378
1378
|
|
|
1379
1379
|
var Mappers = /*#__PURE__*/Object.freeze({
|
|
1380
1380
|
__proto__: null,
|
|
1381
|
-
Resource: Resource,
|
|
1382
1381
|
WorkspaceCustomParameters: WorkspaceCustomParameters,
|
|
1383
1382
|
WorkspaceCustomStringParameter: WorkspaceCustomStringParameter,
|
|
1384
1383
|
WorkspaceCustomBooleanParameter: WorkspaceCustomBooleanParameter,
|
|
@@ -1398,6 +1397,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
1398
1397
|
PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
|
|
1399
1398
|
Sku: Sku,
|
|
1400
1399
|
SystemData: SystemData,
|
|
1400
|
+
Resource: Resource,
|
|
1401
1401
|
ErrorResponse: ErrorResponse,
|
|
1402
1402
|
ErrorInfo: ErrorInfo,
|
|
1403
1403
|
ErrorDetail: ErrorDetail,
|
|
@@ -3115,9 +3115,9 @@ const listByWorkspaceNextOperationSpec = {
|
|
|
3115
3115
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3116
3116
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3117
3117
|
*/
|
|
3118
|
-
class
|
|
3118
|
+
class AzureDatabricksManagementClient extends coreClient.ServiceClient {
|
|
3119
3119
|
/**
|
|
3120
|
-
* Initializes a new instance of the
|
|
3120
|
+
* Initializes a new instance of the AzureDatabricksManagementClient class.
|
|
3121
3121
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
3122
3122
|
* @param subscriptionId The ID of the target subscription.
|
|
3123
3123
|
* @param options The parameter options
|
|
@@ -3137,7 +3137,7 @@ class AzureDatabricksManagementClientContext extends coreClient.ServiceClient {
|
|
|
3137
3137
|
requestContentType: "application/json; charset=utf-8",
|
|
3138
3138
|
credential: credentials
|
|
3139
3139
|
};
|
|
3140
|
-
const packageDetails = `azsdk-js-arm-databricks/3.0.0-beta.
|
|
3140
|
+
const packageDetails = `azsdk-js-arm-databricks/3.0.0-beta.2`;
|
|
3141
3141
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
3142
3142
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
3143
3143
|
: `${packageDetails}`;
|
|
@@ -3153,25 +3153,6 @@ class AzureDatabricksManagementClientContext extends coreClient.ServiceClient {
|
|
|
3153
3153
|
// Assigning values to Constant parameters
|
|
3154
3154
|
this.$host = options.$host || "https://management.azure.com";
|
|
3155
3155
|
this.apiVersion = options.apiVersion || "2021-04-01-preview";
|
|
3156
|
-
}
|
|
3157
|
-
}
|
|
3158
|
-
|
|
3159
|
-
/*
|
|
3160
|
-
* Copyright (c) Microsoft Corporation.
|
|
3161
|
-
* Licensed under the MIT License.
|
|
3162
|
-
*
|
|
3163
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3164
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3165
|
-
*/
|
|
3166
|
-
class AzureDatabricksManagementClient extends AzureDatabricksManagementClientContext {
|
|
3167
|
-
/**
|
|
3168
|
-
* Initializes a new instance of the AzureDatabricksManagementClient class.
|
|
3169
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
3170
|
-
* @param subscriptionId The ID of the target subscription.
|
|
3171
|
-
* @param options The parameter options
|
|
3172
|
-
*/
|
|
3173
|
-
constructor(credentials, subscriptionId, options) {
|
|
3174
|
-
super(credentials, subscriptionId, options);
|
|
3175
3156
|
this.workspaces = new WorkspacesImpl(this);
|
|
3176
3157
|
this.operations = new OperationsImpl(this);
|
|
3177
3158
|
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
|
@@ -3182,5 +3163,4 @@ class AzureDatabricksManagementClient extends AzureDatabricksManagementClientCon
|
|
|
3182
3163
|
}
|
|
3183
3164
|
|
|
3184
3165
|
exports.AzureDatabricksManagementClient = AzureDatabricksManagementClient;
|
|
3185
|
-
exports.AzureDatabricksManagementClientContext = AzureDatabricksManagementClientContext;
|
|
3186
3166
|
//# sourceMappingURL=index.js.map
|