Skip to content

Commit a989ed3

Browse files
author
SDKAuto
committed
CodeGen from PR 21783 in Azure/azure-rest-api-specs
Merge fa9897b9b063b2c5043025cf8255dcf164f93115 into 9b5613758f1f1789dde2089733443a2c1ff7e1c9
1 parent 9211635 commit a989ed3

22 files changed

+1481
-58
lines changed

sdk/databricks/arm-databricks/CHANGELOG.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
11
# Release History
2+
3+
## 3.0.0-beta.5 (2022-12-12)
24

3-
## 3.0.0-beta.5 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
13-
## 3.0.0-beta.4 (2022-11-21)
14-
15-
The package of @azure/arm-databricks is using our next generation design principles since version 3.0.0-beta.4, which contains breaking changes.
5+
The package of @azure/arm-databricks is using our next generation design principles since version 3.0.0-beta.5, which contains breaking changes.
166

177
To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
188

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "7086ee861c3a6196bb98f8b327af11d03e545a05",
3-
"readme": "specification\\databricks\\resource-manager\\readme.md",
4-
"autorest_command": "autorest --version=3.8.4 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\databricks\\resource-manager\\readme.md --use=@autorest/[email protected].3.20221108.1 --generate-sample=true",
2+
"commit": "f3d6d793b0f4ddfe1b0c04367ccebdabbd807f3f",
3+
"readme": "specification/databricks/resource-manager/readme.md",
4+
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/databricks/resource-manager/readme.md --use=@autorest/[email protected].4",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.2",
7-
"use": "@autorest/[email protected].3.20221108.1"
6+
"release_tool": "@azure-tools/js-sdk-release-tools@2.5.2",
7+
"use": "@autorest/[email protected].4"
88
}

sdk/databricks/arm-databricks/package.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,5 @@
110110
}
111111
]
112112
},
113-
"autoPublish": true,
114-
"//sampleConfiguration": {
115-
"productName": "",
116-
"productSlugs": [
117-
"azure"
118-
],
119-
"disableDocsMs": true,
120-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-databricks?view=azure-node-preview"
121-
}
122-
}
113+
"autoPublish": true
114+
}

sdk/databricks/arm-databricks/review/arm-databricks.api.md

Lines changed: 136 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,104 @@ import { PagedAsyncIterableIterator } from '@azure/core-paging';
1010
import { PollerLike } from '@azure/core-lro';
1111
import { PollOperationState } from '@azure/core-lro';
1212

