@azure/arm-databricks 3.0.0-alpha.20231107.1 → 3.0.0-alpha.20231121.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.
- package/CHANGELOG.md +3 -13
- package/LICENSE +1 -1
- package/README.md +2 -2
- package/dist/index.js +1031 -215
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/accessConnectorsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessConnectorsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessConnectorsCreateOrUpdateSample.js +58 -0
- package/dist-esm/samples-dev/accessConnectorsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/accessConnectorsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessConnectorsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessConnectorsDeleteSample.js +38 -0
- package/dist-esm/samples-dev/accessConnectorsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/accessConnectorsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessConnectorsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessConnectorsGetSample.js +38 -0
- package/dist-esm/samples-dev/accessConnectorsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/accessConnectorsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessConnectorsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessConnectorsListByResourceGroupSample.js +53 -0
- package/dist-esm/samples-dev/accessConnectorsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/accessConnectorsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessConnectorsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessConnectorsListBySubscriptionSample.js +52 -0
- package/dist-esm/samples-dev/accessConnectorsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/accessConnectorsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessConnectorsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessConnectorsUpdateSample.js +39 -0
- package/dist-esm/samples-dev/accessConnectorsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +11 -3
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/outboundNetworkDependenciesEndpointsListSample.js +12 -4
- package/dist-esm/samples-dev/outboundNetworkDependenciesEndpointsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js +12 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +12 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +12 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +12 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +12 -4
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListSample.js +12 -4
- package/dist-esm/samples-dev/privateLinkResourcesListSample.js.map +1 -1
- package/dist-esm/samples-dev/vNetPeeringCreateOrUpdateSample.js +11 -4
- package/dist-esm/samples-dev/vNetPeeringCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/vNetPeeringDeleteSample.js +11 -4
- package/dist-esm/samples-dev/vNetPeeringDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/vNetPeeringGetSample.js +11 -4
- package/dist-esm/samples-dev/vNetPeeringGetSample.js.map +1 -1
- package/dist-esm/samples-dev/vNetPeeringListByWorkspaceSample.js +11 -4
- package/dist-esm/samples-dev/vNetPeeringListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +98 -20
- package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/workspacesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesGetSample.js +33 -8
- package/dist-esm/samples-dev/workspacesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +11 -4
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +10 -3
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesUpdateSample.js +11 -4
- package/dist-esm/samples-dev/workspacesUpdateSample.js.map +1 -1
- package/dist-esm/src/azureDatabricksManagementClient.d.ts +2 -4
- package/dist-esm/src/azureDatabricksManagementClient.d.ts.map +1 -1
- package/dist-esm/src/azureDatabricksManagementClient.js +3 -32
- package/dist-esm/src/azureDatabricksManagementClient.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +172 -4
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +12 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +8 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +243 -2
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +4 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +35 -2
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/accessConnectors.d.ts +107 -0
- package/dist-esm/src/operations/accessConnectors.d.ts.map +1 -0
- package/dist-esm/src/operations/accessConnectors.js +543 -0
- package/dist-esm/src/operations/accessConnectors.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/operations.js +0 -1
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +29 -22
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js +0 -1
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/vNetPeering.d.ts +3 -3
- package/dist-esm/src/operations/vNetPeering.d.ts.map +1 -1
- package/dist-esm/src/operations/vNetPeering.js +24 -17
- package/dist-esm/src/operations/vNetPeering.js.map +1 -1
- package/dist-esm/src/operations/workspaces.d.ts +4 -4
- package/dist-esm/src/operations/workspaces.d.ts.map +1 -1
- package/dist-esm/src/operations/workspaces.js +26 -16
- package/dist-esm/src/operations/workspaces.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/accessConnectors.d.ts +71 -0
- package/dist-esm/src/operationsInterfaces/accessConnectors.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/accessConnectors.js +9 -0
- package/dist-esm/src/operationsInterfaces/accessConnectors.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/vNetPeering.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/vNetPeering.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +4 -4
- package/dist-esm/src/pagingHelper.js +4 -4
- package/package.json +12 -9
- package/review/arm-databricks.api.md +155 -12
- package/src/azureDatabricksManagementClient.ts +7 -39
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +196 -4
- package/src/models/mappers.ts +258 -2
- package/src/models/parameters.ts +41 -2
- package/src/operations/accessConnectors.ts +717 -0
- package/src/operations/index.ts +1 -0
- package/src/operations/operations.ts +0 -1
- package/src/operations/privateEndpointConnections.ts +28 -22
- package/src/operations/privateLinkResources.ts +0 -1
- package/src/operations/vNetPeering.ts +28 -22
- package/src/operations/workspaces.ts +41 -33
- package/src/operationsInterfaces/accessConnectors.ts +139 -0
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +4 -4
- package/src/operationsInterfaces/vNetPeering.ts +4 -4
- package/src/operationsInterfaces/workspaces.ts +6 -6
- package/src/pagingHelper.ts +4 -4
- package/types/arm-databricks.d.ts +279 -20
- package/types/tsdoc-metadata.json +1 -1
package/src/models/index.ts
CHANGED
|
@@ -159,6 +159,8 @@ export interface WorkspacePropertiesEncryption {
|
|
|
159
159
|
export interface EncryptionEntitiesDefinition {
|
|
160
160
|
/** Encryption properties for the databricks managed services. */
|
|
161
161
|
managedServices?: EncryptionV2;
|
|
162
|
+
/** Encryption properties for the databricks managed disks. */
|
|
163
|
+
managedDisk?: ManagedDiskEncryption;
|
|
162
164
|
}
|
|
163
165
|
|
|
164
166
|
/** The object that contains details of encryption used on the workspace. */
|
|
@@ -179,6 +181,26 @@ export interface EncryptionV2KeyVaultProperties {
|
|
|
179
181
|
keyVersion: string;
|
|
180
182
|
}
|
|
181
183
|
|
|
184
|
+
/** The object that contains details of encryption used on the workspace. */
|
|
185
|
+
export interface ManagedDiskEncryption {
|
|
186
|
+
/** The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Keyvault */
|
|
187
|
+
keySource: EncryptionKeySource;
|
|
188
|
+
/** Key Vault input properties for encryption. */
|
|
189
|
+
keyVaultProperties: ManagedDiskEncryptionKeyVaultProperties;
|
|
190
|
+
/** Indicate whether the latest key version should be automatically used for Managed Disk Encryption. */
|
|
191
|
+
rotationToLatestKeyVersionEnabled?: boolean;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/** Key Vault input properties for encryption. */
|
|
195
|
+
export interface ManagedDiskEncryptionKeyVaultProperties {
|
|
196
|
+
/** The URI of KeyVault. */
|
|
197
|
+
keyVaultUri: string;
|
|
198
|
+
/** The name of KeyVault key. */
|
|
199
|
+
keyName: string;
|
|
200
|
+
/** The version of KeyVault key. */
|
|
201
|
+
keyVersion: string;
|
|
202
|
+
}
|
|
203
|
+
|
|
182
204
|
/** The private endpoint connection of a workspace */
|
|
183
205
|
export interface PrivateEndpointConnection {
|
|
184
206
|
/**
|
|
@@ -204,6 +226,8 @@ export interface PrivateEndpointConnection {
|
|
|
204
226
|
export interface PrivateEndpointConnectionProperties {
|
|
205
227
|
/** Private endpoint */
|
|
206
228
|
privateEndpoint?: PrivateEndpoint;
|
|
229
|
+
/** GroupIds from the private link service resource. */
|
|
230
|
+
groupIds?: string[];
|
|
207
231
|
/** Private endpoint connection state */
|
|
208
232
|
privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
|
|
209
233
|
/**
|
|
@@ -229,7 +253,7 @@ export interface PrivateLinkServiceConnectionState {
|
|
|
229
253
|
/** The description for the current state of a private endpoint connection */
|
|
230
254
|
description?: string;
|
|
231
255
|
/** Actions required for a private endpoint connection */
|
|
232
|
-
|
|
256
|
+
actionsRequired?: string;
|
|
233
257
|
}
|
|
234
258
|
|
|
235
259
|
/** SKU for the resource. */
|
|
@@ -335,12 +359,14 @@ export interface Operation {
|
|
|
335
359
|
|
|
336
360
|
/** The object that represents the operation. */
|
|
337
361
|
export interface OperationDisplay {
|
|
338
|
-
/** Service provider: Microsoft.
|
|
362
|
+
/** Service provider: ex Microsoft.Databricks */
|
|
339
363
|
provider?: string;
|
|
340
364
|
/** Resource on which the operation is performed. */
|
|
341
365
|
resource?: string;
|
|
342
366
|
/** Operation type: Read, write, delete, etc. */
|
|
343
367
|
operation?: string;
|
|
368
|
+
/** Description for the resource operation. */
|
|
369
|
+
description?: string;
|
|
344
370
|
}
|
|
345
371
|
|
|
346
372
|
/** The available private link resources for a workspace */
|
|
@@ -468,6 +494,62 @@ export interface VirtualNetworkPeeringList {
|
|
|
468
494
|
nextLink?: string;
|
|
469
495
|
}
|
|
470
496
|
|
|
497
|
+
/** Managed service identity (system assigned and/or user assigned identities) */
|
|
498
|
+
export interface ManagedServiceIdentity {
|
|
499
|
+
/**
|
|
500
|
+
* The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
|
|
501
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
502
|
+
*/
|
|
503
|
+
readonly principalId?: string;
|
|
504
|
+
/**
|
|
505
|
+
* The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
|
|
506
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
507
|
+
*/
|
|
508
|
+
readonly tenantId?: string;
|
|
509
|
+
/** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
|
|
510
|
+
type: ManagedServiceIdentityType;
|
|
511
|
+
/** 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. */
|
|
512
|
+
userAssignedIdentities?: { [propertyName: string]: UserAssignedIdentity };
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
/** User assigned identity properties */
|
|
516
|
+
export interface UserAssignedIdentity {
|
|
517
|
+
/**
|
|
518
|
+
* The principal ID of the assigned identity.
|
|
519
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
520
|
+
*/
|
|
521
|
+
readonly principalId?: string;
|
|
522
|
+
/**
|
|
523
|
+
* The client ID of the assigned identity.
|
|
524
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
525
|
+
*/
|
|
526
|
+
readonly clientId?: string;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
export interface AccessConnectorProperties {
|
|
530
|
+
/**
|
|
531
|
+
* Provisioning status of the accessConnector.
|
|
532
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
533
|
+
*/
|
|
534
|
+
readonly provisioningState?: ProvisioningState;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/** An update to an azure databricks accessConnector. */
|
|
538
|
+
export interface AccessConnectorUpdate {
|
|
539
|
+
/** Resource tags. */
|
|
540
|
+
tags?: { [propertyName: string]: string };
|
|
541
|
+
/** Managed service identity (system assigned and/or user assigned identities) */
|
|
542
|
+
identity?: ManagedServiceIdentity;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
/** List of azure databricks accessConnector. */
|
|
546
|
+
export interface AccessConnectorListResult {
|
|
547
|
+
/** The array of azure databricks accessConnector. */
|
|
548
|
+
value?: AccessConnector[];
|
|
549
|
+
/** The URL to use for getting the next set of results. */
|
|
550
|
+
nextLink?: string;
|
|
551
|
+
}
|
|
552
|
+
|
|
471
553
|
/** The resource model definition for a ARM tracked top level resource */
|
|
472
554
|
export interface TrackedResource extends Resource {
|
|
473
555
|
/** Resource tags. */
|
|
@@ -525,6 +607,13 @@ export interface Workspace extends TrackedResource {
|
|
|
525
607
|
readonly workspaceUrl?: string;
|
|
526
608
|
/** The details of Managed Identity of Storage Account */
|
|
527
609
|
storageAccountIdentity?: ManagedIdentityConfiguration;
|
|
610
|
+
/** The details of Managed Identity of Disk Encryption Set used for Managed Disk Encryption */
|
|
611
|
+
managedDiskIdentity?: ManagedIdentityConfiguration;
|
|
612
|
+
/**
|
|
613
|
+
* The resource Id of the managed disk encryption set.
|
|
614
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
615
|
+
*/
|
|
616
|
+
readonly diskEncryptionSetId?: string;
|
|
528
617
|
/** Encryption properties for databricks workspace */
|
|
529
618
|
encryption?: WorkspacePropertiesEncryption;
|
|
530
619
|
/**
|
|
@@ -538,6 +627,19 @@ export interface Workspace extends TrackedResource {
|
|
|
538
627
|
requiredNsgRules?: RequiredNsgRules;
|
|
539
628
|
}
|
|
540
629
|
|
|
630
|
+
/** Information about azure databricks accessConnector. */
|
|
631
|
+
export interface AccessConnector extends TrackedResource {
|
|
632
|
+
/** Managed service identity (system assigned and/or user assigned identities) */
|
|
633
|
+
identity?: ManagedServiceIdentity;
|
|
634
|
+
/**
|
|
635
|
+
* The system metadata relating to this resource
|
|
636
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
637
|
+
*/
|
|
638
|
+
readonly systemData?: SystemData;
|
|
639
|
+
/** Azure Databricks accessConnector properties */
|
|
640
|
+
properties?: AccessConnectorProperties;
|
|
641
|
+
}
|
|
642
|
+
|
|
541
643
|
/** Known values of {@link CustomParameterType} that the service accepts. */
|
|
542
644
|
export enum KnownCustomParameterType {
|
|
543
645
|
/** Bool */
|
|
@@ -796,6 +898,30 @@ export enum KnownPeeringProvisioningState {
|
|
|
796
898
|
*/
|
|
797
899
|
export type PeeringProvisioningState = string;
|
|
798
900
|
|
|
901
|
+
/** Known values of {@link ManagedServiceIdentityType} that the service accepts. */
|
|
902
|
+
export enum KnownManagedServiceIdentityType {
|
|
903
|
+
/** None */
|
|
904
|
+
None = "None",
|
|
905
|
+
/** SystemAssigned */
|
|
906
|
+
SystemAssigned = "SystemAssigned",
|
|
907
|
+
/** UserAssigned */
|
|
908
|
+
UserAssigned = "UserAssigned",
|
|
909
|
+
/** SystemAssignedUserAssigned */
|
|
910
|
+
SystemAssignedUserAssigned = "SystemAssigned,UserAssigned"
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
/**
|
|
914
|
+
* Defines values for ManagedServiceIdentityType. \
|
|
915
|
+
* {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,
|
|
916
|
+
* this enum contains the known values that the service supports.
|
|
917
|
+
* ### Known values supported by the service
|
|
918
|
+
* **None** \
|
|
919
|
+
* **SystemAssigned** \
|
|
920
|
+
* **UserAssigned** \
|
|
921
|
+
* **SystemAssigned,UserAssigned**
|
|
922
|
+
*/
|
|
923
|
+
export type ManagedServiceIdentityType = string;
|
|
924
|
+
|
|
799
925
|
/** Optional parameters. */
|
|
800
926
|
export interface WorkspacesGetOptionalParams
|
|
801
927
|
extends coreClient.OperationOptions {}
|
|
@@ -990,13 +1116,79 @@ export interface VNetPeeringListByWorkspaceNextOptionalParams
|
|
|
990
1116
|
/** Contains response data for the listByWorkspaceNext operation. */
|
|
991
1117
|
export type VNetPeeringListByWorkspaceNextResponse = VirtualNetworkPeeringList;
|
|
992
1118
|
|
|
1119
|
+
/** Optional parameters. */
|
|
1120
|
+
export interface AccessConnectorsGetOptionalParams
|
|
1121
|
+
extends coreClient.OperationOptions {}
|
|
1122
|
+
|
|
1123
|
+
/** Contains response data for the get operation. */
|
|
1124
|
+
export type AccessConnectorsGetResponse = AccessConnector;
|
|
1125
|
+
|
|
1126
|
+
/** Optional parameters. */
|
|
1127
|
+
export interface AccessConnectorsDeleteOptionalParams
|
|
1128
|
+
extends coreClient.OperationOptions {
|
|
1129
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1130
|
+
updateIntervalInMs?: number;
|
|
1131
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1132
|
+
resumeFrom?: string;
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
/** Optional parameters. */
|
|
1136
|
+
export interface AccessConnectorsCreateOrUpdateOptionalParams
|
|
1137
|
+
extends coreClient.OperationOptions {
|
|
1138
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1139
|
+
updateIntervalInMs?: number;
|
|
1140
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1141
|
+
resumeFrom?: string;
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1145
|
+
export type AccessConnectorsCreateOrUpdateResponse = AccessConnector;
|
|
1146
|
+
|
|
1147
|
+
/** Optional parameters. */
|
|
1148
|
+
export interface AccessConnectorsUpdateOptionalParams
|
|
1149
|
+
extends coreClient.OperationOptions {
|
|
1150
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1151
|
+
updateIntervalInMs?: number;
|
|
1152
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1153
|
+
resumeFrom?: string;
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
/** Contains response data for the update operation. */
|
|
1157
|
+
export type AccessConnectorsUpdateResponse = AccessConnector;
|
|
1158
|
+
|
|
1159
|
+
/** Optional parameters. */
|
|
1160
|
+
export interface AccessConnectorsListByResourceGroupOptionalParams
|
|
1161
|
+
extends coreClient.OperationOptions {}
|
|
1162
|
+
|
|
1163
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
1164
|
+
export type AccessConnectorsListByResourceGroupResponse = AccessConnectorListResult;
|
|
1165
|
+
|
|
1166
|
+
/** Optional parameters. */
|
|
1167
|
+
export interface AccessConnectorsListBySubscriptionOptionalParams
|
|
1168
|
+
extends coreClient.OperationOptions {}
|
|
1169
|
+
|
|
1170
|
+
/** Contains response data for the listBySubscription operation. */
|
|
1171
|
+
export type AccessConnectorsListBySubscriptionResponse = AccessConnectorListResult;
|
|
1172
|
+
|
|
1173
|
+
/** Optional parameters. */
|
|
1174
|
+
export interface AccessConnectorsListByResourceGroupNextOptionalParams
|
|
1175
|
+
extends coreClient.OperationOptions {}
|
|
1176
|
+
|
|
1177
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
1178
|
+
export type AccessConnectorsListByResourceGroupNextResponse = AccessConnectorListResult;
|
|
1179
|
+
|
|
1180
|
+
/** Optional parameters. */
|
|
1181
|
+
export interface AccessConnectorsListBySubscriptionNextOptionalParams
|
|
1182
|
+
extends coreClient.OperationOptions {}
|
|
1183
|
+
|
|
1184
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
1185
|
+
export type AccessConnectorsListBySubscriptionNextResponse = AccessConnectorListResult;
|
|
1186
|
+
|
|
993
1187
|
/** Optional parameters. */
|
|
994
1188
|
export interface AzureDatabricksManagementClientOptionalParams
|
|
995
1189
|
extends coreClient.ServiceClientOptions {
|
|
996
1190
|
/** server parameter */
|
|
997
1191
|
$host?: string;
|
|
998
|
-
/** Api Version */
|
|
999
|
-
apiVersion?: string;
|
|
1000
1192
|
/** Overrides client endpoint. */
|
|
1001
1193
|
endpoint?: string;
|
|
1002
1194
|
}
|
package/src/models/mappers.ts
CHANGED
|
@@ -366,6 +366,13 @@ export const EncryptionEntitiesDefinition: coreClient.CompositeMapper = {
|
|
|
366
366
|
name: "Composite",
|
|
367
367
|
className: "EncryptionV2"
|
|
368
368
|
}
|
|
369
|
+
},
|
|
370
|
+
managedDisk: {
|
|
371
|
+
serializedName: "managedDisk",
|
|
372
|
+
type: {
|
|
373
|
+
name: "Composite",
|
|
374
|
+
className: "ManagedDiskEncryption"
|
|
375
|
+
}
|
|
369
376
|
}
|
|
370
377
|
}
|
|
371
378
|
}
|
|
@@ -424,6 +431,65 @@ export const EncryptionV2KeyVaultProperties: coreClient.CompositeMapper = {
|
|
|
424
431
|
}
|
|
425
432
|
};
|
|
426
433
|
|
|
434
|
+
export const ManagedDiskEncryption: coreClient.CompositeMapper = {
|
|
435
|
+
type: {
|
|
436
|
+
name: "Composite",
|
|
437
|
+
className: "ManagedDiskEncryption",
|
|
438
|
+
modelProperties: {
|
|
439
|
+
keySource: {
|
|
440
|
+
serializedName: "keySource",
|
|
441
|
+
required: true,
|
|
442
|
+
type: {
|
|
443
|
+
name: "String"
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
keyVaultProperties: {
|
|
447
|
+
serializedName: "keyVaultProperties",
|
|
448
|
+
type: {
|
|
449
|
+
name: "Composite",
|
|
450
|
+
className: "ManagedDiskEncryptionKeyVaultProperties"
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
rotationToLatestKeyVersionEnabled: {
|
|
454
|
+
serializedName: "rotationToLatestKeyVersionEnabled",
|
|
455
|
+
type: {
|
|
456
|
+
name: "Boolean"
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
};
|
|
462
|
+
|
|
463
|
+
export const ManagedDiskEncryptionKeyVaultProperties: coreClient.CompositeMapper = {
|
|
464
|
+
type: {
|
|
465
|
+
name: "Composite",
|
|
466
|
+
className: "ManagedDiskEncryptionKeyVaultProperties",
|
|
467
|
+
modelProperties: {
|
|
468
|
+
keyVaultUri: {
|
|
469
|
+
serializedName: "keyVaultUri",
|
|
470
|
+
required: true,
|
|
471
|
+
type: {
|
|
472
|
+
name: "String"
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
keyName: {
|
|
476
|
+
serializedName: "keyName",
|
|
477
|
+
required: true,
|
|
478
|
+
type: {
|
|
479
|
+
name: "String"
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
keyVersion: {
|
|
483
|
+
serializedName: "keyVersion",
|
|
484
|
+
required: true,
|
|
485
|
+
type: {
|
|
486
|
+
name: "String"
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
};
|
|
492
|
+
|
|
427
493
|
export const PrivateEndpointConnection: coreClient.CompositeMapper = {
|
|
428
494
|
type: {
|
|
429
495
|
name: "Composite",
|
|
@@ -473,6 +539,17 @@ export const PrivateEndpointConnectionProperties: coreClient.CompositeMapper = {
|
|
|
473
539
|
className: "PrivateEndpoint"
|
|
474
540
|
}
|
|
475
541
|
},
|
|
542
|
+
groupIds: {
|
|
543
|
+
serializedName: "groupIds",
|
|
544
|
+
type: {
|
|
545
|
+
name: "Sequence",
|
|
546
|
+
element: {
|
|
547
|
+
type: {
|
|
548
|
+
name: "String"
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
},
|
|
476
553
|
privateLinkServiceConnectionState: {
|
|
477
554
|
serializedName: "privateLinkServiceConnectionState",
|
|
478
555
|
type: {
|
|
@@ -525,8 +602,8 @@ export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = {
|
|
|
525
602
|
name: "String"
|
|
526
603
|
}
|
|
527
604
|
},
|
|
528
|
-
|
|
529
|
-
serializedName: "
|
|
605
|
+
actionsRequired: {
|
|
606
|
+
serializedName: "actionsRequired",
|
|
530
607
|
type: {
|
|
531
608
|
name: "String"
|
|
532
609
|
}
|
|
@@ -832,6 +909,12 @@ export const OperationDisplay: coreClient.CompositeMapper = {
|
|
|
832
909
|
type: {
|
|
833
910
|
name: "String"
|
|
834
911
|
}
|
|
912
|
+
},
|
|
913
|
+
description: {
|
|
914
|
+
serializedName: "description",
|
|
915
|
+
type: {
|
|
916
|
+
name: "String"
|
|
917
|
+
}
|
|
835
918
|
}
|
|
836
919
|
}
|
|
837
920
|
}
|
|
@@ -1189,6 +1272,134 @@ export const VirtualNetworkPeeringList: coreClient.CompositeMapper = {
|
|
|
1189
1272
|
}
|
|
1190
1273
|
};
|
|
1191
1274
|
|
|
1275
|
+
export const ManagedServiceIdentity: coreClient.CompositeMapper = {
|
|
1276
|
+
type: {
|
|
1277
|
+
name: "Composite",
|
|
1278
|
+
className: "ManagedServiceIdentity",
|
|
1279
|
+
modelProperties: {
|
|
1280
|
+
principalId: {
|
|
1281
|
+
serializedName: "principalId",
|
|
1282
|
+
readOnly: true,
|
|
1283
|
+
type: {
|
|
1284
|
+
name: "Uuid"
|
|
1285
|
+
}
|
|
1286
|
+
},
|
|
1287
|
+
tenantId: {
|
|
1288
|
+
serializedName: "tenantId",
|
|
1289
|
+
readOnly: true,
|
|
1290
|
+
type: {
|
|
1291
|
+
name: "Uuid"
|
|
1292
|
+
}
|
|
1293
|
+
},
|
|
1294
|
+
type: {
|
|
1295
|
+
serializedName: "type",
|
|
1296
|
+
required: true,
|
|
1297
|
+
type: {
|
|
1298
|
+
name: "String"
|
|
1299
|
+
}
|
|
1300
|
+
},
|
|
1301
|
+
userAssignedIdentities: {
|
|
1302
|
+
serializedName: "userAssignedIdentities",
|
|
1303
|
+
type: {
|
|
1304
|
+
name: "Dictionary",
|
|
1305
|
+
value: {
|
|
1306
|
+
type: { name: "Composite", className: "UserAssignedIdentity" }
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1311
|
+
}
|
|
1312
|
+
};
|
|
1313
|
+
|
|
1314
|
+
export const UserAssignedIdentity: coreClient.CompositeMapper = {
|
|
1315
|
+
type: {
|
|
1316
|
+
name: "Composite",
|
|
1317
|
+
className: "UserAssignedIdentity",
|
|
1318
|
+
modelProperties: {
|
|
1319
|
+
principalId: {
|
|
1320
|
+
serializedName: "principalId",
|
|
1321
|
+
readOnly: true,
|
|
1322
|
+
type: {
|
|
1323
|
+
name: "Uuid"
|
|
1324
|
+
}
|
|
1325
|
+
},
|
|
1326
|
+
clientId: {
|
|
1327
|
+
serializedName: "clientId",
|
|
1328
|
+
readOnly: true,
|
|
1329
|
+
type: {
|
|
1330
|
+
name: "Uuid"
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
}
|
|
1334
|
+
}
|
|
1335
|
+
};
|
|
1336
|
+
|
|
1337
|
+
export const AccessConnectorProperties: coreClient.CompositeMapper = {
|
|
1338
|
+
type: {
|
|
1339
|
+
name: "Composite",
|
|
1340
|
+
className: "AccessConnectorProperties",
|
|
1341
|
+
modelProperties: {
|
|
1342
|
+
provisioningState: {
|
|
1343
|
+
serializedName: "provisioningState",
|
|
1344
|
+
readOnly: true,
|
|
1345
|
+
type: {
|
|
1346
|
+
name: "String"
|
|
1347
|
+
}
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
};
|
|
1352
|
+
|
|
1353
|
+
export const AccessConnectorUpdate: coreClient.CompositeMapper = {
|
|
1354
|
+
type: {
|
|
1355
|
+
name: "Composite",
|
|
1356
|
+
className: "AccessConnectorUpdate",
|
|
1357
|
+
modelProperties: {
|
|
1358
|
+
tags: {
|
|
1359
|
+
serializedName: "tags",
|
|
1360
|
+
type: {
|
|
1361
|
+
name: "Dictionary",
|
|
1362
|
+
value: { type: { name: "String" } }
|
|
1363
|
+
}
|
|
1364
|
+
},
|
|
1365
|
+
identity: {
|
|
1366
|
+
serializedName: "identity",
|
|
1367
|
+
type: {
|
|
1368
|
+
name: "Composite",
|
|
1369
|
+
className: "ManagedServiceIdentity"
|
|
1370
|
+
}
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
}
|
|
1374
|
+
};
|
|
1375
|
+
|
|
1376
|
+
export const AccessConnectorListResult: coreClient.CompositeMapper = {
|
|
1377
|
+
type: {
|
|
1378
|
+
name: "Composite",
|
|
1379
|
+
className: "AccessConnectorListResult",
|
|
1380
|
+
modelProperties: {
|
|
1381
|
+
value: {
|
|
1382
|
+
serializedName: "value",
|
|
1383
|
+
type: {
|
|
1384
|
+
name: "Sequence",
|
|
1385
|
+
element: {
|
|
1386
|
+
type: {
|
|
1387
|
+
name: "Composite",
|
|
1388
|
+
className: "AccessConnector"
|
|
1389
|
+
}
|
|
1390
|
+
}
|
|
1391
|
+
}
|
|
1392
|
+
},
|
|
1393
|
+
nextLink: {
|
|
1394
|
+
serializedName: "nextLink",
|
|
1395
|
+
type: {
|
|
1396
|
+
name: "String"
|
|
1397
|
+
}
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
}
|
|
1401
|
+
};
|
|
1402
|
+
|
|
1192
1403
|
export const TrackedResource: coreClient.CompositeMapper = {
|
|
1193
1404
|
type: {
|
|
1194
1405
|
name: "Composite",
|
|
@@ -1331,6 +1542,20 @@ export const Workspace: coreClient.CompositeMapper = {
|
|
|
1331
1542
|
className: "ManagedIdentityConfiguration"
|
|
1332
1543
|
}
|
|
1333
1544
|
},
|
|
1545
|
+
managedDiskIdentity: {
|
|
1546
|
+
serializedName: "properties.managedDiskIdentity",
|
|
1547
|
+
type: {
|
|
1548
|
+
name: "Composite",
|
|
1549
|
+
className: "ManagedIdentityConfiguration"
|
|
1550
|
+
}
|
|
1551
|
+
},
|
|
1552
|
+
diskEncryptionSetId: {
|
|
1553
|
+
serializedName: "properties.diskEncryptionSetId",
|
|
1554
|
+
readOnly: true,
|
|
1555
|
+
type: {
|
|
1556
|
+
name: "String"
|
|
1557
|
+
}
|
|
1558
|
+
},
|
|
1334
1559
|
encryption: {
|
|
1335
1560
|
serializedName: "properties.encryption",
|
|
1336
1561
|
type: {
|
|
@@ -1366,3 +1591,34 @@ export const Workspace: coreClient.CompositeMapper = {
|
|
|
1366
1591
|
}
|
|
1367
1592
|
}
|
|
1368
1593
|
};
|
|
1594
|
+
|
|
1595
|
+
export const AccessConnector: coreClient.CompositeMapper = {
|
|
1596
|
+
type: {
|
|
1597
|
+
name: "Composite",
|
|
1598
|
+
className: "AccessConnector",
|
|
1599
|
+
modelProperties: {
|
|
1600
|
+
...TrackedResource.type.modelProperties,
|
|
1601
|
+
identity: {
|
|
1602
|
+
serializedName: "identity",
|
|
1603
|
+
type: {
|
|
1604
|
+
name: "Composite",
|
|
1605
|
+
className: "ManagedServiceIdentity"
|
|
1606
|
+
}
|
|
1607
|
+
},
|
|
1608
|
+
systemData: {
|
|
1609
|
+
serializedName: "systemData",
|
|
1610
|
+
type: {
|
|
1611
|
+
name: "Composite",
|
|
1612
|
+
className: "SystemData"
|
|
1613
|
+
}
|
|
1614
|
+
},
|
|
1615
|
+
properties: {
|
|
1616
|
+
serializedName: "properties",
|
|
1617
|
+
type: {
|
|
1618
|
+
name: "Composite",
|
|
1619
|
+
className: "AccessConnectorProperties"
|
|
1620
|
+
}
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1623
|
+
}
|
|
1624
|
+
};
|
package/src/models/parameters.ts
CHANGED
|
@@ -15,7 +15,9 @@ import {
|
|
|
15
15
|
Workspace as WorkspaceMapper,
|
|
16
16
|
WorkspaceUpdate as WorkspaceUpdateMapper,
|
|
17
17
|
PrivateEndpointConnection as PrivateEndpointConnectionMapper,
|
|
18
|
-
VirtualNetworkPeering as VirtualNetworkPeeringMapper
|
|
18
|
+
VirtualNetworkPeering as VirtualNetworkPeeringMapper,
|
|
19
|
+
AccessConnector as AccessConnectorMapper,
|
|
20
|
+
AccessConnectorUpdate as AccessConnectorUpdateMapper
|
|
19
21
|
} from "../models/mappers";
|
|
20
22
|
|
|
21
23
|
export const accept: OperationParameter = {
|
|
@@ -76,7 +78,7 @@ export const workspaceName: OperationURLParameter = {
|
|
|
76
78
|
export const apiVersion: OperationQueryParameter = {
|
|
77
79
|
parameterPath: "apiVersion",
|
|
78
80
|
mapper: {
|
|
79
|
-
defaultValue: "
|
|
81
|
+
defaultValue: "2023-02-01",
|
|
80
82
|
isConstant: true,
|
|
81
83
|
serializedName: "api-version",
|
|
82
84
|
type: {
|
|
@@ -172,3 +174,40 @@ export const virtualNetworkPeeringParameters: OperationParameter = {
|
|
|
172
174
|
parameterPath: "virtualNetworkPeeringParameters",
|
|
173
175
|
mapper: VirtualNetworkPeeringMapper
|
|
174
176
|
};
|
|
177
|
+
|
|
178
|
+
export const connectorName: OperationURLParameter = {
|
|
179
|
+
parameterPath: "connectorName",
|
|
180
|
+
mapper: {
|
|
181
|
+
constraints: {
|
|
182
|
+
MaxLength: 64,
|
|
183
|
+
MinLength: 3
|
|
184
|
+
},
|
|
185
|
+
serializedName: "connectorName",
|
|
186
|
+
required: true,
|
|
187
|
+
type: {
|
|
188
|
+
name: "String"
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
export const apiVersion1: OperationQueryParameter = {
|
|
194
|
+
parameterPath: "apiVersion",
|
|
195
|
+
mapper: {
|
|
196
|
+
defaultValue: "2023-05-01",
|
|
197
|
+
isConstant: true,
|
|
198
|
+
serializedName: "api-version",
|
|
199
|
+
type: {
|
|
200
|
+
name: "String"
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
export const parameters2: OperationParameter = {
|
|
206
|
+
parameterPath: "parameters",
|
|
207
|
+
mapper: AccessConnectorMapper
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
export const parameters3: OperationParameter = {
|
|
211
|
+
parameterPath: "parameters",
|
|
212
|
+
mapper: AccessConnectorUpdateMapper
|
|
213
|
+
};
|