@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/model.js CHANGED
@@ -2,253 +2,237 @@
2
2
  import { Temporal } from '@js-temporal/polyfill';
3
3
  import { FieldMask } from '@databricks/sdk-core/wkt';
4
4
  import { z } from 'zod';
5
- export var CustomerFacingVpcEndpointUseCase;
6
- (function (CustomerFacingVpcEndpointUseCase) {
7
- CustomerFacingVpcEndpointUseCase["WORKSPACE_ACCESS"] = "WORKSPACE_ACCESS";
8
- CustomerFacingVpcEndpointUseCase["DATAPLANE_RELAY_ACCESS"] = "DATAPLANE_RELAY_ACCESS";
5
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
6
+ export const CustomerFacingVpcEndpointUseCase = {
7
+ WORKSPACE_ACCESS: 'WORKSPACE_ACCESS',
8
+ DATAPLANE_RELAY_ACCESS: 'DATAPLANE_RELAY_ACCESS',
9
9
  /** General access, replaces WORKSPACE_ACCESS in customer-facing API. */
10
- CustomerFacingVpcEndpointUseCase["GENERAL_ACCESS"] = "GENERAL_ACCESS";
11
- })(CustomerFacingVpcEndpointUseCase || (CustomerFacingVpcEndpointUseCase = {}));
10
+ GENERAL_ACCESS: 'GENERAL_ACCESS',
11
+ };
12
12
  /**
13
13
  * The target resources that are supported by Network Connectivity Config.
14
14
  * Note: some egress types can support general types that are not defined in EgressResourceType.
15
15
  * E.g.: Azure private endpoint supports private link enabled Azure services.
16
16
  */
17
- export var EgressResourceType;
18
- (function (EgressResourceType) {
19
- EgressResourceType["EGRESS_RESOURCE_TYPE_UNSPECIFIED"] = "EGRESS_RESOURCE_TYPE_UNSPECIFIED";
20
- EgressResourceType["AZURE_BLOB_STORAGE"] = "AZURE_BLOB_STORAGE";
21
- })(EgressResourceType || (EgressResourceType = {}));
22
- export var EndpointState;
23
- (function (EndpointState) {
17
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
18
+ export const EgressResourceType = {
19
+ EGRESS_RESOURCE_TYPE_UNSPECIFIED: 'EGRESS_RESOURCE_TYPE_UNSPECIFIED',
20
+ AZURE_BLOB_STORAGE: 'AZURE_BLOB_STORAGE',
21
+ };
22
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
23
+ export const EndpointState = {
24
24
  /** The endpoint is pending approval. */
25
- EndpointState["PENDING"] = "PENDING";
25
+ PENDING: 'PENDING',
26
26
  /** The endpoint has been approved and is ready for use. */
27
- EndpointState["APPROVED"] = "APPROVED";
27
+ APPROVED: 'APPROVED',
28
28
  /** The endpoint encountered some issues during setup. */
29
- EndpointState["FAILED"] = "FAILED";
29
+ FAILED: 'FAILED',
30
30
  /** The endpoint was once established but later disconnected. This endpoint doesn't provide connectivity. */
31
- EndpointState["DISCONNECTED"] = "DISCONNECTED";
32
- })(EndpointState || (EndpointState = {}));
31
+ DISCONNECTED: 'DISCONNECTED',
32
+ };
33
33
  /**
34
34
  * Type of IP access list. Valid values are as follows and are case-sensitive:
35
35
  *
36
36
  * * `ALLOW`: An allow list. Include this IP or range.
37
37
  * * `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.
38
38
  */
39
- export var IpAccessListType;
40
- (function (IpAccessListType) {
41
- IpAccessListType["ALLOW"] = "ALLOW";
39
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
40
+ export const IpAccessListType = {
41
+ ALLOW: 'ALLOW',
42
42
  /** Blocks the associated CIDRs. */
43
- IpAccessListType["BLOCK"] = "BLOCK";
44
- })(IpAccessListType || (IpAccessListType = {}));
45
- export var PrivateAccessLevel;
46
- (function (PrivateAccessLevel) {
43
+ BLOCK: 'BLOCK',
44
+ };
45
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
46
+ export const PrivateAccessLevel = {
47
47
  /** Only specifically listed endpoints can access my workspace */
48
- PrivateAccessLevel["ENDPOINT"] = "ENDPOINT";
48
+ ENDPOINT: 'ENDPOINT',
49
49
  /** Only endpoints in the same account can access my workspace */
50
- PrivateAccessLevel["ACCOUNT"] = "ACCOUNT";
51
- })(PrivateAccessLevel || (PrivateAccessLevel = {}));
52
- export var VpcStatus;
53
- (function (VpcStatus) {
54
- VpcStatus["VALID"] = "VALID";
55
- VpcStatus["BROKEN"] = "BROKEN";
56
- VpcStatus["UNATTACHED"] = "UNATTACHED";
50
+ ACCOUNT: 'ACCOUNT',
51
+ };
52
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
53
+ export const VpcStatus = {
54
+ VALID: 'VALID',
55
+ BROKEN: 'BROKEN',
56
+ UNATTACHED: 'UNATTACHED',
57
57
  /** Some optional tests are failing for this Vpc, see NetworkWarning for more information */
58
- VpcStatus["WARNED"] = "WARNED";
59
- })(VpcStatus || (VpcStatus = {}));
58
+ WARNED: 'WARNED',
59
+ };
60
60
  /**
61
61
  * Type of IP access list. Valid values are as follows and are case-sensitive:
62
62
  *
63
63
  * * `ALLOW`: An allow list. Include this IP or range.
64
64
  * * `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.
65
65
  */
66
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
67
- export var AccountIpAccessListType_IpAccessListType;
68
- (function (AccountIpAccessListType_IpAccessListType) {
66
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
67
+ export const AccountIpAccessListType_IpAccessListType = {
69
68
  /** Allows the associated CIDRs. */
70
- AccountIpAccessListType_IpAccessListType["ALLOW"] = "ALLOW";
69
+ ALLOW: 'ALLOW',
71
70
  /** Blocks the associated CIDRs. */
72
- AccountIpAccessListType_IpAccessListType["BLOCK"] = "BLOCK";
73
- })(AccountIpAccessListType_IpAccessListType || (AccountIpAccessListType_IpAccessListType = {}));
71
+ BLOCK: 'BLOCK',
72
+ };
74
73
  /**
75
74
  * Qualifies the breadth of API access permitted by an ingress network policy rule.
76
75
  * API_SCOPE_QUALIFIER_READ narrows matching to read-only variants of the listed scopes;
77
76
  * API_SCOPE_QUALIFIER_ALL matches any scope. When unset, scopes match exactly as listed.
78
77
  */
