@azure/arm-databricks 3.0.0-alpha.20231107.1 → 3.0.0-alpha.20231121.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/CHANGELOG.md +3 -13
- package/LICENSE +1 -1
- package/README.md +2 -2
- package/dist/index.js +1031 -215
- 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/samples-dev/accessConnectorsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessConnectorsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessConnectorsCreateOrUpdateSample.js +58 -0
- package/dist-esm/samples-dev/accessConnectorsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/accessConnectorsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessConnectorsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessConnectorsDeleteSample.js +38 -0
- package/dist-esm/samples-dev/accessConnectorsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/accessConnectorsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessConnectorsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessConnectorsGetSample.js +38 -0
- package/dist-esm/samples-dev/accessConnectorsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/accessConnectorsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessConnectorsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessConnectorsListByResourceGroupSample.js +53 -0
- package/dist-esm/samples-dev/accessConnectorsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/accessConnectorsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessConnectorsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessConnectorsListBySubscriptionSample.js +52 -0
- package/dist-esm/samples-dev/accessConnectorsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/accessConnectorsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessConnectorsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessConnectorsUpdateSample.js +39 -0
- package/dist-esm/samples-dev/accessConnectorsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +11 -3
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/outboundNetworkDependenciesEndpointsListSample.js +12 -4
- package/dist-esm/samples-dev/outboundNetworkDependenciesEndpointsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js +12 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +12 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +12 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +12 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +12 -4
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListSample.js +12 -4
- package/dist-esm/samples-dev/privateLinkResourcesListSample.js.map +1 -1
- package/dist-esm/samples-dev/vNetPeeringCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/vNetPeeringCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/vNetPeeringDeleteSample.js +11 -4
- package/dist-esm/samples-dev/vNetPeeringDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/vNetPeeringGetSample.js +11 -4
- package/dist-esm/samples-dev/vNetPeeringGetSample.js.map +1 -1
- package/dist-esm/samples-dev/vNetPeeringListByWorkspaceSample.js +11 -4
- package/dist-esm/samples-dev/vNetPeeringListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +98 -20
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/workspacesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesGetSample.js +33 -8
- package/dist-esm/samples-dev/workspacesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +11 -4
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +10 -3
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesUpdateSample.js +11 -4
- package/dist-esm/samples-dev/workspacesUpdateSample.js.map +1 -1
- package/dist-esm/src/azureDatabricksManagementClient.d.ts +2 -4
- package/dist-esm/src/azureDatabricksManagementClient.d.ts.map +1 -1
- package/dist-esm/src/azureDatabricksManagementClient.js +3 -32
- package/dist-esm/src/azureDatabricksManagementClient.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +172 -4
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +12 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +8 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +243 -2
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +4 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +35 -2
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/accessConnectors.d.ts +107 -0
- package/dist-esm/src/operations/accessConnectors.d.ts.map +1 -0
- package/dist-esm/src/operations/accessConnectors.js +543 -0
- package/dist-esm/src/operations/accessConnectors.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/operations.js +0 -1
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +29 -22
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js +0 -1
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/vNetPeering.d.ts +3 -3
- package/dist-esm/src/operations/vNetPeering.d.ts.map +1 -1
- package/dist-esm/src/operations/vNetPeering.js +24 -17
- package/dist-esm/src/operations/vNetPeering.js.map +1 -1
- package/dist-esm/src/operations/workspaces.d.ts +4 -4
- package/dist-esm/src/operations/workspaces.d.ts.map +1 -1
- package/dist-esm/src/operations/workspaces.js +26 -16
- package/dist-esm/src/operations/workspaces.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/accessConnectors.d.ts +71 -0
- package/dist-esm/src/operationsInterfaces/accessConnectors.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/accessConnectors.js +9 -0
- package/dist-esm/src/operationsInterfaces/accessConnectors.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/vNetPeering.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/vNetPeering.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +4 -4
- package/dist-esm/src/pagingHelper.js +4 -4
- package/package.json +12 -9
- package/review/arm-databricks.api.md +155 -12
- package/src/azureDatabricksManagementClient.ts +7 -39
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +196 -4
- package/src/models/mappers.ts +258 -2
- package/src/models/parameters.ts +41 -2
- package/src/operations/accessConnectors.ts +717 -0
- package/src/operations/index.ts +1 -0
- package/src/operations/operations.ts +0 -1
- package/src/operations/privateEndpointConnections.ts +28 -22
- package/src/operations/privateLinkResources.ts +0 -1
- package/src/operations/vNetPeering.ts +28 -22
- package/src/operations/workspaces.ts +41 -33
- package/src/operationsInterfaces/accessConnectors.ts +139 -0
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +4 -4
- package/src/operationsInterfaces/vNetPeering.ts +4 -4
- package/src/operationsInterfaces/workspaces.ts +6 -6
- package/src/pagingHelper.ts +4 -4
- package/types/arm-databricks.d.ts +279 -20
- package/types/tsdoc-metadata.json +1 -1
|
@@ -10,17 +10,19 @@ import { __asyncValues, __awaiter } from "tslib";
|
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
11
|
import { AzureDatabricksManagementClient } from "@azure/arm-databricks";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
13
15
|
/**
|
|
14
16
|
* This sample demonstrates how to Gets all the workspaces within a resource group.
|
|
15
17
|
*
|
|
16
18
|
* @summary Gets all the workspaces within a resource group.
|
|
17
|
-
* x-ms-original-file: specification/databricks/resource-manager/Microsoft.Databricks/
|
|
19
|
+
* x-ms-original-file: specification/databricks/resource-manager/Microsoft.Databricks/stable/2023-02-01/examples/WorkspacesListByResourceGroup.json
|
|
18
20
|
*/
|
|
19
21
|
function listsWorkspaces() {
|
|
20
22
|
var _a, e_1, _b, _c;
|
|
21
23
|
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
const subscriptionId = "subid";
|
|
23
|
-
const resourceGroupName = "rg";
|
|
24
|
+
const subscriptionId = process.env["DATABRICKS_SUBSCRIPTION_ID"] || "subid";
|
|
25
|
+
const resourceGroupName = process.env["DATABRICKS_RESOURCE_GROUP"] || "rg";
|
|
24
26
|
const credential = new DefaultAzureCredential();
|
|
25
27
|
const client = new AzureDatabricksManagementClient(credential, subscriptionId);
|
|
26
28
|
const resArray = new Array();
|
|
@@ -42,5 +44,10 @@ function listsWorkspaces() {
|
|
|
42
44
|
console.log(resArray);
|
|
43
45
|
});
|
|
44
46
|
}
|
|
45
|
-
|
|
47
|
+
function main() {
|
|
48
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
49
|
+
listsWorkspaces();
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
main().catch(console.error);
|
|
46
53
|
//# sourceMappingURL=workspacesListByResourceGroupSample.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspacesListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,+BAA+B,EAAE,MAAM,uBAAuB,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"workspacesListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,+BAA+B,EAAE,MAAM,uBAAuB,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,eAAe;;;QAC5B,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,OAAO,CAAC;QAC5E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,IAAI,CAAC;QAC3E,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,+BAA+B,CAChD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,UAAU,CAAC,mBAAmB,CAC1D,iBAAiB,CAClB,CAAA,IAAA,sDAAE;gBAFoB,cAEtB;gBAFsB,WAEtB;gBAFU,IAAI,IAAI,KAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,eAAe,EAAE,CAAC;IACpB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -10,16 +10,18 @@ import { __asyncValues, __awaiter } from "tslib";
|
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
11
|
import { AzureDatabricksManagementClient } from "@azure/arm-databricks";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
13
15
|
/**
|
|
14
16
|
* This sample demonstrates how to Gets all the workspaces within a subscription.
|
|
15
17
|
*
|
|
16
18
|
* @summary Gets all the workspaces within a subscription.
|
|
17
|
-
* x-ms-original-file: specification/databricks/resource-manager/Microsoft.Databricks/
|
|
19
|
+
* x-ms-original-file: specification/databricks/resource-manager/Microsoft.Databricks/stable/2023-02-01/examples/WorkspacesListBySubscription.json
|
|
18
20
|
*/
|
|
19
21
|
function listsWorkspaces() {
|
|
20
22
|
var _a, e_1, _b, _c;
|
|
21
23
|
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
const subscriptionId = "subid";
|
|
24
|
+
const subscriptionId = process.env["DATABRICKS_SUBSCRIPTION_ID"] || "subid";
|
|
23
25
|
const credential = new DefaultAzureCredential();
|
|
24
26
|
const client = new AzureDatabricksManagementClient(credential, subscriptionId);
|
|
25
27
|
const resArray = new Array();
|
|
@@ -41,5 +43,10 @@ function listsWorkspaces() {
|
|
|
41
43
|
console.log(resArray);
|
|
42
44
|
});
|
|
43
45
|
}
|
|
44
|
-
|
|
46
|
+
function main() {
|
|
47
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
48
|
+
listsWorkspaces();
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
main().catch(console.error);
|
|
45
52
|
//# sourceMappingURL=workspacesListBySubscriptionSample.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspacesListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesListBySubscriptionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,+BAA+B,EAAE,MAAM,uBAAuB,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"workspacesListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesListBySubscriptionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,+BAA+B,EAAE,MAAM,uBAAuB,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,eAAe;;;QAC5B,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,OAAO,CAAC;QAC5E,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,+BAA+B,CAChD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,UAAU,CAAC,kBAAkB,EAAE,CAAA,IAAA,sDAAE;gBAAxC,cAAsC;gBAAtC,WAAsC;gBAAlD,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,eAAe,EAAE,CAAC;IACpB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
|
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
11
|
import { AzureDatabricksManagementClient } from "@azure/arm-databricks";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
13
15
|
/**
|
|
14
16
|
* This sample demonstrates how to Updates a workspace.
|
|
15
17
|
*
|
|
16
18
|
* @summary Updates a workspace.
|
|
17
|
-
* x-ms-original-file: specification/databricks/resource-manager/Microsoft.Databricks/
|
|
19
|
+
* x-ms-original-file: specification/databricks/resource-manager/Microsoft.Databricks/stable/2023-02-01/examples/WorkspaceUpdate.json
|
|
18
20
|
*/
|
|
19
21
|
function updateAWorkspaceTags() {
|
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const subscriptionId = "subid";
|
|
22
|
-
const resourceGroupName = "rg";
|
|
23
|
+
const subscriptionId = process.env["DATABRICKS_SUBSCRIPTION_ID"] || "subid";
|
|
24
|
+
const resourceGroupName = process.env["DATABRICKS_RESOURCE_GROUP"] || "rg";
|
|
23
25
|
const workspaceName = "myWorkspace";
|
|
24
26
|
const parameters = { tags: { mytag1: "myvalue1" } };
|
|
25
27
|
const credential = new DefaultAzureCredential();
|
|
@@ -28,5 +30,10 @@ function updateAWorkspaceTags() {
|
|
|
28
30
|
console.log(result);
|
|
29
31
|
});
|
|
30
32
|
}
|
|
31
|
-
|
|
33
|
+
function main() {
|
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
35
|
+
updateAWorkspaceTags();
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
main().catch(console.error);
|
|
32
39
|
//# sourceMappingURL=workspacesUpdateSample.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspacesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,+BAA+B,EAChC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"workspacesUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,+BAA+B,EAChC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,oBAAoB;;QACjC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,OAAO,CAAC;QAC5E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,IAAI,IAAI,CAAC;QAC3E,MAAM,aAAa,GAAG,aAAa,CAAC;QACpC,MAAM,UAAU,GAAoB,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE,CAAC;QACrE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,+BAA+B,CAChD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,kBAAkB,CACvD,iBAAiB,EACjB,aAAa,EACb,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,oBAAoB,EAAE,CAAC;IACzB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
2
|
import * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import { Workspaces, Operations, PrivateLinkResources, PrivateEndpointConnections, OutboundNetworkDependenciesEndpoints, VNetPeering } from "./operationsInterfaces";
|
|
3
|
+
import { Workspaces, Operations, PrivateLinkResources, PrivateEndpointConnections, OutboundNetworkDependenciesEndpoints, VNetPeering, AccessConnectors } from "./operationsInterfaces";
|
|
4
4
|
import { AzureDatabricksManagementClientOptionalParams } from "./models";
|
|
5
5
|
export declare class AzureDatabricksManagementClient extends coreClient.ServiceClient {
|
|
6
6
|
$host: string;
|
|
7
|
-
apiVersion: string;
|
|
8
7
|
subscriptionId: string;
|
|
9
8
|
/**
|
|
10
9
|
* Initializes a new instance of the AzureDatabricksManagementClient class.
|
|
@@ -13,13 +12,12 @@ export declare class AzureDatabricksManagementClient extends coreClient.ServiceC
|
|
|
13
12
|
* @param options The parameter options
|
|
14
13
|
*/
|
|
15
14
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureDatabricksManagementClientOptionalParams);
|
|
16
|
-
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
17
|
-
private addCustomApiVersionPolicy;
|
|
18
15
|
workspaces: Workspaces;
|
|
19
16
|
operations: Operations;
|
|
20
17
|
privateLinkResources: PrivateLinkResources;
|
|
21
18
|
privateEndpointConnections: PrivateEndpointConnections;
|
|
22
19
|
outboundNetworkDependenciesEndpoints: OutboundNetworkDependenciesEndpoints;
|
|
23
20
|
vNetPeering: VNetPeering;
|
|
21
|
+
accessConnectors: AccessConnectors;
|
|
24
22
|
}
|
|
25
23
|
//# sourceMappingURL=azureDatabricksManagementClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azureDatabricksManagementClient.d.ts","sourceRoot":"","sources":["../../src/azureDatabricksManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"azureDatabricksManagementClient.d.ts","sourceRoot":"","sources":["../../src/azureDatabricksManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAU7C,OAAO,EACL,UAAU,EACV,UAAU,EACV,oBAAoB,EACpB,0BAA0B,EAC1B,oCAAoC,EACpC,WAAW,EACX,gBAAgB,EACjB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,6CAA6C,EAAE,MAAM,UAAU,CAAC;AAEzE,qBAAa,+BAAgC,SAAQ,UAAU,CAAC,aAAa;IAC3E,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,6CAA6C;IAkFzD,UAAU,EAAE,UAAU,CAAC;IACvB,UAAU,EAAE,UAAU,CAAC;IACvB,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,oCAAoC,EAAE,oCAAoC,CAAC;IAC3E,WAAW,EAAE,WAAW,CAAC;IACzB,gBAAgB,EAAE,gBAAgB,CAAC;CACpC"}
|
|
@@ -5,10 +5,9 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
8
|
import * as coreClient from "@azure/core-client";
|
|
10
9
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
11
|
-
import { WorkspacesImpl, OperationsImpl, PrivateLinkResourcesImpl, PrivateEndpointConnectionsImpl, OutboundNetworkDependenciesEndpointsImpl, VNetPeeringImpl } from "./operations";
|
|
10
|
+
import { WorkspacesImpl, OperationsImpl, PrivateLinkResourcesImpl, PrivateEndpointConnectionsImpl, OutboundNetworkDependenciesEndpointsImpl, VNetPeeringImpl, AccessConnectorsImpl } from "./operations";
|
|
12
11
|
export class AzureDatabricksManagementClient extends coreClient.ServiceClient {
|
|
13
12
|
/**
|
|
14
13
|
* Initializes a new instance of the AzureDatabricksManagementClient class.
|
|
@@ -32,7 +31,7 @@ export class AzureDatabricksManagementClient extends coreClient.ServiceClient {
|
|
|
32
31
|
requestContentType: "application/json; charset=utf-8",
|
|
33
32
|
credential: credentials
|
|
34
33
|
};
|
|
35
|
-
const packageDetails = `azsdk-js-arm-databricks/3.0.0
|
|
34
|
+
const packageDetails = `azsdk-js-arm-databricks/3.0.0`;
|
|
36
35
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
37
36
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
38
37
|
: `${packageDetails}`;
|
|
@@ -65,41 +64,13 @@ export class AzureDatabricksManagementClient extends coreClient.ServiceClient {
|
|
|
65
64
|
this.subscriptionId = subscriptionId;
|
|
66
65
|
// Assigning values to Constant parameters
|
|
67
66
|
this.$host = options.$host || "https://management.azure.com";
|
|
68
|
-
this.apiVersion = options.apiVersion || "2021-04-01-preview";
|
|
69
67
|
this.workspaces = new WorkspacesImpl(this);
|
|
70
68
|
this.operations = new OperationsImpl(this);
|
|
71
69
|
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
|
72
70
|
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
|
73
71
|
this.outboundNetworkDependenciesEndpoints = new OutboundNetworkDependenciesEndpointsImpl(this);
|
|
74
72
|
this.vNetPeering = new VNetPeeringImpl(this);
|
|
75
|
-
this.
|
|
76
|
-
}
|
|
77
|
-
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
78
|
-
addCustomApiVersionPolicy(apiVersion) {
|
|
79
|
-
if (!apiVersion) {
|
|
80
|
-
return;
|
|
81
|
-
}
|
|
82
|
-
const apiVersionPolicy = {
|
|
83
|
-
name: "CustomApiVersionPolicy",
|
|
84
|
-
sendRequest(request, next) {
|
|
85
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
86
|
-
const param = request.url.split("?");
|
|
87
|
-
if (param.length > 1) {
|
|
88
|
-
const newParams = param[1].split("&").map((item) => {
|
|
89
|
-
if (item.indexOf("api-version") > -1) {
|
|
90
|
-
return "api-version=" + apiVersion;
|
|
91
|
-
}
|
|
92
|
-
else {
|
|
93
|
-
return item;
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
request.url = param[0] + "?" + newParams.join("&");
|
|
97
|
-
}
|
|
98
|
-
return next(request);
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
this.pipeline.addPolicy(apiVersionPolicy);
|
|
73
|
+
this.accessConnectors = new AccessConnectorsImpl(this);
|
|
103
74
|
}
|
|
104
75
|
}
|
|
105
76
|
//# sourceMappingURL=azureDatabricksManagementClient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azureDatabricksManagementClient.js","sourceRoot":"","sources":["../../src/azureDatabricksManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"azureDatabricksManagementClient.js","sourceRoot":"","sources":["../../src/azureDatabricksManagementClient.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { LongRunningOperation, LroResponse } from "@azure/core-lro";
|
|
2
|
-
export declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
requestPath: string;
|
|
7
|
-
requestMethod: string;
|
|
8
|
-
constructor(sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>, args: Record<string, unknown>, spec: {
|
|
2
|
+
export declare function createLroSpec<T>(inputs: {
|
|
3
|
+
sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;
|
|
4
|
+
args: Record<string, unknown>;
|
|
5
|
+
spec: {
|
|
9
6
|
readonly requestBody?: unknown;
|
|
10
7
|
readonly path?: string;
|
|
11
8
|
readonly httpMethod: string;
|
|
12
|
-
} & Record<string, any
|
|
13
|
-
|
|
14
|
-
sendPollRequest(path: string): Promise<LroResponse<T>>;
|
|
15
|
-
}
|
|
9
|
+
} & Record<string, any>;
|
|
10
|
+
}): LongRunningOperation<T>;
|
|
16
11
|
//# sourceMappingURL=lroImpl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAmB1B"}
|
package/dist-esm/src/lroImpl.js
CHANGED
|
@@ -5,25 +5,17 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
export
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
sendPollRequest(path) {
|
|
23
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
const _a = this.spec, { requestBody } = _a, restSpec = __rest(_a, ["requestBody"]);
|
|
25
|
-
return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
|
|
26
|
-
});
|
|
27
|
-
}
|
|
8
|
+
import { __rest } from "tslib";
|
|
9
|
+
export function createLroSpec(inputs) {
|
|
10
|
+
const { args, spec, sendOperationFn } = inputs;
|
|
11
|
+
return {
|
|
12
|
+
requestMethod: spec.httpMethod,
|
|
13
|
+
requestPath: spec.path,
|
|
14
|
+
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
15
|
+
sendPollRequest: (path, options) => {
|
|
16
|
+
const { requestBody } = spec, restSpec = __rest(spec, ["requestBody"]);
|
|
17
|
+
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
18
|
+
}
|
|
19
|
+
};
|
|
28
20
|
}
|
|
29
21
|
//# sourceMappingURL=lroImpl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAQH,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,UAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -140,6 +140,8 @@ export interface WorkspacePropertiesEncryption {
|
|
|
140
140
|
export interface EncryptionEntitiesDefinition {
|
|
141
141
|
/** Encryption properties for the databricks managed services. */
|
|
142
142
|
managedServices?: EncryptionV2;
|
|
143
|
+
/** Encryption properties for the databricks managed disks. */
|
|
144
|
+
managedDisk?: ManagedDiskEncryption;
|
|
143
145
|
}
|
|
144
146
|
/** The object that contains details of encryption used on the workspace. */
|
|
145
147
|
export interface EncryptionV2 {
|
|
@@ -157,6 +159,24 @@ export interface EncryptionV2KeyVaultProperties {
|
|
|
157
159
|
/** The version of KeyVault key. */
|
|
158
160
|
keyVersion: string;
|
|
159
161
|
}
|
|
162
|
+
/** The object that contains details of encryption used on the workspace. */
|
|
163
|
+
export interface ManagedDiskEncryption {
|
|
164
|
+
/** The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Keyvault */
|
|
165
|
+
keySource: EncryptionKeySource;
|
|
166
|
+
/** Key Vault input properties for encryption. */
|
|
167
|
+
keyVaultProperties: ManagedDiskEncryptionKeyVaultProperties;
|
|
168
|
+
/** Indicate whether the latest key version should be automatically used for Managed Disk Encryption. */
|
|
169
|
+
rotationToLatestKeyVersionEnabled?: boolean;
|
|
170
|
+
}
|
|
171
|
+
/** Key Vault input properties for encryption. */
|
|
172
|
+
export interface ManagedDiskEncryptionKeyVaultProperties {
|
|
173
|
+
/** The URI of KeyVault. */
|
|
174
|
+
keyVaultUri: string;
|
|
175
|
+
/** The name of KeyVault key. */
|
|
176
|
+
keyName: string;
|
|
177
|
+
/** The version of KeyVault key. */
|
|
178
|
+
keyVersion: string;
|
|
179
|
+
}
|
|
160
180
|
/** The private endpoint connection of a workspace */
|
|
161
181
|
export interface PrivateEndpointConnection {
|
|
162
182
|
/**
|
|
@@ -181,6 +201,8 @@ export interface PrivateEndpointConnection {
|
|
|
181
201
|
export interface PrivateEndpointConnectionProperties {
|
|
182
202
|
/** Private endpoint */
|
|
183
203
|
privateEndpoint?: PrivateEndpoint;
|
|
204
|
+
/** GroupIds from the private link service resource. */
|
|
205
|
+
groupIds?: string[];
|
|
184
206
|
/** Private endpoint connection state */
|
|
185
207
|
privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
|
|
186
208
|
/**
|
|
@@ -204,7 +226,7 @@ export interface PrivateLinkServiceConnectionState {
|
|
|
204
226
|
/** The description for the current state of a private endpoint connection */
|
|
205
227
|
description?: string;
|
|
206
228
|
/** Actions required for a private endpoint connection */
|
|
207
|
-
|
|
229
|
+
actionsRequired?: string;
|
|
208
230
|
}
|
|
209
231
|
/** SKU for the resource. */
|
|
210
232
|
export interface Sku {
|
|
@@ -301,12 +323,14 @@ export interface Operation {
|
|
|
301
323
|
}
|
|
302
324
|
/** The object that represents the operation. */
|
|
303
325
|
export interface OperationDisplay {
|
|
304
|
-
/** Service provider: Microsoft.
|
|
326
|
+
/** Service provider: ex Microsoft.Databricks */
|
|
305
327
|
provider?: string;
|
|
306
328
|
/** Resource on which the operation is performed. */
|
|
307
329
|
resource?: string;
|
|
308
330
|
/** Operation type: Read, write, delete, etc. */
|
|
309
331
|
operation?: string;
|
|
332
|
+
/** Description for the resource operation. */
|
|
333
|
+
description?: string;
|
|
310
334
|
}
|
|
311
335
|
/** The available private link resources for a workspace */
|
|
312
336
|
export interface PrivateLinkResourcesList {
|
|
@@ -422,6 +446,61 @@ export interface VirtualNetworkPeeringList {
|
|
|
422
446
|
/** URL to get the next set of virtual network peering list results if there are any. */
|
|
423
447
|
nextLink?: string;
|
|
424
448
|
}
|
|
449
|
+
/** Managed service identity (system assigned and/or user assigned identities) */
|
|
450
|
+
export interface ManagedServiceIdentity {
|
|
451
|
+
/**
|
|
452
|
+
* The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
|
|
453
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
454
|
+
*/
|
|
455
|
+
readonly principalId?: string;
|
|
456
|
+
/**
|
|
457
|
+
* The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
|
|
458
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
459
|
+
*/
|
|
460
|
+
readonly tenantId?: string;
|
|
461
|
+
/** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
|
|
462
|
+
type: ManagedServiceIdentityType;
|
|
463
|
+
/** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */
|
|
464
|
+
userAssignedIdentities?: {
|
|
465
|
+
[propertyName: string]: UserAssignedIdentity;
|
|
466
|
+
};
|
|
467
|
+
}
|
|
468
|
+
/** User assigned identity properties */
|
|
469
|
+
export interface UserAssignedIdentity {
|
|
470
|
+
/**
|
|
471
|
+
* The principal ID of the assigned identity.
|
|
472
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
473
|
+
*/
|
|
474
|
+
readonly principalId?: string;
|
|
475
|
+
/**
|
|
476
|
+
* The client ID of the assigned identity.
|
|
477
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
478
|
+
*/
|
|
479
|
+
readonly clientId?: string;
|
|
480
|
+
}
|
|
481
|
+
export interface AccessConnectorProperties {
|
|
482
|
+
/**
|
|
483
|
+
* Provisioning status of the accessConnector.
|
|
484
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
485
|
+
*/
|
|
486
|
+
readonly provisioningState?: ProvisioningState;
|
|
487
|
+
}
|
|
488
|
+
/** An update to an azure databricks accessConnector. */
|
|
489
|
+
export interface AccessConnectorUpdate {
|
|
490
|
+
/** Resource tags. */
|
|
491
|
+
tags?: {
|
|
492
|
+
[propertyName: string]: string;
|
|
493
|
+
};
|
|
494
|
+
/** Managed service identity (system assigned and/or user assigned identities) */
|
|
495
|
+
identity?: ManagedServiceIdentity;
|
|
496
|
+
}
|
|
497
|
+
/** List of azure databricks accessConnector. */
|
|
498
|
+
export interface AccessConnectorListResult {
|
|
499
|
+
/** The array of azure databricks accessConnector. */
|
|
500
|
+
value?: AccessConnector[];
|
|
501
|
+
/** The URL to use for getting the next set of results. */
|
|
502
|
+
nextLink?: string;
|
|
503
|
+
}
|
|
425
504
|
/** The resource model definition for a ARM tracked top level resource */
|
|
426
505
|
export interface TrackedResource extends Resource {
|
|
427
506
|
/** Resource tags. */
|
|
@@ -479,6 +558,13 @@ export interface Workspace extends TrackedResource {
|
|
|
479
558
|
readonly workspaceUrl?: string;
|
|
480
559
|
/** The details of Managed Identity of Storage Account */
|
|
481
560
|
storageAccountIdentity?: ManagedIdentityConfiguration;
|
|
561
|
+
/** The details of Managed Identity of Disk Encryption Set used for Managed Disk Encryption */
|
|
562
|
+
managedDiskIdentity?: ManagedIdentityConfiguration;
|
|
563
|
+
/**
|
|
564
|
+
* The resource Id of the managed disk encryption set.
|
|
565
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
566
|
+
*/
|
|
567
|
+
readonly diskEncryptionSetId?: string;
|
|
482
568
|
/** Encryption properties for databricks workspace */
|
|
483
569
|
encryption?: WorkspacePropertiesEncryption;
|
|
484
570
|
/**
|
|
@@ -491,6 +577,18 @@ export interface Workspace extends TrackedResource {
|
|
|
491
577
|
/** Gets or sets a value indicating whether data plane (clusters) to control plane communication happen over private endpoint. Supported values are 'AllRules' and 'NoAzureDatabricksRules'. 'NoAzureServiceRules' value is for internal use only. */
|
|
492
578
|
requiredNsgRules?: RequiredNsgRules;
|
|
493
579
|
}
|
|
580
|
+
/** Information about azure databricks accessConnector. */
|
|
581
|
+
export interface AccessConnector extends TrackedResource {
|
|
582
|
+
/** Managed service identity (system assigned and/or user assigned identities) */
|
|
583
|
+
identity?: ManagedServiceIdentity;
|
|
584
|
+
/**
|
|
585
|
+
* The system metadata relating to this resource
|
|
586
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
587
|
+
*/
|
|
588
|
+
readonly systemData?: SystemData;
|
|
589
|
+
/** Azure Databricks accessConnector properties */
|
|
590
|
+
properties?: AccessConnectorProperties;
|
|
591
|
+
}
|
|
494
592
|
/** Known values of {@link CustomParameterType} that the service accepts. */
|
|
495
593
|
export declare enum KnownCustomParameterType {
|
|
496
594
|
/** Bool */
|
|
@@ -727,6 +825,28 @@ export declare enum KnownPeeringProvisioningState {
|
|
|
727
825
|
* **Failed**
|
|
728
826
|
*/
|
|
729
827
|
export type PeeringProvisioningState = string;
|
|
828
|
+
/** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
|
|
829
|
+
export declare enum KnownManagedServiceIdentityType {
|
|
830
|
+
/** None */
|
|
831
|
+
None = "None",
|
|
832
|
+
/** SystemAssigned */
|
|
833
|
+
SystemAssigned = "SystemAssigned",
|
|
834
|
+
/** UserAssigned */
|
|
835
|
+
UserAssigned = "UserAssigned",
|
|
836
|
+
/** SystemAssignedUserAssigned */
|
|
837
|
+
SystemAssignedUserAssigned = "SystemAssigned,UserAssigned"
|
|
838
|
+
}
|
|
839
|
+
/**
|
|
840
|
+
* Defines values for ManagedServiceIdentityType. \
|
|
841
|
+
* {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,
|
|
842
|
+
* this enum contains the known values that the service supports.
|
|
843
|
+
* ### Known values supported by the service
|
|
844
|
+
* **None** \
|
|
845
|
+
* **SystemAssigned** \
|
|
846
|
+
* **UserAssigned** \
|
|
847
|
+
* **SystemAssigned,UserAssigned**
|
|
848
|
+
*/
|
|
849
|
+
export type ManagedServiceIdentityType = string;
|
|
730
850
|
/** Optional parameters. */
|
|
731
851
|
export interface WorkspacesGetOptionalParams extends coreClient.OperationOptions {
|
|
732
852
|
}
|
|
@@ -870,11 +990,59 @@ export interface VNetPeeringListByWorkspaceNextOptionalParams extends coreClient
|
|
|
870
990
|
/** Contains response data for the listByWorkspaceNext operation. */
|
|
871
991
|
export type VNetPeeringListByWorkspaceNextResponse = VirtualNetworkPeeringList;
|
|
872
992
|
/** Optional parameters. */
|
|
993
|
+
export interface AccessConnectorsGetOptionalParams extends coreClient.OperationOptions {
|
|
994
|
+
}
|
|
995
|
+
/** Contains response data for the get operation. */
|
|
996
|
+
export type AccessConnectorsGetResponse = AccessConnector;
|
|
997
|
+
/** Optional parameters. */
|
|
998
|
+
export interface AccessConnectorsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
999
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1000
|
+
updateIntervalInMs?: number;
|
|
1001
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1002
|
+
resumeFrom?: string;
|
|
1003
|
+
}
|
|
1004
|
+
/** Optional parameters. */
|
|
1005
|
+
export interface AccessConnectorsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1006
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1007
|
+
updateIntervalInMs?: number;
|
|
1008
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1009
|
+
resumeFrom?: string;
|
|
1010
|
+
}
|
|
1011
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1012
|
+
export type AccessConnectorsCreateOrUpdateResponse = AccessConnector;
|
|
1013
|
+
/** Optional parameters. */
|
|
1014
|
+
export interface AccessConnectorsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1015
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1016
|
+
updateIntervalInMs?: number;
|
|
1017
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1018
|
+
resumeFrom?: string;
|
|
1019
|
+
}
|
|
1020
|
+
/** Contains response data for the update operation. */
|
|
1021
|
+
export type AccessConnectorsUpdateResponse = AccessConnector;
|
|
1022
|
+
/** Optional parameters. */
|
|
1023
|
+
export interface AccessConnectorsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1024
|
+
}
|
|
1025
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
1026
|
+
export type AccessConnectorsListByResourceGroupResponse = AccessConnectorListResult;
|
|
1027
|
+
/** Optional parameters. */
|
|
1028
|
+
export interface AccessConnectorsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1029
|
+
}
|
|
1030
|
+
/** Contains response data for the listBySubscription operation. */
|
|
1031
|
+
export type AccessConnectorsListBySubscriptionResponse = AccessConnectorListResult;
|
|
1032
|
+
/** Optional parameters. */
|
|
1033
|
+
export interface AccessConnectorsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1034
|
+
}
|
|
1035
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
1036
|
+
export type AccessConnectorsListByResourceGroupNextResponse = AccessConnectorListResult;
|
|
1037
|
+
/** Optional parameters. */
|
|
1038
|
+
export interface AccessConnectorsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
1039
|
+
}
|
|
1040
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
1041
|
+
export type AccessConnectorsListBySubscriptionNextResponse = AccessConnectorListResult;
|
|
1042
|
+
/** Optional parameters. */
|
|
873
1043
|
export interface AzureDatabricksManagementClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
874
1044
|
/** server parameter */
|
|
875
1045
|
$host?: string;
|
|
876
|
-
/** Api Version */
|
|
877
|
-
apiVersion?: string;
|
|
878
1046
|
/** Overrides client endpoint. */
|
|
879
1047
|
endpoint?: string;
|
|
880
1048
|
}
|