@databricks/sdk-networking 0.1.0-dev.2 → 0.1.0-dev.4
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/v1/client.d.ts +13 -13
- package/dist/v1/client.d.ts.map +1 -1
- package/dist/v1/client.js +13 -13
- package/dist/v1/client.js.map +1 -1
- package/dist/v1/index.d.ts +1 -1
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js.map +1 -1
- package/dist/v1/model.d.ts +180 -143
- package/dist/v1/model.d.ts.map +1 -1
- package/dist/v1/model.js +229 -293
- package/dist/v1/model.js.map +1 -1
- package/dist/v1/utils.d.ts.map +1 -1
- package/dist/v1/utils.js +2 -1
- package/dist/v1/utils.js.map +1 -1
- package/package.json +6 -6
- package/src/v1/client.ts +0 -1704
- package/src/v1/index.ts +0 -155
- package/src/v1/model.ts +0 -4519
- package/src/v1/transport.ts +0 -73
- package/src/v1/utils.ts +0 -156
package/dist/v1/model.d.ts
CHANGED
|
@@ -1,208 +1,230 @@
|
|
|
1
1
|
import { Temporal } from '@js-temporal/polyfill';
|
|
2
2
|
import { FieldMask } from '@databricks/sdk-core/wkt';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
export declare
|
|
5
|
-
WORKSPACE_ACCESS
|
|
6
|
-
DATAPLANE_RELAY_ACCESS
|
|
4
|
+
export declare const CustomerFacingVpcEndpointUseCase: {
|
|
5
|
+
readonly WORKSPACE_ACCESS: "WORKSPACE_ACCESS";
|
|
6
|
+
readonly DATAPLANE_RELAY_ACCESS: "DATAPLANE_RELAY_ACCESS";
|
|
7
7
|
/** General access, replaces WORKSPACE_ACCESS in customer-facing API. */
|
|
8
|
-
GENERAL_ACCESS
|
|
9
|
-
}
|
|
8
|
+
readonly GENERAL_ACCESS: "GENERAL_ACCESS";
|
|
9
|
+
};
|
|
10
|
+
export type CustomerFacingVpcEndpointUseCase = (typeof CustomerFacingVpcEndpointUseCase)[keyof typeof CustomerFacingVpcEndpointUseCase] | (string & {});
|
|
10
11
|
/**
|
|
11
12
|
* The target resources that are supported by Network Connectivity Config.
|
|
12
13
|
* Note: some egress types can support general types that are not defined in EgressResourceType.
|
|
13
14
|
* E.g.: Azure private endpoint supports private link enabled Azure services.
|
|
14
15
|
*/
|
|
15
|
-
export declare
|
|
16
|
-
EGRESS_RESOURCE_TYPE_UNSPECIFIED
|
|
17
|
-
AZURE_BLOB_STORAGE
|
|
18
|
-
}
|
|
19
|
-
export
|
|
16
|
+
export declare const EgressResourceType: {
|
|
17
|
+
readonly EGRESS_RESOURCE_TYPE_UNSPECIFIED: "EGRESS_RESOURCE_TYPE_UNSPECIFIED";
|
|
18
|
+
readonly AZURE_BLOB_STORAGE: "AZURE_BLOB_STORAGE";
|
|
19
|
+
};
|
|
20
|
+
export type EgressResourceType = (typeof EgressResourceType)[keyof typeof EgressResourceType] | (string & {});
|
|
21
|
+
export declare const EndpointState: {
|
|
20
22
|
/** The endpoint is pending approval. */
|
|
21
|
-
PENDING
|
|
23
|
+
readonly PENDING: "PENDING";
|
|
22
24
|
/** The endpoint has been approved and is ready for use. */
|
|
23
|
-
APPROVED
|
|
25
|
+
readonly APPROVED: "APPROVED";
|
|
24
26
|
/** The endpoint encountered some issues during setup. */
|
|
25
|
-
FAILED
|
|
27
|
+
readonly FAILED: "FAILED";
|
|
26
28
|
/** The endpoint was once established but later disconnected. This endpoint doesn't provide connectivity. */
|
|
27
|
-
DISCONNECTED
|
|
28
|
-
}
|
|
29
|
+
readonly DISCONNECTED: "DISCONNECTED";
|
|
30
|
+
};
|
|
31
|
+
export type EndpointState = (typeof EndpointState)[keyof typeof EndpointState] | (string & {});
|
|
29
32
|
/**
|
|
30
33
|
* Type of IP access list. Valid values are as follows and are case-sensitive:
|
|
31
34
|
*
|
|
32
35
|
* * `ALLOW`: An allow list. Include this IP or range.
|
|
33
36
|
* * `BLOCK`: A block list. Exclude this IP or range. IP addresses in the block list are excluded even if they are included in an allow list.
|
|
34
37
|
*/
|
|
35
|
-
export declare
|
|
36
|
-
ALLOW
|
|
38
|
+
export declare const IpAccessListType: {
|
|
39
|
+
readonly ALLOW: "ALLOW";
|
|
37
40
|
/** Blocks the associated CIDRs. */
|
|
38
|
-
BLOCK
|
|
39
|
-
}
|
|
40
|
-
export
|
|
41
|
+
readonly BLOCK: "BLOCK";
|
|
42
|
+
};
|
|
43
|
+
export type IpAccessListType = (typeof IpAccessListType)[keyof typeof IpAccessListType] | (string & {});
|
|
44
|
+
export declare const PrivateAccessLevel: {
|
|
41
45
|
/** Only specifically listed endpoints can access my workspace */
|
|
42
|
-
ENDPOINT
|
|
46
|
+
readonly ENDPOINT: "ENDPOINT";
|
|
43
47
|
/** Only endpoints in the same account can access my workspace */
|
|
44
|
-
ACCOUNT
|
|
45
|
-
}
|
|
46
|
-
export
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
readonly ACCOUNT: "ACCOUNT";
|
|
49
|
+
};
|
|
50
|
+
export type PrivateAccessLevel = (typeof PrivateAccessLevel)[keyof typeof PrivateAccessLevel] | (string & {});
|
|
51
|
+
export declare const VpcStatus: {
|
|
52
|
+
readonly VALID: "VALID";
|
|
53
|
+
readonly BROKEN: "BROKEN";
|
|
54
|
+
readonly UNATTACHED: "UNATTACHED";
|
|
50
55
|
/** Some optional tests are failing for this Vpc, see NetworkWarning for more information */
|
|
51
|
-
WARNED
|
|
52
|
-
}
|
|
56
|
+
readonly WARNED: "WARNED";
|
|
57
|
+
};
|
|
58
|
+
export type VpcStatus = (typeof VpcStatus)[keyof typeof VpcStatus] | (string & {});
|
|
53
59
|
/**
|
|
54
60
|
* Type of IP access list. Valid values are as follows and are case-sensitive:
|
|
55
61
|
*
|
|
56
62
|
* * `ALLOW`: An allow list. Include this IP or range.
|
|
57
63
|
* * `BLOCK`: A block list. Exclude this IP or range. IP addresses in the block list are excluded even if they are included in an allow list.
|
|
58
64
|
*/
|
|
59
|
-
export declare
|
|
65
|
+
export declare const AccountIpAccessListType_IpAccessListType: {
|
|
60
66
|
/** Allows the associated CIDRs. */
|
|
61
|
-
ALLOW
|
|
67
|
+
readonly ALLOW: "ALLOW";
|
|
62
68
|
/** Blocks the associated CIDRs. */
|
|
63
|
-
BLOCK
|
|
64
|
-
}
|
|
69
|
+
readonly BLOCK: "BLOCK";
|
|
70
|
+
};
|
|
71
|
+
export type AccountIpAccessListType_IpAccessListType = (typeof AccountIpAccessListType_IpAccessListType)[keyof typeof AccountIpAccessListType_IpAccessListType] | (string & {});
|
|
65
72
|
/**
|
|
66
73
|
* Qualifies the breadth of API access permitted by an ingress network policy rule.
|
|
67
74
|
* API_SCOPE_QUALIFIER_READ narrows matching to read-only variants of the listed scopes;
|
|
68
75
|
* API_SCOPE_QUALIFIER_ALL matches any scope. When unset, scopes match exactly as listed.
|
|
69
76
|
*/
|
|
70
|
-
export declare
|
|
77
|
+
export declare const CustomerFacingIngressNetworkPolicy_ApiScopeQualifier: {
|
|
71
78
|
/** Narrows matching to read-only variants of the listed scopes (e.g. GET/HEAD requests). */
|
|
72
|
-
API_SCOPE_QUALIFIER_READ
|
|
79
|
+
readonly API_SCOPE_QUALIFIER_READ: "API_SCOPE_QUALIFIER_READ";
|
|
73
80
|
/** Matches any scope regardless of access level. */
|
|
74
|
-
API_SCOPE_QUALIFIER_ALL
|
|
75
|
-
}
|
|
76
|
-
export
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}
|
|
95
|
-
export declare
|
|
96
|
-
|
|
97
|
-
RESTRICTED_ACCESS
|
|
98
|
-
}
|
|
99
|
-
export
|
|
100
|
-
|
|
81
|
+
readonly API_SCOPE_QUALIFIER_ALL: "API_SCOPE_QUALIFIER_ALL";
|
|
82
|
+
};
|
|
83
|
+
export type CustomerFacingIngressNetworkPolicy_ApiScopeQualifier = (typeof CustomerFacingIngressNetworkPolicy_ApiScopeQualifier)[keyof typeof CustomerFacingIngressNetworkPolicy_ApiScopeQualifier] | (string & {});
|
|
84
|
+
export declare const CustomerFacingIngressNetworkPolicy_Authentication_IdentityType: {
|
|
85
|
+
readonly IDENTITY_TYPE_UNSPECIFIED: "IDENTITY_TYPE_UNSPECIFIED";
|
|
86
|
+
readonly IDENTITY_TYPE_ALL_USERS: "IDENTITY_TYPE_ALL_USERS";
|
|
87
|
+
readonly IDENTITY_TYPE_ALL_SERVICE_PRINCIPALS: "IDENTITY_TYPE_ALL_SERVICE_PRINCIPALS";
|
|
88
|
+
readonly IDENTITY_TYPE_SELECTED_IDENTITIES: "IDENTITY_TYPE_SELECTED_IDENTITIES";
|
|
89
|
+
};
|
|
90
|
+
export type CustomerFacingIngressNetworkPolicy_Authentication_IdentityType = (typeof CustomerFacingIngressNetworkPolicy_Authentication_IdentityType)[keyof typeof CustomerFacingIngressNetworkPolicy_Authentication_IdentityType] | (string & {});
|
|
91
|
+
export declare const CustomerFacingIngressNetworkPolicy_AuthenticationIdentity_PrincipalType: {
|
|
92
|
+
readonly PRINCIPAL_TYPE_UNSPECIFIED: "PRINCIPAL_TYPE_UNSPECIFIED";
|
|
93
|
+
readonly PRINCIPAL_TYPE_USER: "PRINCIPAL_TYPE_USER";
|
|
94
|
+
readonly PRINCIPAL_TYPE_SERVICE_PRINCIPAL: "PRINCIPAL_TYPE_SERVICE_PRINCIPAL";
|
|
95
|
+
};
|
|
96
|
+
export type CustomerFacingIngressNetworkPolicy_AuthenticationIdentity_PrincipalType = (typeof CustomerFacingIngressNetworkPolicy_AuthenticationIdentity_PrincipalType)[keyof typeof CustomerFacingIngressNetworkPolicy_AuthenticationIdentity_PrincipalType] | (string & {});
|
|
97
|
+
export declare const CustomerFacingIngressNetworkPolicy_CrossWorkspaceAccess_RestrictionMode: {
|
|
98
|
+
readonly FULL_ACCESS: "FULL_ACCESS";
|
|
99
|
+
readonly RESTRICTED_ACCESS: "RESTRICTED_ACCESS";
|
|
100
|
+
};
|
|
101
|
+
export type CustomerFacingIngressNetworkPolicy_CrossWorkspaceAccess_RestrictionMode = (typeof CustomerFacingIngressNetworkPolicy_CrossWorkspaceAccess_RestrictionMode)[keyof typeof CustomerFacingIngressNetworkPolicy_CrossWorkspaceAccess_RestrictionMode] | (string & {});
|
|
102
|
+
export declare const CustomerFacingIngressNetworkPolicy_PrivateAccess_RestrictionMode: {
|
|
103
|
+
readonly ALLOW_ALL_REGISTERED_ENDPOINTS: "ALLOW_ALL_REGISTERED_ENDPOINTS";
|
|
104
|
+
readonly RESTRICTED_ACCESS: "RESTRICTED_ACCESS";
|
|
105
|
+
};
|
|
106
|
+
export type CustomerFacingIngressNetworkPolicy_PrivateAccess_RestrictionMode = (typeof CustomerFacingIngressNetworkPolicy_PrivateAccess_RestrictionMode)[keyof typeof CustomerFacingIngressNetworkPolicy_PrivateAccess_RestrictionMode] | (string & {});
|
|
107
|
+
export declare const CustomerFacingIngressNetworkPolicy_PublicAccess_RestrictionMode: {
|
|
108
|
+
readonly FULL_ACCESS: "FULL_ACCESS";
|
|
109
|
+
readonly RESTRICTED_ACCESS: "RESTRICTED_ACCESS";
|
|
110
|
+
};
|
|
111
|
+
export type CustomerFacingIngressNetworkPolicy_PublicAccess_RestrictionMode = (typeof CustomerFacingIngressNetworkPolicy_PublicAccess_RestrictionMode)[keyof typeof CustomerFacingIngressNetworkPolicy_PublicAccess_RestrictionMode] | (string & {});
|
|
112
|
+
export declare const CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule_PrivateLinkConnectionState: {
|
|
113
|
+
readonly PRIVATE_LINK_CONNECTION_STATE_UNSPECIFIED: "PRIVATE_LINK_CONNECTION_STATE_UNSPECIFIED";
|
|
101
114
|
/** The endpoint has been approved and is ready to use in your serverless compute resources. */
|
|
102
|
-
ESTABLISHED
|
|
115
|
+
readonly ESTABLISHED: "ESTABLISHED";
|
|
103
116
|
/** Connection was rejected by the private link resource owner. */
|
|
104
|
-
REJECTED
|
|
117
|
+
readonly REJECTED: "REJECTED";
|
|
105
118
|
/**
|
|
106
119
|
* Connection was removed by the private link resource owner, the private endpoint becomes informative and should
|
|
107
120
|
* be deleted for clean-up.
|
|
108
121
|
*/
|
|
109
|
-
DISCONNECTED
|
|
122
|
+
readonly DISCONNECTED: "DISCONNECTED";
|
|
110
123
|
/** If the endpoint is created but not approved in 14 days, it is EXPIRED. */
|
|
111
|
-
EXPIRED
|
|
124
|
+
readonly EXPIRED: "EXPIRED";
|
|
112
125
|
/** The endpoint has been created and pending approval. */
|
|
113
|
-
PENDING
|
|
126
|
+
readonly PENDING: "PENDING";
|
|
114
127
|
/** The endpoint creation is in progress. */
|
|
115
|
-
CREATING
|
|
128
|
+
readonly CREATING: "CREATING";
|
|
116
129
|
/** The endpoint creation failed. */
|
|
117
|
-
CREATE_FAILED
|
|
118
|
-
}
|
|
119
|
-
export
|
|
120
|
-
|
|
130
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
131
|
+
};
|
|
132
|
+
export type CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule_PrivateLinkConnectionState = (typeof CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule_PrivateLinkConnectionState)[keyof typeof CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule_PrivateLinkConnectionState] | (string & {});
|
|
133
|
+
export declare const CustomerFacingNetworkConnectivityConfigAzurePrivateEndpointRule_PrivateLinkConnectionState: {
|
|
134
|
+
readonly PRIVATE_LINK_CONNECTION_STATE_UNSPECIFIED: "PRIVATE_LINK_CONNECTION_STATE_UNSPECIFIED";
|
|
121
135
|
/** The endpoint has been created and pending approval. */
|
|
122
|
-
INIT
|
|
136
|
+
readonly INIT: "INIT";
|
|
123
137
|
/** The endpoint has been approved and is ready to use in your serverless compute resources. */
|
|
124
|
-
ESTABLISHED
|
|
138
|
+
readonly ESTABLISHED: "ESTABLISHED";
|
|
125
139
|
/** Connection was rejected by the private link resource owner. */
|
|
126
|
-
REJECTED
|
|
140
|
+
readonly REJECTED: "REJECTED";
|
|
127
141
|
/**
|
|
128
142
|
* Connection was removed by the private link resource owner, the private endpoint becomes informative and should
|
|
129
143
|
* be deleted for clean-up.
|
|
130
144
|
*/
|
|
131
|
-
DISCONNECTED
|
|
145
|
+
readonly DISCONNECTED: "DISCONNECTED";
|
|
132
146
|
/** If the endpoint was created but not approved in 14 days, it will be EXPIRED. */
|
|
133
|
-
EXPIRED
|
|
147
|
+
readonly EXPIRED: "EXPIRED";
|
|
134
148
|
/** The endpoint has been created and pending approval. */
|
|
135
|
-
PENDING
|
|
149
|
+
readonly PENDING: "PENDING";
|
|
136
150
|
/** The endpoint creation is in progress. */
|
|
137
|
-
CREATING
|
|
151
|
+
readonly CREATING: "CREATING";
|
|
138
152
|
/** The endpoint creation failed. */
|
|
139
|
-
CREATE_FAILED
|
|
140
|
-
}
|
|
141
|
-
export
|
|
142
|
-
|
|
153
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
154
|
+
};
|
|
155
|
+
export type CustomerFacingNetworkConnectivityConfigAzurePrivateEndpointRule_PrivateLinkConnectionState = (typeof CustomerFacingNetworkConnectivityConfigAzurePrivateEndpointRule_PrivateLinkConnectionState)[keyof typeof CustomerFacingNetworkConnectivityConfigAzurePrivateEndpointRule_PrivateLinkConnectionState] | (string & {});
|
|
156
|
+
export declare const EgressNetworkPolicy_NetworkAccessPolicy_InternetDestination_InternetDestinationType: {
|
|
157
|
+
readonly INTERNET_DESTINATION_TYPE_UNSPECIFIED: "INTERNET_DESTINATION_TYPE_UNSPECIFIED";
|
|
143
158
|
/** This is defined as `FQDN` in settings-policy/api/proto/messages.proto. Translation is done in accounts-lake-net-manager/src/util/NetworkPolicySettingUtil.scala. */
|
|
144
|
-
DNS_NAME
|
|
145
|
-
}
|
|
159
|
+
readonly DNS_NAME: "DNS_NAME";
|
|
160
|
+
};
|
|
161
|
+
export type EgressNetworkPolicy_NetworkAccessPolicy_InternetDestination_InternetDestinationType = (typeof EgressNetworkPolicy_NetworkAccessPolicy_InternetDestination_InternetDestinationType)[keyof typeof EgressNetworkPolicy_NetworkAccessPolicy_InternetDestination_InternetDestinationType] | (string & {});
|
|
146
162
|
/** The values should match the list of workloads used in networkconfig.proto */
|
|
147
|
-
export declare
|
|
148
|
-
DRY_RUN_MODE_PRODUCT_FILTER_UNSPECIFIED
|
|
163
|
+
export declare const EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_DryRunModeProductFilter: {
|
|
164
|
+
readonly DRY_RUN_MODE_PRODUCT_FILTER_UNSPECIFIED: "DRY_RUN_MODE_PRODUCT_FILTER_UNSPECIFIED";
|
|
149
165
|
/** SQL Warehouse product */
|
|
150
|
-
DBSQL
|
|
166
|
+
readonly DBSQL: "DBSQL";
|
|
151
167
|
/** Machine Learning serving product */
|
|
152
|
-
ML_SERVING
|
|
153
|
-
}
|
|
154
|
-
export
|
|
155
|
-
|
|
168
|
+
readonly ML_SERVING: "ML_SERVING";
|
|
169
|
+
};
|
|
170
|
+
export type EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_DryRunModeProductFilter = (typeof EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_DryRunModeProductFilter)[keyof typeof EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_DryRunModeProductFilter] | (string & {});
|
|
171
|
+
export declare const EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_EnforcementMode: {
|
|
172
|
+
readonly ENFORCEMENT_MODE_UNSPECIFIED: "ENFORCEMENT_MODE_UNSPECIFIED";
|
|
156
173
|
/** Blocks traffic that violates network policy. This is the default mode. */
|
|
157
|
-
ENFORCED
|
|
174
|
+
readonly ENFORCED: "ENFORCED";
|
|
158
175
|
/** Logs violations without blocking traffic. Useful for testing policies before enforcement. */
|
|
159
|
-
DRY_RUN
|
|
160
|
-
}
|
|
176
|
+
readonly DRY_RUN: "DRY_RUN";
|
|
177
|
+
};
|
|
178
|
+
export type EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_EnforcementMode = (typeof EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_EnforcementMode)[keyof typeof EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_EnforcementMode] | (string & {});
|
|
161
179
|
/**
|
|
162
180
|
* At which level can <Databricks> and <Databricks> managed compute access Internet.
|
|
163
181
|
* FULL_ACCESS: <Databricks> can access Internet. No blocking rules will apply.
|
|
164
182
|
* RESTRICTED_ACCESS: <Databricks> can only access explicitly allowed internet and storage destinations,
|
|
165
183
|
* as well as UC connections and external locations.
|
|
166
184
|
*/
|
|
167
|
-
export declare
|
|
168
|
-
RESTRICTION_MODE_UNSPECIFIED
|
|
169
|
-
FULL_ACCESS
|
|
170
|
-
RESTRICTED_ACCESS
|
|
171
|
-
}
|
|
172
|
-
export
|
|
173
|
-
|
|
185
|
+
export declare const EgressNetworkPolicy_NetworkAccessPolicy_RestrictionMode: {
|
|
186
|
+
readonly RESTRICTION_MODE_UNSPECIFIED: "RESTRICTION_MODE_UNSPECIFIED";
|
|
187
|
+
readonly FULL_ACCESS: "FULL_ACCESS";
|
|
188
|
+
readonly RESTRICTED_ACCESS: "RESTRICTED_ACCESS";
|
|
189
|
+
};
|
|
190
|
+
export type EgressNetworkPolicy_NetworkAccessPolicy_RestrictionMode = (typeof EgressNetworkPolicy_NetworkAccessPolicy_RestrictionMode)[keyof typeof EgressNetworkPolicy_NetworkAccessPolicy_RestrictionMode] | (string & {});
|
|
191
|
+
export declare const EgressNetworkPolicy_NetworkAccessPolicy_StorageDestination_StorageDestinationType: {
|
|
192
|
+
readonly STORAGE_DESTINATION_TYPE_UNSPECIFIED: "STORAGE_DESTINATION_TYPE_UNSPECIFIED";
|
|
174
193
|
/**
|
|
175
194
|
* AWS_S3 can be used both for direct AWS S3 access and for cross-cloud access from Azure and GCP
|
|
176
195
|
* When used in an Azure/GCP context, this indicates cross-cloud access from Azure/GCP to the specified S3 bucket
|
|
177
196
|
*/
|
|
178
|
-
AWS_S3
|
|
179
|
-
AZURE_STORAGE
|
|
180
|
-
GOOGLE_CLOUD_STORAGE
|
|
181
|
-
}
|
|
182
|
-
export
|
|
197
|
+
readonly AWS_S3: "AWS_S3";
|
|
198
|
+
readonly AZURE_STORAGE: "AZURE_STORAGE";
|
|
199
|
+
readonly GOOGLE_CLOUD_STORAGE: "GOOGLE_CLOUD_STORAGE";
|
|
200
|
+
};
|
|
201
|
+
export type EgressNetworkPolicy_NetworkAccessPolicy_StorageDestination_StorageDestinationType = (typeof EgressNetworkPolicy_NetworkAccessPolicy_StorageDestination_StorageDestinationType)[keyof typeof EgressNetworkPolicy_NetworkAccessPolicy_StorageDestination_StorageDestinationType] | (string & {});
|
|
202
|
+
export declare const EndpointUseCase_EndpointUseCase: {
|
|
183
203
|
/** service-direct frontend private link connectivity. */
|
|
184
|
-
SERVICE_DIRECT
|
|
185
|
-
}
|
|
186
|
-
export
|
|
187
|
-
|
|
204
|
+
readonly SERVICE_DIRECT: "SERVICE_DIRECT";
|
|
205
|
+
};
|
|
206
|
+
export type EndpointUseCase_EndpointUseCase = (typeof EndpointUseCase_EndpointUseCase)[keyof typeof EndpointUseCase_EndpointUseCase] | (string & {});
|
|
207
|
+
export declare const NccPrivateEndpointRule_PrivateLinkConnectionState: {
|
|
208
|
+
readonly PRIVATE_LINK_CONNECTION_STATE_UNSPECIFIED: "PRIVATE_LINK_CONNECTION_STATE_UNSPECIFIED";
|
|
188
209
|
/** The endpoint has been approved and is ready to use in your serverless compute resources. */
|
|
189
|
-
ESTABLISHED
|
|
210
|
+
readonly ESTABLISHED: "ESTABLISHED";
|
|
190
211
|
/** Connection was rejected by the private link resource owner. */
|
|
191
|
-
REJECTED
|
|
212
|
+
readonly REJECTED: "REJECTED";
|
|
192
213
|
/**
|
|
193
214
|
* Connection was removed by the private link resource owner, the private endpoint becomes informative and should
|
|
194
215
|
* be deleted for clean-up.
|
|
195
216
|
*/
|
|
196
|
-
DISCONNECTED
|
|
217
|
+
readonly DISCONNECTED: "DISCONNECTED";
|
|
197
218
|
/** If the endpoint was created but not approved in 14 days, it will be EXPIRED. */
|
|
198
|
-
EXPIRED
|
|
219
|
+
readonly EXPIRED: "EXPIRED";
|
|
199
220
|
/** The endpoint has been created and pending approval. */
|
|
200
|
-
PENDING
|
|
221
|
+
readonly PENDING: "PENDING";
|
|
201
222
|
/** The endpoint creation is in progress. */
|
|
202
|
-
CREATING
|
|
223
|
+
readonly CREATING: "CREATING";
|
|
203
224
|
/** The endpoint creation failed. */
|
|
204
|
-
CREATE_FAILED
|
|
205
|
-
}
|
|
225
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
226
|
+
};
|
|
227
|
+
export type NccPrivateEndpointRule_PrivateLinkConnectionState = (typeof NccPrivateEndpointRule_PrivateLinkConnectionState)[keyof typeof NccPrivateEndpointRule_PrivateLinkConnectionState] | (string & {});
|
|
206
228
|
/** Definition of an IP Access list */
|
|
207
229
|
export interface AccountIpAccessList {
|
|
208
230
|
/** Universally unique identifier (UUID) of the IP access list. */
|
|
@@ -263,7 +285,7 @@ export interface CreateAccountIpAccessListRequest {
|
|
|
263
285
|
ipAddresses?: string[] | undefined;
|
|
264
286
|
}
|
|
265
287
|
/** An IP access list was successfully created. */
|
|
266
|
-
export interface
|
|
288
|
+
export interface CreateAccountIpAccessListResponse {
|
|
267
289
|
ipAccessList?: AccountIpAccessList | undefined;
|
|
268
290
|
}
|
|
269
291
|
export interface CreateEndpointRequest {
|
|
@@ -282,7 +304,7 @@ export interface CreateIpAccessList {
|
|
|
282
304
|
ipAddresses?: string[] | undefined;
|
|
283
305
|
}
|
|
284
306
|
/** An IP access list was successfully created. */
|
|
285
|
-
export interface
|
|
307
|
+
export interface CreateIpAccessListResponse {
|
|
286
308
|
ipAccessList?: IpAccessList | undefined;
|
|
287
309
|
}
|
|
288
310
|
/** Properties of the new private endpoint rule. */
|
|
@@ -607,6 +629,10 @@ export interface CustomerFacingIngressNetworkPolicy_RequestDestination {
|
|
|
607
629
|
lakebaseRuntime?: CustomerFacingIngressNetworkPolicy_LakebaseRuntimeDestination | undefined;
|
|
608
630
|
accountUi?: CustomerFacingIngressNetworkPolicy_AccountUiDestination | undefined;
|
|
609
631
|
accountApi?: CustomerFacingIngressNetworkPolicy_AccountApiDestination | undefined;
|
|
632
|
+
/**
|
|
633
|
+
* Account DatabricksOne destination is not supported.
|
|
634
|
+
* DO NOT change the stage of this destination past PRIVATE_PREVIEW.
|
|
635
|
+
*/
|
|
610
636
|
accountDatabricksOne?: CustomerFacingIngressNetworkPolicy_AccountDatabricksOneDestination | undefined;
|
|
611
637
|
}
|
|
612
638
|
export interface CustomerFacingIngressNetworkPolicy_WorkspaceApiDestination {
|
|
@@ -838,7 +864,7 @@ export interface DeleteAccountIpAccessListRequest {
|
|
|
838
864
|
listId?: string | undefined;
|
|
839
865
|
}
|
|
840
866
|
/** The IP access list was successfully deleted. */
|
|
841
|
-
export interface
|
|
867
|
+
export interface DeleteAccountIpAccessListResponse {
|
|
842
868
|
}
|
|
843
869
|
export interface DeleteEndpointRequest {
|
|
844
870
|
name?: string | undefined;
|
|
@@ -848,7 +874,7 @@ export interface DeleteIpAccessList {
|
|
|
848
874
|
listId?: string | undefined;
|
|
849
875
|
}
|
|
850
876
|
/** The IP access list was successfully deleted. */
|
|
851
|
-
export interface
|
|
877
|
+
export interface DeleteIpAccessListResponse {
|
|
852
878
|
}
|
|
853
879
|
/**
|
|
854
880
|
* Initiates deleting a private endpoint rule. If the connection state is PENDING or EXPIRED, the private endpoint is
|
|
@@ -915,6 +941,15 @@ export interface EgressNetworkPolicy_NetworkAccessPolicy {
|
|
|
915
941
|
* Currently supports DNS_NAME type only; IP_RANGE support is planned.
|
|
916
942
|
*/
|
|
917
943
|
blockedInternetDestinations?: EgressNetworkPolicy_NetworkAccessPolicy_InternetDestination[] | undefined;
|
|
944
|
+
/**
|
|
945
|
+
* List of <Databricks> workspace destinations that serverless workloads are
|
|
946
|
+
* allowed to access when in RESTRICTED_ACCESS mode.
|
|
947
|
+
*/
|
|
948
|
+
allowedDatabricksDestinations?: EgressNetworkPolicy_NetworkAccessPolicy_DatabricksDestination[] | undefined;
|
|
949
|
+
}
|
|
950
|
+
export interface EgressNetworkPolicy_NetworkAccessPolicy_DatabricksDestination {
|
|
951
|
+
/** The workspace IDs to allow egress traffic to. */
|
|
952
|
+
workspaceIds?: bigint[] | undefined;
|
|
918
953
|
}
|
|
919
954
|
/**
|
|
920
955
|
* Users can specify accessible internet destinations when outbound access is restricted.
|
|
@@ -1027,7 +1062,7 @@ export interface GetAccountIpAccessListRequest {
|
|
|
1027
1062
|
/** The ID for the corresponding IP access list */
|
|
1028
1063
|
listId?: string | undefined;
|
|
1029
1064
|
}
|
|
1030
|
-
export interface
|
|
1065
|
+
export interface GetAccountIpAccessListResponse {
|
|
1031
1066
|
ipAccessList?: AccountIpAccessList | undefined;
|
|
1032
1067
|
}
|
|
1033
1068
|
export interface GetEndpointRequest {
|
|
@@ -1038,7 +1073,7 @@ export interface GetIpAccessList {
|
|
|
1038
1073
|
listId?: string | undefined;
|
|
1039
1074
|
}
|
|
1040
1075
|
/** An IP access list was successfully returned. */
|
|
1041
|
-
export interface
|
|
1076
|
+
export interface GetIpAccessListResponse {
|
|
1042
1077
|
ipAccessList?: IpAccessList | undefined;
|
|
1043
1078
|
}
|
|
1044
1079
|
export interface GetNccPrivateEndpointRuleRequest {
|
|
@@ -1108,7 +1143,7 @@ export interface ListAccountIpAccessListsRequest {
|
|
|
1108
1143
|
accountId?: string | undefined;
|
|
1109
1144
|
}
|
|
1110
1145
|
/** IP access lists were successfully returned. */
|
|
1111
|
-
export interface
|
|
1146
|
+
export interface ListAccountIpAccessListsResponse {
|
|
1112
1147
|
ipAccessLists?: AccountIpAccessList[] | undefined;
|
|
1113
1148
|
}
|
|
1114
1149
|
export interface ListEndpointsRequest {
|
|
@@ -1127,7 +1162,7 @@ export interface ListEndpointsResponse {
|
|
|
1127
1162
|
export interface ListIpAccessLists {
|
|
1128
1163
|
}
|
|
1129
1164
|
/** IP access lists were successfully returned. */
|
|
1130
|
-
export interface
|
|
1165
|
+
export interface ListIpAccessListsResponse {
|
|
1131
1166
|
ipAccessLists?: IpAccessList[] | undefined;
|
|
1132
1167
|
}
|
|
1133
1168
|
/** Gets an array of private endpoint rules. */
|
|
@@ -1347,7 +1382,7 @@ export interface ReplaceAccountIpAccessListRequest {
|
|
|
1347
1382
|
enabled?: boolean | undefined;
|
|
1348
1383
|
}
|
|
1349
1384
|
/** The IP access list was successfully replaced. */
|
|
1350
|
-
export interface
|
|
1385
|
+
export interface ReplaceAccountIpAccessListResponse {
|
|
1351
1386
|
ipAccessList?: AccountIpAccessList | undefined;
|
|
1352
1387
|
}
|
|
1353
1388
|
/** Details required to replace an IP access list. */
|
|
@@ -1362,7 +1397,7 @@ export interface ReplaceIpAccessList {
|
|
|
1362
1397
|
enabled?: boolean | undefined;
|
|
1363
1398
|
}
|
|
1364
1399
|
/** The IP access list was successfully replaced. */
|
|
1365
|
-
export interface
|
|
1400
|
+
export interface ReplaceIpAccessListResponse {
|
|
1366
1401
|
ipAccessList?: IpAccessList | undefined;
|
|
1367
1402
|
}
|
|
1368
1403
|
/** Details required to update an IP access list. */
|
|
@@ -1378,7 +1413,7 @@ export interface UpdateAccountIpAccessListRequest {
|
|
|
1378
1413
|
enabled?: boolean | undefined;
|
|
1379
1414
|
}
|
|
1380
1415
|
/** The IP access list was successfully updated. */
|
|
1381
|
-
export interface
|
|
1416
|
+
export interface UpdateAccountIpAccessListResponse {
|
|
1382
1417
|
ipAccessList?: AccountIpAccessList | undefined;
|
|
1383
1418
|
}
|
|
1384
1419
|
/** Details required to update an IP access list. */
|
|
@@ -1393,7 +1428,7 @@ export interface UpdateIpAccessList {
|
|
|
1393
1428
|
enabled?: boolean | undefined;
|
|
1394
1429
|
}
|
|
1395
1430
|
/** The IP access list was successfully updated. */
|
|
1396
|
-
export interface
|
|
1431
|
+
export interface UpdateIpAccessListResponse {
|
|
1397
1432
|
ipAccessList?: IpAccessList | undefined;
|
|
1398
1433
|
}
|
|
1399
1434
|
/** Your Network Connectivity Configuration ID. */
|
|
@@ -1516,8 +1551,8 @@ export interface WorkspaceNetworkOption {
|
|
|
1516
1551
|
export declare const unmarshalAccountIpAccessListSchema: z.ZodType<AccountIpAccessList>;
|
|
1517
1552
|
export declare const unmarshalAccountNetworkPolicySchema: z.ZodType<AccountNetworkPolicy>;
|
|
1518
1553
|
export declare const unmarshalAzurePrivateEndpointInfoSchema: z.ZodType<AzurePrivateEndpointInfo>;
|
|
1519
|
-
export declare const
|
|
1520
|
-
export declare const
|
|
1554
|
+
export declare const unmarshalCreateAccountIpAccessListResponseSchema: z.ZodType<CreateAccountIpAccessListResponse>;
|
|
1555
|
+
export declare const unmarshalCreateIpAccessListResponseSchema: z.ZodType<CreateIpAccessListResponse>;
|
|
1521
1556
|
export declare const unmarshalCustomerFacingGcpVpcEndpointInfoSchema: z.ZodType<CustomerFacingGcpVpcEndpointInfo>;
|
|
1522
1557
|
export declare const unmarshalCustomerFacingIngressNetworkPolicySchema: z.ZodType<CustomerFacingIngressNetworkPolicy>;
|
|
1523
1558
|
export declare const unmarshalCustomerFacingIngressNetworkPolicy_AccountApiDestinationSchema: z.ZodType<CustomerFacingIngressNetworkPolicy_AccountApiDestination>;
|
|
@@ -1549,22 +1584,23 @@ export declare const unmarshalCustomerFacingNetworkConnectivityConfigEgressConfi
|
|
|
1549
1584
|
export declare const unmarshalCustomerFacingNetworkConnectivityConfigEgressConfig_CustomerFacingTargetRuleSchema: z.ZodType<CustomerFacingNetworkConnectivityConfigEgressConfig_CustomerFacingTargetRule>;
|
|
1550
1585
|
export declare const unmarshalCustomerFacingPrivateAccessSettingsSchema: z.ZodType<CustomerFacingPrivateAccessSettings>;
|
|
1551
1586
|
export declare const unmarshalCustomerFacingVpcEndpointSchema: z.ZodType<CustomerFacingVpcEndpoint>;
|
|
1552
|
-
export declare const
|
|
1553
|
-
export declare const
|
|
1587
|
+
export declare const unmarshalDeleteAccountIpAccessListResponseSchema: z.ZodType<DeleteAccountIpAccessListResponse>;
|
|
1588
|
+
export declare const unmarshalDeleteIpAccessListResponseSchema: z.ZodType<DeleteIpAccessListResponse>;
|
|
1554
1589
|
export declare const unmarshalEgressNetworkPolicySchema: z.ZodType<EgressNetworkPolicy>;
|
|
1555
1590
|
export declare const unmarshalEgressNetworkPolicy_NetworkAccessPolicySchema: z.ZodType<EgressNetworkPolicy_NetworkAccessPolicy>;
|
|
1591
|
+
export declare const unmarshalEgressNetworkPolicy_NetworkAccessPolicy_DatabricksDestinationSchema: z.ZodType<EgressNetworkPolicy_NetworkAccessPolicy_DatabricksDestination>;
|
|
1556
1592
|
export declare const unmarshalEgressNetworkPolicy_NetworkAccessPolicy_InternetDestinationSchema: z.ZodType<EgressNetworkPolicy_NetworkAccessPolicy_InternetDestination>;
|
|
1557
1593
|
export declare const unmarshalEgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcementSchema: z.ZodType<EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement>;
|
|
1558
1594
|
export declare const unmarshalEgressNetworkPolicy_NetworkAccessPolicy_StorageDestinationSchema: z.ZodType<EgressNetworkPolicy_NetworkAccessPolicy_StorageDestination>;
|
|
1559
1595
|
export declare const unmarshalEndpointSchema: z.ZodType<Endpoint>;
|
|
1560
1596
|
export declare const unmarshalGcpEndpointSchema: z.ZodType<GcpEndpoint>;
|
|
1561
1597
|
export declare const unmarshalGcpNetworkInfoSchema: z.ZodType<GcpNetworkInfo>;
|
|
1562
|
-
export declare const
|
|
1563
|
-
export declare const
|
|
1598
|
+
export declare const unmarshalGetAccountIpAccessListResponseSchema: z.ZodType<GetAccountIpAccessListResponse>;
|
|
1599
|
+
export declare const unmarshalGetIpAccessListResponseSchema: z.ZodType<GetIpAccessListResponse>;
|
|
1564
1600
|
export declare const unmarshalIpAccessListSchema: z.ZodType<IpAccessList>;
|
|
1565
|
-
export declare const
|
|
1601
|
+
export declare const unmarshalListAccountIpAccessListsResponseSchema: z.ZodType<ListAccountIpAccessListsResponse>;
|
|
1566
1602
|
export declare const unmarshalListEndpointsResponseSchema: z.ZodType<ListEndpointsResponse>;
|
|
1567
|
-
export declare const
|
|
1603
|
+
export declare const unmarshalListIpAccessListsResponseSchema: z.ZodType<ListIpAccessListsResponse>;
|
|
1568
1604
|
export declare const unmarshalListNccPrivateEndpointRulesResponseSchema: z.ZodType<ListNccPrivateEndpointRulesResponse>;
|
|
1569
1605
|
export declare const unmarshalListNetworkConnectivityConfigsResponseSchema: z.ZodType<ListNetworkConnectivityConfigsResponse>;
|
|
1570
1606
|
export declare const unmarshalListNetworkPoliciesResponseSchema: z.ZodType<ListNetworkPoliciesResponse>;
|
|
@@ -1576,10 +1612,10 @@ export declare const unmarshalNetworkConnectivityConfigEgressConfig_DefaultRule_
|
|
|
1576
1612
|
export declare const unmarshalNetworkHealthSchema: z.ZodType<NetworkHealth>;
|
|
1577
1613
|
export declare const unmarshalNetworkVpcEndpointsSchema: z.ZodType<NetworkVpcEndpoints>;
|
|
1578
1614
|
export declare const unmarshalNetworkWarningSchema: z.ZodType<NetworkWarning>;
|
|
1579
|
-
export declare const
|
|
1580
|
-
export declare const
|
|
1581
|
-
export declare const
|
|
1582
|
-
export declare const
|
|
1615
|
+
export declare const unmarshalReplaceAccountIpAccessListResponseSchema: z.ZodType<ReplaceAccountIpAccessListResponse>;
|
|
1616
|
+
export declare const unmarshalReplaceIpAccessListResponseSchema: z.ZodType<ReplaceIpAccessListResponse>;
|
|
1617
|
+
export declare const unmarshalUpdateAccountIpAccessListResponseSchema: z.ZodType<UpdateAccountIpAccessListResponse>;
|
|
1618
|
+
export declare const unmarshalUpdateIpAccessListResponseSchema: z.ZodType<UpdateIpAccessListResponse>;
|
|
1583
1619
|
export declare const unmarshalWorkspaceNetworkOptionSchema: z.ZodType<WorkspaceNetworkOption>;
|
|
1584
1620
|
export declare const marshalAccountNetworkPolicySchema: z.ZodType;
|
|
1585
1621
|
export declare const marshalAzurePrivateEndpointInfoSchema: z.ZodType;
|
|
@@ -1621,6 +1657,7 @@ export declare const marshalCustomerFacingNetworkConnectivityConfigEgressConfig_
|
|
|
1621
1657
|
export declare const marshalCustomerFacingPrivateAccessSettingsSchema: z.ZodType;
|
|
1622
1658
|
export declare const marshalEgressNetworkPolicySchema: z.ZodType;
|
|
1623
1659
|
export declare const marshalEgressNetworkPolicy_NetworkAccessPolicySchema: z.ZodType;
|
|
1660
|
+
export declare const marshalEgressNetworkPolicy_NetworkAccessPolicy_DatabricksDestinationSchema: z.ZodType;
|
|
1624
1661
|
export declare const marshalEgressNetworkPolicy_NetworkAccessPolicy_InternetDestinationSchema: z.ZodType;
|
|
1625
1662
|
export declare const marshalEgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcementSchema: z.ZodType;
|
|
1626
1663
|
export declare const marshalEgressNetworkPolicy_NetworkAccessPolicy_StorageDestinationSchema: z.ZodType;
|