79
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
80
- export var CustomerFacingIngressNetworkPolicy_ApiScopeQualifier;
81
- (function (CustomerFacingIngressNetworkPolicy_ApiScopeQualifier) {
78
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
79
+ export const CustomerFacingIngressNetworkPolicy_ApiScopeQualifier = {
82
80
  /** Narrows matching to read-only variants of the listed scopes (e.g. GET/HEAD requests). */
83
- CustomerFacingIngressNetworkPolicy_ApiScopeQualifier["API_SCOPE_QUALIFIER_READ"] = "API_SCOPE_QUALIFIER_READ";
81
+ API_SCOPE_QUALIFIER_READ: 'API_SCOPE_QUALIFIER_READ',
84
82
  /** Matches any scope regardless of access level. */
85
- CustomerFacingIngressNetworkPolicy_ApiScopeQualifier["API_SCOPE_QUALIFIER_ALL"] = "API_SCOPE_QUALIFIER_ALL";
86
- })(CustomerFacingIngressNetworkPolicy_ApiScopeQualifier || (CustomerFacingIngressNetworkPolicy_ApiScopeQualifier = {}));
87
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
88
- export var CustomerFacingIngressNetworkPolicy_Authentication_IdentityType;
89
- (function (CustomerFacingIngressNetworkPolicy_Authentication_IdentityType) {
90
- CustomerFacingIngressNetworkPolicy_Authentication_IdentityType["IDENTITY_TYPE_UNSPECIFIED"] = "IDENTITY_TYPE_UNSPECIFIED";
91
- CustomerFacingIngressNetworkPolicy_Authentication_IdentityType["IDENTITY_TYPE_ALL_USERS"] = "IDENTITY_TYPE_ALL_USERS";
92
- CustomerFacingIngressNetworkPolicy_Authentication_IdentityType["IDENTITY_TYPE_ALL_SERVICE_PRINCIPALS"] = "IDENTITY_TYPE_ALL_SERVICE_PRINCIPALS";
93
- CustomerFacingIngressNetworkPolicy_Authentication_IdentityType["IDENTITY_TYPE_SELECTED_IDENTITIES"] = "IDENTITY_TYPE_SELECTED_IDENTITIES";
94
- })(CustomerFacingIngressNetworkPolicy_Authentication_IdentityType || (CustomerFacingIngressNetworkPolicy_Authentication_IdentityType = {}));
95
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
96
- export var CustomerFacingIngressNetworkPolicy_AuthenticationIdentity_PrincipalType;
97
- (function (CustomerFacingIngressNetworkPolicy_AuthenticationIdentity_PrincipalType) {
98
- CustomerFacingIngressNetworkPolicy_AuthenticationIdentity_PrincipalType["PRINCIPAL_TYPE_UNSPECIFIED"] = "PRINCIPAL_TYPE_UNSPECIFIED";
99
- CustomerFacingIngressNetworkPolicy_AuthenticationIdentity_PrincipalType["PRINCIPAL_TYPE_USER"] = "PRINCIPAL_TYPE_USER";
100
- CustomerFacingIngressNetworkPolicy_AuthenticationIdentity_PrincipalType["PRINCIPAL_TYPE_SERVICE_PRINCIPAL"] = "PRINCIPAL_TYPE_SERVICE_PRINCIPAL";
101
- })(CustomerFacingIngressNetworkPolicy_AuthenticationIdentity_PrincipalType || (CustomerFacingIngressNetworkPolicy_AuthenticationIdentity_PrincipalType = {}));
102
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
103
- export var CustomerFacingIngressNetworkPolicy_CrossWorkspaceAccess_RestrictionMode;
104
- (function (CustomerFacingIngressNetworkPolicy_CrossWorkspaceAccess_RestrictionMode) {
105
- CustomerFacingIngressNetworkPolicy_CrossWorkspaceAccess_RestrictionMode["FULL_ACCESS"] = "FULL_ACCESS";
106
- CustomerFacingIngressNetworkPolicy_CrossWorkspaceAccess_RestrictionMode["RESTRICTED_ACCESS"] = "RESTRICTED_ACCESS";
107
- })(CustomerFacingIngressNetworkPolicy_CrossWorkspaceAccess_RestrictionMode || (CustomerFacingIngressNetworkPolicy_CrossWorkspaceAccess_RestrictionMode = {}));
108
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
109
- export var CustomerFacingIngressNetworkPolicy_PrivateAccess_RestrictionMode;
110
- (function (CustomerFacingIngressNetworkPolicy_PrivateAccess_RestrictionMode) {
111
- CustomerFacingIngressNetworkPolicy_PrivateAccess_RestrictionMode["ALLOW_ALL_REGISTERED_ENDPOINTS"] = "ALLOW_ALL_REGISTERED_ENDPOINTS";
112
- CustomerFacingIngressNetworkPolicy_PrivateAccess_RestrictionMode["RESTRICTED_ACCESS"] = "RESTRICTED_ACCESS";
113
- })(CustomerFacingIngressNetworkPolicy_PrivateAccess_RestrictionMode || (CustomerFacingIngressNetworkPolicy_PrivateAccess_RestrictionMode = {}));
114
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
115
- export var CustomerFacingIngressNetworkPolicy_PublicAccess_RestrictionMode;
116
- (function (CustomerFacingIngressNetworkPolicy_PublicAccess_RestrictionMode) {
117
- CustomerFacingIngressNetworkPolicy_PublicAccess_RestrictionMode["FULL_ACCESS"] = "FULL_ACCESS";
118
- CustomerFacingIngressNetworkPolicy_PublicAccess_RestrictionMode["RESTRICTED_ACCESS"] = "RESTRICTED_ACCESS";
119
- })(CustomerFacingIngressNetworkPolicy_PublicAccess_RestrictionMode || (CustomerFacingIngressNetworkPolicy_PublicAccess_RestrictionMode = {}));
120
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
121
- export var CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule_PrivateLinkConnectionState;
122
- (function (CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule_PrivateLinkConnectionState) {
123
- CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule_PrivateLinkConnectionState["PRIVATE_LINK_CONNECTION_STATE_UNSPECIFIED"] = "PRIVATE_LINK_CONNECTION_STATE_UNSPECIFIED";
83
+ API_SCOPE_QUALIFIER_ALL: 'API_SCOPE_QUALIFIER_ALL',
84
+ };
85
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
86
+ export const CustomerFacingIngressNetworkPolicy_Authentication_IdentityType = {
87
+ IDENTITY_TYPE_UNSPECIFIED: 'IDENTITY_TYPE_UNSPECIFIED',
88
+ IDENTITY_TYPE_ALL_USERS: 'IDENTITY_TYPE_ALL_USERS',
89
+ IDENTITY_TYPE_ALL_SERVICE_PRINCIPALS: 'IDENTITY_TYPE_ALL_SERVICE_PRINCIPALS',
90
+ IDENTITY_TYPE_SELECTED_IDENTITIES: 'IDENTITY_TYPE_SELECTED_IDENTITIES',
91
+ };
92
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
93
+ export const CustomerFacingIngressNetworkPolicy_AuthenticationIdentity_PrincipalType = {
94
+ PRINCIPAL_TYPE_UNSPECIFIED: 'PRINCIPAL_TYPE_UNSPECIFIED',
95
+ PRINCIPAL_TYPE_USER: 'PRINCIPAL_TYPE_USER',
96
+ PRINCIPAL_TYPE_SERVICE_PRINCIPAL: 'PRINCIPAL_TYPE_SERVICE_PRINCIPAL',
97
+ };
98
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
99
+ export const CustomerFacingIngressNetworkPolicy_CrossWorkspaceAccess_RestrictionMode = {
100
+ FULL_ACCESS: 'FULL_ACCESS',
101
+ RESTRICTED_ACCESS: 'RESTRICTED_ACCESS',
102
+ };
103
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
104
+ export const CustomerFacingIngressNetworkPolicy_PrivateAccess_RestrictionMode = {
105
+ ALLOW_ALL_REGISTERED_ENDPOINTS: 'ALLOW_ALL_REGISTERED_ENDPOINTS',
106
+ RESTRICTED_ACCESS: 'RESTRICTED_ACCESS',
107
+ };
108
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
109
+ export const CustomerFacingIngressNetworkPolicy_PublicAccess_RestrictionMode = {
110
+ FULL_ACCESS: 'FULL_ACCESS',
111
+ RESTRICTED_ACCESS: 'RESTRICTED_ACCESS',
112
+ };
113
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
114
+ export const CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule_PrivateLinkConnectionState = {
115
+ PRIVATE_LINK_CONNECTION_STATE_UNSPECIFIED: 'PRIVATE_LINK_CONNECTION_STATE_UNSPECIFIED',
124
116
  /** The endpoint has been approved and is ready to use in your serverless compute resources. */
125
- CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule_PrivateLinkConnectionState["ESTABLISHED"] = "ESTABLISHED";
117
+ ESTABLISHED: 'ESTABLISHED',
126
118
  /** Connection was rejected by the private link resource owner. */
127
- CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule_PrivateLinkConnectionState["REJECTED"] = "REJECTED";
119
+ REJECTED: 'REJECTED',
128
120
  /**
129
121
  * Connection was removed by the private link resource owner, the private endpoint becomes informative and should
130
122
  * be deleted for clean-up.
131
123
  */
132
- CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule_PrivateLinkConnectionState["DISCONNECTED"] = "DISCONNECTED";
124
+ DISCONNECTED: 'DISCONNECTED',
133
125
  /** If the endpoint is created but not approved in 14 days, it is EXPIRED. */
134
- CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule_PrivateLinkConnectionState["EXPIRED"] = "EXPIRED";
126
+ EXPIRED: 'EXPIRED',
135
127
  /** The endpoint has been created and pending approval. */
136
- CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule_PrivateLinkConnectionState["PENDING"] = "PENDING";
128
+ PENDING: 'PENDING',
137
129
  /** The endpoint creation is in progress. */
138
- CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule_PrivateLinkConnectionState["CREATING"] = "CREATING";
130
+ CREATING: 'CREATING',
139
131
  /** The endpoint creation failed. */
140
- CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule_PrivateLinkConnectionState["CREATE_FAILED"] = "CREATE_FAILED";
141
- })(CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule_PrivateLinkConnectionState || (CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule_PrivateLinkConnectionState = {}));
142
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
143
- export var CustomerFacingNetworkConnectivityConfigAzurePrivateEndpointRule_PrivateLinkConnectionState;
144
- (function (CustomerFacingNetworkConnectivityConfigAzurePrivateEndpointRule_PrivateLinkConnectionState) {
145
- CustomerFacingNetworkConnectivityConfigAzurePrivateEndpointRule_PrivateLinkConnectionState["PRIVATE_LINK_CONNECTION_STATE_UNSPECIFIED"] = "PRIVATE_LINK_CONNECTION_STATE_UNSPECIFIED";
132
+ CREATE_FAILED: 'CREATE_FAILED',
133
+ };
134
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
135
+ export const CustomerFacingNetworkConnectivityConfigAzurePrivateEndpointRule_PrivateLinkConnectionState = {
136
+ PRIVATE_LINK_CONNECTION_STATE_UNSPECIFIED: 'PRIVATE_LINK_CONNECTION_STATE_UNSPECIFIED',
146
137
  /** The endpoint has been created and pending approval. */
147
- CustomerFacingNetworkConnectivityConfigAzurePrivateEndpointRule_PrivateLinkConnectionState["INIT"] = "INIT";
138
+ INIT: 'INIT',
148
139
  /** The endpoint has been approved and is ready to use in your serverless compute resources. */
149
- CustomerFacingNetworkConnectivityConfigAzurePrivateEndpointRule_PrivateLinkConnectionState["ESTABLISHED"] = "ESTABLISHED";
140
+ ESTABLISHED: 'ESTABLISHED',
150
141
  /** Connection was rejected by the private link resource owner. */
151
- CustomerFacingNetworkConnectivityConfigAzurePrivateEndpointRule_PrivateLinkConnectionState["REJECTED"] = "REJECTED";
142
+ REJECTED: 'REJECTED',
152
143
  /**
153
144
  * Connection was removed by the private link resource owner, the private endpoint becomes informative and should
154
145
  * be deleted for clean-up.
155
146
  */
156
- CustomerFacingNetworkConnectivityConfigAzurePrivateEndpointRule_PrivateLinkConnectionState["DISCONNECTED"] = "DISCONNECTED";
147
+ DISCONNECTED: 'DISCONNECTED',
157
148
  /** If the endpoint was created but not approved in 14 days, it will be EXPIRED. */
158
- CustomerFacingNetworkConnectivityConfigAzurePrivateEndpointRule_PrivateLinkConnectionState["EXPIRED"] = "EXPIRED";
149
+ EXPIRED: 'EXPIRED',
159
150
  /** The endpoint has been created and pending approval. */
160
- CustomerFacingNetworkConnectivityConfigAzurePrivateEndpointRule_PrivateLinkConnectionState["PENDING"] = "PENDING";
151
+ PENDING: 'PENDING',
161
152
  /** The endpoint creation is in progress. */
162
- CustomerFacingNetworkConnectivityConfigAzurePrivateEndpointRule_PrivateLinkConnectionState["CREATING"] = "CREATING";
153
+ CREATING: 'CREATING',
163
154
  /** The endpoint creation failed. */
164
- CustomerFacingNetworkConnectivityConfigAzurePrivateEndpointRule_PrivateLinkConnectionState["CREATE_FAILED"] = "CREATE_FAILED";
165
- })(CustomerFacingNetworkConnectivityConfigAzurePrivateEndpointRule_PrivateLinkConnectionState || (CustomerFacingNetworkConnectivityConfigAzurePrivateEndpointRule_PrivateLinkConnectionState = {}));
166
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
167
- export var EgressNetworkPolicy_NetworkAccessPolicy_InternetDestination_InternetDestinationType;
168
- (function (EgressNetworkPolicy_NetworkAccessPolicy_InternetDestination_InternetDestinationType) {
169
- EgressNetworkPolicy_NetworkAccessPolicy_InternetDestination_InternetDestinationType["INTERNET_DESTINATION_TYPE_UNSPECIFIED"] = "INTERNET_DESTINATION_TYPE_UNSPECIFIED";
155
+ CREATE_FAILED: 'CREATE_FAILED',
156
+ };
157
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
158
+ export const EgressNetworkPolicy_NetworkAccessPolicy_InternetDestination_InternetDestinationType = {
159
+ INTERNET_DESTINATION_TYPE_UNSPECIFIED: 'INTERNET_DESTINATION_TYPE_UNSPECIFIED',
170
160
  /** This is defined as `FQDN` in settings-policy/api/proto/messages.proto. Translation is done in accounts-lake-net-manager/src/util/NetworkPolicySettingUtil.scala. */
171
- EgressNetworkPolicy_NetworkAccessPolicy_InternetDestination_InternetDestinationType["DNS_NAME"] = "DNS_NAME";
172
- })(EgressNetworkPolicy_NetworkAccessPolicy_InternetDestination_InternetDestinationType || (EgressNetworkPolicy_NetworkAccessPolicy_InternetDestination_InternetDestinationType = {}));
161
+ DNS_NAME: 'DNS_NAME',
162
+ };
173
163
  /** The values should match the list of workloads used in networkconfig.proto */
