@azure/arm-databricks 0.1.0 → 3.0.0-alpha.20211103.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 +26 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +71 -77
- package/dist/index.js +3186 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/azureDatabricksManagementClient.d.ts +20 -0
- package/dist-esm/src/azureDatabricksManagementClient.d.ts.map +1 -0
- package/dist-esm/src/azureDatabricksManagementClient.js +27 -0
- package/dist-esm/src/azureDatabricksManagementClient.js.map +1 -0
- package/dist-esm/src/azureDatabricksManagementClientContext.d.ts +16 -0
- package/dist-esm/src/azureDatabricksManagementClientContext.d.ts.map +1 -0
- package/dist-esm/src/azureDatabricksManagementClientContext.js +49 -0
- package/dist-esm/src/azureDatabricksManagementClientContext.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +839 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +94 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +44 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +1298 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +17 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +149 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +7 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +14 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.d.ts +22 -0
- package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.js +65 -0
- package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +81 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +347 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +46 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +169 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/vNetPeering.d.ts +81 -0
- package/dist-esm/src/operations/vNetPeering.d.ts.map +1 -0
- package/dist-esm/src/operations/vNetPeering.js +338 -0
- package/dist-esm/src/operations/vNetPeering.js.map +1 -0
- package/dist-esm/src/operations/workspaces.d.ts +107 -0
- package/dist-esm/src/operations/workspaces.d.ts.map +1 -0
- package/dist-esm/src/operations/workspaces.js +500 -0
- package/dist-esm/src/operations/workspaces.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +7 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +14 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/vNetPeering.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/vNetPeering.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/vNetPeering.js +9 -0
- package/dist-esm/src/operationsInterfaces/vNetPeering.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts +71 -0
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaces.js +9 -0
- package/dist-esm/src/operationsInterfaces/workspaces.js.map +1 -0
- package/dist-esm/test/databricks_examples.d.ts +2 -0
- package/dist-esm/test/databricks_examples.d.ts.map +1 -0
- package/dist-esm/test/databricks_examples.js +100 -0
- package/dist-esm/test/databricks_examples.js.map +1 -0
- package/package.json +72 -25
- package/review/arm-databricks.api.md +742 -0
- package/rollup.config.js +184 -27
- package/src/azureDatabricksManagementClient.ts +58 -0
- package/src/azureDatabricksManagementClientContext.ts +70 -0
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +960 -0
- package/src/models/mappers.ts +1368 -0
- package/src/models/parameters.ts +174 -0
- package/src/operations/index.ts +14 -0
- package/src/operations/operations.ts +137 -0
- package/src/operations/outboundNetworkDependenciesEndpoints.ts +85 -0
- package/src/operations/privateEndpointConnections.ts +481 -0
- package/src/operations/privateLinkResources.ts +221 -0
- package/src/operations/vNetPeering.ts +483 -0
- package/src/operations/workspaces.ts +674 -0
- package/src/operationsInterfaces/index.ts +14 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.ts +29 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +109 -0
- package/src/operationsInterfaces/privateLinkResources.ts +44 -0
- package/src/operationsInterfaces/vNetPeering.ts +109 -0
- package/src/operationsInterfaces/workspaces.ts +139 -0
- package/tsconfig.json +4 -4
- package/types/arm-databricks.d.ts +1198 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-databricks.js +0 -1078
- package/dist/arm-databricks.js.map +0 -1
- package/dist/arm-databricks.min.js +0 -1
- package/dist/arm-databricks.min.js.map +0 -1
- package/esm/databricksClient.d.ts +0 -19
- package/esm/databricksClient.d.ts.map +0 -1
- package/esm/databricksClient.js +0 -34
- package/esm/databricksClient.js.map +0 -1
- package/esm/databricksClientContext.d.ts +0 -16
- package/esm/databricksClientContext.d.ts.map +0 -1
- package/esm/databricksClientContext.js +0 -56
- package/esm/databricksClientContext.js.map +0 -1
- package/esm/models/index.d.ts +0 -486
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -17
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js +0 -370
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -8
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -80
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/workspacesMappers.d.ts +0 -2
- package/esm/models/workspacesMappers.d.ts.map +0 -1
- package/esm/models/workspacesMappers.js +0 -11
- package/esm/models/workspacesMappers.js.map +0 -1
- package/esm/operations/index.d.ts +0 -3
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -12
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/workspaces.d.ts +0 -156
- package/esm/operations/workspaces.d.ts.map +0 -1
- package/esm/operations/workspaces.js +0 -332
- package/esm/operations/workspaces.js.map +0 -1
- package/lib/databricksClient.ts +0 -44
- package/lib/databricksClientContext.ts +0 -62
- package/lib/models/index.ts +0 -520
- package/lib/models/mappers.ts +0 -396
- package/lib/models/operationsMappers.ts +0 -19
- package/lib/models/parameters.ts +0 -82
- package/lib/models/workspacesMappers.ts +0 -24
- package/lib/operations/index.ts +0 -12
- package/lib/operations/operations.ts +0 -123
- package/lib/operations/workspaces.ts +0 -474
|
@@ -1,474 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
13
|
-
import * as Models from "../models";
|
|
14
|
-
import * as Mappers from "../models/workspacesMappers";
|
|
15
|
-
import * as Parameters from "../models/parameters";
|
|
16
|
-
import { DatabricksClientContext } from "../databricksClientContext";
|
|
17
|
-
|
|
18
|
-
/** Class representing a Workspaces. */
|
|
19
|
-
export class Workspaces {
|
|
20
|
-
private readonly client: DatabricksClientContext;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Create a Workspaces.
|
|
24
|
-
* @param {DatabricksClientContext} client Reference to the service client.
|
|
25
|
-
*/
|
|
26
|
-
constructor(client: DatabricksClientContext) {
|
|
27
|
-
this.client = client;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Gets the workspace.
|
|
32
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
33
|
-
* @param workspaceName The name of the workspace.
|
|
34
|
-
* @param [options] The optional parameters
|
|
35
|
-
* @returns Promise<Models.WorkspacesGetResponse>
|
|
36
|
-
*/
|
|
37
|
-
get(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesGetResponse>;
|
|
38
|
-
/**
|
|
39
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
40
|
-
* @param workspaceName The name of the workspace.
|
|
41
|
-
* @param callback The callback
|
|
42
|
-
*/
|
|
43
|
-
get(resourceGroupName: string, workspaceName: string, callback: msRest.ServiceCallback<Models.Workspace>): void;
|
|
44
|
-
/**
|
|
45
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
46
|
-
* @param workspaceName The name of the workspace.
|
|
47
|
-
* @param options The optional parameters
|
|
48
|
-
* @param callback The callback
|
|
49
|
-
*/
|
|
50
|
-
get(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Workspace>): void;
|
|
51
|
-
get(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Workspace>, callback?: msRest.ServiceCallback<Models.Workspace>): Promise<Models.WorkspacesGetResponse> {
|
|
52
|
-
return this.client.sendOperationRequest(
|
|
53
|
-
{
|
|
54
|
-
resourceGroupName,
|
|
55
|
-
workspaceName,
|
|
56
|
-
options
|
|
57
|
-
},
|
|
58
|
-
getOperationSpec,
|
|
59
|
-
callback) as Promise<Models.WorkspacesGetResponse>;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Deletes the workspace.
|
|
64
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
65
|
-
* @param workspaceName The name of the workspace.
|
|
66
|
-
* @param [options] The optional parameters
|
|
67
|
-
* @returns Promise<msRest.RestResponse>
|
|
68
|
-
*/
|
|
69
|
-
deleteMethod(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
|
|
70
|
-
return this.beginDeleteMethod(resourceGroupName,workspaceName,options)
|
|
71
|
-
.then(lroPoller => lroPoller.pollUntilFinished());
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Creates a new workspace.
|
|
76
|
-
* @param parameters Parameters supplied to the create or update a workspace.
|
|
77
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
78
|
-
* @param workspaceName The name of the workspace.
|
|
79
|
-
* @param [options] The optional parameters
|
|
80
|
-
* @returns Promise<Models.WorkspacesCreateOrUpdateResponse>
|
|
81
|
-
*/
|
|
82
|
-
createOrUpdate(parameters: Models.Workspace, resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesCreateOrUpdateResponse> {
|
|
83
|
-
return this.beginCreateOrUpdate(parameters,resourceGroupName,workspaceName,options)
|
|
84
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.WorkspacesCreateOrUpdateResponse>;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Updates a workspace.
|
|
89
|
-
* @param parameters The update to the workspace.
|
|
90
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
91
|
-
* @param workspaceName The name of the workspace.
|
|
92
|
-
* @param [options] The optional parameters
|
|
93
|
-
* @returns Promise<Models.WorkspacesUpdateResponse>
|
|
94
|
-
*/
|
|
95
|
-
update(parameters: Models.WorkspaceUpdate, resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesUpdateResponse> {
|
|
96
|
-
return this.beginUpdate(parameters,resourceGroupName,workspaceName,options)
|
|
97
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.WorkspacesUpdateResponse>;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* Gets all the workspaces within a resource group.
|
|
102
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
103
|
-
* @param [options] The optional parameters
|
|
104
|
-
* @returns Promise<Models.WorkspacesListByResourceGroupResponse>
|
|
105
|
-
*/
|
|
106
|
-
listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesListByResourceGroupResponse>;
|
|
107
|
-
/**
|
|
108
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
109
|
-
* @param callback The callback
|
|
110
|
-
*/
|
|
111
|
-
listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
112
|
-
/**
|
|
113
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
114
|
-
* @param options The optional parameters
|
|
115
|
-
* @param callback The callback
|
|
116
|
-
*/
|
|
117
|
-
listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
118
|
-
listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.WorkspaceListResult>, callback?: msRest.ServiceCallback<Models.WorkspaceListResult>): Promise<Models.WorkspacesListByResourceGroupResponse> {
|
|
119
|
-
return this.client.sendOperationRequest(
|
|
120
|
-
{
|
|
121
|
-
resourceGroupName,
|
|
122
|
-
options
|
|
123
|
-
},
|
|
124
|
-
listByResourceGroupOperationSpec,
|
|
125
|
-
callback) as Promise<Models.WorkspacesListByResourceGroupResponse>;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* Gets all the workspaces within a subscription.
|
|
130
|
-
* @param [options] The optional parameters
|
|
131
|
-
* @returns Promise<Models.WorkspacesListBySubscriptionResponse>
|
|
132
|
-
*/
|
|
133
|
-
listBySubscription(options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesListBySubscriptionResponse>;
|
|
134
|
-
/**
|
|
135
|
-
* @param callback The callback
|
|
136
|
-
*/
|
|
137
|
-
listBySubscription(callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
138
|
-
/**
|
|
139
|
-
* @param options The optional parameters
|
|
140
|
-
* @param callback The callback
|
|
141
|
-
*/
|
|
142
|
-
listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
143
|
-
listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.WorkspaceListResult>, callback?: msRest.ServiceCallback<Models.WorkspaceListResult>): Promise<Models.WorkspacesListBySubscriptionResponse> {
|
|
144
|
-
return this.client.sendOperationRequest(
|
|
145
|
-
{
|
|
146
|
-
options
|
|
147
|
-
},
|
|
148
|
-
listBySubscriptionOperationSpec,
|
|
149
|
-
callback) as Promise<Models.WorkspacesListBySubscriptionResponse>;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* Deletes the workspace.
|
|
154
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
155
|
-
* @param workspaceName The name of the workspace.
|
|
156
|
-
* @param [options] The optional parameters
|
|
157
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
158
|
-
*/
|
|
159
|
-
beginDeleteMethod(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
160
|
-
return this.client.sendLRORequest(
|
|
161
|
-
{
|
|
162
|
-
resourceGroupName,
|
|
163
|
-
workspaceName,
|
|
164
|
-
options
|
|
165
|
-
},
|
|
166
|
-
beginDeleteMethodOperationSpec,
|
|
167
|
-
options);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* Creates a new workspace.
|
|
172
|
-
* @param parameters Parameters supplied to the create or update a workspace.
|
|
173
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
174
|
-
* @param workspaceName The name of the workspace.
|
|
175
|
-
* @param [options] The optional parameters
|
|
176
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
177
|
-
*/
|
|
178
|
-
beginCreateOrUpdate(parameters: Models.Workspace, resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
179
|
-
return this.client.sendLRORequest(
|
|
180
|
-
{
|
|
181
|
-
parameters,
|
|
182
|
-
resourceGroupName,
|
|
183
|
-
workspaceName,
|
|
184
|
-
options
|
|
185
|
-
},
|
|
186
|
-
beginCreateOrUpdateOperationSpec,
|
|
187
|
-
options);
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* Updates a workspace.
|
|
192
|
-
* @param parameters The update to the workspace.
|
|
193
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
194
|
-
* @param workspaceName The name of the workspace.
|
|
195
|
-
* @param [options] The optional parameters
|
|
196
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
197
|
-
*/
|
|
198
|
-
beginUpdate(parameters: Models.WorkspaceUpdate, resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
199
|
-
return this.client.sendLRORequest(
|
|
200
|
-
{
|
|
201
|
-
parameters,
|
|
202
|
-
resourceGroupName,
|
|
203
|
-
workspaceName,
|
|
204
|
-
options
|
|
205
|
-
},
|
|
206
|
-
beginUpdateOperationSpec,
|
|
207
|
-
options);
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* Gets all the workspaces within a resource group.
|
|
212
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
213
|
-
* @param [options] The optional parameters
|
|
214
|
-
* @returns Promise<Models.WorkspacesListByResourceGroupNextResponse>
|
|
215
|
-
*/
|
|
216
|
-
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesListByResourceGroupNextResponse>;
|
|
217
|
-
/**
|
|
218
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
219
|
-
* @param callback The callback
|
|
220
|
-
*/
|
|
221
|
-
listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
222
|
-
/**
|
|
223
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
224
|
-
* @param options The optional parameters
|
|
225
|
-
* @param callback The callback
|
|
226
|
-
*/
|
|
227
|
-
listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
228
|
-
listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.WorkspaceListResult>, callback?: msRest.ServiceCallback<Models.WorkspaceListResult>): Promise<Models.WorkspacesListByResourceGroupNextResponse> {
|
|
229
|
-
return this.client.sendOperationRequest(
|
|
230
|
-
{
|
|
231
|
-
nextPageLink,
|
|
232
|
-
options
|
|
233
|
-
},
|
|
234
|
-
listByResourceGroupNextOperationSpec,
|
|
235
|
-
callback) as Promise<Models.WorkspacesListByResourceGroupNextResponse>;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* Gets all the workspaces within a subscription.
|
|
240
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
241
|
-
* @param [options] The optional parameters
|
|
242
|
-
* @returns Promise<Models.WorkspacesListBySubscriptionNextResponse>
|
|
243
|
-
*/
|
|
244
|
-
listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.WorkspacesListBySubscriptionNextResponse>;
|
|
245
|
-
/**
|
|
246
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
247
|
-
* @param callback The callback
|
|
248
|
-
*/
|
|
249
|
-
listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
250
|
-
/**
|
|
251
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
252
|
-
* @param options The optional parameters
|
|
253
|
-
* @param callback The callback
|
|
254
|
-
*/
|
|
255
|
-
listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WorkspaceListResult>): void;
|
|
256
|
-
listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.WorkspaceListResult>, callback?: msRest.ServiceCallback<Models.WorkspaceListResult>): Promise<Models.WorkspacesListBySubscriptionNextResponse> {
|
|
257
|
-
return this.client.sendOperationRequest(
|
|
258
|
-
{
|
|
259
|
-
nextPageLink,
|
|
260
|
-
options
|
|
261
|
-
},
|
|
262
|
-
listBySubscriptionNextOperationSpec,
|
|
263
|
-
callback) as Promise<Models.WorkspacesListBySubscriptionNextResponse>;
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
// Operation Specifications
|
|
268
|
-
const serializer = new msRest.Serializer(Mappers);
|
|
269
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
270
|
-
httpMethod: "GET",
|
|
271
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
|
|
272
|
-
urlParameters: [
|
|
273
|
-
Parameters.resourceGroupName,
|
|
274
|
-
Parameters.workspaceName,
|
|
275
|
-
Parameters.subscriptionId
|
|
276
|
-
],
|
|
277
|
-
queryParameters: [
|
|
278
|
-
Parameters.apiVersion
|
|
279
|
-
],
|
|
280
|
-
headerParameters: [
|
|
281
|
-
Parameters.acceptLanguage
|
|
282
|
-
],
|
|
283
|
-
responses: {
|
|
284
|
-
200: {
|
|
285
|
-
bodyMapper: Mappers.Workspace
|
|
286
|
-
},
|
|
287
|
-
404: {},
|
|
288
|
-
default: {
|
|
289
|
-
bodyMapper: Mappers.ErrorResponse
|
|
290
|
-
}
|
|
291
|
-
},
|
|
292
|
-
serializer
|
|
293
|
-
};
|
|
294
|
-
|
|
295
|
-
const listByResourceGroupOperationSpec: msRest.OperationSpec = {
|
|
296
|
-
httpMethod: "GET",
|
|
297
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces",
|
|
298
|
-
urlParameters: [
|
|
299
|
-
Parameters.resourceGroupName,
|
|
300
|
-
Parameters.subscriptionId
|
|
301
|
-
],
|
|
302
|
-
queryParameters: [
|
|
303
|
-
Parameters.apiVersion
|
|
304
|
-
],
|
|
305
|
-
headerParameters: [
|
|
306
|
-
Parameters.acceptLanguage
|
|
307
|
-
],
|
|
308
|
-
responses: {
|
|
309
|
-
200: {
|
|
310
|
-
bodyMapper: Mappers.WorkspaceListResult
|
|
311
|
-
},
|
|
312
|
-
default: {
|
|
313
|
-
bodyMapper: Mappers.ErrorResponse
|
|
314
|
-
}
|
|
315
|
-
},
|
|
316
|
-
serializer
|
|
317
|
-
};
|
|
318
|
-
|
|
319
|
-
const listBySubscriptionOperationSpec: msRest.OperationSpec = {
|
|
320
|
-
httpMethod: "GET",
|
|
321
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Databricks/workspaces",
|
|
322
|
-
urlParameters: [
|
|
323
|
-
Parameters.subscriptionId
|
|
324
|
-
],
|
|
325
|
-
queryParameters: [
|
|
326
|
-
Parameters.apiVersion
|
|
327
|
-
],
|
|
328
|
-
headerParameters: [
|
|
329
|
-
Parameters.acceptLanguage
|
|
330
|
-
],
|
|
331
|
-
responses: {
|
|
332
|
-
200: {
|
|
333
|
-
bodyMapper: Mappers.WorkspaceListResult
|
|
334
|
-
},
|
|
335
|
-
default: {
|
|
336
|
-
bodyMapper: Mappers.ErrorResponse
|
|
337
|
-
}
|
|
338
|
-
},
|
|
339
|
-
serializer
|
|
340
|
-
};
|
|
341
|
-
|
|
342
|
-
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
|
|
343
|
-
httpMethod: "DELETE",
|
|
344
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
|
|
345
|
-
urlParameters: [
|
|
346
|
-
Parameters.resourceGroupName,
|
|
347
|
-
Parameters.workspaceName,
|
|
348
|
-
Parameters.subscriptionId
|
|
349
|
-
],
|
|
350
|
-
queryParameters: [
|
|
351
|
-
Parameters.apiVersion
|
|
352
|
-
],
|
|
353
|
-
headerParameters: [
|
|
354
|
-
Parameters.acceptLanguage
|
|
355
|
-
],
|
|
356
|
-
responses: {
|
|
357
|
-
202: {},
|
|
358
|
-
204: {},
|
|
359
|
-
default: {
|
|
360
|
-
bodyMapper: Mappers.ErrorResponse
|
|
361
|
-
}
|
|
362
|
-
},
|
|
363
|
-
serializer
|
|
364
|
-
};
|
|
365
|
-
|
|
366
|
-
const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
367
|
-
httpMethod: "PUT",
|
|
368
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
|
|
369
|
-
urlParameters: [
|
|
370
|
-
Parameters.resourceGroupName,
|
|
371
|
-
Parameters.workspaceName,
|
|
372
|
-
Parameters.subscriptionId
|
|
373
|
-
],
|
|
374
|
-
queryParameters: [
|
|
375
|
-
Parameters.apiVersion
|
|
376
|
-
],
|
|
377
|
-
headerParameters: [
|
|
378
|
-
Parameters.acceptLanguage
|
|
379
|
-
],
|
|
380
|
-
requestBody: {
|
|
381
|
-
parameterPath: "parameters",
|
|
382
|
-
mapper: {
|
|
383
|
-
...Mappers.Workspace,
|
|
384
|
-
required: true
|
|
385
|
-
}
|
|
386
|
-
},
|
|
387
|
-
responses: {
|
|
388
|
-
200: {
|
|
389
|
-
bodyMapper: Mappers.Workspace
|
|
390
|
-
},
|
|
391
|
-
201: {
|
|
392
|
-
bodyMapper: Mappers.Workspace
|
|
393
|
-
},
|
|
394
|
-
default: {
|
|
395
|
-
bodyMapper: Mappers.ErrorResponse
|
|
396
|
-
}
|
|
397
|
-
},
|
|
398
|
-
serializer
|
|
399
|
-
};
|
|
400
|
-
|
|
401
|
-
const beginUpdateOperationSpec: msRest.OperationSpec = {
|
|
402
|
-
httpMethod: "PATCH",
|
|
403
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
|
|
404
|
-
urlParameters: [
|
|
405
|
-
Parameters.resourceGroupName,
|
|
406
|
-
Parameters.workspaceName,
|
|
407
|
-
Parameters.subscriptionId
|
|
408
|
-
],
|
|
409
|
-
queryParameters: [
|
|
410
|
-
Parameters.apiVersion
|
|
411
|
-
],
|
|
412
|
-
headerParameters: [
|
|
413
|
-
Parameters.acceptLanguage
|
|
414
|
-
],
|
|
415
|
-
requestBody: {
|
|
416
|
-
parameterPath: "parameters",
|
|
417
|
-
mapper: {
|
|
418
|
-
...Mappers.WorkspaceUpdate,
|
|
419
|
-
required: true
|
|
420
|
-
}
|
|
421
|
-
},
|
|
422
|
-
responses: {
|
|
423
|
-
200: {
|
|
424
|
-
bodyMapper: Mappers.Workspace
|
|
425
|
-
},
|
|
426
|
-
202: {},
|
|
427
|
-
default: {
|
|
428
|
-
bodyMapper: Mappers.ErrorResponse
|
|
429
|
-
}
|
|
430
|
-
},
|
|
431
|
-
serializer
|
|
432
|
-
};
|
|
433
|
-
|
|
434
|
-
const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
|
|
435
|
-
httpMethod: "GET",
|
|
436
|
-
baseUrl: "https://management.azure.com",
|
|
437
|
-
path: "{nextLink}",
|
|
438
|
-
urlParameters: [
|
|
439
|
-
Parameters.nextPageLink
|
|
440
|
-
],
|
|
441
|
-
headerParameters: [
|
|
442
|
-
Parameters.acceptLanguage
|
|
443
|
-
],
|
|
444
|
-
responses: {
|
|
445
|
-
200: {
|
|
446
|
-
bodyMapper: Mappers.WorkspaceListResult
|
|
447
|
-
},
|
|
448
|
-
default: {
|
|
449
|
-
bodyMapper: Mappers.ErrorResponse
|
|
450
|
-
}
|
|
451
|
-
},
|
|
452
|
-
serializer
|
|
453
|
-
};
|
|
454
|
-
|
|
455
|
-
const listBySubscriptionNextOperationSpec: msRest.OperationSpec = {
|
|
456
|
-
httpMethod: "GET",
|
|
457
|
-
baseUrl: "https://management.azure.com",
|
|
458
|
-
path: "{nextLink}",
|
|
459
|
-
urlParameters: [
|
|
460
|
-
Parameters.nextPageLink
|
|
461
|
-
],
|
|
462
|
-
headerParameters: [
|
|
463
|
-
Parameters.acceptLanguage
|
|
464
|
-
],
|
|
465
|
-
responses: {
|
|
466
|
-
200: {
|
|
467
|
-
bodyMapper: Mappers.WorkspaceListResult
|
|
468
|
-
},
|
|
469
|
-
default: {
|
|
470
|
-
bodyMapper: Mappers.ErrorResponse
|
|
471
|
-
}
|
|
472
|
-
},
|
|
473
|
-
serializer
|
|
474
|
-
};
|