@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
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PrivateEndpointConnections } from "../operationsInterfaces";
|
|
3
|
+
import { AzureDatabricksManagementClientContext } from "../azureDatabricksManagementClientContext";
|
|
4
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
5
|
+
import { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOptionalParams, PrivateEndpointConnectionsCreateResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models";
|
|
6
|
+
/** Class containing PrivateEndpointConnections operations. */
|
|
7
|
+
export declare class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class PrivateEndpointConnections class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: AzureDatabricksManagementClientContext);
|
|
14
|
+
/**
|
|
15
|
+
* List private endpoint connections of the workspace
|
|
16
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
17
|
+
* @param workspaceName The name of the workspace.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
list(resourceGroupName: string, workspaceName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
|
|
21
|
+
private listPagingPage;
|
|
22
|
+
private listPagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* List private endpoint connections of the workspace
|
|
25
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
|
+
* @param workspaceName The name of the workspace.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
private _list;
|
|
30
|
+
/**
|
|
31
|
+
* Get a private endpoint connection properties for a 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 privateEndpointConnectionName The name of the private endpoint connection
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
get(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Update the status of a private endpoint connection with the specified name
|
|
40
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
41
|
+
* @param workspaceName The name of the workspace.
|
|
42
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
43
|
+
* @param privateEndpointConnection The private endpoint connection with updated properties
|
|
44
|
+
* @param options The options parameters.
|
|
45
|
+
*/
|
|
46
|
+
beginCreate(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateResponse>, PrivateEndpointConnectionsCreateResponse>>;
|
|
47
|
+
/**
|
|
48
|
+
* Update the status of a private endpoint connection with the specified name
|
|
49
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
50
|
+
* @param workspaceName The name of the workspace.
|
|
51
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
52
|
+
* @param privateEndpointConnection The private endpoint connection with updated properties
|
|
53
|
+
* @param options The options parameters.
|
|
54
|
+
*/
|
|
55
|
+
beginCreateAndWait(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOptionalParams): Promise<PrivateEndpointConnectionsCreateResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* Remove private endpoint connection with the specified name
|
|
58
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
59
|
+
* @param workspaceName The name of the workspace.
|
|
60
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
61
|
+
* @param options The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
beginDelete(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
64
|
+
/**
|
|
65
|
+
* Remove private endpoint connection with the specified name
|
|
66
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
67
|
+
* @param workspaceName The name of the workspace.
|
|
68
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
69
|
+
* @param options The options parameters.
|
|
70
|
+
*/
|
|
71
|
+
beginDeleteAndWait(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
|
|
72
|
+
/**
|
|
73
|
+
* ListNext
|
|
74
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
75
|
+
* @param workspaceName The name of the workspace.
|
|
76
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
77
|
+
* @param options The options parameters.
|
|
78
|
+
*/
|
|
79
|
+
private _listNext;
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=privateEndpointConnections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateEndpointConn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kB,CACtB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,6BAA6B,EAAE,MAAM,EACrC,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC;IAWpD;;;;;;OAMG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAwDtD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC;IAUhB;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
import { LroEngine } from "@azure/core-lro";
|
|
13
|
+
import { LroImpl } from "../lroImpl";
|
|
14
|
+
/// <reference lib="esnext.asynciterable" />
|
|
15
|
+
/** Class containing PrivateEndpointConnections operations. */
|
|
16
|
+
export class PrivateEndpointConnectionsImpl {
|
|
17
|
+
/**
|
|
18
|
+
* Initialize a new instance of the class PrivateEndpointConnections class.
|
|
19
|
+
* @param client Reference to the service client
|
|
20
|
+
*/
|
|
21
|
+
constructor(client) {
|
|
22
|
+
this.client = client;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* List private endpoint connections of the workspace
|
|
26
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
27
|
+
* @param workspaceName The name of the workspace.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
list(resourceGroupName, workspaceName, options) {
|
|
31
|
+
const iter = this.listPagingAll(resourceGroupName, workspaceName, options);
|
|
32
|
+
return {
|
|
33
|
+
next() {
|
|
34
|
+
return iter.next();
|
|
35
|
+
},
|
|
36
|
+
[Symbol.asyncIterator]() {
|
|
37
|
+
return this;
|
|
38
|
+
},
|
|
39
|
+
byPage: () => {
|
|
40
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
45
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
46
|
+
let result = yield __await(this._list(resourceGroupName, workspaceName, options));
|
|
47
|
+
yield yield __await(result.value || []);
|
|
48
|
+
let continuationToken = result.nextLink;
|
|
49
|
+
while (continuationToken) {
|
|
50
|
+
result = yield __await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
51
|
+
continuationToken = result.nextLink;
|
|
52
|
+
yield yield __await(result.value || []);
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
listPagingAll(resourceGroupName, workspaceName, options) {
|
|
57
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
58
|
+
var e_1, _a;
|
|
59
|
+
try {
|
|
60
|
+
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, workspaceName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
61
|
+
const page = _c.value;
|
|
62
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
66
|
+
finally {
|
|
67
|
+
try {
|
|
68
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
69
|
+
}
|
|
70
|
+
finally { if (e_1) throw e_1.error; }
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* List private endpoint connections of the workspace
|
|
76
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
77
|
+
* @param workspaceName The name of the workspace.
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
_list(resourceGroupName, workspaceName, options) {
|
|
81
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Get a private endpoint connection properties for a workspace
|
|
85
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
86
|
+
* @param workspaceName The name of the workspace.
|
|
87
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
88
|
+
* @param options The options parameters.
|
|
89
|
+
*/
|
|
90
|
+
get(resourceGroupName, workspaceName, privateEndpointConnectionName, options) {
|
|
91
|
+
return this.client.sendOperationRequest({
|
|
92
|
+
resourceGroupName,
|
|
93
|
+
workspaceName,
|
|
94
|
+
privateEndpointConnectionName,
|
|
95
|
+
options
|
|
96
|
+
}, getOperationSpec);
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Update the status of a private endpoint connection with the specified name
|
|
100
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
101
|
+
* @param workspaceName The name of the workspace.
|
|
102
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
103
|
+
* @param privateEndpointConnection The private endpoint connection with updated properties
|
|
104
|
+
* @param options The options parameters.
|
|
105
|
+
*/
|
|
106
|
+
beginCreate(resourceGroupName, workspaceName, privateEndpointConnectionName, privateEndpointConnection, options) {
|
|
107
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
108
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
109
|
+
return this.client.sendOperationRequest(args, spec);
|
|
110
|
+
});
|
|
111
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
112
|
+
var _a;
|
|
113
|
+
let currentRawResponse = undefined;
|
|
114
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
115
|
+
const callback = (rawResponse, flatResponse) => {
|
|
116
|
+
currentRawResponse = rawResponse;
|
|
117
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
118
|
+
};
|
|
119
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
120
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
121
|
+
return {
|
|
122
|
+
flatResponse,
|
|
123
|
+
rawResponse: {
|
|
124
|
+
statusCode: currentRawResponse.status,
|
|
125
|
+
body: currentRawResponse.parsedBody,
|
|
126
|
+
headers: currentRawResponse.headers.toJSON()
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
});
|
|
130
|
+
const lro = new LroImpl(sendOperation, {
|
|
131
|
+
resourceGroupName,
|
|
132
|
+
workspaceName,
|
|
133
|
+
privateEndpointConnectionName,
|
|
134
|
+
privateEndpointConnection,
|
|
135
|
+
options
|
|
136
|
+
}, createOperationSpec);
|
|
137
|
+
return new LroEngine(lro, {
|
|
138
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
139
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
140
|
+
});
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Update the status of a private endpoint connection with the specified name
|
|
145
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
146
|
+
* @param workspaceName The name of the workspace.
|
|
147
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
148
|
+
* @param privateEndpointConnection The private endpoint connection with updated properties
|
|
149
|
+
* @param options The options parameters.
|
|
150
|
+
*/
|
|
151
|
+
beginCreateAndWait(resourceGroupName, workspaceName, privateEndpointConnectionName, privateEndpointConnection, options) {
|
|
152
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
153
|
+
const poller = yield this.beginCreate(resourceGroupName, workspaceName, privateEndpointConnectionName, privateEndpointConnection, options);
|
|
154
|
+
return poller.pollUntilDone();
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Remove private endpoint connection with the specified name
|
|
159
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
160
|
+
* @param workspaceName The name of the workspace.
|
|
161
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
162
|
+
* @param options The options parameters.
|
|
163
|
+
*/
|
|
164
|
+
beginDelete(resourceGroupName, workspaceName, privateEndpointConnectionName, options) {
|
|
165
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
166
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
167
|
+
return this.client.sendOperationRequest(args, spec);
|
|
168
|
+
});
|
|
169
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
170
|
+
var _a;
|
|
171
|
+
let currentRawResponse = undefined;
|
|
172
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
173
|
+
const callback = (rawResponse, flatResponse) => {
|
|
174
|
+
currentRawResponse = rawResponse;
|
|
175
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
176
|
+
};
|
|
177
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
178
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
179
|
+
return {
|
|
180
|
+
flatResponse,
|
|
181
|
+
rawResponse: {
|
|
182
|
+
statusCode: currentRawResponse.status,
|
|
183
|
+
body: currentRawResponse.parsedBody,
|
|
184
|
+
headers: currentRawResponse.headers.toJSON()
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
});
|
|
188
|
+
const lro = new LroImpl(sendOperation, {
|
|
189
|
+
resourceGroupName,
|
|
190
|
+
workspaceName,
|
|
191
|
+
privateEndpointConnectionName,
|
|
192
|
+
options
|
|
193
|
+
}, deleteOperationSpec);
|
|
194
|
+
return new LroEngine(lro, {
|
|
195
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
196
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
197
|
+
});
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* Remove private endpoint connection with the specified name
|
|
202
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
203
|
+
* @param workspaceName The name of the workspace.
|
|
204
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection
|
|
205
|
+
* @param options The options parameters.
|
|
206
|
+
*/
|
|
207
|
+
beginDeleteAndWait(resourceGroupName, workspaceName, privateEndpointConnectionName, options) {
|
|
208
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
209
|
+
const poller = yield this.beginDelete(resourceGroupName, workspaceName, privateEndpointConnectionName, options);
|
|
210
|
+
return poller.pollUntilDone();
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* ListNext
|
|
215
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
216
|
+
* @param workspaceName The name of the workspace.
|
|
217
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
218
|
+
* @param options The options parameters.
|
|
219
|
+
*/
|
|
220
|
+
_listNext(resourceGroupName, workspaceName, nextLink, options) {
|
|
221
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
// Operation Specifications
|
|
225
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
226
|
+
const listOperationSpec = {
|
|
227
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateEndpointConnections",
|
|
228
|
+
httpMethod: "GET",
|
|
229
|
+
responses: {
|
|
230
|
+
200: {
|
|
231
|
+
bodyMapper: Mappers.PrivateEndpointConnectionsList
|
|
232
|
+
},
|
|
233
|
+
default: {
|
|
234
|
+
bodyMapper: Mappers.ErrorResponse
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
queryParameters: [Parameters.apiVersion],
|
|
238
|
+
urlParameters: [
|
|
239
|
+
Parameters.$host,
|
|
240
|
+
Parameters.resourceGroupName,
|
|
241
|
+
Parameters.workspaceName,
|
|
242
|
+
Parameters.subscriptionId
|
|
243
|
+
],
|
|
244
|
+
headerParameters: [Parameters.accept],
|
|
245
|
+
serializer
|
|
246
|
+
};
|
|
247
|
+
const getOperationSpec = {
|
|
248
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
249
|
+
httpMethod: "GET",
|
|
250
|
+
responses: {
|
|
251
|
+
200: {
|
|
252
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
253
|
+
},
|
|
254
|
+
default: {
|
|
255
|
+
bodyMapper: Mappers.ErrorResponse
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
queryParameters: [Parameters.apiVersion],
|
|
259
|
+
urlParameters: [
|
|
260
|
+
Parameters.$host,
|
|
261
|
+
Parameters.resourceGroupName,
|
|
262
|
+
Parameters.workspaceName,
|
|
263
|
+
Parameters.subscriptionId,
|
|
264
|
+
Parameters.privateEndpointConnectionName
|
|
265
|
+
],
|
|
266
|
+
headerParameters: [Parameters.accept],
|
|
267
|
+
serializer
|
|
268
|
+
};
|
|
269
|
+
const createOperationSpec = {
|
|
270
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
271
|
+
httpMethod: "PUT",
|
|
272
|
+
responses: {
|
|
273
|
+
200: {
|
|
274
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
275
|
+
},
|
|
276
|
+
201: {
|
|
277
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
278
|
+
},
|
|
279
|
+
202: {
|
|
280
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
281
|
+
},
|
|
282
|
+
204: {
|
|
283
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
284
|
+
},
|
|
285
|
+
default: {
|
|
286
|
+
bodyMapper: Mappers.ErrorResponse
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
requestBody: Parameters.privateEndpointConnection,
|
|
290
|
+
queryParameters: [Parameters.apiVersion],
|
|
291
|
+
urlParameters: [
|
|
292
|
+
Parameters.$host,
|
|
293
|
+
Parameters.resourceGroupName,
|
|
294
|
+
Parameters.workspaceName,
|
|
295
|
+
Parameters.subscriptionId,
|
|
296
|
+
Parameters.privateEndpointConnectionName
|
|
297
|
+
],
|
|
298
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
299
|
+
mediaType: "json",
|
|
300
|
+
serializer
|
|
301
|
+
};
|
|
302
|
+
const deleteOperationSpec = {
|
|
303
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
304
|
+
httpMethod: "DELETE",
|
|
305
|
+
responses: {
|
|
306
|
+
200: {},
|
|
307
|
+
201: {},
|
|
308
|
+
202: {},
|
|
309
|
+
204: {},
|
|
310
|
+
default: {
|
|
311
|
+
bodyMapper: Mappers.ErrorResponse
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
queryParameters: [Parameters.apiVersion],
|
|
315
|
+
urlParameters: [
|
|
316
|
+
Parameters.$host,
|
|
317
|
+
Parameters.resourceGroupName,
|
|
318
|
+
Parameters.workspaceName,
|
|
319
|
+
Parameters.subscriptionId,
|
|
320
|
+
Parameters.privateEndpointConnectionName
|
|
321
|
+
],
|
|
322
|
+
headerParameters: [Parameters.accept],
|
|
323
|
+
serializer
|
|
324
|
+
};
|
|
325
|
+
const listNextOperationSpec = {
|
|
326
|
+
path: "{nextLink}",
|
|
327
|
+
httpMethod: "GET",
|
|
328
|
+
responses: {
|
|
329
|
+
200: {
|
|
330
|
+
bodyMapper: Mappers.PrivateEndpointConnectionsList
|
|
331
|
+
},
|
|
332
|
+
default: {
|
|
333
|
+
bodyMapper: Mappers.ErrorResponse
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
queryParameters: [Parameters.apiVersion],
|
|
337
|
+
urlParameters: [
|
|
338
|
+
Parameters.$host,
|
|
339
|
+
Parameters.resourceGroupName,
|
|
340
|
+
Parameters.workspaceName,
|
|
341
|
+
Parameters.subscriptionId,
|
|
342
|
+
Parameters.nextLink
|
|
343
|
+
],
|
|
344
|
+
headerParameters: [Parameters.accept],
|
|
345
|
+
serializer
|
|
346
|
+
};
|
|
347
|
+
//# sourceMappingURL=privateEndpointConnections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB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IACjB,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EACF,yLAAyL;IAC3L,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PrivateLinkResources } from "../operationsInterfaces";
|
|
3
|
+
import { AzureDatabricksManagementClientContext } from "../azureDatabricksManagementClientContext";
|
|
4
|
+
import { GroupIdInformation, PrivateLinkResourcesListOptionalParams, PrivateLinkResourcesGetOptionalParams, PrivateLinkResourcesGetResponse } from "../models";
|
|
5
|
+
/** Class containing PrivateLinkResources operations. */
|
|
6
|
+
export declare class PrivateLinkResourcesImpl implements PrivateLinkResources {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class PrivateLinkResources class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: AzureDatabricksManagementClientContext);
|
|
13
|
+
/**
|
|
14
|
+
* List private link resources for a given workspace
|
|
15
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
|
+
* @param workspaceName The name of the workspace.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
list(resourceGroupName: string, workspaceName: string, options?: PrivateLinkResourcesListOptionalParams): PagedAsyncIterableIterator<GroupIdInformation>;
|
|
20
|
+
private listPagingPage;
|
|
21
|
+
private listPagingAll;
|
|
22
|
+
/**
|
|
23
|
+
* List private link resources for a given workspace
|
|
24
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
|
+
* @param workspaceName The name of the workspace.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
private _list;
|
|
29
|
+
/**
|
|
30
|
+
* Get the specified private link resource for the given group id (sub-resource)
|
|
31
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
32
|
+
* @param workspaceName The name of the workspace.
|
|
33
|
+
* @param groupId The name of the private link resource
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
get(resourceGroupName: string, workspaceName: string, groupId: string, options?: PrivateLinkResourcesGetOptionalParams): Promise<PrivateLinkResourcesGetResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* ListNext
|
|
39
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
40
|
+
* @param workspaceName The name of the workspace.
|
|
41
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
private _listNext;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=privateLinkResources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAI/D,OAAO,EAAE,sCAAsC,EAAE,MAAM,2CAA2C,CAAC;AACnG,OAAO,EACL,kBAAkB,EAElB,sCAAsC,EAEtC,qCAAqC,EACrC,+BAA+B,EAEhC,MAAM,WAAW,CAAC;AAGnB,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyC;IAEhE;;;OAGG;gBACS,MAAM,EAAE,sCAAsC;IAI1D;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,0BAA0B,CAAC,kBAAkB,CAAC;YAelC,cAAc;YAoBd,aAAa;IAc5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;IAO3C;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing PrivateLinkResources operations. */
|
|
14
|
+
export class PrivateLinkResourcesImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class PrivateLinkResources class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* List private link resources for a given workspace
|
|
24
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
|
+
* @param workspaceName The name of the workspace.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
list(resourceGroupName, workspaceName, options) {
|
|
29
|
+
const iter = this.listPagingAll(resourceGroupName, workspaceName, options);
|
|
30
|
+
return {
|
|
31
|
+
next() {
|
|
32
|
+
return iter.next();
|
|
33
|
+
},
|
|
34
|
+
[Symbol.asyncIterator]() {
|
|
35
|
+
return this;
|
|
36
|
+
},
|
|
37
|
+
byPage: () => {
|
|
38
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
43
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
44
|
+
let result = yield __await(this._list(resourceGroupName, workspaceName, options));
|
|
45
|
+
yield yield __await(result.value || []);
|
|
46
|
+
let continuationToken = result.nextLink;
|
|
47
|
+
while (continuationToken) {
|
|
48
|
+
result = yield __await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
49
|
+
continuationToken = result.nextLink;
|
|
50
|
+
yield yield __await(result.value || []);
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
listPagingAll(resourceGroupName, workspaceName, options) {
|
|
55
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
56
|
+
var e_1, _a;
|
|
57
|
+
try {
|
|
58
|
+
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, workspaceName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
59
|
+
const page = _c.value;
|
|
60
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
64
|
+
finally {
|
|
65
|
+
try {
|
|
66
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
67
|
+
}
|
|
68
|
+
finally { if (e_1) throw e_1.error; }
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* List private link resources for a given workspace
|
|
74
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
75
|
+
* @param workspaceName The name of the workspace.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
_list(resourceGroupName, workspaceName, options) {
|
|
79
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Get the specified private link resource for the given group id (sub-resource)
|
|
83
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
84
|
+
* @param workspaceName The name of the workspace.
|
|
85
|
+
* @param groupId The name of the private link resource
|
|
86
|
+
* @param options The options parameters.
|
|
87
|
+
*/
|
|
88
|
+
get(resourceGroupName, workspaceName, groupId, options) {
|
|
89
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, groupId, options }, getOperationSpec);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* ListNext
|
|
93
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
94
|
+
* @param workspaceName The name of the workspace.
|
|
95
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
96
|
+
* @param options The options parameters.
|
|
97
|
+
*/
|
|
98
|
+
_listNext(resourceGroupName, workspaceName, nextLink, options) {
|
|
99
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
// Operation Specifications
|
|
103
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
104
|
+
const listOperationSpec = {
|
|
105
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateLinkResources",
|
|
106
|
+
httpMethod: "GET",
|
|
107
|
+
responses: {
|
|
108
|
+
200: {
|
|
109
|
+
bodyMapper: Mappers.PrivateLinkResourcesList
|
|
110
|
+
},
|
|
111
|
+
default: {
|
|
112
|
+
bodyMapper: Mappers.ErrorResponse
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
queryParameters: [Parameters.apiVersion],
|
|
116
|
+
urlParameters: [
|
|
117
|
+
Parameters.$host,
|
|
118
|
+
Parameters.resourceGroupName,
|
|
119
|
+
Parameters.workspaceName,
|
|
120
|
+
Parameters.subscriptionId
|
|
121
|
+
],
|
|
122
|
+
headerParameters: [Parameters.accept],
|
|
123
|
+
serializer
|
|
124
|
+
};
|
|
125
|
+
const getOperationSpec = {
|
|
126
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateLinkResources/{groupId}",
|
|
127
|
+
httpMethod: "GET",
|
|
128
|
+
responses: {
|
|
129
|
+
200: {
|
|
130
|
+
bodyMapper: Mappers.GroupIdInformation
|
|
131
|
+
},
|
|
132
|
+
default: {
|
|
133
|
+
bodyMapper: Mappers.ErrorResponse
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
queryParameters: [Parameters.apiVersion],
|
|
137
|
+
urlParameters: [
|
|
138
|
+
Parameters.$host,
|
|
139
|
+
Parameters.resourceGroupName,
|
|
140
|
+
Parameters.workspaceName,
|
|
141
|
+
Parameters.subscriptionId,
|
|
142
|
+
Parameters.groupId
|
|
143
|
+
],
|
|
144
|
+
headerParameters: [Parameters.accept],
|
|
145
|
+
serializer
|
|
146
|
+
};
|
|
147
|
+
const listNextOperationSpec = {
|
|
148
|
+
path: "{nextLink}",
|
|
149
|
+
httpMethod: "GET",
|
|
150
|
+
responses: {
|
|
151
|
+
200: {
|
|
152
|
+
bodyMapper: Mappers.PrivateLinkResourcesList
|
|
153
|
+
},
|
|
154
|
+
default: {
|
|
155
|
+
bodyMapper: Mappers.ErrorResponse
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
queryParameters: [Parameters.apiVersion],
|
|
159
|
+
urlParameters: [
|
|
160
|
+
Parameters.$host,
|
|
161
|
+
Parameters.resourceGroupName,
|
|
162
|
+
Parameters.workspaceName,
|
|
163
|
+
Parameters.subscriptionId,
|
|
164
|
+
Parameters.nextLink
|
|
165
|
+
],
|
|
166
|
+
headerParameters: [Parameters.accept],
|
|
167
|
+
serializer
|
|
168
|
+
};
|
|
169
|
+
//# sourceMappingURL=privateLinkResources.js.map
|