@azure/arm-databricks 2.0.0 → 3.0.0-beta.1

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 (188) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +66 -82
  4. package/dist/index.js +3186 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/azureDatabricksManagementClient.d.ts +20 -0
  9. package/dist-esm/src/azureDatabricksManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/azureDatabricksManagementClient.js +27 -0
  11. package/dist-esm/src/azureDatabricksManagementClient.js.map +1 -0
  12. package/dist-esm/src/azureDatabricksManagementClientContext.d.ts +16 -0
  13. package/dist-esm/src/azureDatabricksManagementClientContext.d.ts.map +1 -0
  14. package/dist-esm/src/azureDatabricksManagementClientContext.js +49 -0
  15. package/dist-esm/src/azureDatabricksManagementClientContext.js.map +1 -0
  16. package/dist-esm/src/index.d.ts +6 -0
  17. package/dist-esm/src/index.d.ts.map +1 -0
  18. package/dist-esm/src/index.js +13 -0
  19. package/dist-esm/src/index.js.map +1 -0
  20. package/dist-esm/src/lroImpl.d.ts +16 -0
  21. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  22. package/dist-esm/src/lroImpl.js +29 -0
  23. package/dist-esm/src/lroImpl.js.map +1 -0
  24. package/dist-esm/src/models/index.d.ts +839 -0
  25. package/dist-esm/src/models/index.d.ts.map +1 -0
  26. package/dist-esm/src/models/index.js +94 -0
  27. package/dist-esm/src/models/index.js.map +1 -0
  28. package/dist-esm/src/models/mappers.d.ts +44 -0
  29. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  30. package/{esm → dist-esm/src}/models/mappers.js +578 -549
  31. package/dist-esm/src/models/mappers.js.map +1 -0
  32. package/dist-esm/src/models/parameters.d.ts +17 -0
  33. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  34. package/{esm → dist-esm/src}/models/parameters.js +77 -51
  35. package/dist-esm/src/models/parameters.js.map +1 -0
  36. package/{esm → dist-esm/src}/operations/index.d.ts +1 -0
  37. package/dist-esm/src/operations/index.d.ts.map +1 -0
  38. package/dist-esm/src/operations/index.js +14 -0
  39. package/dist-esm/src/operations/index.js.map +1 -0
  40. package/dist-esm/src/operations/operations.d.ts +32 -0
  41. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  42. package/dist-esm/src/operations/operations.js +120 -0
  43. package/dist-esm/src/operations/operations.js.map +1 -0
  44. package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.d.ts +22 -0
  45. package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
  46. package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.js +65 -0
  47. package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.js.map +1 -0
  48. package/dist-esm/src/operations/privateEndpointConnections.d.ts +81 -0
  49. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  50. package/dist-esm/src/operations/privateEndpointConnections.js +347 -0
  51. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  52. package/dist-esm/src/operations/privateLinkResources.d.ts +46 -0
  53. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  54. package/dist-esm/src/operations/privateLinkResources.js +169 -0
  55. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  56. package/dist-esm/src/operations/vNetPeering.d.ts +81 -0
  57. package/dist-esm/src/operations/vNetPeering.d.ts.map +1 -0
  58. package/dist-esm/src/operations/vNetPeering.js +338 -0
  59. package/dist-esm/src/operations/vNetPeering.js.map +1 -0
  60. package/dist-esm/src/operations/workspaces.d.ts +107 -0
  61. package/dist-esm/src/operations/workspaces.d.ts.map +1 -0
  62. package/dist-esm/src/operations/workspaces.js +500 -0
  63. package/dist-esm/src/operations/workspaces.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/index.d.ts +7 -0
  65. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/index.js +14 -0
  67. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  69. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  70. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/operations.js} +2 -1
  71. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts +14 -0
  73. package/dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
  74. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.js} +2 -9
  75. package/dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
  77. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  78. package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/privateEndpointConnections.js} +2 -2
  79. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +21 -0
  81. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  83. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/vNetPeering.d.ts +56 -0
  85. package/dist-esm/src/operationsInterfaces/vNetPeering.d.ts.map +1 -0
  86. package/dist-esm/src/operationsInterfaces/vNetPeering.js +9 -0
  87. package/dist-esm/src/operationsInterfaces/vNetPeering.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/workspaces.d.ts +71 -0
  89. package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/workspaces.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/workspaces.js.map +1 -0
  92. package/dist-esm/test/databricks_examples.d.ts +2 -0
  93. package/dist-esm/test/databricks_examples.d.ts.map +1 -0
  94. package/dist-esm/test/databricks_examples.js +100 -0
  95. package/dist-esm/test/databricks_examples.js.map +1 -0
  96. package/package.json +65 -32
  97. package/review/arm-databricks.api.md +742 -0
  98. package/rollup.config.js +181 -30
  99. package/src/azureDatabricksManagementClient.ts +42 -39
  100. package/src/azureDatabricksManagementClientContext.ts +45 -40
  101. package/src/index.ts +13 -0
  102. package/src/lroImpl.ts +34 -0
  103. package/src/models/index.ts +712 -1127
  104. package/src/models/mappers.ts +585 -552
  105. package/src/models/parameters.ts +101 -52
  106. package/src/operations/index.ts +2 -2
  107. package/src/operations/operations.ts +82 -70
  108. package/src/operations/outboundNetworkDependenciesEndpoints.ts +85 -0
  109. package/src/operations/privateEndpointConnections.ts +326 -184
  110. package/src/operations/privateLinkResources.ts +141 -123
  111. package/src/operations/vNetPeering.ts +349 -199
  112. package/src/operations/workspaces.ts +503 -308
  113. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +3 -3
  114. package/src/operationsInterfaces/operations.ts +22 -0
  115. package/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.ts +29 -0
  116. package/src/operationsInterfaces/privateEndpointConnections.ts +109 -0
  117. package/src/operationsInterfaces/privateLinkResources.ts +44 -0
  118. package/src/operationsInterfaces/vNetPeering.ts +109 -0
  119. package/src/operationsInterfaces/workspaces.ts +139 -0
  120. package/tsconfig.json +3 -3
  121. package/types/arm-databricks.d.ts +1198 -0
  122. package/types/tsdoc-metadata.json +11 -0
  123. package/dist/arm-databricks.js +0 -2791
  124. package/dist/arm-databricks.js.map +0 -1
  125. package/dist/arm-databricks.min.js +0 -1
  126. package/dist/arm-databricks.min.js.map +0 -1
  127. package/esm/azureDatabricksManagementClient.d.ts +0 -28
  128. package/esm/azureDatabricksManagementClient.d.ts.map +0 -1
  129. package/esm/azureDatabricksManagementClient.js +0 -41
  130. package/esm/azureDatabricksManagementClient.js.map +0 -1
  131. package/esm/azureDatabricksManagementClientContext.d.ts +0 -21
  132. package/esm/azureDatabricksManagementClientContext.d.ts.map +0 -1
  133. package/esm/azureDatabricksManagementClientContext.js +0 -59
  134. package/esm/azureDatabricksManagementClientContext.js.map +0 -1
  135. package/esm/models/index.d.ts +0 -1273
  136. package/esm/models/index.d.ts.map +0 -1
  137. package/esm/models/index.js.map +0 -1
  138. package/esm/models/mappers.d.ts +0 -43
  139. package/esm/models/mappers.d.ts.map +0 -1
  140. package/esm/models/mappers.js.map +0 -1
  141. package/esm/models/operationsMappers.d.ts +0 -2
  142. package/esm/models/operationsMappers.d.ts.map +0 -1
  143. package/esm/models/operationsMappers.js.map +0 -1
  144. package/esm/models/parameters.d.ts +0 -12
  145. package/esm/models/parameters.d.ts.map +0 -1
  146. package/esm/models/parameters.js.map +0 -1
  147. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  148. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  149. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  150. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  151. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  152. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  153. package/esm/models/privateLinkResourcesMappers.js +0 -9
  154. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  155. package/esm/models/vNetPeeringMappers.d.ts +0 -2
  156. package/esm/models/vNetPeeringMappers.d.ts.map +0 -1
  157. package/esm/models/vNetPeeringMappers.js +0 -9
  158. package/esm/models/vNetPeeringMappers.js.map +0 -1
  159. package/esm/models/workspacesMappers.d.ts +0 -2
  160. package/esm/models/workspacesMappers.d.ts.map +0 -1
  161. package/esm/models/workspacesMappers.js +0 -9
  162. package/esm/models/workspacesMappers.js.map +0 -1
  163. package/esm/operations/index.d.ts.map +0 -1
  164. package/esm/operations/index.js.map +0 -1
  165. package/esm/operations/operations.d.ts +0 -46
  166. package/esm/operations/operations.d.ts.map +0 -1
  167. package/esm/operations/operations.js +0 -79
  168. package/esm/operations/operations.js.map +0 -1
  169. package/esm/operations/privateEndpointConnections.d.ts +0 -122
  170. package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  171. package/esm/operations/privateEndpointConnections.js +0 -240
  172. package/esm/operations/privateEndpointConnections.js.map +0 -1
  173. package/esm/operations/privateLinkResources.d.ts +0 -79
  174. package/esm/operations/privateLinkResources.d.ts.map +0 -1
  175. package/esm/operations/privateLinkResources.js +0 -119
  176. package/esm/operations/privateLinkResources.js.map +0 -1
  177. package/esm/operations/vNetPeering.d.ts +0 -115
  178. package/esm/operations/vNetPeering.d.ts.map +0 -1
  179. package/esm/operations/vNetPeering.js +0 -237
  180. package/esm/operations/vNetPeering.js.map +0 -1
  181. package/esm/operations/workspaces.d.ts +0 -156
  182. package/esm/operations/workspaces.d.ts.map +0 -1
  183. package/esm/operations/workspaces.js +0 -337
  184. package/esm/operations/workspaces.js.map +0 -1
  185. package/src/models/privateEndpointConnectionsMappers.ts +0 -43
  186. package/src/models/privateLinkResourcesMappers.ts +0 -43
  187. package/src/models/vNetPeeringMappers.ts +0 -43
  188. package/src/models/workspacesMappers.ts +0 -44
@@ -6,1370 +6,955 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
10
- import * as msRest from "@azure/ms-rest-js";
9
+ import * as coreClient from "@azure/core-client";
11
10
 