13+
// @public
14+
export interface AccessConnector extends TrackedResource {
15+
identity?: IdentityData;
16+
properties?: AccessConnectorProperties;
17+
readonly systemData?: SystemData;
18+
}
19+
20+
// @public
21+
export interface AccessConnectorListResult {
22+
nextLink?: string;
23+
value?: AccessConnector[];
24+
}
25+
26+
// @public (undocumented)
27+
export interface AccessConnectorProperties {
28+
readonly provisioningState?: ProvisioningState;
29+
}
30+
31+
// @public
32+
export interface AccessConnectors {
33+
beginCreateOrUpdate(resourceGroupName: string, connectorName: string, parameters: AccessConnector, options?: AccessConnectorsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<AccessConnectorsCreateOrUpdateResponse>, AccessConnectorsCreateOrUpdateResponse>>;
34+
beginCreateOrUpdateAndWait(resourceGroupName: string, connectorName: string, parameters: AccessConnector, options?: AccessConnectorsCreateOrUpdateOptionalParams): Promise<AccessConnectorsCreateOrUpdateResponse>;
35+
beginDelete(resourceGroupName: string, connectorName: string, options?: AccessConnectorsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
36+
beginDeleteAndWait(resourceGroupName: string, connectorName: string, options?: AccessConnectorsDeleteOptionalParams): Promise<void>;
37+
beginUpdate(resourceGroupName: string, connectorName: string, parameters: AccessConnectorUpdate, options?: AccessConnectorsUpdateOptionalParams): Promise<PollerLike<PollOperationState<AccessConnectorsUpdateResponse>, AccessConnectorsUpdateResponse>>;
38+
beginUpdateAndWait(resourceGroupName: string, connectorName: string, parameters: AccessConnectorUpdate, options?: AccessConnectorsUpdateOptionalParams): Promise<AccessConnectorsUpdateResponse>;
39+
get(resourceGroupName: string, connectorName: string, options?: AccessConnectorsGetOptionalParams): Promise<AccessConnectorsGetResponse>;
40+
listByResourceGroup(resourceGroupName: string, options?: AccessConnectorsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AccessConnector>;
41+
listBySubscription(options?: AccessConnectorsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AccessConnector>;
42+
}
43+
44+
// @public
45+
export interface AccessConnectorsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
46+
resumeFrom?: string;
47+
updateIntervalInMs?: number;
48+
}
49+
50+
// @public
51+
export type AccessConnectorsCreateOrUpdateResponse = AccessConnector;
52+
53+
// @public
54+
export interface AccessConnectorsDeleteOptionalParams extends coreClient.OperationOptions {
55+
resumeFrom?: string;
56+
updateIntervalInMs?: number;
57+
}
58+
59+
// @public
60+
export interface AccessConnectorsGetOptionalParams extends coreClient.OperationOptions {
61+
}
62+
63+
// @public
64+
export type AccessConnectorsGetResponse = AccessConnector;
65+
66+
// @public
67+
export interface AccessConnectorsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
68+
}
69+
70+
// @public
71+
export type AccessConnectorsListByResourceGroupNextResponse = AccessConnectorListResult;
72+
73+
// @public
74+
export interface AccessConnectorsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
75+
}
76+
77+
// @public
78+
export type AccessConnectorsListByResourceGroupResponse = AccessConnectorListResult;
79+
80+
// @public
81+
export interface AccessConnectorsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
82+
}
83+
84+
// @public
85+
export type AccessConnectorsListBySubscriptionNextResponse = AccessConnectorListResult;
86+
87+
// @public
88+
export interface AccessConnectorsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
89+
}
90+
91+
// @public
92+
export type AccessConnectorsListBySubscriptionResponse = AccessConnectorListResult;
93+
94+
// @public
95+
export interface AccessConnectorsUpdateOptionalParams extends coreClient.OperationOptions {
96+
resumeFrom?: string;
97+
updateIntervalInMs?: number;
98+
}
99+
100+
// @public
101+
export type AccessConnectorsUpdateResponse = AccessConnector;
102+
103+
// @public
104+
export interface AccessConnectorUpdate {
105+
identity?: IdentityData;
106+
tags?: {
107+
[propertyName: string]: string;
108+
};
109+
}
110+
13111
// @public
14112
export interface AddressSpace {
15113
addressPrefixes?: string[];
@@ -21,6 +119,8 @@ export class AzureDatabricksManagementClient extends coreClient.ServiceClient {
21119
$host: string;
22120
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureDatabricksManagementClientOptionalParams);
23121
// (undocumented)
122+
accessConnectors: AccessConnectors;
123+
// (undocumented)
24124
apiVersion: string;
25125
// (undocumented)
26126
operations: Operations;
@@ -68,6 +168,7 @@ export interface Encryption {
68168

69169
// @public
70170
export interface EncryptionEntitiesDefinition {
171+
managedDisk?: ManagedDiskEncryption;
71172
managedServices?: EncryptionV2;
72173
}
73174

@@ -136,6 +237,16 @@ export interface GroupIdInformationProperties {
136237
requiredZoneNames?: string[];
137238
}
138239

240+
// @public
241+
export interface IdentityData {
242+
readonly principalId?: string;
243+
readonly tenantId?: string;
244+
type: IdentityType;
245+
}
246+
247+
// @public
248+
export type IdentityType = string;
249+
139250
// @public
140251
export type KeySource = string;
141252

@@ -159,6 +270,12 @@ export enum KnownEncryptionKeySource {
159270
MicrosoftKeyvault = "Microsoft.Keyvault"
160271
}
161272

273+
// @public
274+
export enum KnownIdentityType {
275+
None = "None",
276+
SystemAssigned = "SystemAssigned"
277+
}
278+
162279
// @public
163280
export enum KnownKeySource {
164281
Default = "Default",
@@ -225,6 +342,20 @@ export enum KnownRequiredNsgRules {
225342
NoAzureServiceRules = "NoAzureServiceRules"
226343
}
227344

345+
// @public
346+
export interface ManagedDiskEncryption {
347+
keySource: EncryptionKeySource;
348+
keyVaultProperties: ManagedDiskEncryptionKeyVaultProperties;
349+
rotationToLatestKeyVersionEnabled?: boolean;
350+
}
351+
352+
// @public
353+
export interface ManagedDiskEncryptionKeyVaultProperties {
354+
keyName: string;
355+
keyVaultUri: string;
356+
keyVersion: string;
357+
}
358+
228359
// @public
229360
export interface ManagedIdentityConfiguration {
230361
readonly principalId?: string;
@@ -240,6 +371,7 @@ export interface Operation {
240371

241372
// @public
242373
export interface OperationDisplay {
374+
description?: string;
243375
operation?: string;
244376
provider?: string;
245377
resource?: string;
@@ -309,6 +441,7 @@ export interface PrivateEndpointConnection {
309441

310442
// @public
311443
export interface PrivateEndpointConnectionProperties {
444+
groupIds?: string[];
312445
privateEndpoint?: PrivateEndpoint;
313446
privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
314447
readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
@@ -404,7 +537,7 @@ export type PrivateLinkResourcesListResponse = PrivateLinkResourcesList;
404537

405538
// @public
406539
export interface PrivateLinkServiceConnectionState {
407-
actionRequired?: string;
540+
actionsRequired?: string;
408541
description?: string;
409542
status: PrivateLinkServiceConnectionStatus;
410543
}
@@ -536,7 +669,9 @@ export interface Workspace extends TrackedResource {
536669
authorizations?: WorkspaceProviderAuthorization[];
537670
createdBy?: CreatedBy;
538671
readonly createdDateTime?: Date;
672+
readonly diskEncryptionSetId?: string;
539673
encryption?: WorkspacePropertiesEncryption;
674+
managedDiskIdentity?: ManagedIdentityConfiguration;
540675
managedResourceGroupId: string;
541676
parameters?: WorkspaceCustomParameters;
542677
readonly privateEndpointConnections?: PrivateEndpointConnection[];

sdk/databricks/arm-databricks/src/azureDatabricksManagementClient.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,17 @@ import {
2020
PrivateLinkResourcesImpl,
2121
PrivateEndpointConnectionsImpl,
2222
OutboundNetworkDependenciesEndpointsImpl,
23-
VNetPeeringImpl
23+
VNetPeeringImpl,
24+
AccessConnectorsImpl
2425
} from "./operations";
2526
import {
2627
Workspaces,
2728
Operations,
2829
PrivateLinkResources,
2930
PrivateEndpointConnections,
3031
OutboundNetworkDependenciesEndpoints,
31-
VNetPeering
32+
VNetPeering,
33+
AccessConnectors
3234
} from "./operationsInterfaces";
3335
import { AzureDatabricksManagementClientOptionalParams } from "./models";
3436

@@ -117,7 +119,7 @@ export class AzureDatabricksManagementClient extends coreClient.ServiceClient {
117119

118120
// Assigning values to Constant parameters
119121
this.$host = options.$host || "https://management.azure.com";
120-
this.apiVersion = options.apiVersion || "2021-04-01-preview";
122+
this.apiVersion = options.apiVersion || "2022-04-01-preview";
121123
this.workspaces = new WorkspacesImpl(this);
122124
this.operations = new OperationsImpl(this);
123125
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
@@ -126,6 +128,7 @@ export class AzureDatabricksManagementClient extends coreClient.ServiceClient {
126128
this
127129
);
128130
this.vNetPeering = new VNetPeeringImpl(this);
131+
this.accessConnectors = new AccessConnectorsImpl(this);
129132
this.addCustomApiVersionPolicy(options.apiVersion);
130133
}
131134

@@ -163,4 +166,5 @@ export class AzureDatabricksManagementClient extends coreClient.ServiceClient {
163166
privateEndpointConnections: PrivateEndpointConnections;
164167
outboundNetworkDependenciesEndpoints: OutboundNetworkDependenciesEndpoints;
165168
vNetPeering: VNetPeering;
169+
accessConnectors: AccessConnectors;
166170
}

0 commit comments

Comments
 (0)