-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
3,322 additions
and
425 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
sdk/databricks/arm-databricks/src/azureDatabricksManagementClient.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* | ||
* Copyright (c) Microsoft Corporation. | ||
* Licensed under the MIT License. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
* Changes may cause incorrect behavior and will be lost if the code is | ||
* regenerated. | ||
*/ | ||
|
||
import * as msRest from "@azure/ms-rest-js"; | ||
import { TokenCredential } from "@azure/core-auth"; | ||
import * as Models from "./models"; | ||
import * as Mappers from "./models/mappers"; | ||
import * as operations from "./operations"; | ||
import { AzureDatabricksManagementClientContext } from "./azureDatabricksManagementClientContext"; | ||
|
||
|
||
class AzureDatabricksManagementClient extends AzureDatabricksManagementClientContext { | ||
// Operation groups | ||
workspaces: operations.Workspaces; | ||
operations: operations.Operations; | ||
privateLinkResources: operations.PrivateLinkResources; | ||
privateEndpointConnections: operations.PrivateEndpointConnections; | ||
vNetPeering: operations.VNetPeering; | ||
|
||
/** | ||
* Initializes a new instance of the AzureDatabricksManagementClient class. | ||
* @param credentials Credentials needed for the client to connect to Azure. Credentials | ||
* implementing the TokenCredential interface from the @azure/identity package are recommended. For | ||
* more information about these credentials, see | ||
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the | ||
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and | ||
* @azure/ms-rest-browserauth are also supported. | ||
* @param subscriptionId The ID of the target subscription. | ||
* @param [options] The parameter options | ||
*/ | ||
constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureDatabricksManagementClientOptions) { | ||
super(credentials, subscriptionId, options); | ||
this.workspaces = new operations.Workspaces(this); | ||
this.operations = new operations.Operations(this); | ||
this.privateLinkResources = new operations.PrivateLinkResources(this); | ||
this.privateEndpointConnections = new operations.PrivateEndpointConnections(this); | ||
this.vNetPeering = new operations.VNetPeering(this); | ||
} | ||
} | ||
|
||
// Operation Specifications | ||
|
||
export { | ||
AzureDatabricksManagementClient, | ||
AzureDatabricksManagementClientContext, | ||
Models as AzureDatabricksManagementModels, | ||
Mappers as AzureDatabricksManagementMappers | ||
}; | ||
export * from "./operations"; |
Oops, something went wrong.