@azure/arm-databricks 3.0.0-beta.3 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/CHANGELOG.md +3 -3
  2. package/LICENSE +1 -1
  3. package/README.md +3 -3
  4. package/dist/index.js +1271 -273
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/accessConnectorsCreateOrUpdateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/accessConnectorsCreateOrUpdateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/accessConnectorsCreateOrUpdateSample.js +58 -0
  11. package/dist-esm/samples-dev/accessConnectorsCreateOrUpdateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/accessConnectorsDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/accessConnectorsDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/accessConnectorsDeleteSample.js +38 -0
  15. package/dist-esm/samples-dev/accessConnectorsDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/accessConnectorsGetSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/accessConnectorsGetSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/accessConnectorsGetSample.js +38 -0
  19. package/dist-esm/samples-dev/accessConnectorsGetSample.js.map +1 -0
  20. package/dist-esm/samples-dev/accessConnectorsListByResourceGroupSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/accessConnectorsListByResourceGroupSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/accessConnectorsListByResourceGroupSample.js +53 -0
  23. package/dist-esm/samples-dev/accessConnectorsListByResourceGroupSample.js.map +1 -0
  24. package/dist-esm/samples-dev/accessConnectorsListBySubscriptionSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/accessConnectorsListBySubscriptionSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/accessConnectorsListBySubscriptionSample.js +52 -0
  27. package/dist-esm/samples-dev/accessConnectorsListBySubscriptionSample.js.map +1 -0
  28. package/dist-esm/samples-dev/accessConnectorsUpdateSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/accessConnectorsUpdateSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/accessConnectorsUpdateSample.js +39 -0
  31. package/dist-esm/samples-dev/accessConnectorsUpdateSample.js.map +1 -0
  32. package/dist-esm/samples-dev/operationsListSample.js +17 -7
  33. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  34. package/dist-esm/samples-dev/outboundNetworkDependenciesEndpointsListSample.js +14 -6
  35. package/dist-esm/samples-dev/outboundNetworkDependenciesEndpointsListSample.js.map +1 -1
  36. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js +12 -4
  37. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js.map +1 -1
  38. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +12 -4
  39. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
  40. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +12 -4
  41. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -1
  42. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +18 -8
  43. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -1
  44. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +12 -4
  45. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -1
  46. package/dist-esm/samples-dev/privateLinkResourcesListSample.js +18 -8
  47. package/dist-esm/samples-dev/privateLinkResourcesListSample.js.map +1 -1
  48. package/dist-esm/samples-dev/vNetPeeringCreateOrUpdateSample.js +11 -4
  49. package/dist-esm/samples-dev/vNetPeeringCreateOrUpdateSample.js.map +1 -1
  50. package/dist-esm/samples-dev/vNetPeeringDeleteSample.js +11 -4
  51. package/dist-esm/samples-dev/vNetPeeringDeleteSample.js.map +1 -1
  52. package/dist-esm/samples-dev/vNetPeeringGetSample.js +11 -4
  53. package/dist-esm/samples-dev/vNetPeeringGetSample.js.map +1 -1
  54. package/dist-esm/samples-dev/vNetPeeringListByWorkspaceSample.js +17 -8
  55. package/dist-esm/samples-dev/vNetPeeringListByWorkspaceSample.js.map +1 -1
  56. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +98 -20
  57. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +1 -1
  58. package/dist-esm/samples-dev/workspacesDeleteSample.js +11 -4
  59. package/dist-esm/samples-dev/workspacesDeleteSample.js.map +1 -1
  60. package/dist-esm/samples-dev/workspacesGetSample.js +33 -8
  61. package/dist-esm/samples-dev/workspacesGetSample.js.map +1 -1
  62. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +17 -8
  63. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +1 -1
  64. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +16 -7
  65. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +1 -1
  66. package/dist-esm/samples-dev/workspacesUpdateSample.js +11 -4
  67. package/dist-esm/samples-dev/workspacesUpdateSample.js.map +1 -1
  68. package/dist-esm/src/azureDatabricksManagementClient.d.ts +2 -2
  69. package/dist-esm/src/azureDatabricksManagementClient.d.ts.map +1 -1
  70. package/dist-esm/src/azureDatabricksManagementClient.js +22 -20
  71. package/dist-esm/src/azureDatabricksManagementClient.js.map +1 -1
  72. package/dist-esm/src/index.d.ts +1 -0
  73. package/dist-esm/src/index.d.ts.map +1 -1
  74. package/dist-esm/src/index.js +1 -0
  75. package/dist-esm/src/index.js.map +1 -1
  76. package/dist-esm/src/lroImpl.d.ts +6 -11
  77. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  78. package/dist-esm/src/lroImpl.js +12 -20
  79. package/dist-esm/src/lroImpl.js.map +1 -1
  80. package/dist-esm/src/models/index.d.ts +252 -42
  81. package/dist-esm/src/models/index.d.ts.map +1 -1
  82. package/dist-esm/src/models/index.js +54 -0
  83. package/dist-esm/src/models/index.js.map +1 -1
  84. package/dist-esm/src/models/mappers.d.ts +8 -0
  85. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  86. package/dist-esm/src/models/mappers.js +243 -2
  87. package/dist-esm/src/models/mappers.js.map +1 -1
  88. package/dist-esm/src/models/parameters.d.ts +4 -0
  89. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  90. package/dist-esm/src/models/parameters.js +35 -2
  91. package/dist-esm/src/models/parameters.js.map +1 -1
  92. package/dist-esm/src/operations/accessConnectors.d.ts +107 -0
  93. package/dist-esm/src/operations/accessConnectors.d.ts.map +1 -0
  94. package/dist-esm/src/operations/accessConnectors.js +543 -0
  95. package/dist-esm/src/operations/accessConnectors.js.map +1 -0
  96. package/dist-esm/src/operations/index.d.ts +1 -0
  97. package/dist-esm/src/operations/index.d.ts.map +1 -1
  98. package/dist-esm/src/operations/index.js +1 -0
  99. package/dist-esm/src/operations/index.js.map +1 -1
  100. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  101. package/dist-esm/src/operations/operations.js +25 -12
  102. package/dist-esm/src/operations/operations.js.map +1 -1
  103. package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.d.ts +1 -1
  104. package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.js +1 -1
  105. package/dist-esm/src/operations/privateEndpointConnections.d.ts +3 -3
  106. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  107. package/dist-esm/src/operations/privateEndpointConnections.js +54 -33
  108. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  109. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -1
  110. package/dist-esm/src/operations/privateLinkResources.js +25 -12
  111. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  112. package/dist-esm/src/operations/vNetPeering.d.ts +3 -3
  113. package/dist-esm/src/operations/vNetPeering.d.ts.map +1 -1
  114. package/dist-esm/src/operations/vNetPeering.js +49 -28
  115. package/dist-esm/src/operations/vNetPeering.js.map +1 -1
  116. package/dist-esm/src/operations/workspaces.d.ts +4 -4
  117. package/dist-esm/src/operations/workspaces.d.ts.map +1 -1
  118. package/dist-esm/src/operations/workspaces.js +75 -38
  119. package/dist-esm/src/operations/workspaces.js.map +1 -1
  120. package/dist-esm/src/operationsInterfaces/accessConnectors.d.ts +71 -0
  121. package/dist-esm/src/operationsInterfaces/accessConnectors.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/accessConnectors.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/accessConnectors.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  125. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  126. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  127. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  128. package/dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts +1 -1
  129. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
  130. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  131. package/dist-esm/src/operationsInterfaces/vNetPeering.d.ts +3 -3
  132. package/dist-esm/src/operationsInterfaces/vNetPeering.d.ts.map +1 -1
  133. package/dist-esm/src/operationsInterfaces/workspaces.d.ts +4 -4
  134. package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -1
  135. package/dist-esm/src/pagingHelper.d.ts +13 -0
  136. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  137. package/dist-esm/src/pagingHelper.js +32 -0
  138. package/dist-esm/src/pagingHelper.js.map +1 -0
  139. package/dist-esm/test/databricks_examples.d.ts.map +1 -1
  140. package/dist-esm/test/databricks_examples.js +22 -22
  141. package/dist-esm/test/databricks_examples.js.map +1 -1
  142. package/package.json +27 -26
  143. package/review/arm-databricks.api.md +175 -71
  144. package/src/azureDatabricksManagementClient.ts +32 -24
  145. package/src/index.ts +1 -0
  146. package/src/lroImpl.ts +31 -23
  147. package/src/models/index.ts +244 -10
  148. package/src/models/mappers.ts +258 -2
  149. package/src/models/parameters.ts +41 -2
  150. package/src/operations/accessConnectors.ts +717 -0
  151. package/src/operations/index.ts +1 -0
  152. package/src/operations/operations.ts +21 -9
  153. package/src/operations/outboundNetworkDependenciesEndpoints.ts +1 -1
  154. package/src/operations/privateEndpointConnections.ts +54 -30
  155. package/src/operations/privateLinkResources.ts +26 -9
  156. package/src/operations/vNetPeering.ts +55 -35
  157. package/src/operations/workspaces.ts +87 -50
  158. package/src/operationsInterfaces/accessConnectors.ts +139 -0
  159. package/src/operationsInterfaces/index.ts +1 -0
  160. package/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.ts +1 -1
  161. package/src/operationsInterfaces/privateEndpointConnections.ts +4 -4
  162. package/src/operationsInterfaces/vNetPeering.ts +4 -4
  163. package/src/operationsInterfaces/workspaces.ts +6 -6
  164. package/src/pagingHelper.ts +39 -0
  165. package/types/arm-databricks.d.ts +333 -21
  166. package/types/tsdoc-metadata.json +1 -1
  167. package/rollup.config.js +0 -122