174
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
175
- export var EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_DryRunModeProductFilter;
176
- (function (EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_DryRunModeProductFilter) {
177
- EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_DryRunModeProductFilter["DRY_RUN_MODE_PRODUCT_FILTER_UNSPECIFIED"] = "DRY_RUN_MODE_PRODUCT_FILTER_UNSPECIFIED";
164
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
165
+ export const EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_DryRunModeProductFilter = {
166
+ DRY_RUN_MODE_PRODUCT_FILTER_UNSPECIFIED: 'DRY_RUN_MODE_PRODUCT_FILTER_UNSPECIFIED',
178
167
  /** SQL Warehouse product */
179
- EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_DryRunModeProductFilter["DBSQL"] = "DBSQL";
168
+ DBSQL: 'DBSQL',
180
169
  /** Machine Learning serving product */
181
- EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_DryRunModeProductFilter["ML_SERVING"] = "ML_SERVING";
182
- })(EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_DryRunModeProductFilter || (EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_DryRunModeProductFilter = {}));
183
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
184
- export var EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_EnforcementMode;
185
- (function (EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_EnforcementMode) {
186
- EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_EnforcementMode["ENFORCEMENT_MODE_UNSPECIFIED"] = "ENFORCEMENT_MODE_UNSPECIFIED";
170
+ ML_SERVING: 'ML_SERVING',
171
+ };
172
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
173
+ export const EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_EnforcementMode = {
174
+ ENFORCEMENT_MODE_UNSPECIFIED: 'ENFORCEMENT_MODE_UNSPECIFIED',
187
175
  /** Blocks traffic that violates network policy. This is the default mode. */
188
- EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_EnforcementMode["ENFORCED"] = "ENFORCED";
176
+ ENFORCED: 'ENFORCED',
189
177
  /** Logs violations without blocking traffic. Useful for testing policies before enforcement. */
190
- EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_EnforcementMode["DRY_RUN"] = "DRY_RUN";
191
- })(EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_EnforcementMode || (EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_EnforcementMode = {}));
178
+ DRY_RUN: 'DRY_RUN',
179
+ };
192
180
  /**
193
181
  * At which level can <Databricks> and <Databricks> managed compute access Internet.
194
182
  * FULL_ACCESS: <Databricks> can access Internet. No blocking rules will apply.
195
183
  * RESTRICTED_ACCESS: <Databricks> can only access explicitly allowed internet and storage destinations,
196
184
  * as well as UC connections and external locations.
197
185
  */
