@databricks/sdk-networking 0.33.0 → 0.35.0
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/dist/package.js +7 -0
- package/dist/package.js.map +1 -0
- package/dist/v1/client.d.ts +267 -263
- package/dist/v1/client.d.ts.map +1 -1
- package/dist/v1/client.js +1080 -1306
- package/dist/v1/client.js.map +1 -1
- package/dist/v1/index.d.ts +3 -8
- package/dist/v1/index.js +4 -8
- package/dist/v1/model.d.ts +1514 -1564
- package/dist/v1/model.d.ts.map +1 -1
- package/dist/v1/model.js +1504 -2393
- package/dist/v1/model.js.map +1 -1
- package/dist/v1/transport.d.ts +21 -17
- package/dist/v1/transport.d.ts.map +1 -1
- package/dist/v1/transport.js +60 -69
- package/dist/v1/transport.js.map +1 -1
- package/dist/v1/utils.d.ts +18 -14
- package/dist/v1/utils.d.ts.map +1 -1
- package/dist/v1/utils.js +76 -103
- package/dist/v1/utils.js.map +1 -1
- package/package.json +5 -5
- package/dist/v1/index.d.ts.map +0 -1
- package/dist/v1/index.js.map +0 -1
package/dist/package.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package.js","names":[],"sources":["../package.json"],"sourcesContent":[""],"mappings":""}
|
package/dist/v1/client.d.ts
CHANGED
|
@@ -1,265 +1,269 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
1
|
+
import { AccountNetworkPolicy, CreateAccountIpAccessListRequest, CreateAccountIpAccessListResponse, CreateEndpointRequest, CreateIpAccessListRequest, CreateIpAccessListResponse, CreateNccPrivateEndpointRuleRequest, CreateNetworkConnectivityConfigRequest, CreateNetworkPolicyRequest, CreateNetworkRequest, CreatePrivateAccessSettingsRequest, CreateVpcEndpointRequest, DeleteAccountIpAccessListRequest, DeleteAccountIpAccessListResponse, DeleteEndpointRequest, DeleteIpAccessListRequest, DeleteIpAccessListResponse, DeleteNccPrivateEndpointRuleRequest, DeleteNetworkConnectivityConfigRequest, DeleteNetworkPolicyRequest, DeleteNetworkRequest, DeletePrivateAccessSettingsRequest, DeleteVpcEndpointRequest, Endpoint, GetAccountIpAccessListRequest, GetAccountIpAccessListResponse, GetEndpointRequest, GetIpAccessListRequest, GetIpAccessListResponse, GetNccPrivateEndpointRuleRequest, GetNetworkConnectivityConfigRequest, GetNetworkPolicyRequest, GetNetworkRequest, GetPrivateAccessSettingsRequest, GetVpcEndpointRequest, GetWorkspaceNetworkOptionRequest, ListAccountIpAccessListsRequest, ListAccountIpAccessListsResponse, ListEndpointsRequest, ListEndpointsResponse, ListIpAccessLists, ListIpAccessListsResponse, ListNccPrivateEndpointRulesRequest, ListNccPrivateEndpointRulesResponse, ListNetworkConnectivityConfigsRequest, ListNetworkConnectivityConfigsResponse, ListNetworkPoliciesRequest, ListNetworkPoliciesResponse, ListNetworkRequest, ListNetworkResponse, ListPrivateAccessSettingsRequest, ListPrivateAccessSettingsResponse, ListVpcEndpointRequest, ListVpcEndpointResponse, NccPrivateEndpointRule, Network, NetworkConnectivityConfig, PrivateAccessSettings, ReplaceAccountIpAccessListRequest, ReplaceAccountIpAccessListResponse, ReplaceIpAccessListRequest, ReplaceIpAccessListResponse, UpdateAccountIpAccessListRequest, UpdateAccountIpAccessListResponse, UpdateIpAccessListRequest, UpdateIpAccessListResponse, UpdateNccPrivateEndpointRuleRequest, UpdateNetworkPolicyRequest, UpdatePrivateAccessSettingsRequest, UpdateWorkspaceNetworkOptionRequest, VpcEndpoint, WorkspaceNetworkOption } from "./model.js";
|
|
2
|
+
import { CallOptions } from "@databricks/sdk-options/call";
|
|
3
|
+
import { ClientOptions } from "@databricks/sdk-options/client";
|
|
4
|
+
|
|
5
|
+
//#region src/v1/client.d.ts
|
|
6
|
+
declare class NetworkingClient {
|
|
7
|
+
private readonly options;
|
|
8
|
+
private readonly logger;
|
|
9
|
+
private readonly userAgent;
|
|
10
|
+
private config;
|
|
11
|
+
constructor(options: ClientOptions);
|
|
12
|
+
private resolveConfig;
|
|
13
|
+
/**
|
|
14
|
+
* Creates an IP access list for the account.
|
|
15
|
+
*
|
|
16
|
+
* A list can be an allow list or a block list. See the top of this file for a description of
|
|
17
|
+
* how the server treats allow lists and block lists at runtime.
|
|
18
|
+
*
|
|
19
|
+
* When creating or updating an IP access list:
|
|
20
|
+
*
|
|
21
|
+
* * For all allow lists and block lists combined, the API supports a maximum of 1000
|
|
22
|
+
* IP/CIDR values, where one CIDR counts as a single value. Attempts to exceed that number
|
|
23
|
+
* return error 400 with `error_code` value `QUOTA_EXCEEDED`.
|
|
24
|
+
* * If the new list would block the calling user's current IP, error 400 is returned with
|
|
25
|
+
* `error_code` value `INVALID_STATE`.
|
|
26
|
+
*
|
|
27
|
+
* It can take a few minutes for the changes to take effect.
|
|
28
|
+
*/
|
|
29
|
+
createAccountIpAccessList(req: CreateAccountIpAccessListRequest, options?: CallOptions): Promise<CreateAccountIpAccessListResponse>;
|
|
30
|
+
/** Deletes an IP access list, specified by its list ID. */
|
|
31
|
+
deleteAccountIpAccessList(req: DeleteAccountIpAccessListRequest, options?: CallOptions): Promise<DeleteAccountIpAccessListResponse>;
|
|
32
|
+
/** Gets an IP access list, specified by its list ID. */
|
|
33
|
+
getAccountIpAccessList(req: GetAccountIpAccessListRequest, options?: CallOptions): Promise<GetAccountIpAccessListResponse>;
|
|
34
|
+
/** Gets all IP access lists for the specified account. */
|
|
35
|
+
listAccountIpAccessLists(req: ListAccountIpAccessListsRequest, options?: CallOptions): Promise<ListAccountIpAccessListsResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* Replaces an IP access list, specified by its ID.
|
|
38
|
+
*
|
|
39
|
+
* A list can include allow lists and block lists. See the top of this file for a description
|
|
40
|
+
* of how the server treats allow lists and block lists at run time. When replacing an IP
|
|
41
|
+
* access list:
|
|
42
|
+
* * For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR values,
|
|
43
|
+
* where one CIDR counts as a single value. Attempts to exceed that number return error 400 with `error_code`
|
|
44
|
+
* value `QUOTA_EXCEEDED`.
|
|
45
|
+
* * If the resulting list would block the calling user's current IP, error 400 is returned with `error_code`
|
|
46
|
+
* value `INVALID_STATE`.
|
|
47
|
+
* It can take a few minutes for the changes to take effect.
|
|
48
|
+
*/
|
|
49
|
+
replaceAccountIpAccessList(req: ReplaceAccountIpAccessListRequest, options?: CallOptions): Promise<ReplaceAccountIpAccessListResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* Updates an existing IP access list, specified by its ID.
|
|
52
|
+
*
|
|
53
|
+
* A list can include allow lists and block lists. See the top of this file for a description
|
|
54
|
+
* of how the server treats allow lists and block lists at run time.
|
|
55
|
+
*
|
|
56
|
+
* When updating an IP access list:
|
|
57
|
+
*
|
|
58
|
+
* * For all allow lists and block lists combined, the API supports a maximum of 1000
|
|
59
|
+
* IP/CIDR values, where one CIDR counts as a single value. Attempts to exceed that number
|
|
60
|
+
* return error 400 with `error_code` value `QUOTA_EXCEEDED`.
|
|
61
|
+
* * If the updated list would block the calling user's current IP, error 400 is returned
|
|
62
|
+
* with `error_code` value `INVALID_STATE`.
|
|
63
|
+
*
|
|
64
|
+
* It can take a few minutes for the changes to take effect.
|
|
65
|
+
*/
|
|
66
|
+
updateAccountIpAccessList(req: UpdateAccountIpAccessListRequest, options?: CallOptions): Promise<UpdateAccountIpAccessListResponse>;
|
|
67
|
+
/**
|
|
68
|
+
* Creates a new network connectivity endpoint that enables private connectivity
|
|
69
|
+
* between your network resources and <Databricks> services.
|
|
70
|
+
*
|
|
71
|
+
* After creation, the endpoint is initially in the PENDING state. The <Databricks>
|
|
72
|
+
* endpoint service automatically reviews and approves the endpoint within a few
|
|
73
|
+
* minutes. Use the GET method to retrieve the latest endpoint state.
|
|
74
|
+
*
|
|
75
|
+
* An endpoint can be used only after it reaches the APPROVED state.
|
|
76
|
+
*/
|
|
77
|
+
createEndpoint(req: CreateEndpointRequest, options?: CallOptions): Promise<Endpoint>;
|
|
78
|
+
/**
|
|
79
|
+
* Deletes a network endpoint. This will remove the endpoint configuration from <Databricks>.
|
|
80
|
+
* Depending on the endpoint type and use case, you may also need to delete corresponding network resources
|
|
81
|
+
* in your cloud provider account.
|
|
82
|
+
*/
|
|
83
|
+
deleteEndpoint(req: DeleteEndpointRequest, options?: CallOptions): Promise<void>;
|
|
84
|
+
/** Gets details of a specific network endpoint. */
|
|
85
|
+
getEndpoint(req: GetEndpointRequest, options?: CallOptions): Promise<Endpoint>;
|
|
86
|
+
/** Lists all network connectivity endpoints for the account. */
|
|
87
|
+
listEndpoints(req: ListEndpointsRequest, options?: CallOptions): Promise<ListEndpointsResponse>;
|
|
88
|
+
listEndpointsIter(req: ListEndpointsRequest, options?: CallOptions): AsyncGenerator<Endpoint>;
|
|
89
|
+
/**
|
|
90
|
+
* Creates an IP access list for this workspace.
|
|
91
|
+
*
|
|
92
|
+
* A list can be an allow list or a block list.
|
|
93
|
+
* See the top of this file for a description of how the server treats allow lists and block lists at runtime.
|
|
94
|
+
*
|
|
95
|
+
* When creating or updating an IP access list:
|
|
96
|
+
*
|
|
97
|
+
* * For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR values,
|
|
98
|
+
* where one CIDR counts as a single value. Attempts to exceed that number return error 400 with `error_code` value `QUOTA_EXCEEDED`.
|
|
99
|
+
* * If the new list would block the calling user's current IP, error 400 is returned with `error_code` value `INVALID_STATE`.
|
|
100
|
+
*
|
|
101
|
+
* It can take a few minutes for the changes to take effect. **Note**: Your new IP access list has no effect until you enable the feature. See [workspaceconf/setStatus](https://docs.databricks.com/api/workspace/workspaceconf/setstatus)
|
|
102
|
+
*/
|
|
103
|
+
createIpAccessList(req: CreateIpAccessListRequest, options?: CallOptions): Promise<CreateIpAccessListResponse>;
|
|
104
|
+
/** Deletes an IP access list, specified by its list ID. */
|
|
105
|
+
deleteIpAccessList(req: DeleteIpAccessListRequest, options?: CallOptions): Promise<DeleteIpAccessListResponse>;
|
|
106
|
+
/** Gets an IP access list, specified by its list ID. */
|
|
107
|
+
getIpAccessList(req: GetIpAccessListRequest, options?: CallOptions): Promise<GetIpAccessListResponse>;
|
|
108
|
+
/** Gets all IP access lists for the specified workspace. */
|
|
109
|
+
listIpAccessLists(_req: ListIpAccessLists, options?: CallOptions): Promise<ListIpAccessListsResponse>;
|
|
110
|
+
/**
|
|
111
|
+
* Replaces an IP access list, specified by its ID.
|
|
112
|
+
*
|
|
113
|
+
* A list can include allow lists and block lists. See the top
|
|
114
|
+
* of this file for a description of how the server treats allow lists and block lists at run time. When
|
|
115
|
+
* replacing an IP access list:
|
|
116
|
+
* * For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR values,
|
|
117
|
+
* where one CIDR counts as a single value. Attempts to exceed that number return error 400 with `error_code`
|
|
118
|
+
* value `QUOTA_EXCEEDED`.
|
|
119
|
+
* * If the resulting list would block the calling user's current IP, error 400 is returned with `error_code`
|
|
120
|
+
* value `INVALID_STATE`.
|
|
121
|
+
* It can take a few minutes for the changes to take effect. Note that your resulting IP access list has no
|
|
122
|
+
* effect until you enable the feature. See [workspaceconf/setStatus](https://docs.databricks.com/api/workspace/workspaceconf/setstatus).
|
|
123
|
+
*/
|
|
124
|
+
replaceIpAccessList(req: ReplaceIpAccessListRequest, options?: CallOptions): Promise<ReplaceIpAccessListResponse>;
|
|
125
|
+
/**
|
|
126
|
+
* Updates an existing IP access list, specified by its ID.
|
|
127
|
+
*
|
|
128
|
+
* A list can include allow lists and block lists.
|
|
129
|
+
* See the top of this file for a description of how the server treats allow lists and block lists at run time.
|
|
130
|
+
*
|
|
131
|
+
* When updating an IP access list:
|
|
132
|
+
*
|
|
133
|
+
* * For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR values,
|
|
134
|
+
* where one CIDR counts as a single value. Attempts to exceed that number return error 400 with `error_code` value `QUOTA_EXCEEDED`.
|
|
135
|
+
* * If the updated list would block the calling user's current IP, error 400 is returned with `error_code` value `INVALID_STATE`.
|
|
136
|
+
*
|
|
137
|
+
* It can take a few minutes for the changes to take effect. Note that your resulting IP access list has no effect until you enable
|
|
138
|
+
* the feature. See [workspaceconf/setStatus](https://docs.databricks.com/api/workspace/workspaceconf/setstatus).
|
|
139
|
+
*/
|
|
140
|
+
updateIpAccessList(req: UpdateIpAccessListRequest, options?: CallOptions): Promise<UpdateIpAccessListResponse>;
|
|
141
|
+
/**
|
|
142
|
+
* Creates a network connectivity configuration (NCC), which provides stable Azure service
|
|
143
|
+
* subnets when accessing your Azure Storage accounts. You can also use a network connectivity configuration to create
|
|
144
|
+
* <Databricks> managed private endpoints so that <Databricks> serverless compute resources privately access your
|
|
145
|
+
* resources.
|
|
146
|
+
*
|
|
147
|
+
* **IMPORTANT**: After you create the network connectivity configuration, you must assign one or more workspaces to the new network connectivity configuration.
|
|
148
|
+
* You can share one network connectivity configuration with multiple workspaces from the same Azure region within
|
|
149
|
+
* the same <Databricks> account.
|
|
150
|
+
* See [configure serverless secure connectivity](https://learn.microsoft.com/azure/databricks/security/network/serverless-network-security).
|
|
151
|
+
*/
|
|
152
|
+
createNetworkConnectivityConfigPublic(req: CreateNetworkConnectivityConfigRequest, options?: CallOptions): Promise<NetworkConnectivityConfig>;
|
|
153
|
+
/** Deletes a network connectivity configuration. */
|
|
154
|
+
deleteNetworkConnectivityConfigPublic(req: DeleteNetworkConnectivityConfigRequest, options?: CallOptions): Promise<void>;
|
|
155
|
+
/** Gets a network connectivity configuration. */
|
|
156
|
+
getNetworkConnectivityConfigPublic(req: GetNetworkConnectivityConfigRequest, options?: CallOptions): Promise<NetworkConnectivityConfig>;
|
|
157
|
+
/** Gets an array of network connectivity configurations. */
|
|
158
|
+
listNetworkConnectivityConfigsPublic(req: ListNetworkConnectivityConfigsRequest, options?: CallOptions): Promise<ListNetworkConnectivityConfigsResponse>;
|
|
159
|
+
listNetworkConnectivityConfigsPublicIter(req: ListNetworkConnectivityConfigsRequest, options?: CallOptions): AsyncGenerator<NetworkConnectivityConfig>;
|
|
160
|
+
/**
|
|
161
|
+
* Create a private endpoint rule for the specified network connectivity config object.
|
|
162
|
+
* Once the object is created, <Databricks> asynchronously provisions a new Azure private endpoint to your
|
|
163
|
+
* specified Azure resource.
|
|
164
|
+
*
|
|
165
|
+
* **IMPORTANT**: You must use Azure portal or other Azure tools to approve the private endpoint to complete the
|
|
166
|
+
* connection. To get the information of the private endpoint created, make a `GET` request on the new private
|
|
167
|
+
* endpoint rule. See [serverless private link](https://learn.microsoft.com/azure/databricks/security/network/serverless-network-security/serverless-private-link).
|
|
168
|
+
*/
|
|
169
|
+
createNccPrivateEndpointRule(req: CreateNccPrivateEndpointRuleRequest, options?: CallOptions): Promise<NccPrivateEndpointRule>;
|
|
170
|
+
/**
|
|
171
|
+
* Initiates deleting a private endpoint rule. If the connection state is PENDING or EXPIRED,
|
|
172
|
+
* the private endpoint is immediately deleted. Otherwise, the private endpoint is deactivated
|
|
173
|
+
* and will be deleted after one day of deactivation. When a private endpoint is deactivated,
|
|
174
|
+
* the `deactivated` field is set to `true` and the private endpoint is not
|
|
175
|
+
* available to your serverless compute resources.
|
|
176
|
+
*/
|
|
177
|
+
deleteNccPrivateEndpointRule(req: DeleteNccPrivateEndpointRuleRequest, options?: CallOptions): Promise<NccPrivateEndpointRule>;
|
|
178
|
+
/** Gets the private endpoint rule. */
|
|
179
|
+
getNccPrivateEndpointRule(req: GetNccPrivateEndpointRuleRequest, options?: CallOptions): Promise<NccPrivateEndpointRule>;
|
|
180
|
+
/** Gets an array of private endpoint rules. */
|
|
181
|
+
listNccPrivateEndpointRules(req: ListNccPrivateEndpointRulesRequest, options?: CallOptions): Promise<ListNccPrivateEndpointRulesResponse>;
|
|
182
|
+
listNccPrivateEndpointRulesIter(req: ListNccPrivateEndpointRulesRequest, options?: CallOptions): AsyncGenerator<NccPrivateEndpointRule>;
|
|
183
|
+
/** Updates a private endpoint rule. Currently only a private endpoint rule to customer-managed resources is allowed to be updated. */
|
|
184
|
+
updateNccPrivateEndpointRule(req: UpdateNccPrivateEndpointRuleRequest, options?: CallOptions): Promise<NccPrivateEndpointRule>;
|
|
185
|
+
/**
|
|
186
|
+
* Creates a new network policy to manage which network destinations can be accessed from the <Databricks>
|
|
187
|
+
* environment.
|
|
188
|
+
*/
|
|
189
|
+
createNetworkPolicyRpc(req: CreateNetworkPolicyRequest, options?: CallOptions): Promise<AccountNetworkPolicy>;
|
|
190
|
+
/** Deletes a network policy. Cannot be called on 'default-policy'. */
|
|
191
|
+
deleteNetworkPolicyRpc(req: DeleteNetworkPolicyRequest, options?: CallOptions): Promise<void>;
|
|
192
|
+
/** Gets a network policy. */
|
|
193
|
+
getNetworkPolicyRpc(req: GetNetworkPolicyRequest, options?: CallOptions): Promise<AccountNetworkPolicy>;
|
|
194
|
+
/** Gets an array of network policies. */
|
|
195
|
+
listNetworkPoliciesRpc(req: ListNetworkPoliciesRequest, options?: CallOptions): Promise<ListNetworkPoliciesResponse>;
|
|
196
|
+
listNetworkPoliciesRpcIter(req: ListNetworkPoliciesRequest, options?: CallOptions): AsyncGenerator<AccountNetworkPolicy>;
|
|
197
|
+
/** Updates a network policy. This allows you to modify the configuration of a network policy. */
|
|
198
|
+
updateNetworkPolicyRpc(req: UpdateNetworkPolicyRequest, options?: CallOptions): Promise<AccountNetworkPolicy>;
|
|
199
|
+
/** Creates a <Databricks> network configuration that represents an VPC and its resources. The VPC will be used for new <Databricks> clusters. This requires a pre-existing VPC and subnets. */
|
|
200
|
+
createNetworkPublic(req: CreateNetworkRequest, options?: CallOptions): Promise<Network>;
|
|
201
|
+
/**
|
|
202
|
+
* Creates a private access settings configuration, which represents
|
|
203
|
+
* network access restrictions for workspace resources. Private access
|
|
204
|
+
* settings configure whether workspaces can be accessed from the public
|
|
205
|
+
* internet or only from private endpoints.
|
|
206
|
+
*/
|
|
207
|
+
createPrivateAccessSettingsPublic(req: CreatePrivateAccessSettingsRequest, options?: CallOptions): Promise<PrivateAccessSettings>;
|
|
208
|
+
/**
|
|
209
|
+
* Creates a VPC endpoint configuration, which represents a
|
|
210
|
+
* [VPC endpoint](https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints.html)
|
|
211
|
+
* object in AWS used to communicate privately with <Databricks> over
|
|
212
|
+
* [AWS PrivateLink](https://aws.amazon.com/privatelink).
|
|
213
|
+
*
|
|
214
|
+
* After you create the VPC endpoint configuration, the <Databricks>
|
|
215
|
+
* [endpoint service](https://docs.aws.amazon.com/vpc/latest/privatelink/privatelink-share-your-services.html)
|
|
216
|
+
* automatically accepts the VPC endpoint.
|
|
217
|
+
*
|
|
218
|
+
* Before configuring PrivateLink, read the
|
|
219
|
+
* [<Databricks> article about PrivateLink](https://docs.databricks.com/administration-guide/cloud-configurations/aws/privatelink.html).
|
|
220
|
+
*/
|
|
221
|
+
createVpcEndpointPublic(req: CreateVpcEndpointRequest, options?: CallOptions): Promise<VpcEndpoint>;
|
|
222
|
+
/**
|
|
223
|
+
* Deletes a <Databricks> network configuration, which represents a cloud VPC and its resources. You cannot delete a network that is associated with a workspace.
|
|
224
|
+
*
|
|
225
|
+
* This operation is available only if your account is on the E2 version of the platform.
|
|
226
|
+
*/
|
|
227
|
+
deleteNetworkPublic(req: DeleteNetworkRequest, options?: CallOptions): Promise<Network>;
|
|
228
|
+
/** Deletes a <Databricks> private access settings configuration, both specified by ID. */
|
|
229
|
+
deletePrivateAccessSettingsPublic(req: DeletePrivateAccessSettingsRequest, options?: CallOptions): Promise<PrivateAccessSettings>;
|
|
230
|
+
/** Deletes a Databricks VPC endpoint configuration. You cannot delete a VPC endpoint configuration that is associated with any workspace. */
|
|
231
|
+
deleteVpcEndpointPublic(req: DeleteVpcEndpointRequest, options?: CallOptions): Promise<VpcEndpoint>;
|
|
232
|
+
/** Gets a <Databricks> network configuration, which represents a cloud VPC and its resources. */
|
|
233
|
+
getNetworkPublic(req: GetNetworkRequest, options?: CallOptions): Promise<Network>;
|
|
234
|
+
/** Gets a <Databricks> private access settings configuration, both specified by ID. */
|
|
235
|
+
getPrivateAccessSettingsPublic(req: GetPrivateAccessSettingsRequest, options?: CallOptions): Promise<PrivateAccessSettings>;
|
|
236
|
+
/**
|
|
237
|
+
* Gets a VPC endpoint configuration, which represents
|
|
238
|
+
* a [VPC endpoint](https://docs.aws.amazon.com/vpc/latest/privatelink/concepts.html)
|
|
239
|
+
* object in AWS used to communicate privately with <Databricks> over
|
|
240
|
+
* [AWS PrivateLink](https://aws.amazon.com/privatelink).
|
|
241
|
+
*/
|
|
242
|
+
getVpcEndpointPublic(req: GetVpcEndpointRequest, options?: CallOptions): Promise<VpcEndpoint>;
|
|
243
|
+
/** Lists <Databricks> network configurations for an account. */
|
|
244
|
+
listNetworkPublic(req: ListNetworkRequest, options?: CallOptions): Promise<ListNetworkResponse>;
|
|
245
|
+
/** Lists <Databricks> private access settings for an account. */
|
|
246
|
+
listPrivateAccessSettingsPublic(req: ListPrivateAccessSettingsRequest, options?: CallOptions): Promise<ListPrivateAccessSettingsResponse>;
|
|
247
|
+
/** Lists Databricks VPC endpoint configurations for an account. */
|
|
248
|
+
listVpcEndpointPublic(req: ListVpcEndpointRequest, options?: CallOptions): Promise<ListVpcEndpointResponse>;
|
|
249
|
+
/**
|
|
250
|
+
* Updates an existing private access settings object, which specifies how your workspace is accessed over AWS PrivateLink. To use AWS PrivateLink, a workspace must have a private access settings object referenced by ID in the workspace's private_access_settings_id property.
|
|
251
|
+
* This operation completely overwrites your existing private access settings object attached to your workspaces. All workspaces attached to the private access settings are affected by any change. If public_access_enabled, private_access_level, or allowed_vpc_endpoint_ids are updated, effects of these changes might take several minutes to propagate to the workspace API.
|
|
252
|
+
* You can share one private access settings object with multiple workspaces in a single account. However, private access settings are specific to AWS regions, so only workspaces in the same AWS region can use a given private access settings object.
|
|
253
|
+
* Before configuring PrivateLink, read the <Databricks> article about PrivateLink.
|
|
254
|
+
*/
|
|
255
|
+
updatePrivateAccessSettingsPublic(req: UpdatePrivateAccessSettingsRequest, options?: CallOptions): Promise<PrivateAccessSettings>;
|
|
256
|
+
/**
|
|
257
|
+
* Gets the network option for a workspace. Every workspace has exactly one network policy binding,
|
|
258
|
+
* with 'default-policy' used if no explicit assignment exists.
|
|
259
|
+
*/
|
|
260
|
+
getWorkspaceNetworkOptionRpc(req: GetWorkspaceNetworkOptionRequest, options?: CallOptions): Promise<WorkspaceNetworkOption>;
|
|
261
|
+
/**
|
|
262
|
+
* Updates the network option for a workspace. This operation associates the workspace with the specified network policy.
|
|
263
|
+
* To revert to the default policy, specify 'default-policy' as the network_policy_id.
|
|
264
|
+
*/
|
|
265
|
+
updateWorkspaceNetworkOptionRpc(req: UpdateWorkspaceNetworkOptionRequest, options?: CallOptions): Promise<WorkspaceNetworkOption>;
|
|
264
266
|
}
|
|
267
|
+
//#endregion
|
|
268
|
+
export { NetworkingClient };
|
|
265
269
|
//# sourceMappingURL=client.d.ts.map
|