@azure/arm-databricks 2.0.0 → 3.0.0-beta.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 +14 -0
- package/{LICENSE.txt → LICENSE} +1 -1
- package/README.md +66 -82
- 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/{esm → dist-esm/src}/models/mappers.js +578 -549
- 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/{esm → dist-esm/src}/models/parameters.js +77 -51
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +1 -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/{esm/models/index.js → dist-esm/src/operationsInterfaces/operations.js} +2 -1
- 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/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.js} +2 -9
- 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/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/privateEndpointConnections.js} +2 -2
- 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 +65 -32
- package/review/arm-databricks.api.md +742 -0
- package/rollup.config.js +181 -30
- package/src/azureDatabricksManagementClient.ts +42 -39
- package/src/azureDatabricksManagementClientContext.ts +45 -40
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +712 -1127
- package/src/models/mappers.ts +585 -552
- package/src/models/parameters.ts +101 -52
- package/src/operations/index.ts +2 -2
- package/src/operations/operations.ts +82 -70
- package/src/operations/outboundNetworkDependenciesEndpoints.ts +85 -0
- package/src/operations/privateEndpointConnections.ts +326 -184
- package/src/operations/privateLinkResources.ts +141 -123
- package/src/operations/vNetPeering.ts +349 -199
- package/src/operations/workspaces.ts +503 -308
- package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +3 -3
- 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 +3 -3
- package/types/arm-databricks.d.ts +1198 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-databricks.js +0 -2791
- 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/azureDatabricksManagementClient.d.ts +0 -28
- package/esm/azureDatabricksManagementClient.d.ts.map +0 -1
- package/esm/azureDatabricksManagementClient.js +0 -41
- package/esm/azureDatabricksManagementClient.js.map +0 -1
- package/esm/azureDatabricksManagementClientContext.d.ts +0 -21
- package/esm/azureDatabricksManagementClientContext.d.ts.map +0 -1
- package/esm/azureDatabricksManagementClientContext.js +0 -59
- package/esm/azureDatabricksManagementClientContext.js.map +0 -1
- package/esm/models/index.d.ts +0 -1273
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -43
- package/esm/models/mappers.d.ts.map +0 -1
- 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.map +0 -1
- package/esm/models/parameters.d.ts +0 -12
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
- package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.js +0 -9
- package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
- package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
- package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
- package/esm/models/privateLinkResourcesMappers.js +0 -9
- package/esm/models/privateLinkResourcesMappers.js.map +0 -1
- package/esm/models/vNetPeeringMappers.d.ts +0 -2
- package/esm/models/vNetPeeringMappers.d.ts.map +0 -1
- package/esm/models/vNetPeeringMappers.js +0 -9
- package/esm/models/vNetPeeringMappers.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 -9
- package/esm/models/workspacesMappers.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- 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 -79
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/privateEndpointConnections.d.ts +0 -122
- package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
- package/esm/operations/privateEndpointConnections.js +0 -240
- package/esm/operations/privateEndpointConnections.js.map +0 -1
- package/esm/operations/privateLinkResources.d.ts +0 -79
- package/esm/operations/privateLinkResources.d.ts.map +0 -1
- package/esm/operations/privateLinkResources.js +0 -119
- package/esm/operations/privateLinkResources.js.map +0 -1
- package/esm/operations/vNetPeering.d.ts +0 -115
- package/esm/operations/vNetPeering.d.ts.map +0 -1
- package/esm/operations/vNetPeering.js +0 -237
- package/esm/operations/vNetPeering.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 -337
- package/esm/operations/workspaces.js.map +0 -1
- package/src/models/privateEndpointConnectionsMappers.ts +0 -43
- package/src/models/privateLinkResourcesMappers.ts +0 -43
- package/src/models/vNetPeeringMappers.ts +0 -43
- package/src/models/workspacesMappers.ts +0 -44
|
@@ -3,23 +3,33 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
7
|
*/
|
|
9
8
|
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import * as
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PrivateLinkResources } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
14
|
import { AzureDatabricksManagementClientContext } from "../azureDatabricksManagementClientContext";
|
|
15
|
+
import {
|
|
16
|
+
GroupIdInformation,
|
|
17
|
+
PrivateLinkResourcesListNextOptionalParams,
|
|
18
|
+
PrivateLinkResourcesListOptionalParams,
|
|
19
|
+
PrivateLinkResourcesListResponse,
|
|
20
|
+
PrivateLinkResourcesGetOptionalParams,
|
|
21
|
+
PrivateLinkResourcesGetResponse,
|
|
22
|
+
PrivateLinkResourcesListNextResponse
|
|
23
|
+
} from "../models";
|
|
15
24
|
|
|
16
|
-
|
|
17
|
-
|
|
25
|
+
/// <reference lib="esnext.asynciterable" />
|
|
26
|
+
/** Class containing PrivateLinkResources operations. */
|
|
27
|
+
export class PrivateLinkResourcesImpl implements PrivateLinkResources {
|
|
18
28
|
private readonly client: AzureDatabricksManagementClientContext;
|
|
19
29
|
|
|
20
30
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
31
|
+
* Initialize a new instance of the class PrivateLinkResources class.
|
|
32
|
+
* @param client Reference to the service client
|
|
23
33
|
*/
|
|
24
34
|
constructor(client: AzureDatabricksManagementClientContext) {
|
|
25
35
|
this.client = client;
|
|
@@ -27,120 +37,125 @@ export class PrivateLinkResources {
|
|
|
27
37
|
|
|
28
38
|
/**
|
|
29
39
|
* List private link resources for a given workspace
|
|
30
|
-
* @summary List private link resources
|
|
31
40
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
32
41
|
* @param workspaceName The name of the workspace.
|
|
33
|
-
* @param
|
|
34
|
-
* @returns Promise<Models.PrivateLinkResourcesListResponse>
|
|
42
|
+
* @param options The options parameters.
|
|
35
43
|
*/
|
|
36
|
-
list(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
44
|
+
public list(
|
|
45
|
+
resourceGroupName: string,
|
|
46
|
+
workspaceName: string,
|
|
47
|
+
options?: PrivateLinkResourcesListOptionalParams
|
|
48
|
+
): PagedAsyncIterableIterator<GroupIdInformation> {
|
|
49
|
+
const iter = this.listPagingAll(resourceGroupName, workspaceName, options);
|
|
50
|
+
return {
|
|
51
|
+
next() {
|
|
52
|
+
return iter.next();
|
|
53
|
+
},
|
|
54
|
+
[Symbol.asyncIterator]() {
|
|
55
|
+
return this;
|
|
56
|
+
},
|
|
57
|
+
byPage: () => {
|
|
58
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options);
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
private async *listPagingPage(
|
|
64
|
+
resourceGroupName: string,
|
|
65
|
+
workspaceName: string,
|
|
66
|
+
options?: PrivateLinkResourcesListOptionalParams
|
|
67
|
+
): AsyncIterableIterator<GroupIdInformation[]> {
|
|
68
|
+
let result = await this._list(resourceGroupName, workspaceName, options);
|
|
69
|
+
yield result.value || [];
|
|
70
|
+
let continuationToken = result.nextLink;
|
|
71
|
+
while (continuationToken) {
|
|
72
|
+
result = await this._listNext(
|
|
53
73
|
resourceGroupName,
|
|
54
74
|
workspaceName,
|
|
75
|
+
continuationToken,
|
|
55
76
|
options
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
77
|
+
);
|
|
78
|
+
continuationToken = result.nextLink;
|
|
79
|
+
yield result.value || [];
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
private async *listPagingAll(
|
|
84
|
+
resourceGroupName: string,
|
|
85
|
+
workspaceName: string,
|
|
86
|
+
options?: PrivateLinkResourcesListOptionalParams
|
|
87
|
+
): AsyncIterableIterator<GroupIdInformation> {
|
|
88
|
+
for await (const page of this.listPagingPage(
|
|
89
|
+
resourceGroupName,
|
|
90
|
+
workspaceName,
|
|
91
|
+
options
|
|
92
|
+
)) {
|
|
93
|
+
yield* page;
|
|
94
|
+
}
|
|
59
95
|
}
|
|
60
96
|
|
|
61
97
|
/**
|
|
62
|
-
*
|
|
63
|
-
* @summary Get the specified private link resource
|
|
64
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
65
|
-
* @param workspaceName The name of the workspace.
|
|
66
|
-
* @param groupId The name of the private link resource
|
|
67
|
-
* @param [options] The optional parameters
|
|
68
|
-
* @returns Promise<Models.PrivateLinkResourcesGetResponse>
|
|
69
|
-
*/
|
|
70
|
-
get(resourceGroupName: string, workspaceName: string, groupId: string, options?: msRest.RequestOptionsBase): Promise<Models.PrivateLinkResourcesGetResponse>;
|
|
71
|
-
/**
|
|
98
|
+
* List private link resources for a given workspace
|
|
72
99
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
73
100
|
* @param workspaceName The name of the workspace.
|
|
74
|
-
* @param
|
|
75
|
-
* @param callback The callback
|
|
101
|
+
* @param options The options parameters.
|
|
76
102
|
*/
|
|
77
|
-
|
|
103
|
+
private _list(
|
|
104
|
+
resourceGroupName: string,
|
|
105
|
+
workspaceName: string,
|
|
106
|
+
options?: PrivateLinkResourcesListOptionalParams
|
|
107
|
+
): Promise<PrivateLinkResourcesListResponse> {
|
|
108
|
+
return this.client.sendOperationRequest(
|
|
109
|
+
{ resourceGroupName, workspaceName, options },
|
|
110
|
+
listOperationSpec
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
|
|
78
114
|
/**
|
|
115
|
+
* Get the specified private link resource for the given group id (sub-resource)
|
|
79
116
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
80
117
|
* @param workspaceName The name of the workspace.
|
|
81
118
|
* @param groupId The name of the private link resource
|
|
82
|
-
* @param options The
|
|
83
|
-
* @param callback The callback
|
|
119
|
+
* @param options The options parameters.
|
|
84
120
|
*/
|
|
85
|
-
get(
|
|
86
|
-
|
|
121
|
+
get(
|
|
122
|
+
resourceGroupName: string,
|
|
123
|
+
workspaceName: string,
|
|
124
|
+
groupId: string,
|
|
125
|
+
options?: PrivateLinkResourcesGetOptionalParams
|
|
126
|
+
): Promise<PrivateLinkResourcesGetResponse> {
|
|
87
127
|
return this.client.sendOperationRequest(
|
|
88
|
-
{
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
groupId,
|
|
92
|
-
options
|
|
93
|
-
},
|
|
94
|
-
getOperationSpec,
|
|
95
|
-
callback) as Promise<Models.PrivateLinkResourcesGetResponse>;
|
|
128
|
+
{ resourceGroupName, workspaceName, groupId, options },
|
|
129
|
+
getOperationSpec
|
|
130
|
+
);
|
|
96
131
|
}
|
|
97
132
|
|
|
98
133
|
/**
|
|
99
|
-
*
|
|
100
|
-
* @
|
|
101
|
-
* @param
|
|
102
|
-
* @param
|
|
103
|
-
* @
|
|
104
|
-
*/
|
|
105
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.PrivateLinkResourcesListNextResponse>;
|
|
106
|
-
/**
|
|
107
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
108
|
-
* @param callback The callback
|
|
109
|
-
*/
|
|
110
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.PrivateLinkResourcesList>): void;
|
|
111
|
-
/**
|
|
112
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
113
|
-
* @param options The optional parameters
|
|
114
|
-
* @param callback The callback
|
|
134
|
+
* ListNext
|
|
135
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
136
|
+
* @param workspaceName The name of the workspace.
|
|
137
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
138
|
+
* @param options The options parameters.
|
|
115
139
|
*/
|
|
116
|
-
|
|
117
|
-
|
|
140
|
+
private _listNext(
|
|
141
|
+
resourceGroupName: string,
|
|
142
|
+
workspaceName: string,
|
|
143
|
+
nextLink: string,
|
|
144
|
+
options?: PrivateLinkResourcesListNextOptionalParams
|
|
145
|
+
): Promise<PrivateLinkResourcesListNextResponse> {
|
|
118
146
|
return this.client.sendOperationRequest(
|
|
119
|
-
{
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
},
|
|
123
|
-
listNextOperationSpec,
|
|
124
|
-
callback) as Promise<Models.PrivateLinkResourcesListNextResponse>;
|
|
147
|
+
{ resourceGroupName, workspaceName, nextLink, options },
|
|
148
|
+
listNextOperationSpec
|
|
149
|
+
);
|
|
125
150
|
}
|
|
126
151
|
}
|
|
127
|
-
|
|
128
152
|
// Operation Specifications
|
|
129
|
-
const serializer =
|
|
130
|
-
|
|
153
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
154
|
+
|
|
155
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
156
|
+
path:
|
|
157
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateLinkResources",
|
|
131
158
|
httpMethod: "GET",
|
|
132
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateLinkResources",
|
|
133
|
-
urlParameters: [
|
|
134
|
-
Parameters.resourceGroupName,
|
|
135
|
-
Parameters.workspaceName,
|
|
136
|
-
Parameters.subscriptionId
|
|
137
|
-
],
|
|
138
|
-
queryParameters: [
|
|
139
|
-
Parameters.apiVersion0
|
|
140
|
-
],
|
|
141
|
-
headerParameters: [
|
|
142
|
-
Parameters.acceptLanguage
|
|
143
|
-
],
|
|
144
159
|
responses: {
|
|
145
160
|
200: {
|
|
146
161
|
bodyMapper: Mappers.PrivateLinkResourcesList
|
|
@@ -149,24 +164,20 @@ const listOperationSpec: msRest.OperationSpec = {
|
|
|
149
164
|
bodyMapper: Mappers.ErrorResponse
|
|
150
165
|
}
|
|
151
166
|
},
|
|
152
|
-
|
|
153
|
-
};
|
|
154
|
-
|
|
155
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
156
|
-
httpMethod: "GET",
|
|
157
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateLinkResources/{groupId}",
|
|
167
|
+
queryParameters: [Parameters.apiVersion],
|
|
158
168
|
urlParameters: [
|
|
169
|
+
Parameters.$host,
|
|
159
170
|
Parameters.resourceGroupName,
|
|
160
171
|
Parameters.workspaceName,
|
|
161
|
-
Parameters.subscriptionId
|
|
162
|
-
Parameters.groupId
|
|
163
|
-
],
|
|
164
|
-
queryParameters: [
|
|
165
|
-
Parameters.apiVersion0
|
|
166
|
-
],
|
|
167
|
-
headerParameters: [
|
|
168
|
-
Parameters.acceptLanguage
|
|
172
|
+
Parameters.subscriptionId
|
|
169
173
|
],
|
|
174
|
+
headerParameters: [Parameters.accept],
|
|
175
|
+
serializer
|
|
176
|
+
};
|
|
177
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
178
|
+
path:
|
|
179
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateLinkResources/{groupId}",
|
|
180
|
+
httpMethod: "GET",
|
|
170
181
|
responses: {
|
|
171
182
|
200: {
|
|
172
183
|
bodyMapper: Mappers.GroupIdInformation
|
|
@@ -175,22 +186,20 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
|
175
186
|
bodyMapper: Mappers.ErrorResponse
|
|
176
187
|
}
|
|
177
188
|
},
|
|
189
|
+
queryParameters: [Parameters.apiVersion],
|
|
190
|
+
urlParameters: [
|
|
191
|
+
Parameters.$host,
|
|
192
|
+
Parameters.resourceGroupName,
|
|
193
|
+
Parameters.workspaceName,
|
|
194
|
+
Parameters.subscriptionId,
|
|
195
|
+
Parameters.groupId
|
|
196
|
+
],
|
|
197
|
+
headerParameters: [Parameters.accept],
|
|
178
198
|
serializer
|
|
179
199
|
};
|
|
180
|
-
|
|
181
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
|
182
|
-
httpMethod: "GET",
|
|
183
|
-
baseUrl: "https://management.azure.com",
|
|
200
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
184
201
|
path: "{nextLink}",
|
|
185
|
-
|
|
186
|
-
Parameters.nextPageLink
|
|
187
|
-
],
|
|
188
|
-
queryParameters: [
|
|
189
|
-
Parameters.apiVersion0
|
|
190
|
-
],
|
|
191
|
-
headerParameters: [
|
|
192
|
-
Parameters.acceptLanguage
|
|
193
|
-
],
|
|
202
|
+
httpMethod: "GET",
|
|
194
203
|
responses: {
|
|
195
204
|
200: {
|
|
196
205
|
bodyMapper: Mappers.PrivateLinkResourcesList
|
|
@@ -199,5 +208,14 @@ const listNextOperationSpec: msRest.OperationSpec = {
|
|
|
199
208
|
bodyMapper: Mappers.ErrorResponse
|
|
200
209
|
}
|
|
201
210
|
},
|
|
211
|
+
queryParameters: [Parameters.apiVersion],
|
|
212
|
+
urlParameters: [
|
|
213
|
+
Parameters.$host,
|
|
214
|
+
Parameters.resourceGroupName,
|
|
215
|
+
Parameters.workspaceName,
|
|
216
|
+
Parameters.subscriptionId,
|
|
217
|
+
Parameters.nextLink
|
|
218
|
+
],
|
|
219
|
+
headerParameters: [Parameters.accept],
|
|
202
220
|
serializer
|
|
203
221
|
};
|