@@ -1,8 +1,180 @@
1
1
  import * as coreAuth from '@azure/core-auth';
2
2
  import * as coreClient from '@azure/core-client';
3
+ import { OperationState } from '@azure/core-lro';
3
4
  import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
- import { PollerLike } from '@azure/core-lro';
5
- import { PollOperationState } from '@azure/core-lro';
5
+ import { SimplePollerLike } from '@azure/core-lro';
6
+
7
+ /** Information about azure databricks accessConnector. */
8
+ export declare interface AccessConnector extends TrackedResource {
9
+ /** Managed service identity (system assigned and/or user assigned identities) */
10
+ identity?: ManagedServiceIdentity;
11
+ /**
12
+ * The system metadata relating to this resource
13
+ * NOTE: This property will not be serialized. It can only be populated by the server.
14
+ */
15
+ readonly systemData?: SystemData;
16
+ /** Azure Databricks accessConnector properties */
17
+ properties?: AccessConnectorProperties;
18
+ }
19
+
20
+ /** List of azure databricks accessConnector. */
21
+ export declare interface AccessConnectorListResult {
22
+ /** The array of azure databricks accessConnector. */
23
+ value?: AccessConnector[];
24
+ /** The URL to use for getting the next set of results. */
25
+ nextLink?: string;
26
+ }
27
+
28
+ export declare interface AccessConnectorProperties {
29
+ /**
30
+ * Provisioning status of the accessConnector.
31
+ * NOTE: This property will not be serialized. It can only be populated by the server.
32
+ */
33
+ readonly provisioningState?: ProvisioningState;
34
+ }
35
+
36
+ /** Interface representing a AccessConnectors. */
37
+ export declare interface AccessConnectors {
38
+ /**
39
+ * Gets all the azure databricks accessConnectors within a resource group.
40
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
41
+ * @param options The options parameters.
42
+ */
43
+ listByResourceGroup(resourceGroupName: string, options?: AccessConnectorsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AccessConnector>;
44
+ /**
45
+ * Gets all the azure databricks accessConnectors within a subscription.
46
+ * @param options The options parameters.
47
+ */
48
+ listBySubscription(options?: AccessConnectorsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AccessConnector>;
49
+ /**
50
+ * Gets an azure databricks accessConnector.
51
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
52
+ * @param connectorName The name of the azure databricks accessConnector.
53
+ * @param options The options parameters.
54
+ */
55
+ get(resourceGroupName: string, connectorName: string, options?: AccessConnectorsGetOptionalParams): Promise<AccessConnectorsGetResponse>;
56
+ /**
57
+ * Deletes the azure databricks accessConnector.
58
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
59
+ * @param connectorName The name of the azure databricks accessConnector.
60
+ * @param options The options parameters.
61
+ */
62
+ beginDelete(resourceGroupName: string, connectorName: string, options?: AccessConnectorsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
63
+ /**
64
+ * Deletes the azure databricks accessConnector.
65
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
66
+ * @param connectorName The name of the azure databricks accessConnector.
67
+ * @param options The options parameters.
68
+ */
69
+ beginDeleteAndWait(resourceGroupName: string, connectorName: string, options?: AccessConnectorsDeleteOptionalParams): Promise<void>;
70
+ /**
71
+ * Creates or updates azure databricks accessConnector.
72
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
73
+ * @param connectorName The name of the azure databricks accessConnector.
74
+ * @param parameters Parameters supplied to the create or update an azure databricks accessConnector.
75
+ * @param options The options parameters.
76
+ */
77
+ beginCreateOrUpdate(resourceGroupName: string, connectorName: string, parameters: AccessConnector, options?: AccessConnectorsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AccessConnectorsCreateOrUpdateResponse>, AccessConnectorsCreateOrUpdateResponse>>;
78
+ /**
79
+ * Creates or updates azure databricks accessConnector.
80
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
81
+ * @param connectorName The name of the azure databricks accessConnector.
82
+ * @param parameters Parameters supplied to the create or update an azure databricks accessConnector.
83
+ * @param options The options parameters.
84
+ */
85
+ beginCreateOrUpdateAndWait(resourceGroupName: string, connectorName: string, parameters: AccessConnector, options?: AccessConnectorsCreateOrUpdateOptionalParams): Promise<AccessConnectorsCreateOrUpdateResponse>;
86
+ /**
87
+ * Updates an azure databricks accessConnector.
88
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
89
+ * @param connectorName The name of the azure databricks accessConnector.
90
+ * @param parameters The update to the azure databricks accessConnector.
91
+ * @param options The options parameters.
92
+ */
93
+ beginUpdate(resourceGroupName: string, connectorName: string, parameters: AccessConnectorUpdate, options?: AccessConnectorsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AccessConnectorsUpdateResponse>, AccessConnectorsUpdateResponse>>;
94
+ /**
95
+ * Updates an azure databricks accessConnector.
96
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
97
+ * @param connectorName The name of the azure databricks accessConnector.
98
+ * @param parameters The update to the azure databricks accessConnector.
99
+ * @param options The options parameters.
100
+ */
101
+ beginUpdateAndWait(resourceGroupName: string, connectorName: string, parameters: AccessConnectorUpdate, options?: AccessConnectorsUpdateOptionalParams): Promise<AccessConnectorsUpdateResponse>;
102
+ }
103
+
104
+ /** Optional parameters. */
105
+ export declare interface AccessConnectorsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
106
+ /** Delay to wait until next poll, in milliseconds. */
107
+ updateIntervalInMs?: number;
108
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
109
+ resumeFrom?: string;
110
+ }
111
+
112
+ /** Contains response data for the createOrUpdate operation. */
113
+ export declare type AccessConnectorsCreateOrUpdateResponse = AccessConnector;
114
+
115
+ /** Optional parameters. */
116
+ export declare interface AccessConnectorsDeleteOptionalParams extends coreClient.OperationOptions {
117
+ /** Delay to wait until next poll, in milliseconds. */
118
+ updateIntervalInMs?: number;
119
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
120
+ resumeFrom?: string;
121
+ }
122
+
123
+ /** Optional parameters. */
124
+ export declare interface AccessConnectorsGetOptionalParams extends coreClient.OperationOptions {
125
+ }
126
+
127
+ /** Contains response data for the get operation. */
128
+ export declare type AccessConnectorsGetResponse = AccessConnector;
129
+
130
+ /** Optional parameters. */
131
+ export declare interface AccessConnectorsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
132
+ }
133
+
134
+ /** Contains response data for the listByResourceGroupNext operation. */
135
+ export declare type AccessConnectorsListByResourceGroupNextResponse = AccessConnectorListResult;
136
+
137
+ /** Optional parameters. */
138
+ export declare interface AccessConnectorsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
139
+ }
140
+
141
+ /** Contains response data for the listByResourceGroup operation. */
142
+ export declare type AccessConnectorsListByResourceGroupResponse = AccessConnectorListResult;
143
+
144
+ /** Optional parameters. */
145
+ export declare interface AccessConnectorsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
146
+ }
147
+
148
+ /** Contains response data for the listBySubscriptionNext operation. */
149
+ export declare type AccessConnectorsListBySubscriptionNextResponse = AccessConnectorListResult;
150
+
151
+ /** Optional parameters. */
152
+ export declare interface AccessConnectorsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
153
+ }
154
+
155
+ /** Contains response data for the listBySubscription operation. */
156
+ export declare type AccessConnectorsListBySubscriptionResponse = AccessConnectorListResult;
157
+
158
+ /** Optional parameters. */
159
+ export declare interface AccessConnectorsUpdateOptionalParams extends coreClient.OperationOptions {
160
+ /** Delay to wait until next poll, in milliseconds. */
161
+ updateIntervalInMs?: number;
162
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
163
+ resumeFrom?: string;
164
+ }
165
+
166
+ /** Contains response data for the update operation. */
167
+ export declare type AccessConnectorsUpdateResponse = AccessConnector;
168
+
169
+ /** An update to an azure databricks accessConnector. */
170
+ export declare interface AccessConnectorUpdate {
171
+ /** Resource tags. */
172
+ tags?: {
173
+ [propertyName: string]: string;
174
+ };
175
+ /** Managed service identity (system assigned and/or user assigned identities) */
176
+ identity?: ManagedServiceIdentity;
177
+ }
6
178
 