198
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
199
- export var EgressNetworkPolicy_NetworkAccessPolicy_RestrictionMode;
200
- (function (EgressNetworkPolicy_NetworkAccessPolicy_RestrictionMode) {
201
- EgressNetworkPolicy_NetworkAccessPolicy_RestrictionMode["RESTRICTION_MODE_UNSPECIFIED"] = "RESTRICTION_MODE_UNSPECIFIED";
202
- EgressNetworkPolicy_NetworkAccessPolicy_RestrictionMode["FULL_ACCESS"] = "FULL_ACCESS";
203
- EgressNetworkPolicy_NetworkAccessPolicy_RestrictionMode["RESTRICTED_ACCESS"] = "RESTRICTED_ACCESS";
204
- })(EgressNetworkPolicy_NetworkAccessPolicy_RestrictionMode || (EgressNetworkPolicy_NetworkAccessPolicy_RestrictionMode = {}));
205
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
206
- export var EgressNetworkPolicy_NetworkAccessPolicy_StorageDestination_StorageDestinationType;
207
- (function (EgressNetworkPolicy_NetworkAccessPolicy_StorageDestination_StorageDestinationType) {
208
- EgressNetworkPolicy_NetworkAccessPolicy_StorageDestination_StorageDestinationType["STORAGE_DESTINATION_TYPE_UNSPECIFIED"] = "STORAGE_DESTINATION_TYPE_UNSPECIFIED";
186
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
187
+ export const EgressNetworkPolicy_NetworkAccessPolicy_RestrictionMode = {
188
+ RESTRICTION_MODE_UNSPECIFIED: 'RESTRICTION_MODE_UNSPECIFIED',
189
+ FULL_ACCESS: 'FULL_ACCESS',
190
+ RESTRICTED_ACCESS: 'RESTRICTED_ACCESS',
191
+ };
192
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
193
+ export const EgressNetworkPolicy_NetworkAccessPolicy_StorageDestination_StorageDestinationType = {
194
+ STORAGE_DESTINATION_TYPE_UNSPECIFIED: 'STORAGE_DESTINATION_TYPE_UNSPECIFIED',
209
195
  /**
210
196
  * AWS_S3 can be used both for direct AWS S3 access and for cross-cloud access from Azure and GCP
211
197
  * When used in an Azure/GCP context, this indicates cross-cloud access from Azure/GCP to the specified S3 bucket
212
198
  */
213
- EgressNetworkPolicy_NetworkAccessPolicy_StorageDestination_StorageDestinationType["AWS_S3"] = "AWS_S3";
214
- EgressNetworkPolicy_NetworkAccessPolicy_StorageDestination_StorageDestinationType["AZURE_STORAGE"] = "AZURE_STORAGE";
215
- EgressNetworkPolicy_NetworkAccessPolicy_StorageDestination_StorageDestinationType["GOOGLE_CLOUD_STORAGE"] = "GOOGLE_CLOUD_STORAGE";
216
- })(EgressNetworkPolicy_NetworkAccessPolicy_StorageDestination_StorageDestinationType || (EgressNetworkPolicy_NetworkAccessPolicy_StorageDestination_StorageDestinationType = {}));
217
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
218
- export var EndpointUseCase_EndpointUseCase;
219
- (function (EndpointUseCase_EndpointUseCase) {
199
+ AWS_S3: 'AWS_S3',
200
+ AZURE_STORAGE: 'AZURE_STORAGE',
201
+ GOOGLE_CLOUD_STORAGE: 'GOOGLE_CLOUD_STORAGE',
202
+ };
203
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
204
+ export const EndpointUseCase_EndpointUseCase = {
220
205
  /** service-direct frontend private link connectivity. */
221
- EndpointUseCase_EndpointUseCase["SERVICE_DIRECT"] = "SERVICE_DIRECT";
222
- })(EndpointUseCase_EndpointUseCase || (EndpointUseCase_EndpointUseCase = {}));
223
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested enum name.
224
- export var NccPrivateEndpointRule_PrivateLinkConnectionState;
225
- (function (NccPrivateEndpointRule_PrivateLinkConnectionState) {
226
- NccPrivateEndpointRule_PrivateLinkConnectionState["PRIVATE_LINK_CONNECTION_STATE_UNSPECIFIED"] = "PRIVATE_LINK_CONNECTION_STATE_UNSPECIFIED";
206
+ SERVICE_DIRECT: 'SERVICE_DIRECT',
207
+ };
208
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Enum-style const object.
209
+ export const NccPrivateEndpointRule_PrivateLinkConnectionState = {
210
+ PRIVATE_LINK_CONNECTION_STATE_UNSPECIFIED: 'PRIVATE_LINK_CONNECTION_STATE_UNSPECIFIED',
227
211
  /** The endpoint has been approved and is ready to use in your serverless compute resources. */
228
- NccPrivateEndpointRule_PrivateLinkConnectionState["ESTABLISHED"] = "ESTABLISHED";
212
+ ESTABLISHED: 'ESTABLISHED',
229
213
  /** Connection was rejected by the private link resource owner. */
230
- NccPrivateEndpointRule_PrivateLinkConnectionState["REJECTED"] = "REJECTED";
214
+ REJECTED: 'REJECTED',
231
215
  /**
232
216
  * Connection was removed by the private link resource owner, the private endpoint becomes informative and should
233
217
  * be deleted for clean-up.
234
218
  */
235
- NccPrivateEndpointRule_PrivateLinkConnectionState["DISCONNECTED"] = "DISCONNECTED";
219
+ DISCONNECTED: 'DISCONNECTED',
236
220
  /** If the endpoint was created but not approved in 14 days, it will be EXPIRED. */
237
- NccPrivateEndpointRule_PrivateLinkConnectionState["EXPIRED"] = "EXPIRED";
221
+ EXPIRED: 'EXPIRED',
238
222
  /** The endpoint has been created and pending approval. */
239
- NccPrivateEndpointRule_PrivateLinkConnectionState["PENDING"] = "PENDING";
223
+ PENDING: 'PENDING',
240
224
  /** The endpoint creation is in progress. */
241
- NccPrivateEndpointRule_PrivateLinkConnectionState["CREATING"] = "CREATING";
225
+ CREATING: 'CREATING',
242
226
  /** The endpoint creation failed. */
243
- NccPrivateEndpointRule_PrivateLinkConnectionState["CREATE_FAILED"] = "CREATE_FAILED";
244
- })(NccPrivateEndpointRule_PrivateLinkConnectionState || (NccPrivateEndpointRule_PrivateLinkConnectionState = {}));
227
+ CREATE_FAILED: 'CREATE_FAILED',
228
+ };
245
229
  export const unmarshalAccountIpAccessListSchema = z
246
230
  .object({
247
231
  list_id: z.string().optional(),
248
232
  label: z.string().optional(),
249
233
  ip_addresses: z.array(z.string()).optional(),
250
234
  address_count: z.number().optional(),
251
- list_type: z.enum(AccountIpAccessListType_IpAccessListType).optional(),
235
+ list_type: z.string().optional(),
252
236
  created_at: z
253
237
  .union([z.number(), z.bigint()])
254
238
  .transform(v => BigInt(v))
@@ -311,8 +295,7 @@ export const unmarshalAzurePrivateEndpointInfoSchema = z
311
295
  privateEndpointResourceId: d.private_endpoint_resource_id,
312
296
  privateLinkServiceId: d.private_link_service_id,
313
297
  }));
