Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@

import { ServiceClientCredentials } from 'ms-rest';
import { AzureServiceClient, AzureServiceClientOptions } from 'ms-rest-azure';
import * as models from "./models";
import * as operations from "./operations";

declare class CosmosDBManagementClient extends AzureServiceClient {
export default class CosmosDBManagementClient extends AzureServiceClient {
/**
* Initializes a new instance of the CosmosDBManagementClient class.
* @constructor
Expand Down Expand Up @@ -70,4 +71,4 @@ declare class CosmosDBManagementClient extends AzureServiceClient {
partitionKeyRangeIdRegion: operations.PartitionKeyRangeIdRegion;
}

export = CosmosDBManagementClient;
export { CosmosDBManagementClient, models as CosmosDBManagementModels };
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,6 @@ class CosmosDBManagementClient extends ServiceClient {
}

module.exports = CosmosDBManagementClient;
module.exports['default'] = CosmosDBManagementClient;
module.exports.CosmosDBManagementClient = CosmosDBManagementClient;
module.exports.CosmosDBManagementModels = models;
4 changes: 3 additions & 1 deletion lib/services/cosmosdbManagement/lib/models/capability.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
class Capability {
/**
* Create a Capability.
* @member {string} [name] Name of the Cosmos DB capability
* @member {string} [name] Name of the Cosmos DB capability. For example,
* "name": "EnableCassandra". Current values also include "EnableTable" and
* "EnableGremlin".
*/
constructor() {
}
Expand Down
4 changes: 3 additions & 1 deletion lib/services/cosmosdbManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ export interface ConsistencyPolicy {
* @constructor
* Cosmos DB capability object
*
* @member {string} [name] Name of the Cosmos DB capability
* @member {string} [name] Name of the Cosmos DB capability. For example,
* "name": "EnableCassandra". Current values also include "EnableTable" and
* "EnableGremlin".
*/
export interface Capability {
name?: string;
Expand Down