12
- export { BaseResource, CloudError };
13
-
14
- /**
15
- * The Value.
16
- */
17
- export interface WorkspaceCustomStringParameter {
18
- /**
19
- * The type of variable that this is. Possible values include: 'Bool', 'Object', 'String'
20
- */
21
- type?: CustomParameterType;
22
- /**
23
- * The value which should be used for this field.
24
- */
25
- value: string;
26
- }
27
-
28
- /**
29
- * The value which should be used for this field.
30
- */
31
- export interface WorkspaceCustomBooleanParameter {
32
- /**
33
- * The type of variable that this is. Possible values include: 'Bool', 'Object', 'String'
34
- */
35
- type?: CustomParameterType;
36
- /**
37
- * The value which should be used for this field.
38
- */
39
- value: boolean;
40
- }
41
-
42
- /**
43
- * The object that contains details of encryption used on the workspace.
44
- */
45
- export interface Encryption {
46
- /**
47
- * The encryption keySource (provider). Possible values (case-insensitive): Default,
48
- * Microsoft.Keyvault. Possible values include: 'Default', 'Microsoft.Keyvault'. Default value:
49
- * 'Default'.
50
- */
51
- keySource?: KeySource;
52
- /**
53
- * The name of KeyVault key.
54
- */
55
- keyName?: string;
56
- /**
57
- * The version of KeyVault key.
58
- */
59
- keyVersion?: string;
60
- /**
61
- * The Uri of KeyVault.
62
- */
63
- keyVaultUri?: string;
64
- }
65
-
66
- /**
67
- * The object that contains details of encryption used on the workspace.
68
- */
69
- export interface WorkspaceEncryptionParameter {
70
- /**
71
- * The type of variable that this is. Possible values include: 'Bool', 'Object', 'String'
72
- */
73
- type?: CustomParameterType;
11
+ /** The core properties of ARM resources */
12
+ export interface Resource {
74
13
  /**
75
- * The value which should be used for this field.
14
+ * Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
15
+ * NOTE: This property will not be serialized. It can only be populated by the server.
76
16
  */
77
- value?: Encryption;
78
- }
79
-
80
- /**
81
- * The value which should be used for this field.
82
- */
83
- export interface WorkspaceCustomObjectParameter {
17
+ readonly id?: string;
84
18
  /**
85
- * The type of variable that this is. Possible values include: 'Bool', 'Object', 'String'
19
+ * The name of the resource
20
+ * NOTE: This property will not be serialized. It can only be populated by the server.
86
21
  */
87
- type?: CustomParameterType;
22
+ readonly name?: string;
88
23
  /**
89
- * The value which should be used for this field.
24
+ * The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
25
+ * NOTE: This property will not be serialized. It can only be populated by the server.
90
26
  */
91
- value: any;
27
+ readonly type?: string;
92
28
  }
93
29
 
94
- /**
95
- * Custom Parameters used for Cluster Creation.
96
- */
30
+ /** Custom Parameters used for Cluster Creation. */
97
31
  export interface WorkspaceCustomParameters {
98
- /**
99
- * The ID of a Azure Machine Learning workspace to link with Databricks workspace
100
- */
32
+ /** The ID of a Azure Machine Learning workspace to link with Databricks workspace */
101
33
  amlWorkspaceId?: WorkspaceCustomStringParameter;
102
- /**
103
- * The ID of a Virtual Network where this Databricks Cluster should be created
104
- */
34
+ /** The ID of a Virtual Network where this Databricks Cluster should be created */
105
35
  customVirtualNetworkId?: WorkspaceCustomStringParameter;
106
- /**
107
- * The name of a Public Subnet within the Virtual Network
108
- */
36
+ /** The name of a Public Subnet within the Virtual Network */
109
37
  customPublicSubnetName?: WorkspaceCustomStringParameter;
110
- /**
111
- * The name of the Private Subnet within the Virtual Network
112
- */
38
+ /** The name of the Private Subnet within the Virtual Network */
113
39
  customPrivateSubnetName?: WorkspaceCustomStringParameter;
114
- /**
115
- * Should the Public IP be Disabled?
116
- */
40
+ /** Should the Public IP be Disabled? */
117
41
  enableNoPublicIp?: WorkspaceCustomBooleanParameter;
118
- /**
119
- * Name of the outbound Load Balancer Backend Pool for Secure Cluster Connectivity (No Public
120
- * IP).
121
- */
42
+ /** Name of the outbound Load Balancer Backend Pool for Secure Cluster Connectivity (No Public IP). */
122
43
  loadBalancerBackendPoolName?: WorkspaceCustomStringParameter;
123
- /**
124
- * Resource URI of Outbound Load balancer for Secure Cluster Connectivity (No Public IP)
125
- * workspace.
126
- */
44
+ /** Resource URI of Outbound Load balancer for Secure Cluster Connectivity (No Public IP) workspace. */
127
45
  loadBalancerId?: WorkspaceCustomStringParameter;
128
- /**
129
- * Name of the NAT gateway for Secure Cluster Connectivity (No Public IP) workspace subnets.
130
- */
46
+ /** Name of the NAT gateway for Secure Cluster Connectivity (No Public IP) workspace subnets. */
131
47
  natGatewayName?: WorkspaceCustomStringParameter;
132
- /**
133
- * Name of the Public IP for No Public IP workspace with managed vNet.
134
- */
48
+ /** Name of the Public IP for No Public IP workspace with managed vNet. */
135
49
  publicIpName?: WorkspaceCustomStringParameter;
136
- /**
137
- * Prepare the workspace for encryption. Enables the Managed Identity for managed storage
138
- * account.
139
- */
50
+ /** Prepare the workspace for encryption. Enables the Managed Identity for managed storage account. */
140
51
  prepareEncryption?: WorkspaceCustomBooleanParameter;
141
- /**
142
- * Contains the encryption details for Customer-Managed Key (CMK) enabled workspace.
143
- */
52
+ /** Contains the encryption details for Customer-Managed Key (CMK) enabled workspace. */
144
53
  encryption?: WorkspaceEncryptionParameter;
145
- /**
146
- * A boolean indicating whether or not the DBFS root file system will be enabled with secondary
147
- * layer of encryption with platform managed keys for data at rest.
148
- */
54
+ /** A boolean indicating whether or not the DBFS root file system will be enabled with secondary layer of encryption with platform managed keys for data at rest. */
149
55
  requireInfrastructureEncryption?: WorkspaceCustomBooleanParameter;
150
- /**
151
- * Default DBFS storage account name.
152
- */
56
+ /** Default DBFS storage account name. */
153
57
  storageAccountName?: WorkspaceCustomStringParameter;
58
+ /** Storage account SKU name, ex: Standard_GRS, Standard_LRS. Refer https://aka.ms/storageskus for valid inputs. */
59
+ storageAccountSkuName?: WorkspaceCustomStringParameter;
60
+ /** Address prefix for Managed virtual network. Default value for this input is 10.139. */
61
+ vnetAddressPrefix?: WorkspaceCustomStringParameter;
154
62
  /**
155
- * Storage account SKU name, ex: Standard_GRS, Standard_LRS. Refer https://aka.ms/storageskus for
156
- * valid inputs.
63
+ * Tags applied to resources under Managed resource group. These can be updated by updating tags at workspace level.
64
+ * NOTE: This property will not be serialized. It can only be populated by the server.
157
65
  */
158
- storageAccountSkuName?: WorkspaceCustomStringParameter;
66
+ readonly resourceTags?: WorkspaceCustomObjectParameter;
67
+ }
68
+
69
+ /** The Value. */
70
+ export interface WorkspaceCustomStringParameter {
159
71
  /**
160
- * Address prefix for Managed virtual network. Default value for this input is 10.139.
72
+ * The type of variable that this is
73
+ * NOTE: This property will not be serialized. It can only be populated by the server.
161
74
  */
162
- vnetAddressPrefix?: WorkspaceCustomStringParameter;
75
+ readonly type?: CustomParameterType;
76
+ /** The value which should be used for this field. */
77
+ value: string;
78
+ }
79
+
80
+ /** The value which should be used for this field. */
81
+ export interface WorkspaceCustomBooleanParameter {
163
82
  /**
164
- * Tags applied to resources under Managed resource group. These can be updated by updating tags
165
- * at workspace level.
166
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
83
+ * The type of variable that this is
84
+ * NOTE: This property will not be serialized. It can only be populated by the server.
167
85
  */
168
- readonly resourceTags?: WorkspaceCustomObjectParameter;
86
+ readonly type?: CustomParameterType;
87
+ /** The value which should be used for this field. */
88
+ value: boolean;
169
89
  }
170
90
 
171
- /**
172
- * The workspace provider authorization.
173
- */
174
- export interface WorkspaceProviderAuthorization {
91
+ /** The object that contains details of encryption used on the workspace. */
92
+ export interface WorkspaceEncryptionParameter {
175
93
  /**
176
- * The provider's principal identifier. This is the identity that the provider will use to call
177
- * ARM to manage the workspace resources.
94
+ * The type of variable that this is
95
+ * NOTE: This property will not be serialized. It can only be populated by the server.
178
96
  */
179
- principalId: string;
97
+ readonly type?: CustomParameterType;
98
+ /** The value which should be used for this field. */
99
+ value?: Encryption;
100
+ }
101
+
102
+ /** The object that contains details of encryption used on the workspace. */
103
+ export interface Encryption {
104
+ /** The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault */
105
+ keySource?: KeySource;
106
+ /** The name of KeyVault key. */
107
+ keyName?: string;
108
+ /** The version of KeyVault key. */
109
+ keyVersion?: string;
110
+ /** The Uri of KeyVault. */
111
+ keyVaultUri?: string;
112
+ }
113
+
114
+ /** The value which should be used for this field. */
115
+ export interface WorkspaceCustomObjectParameter {
180
116
  /**
181
- * The provider's role definition identifier. This role will define all the permissions that the
182
- * provider must have on the workspace's container resource group. This role definition cannot
183
- * have permission to delete the resource group.
117
+ * The type of variable that this is
118
+ * NOTE: This property will not be serialized. It can only be populated by the server.
184
119
  */
120
+ readonly type?: CustomParameterType;
121
+ /** The value which should be used for this field. */
122
+ value: Record<string, unknown>;
123
+ }
124
+
125
+ /** The workspace provider authorization. */
126
+ export interface WorkspaceProviderAuthorization {
127
+ /** The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the workspace resources. */
128
+ principalId: string;
129
+ /** The provider's role definition identifier. This role will define all the permissions that the provider must have on the workspace's container resource group. This role definition cannot have permission to delete the resource group. */
185
130
  roleDefinitionId: string;
186
131
  }
187
132
 
188
- /**
189
- * Provides details of the entity that created/updated the workspace.
190
- */
133
+ /** Provides details of the entity that created/updated the workspace. */
191
134
  export interface CreatedBy {
192
135
  /**
193
136
  * The Object ID that created the workspace.
194
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
137
+ * NOTE: This property will not be serialized. It can only be populated by the server.
195
138
  */
196
139
  readonly oid?: string;
197
140
  /**
198
141
  * The Personal Object ID corresponding to the object ID above
199
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
142
+ * NOTE: This property will not be serialized. It can only be populated by the server.
200
143
  */
201
144
  readonly puid?: string;
202
145
  /**
203
- * The application ID of the application that initiated the creation of the workspace. For
204
- * example, Azure Portal.
205
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
146
+ * The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.
147
+ * NOTE: This property will not be serialized. It can only be populated by the server.
206
148
  */
207
149
  readonly applicationId?: string;
208
150
  }
209
151
 
210
- /**
211
- * The Managed Identity details for storage account.
212
- */
152
+ /** The Managed Identity details for storage account. */
213
153
  export interface ManagedIdentityConfiguration {
214
154
  /**
215
155
  * The objectId of the Managed Identity that is linked to the Managed Storage account.
216
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
156
+ * NOTE: This property will not be serialized. It can only be populated by the server.
217
157
  */
218
158
  readonly principalId?: string;
219
159
  /**
220
160
  * The tenant Id where the Managed Identity is created.
221
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
161
+ * NOTE: This property will not be serialized. It can only be populated by the server.
222
162
  */
223
163
  readonly tenantId?: string;
224
164
  /**
225
165
  * The type of Identity created. It can be either SystemAssigned or UserAssigned.
226
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
166
+ * NOTE: This property will not be serialized. It can only be populated by the server.
227
167
  */
228
168
  readonly type?: string;
229
169
  }
230
170
 
231
- /**
232
- * Key Vault input properties for encryption.
233
- */
234
- export interface EncryptionV2KeyVaultProperties {
235
- /**
236
- * The Uri of KeyVault.
237
- */
238
- keyVaultUri: string;
239
- /**
240
- * The name of KeyVault key.
241
- */
242
- keyName: string;
243
- /**
244
- * The version of KeyVault key.
245
- */
246
- keyVersion: string;
247
- }
248
-
249
- /**
250
- * The object that contains details of encryption used on the workspace.
251
- */
252
- export interface EncryptionV2 {
253
- /**
254
- * Key Vault input properties for encryption.
255
- */
256
- keyVaultProperties?: EncryptionV2KeyVaultProperties;
171
+ /** Encryption properties for databricks workspace */
172
+ export interface WorkspacePropertiesEncryption {
173
+ /** Encryption entities definition for the workspace. */
174
+ entities: EncryptionEntitiesDefinition;
257
175
  }
258
176
 
259
- /**
260
- * Encryption entities for databricks workspace resource.
261
- */
177
+ /** Encryption entities for databricks workspace resource. */
262
178
  export interface EncryptionEntitiesDefinition {
263
- /**
264
- * Encryption properties for the databricks managed services.
265
- */
179
+ /** Encryption properties for the databricks managed services. */
266
180
  managedServices?: EncryptionV2;
267
181
  }
268
182
 
269
- /**
270
- * Encryption properties for databricks workspace
271
- */
272
- export interface WorkspacePropertiesEncryption {
273
- /**
274
- * Encryption entities definition for the workspace.
275
- */
276
- entities: EncryptionEntitiesDefinition;
183
+ /** The object that contains details of encryption used on the workspace. */
184
+ export interface EncryptionV2 {
185
+ /** The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Keyvault */
186
+ keySource: EncryptionKeySource;
187
+ /** Key Vault input properties for encryption. */
188
+ keyVaultProperties?: EncryptionV2KeyVaultProperties;
277
189
  }
278
190
 
279
- /**
280
- * The private endpoint property of a private endpoint connection
281
- */
282
- export interface PrivateEndpoint {
283
- /**
284
- * The resource identifier.
285
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
286
- */
287
- readonly id?: string;
191
+ /** Key Vault input properties for encryption. */
192
+ export interface EncryptionV2KeyVaultProperties {
193
+ /** The Uri of KeyVault. */
194
+ keyVaultUri: string;
195
+ /** The name of KeyVault key. */
196
+ keyName: string;
197
+ /** The version of KeyVault key. */
198
+ keyVersion: string;
288
199
  }
289
200
 
290
- /**
291
- * The current state of a private endpoint connection
292
- */
293
- export interface PrivateLinkServiceConnectionState {
201
+ /** The private endpoint connection of a workspace */
202
+ export interface PrivateEndpointConnection {
294
203
  /**
295
- * The status of a private endpoint connection. Possible values include: 'Pending', 'Approved',
296
- * 'Rejected', 'Disconnected'
204
+ * The resource identifier.
205
+ * NOTE: This property will not be serialized. It can only be populated by the server.
297
206
  */
298
- status: PrivateLinkServiceConnectionStatus;
207
+ readonly id?: string;
299
208
  /**
300
- * The description for the current state of a private endpoint connection
209
+ * The resource name.
210
+ * NOTE: This property will not be serialized. It can only be populated by the server.
301
211
  */
302
- description?: string;
212
+ readonly name?: string;
303
213
  /**
304
- * Actions required for a private endpoint connection
214
+ * The resource type.
215
+ * NOTE: This property will not be serialized. It can only be populated by the server.
305
216
  */
306
- actionRequired?: string;
217
+ readonly type?: string;
218
+ /** The private endpoint connection properties. */
219
+ properties: PrivateEndpointConnectionProperties;
307
220
  }
308
221
 
309
- /**
310
- * The properties of a private endpoint connection
311
- */
222
+ /** The properties of a private endpoint connection */
312
223
  export interface PrivateEndpointConnectionProperties {
313
- /**
314
- * Private endpoint. Private endpoint
315
- */
224
+ /** Private endpoint */
316
225
  privateEndpoint?: PrivateEndpoint;
317
- /**
318
- * Private link service service connection state. Private endpoint connection state
319
- */
226
+ /** Private endpoint connection state */
320
227
  privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
321
228
  /**
322
- * Provisioning state of the private endpoint connection. Possible values include: 'Succeeded',
323
- * 'Creating', 'Updating', 'Deleting', 'Failed'
229
+ * Provisioning state of the private endpoint connection.
230
+ * NOTE: This property will not be serialized. It can only be populated by the server.
324
231
  */
325
- provisioningState?: PrivateEndpointConnectionProvisioningState;
232
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
326
233
  }
327
234
 
328
- /**
329
- * The private endpoint connection of a workspace
330
- */
331
- export interface PrivateEndpointConnection extends BaseResource {
235
+ /** The private endpoint property of a private endpoint connection */
236
+ export interface PrivateEndpoint {
332
237
  /**
333
238
  * The resource identifier.
334
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
239
+ * NOTE: This property will not be serialized. It can only be populated by the server.
335
240
  */
336
241
  readonly id?: string;
337
- /**
338
- * The resource name.
339
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
340
- */
341
- readonly name?: string;
342
- /**
343
- * The resource type.
344
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
345
- */
346
- readonly type?: string;
347
- /**
348
- * The private endpoint connection properties.
349
- */
350
- properties: PrivateEndpointConnectionProperties;
351
242
  }
352
243
 
353
- /**
354
- * SKU for the resource.
355
- */
244
+ /** The current state of a private endpoint connection */
245
+ export interface PrivateLinkServiceConnectionState {
246
+ /** The status of a private endpoint connection */
247
+ status: PrivateLinkServiceConnectionStatus;
248
+ /** The description for the current state of a private endpoint connection */
249
+ description?: string;
250
+ /** Actions required for a private endpoint connection */
251
+ actionRequired?: string;
252
+ }
253
+
254
+ /** SKU for the resource. */
356
255
  export interface Sku {
357
- /**
358
- * The SKU name.
359
- */
256
+ /** The SKU name. */
360
257
  name: string;
361
- /**
362
- * The SKU tier.
363
- */
258
+ /** The SKU tier. */
364
259
  tier?: string;
365
260
  }
366
261
 
367
- /**
368
- * Metadata pertaining to creation and last modification of the resource.
369
- */
262
+ /** Metadata pertaining to creation and last modification of the resource. */
370
263
  export interface SystemData {
371
- /**
372
- * The identity that created the resource.
373
- */
264
+ /** The identity that created the resource. */
374
265
  createdBy?: string;
375
- /**
376
- * The type of identity that created the resource. Possible values include: 'User',
377
- * 'Application', 'ManagedIdentity', 'Key'
378
- */
266
+ /** The type of identity that created the resource. */
379
267
  createdByType?: CreatedByType;
380
- /**
381
- * The timestamp of resource creation (UTC).
382
- */
268
+ /** The timestamp of resource creation (UTC). */
383
269
  createdAt?: Date;
384
- /**
385
- * The identity that last modified the resource.
386
- */
270
+ /** The identity that last modified the resource. */
387
271
  lastModifiedBy?: string;
388
- /**
389
- * The type of identity that last modified the resource. Possible values include: 'User',
390
- * 'Application', 'ManagedIdentity', 'Key'
391
- */
272
+ /** The type of identity that last modified the resource. */
392
273
  lastModifiedByType?: CreatedByType;
393
- /**
394
- * The timestamp of resource last modification (UTC)
395
- */
274
+ /** The timestamp of resource last modification (UTC) */
396
275
  lastModifiedAt?: Date;
397
276
  }
398
277
 
399
- /**
400
- * The core properties of ARM resources
401
- */
402
- export interface Resource extends BaseResource {
403
- /**
404
- * Fully qualified resource Id for the resource. Ex -
405
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
406
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
407
- */
408
- readonly id?: string;
409
- /**
410
- * The name of the resource
411
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
412
- */
413
- readonly name?: string;
414
- /**
415
- * The type of the resource. Ex- Microsoft.Compute/virtualMachines or
416
- * Microsoft.Storage/storageAccounts.
417
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
418
- */
419
- readonly type?: string;
278
+ /** Contains details when the response code indicates an error. */
279
+ export interface ErrorResponse {
280
+ /** The error details. */
281
+ error: ErrorInfo;
420
282
  }
421
283
 
422
- /**
423
- * The resource model definition for a ARM tracked top level resource
424
- */
425
- export interface TrackedResource extends Resource {
426
- /**
427
- * Resource tags.
428
- */
429
- tags?: { [propertyName: string]: string };
430
- /**
431
- * The geo-location where the resource lives
432
- */
433
- location: string;
284
+ /** The code and message for an error. */
285
+ export interface ErrorInfo {
286
+ /** A machine readable error code. */
287
+ code: string;
288
+ /** A human readable error message. */
289
+ message: string;
290
+ /** error details. */
291
+ details?: ErrorDetail[];
292
+ /** Inner error details if they exist. */
293
+ innererror?: string;
434
294
  }
435
295
 
436
- /**
437
- * Information about workspace.
438
- */
439
- export interface Workspace extends TrackedResource {
440
- /**
441
- * The managed resource group Id.
442
- */
443
- managedResourceGroupId: string;
444
- /**
445
- * The workspace's custom parameters.
446
- */
447
- parameters?: WorkspaceCustomParameters;
448
- /**
449
- * The workspace provisioning state. Possible values include: 'Accepted', 'Running', 'Ready',
450
- * 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Updating'
451
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
452
- */
453
- readonly provisioningState?: ProvisioningState;
454
- /**
455
- * The blob URI where the UI definition file is located.
456
- */
457
- uiDefinitionUri?: string;
458
- /**
459
- * The workspace provider authorizations.
460
- */
461
- authorizations?: WorkspaceProviderAuthorization[];
462
- /**
463
- * Indicates the Object ID, PUID and Application ID of entity that created the workspace.
464
- */
465
- createdBy?: CreatedBy;
466
- /**
467
- * Indicates the Object ID, PUID and Application ID of entity that last updated the workspace.
468
- */
469
- updatedBy?: CreatedBy;
470
- /**
471
- * Specifies the date and time when the workspace is created.
472
- */
473
- createdDateTime?: Date;
474
- /**
475
- * The unique identifier of the databricks workspace in databricks control plane.
476
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
477
- */
478
- readonly workspaceId?: string;
479
- /**
480
- * The workspace URL which is of the format 'adb-{workspaceId}.{random}.azuredatabricks.net'
481
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
482
- */
483
- readonly workspaceUrl?: string;
484
- /**
485
- * The details of Managed Identity of Storage Account
486
- */
487
- storageAccountIdentity?: ManagedIdentityConfiguration;
488
- /**
489
- * Encryption properties for databricks workspace
490
- */
491
- encryption?: WorkspacePropertiesEncryption;
492
- /**
493
- * Private endpoint connections created on the workspace
494
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
495
- */
496
- readonly privateEndpointConnections?: PrivateEndpointConnection[];
497
- /**
498
- * The network access type for accessing workspace. Set value to disabled to access workspace
499
- * only via private link. Possible values include: 'Enabled', 'Disabled'
500
- */
501
- publicNetworkAccess?: PublicNetworkAccess;
502
- /**
503
- * Gets or sets a value indicating whether data plane (clusters) to control plane communication
504
- * happen over private endpoint. Supported values are 'AllRules' and 'NoAzureDatabricksRules'.
505
- * 'NoAzureServiceRules' value is for internal use only. Possible values include: 'AllRules',
506
- * 'NoAzureDatabricksRules', 'NoAzureServiceRules'
507
- */
508
- requiredNsgRules?: RequiredNsgRules;
509
- /**
510
- * The SKU of the resource.
511
- */
512
- sku?: Sku;
513
- /**
514
- * The system metadata relating to this resource
515
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
516
- */
517
- readonly systemData?: SystemData;
296
+ /** Error details. */
297
+ export interface ErrorDetail {
298
+ /** The error's code. */
299
+ code: string;
300
+ /** A human readable error message. */
301
+ message: string;
302
+ /** Indicates which property in the request is responsible for the error. */
303
+ target?: string;
518
304
  }
519
305
 
520
- /**
521
- * An update to a workspace.
522
- */
306
+ /** An update to a workspace. */
523
307
  export interface WorkspaceUpdate {
524
- /**
525
- * Resource tags.
526
- */
308
+ /** Resource tags. */
527
309
  tags?: { [propertyName: string]: string };
528
310
  }
529
311
 
530
- /**
531
- * An interface representing ErrorDetail.
532
- * @summary Error details.
533
- */
534
- export interface ErrorDetail {
535
- /**
536
- * The error's code.
537
- */
538
- code: string;
539
- /**
540
- * A human readable error message.
541
- */
542
- message: string;
543
- /**
544
- * Indicates which property in the request is responsible for the error.
545
- */
546
- target?: string;
312
+ /** List of workspaces. */
313
+ export interface WorkspaceListResult {
314
+ /** The array of workspaces. */
315
+ value?: Workspace[];
316
+ /** The URL to use for getting the next set of results. */
317
+ nextLink?: string;
547
318
  }
548
319
 
549
- /**
550
- * An interface representing ErrorInfo.
551
- * @summary The code and message for an error.
552
- */
553
- export interface ErrorInfo {
554
- /**
555
- * A machine readable error code.
556
- */
557
- code: string;
558
- /**
559
- * A human readable error message.
560
- */
561
- message: string;
562
- /**
563
- * error details.
564
- */
565
- details?: ErrorDetail[];
566
- /**
567
- * Inner error details if they exist.
568
- */
569
- innererror?: string;
320
+ /** 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. */
321
+ export interface OperationListResult {
322
+ /** List of Resource Provider operations supported by the Resource Provider resource provider. */
323
+ value?: Operation[];
324
+ /** URL to get the next set of operation list results if there are any. */
325
+ nextLink?: string;
570
326
  }
571
327
 
572
- /**
573
- * Contains details when the response code indicates an error.
574
- * @summary Error response.
575
- */
576
- export interface ErrorResponse {
577
- /**
578
- * The error details.
579
- */
580
- error: ErrorInfo;
328
+ /** REST API operation */
329
+ export interface Operation {
330
+ /** Operation name: {provider}/{resource}/{operation} */
331
+ name?: string;
332
+ /** The object that represents the operation. */
333
+ display?: OperationDisplay;
581
334
  }
582
335
 
583
- /**
584
- * The object that represents the operation.
585
- */
336
+ /** The object that represents the operation. */
586
337
  export interface OperationDisplay {
587
- /**
588
- * Service provider: Microsoft.ResourceProvider
589
- */
338
+ /** Service provider: Microsoft.ResourceProvider */
590
339
  provider?: string;
591
- /**
592
- * Resource on which the operation is performed.
593
- */
340
+ /** Resource on which the operation is performed. */
594
341
  resource?: string;
595
- /**
596
- * Operation type: Read, write, delete, etc.
597
- */
342
+ /** Operation type: Read, write, delete, etc. */
598
343
  operation?: string;
599
344
  }
600
345
 
601
- /**
602
- * REST API operation
603
- */
604
- export interface Operation {
605
- /**
606
- * Operation name: {provider}/{resource}/{operation}
607
- */
608
- name?: string;
609
- /**
610
- * The object that represents the operation.
611
- */
612
- display?: OperationDisplay;
346
+ /** The available private link resources for a workspace */
347
+ export interface PrivateLinkResourcesList {
348
+ /** The list of available private link resources for a workspace */
349
+ value?: GroupIdInformation[];
350
+ /** The URL to get the next set of private link resources. */
351
+ nextLink?: string;
613
352
  }
614
353
 
615
- /**
616
- * The properties for a group information object
617
- */
354
+ /** The properties for a group information object */
618
355
  export interface GroupIdInformationProperties {
619
- /**
620
- * The group id
621
- */
356
+ /** The group id */
622
357
  groupId?: string;
623
- /**
624
- * The required members for a specific group id
625
- */
358
+ /** The required members for a specific group id */
626
359
  requiredMembers?: string[];
627
- /**
628
- * The required DNS zones for a specific group id
629
- */
360
+ /** The required DNS zones for a specific group id */
630
361
  requiredZoneNames?: string[];
631
362
  }
632
363
 
633
- /**
634
- * The group information for creating a private endpoint on a workspace
635
- */
636
- export interface GroupIdInformation extends Resource {
637
- /**
638
- * The group id properties.
639
- */
640
- properties: GroupIdInformationProperties;
364
+ /** List of private link connections. */
365
+ export interface PrivateEndpointConnectionsList {
366
+ /** The list of returned private endpoint connection. */
367
+ value?: PrivateEndpointConnection[];
368
+ /** The URL to get the next set of endpoint connections. */
369
+ nextLink?: string;
641
370
  }
642
371
 
643
- /**
644
- * The remote virtual network should be in the same region. See here to learn more
645
- * (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering).
646
- */
647
- export interface VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork {
648
- /**
649
- * The Id of the databricks virtual network.
650
- */
651
- id?: string;
372
+ /** Egress endpoints which Workspace connects to for common purposes. */
373
+ export interface OutboundEnvironmentEndpoint {
374
+ /** The category of endpoints accessed by the Workspace, e.g. azure-storage, azure-mysql, etc. */
375
+ category?: string;
376
+ /** The endpoints that Workspace connect to */
377
+ endpoints?: EndpointDependency[];
652
378
  }
653
379
 
654
- /**
655
- * AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual
656
- * network.
657
- */
658
- export interface AddressSpace {
659
- /**
660
- * A list of address blocks reserved for this virtual network in CIDR notation.
661
- */
662
- addressPrefixes?: string[];
380
+ /** A domain name or IP address the Workspace is reaching at. */
381
+ export interface EndpointDependency {
382
+ /** The domain name of the dependency. */
383
+ domainName?: string;
384
+ /** The Ports used when connecting to domainName. */
385
+ endpointDetails?: EndpointDetail[];
663
386
  }
664
387
 
665
- /**
666
- * The remote virtual network should be in the same region. See here to learn more
667
- * (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering).
668
- */
669
- export interface VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork {
670
- /**
671
- * The Id of the remote virtual network.
672
- */
673
- id?: string;
388
+ /** Connect information from the Workspace to a single endpoint. */
389
+ export interface EndpointDetail {
390
+ /** An IP Address that Domain Name currently resolves to. */
391
+ ipAddress?: string;
392
+ /** The port an endpoint is connected to. */
393
+ port?: number;
394
+ /** The time in milliseconds it takes for the connection to be created from the Workspace to this IpAddress at this Port. */
395
+ latency?: number;
396
+ /** Whether it is possible to create a connection from the Workspace to this IpAddress at this Port. */
397
+ isAccessible?: boolean;
674
398
  }
675
399
 
676
- /**
677
- * Peerings in a VirtualNetwork resource
678
- */
679
- export interface VirtualNetworkPeering extends BaseResource {
400
+ /** Peerings in a VirtualNetwork resource */
401
+ export interface VirtualNetworkPeering {
680
402
  /**
681
- * Whether the VMs in the local virtual network space would be able to access the VMs in remote
682
- * virtual network space.
403
+ * Name of the virtual network peering resource
404
+ * NOTE: This property will not be serialized. It can only be populated by the server.
683
405
  */
684
- allowVirtualNetworkAccess?: boolean;
406
+ readonly name?: string;
685
407
  /**
686
- * Whether the forwarded traffic from the VMs in the local virtual network will be
687
- * allowed/disallowed in remote virtual network.
408
+ * Resource ID.
409
+ * NOTE: This property will not be serialized. It can only be populated by the server.
688
410
  */
689
- allowForwardedTraffic?: boolean;
411
+ readonly id?: string;
690
412
  /**
691
- * If gateway links can be used in remote virtual networking to link to this virtual network.
413
+ * type of the virtual network peering resource
414
+ * NOTE: This property will not be serialized. It can only be populated by the server.
692
415
  */
416
+ readonly type?: string;
417
+ /** Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space. */
418
+ allowVirtualNetworkAccess?: boolean;
419
+ /** Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network. */
420
+ allowForwardedTraffic?: boolean;
421
+ /** If gateway links can be used in remote virtual networking to link to this virtual network. */
693
422
  allowGatewayTransit?: boolean;
694
- /**
695
- * If remote gateways can be used on this virtual network. If the flag is set to true, and
696
- * allowGatewayTransit on remote peering is also true, virtual network will use gateways of
697
- * remote virtual network for transit. Only one peering can have this flag set to true. This flag
698
- * cannot be set if virtual network already has a gateway.
699
- */
423
+ /** If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway. */
700
424
  useRemoteGateways?: boolean;
701
- /**
702
- * The remote virtual network should be in the same region. See here to learn more
703
- * (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering).
704
- */
425
+ /** The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering). */
705
426
  databricksVirtualNetwork?: VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork;
427
+ /** The reference to the databricks virtual network address space. */
428
+ databricksAddressSpace?: AddressSpace;
429
+ /** The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering). */
430
+ remoteVirtualNetwork: VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork;
431
+ /** The reference to the remote virtual network address space. */
432
+ remoteAddressSpace?: AddressSpace;
706
433
  /**
707
- * The reference to the databricks virtual network address space.
434
+ * The status of the virtual network peering.
435
+ * NOTE: This property will not be serialized. It can only be populated by the server.
708
436
  */
709
- databricksAddressSpace?: AddressSpace;
437
+ readonly peeringState?: PeeringState;
710
438
  /**
711
- * The remote virtual network should be in the same region. See here to learn more
712
- * (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering).
439
+ * The provisioning state of the virtual network peering resource.
440
+ * NOTE: This property will not be serialized. It can only be populated by the server.
713
441
  */
714
- remoteVirtualNetwork: VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork;
442
+ readonly provisioningState?: PeeringProvisioningState;
443
+ }
444
+
445
+ /** The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering). */
446
+ export interface VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork {
447
+ /** The Id of the databricks virtual network. */
448
+ id?: string;
449
+ }
450
+
451
+ /** AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network. */
452
+ export interface AddressSpace {
453
+ /** A list of address blocks reserved for this virtual network in CIDR notation. */
454
+ addressPrefixes?: string[];
455
+ }
456
+
457
+ /** The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering). */
458
+ export interface VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork {
459
+ /** The Id of the remote virtual network. */
460
+ id?: string;
461
+ }
462
+
463
+ /** Gets all virtual network peerings under a workspace. */
464
+ export interface VirtualNetworkPeeringList {
465
+ /** List of virtual network peerings on workspace. */
466
+ value?: VirtualNetworkPeering[];
467
+ /** URL to get the next set of virtual network peering list results if there are any. */
468
+ nextLink?: string;
469
+ }
470
+
471
+ /** The resource model definition for a ARM tracked top level resource */
472
+ export type TrackedResource = Resource & {
473
+ /** Resource tags. */
474
+ tags?: { [propertyName: string]: string };
475
+ /** The geo-location where the resource lives */
476
+ location: string;
477
+ };
478
+
479
+ /** The group information for creating a private endpoint on a workspace */
480
+ export type GroupIdInformation = Resource & {
481
+ /** The group id properties. */
482
+ properties: GroupIdInformationProperties;
483
+ };
484
+
485
+ /** Information about workspace. */
486
+ export type Workspace = TrackedResource & {
487
+ /** The SKU of the resource. */
488
+ sku?: Sku;
715
489
  /**
716
- * The reference to the remote virtual network address space.
490
+ * The system metadata relating to this resource
491
+ * NOTE: This property will not be serialized. It can only be populated by the server.
717
492
  */
718
- remoteAddressSpace?: AddressSpace;
493
+ readonly systemData?: SystemData;
494
+ /** The managed resource group Id. */
495
+ managedResourceGroupId: string;
496
+ /** The workspace's custom parameters. */
497
+ parameters?: WorkspaceCustomParameters;
719
498
  /**
720
- * The status of the virtual network peering. Possible values include: 'Initiated', 'Connected',
721
- * 'Disconnected'
722
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
499
+ * The workspace provisioning state.
500
+ * NOTE: This property will not be serialized. It can only be populated by the server.
723
501
  */
724
- readonly peeringState?: PeeringState;
502
+ readonly provisioningState?: ProvisioningState;
503
+ /** The blob URI where the UI definition file is located. */
504
+ uiDefinitionUri?: string;
505
+ /** The workspace provider authorizations. */
506
+ authorizations?: WorkspaceProviderAuthorization[];
507
+ /** Indicates the Object ID, PUID and Application ID of entity that created the workspace. */
508
+ createdBy?: CreatedBy;
509
+ /** Indicates the Object ID, PUID and Application ID of entity that last updated the workspace. */
510
+ updatedBy?: CreatedBy;
725
511
  /**
726
- * The provisioning state of the virtual network peering resource. Possible values include:
727
- * 'Succeeded', 'Updating', 'Deleting', 'Failed'
728
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
512
+ * Specifies the date and time when the workspace is created.
513
+ * NOTE: This property will not be serialized. It can only be populated by the server.
729
514
  */
730
- readonly provisioningState?: PeeringProvisioningState;
515
+ readonly createdDateTime?: Date;
731
516
  /**
732
- * Name of the virtual network peering resource
733
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
517
+ * The unique identifier of the databricks workspace in databricks control plane.
518
+ * NOTE: This property will not be serialized. It can only be populated by the server.
734
519
  */
735
- readonly name?: string;
520
+ readonly workspaceId?: string;
736
521
  /**
737
- * Resource ID.
738
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
522
+ * The workspace URL which is of the format 'adb-{workspaceId}.{random}.azuredatabricks.net'
523
+ * NOTE: This property will not be serialized. It can only be populated by the server.
739
524
  */
740
- readonly id?: string;
525
+ readonly workspaceUrl?: string;
526
+ /** The details of Managed Identity of Storage Account */
527
+ storageAccountIdentity?: ManagedIdentityConfiguration;
528
+ /** Encryption properties for databricks workspace */
529
+ encryption?: WorkspacePropertiesEncryption;
741
530
  /**
742
- * type of the virtual network peering resource
743
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
531
+ * Private endpoint connections created on the workspace
532
+ * NOTE: This property will not be serialized. It can only be populated by the server.
744
533
  */
745
- readonly type?: string;
534
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
535
+ /** The network access type for accessing workspace. Set value to disabled to access workspace only via private link. */
536
+ publicNetworkAccess?: PublicNetworkAccess;
537
+ /** 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. */
538
+ requiredNsgRules?: RequiredNsgRules;
539
+ };
540
+
541
+ /** Known values of {@link CustomParameterType} that the service accepts. */
542
+ export enum KnownCustomParameterType {
543
+ Bool = "Bool",
544
+ Object = "Object",
545
+ String = "String"
546
+ }
547
+
548
+ /**
549
+ * Defines values for CustomParameterType. \
550
+ * {@link KnownCustomParameterType} can be used interchangeably with CustomParameterType,
551
+ * this enum contains the known values that the service supports.
552
+ * ### Known values supported by the service
553
+ * **Bool** \
554
+ * **Object** \
555
+ * **String**
556
+ */
557
+ export type CustomParameterType = string;
558
+
559
+ /** Known values of {@link KeySource} that the service accepts. */
560
+ export enum KnownKeySource {
561
+ Default = "Default",
562
+ MicrosoftKeyvault = "Microsoft.Keyvault"
746
563
  }
747
564
 
748
565
  /**
749
- * An interface representing AzureDatabricksManagementClientOptions.
566
+ * Defines values for KeySource. \
567
+ * {@link KnownKeySource} can be used interchangeably with KeySource,
568
+ * this enum contains the known values that the service supports.
569
+ * ### Known values supported by the service
570
+ * **Default** \
571
+ * **Microsoft.Keyvault**
750
572
  */
751
- export interface AzureDatabricksManagementClientOptions extends AzureServiceClientOptions {
752
- baseUri?: string;
573
+ export type KeySource = string;
574
+
575
+ /** Known values of {@link ProvisioningState} that the service accepts. */
576
+ export enum KnownProvisioningState {
577
+ Accepted = "Accepted",
578
+ Running = "Running",
579
+ Ready = "Ready",
580
+ Creating = "Creating",
581
+ Created = "Created",
582
+ Deleting = "Deleting",
583
+ Deleted = "Deleted",
584
+ Canceled = "Canceled",
585
+ Failed = "Failed",
586
+ Succeeded = "Succeeded",
587
+ Updating = "Updating"
753
588
  }
754
589
 
755
590
  /**
756
- * @interface
757
- * List of workspaces.
758
- * @extends Array<Workspace>
591
+ * Defines values for ProvisioningState. \
592
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
593
+ * this enum contains the known values that the service supports.
594
+ * ### Known values supported by the service
595
+ * **Accepted** \
596
+ * **Running** \
597
+ * **Ready** \
598
+ * **Creating** \
599
+ * **Created** \
600
+ * **Deleting** \
601
+ * **Deleted** \
602
+ * **Canceled** \
603
+ * **Failed** \
604
+ * **Succeeded** \
605
+ * **Updating**
759
606
  */
760
- export interface WorkspaceListResult extends Array<Workspace> {
761
- /**
762
- * The URL to use for getting the next set of results.
763
- */
764
- nextLink?: string;
607
+ export type ProvisioningState = string;
608
+
609
+ /** Known values of {@link EncryptionKeySource} that the service accepts. */
610
+ export enum KnownEncryptionKeySource {
611
+ MicrosoftKeyvault = "Microsoft.Keyvault"
765
612
  }
766
613
 
767
614
  /**
768
- * @interface
769
- * Result of the request to list Resource Provider operations. It contains a list of operations and
770
- * a URL link to get the next set of results.
771
- * @extends Array<Operation>
615
+ * Defines values for EncryptionKeySource. \
616
+ * {@link KnownEncryptionKeySource} can be used interchangeably with EncryptionKeySource,
617
+ * this enum contains the known values that the service supports.
618
+ * ### Known values supported by the service
619
+ * **Microsoft.Keyvault**
772
620
  */
773
- export interface OperationListResult extends Array<Operation> {
774
- /**
775
- * URL to get the next set of operation list results if there are any.
776
- */
777
- nextLink?: string;
621
+ export type EncryptionKeySource = string;
622
+
623
+ /** Known values of {@link PrivateLinkServiceConnectionStatus} that the service accepts. */
624
+ export enum KnownPrivateLinkServiceConnectionStatus {
625
+ Pending = "Pending",
626
+ Approved = "Approved",
627
+ Rejected = "Rejected",
628
+ Disconnected = "Disconnected"
778
629
  }
779
630
 
780
631
  /**
781
- * @interface
782
- * The available private link resources for a workspace
783
- * @extends Array<GroupIdInformation>
632
+ * Defines values for PrivateLinkServiceConnectionStatus. \
633
+ * {@link KnownPrivateLinkServiceConnectionStatus} can be used interchangeably with PrivateLinkServiceConnectionStatus,
634
+ * this enum contains the known values that the service supports.
635
+ * ### Known values supported by the service
636
+ * **Pending** \
637
+ * **Approved** \
638
+ * **Rejected** \
639
+ * **Disconnected**
784
640
  */
785
- export interface PrivateLinkResourcesList extends Array<GroupIdInformation> {
786
- /**
787
- * The URL to get the next set of private link resources.
788
- */
789
- nextLink?: string;
641
+ export type PrivateLinkServiceConnectionStatus = string;
642
+
643
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
644
+ export enum KnownPrivateEndpointConnectionProvisioningState {
645
+ Succeeded = "Succeeded",
646
+ Creating = "Creating",
647
+ Updating = "Updating",
648
+ Deleting = "Deleting",
649
+ Failed = "Failed"
790
650
  }
791
651
 
792
652
  /**
793
- * @interface
794
- * List of private link connections.
795
- * @extends Array<PrivateEndpointConnection>
653
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
654
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
655
+ * this enum contains the known values that the service supports.
656
+ * ### Known values supported by the service
657
+ * **Succeeded** \
658
+ * **Creating** \
659
+ * **Updating** \
660
+ * **Deleting** \
661
+ * **Failed**
796
662
  */
797
- export interface PrivateEndpointConnectionsList extends Array<PrivateEndpointConnection> {
798
- /**
799
- * The URL to get the next set of endpoint connections.
800
- */
801
- nextLink?: string;
802
- }
663
+ export type PrivateEndpointConnectionProvisioningState = string;
664
+
665
+ /** Known values of {@link PublicNetworkAccess} that the service accepts. */
666
+ export enum KnownPublicNetworkAccess {
667
+ Enabled = "Enabled",
668
+ Disabled = "Disabled"
669
+ }
803
670
 
804
671
  /**
805
- * @interface
806
- * Gets all virtual network peerings under a workspace.
807
- * @extends Array<VirtualNetworkPeering>
808
- */
809
- export interface VirtualNetworkPeeringList extends Array<VirtualNetworkPeering> {
810
- /**
811
- * URL to get the next set of virtual network peering list results if there are any.
812
- */
813
- nextLink?: string;
672
+ * Defines values for PublicNetworkAccess. \
673
+ * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
674
+ * this enum contains the known values that the service supports.
675
+ * ### Known values supported by the service
676
+ * **Enabled** \
677
+ * **Disabled**
678
+ */
679
+ export type PublicNetworkAccess = string;
680
+
681
+ /** Known values of {@link RequiredNsgRules} that the service accepts. */
682
+ export enum KnownRequiredNsgRules {
683
+ AllRules = "AllRules",
684
+ NoAzureDatabricksRules = "NoAzureDatabricksRules",
685
+ NoAzureServiceRules = "NoAzureServiceRules"
814
686
  }
815
687
 
816
688
  /**
817
- * Defines values for CustomParameterType.
818
- * Possible values include: 'Bool', 'Object', 'String'
819
- * @readonly
820
- * @enum {string}
689
+ * Defines values for RequiredNsgRules. \
690
+ * {@link KnownRequiredNsgRules} can be used interchangeably with RequiredNsgRules,
691
+ * this enum contains the known values that the service supports.
692
+ * ### Known values supported by the service
693
+ * **AllRules** \
694
+ * **NoAzureDatabricksRules** \
695
+ * **NoAzureServiceRules**
821
696
  */
822
- export type CustomParameterType = 'Bool' | 'Object' | 'String';
697
+ export type RequiredNsgRules = string;
823
698
 
824
- /**
825
- * Defines values for KeySource.
826
- * Possible values include: 'Default', 'Microsoft.Keyvault'
827
- * @readonly
828
- * @enum {string}
829
- */
830
- export type KeySource = 'Default' | 'Microsoft.Keyvault';
699
+ /** Known values of {@link CreatedByType} that the service accepts. */
700
+ export enum KnownCreatedByType {
701
+ User = "User",
702
+ Application = "Application",
703
+ ManagedIdentity = "ManagedIdentity",
704
+ Key = "Key"
705
+ }
831
706
 
832
707
  /**
833
- * Defines values for ProvisioningState.
834
- * Possible values include: 'Accepted', 'Running', 'Ready', 'Creating', 'Created', 'Deleting',
835
- * 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Updating'
836
- * @readonly
837
- * @enum {string}
708
+ * Defines values for CreatedByType. \
709
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
710
+ * this enum contains the known values that the service supports.
711
+ * ### Known values supported by the service
712
+ * **User** \
713
+ * **Application** \
714
+ * **ManagedIdentity** \
715
+ * **Key**
838
716
  */
839
- export type ProvisioningState = 'Accepted' | 'Running' | 'Ready' | 'Creating' | 'Created' | 'Deleting' | 'Deleted' | 'Canceled' | 'Failed' | 'Succeeded' | 'Updating';
717
+ export type CreatedByType = string;
840
718
 
841
- /**
842
- * Defines values for PrivateLinkServiceConnectionStatus.
843
- * Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'
844
- * @readonly
845
- * @enum {string}
846
- */
847
- export type PrivateLinkServiceConnectionStatus = 'Pending' | 'Approved' | 'Rejected' | 'Disconnected';
719
+ /** Known values of {@link PeeringState} that the service accepts. */
720
+ export enum KnownPeeringState {
721
+ Initiated = "Initiated",
722
+ Connected = "Connected",
723
+ Disconnected = "Disconnected"
724
+ }
848
725
 
849
726
  /**
850
- * Defines values for PrivateEndpointConnectionProvisioningState.
851
- * Possible values include: 'Succeeded', 'Creating', 'Updating', 'Deleting', 'Failed'
852
- * @readonly
853
- * @enum {string}
727
+ * Defines values for PeeringState. \
728
+ * {@link KnownPeeringState} can be used interchangeably with PeeringState,
729
+ * this enum contains the known values that the service supports.
730
+ * ### Known values supported by the service
731
+ * **Initiated** \
732
+ * **Connected** \
733
+ * **Disconnected**
854
734
  */
855
- export type PrivateEndpointConnectionProvisioningState = 'Succeeded' | 'Creating' | 'Updating' | 'Deleting' | 'Failed';
735
+ export type PeeringState = string;
856
736
 
857
- /**
858
- * Defines values for PublicNetworkAccess.
859
- * Possible values include: 'Enabled', 'Disabled'
860
- * @readonly
861
- * @enum {string}
862
- */
863
- export type PublicNetworkAccess = 'Enabled' | 'Disabled';
737
+ /** Known values of {@link PeeringProvisioningState} that the service accepts. */
738
+ export enum KnownPeeringProvisioningState {
739
+ Succeeded = "Succeeded",
740
+ Updating = "Updating",
741
+ Deleting = "Deleting",
742
+ Failed = "Failed"
743
+ }
864
744
 
865
745
  /**
866
- * Defines values for RequiredNsgRules.
867
- * Possible values include: 'AllRules', 'NoAzureDatabricksRules', 'NoAzureServiceRules'
868
- * @readonly
869
- * @enum {string}
746
+ * Defines values for PeeringProvisioningState. \
747
+ * {@link KnownPeeringProvisioningState} can be used interchangeably with PeeringProvisioningState,
748
+ * this enum contains the known values that the service supports.
749
+ * ### Known values supported by the service
750
+ * **Succeeded** \
751
+ * **Updating** \
752
+ * **Deleting** \
753
+ * **Failed**
870
754
  */
871
- export type RequiredNsgRules = 'AllRules' | 'NoAzureDatabricksRules' | 'NoAzureServiceRules';
755
+ export type PeeringProvisioningState = string;
872
756
 
873
- /**
874
- * Defines values for CreatedByType.
875
- * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
876
- * @readonly
877
- * @enum {string}
878
- */
879
- export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key';
757
+ /** Optional parameters. */
758
+ export interface WorkspacesGetOptionalParams
759
+ extends coreClient.OperationOptions {}
880
760
 
881
- /**
882
- * Defines values for PeeringProvisioningState.
883
- * Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
884
- * @readonly
885
- * @enum {string}
886
- */
887
- export type PeeringProvisioningState = 'Succeeded' | 'Updating' | 'Deleting' | 'Failed';
761
+ /** Contains response data for the get operation. */
762
+ export type WorkspacesGetResponse = Workspace;
888
763
 
889
- /**
890
- * Defines values for PeeringState.
891
- * Possible values include: 'Initiated', 'Connected', 'Disconnected'
892
- * @readonly
893
- * @enum {string}
894
- */
895
- export type PeeringState = 'Initiated' | 'Connected' | 'Disconnected';
764
+ /** Optional parameters. */
765
+ export interface WorkspacesDeleteOptionalParams
766
+ extends coreClient.OperationOptions {
767
+ /** Delay to wait until next poll, in milliseconds. */
768
+ updateIntervalInMs?: number;
769
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
770
+ resumeFrom?: string;
771
+ }
896
772
 
897
- /**
898
- * Contains response data for the get operation.
899
- */
900
- export type WorkspacesGetResponse = Workspace & {
901
- /**
902
- * The underlying HTTP response.
903
- */
904
- _response: msRest.HttpResponse & {
905
- /**
906
- * The response body as text (string format)
907
- */
908
- bodyAsText: string;
909
-
910
- /**
911
- * The response body as parsed JSON or XML
912
- */
913
- parsedBody: Workspace;
914
- };
915
- };
773
+ /** Optional parameters. */
774
+ export interface WorkspacesCreateOrUpdateOptionalParams
775
+ extends coreClient.OperationOptions {
776
+ /** Delay to wait until next poll, in milliseconds. */
777
+ updateIntervalInMs?: number;
778
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
779
+ resumeFrom?: string;
780
+ }
916
781
 
917
- /**
918
- * Contains response data for the createOrUpdate operation.
919
- */
920
- export type WorkspacesCreateOrUpdateResponse = Workspace & {
921
- /**
922
- * The underlying HTTP response.
923
- */
924
- _response: msRest.HttpResponse & {
925
- /**
926
- * The response body as text (string format)
927
- */
928
- bodyAsText: string;
929
-
930
- /**
931
- * The response body as parsed JSON or XML
932
- */
933
- parsedBody: Workspace;
934
- };
935
- };
782
+ /** Contains response data for the createOrUpdate operation. */
783
+ export type WorkspacesCreateOrUpdateResponse = Workspace;
936
784
 
937
- /**
938
- * Contains response data for the update operation.
939
- */
940
- export type WorkspacesUpdateResponse = Workspace & {
941
- /**
942
- * The underlying HTTP response.
943
- */
944
- _response: msRest.HttpResponse & {
945
- /**
946
- * The response body as text (string format)
947
- */
948
- bodyAsText: string;
949
-
950
- /**
951
- * The response body as parsed JSON or XML
952
- */
953
- parsedBody: Workspace;
954
- };
955
- };
785
+ /** Optional parameters. */
786
+ export interface WorkspacesUpdateOptionalParams
787
+ extends coreClient.OperationOptions {
788
+ /** Delay to wait until next poll, in milliseconds. */
789
+ updateIntervalInMs?: number;
790
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
791
+ resumeFrom?: string;
792
+ }
956
793
 
957
- /**
958
- * Contains response data for the listByResourceGroup operation.
959
- */
960
- export type WorkspacesListByResourceGroupResponse = WorkspaceListResult & {
961
- /**
962
- * The underlying HTTP response.
963
- */
964
- _response: msRest.HttpResponse & {
965
- /**
966
- * The response body as text (string format)
967
- */
968
- bodyAsText: string;
969
-
970
- /**
971
- * The response body as parsed JSON or XML
972
- */
973
- parsedBody: WorkspaceListResult;
974
- };
975
- };
794
+ /** Contains response data for the update operation. */
795
+ export type WorkspacesUpdateResponse = Workspace;
976
796
 
977
- /**
978
- * Contains response data for the listBySubscription operation.
979
- */
980
- export type WorkspacesListBySubscriptionResponse = WorkspaceListResult & {
981
- /**
982
- * The underlying HTTP response.
983
- */
984
- _response: msRest.HttpResponse & {
985
- /**
986
- * The response body as text (string format)
987
- */
988
- bodyAsText: string;
989
-
990
- /**
991
- * The response body as parsed JSON or XML
992
- */
993
- parsedBody: WorkspaceListResult;
994
- };
995
- };
797
+ /** Optional parameters. */
798
+ export interface WorkspacesListByResourceGroupOptionalParams
799
+ extends coreClient.OperationOptions {}
996
800
 
997
- /**
998
- * Contains response data for the beginCreateOrUpdate operation.
999
- */
1000
- export type WorkspacesBeginCreateOrUpdateResponse = Workspace & {
1001
- /**
1002
- * The underlying HTTP response.
1003
- */
1004
- _response: msRest.HttpResponse & {
1005
- /**
1006
- * The response body as text (string format)
1007
- */
1008
- bodyAsText: string;
1009
-
1010
- /**
1011
- * The response body as parsed JSON or XML
1012
- */
1013
- parsedBody: Workspace;
1014
- };
1015
- };
801
+ /** Contains response data for the listByResourceGroup operation. */
802
+ export type WorkspacesListByResourceGroupResponse = WorkspaceListResult;
1016
803
 
1017
- /**
1018
- * Contains response data for the beginUpdate operation.
1019
- */
1020
- export type WorkspacesBeginUpdateResponse = Workspace & {
1021
- /**
1022
- * The underlying HTTP response.
1023
- */
1024
- _response: msRest.HttpResponse & {
1025
- /**
1026
- * The response body as text (string format)
1027
- */
1028
- bodyAsText: string;
1029
-
1030
- /**
1031
- * The response body as parsed JSON or XML
1032
- */
1033
- parsedBody: Workspace;
1034
- };
1035
- };
804
+ /** Optional parameters. */
805
+ export interface WorkspacesListBySubscriptionOptionalParams
806
+ extends coreClient.OperationOptions {}
1036
807
 
1037
- /**
1038
- * Contains response data for the listByResourceGroupNext operation.
1039
- */
1040
- export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult & {
1041
- /**
1042
- * The underlying HTTP response.
1043
- */
1044
- _response: msRest.HttpResponse & {
1045
- /**
1046
- * The response body as text (string format)
1047
- */
1048
- bodyAsText: string;
1049
-
1050
- /**
1051
- * The response body as parsed JSON or XML
1052
- */
1053
- parsedBody: WorkspaceListResult;
1054
- };
1055
- };
808
+ /** Contains response data for the listBySubscription operation. */
809
+ export type WorkspacesListBySubscriptionResponse = WorkspaceListResult;
1056
810
 
1057
- /**
1058
- * Contains response data for the listBySubscriptionNext operation.
1059
- */
1060
- export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult & {
1061
- /**
1062
- * The underlying HTTP response.
1063
- */
1064
- _response: msRest.HttpResponse & {
1065
- /**
1066
- * The response body as text (string format)
1067
- */
1068
- bodyAsText: string;
1069
-
1070
- /**
1071
- * The response body as parsed JSON or XML
1072
- */
1073
- parsedBody: WorkspaceListResult;
1074
- };
1075
- };
811
+ /** Optional parameters. */
812
+ export interface WorkspacesListByResourceGroupNextOptionalParams
813
+ extends coreClient.OperationOptions {}
1076
814
 
1077
- /**
1078
- * Contains response data for the list operation.
1079
- */
1080
- export type OperationsListResponse = OperationListResult & {
1081
- /**
1082
- * The underlying HTTP response.
1083
- */
1084
- _response: msRest.HttpResponse & {
1085
- /**
1086
- * The response body as text (string format)
1087
- */
1088
- bodyAsText: string;
1089
-
1090
- /**
1091
- * The response body as parsed JSON or XML
1092
- */
1093
- parsedBody: OperationListResult;
1094
- };
1095
- };
815
+ /** Contains response data for the listByResourceGroupNext operation. */
816
+ export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult;
1096
817
 
1097
- /**
1098
- * Contains response data for the listNext operation.
1099
- */
1100
- export type OperationsListNextResponse = OperationListResult & {
1101
- /**
1102
- * The underlying HTTP response.
1103
- */
1104
- _response: msRest.HttpResponse & {
1105
- /**
1106
- * The response body as text (string format)
1107
- */
1108
- bodyAsText: string;
1109
-
1110
- /**
1111
- * The response body as parsed JSON or XML
1112
- */
1113
- parsedBody: OperationListResult;
1114
- };
1115
- };
818
+ /** Optional parameters. */
819
+ export interface WorkspacesListBySubscriptionNextOptionalParams
820
+ extends coreClient.OperationOptions {}
1116
821
 
1117
- /**
1118
- * Contains response data for the list operation.
1119
- */
1120
- export type PrivateLinkResourcesListResponse = PrivateLinkResourcesList & {
1121
- /**
1122
- * The underlying HTTP response.
1123
- */
1124
- _response: msRest.HttpResponse & {
1125
- /**
1126
- * The response body as text (string format)
1127
- */
1128
- bodyAsText: string;
1129
-
1130
- /**
1131
- * The response body as parsed JSON or XML
1132
- */
1133
- parsedBody: PrivateLinkResourcesList;
1134
- };
1135
- };
822
+ /** Contains response data for the listBySubscriptionNext operation. */
823
+ export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult;
1136
824
 
1137
- /**
1138
- * Contains response data for the get operation.
1139
- */
1140
- export type PrivateLinkResourcesGetResponse = GroupIdInformation & {
1141
- /**
1142
- * The underlying HTTP response.
1143
- */
1144
- _response: msRest.HttpResponse & {
1145
- /**
1146
- * The response body as text (string format)
1147
- */
1148
- bodyAsText: string;
1149
-
1150
- /**
1151
- * The response body as parsed JSON or XML
1152
- */
1153
- parsedBody: GroupIdInformation;
1154
- };
1155
- };
825
+ /** Optional parameters. */
826
+ export interface OperationsListOptionalParams
827
+ extends coreClient.OperationOptions {}
1156
828
 
1157
- /**
1158
- * Contains response data for the listNext operation.
1159
- */
1160
- export type PrivateLinkResourcesListNextResponse = PrivateLinkResourcesList & {
1161
- /**
1162
- * The underlying HTTP response.
1163
- */
1164
- _response: msRest.HttpResponse & {
1165
- /**
1166
- * The response body as text (string format)
1167
- */
1168
- bodyAsText: string;
1169
-
1170
- /**
1171
- * The response body as parsed JSON or XML
1172
- */
1173
- parsedBody: PrivateLinkResourcesList;
1174
- };
1175
- };
829
+ /** Contains response data for the list operation. */
830
+ export type OperationsListResponse = OperationListResult;
1176
831
 
1177
- /**
1178
- * Contains response data for the list operation.
1179
- */
1180
- export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionsList & {
1181
- /**
1182
- * The underlying HTTP response.
1183
- */
1184
- _response: msRest.HttpResponse & {
1185
- /**
1186
- * The response body as text (string format)
1187
- */
1188
- bodyAsText: string;
1189
-
1190
- /**
1191
- * The response body as parsed JSON or XML
1192
- */
1193
- parsedBody: PrivateEndpointConnectionsList;
1194
- };
1195
- };
832
+ /** Optional parameters. */
833
+ export interface OperationsListNextOptionalParams
834
+ extends coreClient.OperationOptions {}
1196
835
 
1197
- /**
1198
- * Contains response data for the get operation.
1199
- */
1200
- export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & {
1201
- /**
1202
- * The underlying HTTP response.
1203
- */
1204
- _response: msRest.HttpResponse & {
1205
- /**
1206
- * The response body as text (string format)
1207
- */
1208
- bodyAsText: string;
1209
-
1210
- /**
1211
- * The response body as parsed JSON or XML
1212
- */
1213
- parsedBody: PrivateEndpointConnection;
1214
- };
1215
- };
836
+ /** Contains response data for the listNext operation. */
837
+ export type OperationsListNextResponse = OperationListResult;
1216
838
 
1217
- /**
1218
- * Contains response data for the create operation.
1219
- */
1220
- export type PrivateEndpointConnectionsCreateResponse = PrivateEndpointConnection & {
1221
- /**
1222
- * The underlying HTTP response.
1223
- */
1224
- _response: msRest.HttpResponse & {
1225
- /**
1226
- * The response body as text (string format)
1227
- */
1228
- bodyAsText: string;
1229
-
1230
- /**
1231
- * The response body as parsed JSON or XML
1232
- */
1233
- parsedBody: PrivateEndpointConnection;
1234
- };
1235
- };
839
+ /** Optional parameters. */
840
+ export interface PrivateLinkResourcesListOptionalParams
841
+ extends coreClient.OperationOptions {}
1236
842
 
1237
- /**
1238
- * Contains response data for the beginCreate operation.
1239
- */
1240
- export type PrivateEndpointConnectionsBeginCreateResponse = PrivateEndpointConnection & {
1241
- /**
1242
- * The underlying HTTP response.
1243
- */
1244
- _response: msRest.HttpResponse & {
1245
- /**
1246
- * The response body as text (string format)
1247
- */
1248
- bodyAsText: string;
1249
-
1250
- /**
1251
- * The response body as parsed JSON or XML
1252
- */
1253
- parsedBody: PrivateEndpointConnection;
1254
- };
1255
- };
843
+ /** Contains response data for the list operation. */
844
+ export type PrivateLinkResourcesListResponse = PrivateLinkResourcesList;
1256
845
 
1257
- /**
1258
- * Contains response data for the listNext operation.
1259
- */
1260
- export type PrivateEndpointConnectionsListNextResponse = PrivateEndpointConnectionsList & {
1261
- /**
1262
- * The underlying HTTP response.
1263
- */
1264
- _response: msRest.HttpResponse & {
1265
- /**
1266
- * The response body as text (string format)
1267
- */
1268
- bodyAsText: string;
1269
-
1270
- /**
1271
- * The response body as parsed JSON or XML
1272
- */
1273
- parsedBody: PrivateEndpointConnectionsList;
1274
- };
1275
- };
846
+ /** Optional parameters. */
847
+ export interface PrivateLinkResourcesGetOptionalParams
848
+ extends coreClient.OperationOptions {}
1276
849
 
1277
- /**
1278
- * Contains response data for the get operation.
1279
- */
1280
- export type VNetPeeringGetResponse = VirtualNetworkPeering & {
1281
- /**
1282
- * The underlying HTTP response.
1283
- */
1284
- _response: msRest.HttpResponse & {
1285
- /**
1286
- * The response body as text (string format)
1287
- */
1288
- bodyAsText: string;
1289
-
1290
- /**
1291
- * The response body as parsed JSON or XML
1292
- */
1293
- parsedBody: VirtualNetworkPeering;
1294
- };
1295
- };
850
+ /** Contains response data for the get operation. */
851
+ export type PrivateLinkResourcesGetResponse = GroupIdInformation;
1296
852
 
1297
- /**
1298
- * Contains response data for the createOrUpdate operation.
1299
- */
1300
- export type VNetPeeringCreateOrUpdateResponse = VirtualNetworkPeering & {
1301
- /**
1302
- * The underlying HTTP response.
1303
- */
1304
- _response: msRest.HttpResponse & {
1305
- /**
1306
- * The response body as text (string format)
1307
- */
1308
- bodyAsText: string;
1309
-
1310
- /**
1311
- * The response body as parsed JSON or XML
1312
- */
1313
- parsedBody: VirtualNetworkPeering;
1314
- };
1315
- };
853
+ /** Optional parameters. */
854
+ export interface PrivateLinkResourcesListNextOptionalParams
855
+ extends coreClient.OperationOptions {}
1316
856
 
1317
- /**
1318
- * Contains response data for the listByWorkspace operation.
1319
- */
1320
- export type VNetPeeringListByWorkspaceResponse = VirtualNetworkPeeringList & {
1321
- /**
1322
- * The underlying HTTP response.
1323
- */
1324
- _response: msRest.HttpResponse & {
1325
- /**
1326
- * The response body as text (string format)
1327
- */
1328
- bodyAsText: string;
1329
-
1330
- /**
1331
- * The response body as parsed JSON or XML
1332
- */
1333
- parsedBody: VirtualNetworkPeeringList;
1334
- };
1335
- };
857
+ /** Contains response data for the listNext operation. */
858
+ export type PrivateLinkResourcesListNextResponse = PrivateLinkResourcesList;
1336
859
 
1337
- /**
1338
- * Contains response data for the beginCreateOrUpdate operation.
1339
- */
1340
- export type VNetPeeringBeginCreateOrUpdateResponse = VirtualNetworkPeering & {
1341
- /**
1342
- * The underlying HTTP response.
1343
- */
1344
- _response: msRest.HttpResponse & {
1345
- /**
1346
- * The response body as text (string format)
1347
- */
1348
- bodyAsText: string;
1349
-
1350
- /**
1351
- * The response body as parsed JSON or XML
1352
- */
1353
- parsedBody: VirtualNetworkPeering;
1354
- };
1355
- };
860
+ /** Optional parameters. */
861
+ export interface PrivateEndpointConnectionsListOptionalParams
862
+ extends coreClient.OperationOptions {}
1356
863
 
1357
- /**
1358
- * Contains response data for the listByWorkspaceNext operation.
1359
- */
1360
- export type VNetPeeringListByWorkspaceNextResponse = VirtualNetworkPeeringList & {
1361
- /**
1362
- * The underlying HTTP response.
1363
- */
1364
- _response: msRest.HttpResponse & {
1365
- /**
1366
- * The response body as text (string format)
1367
- */
1368
- bodyAsText: string;
1369
-
1370
- /**
1371
- * The response body as parsed JSON or XML
1372
- */
1373
- parsedBody: VirtualNetworkPeeringList;
1374
- };
1375
- };
864
+ /** Contains response data for the list operation. */
865
+ export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionsList;
866
+
867
+ /** Optional parameters. */
868
+ export interface PrivateEndpointConnectionsGetOptionalParams
869
+ extends coreClient.OperationOptions {}
870
+
871
+ /** Contains response data for the get operation. */
872
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
873
+
874
+ /** Optional parameters. */
875
+ export interface PrivateEndpointConnectionsCreateOptionalParams
876
+ extends coreClient.OperationOptions {
877
+ /** Delay to wait until next poll, in milliseconds. */
878
+ updateIntervalInMs?: number;
879
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
880
+ resumeFrom?: string;
881
+ }
882
+
883
+ /** Contains response data for the create operation. */
884
+ export type PrivateEndpointConnectionsCreateResponse = PrivateEndpointConnection;
885
+
886
+ /** Optional parameters. */
887
+ export interface PrivateEndpointConnectionsDeleteOptionalParams
888
+ extends coreClient.OperationOptions {
889
+ /** Delay to wait until next poll, in milliseconds. */
890
+ updateIntervalInMs?: number;
891
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
892
+ resumeFrom?: string;
893
+ }
894
+
895
+ /** Optional parameters. */
896
+ export interface PrivateEndpointConnectionsListNextOptionalParams
897
+ extends coreClient.OperationOptions {}
898
+
899
+ /** Contains response data for the listNext operation. */
900
+ export type PrivateEndpointConnectionsListNextResponse = PrivateEndpointConnectionsList;
901
+
902
+ /** Optional parameters. */
903
+ export interface OutboundNetworkDependenciesEndpointsListOptionalParams
904
+ extends coreClient.OperationOptions {}
905
+
906
+ /** Contains response data for the list operation. */
907
+ export type OutboundNetworkDependenciesEndpointsListResponse = OutboundEnvironmentEndpoint[];
908
+
909
+ /** Optional parameters. */
910
+ export interface VNetPeeringGetOptionalParams
911
+ extends coreClient.OperationOptions {}
912
+
913
+ /** Contains response data for the get operation. */
914
+ export type VNetPeeringGetResponse = VirtualNetworkPeering;
915
+
916
+ /** Optional parameters. */
917
+ export interface VNetPeeringDeleteOptionalParams
918
+ extends coreClient.OperationOptions {
919
+ /** Delay to wait until next poll, in milliseconds. */
920
+ updateIntervalInMs?: number;
921
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
922
+ resumeFrom?: string;
923
+ }
924
+
925
+ /** Optional parameters. */
926
+ export interface VNetPeeringCreateOrUpdateOptionalParams
927
+ extends coreClient.OperationOptions {
928
+ /** Delay to wait until next poll, in milliseconds. */
929
+ updateIntervalInMs?: number;
930
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
931
+ resumeFrom?: string;
932
+ }
933
+
934
+ /** Contains response data for the createOrUpdate operation. */
935
+ export type VNetPeeringCreateOrUpdateResponse = VirtualNetworkPeering;
936
+
937
+ /** Optional parameters. */
938
+ export interface VNetPeeringListByWorkspaceOptionalParams
939
+ extends coreClient.OperationOptions {}
940
+
941
+ /** Contains response data for the listByWorkspace operation. */
942
+ export type VNetPeeringListByWorkspaceResponse = VirtualNetworkPeeringList;
943
+
944
+ /** Optional parameters. */
945
+ export interface VNetPeeringListByWorkspaceNextOptionalParams
946
+ extends coreClient.OperationOptions {}
947
+
948
+ /** Contains response data for the listByWorkspaceNext operation. */
949
+ export type VNetPeeringListByWorkspaceNextResponse = VirtualNetworkPeeringList;
950
+
951
+ /** Optional parameters. */
952
+ export interface AzureDatabricksManagementClientOptionalParams
953
+ extends coreClient.ServiceClientOptions {
954
+ /** server parameter */
955
+ $host?: string;
956
+ /** Api Version */
957
+ apiVersion?: string;
958
+ /** Overrides client endpoint. */
959
+ endpoint?: string;
960
+ }