@databricks/sdk-networking 0.0.0-dev → 0.1.0-dev.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,203 @@
1
+ Copyright 2026 Databricks, Inc. All rights reserved.
2
+
3
+ Apache License
4
+ Version 2.0, January 2004
5
+ http://www.apache.org/licenses/
6
+
7
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
8
+
9
+ 1. Definitions.
10
+
11
+ "License" shall mean the terms and conditions for use, reproduction,
12
+ and distribution as defined by Sections 1 through 9 of this document.
13
+
14
+ "Licensor" shall mean the copyright owner or entity authorized by
15
+ the copyright owner that is granting the License.
16
+
17
+ "Legal Entity" shall mean the union of the acting entity and all
18
+ other entities that control, are controlled by, or are under common
19
+ control with that entity. For the purposes of this definition,
20
+ "control" means (i) the power, direct or indirect, to cause the
21
+ direction or management of such entity, whether by contract or
22
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
23
+ outstanding shares, or (iii) beneficial ownership of such entity.
24
+
25
+ "You" (or "Your") shall mean an individual or Legal Entity
26
+ exercising permissions granted by this License.
27
+
28
+ "Source" form shall mean the preferred form for making modifications,
29
+ including but not limited to software source code, documentation
30
+ source, and configuration files.
31
+
32
+ "Object" form shall mean any form resulting from mechanical
33
+ transformation or translation of a Source form, including but
34
+ not limited to compiled object code, generated documentation,
35
+ and conversions to other media types.
36
+
37
+ "Work" shall mean the work of authorship, whether in Source or
38
+ Object form, made available under the License, as indicated by a
39
+ copyright notice that is included in or attached to the work
40
+ (an example is provided in the Appendix below).
41
+
42
+ "Derivative Works" shall mean any work, whether in Source or Object
43
+ form, that is based on (or derived from) the Work and for which the
44
+ editorial revisions, annotations, elaborations, or other modifications
45
+ represent, as a whole, an original work of authorship. For the purposes
46
+ of this License, Derivative Works shall not include works that remain
47
+ separable from, or merely link (or bind by name) to the interfaces of,
48
+ the Work and Derivative Works thereof.
49
+
50
+ "Contribution" shall mean any work of authorship, including
51
+ the original version of the Work and any modifications or additions
52
+ to that Work or Derivative Works thereof, that is intentionally
53
+ submitted to Licensor for inclusion in the Work by the copyright owner
54
+ or by an individual or Legal Entity authorized to submit on behalf of
55
+ the copyright owner. For the purposes of this definition, "submitted"
56
+ means any form of electronic, verbal, or written communication sent
57
+ to the Licensor or its representatives, including but not limited to
58
+ communication on electronic mailing lists, source code control systems,
59
+ and issue tracking systems that are managed by, or on behalf of, the
60
+ Licensor for the purpose of discussing and improving the Work, but
61
+ excluding communication that is conspicuously marked or otherwise
62
+ designated in writing by the copyright owner as "Not a Contribution."
63
+
64
+ "Contributor" shall mean Licensor and any individual or Legal Entity
65
+ on behalf of whom a Contribution has been received by Licensor and
66
+ subsequently incorporated within the Work.
67
+
68
+ 2. Grant of Copyright License. Subject to the terms and conditions of
69
+ this License, each Contributor hereby grants to You a perpetual,
70
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
71
+ copyright license to reproduce, prepare Derivative Works of,
72
+ publicly display, publicly perform, sublicense, and distribute the
73
+ Work and such Derivative Works in Source or Object form.
74
+
75
+ 3. Grant of Patent License. Subject to the terms and conditions of
76
+ this License, each Contributor hereby grants to You a perpetual,
77
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
78
+ (except as stated in this section) patent license to make, have made,
79
+ use, offer to sell, sell, import, and otherwise transfer the Work,
80
+ where such license applies only to those patent claims licensable
81
+ by such Contributor that are necessarily infringed by their
82
+ Contribution(s) alone or by combination of their Contribution(s)
83
+ with the Work to which such Contribution(s) was submitted. If You
84
+ institute patent litigation against any entity (including a
85
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
86
+ or a Contribution incorporated within the Work constitutes direct
87
+ or contributory patent infringement, then any patent licenses
88
+ granted to You under this License for that Work shall terminate
89
+ as of the date such litigation is filed.
90
+
91
+ 4. Redistribution. You may reproduce and distribute copies of the
92
+ Work or Derivative Works thereof in any medium, with or without
93
+ modifications, and in Source or Object form, provided that You
94
+ meet the following conditions:
95
+
96
+ (a) You must give any other recipients of the Work or
97
+ Derivative Works a copy of this License; and
98
+
99
+ (b) You must cause any modified files to carry prominent notices
100
+ stating that You changed the files; and
101
+
102
+ (c) You must retain, in the Source form of any Derivative Works
103
+ that You distribute, all copyright, patent, trademark, and
104
+ attribution notices from the Source form of the Work,
105
+ excluding those notices that do not pertain to any part of
106
+ the Derivative Works; and
107
+
108
+ (d) If the Work includes a "NOTICE" text file as part of its
109
+ distribution, then any Derivative Works that You distribute must
110
+ include a readable copy of the attribution notices contained
111
+ within such NOTICE file, excluding those notices that do not
112
+ pertain to any part of the Derivative Works, in at least one
113
+ of the following places: within a NOTICE text file distributed
114
+ as part of the Derivative Works; within the Source form or
115
+ documentation, if provided along with the Derivative Works; or,
116
+ within a display generated by the Derivative Works, if and
117
+ wherever such third-party notices normally appear. The contents
118
+ of the NOTICE file are for informational purposes only and
119
+ do not modify the License. You may add Your own attribution
120
+ notices within Derivative Works that You distribute, alongside
121
+ or as an addendum to the NOTICE text from the Work, provided
122
+ that such additional attribution notices cannot be construed
123
+ as modifying the License.
124
+
125
+ You may add Your own copyright statement to Your modifications and
126
+ may provide additional or different license terms and conditions
127
+ for use, reproduction, or distribution of Your modifications, or
128
+ for any such Derivative Works as a whole, provided Your use,
129
+ reproduction, and distribution of the Work otherwise complies with
130
+ the conditions stated in this License.
131
+
132
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
133
+ any Contribution intentionally submitted for inclusion in the Work
134
+ by You to the Licensor shall be under the terms and conditions of
135
+ this License, without any additional terms or conditions.
136
+ Notwithstanding the above, nothing herein shall supersede or modify
137
+ the terms of any separate license agreement you may have executed
138
+ with Licensor regarding such Contributions.
139
+
140
+ 6. Trademarks. This License does not grant permission to use the trade
141
+ names, trademarks, service marks, or product names of the Licensor,
142
+ except as required for reasonable and customary use in describing the
143
+ origin of the Work and reproducing the content of the NOTICE file.
144
+
145
+ 7. Disclaimer of Warranty. Unless required by applicable law or
146
+ agreed to in writing, Licensor provides the Work (and each
147
+ Contributor provides its Contributions) on an "AS IS" BASIS,
148
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
149
+ implied, including, without limitation, any warranties or conditions
150
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
151
+ PARTICULAR PURPOSE. You are solely responsible for determining the
152
+ appropriateness of using or redistributing the Work and assume any
153
+ risks associated with Your exercise of permissions under this License.
154
+
155
+ 8. Limitation of Liability. In no event and under no legal theory,
156
+ whether in tort (including negligence), contract, or otherwise,
157
+ unless required by applicable law (such as deliberate and grossly
158
+ negligent acts) or agreed to in writing, shall any Contributor be
159
+ liable to You for damages, including any direct, indirect, special,
160
+ incidental, or consequential damages of any character arising as a
161
+ result of this License or out of the use or inability to use the
162
+ Work (including but not limited to damages for loss of goodwill,
163
+ work stoppage, computer failure or malfunction, or any and all
164
+ other commercial damages or losses), even if such Contributor
165
+ has been advised of the possibility of such damages.
166
+
167
+ 9. Accepting Warranty or Additional Liability. While redistributing
168
+ the Work or Derivative Works thereof, You may choose to offer,
169
+ and charge a fee for, acceptance of support, warranty, indemnity,
170
+ or other liability obligations and/or rights consistent with this
171
+ License. However, in accepting such obligations, You may act only
172
+ on Your own behalf and on Your sole responsibility, not on behalf
173
+ of any other Contributor, and only if You agree to indemnify,
174
+ defend, and hold each Contributor harmless for any liability
175
+ incurred by, or claims asserted against, such Contributor by reason
176
+ of your accepting any such warranty or additional liability.
177
+
178
+ END OF TERMS AND CONDITIONS
179
+
180
+ APPENDIX: How to apply the Apache License to your work.
181
+
182
+ To apply the Apache License to your work, attach the following
183
+ boilerplate notice, with the fields enclosed by brackets "[]"
184
+ replaced with your own identifying information. (Don't include
185
+ the brackets!) The text should be enclosed in the appropriate
186
+ comment syntax for the file format. We also recommend that a
187
+ file or class name and description of purpose be included on the
188
+ same "printed page" as the copyright notice for easier
189
+ identification within third-party archives.
190
+
191
+ Copyright [yyyy] [name of copyright owner]
192
+
193
+ Licensed under the Apache License, Version 2.0 (the "License");
194
+ you may not use this file except in compliance with the License.
195
+ You may obtain a copy of the License at
196
+
197
+ http://www.apache.org/licenses/LICENSE-2.0
198
+
199
+ Unless required by applicable law or agreed to in writing, software
200
+ distributed under the License is distributed on an "AS IS" BASIS,
201
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
202
+ See the License for the specific language governing permissions and
203
+ limitations under the License.
@@ -0,0 +1,266 @@
1
+ import type { CallOptions } from '@databricks/sdk-options/call';
2
+ import type { ClientOptions } from '@databricks/sdk-options/client';
3
+ import type { AccountNetworkPolicy, CreateAccountIpAccessListRequest, CreateAccountIpAccessListRequest_Response, CreateEndpointRequest, CreateIpAccessList, CreateIpAccessList_Response, CreateNccPrivateEndpointRuleRequest, CreateNetworkConnectivityConfigRequest, CreateNetworkPolicyRequest, CreateNetworkRequest, CreatePrivateAccessSettingsRequest, CreateVpcEndpointRequest, CustomerFacingNetworkConnectivityConfig, CustomerFacingPrivateAccessSettings, CustomerFacingVpcEndpoint, DeleteAccountIpAccessListRequest, DeleteAccountIpAccessListRequest_Response, DeleteEndpointRequest, DeleteIpAccessList, DeleteIpAccessList_Response, DeleteNccPrivateEndpointRuleRequest, DeleteNetworkConnectivityConfigRequest, DeleteNetworkPolicyRequest, DeleteNetworkRequest, DeletePrivateAccessSettingsRequest, DeleteVpcEndpointRequest, Endpoint, GetAccountIpAccessListRequest, GetAccountIpAccessListRequest_Response, GetEndpointRequest, GetIpAccessList, GetIpAccessList_Response, GetNccPrivateEndpointRuleRequest, GetNetworkConnectivityConfigRequest, GetNetworkPolicyRequest, GetNetworkRequest, GetPrivateAccessSettingsRequest, GetVpcEndpointRequest, GetWorkspaceNetworkOptionRequest, ListAccountIpAccessListsRequest, ListAccountIpAccessListsRequest_Response, ListEndpointsRequest, ListEndpointsResponse, ListIpAccessLists, ListIpAccessLists_Response, ListNccPrivateEndpointRulesRequest, ListNccPrivateEndpointRulesResponse, ListNetworkConnectivityConfigsRequest, ListNetworkConnectivityConfigsResponse, ListNetworkPoliciesRequest, ListNetworkPoliciesResponse, ListNetworkRequest, ListNetworkResponse, ListPrivateAccessSettingsRequest, ListPrivateAccessSettingsResponse, ListVpcEndpointRequest, ListVpcEndpointResponse, NccPrivateEndpointRule, Network, ReplaceAccountIpAccessListRequest, ReplaceAccountIpAccessListRequest_Response, ReplaceIpAccessList, ReplaceIpAccessList_Response, UpdateAccountIpAccessListRequest, UpdateAccountIpAccessListRequest_Response, UpdateIpAccessList, UpdateIpAccessList_Response, UpdateNccPrivateEndpointRuleRequest, UpdateNetworkPolicyRequest, UpdatePrivateAccessSettingsRequest, UpdateWorkspaceNetworkOptionRequest, WorkspaceNetworkOption } from './model';
4
+ export declare class NetworkingClient {
5
+ private readonly host;
6
+ private readonly accountId;
7
+ private readonly workspaceId;
8
+ private readonly httpClient;
9
+ private readonly logger;
10
+ private readonly userAgent;
11
+ constructor(options: ClientOptions);
12
+ /**
13
+ * Creates an IP access list for the account.
14
+ *
15
+ * A list can be an allow list or a block list. See the top of this file for a description of
16
+ * how the server treats allow lists and block lists at runtime.
17
+ *
18
+ * When creating or updating an IP access list:
19
+ *
20
+ * * For all allow lists and block lists combined, the API supports a maximum of 1000
21
+ * IP/CIDR values, where one CIDR counts as a single value. Attempts to exceed that number
22
+ * return error 400 with `error_code` value `QUOTA_EXCEEDED`.
23
+ * * If the new list would block the calling user's current IP, error 400 is returned with
24
+ * `error_code` value `INVALID_STATE`.
25
+ *
26
+ * It can take a few minutes for the changes to take effect.
27
+ */
28
+ createAccountIpAccessList(req: CreateAccountIpAccessListRequest, options?: CallOptions): Promise<CreateAccountIpAccessListRequest_Response>;
29
+ /** Deletes an IP access list, specified by its list ID. */
30
+ deleteAccountIpAccessList(req: DeleteAccountIpAccessListRequest, options?: CallOptions): Promise<DeleteAccountIpAccessListRequest_Response>;
31
+ /** Gets an IP access list, specified by its list ID. */
32
+ getAccountIpAccessList(req: GetAccountIpAccessListRequest, options?: CallOptions): Promise<GetAccountIpAccessListRequest_Response>;
33
+ /** Gets all IP access lists for the specified account. */
34
+ listAccountIpAccessLists(req: ListAccountIpAccessListsRequest, options?: CallOptions): Promise<ListAccountIpAccessListsRequest_Response>;
35
+ /**
36
+ * Replaces an IP access list, specified by its ID.
37
+ *
38
+ * A list can include allow lists and block lists. See the top of this file for a description
39
+ * of how the server treats allow lists and block lists at run time. When replacing an IP
40
+ * access list:
41
+ * * For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR values,
42
+ * where one CIDR counts as a single value. Attempts to exceed that number return error 400 with `error_code`
43
+ * value `QUOTA_EXCEEDED`.
44
+ * * If the resulting list would block the calling user's current IP, error 400 is returned with `error_code`
45
+ * value `INVALID_STATE`.
46
+ * It can take a few minutes for the changes to take effect.
47
+ */
48
+ replaceAccountIpAccessList(req: ReplaceAccountIpAccessListRequest, options?: CallOptions): Promise<ReplaceAccountIpAccessListRequest_Response>;
49
+ /**
50
+ * Updates an existing IP access list, specified by its ID.
51
+ *
52
+ * A list can include allow lists and block lists. See the top of this file for a description
53
+ * of how the server treats allow lists and block lists at run time.
54
+ *
55
+ * When updating an IP access list:
56
+ *
57
+ * * For all allow lists and block lists combined, the API supports a maximum of 1000
58
+ * IP/CIDR values, where one CIDR counts as a single value. Attempts to exceed that number
59
+ * return error 400 with `error_code` value `QUOTA_EXCEEDED`.
60
+ * * If the updated list would block the calling user's current IP, error 400 is returned
61
+ * with `error_code` value `INVALID_STATE`.
62
+ *
63
+ * It can take a few minutes for the changes to take effect.
64
+ */
65
+ updateAccountIpAccessList(req: UpdateAccountIpAccessListRequest, options?: CallOptions): Promise<UpdateAccountIpAccessListRequest_Response>;
66
+ /**
67
+ * Creates a new network connectivity endpoint that enables private connectivity
68
+ * between your network resources and <Databricks> services.
69
+ *
70
+ * After creation, the endpoint is initially in the PENDING state. The <Databricks>
71
+ * endpoint service automatically reviews and approves the endpoint within a few
72
+ * minutes. Use the GET method to retrieve the latest endpoint state.
73
+ *
74
+ * An endpoint can be used only after it reaches the APPROVED state.
75
+ */
76
+ createEndpoint(req: CreateEndpointRequest, options?: CallOptions): Promise<Endpoint>;
77
+ /**
78
+ * Deletes a network endpoint. This will remove the endpoint configuration from <Databricks>.
79
+ * Depending on the endpoint type and use case, you may also need to delete corresponding network resources
80
+ * in your cloud provider account.
81
+ */
82
+ deleteEndpoint(req: DeleteEndpointRequest, options?: CallOptions): Promise<void>;
83
+ /** Gets details of a specific network endpoint. */
84
+ getEndpoint(req: GetEndpointRequest, options?: CallOptions): Promise<Endpoint>;
85
+ /** Lists all network connectivity endpoints for the account. */
86
+ listEndpoints(req: ListEndpointsRequest, options?: CallOptions): Promise<ListEndpointsResponse>;
87
+ listEndpointsIter(req: ListEndpointsRequest, options?: CallOptions): AsyncGenerator<Endpoint>;
88
+ /**
89
+ * Creates an IP access list for this workspace.
90
+ *
91
+ * A list can be an allow list or a block list.
92
+ * See the top of this file for a description of how the server treats allow lists and block lists at runtime.
93
+ *
94
+ * When creating or updating an IP access list:
95
+ *
96
+ * * For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR values,
97
+ * where one CIDR counts as a single value. Attempts to exceed that number return error 400 with `error_code` value `QUOTA_EXCEEDED`.
98
+ * * If the new list would block the calling user's current IP, error 400 is returned with `error_code` value `INVALID_STATE`.
99
+ *
100
+ * 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 :method:workspaceconf/setStatus
101
+ */
102
+ createIpAccessList(req: CreateIpAccessList, options?: CallOptions): Promise<CreateIpAccessList_Response>;
103
+ /** Deletes an IP access list, specified by its list ID. */
104
+ deleteIpAccessList(req: DeleteIpAccessList, options?: CallOptions): Promise<DeleteIpAccessList_Response>;
105
+ /** Gets an IP access list, specified by its list ID. */
106
+ getIpAccessList(req: GetIpAccessList, options?: CallOptions): Promise<GetIpAccessList_Response>;
107
+ /** Gets all IP access lists for the specified workspace. */
108
+ listIpAccessLists(_req: ListIpAccessLists, options?: CallOptions): Promise<ListIpAccessLists_Response>;
109
+ /**
110
+ * Replaces an IP access list, specified by its ID.
111
+ *
112
+ * A list can include allow lists and block lists. See the top
113
+ * of this file for a description of how the server treats allow lists and block lists at run time. When
114
+ * replacing an IP access list:
115
+ * * For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR values,
116
+ * where one CIDR counts as a single value. Attempts to exceed that number return error 400 with `error_code`
117
+ * value `QUOTA_EXCEEDED`.
118
+ * * If the resulting list would block the calling user's current IP, error 400 is returned with `error_code`
119
+ * value `INVALID_STATE`.
120
+ * It can take a few minutes for the changes to take effect. Note that your resulting IP access list has no
121
+ * effect until you enable the feature. See :method:workspaceconf/setStatus.
122
+ */
123
+ replaceIpAccessList(req: ReplaceIpAccessList, options?: CallOptions): Promise<ReplaceIpAccessList_Response>;
124
+ /**
125
+ * Updates an existing IP access list, specified by its ID.
126
+ *
127
+ * A list can include allow lists and block lists.
128
+ * See the top of this file for a description of how the server treats allow lists and block lists at run time.
129
+ *
130
+ * When updating an IP access list:
131
+ *
132
+ * * For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR values,
133
+ * where one CIDR counts as a single value. Attempts to exceed that number return error 400 with `error_code` value `QUOTA_EXCEEDED`.
134
+ * * If the updated list would block the calling user's current IP, error 400 is returned with `error_code` value `INVALID_STATE`.
135
+ *
136
+ * 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
137
+ * the feature. See :method:workspaceconf/setStatus.
138
+ */
139
+ updateIpAccessList(req: UpdateIpAccessList, options?: CallOptions): Promise<UpdateIpAccessList_Response>;
140
+ /**
141
+ * Creates a network connectivity configuration (NCC), which provides stable Azure service
142
+ * subnets when accessing your Azure Storage accounts. You can also use a network connectivity configuration to create
143
+ * <Databricks> managed private endpoints so that <Databricks> serverless compute resources privately access your
144
+ * resources.
145
+ *
146
+ * **IMPORTANT**: After you create the network connectivity configuration, you must assign one or more workspaces to the new network connectivity configuration.
147
+ * You can share one network connectivity configuration with multiple workspaces from the same Azure region within
148
+ * the same <Databricks> account.
149
+ * See [configure serverless secure connectivity](https://learn.microsoft.com/azure/databricks/security/network/serverless-network-security).
150
+ */
151
+ createNetworkConnectivityConfigPublic(req: CreateNetworkConnectivityConfigRequest, options?: CallOptions): Promise<CustomerFacingNetworkConnectivityConfig>;
152
+ /** Deletes a network connectivity configuration. */
153
+ deleteNetworkConnectivityConfigPublic(req: DeleteNetworkConnectivityConfigRequest, options?: CallOptions): Promise<void>;
154
+ /** Gets a network connectivity configuration. */
155
+ getNetworkConnectivityConfigPublic(req: GetNetworkConnectivityConfigRequest, options?: CallOptions): Promise<CustomerFacingNetworkConnectivityConfig>;
156
+ /** Gets an array of network connectivity configurations. */
157
+ listNetworkConnectivityConfigsPublic(req: ListNetworkConnectivityConfigsRequest, options?: CallOptions): Promise<ListNetworkConnectivityConfigsResponse>;
158
+ listNetworkConnectivityConfigsPublicIter(req: ListNetworkConnectivityConfigsRequest, options?: CallOptions): AsyncGenerator<CustomerFacingNetworkConnectivityConfig>;
159
+ /**
160
+ * Create a private endpoint rule for the specified network connectivity config object.
161
+ * Once the object is created, <Databricks> asynchronously provisions a new Azure private endpoint to your
162
+ * specified Azure resource.
163
+ *
164
+ * **IMPORTANT**: You must use Azure portal or other Azure tools to approve the private endpoint to complete the
165
+ * connection. To get the information of the private endpoint created, make a `GET` request on the new private
166
+ * endpoint rule. See [serverless private link](https://learn.microsoft.com/azure/databricks/security/network/serverless-network-security/serverless-private-link).
167
+ */
168
+ createNccPrivateEndpointRule(req: CreateNccPrivateEndpointRuleRequest, options?: CallOptions): Promise<NccPrivateEndpointRule>;
169
+ /**
170
+ * Initiates deleting a private endpoint rule. If the connection state is PENDING or EXPIRED,
171
+ * the private endpoint is immediately deleted. Otherwise, the private endpoint is deactivated
172
+ * and will be deleted after one day of deactivation. When a private endpoint is deactivated,
173
+ * the `deactivated` field is set to `true` and the private endpoint is not
174
+ * available to your serverless compute resources.
175
+ */
176
+ deleteNccPrivateEndpointRule(req: DeleteNccPrivateEndpointRuleRequest, options?: CallOptions): Promise<NccPrivateEndpointRule>;
177
+ /** Gets the private endpoint rule. */
178
+ getNccPrivateEndpointRule(req: GetNccPrivateEndpointRuleRequest, options?: CallOptions): Promise<NccPrivateEndpointRule>;
179
+ /** Gets an array of private endpoint rules. */
180
+ listNccPrivateEndpointRules(req: ListNccPrivateEndpointRulesRequest, options?: CallOptions): Promise<ListNccPrivateEndpointRulesResponse>;
181
+ listNccPrivateEndpointRulesIter(req: ListNccPrivateEndpointRulesRequest, options?: CallOptions): AsyncGenerator<NccPrivateEndpointRule>;
182
+ /** Updates a private endpoint rule. Currently only a private endpoint rule to customer-managed resources is allowed to be updated. */
183
+ updateNccPrivateEndpointRule(req: UpdateNccPrivateEndpointRuleRequest, options?: CallOptions): Promise<NccPrivateEndpointRule>;
184
+ /**
185
+ * Creates a new network policy to manage which network destinations can be accessed from the <Databricks>
186
+ * environment.
187
+ */
188
+ createNetworkPolicyRpc(req: CreateNetworkPolicyRequest, options?: CallOptions): Promise<AccountNetworkPolicy>;
189
+ /** Deletes a network policy. Cannot be called on 'default-policy'. */
190
+ deleteNetworkPolicyRpc(req: DeleteNetworkPolicyRequest, options?: CallOptions): Promise<void>;
191
+ /** Gets a network policy. */
192
+ getNetworkPolicyRpc(req: GetNetworkPolicyRequest, options?: CallOptions): Promise<AccountNetworkPolicy>;
193
+ /** Gets an array of network policies. */
194
+ listNetworkPoliciesRpc(req: ListNetworkPoliciesRequest, options?: CallOptions): Promise<ListNetworkPoliciesResponse>;
195
+ listNetworkPoliciesRpcIter(req: ListNetworkPoliciesRequest, options?: CallOptions): AsyncGenerator<AccountNetworkPolicy>;
196
+ /** Updates a network policy. This allows you to modify the configuration of a network policy. */
197
+ updateNetworkPolicyRpc(req: UpdateNetworkPolicyRequest, options?: CallOptions): Promise<AccountNetworkPolicy>;
198
+ /** 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. */
199
+ createNetworkPublic(req: CreateNetworkRequest, options?: CallOptions): Promise<Network>;
200
+ /**
201
+ * Creates a private access settings configuration, which represents
202
+ * network access restrictions for workspace resources. Private access
203
+ * settings configure whether workspaces can be accessed from the public
204
+ * internet or only from private endpoints.
205
+ */
206
+ createPrivateAccessSettingsPublic(req: CreatePrivateAccessSettingsRequest, options?: CallOptions): Promise<CustomerFacingPrivateAccessSettings>;
207
+ /**
208
+ * Creates a VPC endpoint configuration, which represents a
209
+ * [VPC endpoint](https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints.html)
210
+ * object in AWS used to communicate privately with <Databricks> over
211
+ * [AWS PrivateLink](https://aws.amazon.com/privatelink).
212
+ *
213
+ * After you create the VPC endpoint configuration, the <Databricks>
214
+ * [endpoint service](https://docs.aws.amazon.com/vpc/latest/privatelink/privatelink-share-your-services.html)
215
+ * automatically accepts the VPC endpoint.
216
+ *
217
+ * Before configuring PrivateLink, read the
218
+ * [<Databricks> article about PrivateLink](https://docs.databricks.com/administration-guide/cloud-configurations/aws/privatelink.html).
219
+ */
220
+ createVpcEndpointPublic(req: CreateVpcEndpointRequest, options?: CallOptions): Promise<CustomerFacingVpcEndpoint>;
221
+ /**
222
+ * Deletes a <Databricks> network configuration, which represents a cloud VPC and its resources. You cannot delete a network that is associated with a workspace.
223
+ *
224
+ * This operation is available only if your account is on the E2 version of the platform.
225
+ */
226
+ deleteNetworkPublic(req: DeleteNetworkRequest, options?: CallOptions): Promise<Network>;
227
+ /** Deletes a <Databricks> private access settings configuration, both specified by ID. */
228
+ deletePrivateAccessSettingsPublic(req: DeletePrivateAccessSettingsRequest, options?: CallOptions): Promise<CustomerFacingPrivateAccessSettings>;
229
+ /** Deletes a Databricks VPC endpoint configuration. You cannot delete a VPC endpoint configuration that is associated with any workspace. */
230
+ deleteVpcEndpointPublic(req: DeleteVpcEndpointRequest, options?: CallOptions): Promise<CustomerFacingVpcEndpoint>;
231
+ /** Gets a <Databricks> network configuration, which represents a cloud VPC and its resources. */
232
+ getNetworkPublic(req: GetNetworkRequest, options?: CallOptions): Promise<Network>;
233
+ /** Gets a <Databricks> private access settings configuration, both specified by ID. */
234
+ getPrivateAccessSettingsPublic(req: GetPrivateAccessSettingsRequest, options?: CallOptions): Promise<CustomerFacingPrivateAccessSettings>;
235
+ /**
236
+ * Gets a VPC endpoint configuration, which represents
237
+ * a [VPC endpoint](https://docs.aws.amazon.com/vpc/latest/privatelink/concepts.html)
238
+ * object in AWS used to communicate privately with <Databricks> over
239
+ * [AWS PrivateLink](https://aws.amazon.com/privatelink).
240
+ */
241
+ getVpcEndpointPublic(req: GetVpcEndpointRequest, options?: CallOptions): Promise<CustomerFacingVpcEndpoint>;
242
+ /** Lists <Databricks> network configurations for an account. */
243
+ listNetworkPublic(req: ListNetworkRequest, options?: CallOptions): Promise<ListNetworkResponse>;
244
+ /** Lists <Databricks> private access settings for an account. */
245
+ listPrivateAccessSettingsPublic(req: ListPrivateAccessSettingsRequest, options?: CallOptions): Promise<ListPrivateAccessSettingsResponse>;
246
+ /** Lists Databricks VPC endpoint configurations for an account. */
247
+ listVpcEndpointPublic(req: ListVpcEndpointRequest, options?: CallOptions): Promise<ListVpcEndpointResponse>;
248
+ /**
249
+ * 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.
250
+ * 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.
251
+ * 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.
252
+ * Before configuring PrivateLink, read the <Databricks> article about PrivateLink.
253
+ */
254
+ updatePrivateAccessSettingsPublic(req: UpdatePrivateAccessSettingsRequest, options?: CallOptions): Promise<CustomerFacingPrivateAccessSettings>;
255
+ /**
256
+ * Gets the network option for a workspace. Every workspace has exactly one network policy binding,
257
+ * with 'default-policy' used if no explicit assignment exists.
258
+ */
259
+ getWorkspaceNetworkOptionRpc(req: GetWorkspaceNetworkOptionRequest, options?: CallOptions): Promise<WorkspaceNetworkOption>;
260
+ /**
261
+ * Updates the network option for a workspace. This operation associates the workspace with the specified network policy.
262
+ * To revert to the default policy, specify 'default-policy' as the network_policy_id.
263
+ */
264
+ updateWorkspaceNetworkOptionRpc(req: UpdateWorkspaceNetworkOptionRequest, options?: CallOptions): Promise<WorkspaceNetworkOption>;
265
+ }
266
+ //# sourceMappingURL=client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/v1/client.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAYlE,OAAO,KAAK,EACV,oBAAoB,EACpB,gCAAgC,EAChC,yCAAyC,EACzC,qBAAqB,EACrB,kBAAkB,EAClB,2BAA2B,EAC3B,mCAAmC,EACnC,sCAAsC,EACtC,0BAA0B,EAC1B,oBAAoB,EACpB,kCAAkC,EAClC,wBAAwB,EACxB,uCAAuC,EACvC,mCAAmC,EACnC,yBAAyB,EACzB,gCAAgC,EAChC,yCAAyC,EACzC,qBAAqB,EACrB,kBAAkB,EAClB,2BAA2B,EAC3B,mCAAmC,EACnC,sCAAsC,EACtC,0BAA0B,EAC1B,oBAAoB,EACpB,kCAAkC,EAClC,wBAAwB,EACxB,QAAQ,EACR,6BAA6B,EAC7B,sCAAsC,EACtC,kBAAkB,EAClB,eAAe,EACf,wBAAwB,EACxB,gCAAgC,EAChC,mCAAmC,EACnC,uBAAuB,EACvB,iBAAiB,EACjB,+BAA+B,EAC/B,qBAAqB,EACrB,gCAAgC,EAChC,+BAA+B,EAC/B,wCAAwC,EACxC,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,EACjB,0BAA0B,EAC1B,kCAAkC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