314
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
315
- export const unmarshalCreateAccountIpAccessListRequest_ResponseSchema = z
298
+ export const unmarshalCreateAccountIpAccessListResponseSchema = z
316
299
  .object({
317
300
  ip_access_list: z
318
301
  .lazy(() => unmarshalAccountIpAccessListSchema)
@@ -321,8 +304,7 @@ export const unmarshalCreateAccountIpAccessListRequest_ResponseSchema = z
321
304
  .transform(d => ({
322
305
  ipAccessList: d.ip_access_list,
323
306
  }));
324
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
325
- export const unmarshalCreateIpAccessList_ResponseSchema = z
307
+ export const unmarshalCreateIpAccessListResponseSchema = z
326
308
  .object({
327
309
  ip_access_list: z.lazy(() => unmarshalIpAccessListSchema).optional(),
328
310
  })
@@ -365,9 +347,7 @@ export const unmarshalCustomerFacingIngressNetworkPolicySchema = z
365
347
  export const unmarshalCustomerFacingIngressNetworkPolicy_AccountApiDestinationSchema = z
366
348
  .object({
367
349
  scopes: z.array(z.string()).optional(),
368
- scope_qualifier: z
369
- .enum(CustomerFacingIngressNetworkPolicy_ApiScopeQualifier)
370
- .optional(),
350
+ scope_qualifier: z.string().optional(),
371
351
  })
372
352
  .transform(d => ({
373
353
  scopes: d.scopes,
@@ -400,9 +380,7 @@ export const unmarshalCustomerFacingIngressNetworkPolicy_AppsRuntimeDestinationS
400
380
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
401
381
  export const unmarshalCustomerFacingIngressNetworkPolicy_AuthenticationSchema = z
402
382
  .object({
403
- identity_type: z
404
- .enum(CustomerFacingIngressNetworkPolicy_Authentication_IdentityType)
405
- .optional(),
383
+ identity_type: z.string().optional(),
406
384
  identities: z
407
385
  .array(z.lazy(() => unmarshalCustomerFacingIngressNetworkPolicy_AuthenticationIdentitySchema))
408
386
  .optional(),
@@ -414,9 +392,7 @@ export const unmarshalCustomerFacingIngressNetworkPolicy_AuthenticationSchema =
414
392
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
415
393
  export const unmarshalCustomerFacingIngressNetworkPolicy_AuthenticationIdentitySchema = z
416
394
  .object({
417
- principal_type: z
418
- .enum(CustomerFacingIngressNetworkPolicy_AuthenticationIdentity_PrincipalType)
419
- .optional(),
395
+ principal_type: z.string().optional(),
420
396
  principal_id: z
421
397
  .union([z.number(), z.bigint()])
422
398
  .transform(v => BigInt(v))
@@ -429,9 +405,7 @@ export const unmarshalCustomerFacingIngressNetworkPolicy_AuthenticationIdentityS
429
405
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
430
406
  export const unmarshalCustomerFacingIngressNetworkPolicy_CrossWorkspaceAccessSchema = z
431
407
  .object({
432
- restriction_mode: z
433
- .enum(CustomerFacingIngressNetworkPolicy_CrossWorkspaceAccess_RestrictionMode)
434
- .optional(),
408
+ restriction_mode: z.string().optional(),
435
409
  deny_rules: z
436
410
  .array(z.lazy(() => unmarshalCustomerFacingIngressNetworkPolicy_CrossWorkspaceIngressRuleSchema))
437
411
  .optional(),
@@ -512,9 +486,7 @@ export const unmarshalCustomerFacingIngressNetworkPolicy_LakebaseRuntimeDestinat
512
486
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
513
487
  export const unmarshalCustomerFacingIngressNetworkPolicy_PrivateAccessSchema = z
514
488
  .object({
515
- restriction_mode: z
516
- .enum(CustomerFacingIngressNetworkPolicy_PrivateAccess_RestrictionMode)
517
- .optional(),
489
+ restriction_mode: z.string().optional(),
518
490
  deny_rules: z
519
491
  .array(z.lazy(() => unmarshalCustomerFacingIngressNetworkPolicy_PrivateIngressRuleSchema))
520
492
  .optional(),
@@ -580,9 +552,7 @@ export const unmarshalCustomerFacingIngressNetworkPolicy_PrivateRequestOriginSch
580
552
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
581
553
  export const unmarshalCustomerFacingIngressNetworkPolicy_PublicAccessSchema = z
582
554
  .object({
583
- restriction_mode: z
584
- .enum(CustomerFacingIngressNetworkPolicy_PublicAccess_RestrictionMode)
585
- .optional(),
555
+ restriction_mode: z.string().optional(),
586
556
  deny_rules: z
587
557
  .array(z.lazy(() => unmarshalCustomerFacingIngressNetworkPolicy_PublicIngressRuleSchema))
588
558
  .optional(),
@@ -681,9 +651,7 @@ export const unmarshalCustomerFacingIngressNetworkPolicy_RequestDestinationSchem
681
651
  export const unmarshalCustomerFacingIngressNetworkPolicy_WorkspaceApiDestinationSchema = z
682
652
  .object({
683
653
  scopes: z.array(z.string()).optional(),
684
- scope_qualifier: z
685
- .enum(CustomerFacingIngressNetworkPolicy_ApiScopeQualifier)
686
- .optional(),
654
+ scope_qualifier: z.string().optional(),
687
655
  })
688
656
  .transform(d => ({
689
657
  scopes: d.scopes,
@@ -743,9 +711,7 @@ export const unmarshalCustomerFacingNetworkConnectivityConfigAwsPrivateEndpointR
743
711
  domain_names: z.array(z.string()).optional(),
744
712
  resource_names: z.array(z.string()).optional(),
745
713
  vpc_endpoint_id: z.string().optional(),
746
- connection_state: z
747
- .enum(CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule_PrivateLinkConnectionState)
748
- .optional(),
714
+ connection_state: z.string().optional(),
749
715
  creation_time: z
750
716
  .union([z.number(), z.bigint()])
751
717
  .transform(v => BigInt(v))
@@ -785,9 +751,7 @@ export const unmarshalCustomerFacingNetworkConnectivityConfigAzurePrivateEndpoin
785
751
  resource_id: z.string().optional(),
786
752
  group_id: z.string().optional(),
787
753
  endpoint_name: z.string().optional(),
788
- connection_state: z
789
- .enum(CustomerFacingNetworkConnectivityConfigAzurePrivateEndpointRule_PrivateLinkConnectionState)
790
- .optional(),
754
+ connection_state: z.string().optional(),
791
755
  creation_time: z
792
756
  .union([z.number(), z.bigint()])
793
757
  .transform(v => BigInt(v))
@@ -852,7 +816,7 @@ export const unmarshalCustomerFacingPrivateAccessSettingsSchema = z
852
816
  private_access_settings_name: z.string().optional(),
853
817
  region: z.string().optional(),
854
818
  public_access_enabled: z.boolean().optional(),
855
- private_access_level: z.enum(PrivateAccessLevel).optional(),
819
+ private_access_level: z.string().optional(),
856
820
  allowed_vpc_endpoint_ids: z.array(z.string()).optional(),
857
821
  })
858
822
  .transform(d => ({
@@ -871,7 +835,7 @@ export const unmarshalCustomerFacingVpcEndpointSchema = z
871
835
  vpc_endpoint_name: z.string().optional(),
872
836
  aws_vpc_endpoint_id: z.string().optional(),
873
837
  aws_endpoint_service_id: z.string().optional(),
874
- use_case: z.enum(CustomerFacingVpcEndpointUseCase).optional(),
838
+ use_case: z.string().optional(),
875
839
  region: z.string().optional(),
876
840
  aws_account_id: z.string().optional(),
877
841
  state: z.string().optional(),
@@ -896,10 +860,8 @@ export const unmarshalCustomerFacingVpcEndpointSchema = z
896
860
  }
897
861
  : undefined,
898
862
  }));
899
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
900
- export const unmarshalDeleteAccountIpAccessListRequest_ResponseSchema = z.object({});
901
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
902
- export const unmarshalDeleteIpAccessList_ResponseSchema = z.object({});
863
+ export const unmarshalDeleteAccountIpAccessListResponseSchema = z.object({});
864
+ export const unmarshalDeleteIpAccessListResponseSchema = z.object({});
903
865
  export const unmarshalEgressNetworkPolicySchema = z
904
866
  .object({
905
867
  network_access: z
@@ -912,9 +874,7 @@ export const unmarshalEgressNetworkPolicySchema = z
912
874
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
913
875
  export const unmarshalEgressNetworkPolicy_NetworkAccessPolicySchema = z
914
876
  .object({
915
- restriction_mode: z
916
- .enum(EgressNetworkPolicy_NetworkAccessPolicy_RestrictionMode)
917
- .optional(),
877
+ restriction_mode: z.string().optional(),
918
878
  allowed_internet_destinations: z
919
879
  .array(z.lazy(() => unmarshalEgressNetworkPolicy_NetworkAccessPolicy_InternetDestinationSchema))
920
880
  .optional(),
@@ -927,6 +887,9 @@ export const unmarshalEgressNetworkPolicy_NetworkAccessPolicySchema = z
927
887
  blocked_internet_destinations: z
928
888
  .array(z.lazy(() => unmarshalEgressNetworkPolicy_NetworkAccessPolicy_InternetDestinationSchema))
929
889
  .optional(),
890
+ allowed_databricks_destinations: z
891
+ .array(z.lazy(() => unmarshalEgressNetworkPolicy_NetworkAccessPolicy_DatabricksDestinationSchema))
892
+ .optional(),
930
893
  })
931
894
  .transform(d => ({
932
895
  restrictionMode: d.restriction_mode,
@@ -934,14 +897,23 @@ export const unmarshalEgressNetworkPolicy_NetworkAccessPolicySchema = z
934
897
  allowedStorageDestinations: d.allowed_storage_destinations,
935
898
  policyEnforcement: d.policy_enforcement,
936
899
  blockedInternetDestinations: d.blocked_internet_destinations,
900
+ allowedDatabricksDestinations: d.allowed_databricks_destinations,
901
+ }));
902
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
903
+ export const unmarshalEgressNetworkPolicy_NetworkAccessPolicy_DatabricksDestinationSchema = z
904
+ .object({
905
+ workspace_ids: z
906
+ .array(z.union([z.number(), z.bigint()]).transform(v => BigInt(v)))
907
+ .optional(),
908
+ })
909
+ .transform(d => ({
910
+ workspaceIds: d.workspace_ids,
937
911
  }));
938
912
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
939
913
  export const unmarshalEgressNetworkPolicy_NetworkAccessPolicy_InternetDestinationSchema = z
940
914
  .object({
941
915
  destination: z.string().optional(),
942
- internet_destination_type: z
943
- .enum(EgressNetworkPolicy_NetworkAccessPolicy_InternetDestination_InternetDestinationType)
944
- .optional(),
916
+ internet_destination_type: z.string().optional(),
945
917
  })
946
918
  .transform(d => ({
947
919
  destination: d.destination,
@@ -950,12 +922,8 @@ export const unmarshalEgressNetworkPolicy_NetworkAccessPolicy_InternetDestinatio
950
922
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
951
923
  export const unmarshalEgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcementSchema = z
952
924
  .object({
953
- enforcement_mode: z
954
- .enum(EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_EnforcementMode)
955
- .optional(),
956
- dry_run_mode_product_filter: z
957
- .array(z.enum(EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_DryRunModeProductFilter))
958
- .optional(),
925
+ enforcement_mode: z.string().optional(),
926
+ dry_run_mode_product_filter: z.array(z.string()).optional(),
959
927
  })
960
928
  .transform(d => ({
961
929
  enforcementMode: d.enforcement_mode,
@@ -966,9 +934,7 @@ export const unmarshalEgressNetworkPolicy_NetworkAccessPolicy_StorageDestination
966
934
  .object({
967
935
  bucket_name: z.string().optional(),
968
936
  region: z.string().optional(),
969
- storage_destination_type: z
970
- .enum(EgressNetworkPolicy_NetworkAccessPolicy_StorageDestination_StorageDestinationType)
971
- .optional(),
937
+ storage_destination_type: z.string().optional(),
972
938
  azure_storage_account: z.string().optional(),
973
939
  azure_storage_service: z.string().optional(),
974
940
  })
@@ -985,9 +951,9 @@ export const unmarshalEndpointSchema = z
985
951
  endpoint_id: z.string().optional(),
986
952
  account_id: z.string().optional(),
987
953
  display_name: z.string().optional(),
988
- use_case: z.enum(EndpointUseCase_EndpointUseCase).optional(),
954
+ use_case: z.string().optional(),
989
955
  region: z.string().optional(),
990
- state: z.enum(EndpointState).optional(),
956
+ state: z.string().optional(),
991
957
  azure_private_endpoint_info: z
992
958
  .lazy(() => unmarshalAzurePrivateEndpointInfoSchema)
993
959
  .optional(),
@@ -1043,8 +1009,7 @@ export const unmarshalGcpNetworkInfoSchema = z
1043
1009
  podIpRangeName: d.pod_ip_range_name,
1044
1010
  serviceIpRangeName: d.service_ip_range_name,
1045
1011
  }));
1046
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1047
- export const unmarshalGetAccountIpAccessListRequest_ResponseSchema = z
1012
+ export const unmarshalGetAccountIpAccessListResponseSchema = z
1048
1013
  .object({
1049
1014
  ip_access_list: z
1050
1015
  .lazy(() => unmarshalAccountIpAccessListSchema)
@@ -1053,8 +1018,7 @@ export const unmarshalGetAccountIpAccessListRequest_ResponseSchema = z
1053
1018
  .transform(d => ({
1054
1019
  ipAccessList: d.ip_access_list,
1055
1020
  }));
1056
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1057
- export const unmarshalGetIpAccessList_ResponseSchema = z
1021
+ export const unmarshalGetIpAccessListResponseSchema = z
1058
1022
  .object({
1059
1023
  ip_access_list: z.lazy(() => unmarshalIpAccessListSchema).optional(),
1060
1024
  })
@@ -1067,7 +1031,7 @@ export const unmarshalIpAccessListSchema = z
1067
1031
  label: z.string().optional(),
1068
1032
  ip_addresses: z.array(z.string()).optional(),
1069
1033
  address_count: z.number().optional(),
1070
- list_type: z.enum(IpAccessListType).optional(),
1034
+ list_type: z.string().optional(),
1071
1035
  created_at: z
1072
1036
  .union([z.number(), z.bigint()])
1073
1037
  .transform(v => BigInt(v))
@@ -1098,8 +1062,7 @@ export const unmarshalIpAccessListSchema = z
1098
1062
  updatedBy: d.updated_by,
1099
1063
  enabled: d.enabled,
1100
1064
  }));
1101
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1102
- export const unmarshalListAccountIpAccessListsRequest_ResponseSchema = z
1065
+ export const unmarshalListAccountIpAccessListsResponseSchema = z
1103
1066
  .object({
1104
1067
  ip_access_lists: z
1105
1068
  .array(z.lazy(() => unmarshalAccountIpAccessListSchema))
@@ -1117,8 +1080,7 @@ export const unmarshalListEndpointsResponseSchema = z
1117
1080
  items: d.items,
1118
1081
  nextPageToken: d.next_page_token,
1119
1082
  }));
1120
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1121
- export const unmarshalListIpAccessLists_ResponseSchema = z
1083
+ export const unmarshalListIpAccessListsResponseSchema = z
1122
1084
  .object({
1123
1085
  ip_access_lists: z
1124
1086
  .array(z.lazy(() => unmarshalIpAccessListSchema))
@@ -1164,9 +1126,7 @@ export const unmarshalNccPrivateEndpointRuleSchema = z
1164
1126
  .object({
1165
1127
  rule_id: z.string().optional(),
1166
1128
  network_connectivity_config_id: z.string().optional(),
1167
- connection_state: z
1168
- .enum(NccPrivateEndpointRule_PrivateLinkConnectionState)
1169
- .optional(),
1129
+ connection_state: z.string().optional(),
1170
1130
  domain_names: z.array(z.string()).optional(),
1171
1131
  creation_time: z
1172
1132
  .union([z.number(), z.bigint()])
@@ -1225,7 +1185,7 @@ export const unmarshalNetworkSchema = z
1225
1185
  vpc_id: z.string().optional(),
1226
1186
  subnet_ids: z.array(z.string()).optional(),
1227
1187
  security_group_ids: z.array(z.string()).optional(),
1228
- vpc_status: z.enum(VpcStatus).optional(),
1188
+ vpc_status: z.string().optional(),
1229
1189
  error_messages: z
1230
1190
  .array(z.lazy(() => unmarshalNetworkHealthSchema))
1231
1191
  .optional(),
@@ -1283,7 +1243,7 @@ export const unmarshalNetworkConnectivityConfigEgressConfig_DefaultRule_AwsStabl
1283
1243
  export const unmarshalNetworkConnectivityConfigEgressConfig_DefaultRule_AzureServiceEndpointRuleSchema = z
1284
1244
  .object({
1285
1245
  target_region: z.string().optional(),
1286
- target_services: z.array(z.enum(EgressResourceType)).optional(),
1246
+ target_services: z.array(z.string()).optional(),
1287
1247
  subnets: z.array(z.string()).optional(),
1288
1248
  })
1289
1249
  .transform(d => ({
@@ -1318,8 +1278,7 @@ export const unmarshalNetworkWarningSchema = z
1318
1278
  warningType: d.warning_type,
1319
1279
  warningMessage: d.warning_message,
1320
1280
  }));
1321
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1322
- export const unmarshalReplaceAccountIpAccessListRequest_ResponseSchema = z
1281
+ export const unmarshalReplaceAccountIpAccessListResponseSchema = z
1323
1282
  .object({
1324
1283
  ip_access_list: z
1325
1284
  .lazy(() => unmarshalAccountIpAccessListSchema)
@@ -1328,16 +1287,14 @@ export const unmarshalReplaceAccountIpAccessListRequest_ResponseSchema = z
1328
1287
  .transform(d => ({
1329
1288
  ipAccessList: d.ip_access_list,
1330
1289
  }));
1331
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1332
- export const unmarshalReplaceIpAccessList_ResponseSchema = z
1290
+ export const unmarshalReplaceIpAccessListResponseSchema = z
1333
1291
  .object({
1334
1292
  ip_access_list: z.lazy(() => unmarshalIpAccessListSchema).optional(),
1335
1293
  })
1336
1294
  .transform(d => ({
1337
1295
  ipAccessList: d.ip_access_list,
1338
1296
  }));
1339
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1340
- export const unmarshalUpdateAccountIpAccessListRequest_ResponseSchema = z
1297
+ export const unmarshalUpdateAccountIpAccessListResponseSchema = z
1341
1298
  .object({
1342
1299
  ip_access_list: z
1343
1300
  .lazy(() => unmarshalAccountIpAccessListSchema)
@@ -1346,8 +1303,7 @@ export const unmarshalUpdateAccountIpAccessListRequest_ResponseSchema = z
1346
1303
  .transform(d => ({
1347
1304
  ipAccessList: d.ip_access_list,
1348
1305
  }));
1349
- // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1350
- export const unmarshalUpdateIpAccessList_ResponseSchema = z
1306
+ export const unmarshalUpdateIpAccessListResponseSchema = z
1351
1307
  .object({
1352
1308
  ip_access_list: z.lazy(() => unmarshalIpAccessListSchema).optional(),
1353
1309
  })
@@ -1402,7 +1358,7 @@ export const marshalCreateAccountIpAccessListRequestSchema = z
1402
1358
  .object({
1403
1359
  accountId: z.string().optional(),
1404
1360
  label: z.string().optional(),
1405
- listType: z.enum(AccountIpAccessListType_IpAccessListType).optional(),
1361
+ listType: z.string().optional(),
1406
1362
  ipAddresses: z.array(z.string()).optional(),
1407
1363
  })
1408
1364
  .transform(d => ({
@@ -1414,7 +1370,7 @@ export const marshalCreateAccountIpAccessListRequestSchema = z
1414
1370
  export const marshalCreateIpAccessListSchema = z
1415
1371
  .object({
1416
1372
  label: z.string().optional(),
1417
- listType: z.enum(IpAccessListType).optional(),
1373
+ listType: z.string().optional(),
1418
1374
  ipAddresses: z.array(z.string()).optional(),
1419
1375
  })
1420
1376
  .transform(d => ({
@@ -1468,7 +1424,7 @@ export const marshalCreatePrivateAccessSettingsRequestSchema = z
1468
1424
  privateAccessSettingsName: z.string().optional(),
1469
1425
  region: z.string().optional(),
1470
1426
  publicAccessEnabled: z.boolean().optional(),
1471
- privateAccessLevel: z.enum(PrivateAccessLevel).optional(),
1427
+ privateAccessLevel: z.string().optional(),
1472
1428
  allowedVpcEndpointIds: z.array(z.string()).optional(),
1473
1429
  })
1474
1430
  .transform(d => ({
@@ -1483,9 +1439,7 @@ export const marshalCreatePrivateEndpointRuleSchema = z
1483
1439
  .object({
1484
1440
  ruleId: z.string().optional(),
1485
1441
  networkConnectivityConfigId: z.string().optional(),
1486
- connectionState: z
1487
- .enum(NccPrivateEndpointRule_PrivateLinkConnectionState)
1488
- .optional(),
1442
+ connectionState: z.string().optional(),
1489
1443
  domainNames: z.array(z.string()).optional(),
1490
1444
  creationTime: z.bigint().optional(),
1491
1445
  updatedTime: z.bigint().optional(),
@@ -1591,9 +1545,7 @@ export const marshalCustomerFacingIngressNetworkPolicySchema = z
1591
1545
  export const marshalCustomerFacingIngressNetworkPolicy_AccountApiDestinationSchema = z
1592
1546
  .object({
1593
1547
  scopes: z.array(z.string()).optional(),
1594
- scopeQualifier: z
1595
- .enum(CustomerFacingIngressNetworkPolicy_ApiScopeQualifier)
1596
- .optional(),
1548
+ scopeQualifier: z.string().optional(),
1597
1549
  })
1598
1550
  .transform(d => ({
1599
1551
  scopes: d.scopes,
@@ -1626,9 +1578,7 @@ export const marshalCustomerFacingIngressNetworkPolicy_AppsRuntimeDestinationSch
1626
1578
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1627
1579
  export const marshalCustomerFacingIngressNetworkPolicy_AuthenticationSchema = z
1628
1580
  .object({
1629
- identityType: z
1630
- .enum(CustomerFacingIngressNetworkPolicy_Authentication_IdentityType)
1631
- .optional(),
1581
+ identityType: z.string().optional(),
1632
1582
  identities: z
1633
1583
  .array(z.lazy(() => marshalCustomerFacingIngressNetworkPolicy_AuthenticationIdentitySchema))
1634
1584
  .optional(),
@@ -1640,9 +1590,7 @@ export const marshalCustomerFacingIngressNetworkPolicy_AuthenticationSchema = z
1640
1590
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1641
1591
  export const marshalCustomerFacingIngressNetworkPolicy_AuthenticationIdentitySchema = z
1642
1592
  .object({
1643
- principalType: z
1644
- .enum(CustomerFacingIngressNetworkPolicy_AuthenticationIdentity_PrincipalType)
1645
- .optional(),
1593
+ principalType: z.string().optional(),
1646
1594
  principalId: z.bigint().optional(),
1647
1595
  })
1648
1596
  .transform(d => ({
@@ -1652,9 +1600,7 @@ export const marshalCustomerFacingIngressNetworkPolicy_AuthenticationIdentitySch
1652
1600
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1653
1601
  export const marshalCustomerFacingIngressNetworkPolicy_CrossWorkspaceAccessSchema = z
1654
1602
  .object({
1655
- restrictionMode: z
1656
- .enum(CustomerFacingIngressNetworkPolicy_CrossWorkspaceAccess_RestrictionMode)
1657
- .optional(),
1603
+ restrictionMode: z.string().optional(),
1658
1604
  denyRules: z
1659
1605
  .array(z.lazy(() => marshalCustomerFacingIngressNetworkPolicy_CrossWorkspaceIngressRuleSchema))
1660
1606
  .optional(),
@@ -1738,9 +1684,7 @@ export const marshalCustomerFacingIngressNetworkPolicy_LakebaseRuntimeDestinatio
1738
1684
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1739
1685
  export const marshalCustomerFacingIngressNetworkPolicy_PrivateAccessSchema = z
1740
1686
  .object({
1741
- restrictionMode: z
1742
- .enum(CustomerFacingIngressNetworkPolicy_PrivateAccess_RestrictionMode)
1743
- .optional(),
1687
+ restrictionMode: z.string().optional(),
1744
1688
  denyRules: z
1745
1689
  .array(z.lazy(() => marshalCustomerFacingIngressNetworkPolicy_PrivateIngressRuleSchema))
1746
1690
  .optional(),
@@ -1812,9 +1756,7 @@ export const marshalCustomerFacingIngressNetworkPolicy_PrivateRequestOriginSchem
1812
1756
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
1813
1757
  export const marshalCustomerFacingIngressNetworkPolicy_PublicAccessSchema = z
1814
1758
  .object({
1815
- restrictionMode: z
1816
- .enum(CustomerFacingIngressNetworkPolicy_PublicAccess_RestrictionMode)
1817
- .optional(),
1759
+ restrictionMode: z.string().optional(),
1818
1760
  denyRules: z
1819
1761
  .array(z.lazy(() => marshalCustomerFacingIngressNetworkPolicy_PublicIngressRuleSchema))
1820
1762
  .optional(),
@@ -1915,9 +1857,7 @@ export const marshalCustomerFacingIngressNetworkPolicy_RequestDestinationSchema
1915
1857
  export const marshalCustomerFacingIngressNetworkPolicy_WorkspaceApiDestinationSchema = z
1916
1858
  .object({
1917
1859
  scopes: z.array(z.string()).optional(),
1918
- scopeQualifier: z
1919
- .enum(CustomerFacingIngressNetworkPolicy_ApiScopeQualifier)
1920
- .optional(),
1860
+ scopeQualifier: z.string().optional(),
1921
1861
  })
1922
1862
  .transform(d => ({
1923
1863
  scopes: d.scopes,
@@ -1948,9 +1888,7 @@ export const marshalCustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRul
1948
1888
  domainNames: z.array(z.string()).optional(),
1949
1889
  resourceNames: z.array(z.string()).optional(),
1950
1890
  vpcEndpointId: z.string().optional(),
1951
- connectionState: z
1952
- .enum(CustomerFacingNetworkConnectivityConfigAwsPrivateEndpointRule_PrivateLinkConnectionState)
1953
- .optional(),
1891
+ connectionState: z.string().optional(),
1954
1892
  creationTime: z.bigint().optional(),
1955
1893
  updatedTime: z.bigint().optional(),
1956
1894
  deactivated: z.boolean().optional(),
@@ -1981,9 +1919,7 @@ export const marshalCustomerFacingNetworkConnectivityConfigAzurePrivateEndpointR
1981
1919
  resourceId: z.string().optional(),
1982
1920
  groupId: z.string().optional(),
1983
1921
  endpointName: z.string().optional(),
1984
- connectionState: z
1985
- .enum(CustomerFacingNetworkConnectivityConfigAzurePrivateEndpointRule_PrivateLinkConnectionState)
1986
- .optional(),
1922
+ connectionState: z.string().optional(),
1987
1923
  creationTime: z.bigint().optional(),
1988
1924
  updatedTime: z.bigint().optional(),
1989
1925
  deactivated: z.boolean().optional(),
@@ -2039,7 +1975,7 @@ export const marshalCustomerFacingPrivateAccessSettingsSchema = z
2039
1975
  privateAccessSettingsName: z.string().optional(),
2040
1976
  region: z.string().optional(),
2041
1977
  publicAccessEnabled: z.boolean().optional(),
2042
- privateAccessLevel: z.enum(PrivateAccessLevel).optional(),
1978
+ privateAccessLevel: z.string().optional(),
2043
1979
  allowedVpcEndpointIds: z.array(z.string()).optional(),
2044
1980
  })
2045
1981
  .transform(d => ({
@@ -2063,9 +1999,7 @@ export const marshalEgressNetworkPolicySchema = z
2063
1999
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
2064
2000
  export const marshalEgressNetworkPolicy_NetworkAccessPolicySchema = z
2065
2001
  .object({
2066
- restrictionMode: z
2067
- .enum(EgressNetworkPolicy_NetworkAccessPolicy_RestrictionMode)
2068
- .optional(),
2002
+ restrictionMode: z.string().optional(),
2069
2003
  allowedInternetDestinations: z
2070
2004
  .array(z.lazy(() => marshalEgressNetworkPolicy_NetworkAccessPolicy_InternetDestinationSchema))
2071
2005
  .optional(),
@@ -2078,6 +2012,9 @@ export const marshalEgressNetworkPolicy_NetworkAccessPolicySchema = z
2078
2012
  blockedInternetDestinations: z
2079
2013
  .array(z.lazy(() => marshalEgressNetworkPolicy_NetworkAccessPolicy_InternetDestinationSchema))
2080
2014
  .optional(),
2015
+ allowedDatabricksDestinations: z
2016
+ .array(z.lazy(() => marshalEgressNetworkPolicy_NetworkAccessPolicy_DatabricksDestinationSchema))
2017
+ .optional(),
2081
2018
  })
2082
2019
  .transform(d => ({
2083
2020
  restriction_mode: d.restrictionMode,
@@ -2085,14 +2022,21 @@ export const marshalEgressNetworkPolicy_NetworkAccessPolicySchema = z
2085
2022
  allowed_storage_destinations: d.allowedStorageDestinations,
2086
2023
  policy_enforcement: d.policyEnforcement,
2087
2024
  blocked_internet_destinations: d.blockedInternetDestinations,
2025
+ allowed_databricks_destinations: d.allowedDatabricksDestinations,
2026
+ }));
2027
+ // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
2028
+ export const marshalEgressNetworkPolicy_NetworkAccessPolicy_DatabricksDestinationSchema = z
2029
+ .object({
2030
+ workspaceIds: z.array(z.bigint()).optional(),
2031
+ })
2032
+ .transform(d => ({
2033
+ workspace_ids: d.workspaceIds,
2088
2034
  }));
2089
2035
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
2090
2036
  export const marshalEgressNetworkPolicy_NetworkAccessPolicy_InternetDestinationSchema = z
2091
2037
  .object({
2092
2038
  destination: z.string().optional(),
2093
- internetDestinationType: z
2094
- .enum(EgressNetworkPolicy_NetworkAccessPolicy_InternetDestination_InternetDestinationType)
2095
- .optional(),
2039
+ internetDestinationType: z.string().optional(),
2096
2040
  })
2097
2041
  .transform(d => ({
2098
2042
  destination: d.destination,
@@ -2101,12 +2045,8 @@ export const marshalEgressNetworkPolicy_NetworkAccessPolicy_InternetDestinationS
2101
2045
  // eslint-disable-next-line @typescript-eslint/naming-convention -- Proto-style nested message name.
2102
2046
  export const marshalEgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcementSchema = z
2103
2047
  .object({
2104
- enforcementMode: z
2105
- .enum(EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_EnforcementMode)
2106
- .optional(),
2107
- dryRunModeProductFilter: z
2108
- .array(z.enum(EgressNetworkPolicy_NetworkAccessPolicy_PolicyEnforcement_DryRunModeProductFilter))
2109
- .optional(),
2048
+ enforcementMode: z.string().optional(),
2049
+ dryRunModeProductFilter: z.array(z.string()).optional(),
2110
2050
  })
2111
2051
  .transform(d => ({
2112
2052
  enforcement_mode: d.enforcementMode,
@@ -2117,9 +2057,7 @@ export const marshalEgressNetworkPolicy_NetworkAccessPolicy_StorageDestinationSc
2117
2057
  .object({
2118
2058
  bucketName: z.string().optional(),
2119
2059
  region: z.string().optional(),
2120
- storageDestinationType: z
2121
- .enum(EgressNetworkPolicy_NetworkAccessPolicy_StorageDestination_StorageDestinationType)
2122
- .optional(),
2060
+ storageDestinationType: z.string().optional(),
2123
2061
  azureStorageAccount: z.string().optional(),
2124
2062
  azureStorageService: z.string().optional(),
2125
2063
  })
@@ -2136,9 +2074,9 @@ export const marshalEndpointSchema = z
2136
2074
  endpointId: z.string().optional(),
2137
2075
  accountId: z.string().optional(),
2138
2076
  displayName: z.string().optional(),
2139
- useCase: z.enum(EndpointUseCase_EndpointUseCase).optional(),
2077
+ useCase: z.string().optional(),
2140
2078
  region: z.string().optional(),
2141
- state: z.enum(EndpointState).optional(),
2079
+ state: z.string().optional(),
2142
2080
  endpointInfo: z
2143
2081
  .discriminatedUnion('$case', [
2144
2082
  z.object({
@@ -2226,7 +2164,7 @@ export const marshalNetworkConnectivityConfigEgressConfig_DefaultRule_AwsStableI
2226
2164
  export const marshalNetworkConnectivityConfigEgressConfig_DefaultRule_AzureServiceEndpointRuleSchema = z
2227
2165
  .object({
2228
2166
  targetRegion: z.string().optional(),
2229
- targetServices: z.array(z.enum(EgressResourceType)).optional(),
2167
+ targetServices: z.array(z.string()).optional(),
2230
2168
  subnets: z.array(z.string()).optional(),
2231
2169
  })
2232
2170
  .transform(d => ({
@@ -2248,7 +2186,7 @@ export const marshalReplaceAccountIpAccessListRequestSchema = z
2248
2186
  accountId: z.string().optional(),
2249
2187
  listId: z.string().optional(),
2250
2188
  label: z.string().optional(),
2251
- listType: z.enum(AccountIpAccessListType_IpAccessListType).optional(),
2189
+ listType: z.string().optional(),
2252
2190
  ipAddresses: z.array(z.string()).optional(),
2253
2191
  enabled: z.boolean().optional(),
2254
2192
  })
@@ -2264,7 +2202,7 @@ export const marshalReplaceIpAccessListSchema = z
2264
2202
  .object({
2265
2203
  listId: z.string().optional(),
2266
2204
  label: z.string().optional(),
2267
- listType: z.enum(IpAccessListType).optional(),
2205
+ listType: z.string().optional(),
2268
2206
  ipAddresses: z.array(z.string()).optional(),
2269
2207
  enabled: z.boolean().optional(),
2270
2208
  })
@@ -2280,7 +2218,7 @@ export const marshalUpdateAccountIpAccessListRequestSchema = z
2280
2218
  accountId: z.string().optional(),
2281
2219
  listId: z.string().optional(),
2282
2220
  label: z.string().optional(),
2283
- listType: z.enum(AccountIpAccessListType_IpAccessListType).optional(),
2221
+ listType: z.string().optional(),
2284
2222
  ipAddresses: z.array(z.string()).optional(),
2285
2223
  enabled: z.boolean().optional(),
2286
2224
  })
@@ -2296,7 +2234,7 @@ export const marshalUpdateIpAccessListSchema = z
2296
2234
  .object({
2297
2235
  listId: z.string().optional(),
2298
2236
  label: z.string().optional(),
2299
- listType: z.enum(IpAccessListType).optional(),
2237
+ listType: z.string().optional(),
2300
2238
  ipAddresses: z.array(z.string()).optional(),
2301
2239
  enabled: z.boolean().optional(),
2302
2240
  })
@@ -2311,9 +2249,7 @@ export const marshalUpdatePrivateEndpointRuleSchema = z
2311
2249
  .object({
2312
2250
  ruleId: z.string().optional(),
2313
2251
  networkConnectivityConfigId: z.string().optional(),
2314
- connectionState: z
2315
- .enum(NccPrivateEndpointRule_PrivateLinkConnectionState)
2316
- .optional(),
2252
+ connectionState: z.string().optional(),
2317
2253
  domainNames: z.array(z.string()).optional(),
2318
2254
  creationTime: z.bigint().optional(),
2319
2255
  updatedTime: z.bigint().optional(),