7
179
  /** AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network. */
8
180
  export declare interface AddressSpace {
@@ -12,7 +184,6 @@ export declare interface AddressSpace {
12
184
 
13
185
  export declare class AzureDatabricksManagementClient extends coreClient.ServiceClient {
14
186
  $host: string;
15
- apiVersion: string;
16
187
  subscriptionId: string;
17
188
  /**
18
189
  * Initializes a new instance of the AzureDatabricksManagementClient class.
@@ -27,14 +198,13 @@ export declare class AzureDatabricksManagementClient extends coreClient.ServiceC
27
198
  privateEndpointConnections: PrivateEndpointConnections;
28
199
  outboundNetworkDependenciesEndpoints: OutboundNetworkDependenciesEndpoints;
29
200
  vNetPeering: VNetPeering;
201
+ accessConnectors: AccessConnectors;
30
202
  }
31
203
 
32
204
  /** Optional parameters. */
33
205
  export declare interface AzureDatabricksManagementClientOptionalParams extends coreClient.ServiceClientOptions {
34
206
  /** server parameter */
35
207
  $host?: string;
36
- /** Api Version */
37
- apiVersion?: string;
38
208
  /** Overrides client endpoint. */
39
209
  endpoint?: string;
40
210
  }
@@ -97,6 +267,8 @@ export declare interface Encryption {
97
267
  export declare interface EncryptionEntitiesDefinition {
98
268
  /** Encryption properties for the databricks managed services. */
99
269
  managedServices?: EncryptionV2;
270
+ /** Encryption properties for the databricks managed disks. */
271
+ managedDisk?: ManagedDiskEncryption;
100
272
  }
101
273
 
102
274
  /**
@@ -174,11 +346,20 @@ export declare interface ErrorResponse {
174
346
  error: ErrorInfo;
175
347
  }
176
348
 
349
+ /**
350
+ * Given the last `.value` produced by the `byPage` iterator,
351
+ * returns a continuation token that can be used to begin paging from
352
+ * that point later.
353
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
354
+ * @returns The continuation token that can be passed into byPage() during future calls.
355
+ */
356
+ export declare function getContinuationToken(page: unknown): string | undefined;
357
+
177
358
  /** The group information for creating a private endpoint on a workspace */
178
- export declare type GroupIdInformation = Resource & {
359
+ export declare interface GroupIdInformation extends Resource {
179
360
  /** The group id properties. */
180
361
  properties: GroupIdInformationProperties;
181
- };
362
+ }
182
363
 
183
364
  /** The properties for a group information object */
184
365
  export declare interface GroupIdInformationProperties {
@@ -202,90 +383,164 @@ export declare type KeySource = string;
202
383
 
203
384
  /** Known values of {@link CreatedByType} that the service accepts. */
204
385
  export declare enum KnownCreatedByType {
386
+ /** User */
205
387
  User = "User",
388
+ /** Application */
206
389
  Application = "Application",
390
+ /** ManagedIdentity */
207
391
  ManagedIdentity = "ManagedIdentity",
392
+ /** Key */
208
393
  Key = "Key"
209
394
  }
210
395
 
211
396
  /** Known values of {@link CustomParameterType} that the service accepts. */
212
397
  export declare enum KnownCustomParameterType {
398
+ /** Bool */
213
399
  Bool = "Bool",
400
+ /** Object */
214
401
  Object = "Object",
402
+ /** String */
215
403
  String = "String"
216
404
  }
217
405
 
218
406
  /** Known values of {@link EncryptionKeySource} that the service accepts. */
219
407
  export declare enum KnownEncryptionKeySource {
408
+ /** MicrosoftKeyvault */
220
409
  MicrosoftKeyvault = "Microsoft.Keyvault"
221
410
  }
222
411
 
223
412
  /** Known values of {@link KeySource} that the service accepts. */
224
413
  export declare enum KnownKeySource {
414
+ /** Default */
225
415
  Default = "Default",
416
+ /** MicrosoftKeyvault */
226
417
  MicrosoftKeyvault = "Microsoft.Keyvault"
227
418
  }
228
419
 
420
+ /** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
421
+ export declare enum KnownManagedServiceIdentityType {
422
+ /** None */
423
+ None = "None",
424
+ /** SystemAssigned */
425
+ SystemAssigned = "SystemAssigned",
426
+ /** UserAssigned */
427
+ UserAssigned = "UserAssigned",
428
+ /** SystemAssignedUserAssigned */
429
+ SystemAssignedUserAssigned = "SystemAssigned,UserAssigned"
430
+ }
431
+
229
432
  /** Known values of {@link PeeringProvisioningState} that the service accepts. */
230
433
  export declare enum KnownPeeringProvisioningState {
434
+ /** Succeeded */
231
435
  Succeeded = "Succeeded",
436
+ /** Updating */
232
437
  Updating = "Updating",
438
+ /** Deleting */
233
439
  Deleting = "Deleting",
440
+ /** Failed */
234
441
  Failed = "Failed"
235
442
  }
236
443
 
237
444
  /** Known values of {@link PeeringState} that the service accepts. */
238
445
  export declare enum KnownPeeringState {
446
+ /** Initiated */
239
447
  Initiated = "Initiated",
448
+ /** Connected */
240
449
  Connected = "Connected",
450
+ /** Disconnected */
241
451
  Disconnected = "Disconnected"
242
452
  }
243
453
 
244
454
  /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
245
455
  export declare enum KnownPrivateEndpointConnectionProvisioningState {
456
+ /** Succeeded */
246
457
  Succeeded = "Succeeded",
458
+ /** Creating */
247
459
  Creating = "Creating",
460
+ /** Updating */
248
461
  Updating = "Updating",
462
+ /** Deleting */
249
463
  Deleting = "Deleting",
464
+ /** Failed */
250
465
  Failed = "Failed"
251
466
  }
252
467
 
253
468
  /** Known values of {@link PrivateLinkServiceConnectionStatus} that the service accepts. */
254
469
  export declare enum KnownPrivateLinkServiceConnectionStatus {
470
+ /** Pending */
255
471
  Pending = "Pending",
472
+ /** Approved */
256
473
  Approved = "Approved",
474
+ /** Rejected */
257
475
  Rejected = "Rejected",
476
+ /** Disconnected */
258
477
  Disconnected = "Disconnected"
259
478
  }
260
479
 
261
480
  /** Known values of {@link ProvisioningState} that the service accepts. */
262
481
  export declare enum KnownProvisioningState {
482
+ /** Accepted */
263
483
  Accepted = "Accepted",
484
+ /** Running */
264
485
  Running = "Running",
486
+ /** Ready */
265
487
  Ready = "Ready",
488
+ /** Creating */
266
489
  Creating = "Creating",
490
+ /** Created */
267
491
  Created = "Created",
492
+ /** Deleting */
268
493
  Deleting = "Deleting",
494
+ /** Deleted */
269
495
  Deleted = "Deleted",
496
+ /** Canceled */
270
497
  Canceled = "Canceled",
498
+ /** Failed */
271
499
  Failed = "Failed",
500
+ /** Succeeded */
272
501
  Succeeded = "Succeeded",
502
+ /** Updating */
273
503
  Updating = "Updating"
274
504
  }
275
505
 
276
506
  /** Known values of {@link PublicNetworkAccess} that the service accepts. */
277
507
  export declare enum KnownPublicNetworkAccess {
508
+ /** Enabled */
278
509
  Enabled = "Enabled",
510
+ /** Disabled */
279
511
  Disabled = "Disabled"
280
512
  }
281
513
 
282
514
  /** Known values of {@link RequiredNsgRules} that the service accepts. */
283
515
  export declare enum KnownRequiredNsgRules {
516
+ /** AllRules */
284
517
  AllRules = "AllRules",
518
+ /** NoAzureDatabricksRules */
285
519
  NoAzureDatabricksRules = "NoAzureDatabricksRules",
520
+ /** NoAzureServiceRules */
286
521
  NoAzureServiceRules = "NoAzureServiceRules"
287
522
  }
288
523
 
524
+ /** The object that contains details of encryption used on the workspace. */
525
+ export declare interface ManagedDiskEncryption {
526
+ /** The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Keyvault */
527
+ keySource: EncryptionKeySource;
528
+ /** Key Vault input properties for encryption. */
529
+ keyVaultProperties: ManagedDiskEncryptionKeyVaultProperties;
530
+ /** Indicate whether the latest key version should be automatically used for Managed Disk Encryption. */
531
+ rotationToLatestKeyVersionEnabled?: boolean;
532
+ }
533
+
534
+ /** Key Vault input properties for encryption. */
535
+ export declare interface ManagedDiskEncryptionKeyVaultProperties {
536
+ /** The URI of KeyVault. */
537
+ keyVaultUri: string;
538
+ /** The name of KeyVault key. */
539
+ keyName: string;
540
+ /** The version of KeyVault key. */
541
+ keyVersion: string;
542
+ }
543
+
289
544
  /** The Managed Identity details for storage account. */
290
545
  export declare interface ManagedIdentityConfiguration {
291
546
  /**
@@ -305,6 +560,38 @@ export declare interface ManagedIdentityConfiguration {
305
560
  readonly type?: string;
306
561
  }
307
562
 
563
+ /** Managed service identity (system assigned and/or user assigned identities) */
564
+ export declare interface ManagedServiceIdentity {
565
+ /**
566
+ * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
567
+ * NOTE: This property will not be serialized. It can only be populated by the server.
568
+ */
569
+ readonly principalId?: string;
570
+ /**
571
+ * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
572
+ * NOTE: This property will not be serialized. It can only be populated by the server.
573
+ */
574
+ readonly tenantId?: string;
575
+ /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
576
+ type: ManagedServiceIdentityType;
577
+ /** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */
578
+ userAssignedIdentities?: {
579
+ [propertyName: string]: UserAssignedIdentity;
580
+ };
581
+ }
582
+
583
+ /**
584
+ * Defines values for ManagedServiceIdentityType. \
585
+ * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,
586
+ * this enum contains the known values that the service supports.
587
+ * ### Known values supported by the service
588
+ * **None** \
589
+ * **SystemAssigned** \
590
+ * **UserAssigned** \
591
+ * **SystemAssigned,UserAssigned**
592
+ */
593
+ export declare type ManagedServiceIdentityType = string;
594
+
308
595
  /** REST API operation */
309
596
  export declare interface Operation {
310
597
  /** Operation name: {provider}/{resource}/{operation} */
@@ -315,12 +602,14 @@ export declare interface Operation {
315
602
 
316
603
  /** The object that represents the operation. */
317
604
  export declare interface OperationDisplay {
318
- /** Service provider: Microsoft.ResourceProvider */
605
+ /** Service provider: ex Microsoft.Databricks */
319
606
  provider?: string;
320
607
  /** Resource on which the operation is performed. */
321
608
  resource?: string;
322
609
  /** Operation type: Read, write, delete, etc. */
323
610
  operation?: string;
611
+ /** Description for the resource operation. */
612
+ description?: string;
324
613
  }
325
614
 
326
615
  /** Result of the request to list Resource Provider operations. It contains a list of operations and a URL link to get the next set of results. */
@@ -367,7 +656,7 @@ export declare interface OutboundNetworkDependenciesEndpoints {
367
656
  /**
368
657
  * Gets the list of endpoints that VNET Injected Workspace calls Azure Databricks Control Plane. You
369
658
  * must configure outbound access with these endpoints. For more information, see
370
- * https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/udr
659
+ * https://docs.microsoft.com/azure/databricks/administration-guide/cloud-configurations/azure/udr
371
660
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
372
661
  * @param workspaceName The name of the workspace.
373
662
  * @param options The options parameters.
@@ -439,6 +728,8 @@ export declare interface PrivateEndpointConnection {
439
728
  export declare interface PrivateEndpointConnectionProperties {
440
729
  /** Private endpoint */
441
730
  privateEndpoint?: PrivateEndpoint;
731
+ /** GroupIds from the private link service resource. */
732
+ groupIds?: string[];
442
733
  /** Private endpoint connection state */
443
734
  privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
444
735
  /**
@@ -486,7 +777,7 @@ export declare interface PrivateEndpointConnections {
486
777
  * @param privateEndpointConnection The private endpoint connection with updated properties
487
778
  * @param options The options parameters.
488
779
  */
489
- beginCreate(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateResponse>, PrivateEndpointConnectionsCreateResponse>>;
780
+ beginCreate(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsCreateResponse>, PrivateEndpointConnectionsCreateResponse>>;
490
781
  /**
491
782
  * Update the status of a private endpoint connection with the specified name
492
783
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -503,7 +794,7 @@ export declare interface PrivateEndpointConnections {
503
794
  * @param privateEndpointConnectionName The name of the private endpoint connection
504
795
  * @param options The options parameters.
505
796
  */
506
- beginDelete(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
797
+ beginDelete(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
507
798
  /**
508
799
  * Remove private endpoint connection with the specified name
509
800
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -617,7 +908,7 @@ export declare interface PrivateLinkServiceConnectionState {
617
908
  /** The description for the current state of a private endpoint connection */
618
909
  description?: string;
619
910
  /** Actions required for a private endpoint connection */
620
- actionRequired?: string;
911
+ actionsRequired?: string;
621
912
  }
622
913
 
623
914
  /**
@@ -716,14 +1007,28 @@ export declare interface SystemData {
716
1007
  }
717
1008
 
718
1009
  /** The resource model definition for a ARM tracked top level resource */
719
- export declare type TrackedResource = Resource & {
1010
+ export declare interface TrackedResource extends Resource {
720
1011
  /** Resource tags. */
721
1012
  tags?: {
722
1013
  [propertyName: string]: string;
723
1014
  };
724
1015
  /** The geo-location where the resource lives */
725
1016
  location: string;
726
- };
1017
+ }
1018
+
1019
+ /** User assigned identity properties */
1020
+ export declare interface UserAssignedIdentity {
1021
+ /**
1022
+ * The principal ID of the assigned identity.
1023
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1024
+ */
1025
+ readonly principalId?: string;
1026
+ /**
1027
+ * The client ID of the assigned identity.
1028
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1029
+ */
1030
+ readonly clientId?: string;
1031
+ }
727
1032
 
728
1033
  /** Peerings in a VirtualNetwork resource */
729
1034
  export declare interface VirtualNetworkPeering {
@@ -814,7 +1119,7 @@ export declare interface VNetPeering {
814
1119
  * @param peeringName The name of the workspace vNet peering.
815
1120
  * @param options The options parameters.
816
1121
  */
817
- beginDelete(resourceGroupName: string, workspaceName: string, peeringName: string, options?: VNetPeeringDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1122
+ beginDelete(resourceGroupName: string, workspaceName: string, peeringName: string, options?: VNetPeeringDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
818
1123
  /**
819
1124
  * Deletes the workspace vNetPeering.
820
1125
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -831,7 +1136,7 @@ export declare interface VNetPeering {
831
1136
  * @param virtualNetworkPeeringParameters Parameters supplied to the create workspace vNet Peering.
832
1137
  * @param options The options parameters.
833
1138
  */
834
- beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, peeringName: string, virtualNetworkPeeringParameters: VirtualNetworkPeering, options?: VNetPeeringCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<VNetPeeringCreateOrUpdateResponse>, VNetPeeringCreateOrUpdateResponse>>;
1139
+ beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, peeringName: string, virtualNetworkPeeringParameters: VirtualNetworkPeering, options?: VNetPeeringCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VNetPeeringCreateOrUpdateResponse>, VNetPeeringCreateOrUpdateResponse>>;
835
1140
  /**
836
1141
  * Creates vNet Peering for workspace.
837
1142
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -884,7 +1189,7 @@ export declare interface VNetPeeringListByWorkspaceOptionalParams extends coreCl
884
1189
  export declare type VNetPeeringListByWorkspaceResponse = VirtualNetworkPeeringList;
885
1190
 
886
1191
  /** Information about workspace. */
887
- export declare type Workspace = TrackedResource & {
1192
+ export declare interface Workspace extends TrackedResource {
888
1193
  /** The SKU of the resource. */
889
1194
  sku?: Sku;
890
1195
  /**
@@ -926,6 +1231,13 @@ export declare type Workspace = TrackedResource & {
926
1231
  readonly workspaceUrl?: string;
927
1232
  /** The details of Managed Identity of Storage Account */
928
1233
  storageAccountIdentity?: ManagedIdentityConfiguration;
1234
+ /** The details of Managed Identity of Disk Encryption Set used for Managed Disk Encryption */
1235
+ managedDiskIdentity?: ManagedIdentityConfiguration;
1236
+ /**
1237
+ * The resource Id of the managed disk encryption set.
1238
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1239
+ */
1240
+ readonly diskEncryptionSetId?: string;
929
1241
  /** Encryption properties for databricks workspace */
930
1242
  encryption?: WorkspacePropertiesEncryption;
931
1243
  /**
@@ -937,7 +1249,7 @@ export declare type Workspace = TrackedResource & {
937
1249
  publicNetworkAccess?: PublicNetworkAccess;
938
1250
  /** Gets or sets a value indicating whether data plane (clusters) to control plane communication happen over private endpoint. Supported values are 'AllRules' and 'NoAzureDatabricksRules'. 'NoAzureServiceRules' value is for internal use only. */
939
1251
  requiredNsgRules?: RequiredNsgRules;
940
- };
1252
+ }
941
1253
 
942
1254
  /** The value which should be used for this field. */
943
1255
  export declare interface WorkspaceCustomBooleanParameter {
@@ -1070,7 +1382,7 @@ export declare interface Workspaces {
1070
1382
  * @param workspaceName The name of the workspace.
1071
1383
  * @param options The options parameters.
1072
1384
  */
1073
- beginDelete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1385
+ beginDelete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
1074
1386
  /**
1075
1387
  * Deletes the workspace.
1076
1388
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -1085,7 +1397,7 @@ export declare interface Workspaces {
1085
1397
  * @param parameters Parameters supplied to the create or update a workspace.
1086
1398
  * @param options The options parameters.
1087
1399
  */
1088
- beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<WorkspacesCreateOrUpdateResponse>, WorkspacesCreateOrUpdateResponse>>;
1400
+ beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, parameters: Workspace, options?: WorkspacesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WorkspacesCreateOrUpdateResponse>, WorkspacesCreateOrUpdateResponse>>;
1089
1401
  /**
1090
1402
  * Creates a new workspace.
1091
1403
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -1101,7 +1413,7 @@ export declare interface Workspaces {
1101
1413
  * @param parameters The update to the workspace.
1102
1414
  * @param options The options parameters.
1103
1415
  */
1104
- beginUpdate(resourceGroupName: string, workspaceName: string, parameters: WorkspaceUpdate, options?: WorkspacesUpdateOptionalParams): Promise<PollerLike<PollOperationState<WorkspacesUpdateResponse>, WorkspacesUpdateResponse>>;
1416
+ beginUpdate(resourceGroupName: string, workspaceName: string, parameters: WorkspaceUpdate, options?: WorkspacesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WorkspacesUpdateResponse>, WorkspacesUpdateResponse>>;
1105
1417
  /**
1106
1418
  * Updates a workspace.
1107
1419
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.22.1"
8
+ "packageVersion": "7.38.3"
9
9
  }
10
10
  ]
11
11
  }