Merge pull request #4648 from Azure/restapi_auto_azure-kusto/resource-manager
Regenerate azure-arm-kusto package
This commit is contained in:
Коммит
e619304226
|
@ -1,21 +1,21 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2018 Microsoft
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2019 Microsoft
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
|
|
@ -1,43 +1,46 @@
|
|||
---
|
||||
uid: azure-arm-kusto
|
||||
summary: *content
|
||||
|
||||
---
|
||||
**This SDK will be deprecated next year and will be replaced by a new TypeScript-based isomorphic SDK (found at https://github.com/Azure/azure-sdk-for-js) which works on Node.js and browsers.**
|
||||
## Microsoft Azure SDK for Node.js - KustoManagementClient
|
||||
This project provides a Node.js package for accessing Azure. Right now it supports:
|
||||
- **Node.js version 6.x.x or higher**
|
||||
|
||||
### Features
|
||||
|
||||
|
||||
### How to Install
|
||||
|
||||
```bash
|
||||
npm install azure-arm-kusto
|
||||
```
|
||||
|
||||
### How to use
|
||||
|
||||
#### Authentication, client creation and get clusters as an example.
|
||||
|
||||
```javascript
|
||||
const msRestAzure = require("ms-rest-azure");
|
||||
const KustoManagementClient = require("azure-arm-kusto");
|
||||
msRestAzure.interactiveLogin().then((creds) => {
|
||||
const subscriptionId = "<Subscription_Id>";
|
||||
const client = new KustoManagementClient(creds, subscriptionId);
|
||||
const resourceGroupName = "testresourceGroupName";
|
||||
const clusterName = "testclusterName";
|
||||
return client.clusters.get(resourceGroupName, clusterName).then((result) => {
|
||||
console.log("The result is:");
|
||||
console.log(result);
|
||||
});
|
||||
}).catch((err) => {
|
||||
console.log('An error occurred:');
|
||||
console.dir(err, {depth: null, colors: true});
|
||||
});
|
||||
|
||||
### Related projects
|
||||
|
||||
- [Microsoft Azure SDK for Node.js](https://github.com/Azure/azure-sdk-for-node)
|
||||
---
|
||||
uid: azure-arm-kusto
|
||||
summary: *content
|
||||
|
||||
---
|
||||
**This SDK will be deprecated next year and will be replaced by a new TypeScript-based isomorphic SDK (found at https://www.npmjs.com/package/@azure/arm-kusto) which works on Node.js and browsers.**
|
||||
**See https://aka.ms/azure-sdk-for-js-migration to learn more.**
|
||||
## Microsoft Azure SDK for Node.js - KustoManagementClient
|
||||
|
||||
This project provides a Node.js package for accessing Azure. Right now it supports:
|
||||
- **Node.js version 6.x.x or higher**
|
||||
|
||||
### Features
|
||||
|
||||
|
||||
### How to Install
|
||||
|
||||
```bash
|
||||
npm install azure-arm-kusto
|
||||
```
|
||||
|
||||
### How to use
|
||||
|
||||
#### Authentication, client creation, and get clusters as an example.
|
||||
|
||||
```javascript
|
||||
const msRestAzure = require("ms-rest-azure");
|
||||
const KustoManagementClient = require("azure-arm-kusto");
|
||||
msRestAzure.interactiveLogin().then((creds) => {
|
||||
const subscriptionId = "<Subscription_Id>";
|
||||
const client = new KustoManagementClient(creds, subscriptionId);
|
||||
const resourceGroupName = "testresourceGroupName";
|
||||
const clusterName = "testclusterName";
|
||||
|
||||
return client.clusters.get(resourceGroupName, clusterName).then((result) => {
|
||||
console.log("The result is:");
|
||||
console.log(result);
|
||||
});
|
||||
}).catch((err) => {
|
||||
console.log('An error occurred:');
|
||||
console.dir(err, {depth: null, colors: true});
|
||||
});
|
||||
```
|
||||
### Related projects
|
||||
|
||||
- [Microsoft Azure SDK for Node.js](https://github.com/Azure/azure-sdk-for-node)
|
||||
|
|
|
@ -58,7 +58,7 @@ export default class KustoManagementClient extends AzureServiceClient {
|
|||
// Operation groups
|
||||
clusters: operations.Clusters;
|
||||
databases: operations.Databases;
|
||||
eventHubConnections: operations.EventHubConnections;
|
||||
dataConnections: operations.DataConnections;
|
||||
operations: operations.Operations;
|
||||
}
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ class KustoManagementClient extends ServiceClient {
|
|||
|
||||
super(credentials, options);
|
||||
|
||||
this.apiVersion = '2018-09-07-preview';
|
||||
this.apiVersion = '2019-01-21';
|
||||
this.acceptLanguage = 'en-US';
|
||||
this.longRunningOperationRetryTimeout = 30;
|
||||
this.generateClientRequestId = true;
|
||||
|
@ -74,7 +74,7 @@ class KustoManagementClient extends ServiceClient {
|
|||
}
|
||||
this.clusters = new operations.Clusters(this);
|
||||
this.databases = new operations.Databases(this);
|
||||
this.eventHubConnections = new operations.EventHubConnections(this);
|
||||
this.dataConnections = new operations.DataConnections(this);
|
||||
this.operations = new operations.Operations(this);
|
||||
this.models = models;
|
||||
msRest.addSerializationMixin(this);
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
'use strict';
|
||||
|
||||
/**
|
||||
* Class representing a AzureCapacity.
|
||||
* Azure capacity definition.
|
||||
*
|
||||
*/
|
||||
class AzureCapacity {
|
||||
/**
|
||||
|
|
|
@ -11,15 +11,16 @@
|
|||
'use strict';
|
||||
|
||||
/**
|
||||
* Class representing a AzureResourceSku.
|
||||
* Azure resource SKU definition.
|
||||
*
|
||||
*/
|
||||
class AzureResourceSku {
|
||||
/**
|
||||
* Create a AzureResourceSku.
|
||||
* @property {string} [resourceType] Resource Namespace and Type.
|
||||
* @property {object} [sku] The SKU details.
|
||||
* @property {string} [sku.name] SKU name. Possible values include: 'KC8',
|
||||
* 'KC16', 'KS8', 'KS16', 'D13_v2', 'D14_v2', 'L8', 'L16'
|
||||
* @property {string} [sku.name] SKU name. Possible values include: 'D13_v2',
|
||||
* 'D14_v2', 'L8', 'L16', 'D11_v2', 'D12_v2', 'L4'
|
||||
* @property {number} [sku.capacity] SKU capacity.
|
||||
* @property {object} [capacity] The SKU capacity.
|
||||
* @property {string} [capacity.scaleType] Scale type. Possible values
|
||||
|
|
|
@ -11,13 +11,14 @@
|
|||
'use strict';
|
||||
|
||||
/**
|
||||
* Class representing a AzureSku.
|
||||
* Azure SKU definition.
|
||||
*
|
||||
*/
|
||||
class AzureSku {
|
||||
/**
|
||||
* Create a AzureSku.
|
||||
* @property {string} name SKU name. Possible values include: 'KC8', 'KC16',
|
||||
* 'KS8', 'KS16', 'D13_v2', 'D14_v2', 'L8', 'L16'
|
||||
* @property {string} name SKU name. Possible values include: 'D13_v2',
|
||||
* 'D14_v2', 'L8', 'L16', 'D11_v2', 'D12_v2', 'L4'
|
||||
* @property {number} [capacity] SKU capacity.
|
||||
*/
|
||||
constructor() {
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
'use strict';
|
||||
|
||||
/**
|
||||
* Class representing a CheckNameResult.
|
||||
* The result returned from a check name availability request.
|
||||
*
|
||||
*/
|
||||
class CheckNameResult {
|
||||
/**
|
||||
|
|
|
@ -20,14 +20,13 @@ const models = require('./index');
|
|||
class Cluster extends models['TrackedResource'] {
|
||||
/**
|
||||
* Create a Cluster.
|
||||
* @property {string} [etag] An ETag of the resource created.
|
||||
* @property {object} sku The SKU of the cluster.
|
||||
* @property {string} [sku.name] SKU name. Possible values include: 'KC8',
|
||||
* 'KC16', 'KS8', 'KS16', 'D13_v2', 'D14_v2', 'L8', 'L16'
|
||||
* @property {string} [sku.name] SKU name. Possible values include: 'D13_v2',
|
||||
* 'D14_v2', 'L8', 'L16', 'D11_v2', 'D12_v2', 'L4'
|
||||
* @property {number} [sku.capacity] SKU capacity.
|
||||
* @property {string} [state] The state of the resource. Possible values
|
||||
* include: 'Creating', 'Unavailable', 'Running', 'Deleting', 'Deleted',
|
||||
* 'Stopping', 'Stopped', 'Starting'
|
||||
* 'Stopping', 'Stopped', 'Starting', 'Updating'
|
||||
* @property {string} [provisioningState] The provisioned state of the
|
||||
* resource. Possible values include: 'Running', 'Creating', 'Deleting',
|
||||
* 'Succeeded', 'Failed'
|
||||
|
@ -98,14 +97,6 @@ class Cluster extends models['TrackedResource'] {
|
|||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
sku: {
|
||||
required: true,
|
||||
serializedName: 'sku',
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
'use strict';
|
||||
|
||||
/**
|
||||
* Class representing a ClusterCheckNameRequest.
|
||||
* The result returned from a cluster check name availability request.
|
||||
*
|
||||
*/
|
||||
class ClusterCheckNameRequest {
|
||||
/**
|
||||
|
|
|
@ -22,14 +22,13 @@ class ClusterUpdate extends models['Resource'] {
|
|||
* Create a ClusterUpdate.
|
||||
* @property {object} [tags] Resource tags.
|
||||
* @property {string} [location] Resource location.
|
||||
* @property {string} [etag] An ETag of the resource updated.
|
||||
* @property {object} [sku] The SKU of the cluster.
|
||||
* @property {string} [sku.name] SKU name. Possible values include: 'KC8',
|
||||
* 'KC16', 'KS8', 'KS16', 'D13_v2', 'D14_v2', 'L8', 'L16'
|
||||
* @property {string} [sku.name] SKU name. Possible values include: 'D13_v2',
|
||||
* 'D14_v2', 'L8', 'L16', 'D11_v2', 'D12_v2', 'L4'
|
||||
* @property {number} [sku.capacity] SKU capacity.
|
||||
* @property {string} [state] The state of the resource. Possible values
|
||||
* include: 'Creating', 'Unavailable', 'Running', 'Deleting', 'Deleted',
|
||||
* 'Stopping', 'Stopped', 'Starting'
|
||||
* 'Stopping', 'Stopped', 'Starting', 'Updating'
|
||||
* @property {string} [provisioningState] The provisioned state of the
|
||||
* resource. Possible values include: 'Running', 'Creating', 'Deleting',
|
||||
* 'Succeeded', 'Failed'
|
||||
|
@ -100,14 +99,6 @@ class ClusterUpdate extends models['Resource'] {
|
|||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
sku: {
|
||||
required: false,
|
||||
serializedName: 'sku',
|
||||
|
|
|
@ -0,0 +1,94 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Class representing an data connection.
|
||||
*
|
||||
* @extends models['ProxyResource']
|
||||
*/
|
||||
class DataConnection extends models['ProxyResource'] {
|
||||
/**
|
||||
* Create a DataConnection.
|
||||
* @property {string} [location] Resource location.
|
||||
* @property {string} kind Polymorphic Discriminator
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of DataConnection
|
||||
*
|
||||
* @returns {object} metadata of DataConnection
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'DataConnection',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
polymorphicDiscriminator: {
|
||||
serializedName: 'kind',
|
||||
clientName: 'kind'
|
||||
},
|
||||
uberParent: 'BaseResource',
|
||||
className: 'DataConnection',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
required: false,
|
||||
serializedName: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
kind: {
|
||||
required: true,
|
||||
serializedName: 'kind',
|
||||
isPolymorphicDiscriminator: true,
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = DataConnection;
|
|
@ -11,29 +11,29 @@
|
|||
'use strict';
|
||||
|
||||
/**
|
||||
* The list Kusto event hub connections operation response.
|
||||
* The list Kusto data connections operation response.
|
||||
*/
|
||||
class EventHubConnectionListResult extends Array {
|
||||
class DataConnectionListResult extends Array {
|
||||
/**
|
||||
* Create a EventHubConnectionListResult.
|
||||
* Create a DataConnectionListResult.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of EventHubConnectionListResult
|
||||
* Defines the metadata of DataConnectionListResult
|
||||
*
|
||||
* @returns {object} metadata of EventHubConnectionListResult
|
||||
* @returns {object} metadata of DataConnectionListResult
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'EventHubConnectionListResult',
|
||||
serializedName: 'DataConnectionListResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'EventHubConnectionListResult',
|
||||
className: 'DataConnectionListResult',
|
||||
modelProperties: {
|
||||
value: {
|
||||
required: false,
|
||||
|
@ -42,10 +42,15 @@ class EventHubConnectionListResult extends Array {
|
|||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'EventHubConnectionElementType',
|
||||
serializedName: 'DataConnectionElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'EventHubConnection'
|
||||
polymorphicDiscriminator: {
|
||||
serializedName: 'kind',
|
||||
clientName: 'kind'
|
||||
},
|
||||
uberParent: 'BaseResource',
|
||||
className: 'DataConnection'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -56,4 +61,4 @@ class EventHubConnectionListResult extends Array {
|
|||
}
|
||||
}
|
||||
|
||||
module.exports = EventHubConnectionListResult;
|
||||
module.exports = DataConnectionListResult;
|
|
@ -0,0 +1,69 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Class representing an data connection validation.
|
||||
*
|
||||
*/
|
||||
class DataConnectionValidation {
|
||||
/**
|
||||
* Create a DataConnectionValidation.
|
||||
* @property {string} [dataConnectionName] The name of the data connection.
|
||||
* @property {object} [properties] The data connection properties to
|
||||
* validate.
|
||||
* @property {string} [properties.location] Resource location.
|
||||
* @property {string} [properties.kind] Polymorphic Discriminator
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of DataConnectionValidation
|
||||
*
|
||||
* @returns {object} metadata of DataConnectionValidation
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'DataConnectionValidation',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'DataConnectionValidation',
|
||||
modelProperties: {
|
||||
dataConnectionName: {
|
||||
required: false,
|
||||
serializedName: 'dataConnectionName',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
properties: {
|
||||
required: false,
|
||||
serializedName: 'properties',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
polymorphicDiscriminator: {
|
||||
serializedName: 'kind',
|
||||
clientName: 'kind'
|
||||
},
|
||||
uberParent: 'BaseResource',
|
||||
className: 'DataConnection'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = DataConnectionValidation;
|
|
@ -11,31 +11,31 @@
|
|||
'use strict';
|
||||
|
||||
/**
|
||||
* The list Kusto event hub connection validation result.
|
||||
* The list Kusto data connection validation result.
|
||||
*
|
||||
*/
|
||||
class EventHubConnectionValidationListResult {
|
||||
class DataConnectionValidationListResult {
|
||||
/**
|
||||
* Create a EventHubConnectionValidationListResult.
|
||||
* @property {array} [value] The list of Kusto event hub connection
|
||||
* validation errors.
|
||||
* Create a DataConnectionValidationListResult.
|
||||
* @property {array} [value] The list of Kusto data connection validation
|
||||
* errors.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of EventHubConnectionValidationListResult
|
||||
* Defines the metadata of DataConnectionValidationListResult
|
||||
*
|
||||
* @returns {object} metadata of EventHubConnectionValidationListResult
|
||||
* @returns {object} metadata of DataConnectionValidationListResult
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'EventHubConnectionValidationListResult',
|
||||
serializedName: 'DataConnectionValidationListResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'EventHubConnectionValidationListResult',
|
||||
className: 'DataConnectionValidationListResult',
|
||||
modelProperties: {
|
||||
value: {
|
||||
required: false,
|
||||
|
@ -44,10 +44,10 @@ class EventHubConnectionValidationListResult {
|
|||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'EventHubConnectionValidationResultElementType',
|
||||
serializedName: 'DataConnectionValidationResultElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'EventHubConnectionValidationResult'
|
||||
className: 'DataConnectionValidationResult'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -58,4 +58,4 @@ class EventHubConnectionValidationListResult {
|
|||
}
|
||||
}
|
||||
|
||||
module.exports = EventHubConnectionValidationListResult;
|
||||
module.exports = DataConnectionValidationListResult;
|
|
@ -11,30 +11,31 @@
|
|||
'use strict';
|
||||
|
||||
/**
|
||||
* Class representing a EventHubConnectionValidationResult.
|
||||
* The result returned from a data connection validation request.
|
||||
*
|
||||
*/
|
||||
class EventHubConnectionValidationResult {
|
||||
class DataConnectionValidationResult {
|
||||
/**
|
||||
* Create a EventHubConnectionValidationResult.
|
||||
* Create a DataConnectionValidationResult.
|
||||
* @property {string} [errorMessage] A message which indicates a problem in
|
||||
* event hub connection validation.
|
||||
* data connection validation.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of EventHubConnectionValidationResult
|
||||
* Defines the metadata of DataConnectionValidationResult
|
||||
*
|
||||
* @returns {object} metadata of EventHubConnectionValidationResult
|
||||
* @returns {object} metadata of DataConnectionValidationResult
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'EventHubConnectionValidationResult',
|
||||
serializedName: 'DataConnectionValidationResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'EventHubConnectionValidationResult',
|
||||
className: 'DataConnectionValidationResult',
|
||||
modelProperties: {
|
||||
errorMessage: {
|
||||
required: false,
|
||||
|
@ -49,4 +50,4 @@ class EventHubConnectionValidationResult {
|
|||
}
|
||||
}
|
||||
|
||||
module.exports = EventHubConnectionValidationResult;
|
||||
module.exports = DataConnectionValidationResult;
|
|
@ -15,19 +15,19 @@ const models = require('./index');
|
|||
/**
|
||||
* Class representing a Kusto database.
|
||||
*
|
||||
* @extends models['TrackedResource']
|
||||
* @extends models['ProxyResource']
|
||||
*/
|
||||
class Database extends models['TrackedResource'] {
|
||||
class Database extends models['ProxyResource'] {
|
||||
/**
|
||||
* Create a Database.
|
||||
* @property {string} [etag] An ETag of the resource created.
|
||||
* @property {string} [location] Resource location.
|
||||
* @property {string} [provisioningState] The provisioned state of the
|
||||
* resource. Possible values include: 'Running', 'Creating', 'Deleting',
|
||||
* 'Succeeded', 'Failed'
|
||||
* @property {number} softDeletePeriodInDays The number of days data should
|
||||
* be kept before it stops being accessible to queries.
|
||||
* @property {number} [hotCachePeriodInDays] The number of days of data that
|
||||
* should be kept in cache for fast queries.
|
||||
* @property {moment.duration} [softDeletePeriod] The time the data should be
|
||||
* kept before it stops being accessible to queries in TimeSpan.
|
||||
* @property {moment.duration} [hotCachePeriod] The time the data that should
|
||||
* be kept in cache for fast queries in TimeSpan.
|
||||
* @property {object} [statistics] The statistics of the database.
|
||||
* @property {number} [statistics.size] The database size - the total size of
|
||||
* compressed data and index in bytes.
|
||||
|
@ -74,31 +74,9 @@ class Database extends models['TrackedResource'] {
|
|||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
required: false,
|
||||
serializedName: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
location: {
|
||||
required: true,
|
||||
serializedName: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'etag',
|
||||
serializedName: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
|
@ -111,18 +89,18 @@ class Database extends models['TrackedResource'] {
|
|||
name: 'String'
|
||||
}
|
||||
},
|
||||
softDeletePeriodInDays: {
|
||||
required: true,
|
||||
serializedName: 'properties.softDeletePeriodInDays',
|
||||
softDeletePeriod: {
|
||||
required: false,
|
||||
serializedName: 'properties.softDeletePeriod',
|
||||
type: {
|
||||
name: 'Number'
|
||||
name: 'TimeSpan'
|
||||
}
|
||||
},
|
||||
hotCachePeriodInDays: {
|
||||
hotCachePeriod: {
|
||||
required: false,
|
||||
serializedName: 'properties.hotCachePeriodInDays',
|
||||
serializedName: 'properties.hotCachePeriod',
|
||||
type: {
|
||||
name: 'Number'
|
||||
name: 'TimeSpan'
|
||||
}
|
||||
},
|
||||
statistics: {
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
'use strict';
|
||||
|
||||
/**
|
||||
* Class representing a DatabaseCheckNameRequest.
|
||||
* The result returned from a database check name availability request.
|
||||
*
|
||||
*/
|
||||
class DatabaseCheckNameRequest {
|
||||
/**
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
'use strict';
|
||||
|
||||
/**
|
||||
* Class representing a DatabasePrincipal.
|
||||
* A class representing database principal entity.
|
||||
*
|
||||
*/
|
||||
class DatabasePrincipal {
|
||||
/**
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
'use strict';
|
||||
|
||||
/**
|
||||
* Class representing a DatabaseStatistics.
|
||||
* A class that contains database statistics information.
|
||||
*
|
||||
*/
|
||||
class DatabaseStatistics {
|
||||
/**
|
||||
|
|
|
@ -21,14 +21,13 @@ class DatabaseUpdate extends models['Resource'] {
|
|||
/**
|
||||
* Create a DatabaseUpdate.
|
||||
* @property {string} [location] Resource location.
|
||||
* @property {string} [etag] An ETag of the resource updated.
|
||||
* @property {string} [provisioningState] The provisioned state of the
|
||||
* resource. Possible values include: 'Running', 'Creating', 'Deleting',
|
||||
* 'Succeeded', 'Failed'
|
||||
* @property {number} softDeletePeriodInDays The number of days data should
|
||||
* be kept before it stops being accessible to queries.
|
||||
* @property {number} [hotCachePeriodInDays] The number of days of data that
|
||||
* should be kept in cache for fast queries.
|
||||
* @property {moment.duration} [softDeletePeriod] The time the data should be
|
||||
* kept before it stops being accessible to queries in TimeSpan.
|
||||
* @property {moment.duration} [hotCachePeriod] The time the data that should
|
||||
* be kept in cache for fast queries in TimeSpan.
|
||||
* @property {object} [statistics] The statistics of the database.
|
||||
* @property {number} [statistics.size] The database size - the total size of
|
||||
* compressed data and index in bytes.
|
||||
|
@ -82,14 +81,6 @@ class DatabaseUpdate extends models['Resource'] {
|
|||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
|
@ -98,18 +89,18 @@ class DatabaseUpdate extends models['Resource'] {
|
|||
name: 'String'
|
||||
}
|
||||
},
|
||||
softDeletePeriodInDays: {
|
||||
required: true,
|
||||
serializedName: 'properties.softDeletePeriodInDays',
|
||||
softDeletePeriod: {
|
||||
required: false,
|
||||
serializedName: 'properties.softDeletePeriod',
|
||||
type: {
|
||||
name: 'Number'
|
||||
name: 'TimeSpan'
|
||||
}
|
||||
},
|
||||
hotCachePeriodInDays: {
|
||||
hotCachePeriod: {
|
||||
required: false,
|
||||
serializedName: 'properties.hotCachePeriodInDays',
|
||||
serializedName: 'properties.hotCachePeriod',
|
||||
type: {
|
||||
name: 'Number'
|
||||
name: 'TimeSpan'
|
||||
}
|
||||
},
|
||||
statistics: {
|
||||
|
|
|
@ -13,42 +13,49 @@
|
|||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Class representing an update to event hub connection.
|
||||
* Class representing an Event Grid data connection.
|
||||
*
|
||||
* @extends models['ProxyResource']
|
||||
* @extends models['DataConnection']
|
||||
*/
|
||||
class EventHubConnectionUpdate extends models['ProxyResource'] {
|
||||
class EventGridDataConnection extends models['DataConnection'] {
|
||||
/**
|
||||
* Create a EventHubConnectionUpdate.
|
||||
* @property {string} [location] Resource location.
|
||||
* @property {string} eventHubResourceId The resource ID of the event hub to
|
||||
* be used to create a data connection.
|
||||
* Create a EventGridDataConnection.
|
||||
* @property {string} storageAccountResourceId The resource ID of the storage
|
||||
* account where the data resides.
|
||||
* @property {string} eventHubResourceId The resource ID where the event grid
|
||||
* is configured to send events.
|
||||
* @property {string} consumerGroup The event hub consumer group.
|
||||
* @property {string} [tableName] The table where the data should be
|
||||
* ingested. Optionally the table information can be added to each message.
|
||||
* @property {string} tableName The table where the data should be ingested.
|
||||
* Optionally the table information can be added to each message.
|
||||
* @property {string} [mappingRuleName] The mapping rule to be used to ingest
|
||||
* the data. Optionally the mapping information can be added to each message.
|
||||
* @property {string} [dataFormat] The data format of the message. Optionally
|
||||
* @property {string} dataFormat The data format of the message. Optionally
|
||||
* the data format can be added to each message. Possible values include:
|
||||
* 'MULTIJSON', 'JSON', 'CSV'
|
||||
* 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT', 'RAW',
|
||||
* 'SINGLEJSON', 'AVRO'
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of EventHubConnectionUpdate
|
||||
* Defines the metadata of EventGridDataConnection
|
||||
*
|
||||
* @returns {object} metadata of EventHubConnectionUpdate
|
||||
* @returns {object} metadata of EventGridDataConnection
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'EventHubConnectionUpdate',
|
||||
serializedName: 'EventGrid',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'EventHubConnectionUpdate',
|
||||
polymorphicDiscriminator: {
|
||||
serializedName: 'kind',
|
||||
clientName: 'kind'
|
||||
},
|
||||
uberParent: 'BaseResource',
|
||||
className: 'EventGridDataConnection',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
|
@ -81,6 +88,21 @@ class EventHubConnectionUpdate extends models['ProxyResource'] {
|
|||
name: 'String'
|
||||
}
|
||||
},
|
||||
kind: {
|
||||
required: true,
|
||||
serializedName: 'kind',
|
||||
isPolymorphicDiscriminator: true,
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
storageAccountResourceId: {
|
||||
required: true,
|
||||
serializedName: 'properties.storageAccountResourceId',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
eventHubResourceId: {
|
||||
required: true,
|
||||
serializedName: 'properties.eventHubResourceId',
|
||||
|
@ -96,7 +118,7 @@ class EventHubConnectionUpdate extends models['ProxyResource'] {
|
|||
}
|
||||
},
|
||||
tableName: {
|
||||
required: false,
|
||||
required: true,
|
||||
serializedName: 'properties.tableName',
|
||||
type: {
|
||||
name: 'String'
|
||||
|
@ -110,7 +132,7 @@ class EventHubConnectionUpdate extends models['ProxyResource'] {
|
|||
}
|
||||
},
|
||||
dataFormat: {
|
||||
required: false,
|
||||
required: true,
|
||||
serializedName: 'properties.dataFormat',
|
||||
type: {
|
||||
name: 'String'
|
||||
|
@ -122,4 +144,4 @@ class EventHubConnectionUpdate extends models['ProxyResource'] {
|
|||
}
|
||||
}
|
||||
|
||||
module.exports = EventHubConnectionUpdate;
|
||||
module.exports = EventGridDataConnection;
|
|
@ -1,98 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Class representing an event hub connection validation.
|
||||
*
|
||||
*/
|
||||
class EventHubConnectionValidation {
|
||||
/**
|
||||
* Create a EventHubConnectionValidation.
|
||||
* @property {string} [eventhubConnectionName] The name of the event hub
|
||||
* connection.
|
||||
* @property {string} eventHubResourceId The resource ID of the event hub to
|
||||
* be used to create a data connection.
|
||||
* @property {string} consumerGroup The event hub consumer group.
|
||||
* @property {string} [tableName] The table where the data should be
|
||||
* ingested. Optionally the table information can be added to each message.
|
||||
* @property {string} [mappingRuleName] The mapping rule to be used to ingest
|
||||
* the data. Optionally the mapping information can be added to each message.
|
||||
* @property {string} [dataFormat] The data format of the message. Optionally
|
||||
* the data format can be added to each message. Possible values include:
|
||||
* 'MULTIJSON', 'JSON', 'CSV'
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of EventHubConnectionValidation
|
||||
*
|
||||
* @returns {object} metadata of EventHubConnectionValidation
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'EventHubConnectionValidation',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'EventHubConnectionValidation',
|
||||
modelProperties: {
|
||||
eventhubConnectionName: {
|
||||
required: false,
|
||||
serializedName: 'eventhubConnectionName',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
eventHubResourceId: {
|
||||
required: true,
|
||||
serializedName: 'properties.eventHubResourceId',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
consumerGroup: {
|
||||
required: true,
|
||||
serializedName: 'properties.consumerGroup',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tableName: {
|
||||
required: false,
|
||||
serializedName: 'properties.tableName',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
mappingRuleName: {
|
||||
required: false,
|
||||
serializedName: 'properties.mappingRuleName',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
dataFormat: {
|
||||
required: false,
|
||||
serializedName: 'properties.dataFormat',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = EventHubConnectionValidation;
|
|
@ -13,14 +13,13 @@
|
|||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Class representing an event hub connection.
|
||||
* Class representing an event hub data connection.
|
||||
*
|
||||
* @extends models['ProxyResource']
|
||||
* @extends models['DataConnection']
|
||||
*/
|
||||
class EventHubConnection extends models['ProxyResource'] {
|
||||
class EventHubDataConnection extends models['DataConnection'] {
|
||||
/**
|
||||
* Create a EventHubConnection.
|
||||
* @property {string} [location] Resource location.
|
||||
* Create a EventHubDataConnection.
|
||||
* @property {string} eventHubResourceId The resource ID of the event hub to
|
||||
* be used to create a data connection.
|
||||
* @property {string} consumerGroup The event hub consumer group.
|
||||
|
@ -30,25 +29,31 @@ class EventHubConnection extends models['ProxyResource'] {
|
|||
* the data. Optionally the mapping information can be added to each message.
|
||||
* @property {string} [dataFormat] The data format of the message. Optionally
|
||||
* the data format can be added to each message. Possible values include:
|
||||
* 'MULTIJSON', 'JSON', 'CSV'
|
||||
* 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT', 'RAW',
|
||||
* 'SINGLEJSON', 'AVRO'
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of EventHubConnection
|
||||
* Defines the metadata of EventHubDataConnection
|
||||
*
|
||||
* @returns {object} metadata of EventHubConnection
|
||||
* @returns {object} metadata of EventHubDataConnection
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'EventHubConnection',
|
||||
serializedName: 'EventHub',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'EventHubConnection',
|
||||
polymorphicDiscriminator: {
|
||||
serializedName: 'kind',
|
||||
clientName: 'kind'
|
||||
},
|
||||
uberParent: 'BaseResource',
|
||||
className: 'EventHubDataConnection',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
|
@ -81,6 +86,14 @@ class EventHubConnection extends models['ProxyResource'] {
|
|||
name: 'String'
|
||||
}
|
||||
},
|
||||
kind: {
|
||||
required: true,
|
||||
serializedName: 'kind',
|
||||
isPolymorphicDiscriminator: true,
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
eventHubResourceId: {
|
||||
required: true,
|
||||
serializedName: 'properties.eventHubResourceId',
|
||||
|
@ -122,4 +135,4 @@ class EventHubConnection extends models['ProxyResource'] {
|
|||
}
|
||||
}
|
||||
|
||||
module.exports = EventHubConnection;
|
||||
module.exports = EventHubDataConnection;
|
|
@ -15,99 +15,80 @@ export {
|
|||
CloudError
|
||||
};
|
||||
|
||||
/**
|
||||
* Represents a tenant ID that is trusted by the cluster.
|
||||
*/
|
||||
export interface TrustedExternalTenant {
|
||||
/**
|
||||
* GUID representing an external tenant.
|
||||
*/
|
||||
*/
|
||||
value?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Azure SKU definition.
|
||||
*/
|
||||
export interface AzureSku {
|
||||
/**
|
||||
* SKU name. Possible values include: 'KC8', 'KC16', 'KS8', 'KS16', 'D13_v2', 'D14_v2', 'L8',
|
||||
* 'L16'
|
||||
*/
|
||||
* SKU name. Possible values include: 'D13_v2', 'D14_v2', 'L8', 'L16', 'D11_v2', 'D12_v2', 'L4'
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* SKU capacity.
|
||||
*/
|
||||
*/
|
||||
capacity?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Azure capacity definition.
|
||||
*/
|
||||
export interface AzureCapacity {
|
||||
/**
|
||||
* Scale type. Possible values include: 'automatic', 'manual', 'none'
|
||||
*/
|
||||
*/
|
||||
scaleType: string;
|
||||
/**
|
||||
* Minimum allowed capacity.
|
||||
*/
|
||||
*/
|
||||
minimum: number;
|
||||
/**
|
||||
* Maximum allowed capacity.
|
||||
*/
|
||||
*/
|
||||
maximum: number;
|
||||
/**
|
||||
* The default capacity that would be used.
|
||||
*/
|
||||
*/
|
||||
default: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Azure resource SKU definition.
|
||||
*/
|
||||
export interface AzureResourceSku {
|
||||
/**
|
||||
* Resource Namespace and Type.
|
||||
*/
|
||||
*/
|
||||
resourceType?: string;
|
||||
/**
|
||||
* The SKU details.
|
||||
*/
|
||||
*/
|
||||
sku?: AzureSku;
|
||||
/**
|
||||
* The SKU capacity.
|
||||
*/
|
||||
*/
|
||||
capacity?: AzureCapacity;
|
||||
}
|
||||
|
||||
/**
|
||||
* A class that contains database statistics information.
|
||||
*/
|
||||
export interface DatabaseStatistics {
|
||||
/**
|
||||
* The database size - the total size of compressed data and index in bytes.
|
||||
*/
|
||||
*/
|
||||
size?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Class representing an event hub connection validation.
|
||||
*/
|
||||
export interface EventHubConnectionValidation {
|
||||
/**
|
||||
* The name of the event hub connection.
|
||||
*/
|
||||
eventhubConnectionName?: string;
|
||||
/**
|
||||
* The resource ID of the event hub to be used to create a data connection.
|
||||
*/
|
||||
eventHubResourceId: string;
|
||||
/**
|
||||
* The event hub consumer group.
|
||||
*/
|
||||
consumerGroup: string;
|
||||
/**
|
||||
* The table where the data should be ingested. Optionally the table information can be added to
|
||||
* each message.
|
||||
*/
|
||||
tableName?: string;
|
||||
/**
|
||||
* The mapping rule to be used to ingest the data. Optionally the mapping information can be
|
||||
* added to each message.
|
||||
*/
|
||||
mappingRuleName?: string;
|
||||
/**
|
||||
* The data format of the message. Optionally the data format can be added to each message.
|
||||
* Possible values include: 'MULTIJSON', 'JSON', 'CSV'
|
||||
*/
|
||||
dataFormat?: string;
|
||||
}
|
||||
|
||||
export interface Resource extends BaseResource {
|
||||
/**
|
||||
* Fully qualified resource Id for the resource. Ex -
|
||||
|
@ -143,17 +124,13 @@ export interface TrackedResource extends Resource {
|
|||
* Class representing a Kusto cluster.
|
||||
*/
|
||||
export interface Cluster extends TrackedResource {
|
||||
/**
|
||||
* An ETag of the resource created.
|
||||
*/
|
||||
readonly etag?: string;
|
||||
/**
|
||||
* The SKU of the cluster.
|
||||
*/
|
||||
sku: AzureSku;
|
||||
/**
|
||||
* The state of the resource. Possible values include: 'Creating', 'Unavailable', 'Running',
|
||||
* 'Deleting', 'Deleted', 'Stopping', 'Stopped', 'Starting'
|
||||
* 'Deleting', 'Deleted', 'Stopping', 'Stopped', 'Starting', 'Updating'
|
||||
*/
|
||||
readonly state?: string;
|
||||
/**
|
||||
|
@ -187,17 +164,13 @@ export interface ClusterUpdate extends Resource {
|
|||
* Resource location.
|
||||
*/
|
||||
location?: string;
|
||||
/**
|
||||
* An ETag of the resource updated.
|
||||
*/
|
||||
readonly etag?: string;
|
||||
/**
|
||||
* The SKU of the cluster.
|
||||
*/
|
||||
sku?: AzureSku;
|
||||
/**
|
||||
* The state of the resource. Possible values include: 'Creating', 'Unavailable', 'Running',
|
||||
* 'Deleting', 'Deleted', 'Stopping', 'Stopped', 'Starting'
|
||||
* 'Deleting', 'Deleted', 'Stopping', 'Stopped', 'Starting', 'Updating'
|
||||
*/
|
||||
readonly state?: string;
|
||||
/**
|
||||
|
@ -219,27 +192,34 @@ export interface ClusterUpdate extends Resource {
|
|||
trustedExternalTenants?: TrustedExternalTenant[];
|
||||
}
|
||||
|
||||
/**
|
||||
* The resource model definition for a ARM proxy resource. It will have everything other than
|
||||
* required location and tags
|
||||
*/
|
||||
export interface ProxyResource extends Resource {
|
||||
}
|
||||
|
||||
/**
|
||||
* Class representing a Kusto database.
|
||||
*/
|
||||
export interface Database extends TrackedResource {
|
||||
export interface Database extends ProxyResource {
|
||||
/**
|
||||
* An ETag of the resource created.
|
||||
* Resource location.
|
||||
*/
|
||||
readonly etag?: string;
|
||||
location?: string;
|
||||
/**
|
||||
* The provisioned state of the resource. Possible values include: 'Running', 'Creating',
|
||||
* 'Deleting', 'Succeeded', 'Failed'
|
||||
*/
|
||||
readonly provisioningState?: string;
|
||||
/**
|
||||
* The number of days data should be kept before it stops being accessible to queries.
|
||||
* The time the data should be kept before it stops being accessible to queries in TimeSpan.
|
||||
*/
|
||||
softDeletePeriodInDays: number;
|
||||
softDeletePeriod?: moment.Duration;
|
||||
/**
|
||||
* The number of days of data that should be kept in cache for fast queries.
|
||||
* The time the data that should be kept in cache for fast queries in TimeSpan.
|
||||
*/
|
||||
hotCachePeriodInDays?: number;
|
||||
hotCachePeriod?: moment.Duration;
|
||||
/**
|
||||
* The statistics of the database.
|
||||
*/
|
||||
|
@ -254,29 +234,28 @@ export interface DatabaseUpdate extends Resource {
|
|||
* Resource location.
|
||||
*/
|
||||
location?: string;
|
||||
/**
|
||||
* An ETag of the resource updated.
|
||||
*/
|
||||
readonly etag?: string;
|
||||
/**
|
||||
* The provisioned state of the resource. Possible values include: 'Running', 'Creating',
|
||||
* 'Deleting', 'Succeeded', 'Failed'
|
||||
*/
|
||||
readonly provisioningState?: string;
|
||||
/**
|
||||
* The number of days data should be kept before it stops being accessible to queries.
|
||||
* The time the data should be kept before it stops being accessible to queries in TimeSpan.
|
||||
*/
|
||||
softDeletePeriodInDays: number;
|
||||
softDeletePeriod?: moment.Duration;
|
||||
/**
|
||||
* The number of days of data that should be kept in cache for fast queries.
|
||||
* The time the data that should be kept in cache for fast queries in TimeSpan.
|
||||
*/
|
||||
hotCachePeriodInDays?: number;
|
||||
hotCachePeriod?: moment.Duration;
|
||||
/**
|
||||
* The statistics of the database.
|
||||
*/
|
||||
statistics?: DatabaseStatistics;
|
||||
}
|
||||
|
||||
/**
|
||||
* A class representing database principal entity.
|
||||
*/
|
||||
export interface DatabasePrincipal {
|
||||
/**
|
||||
* Database principal role. Possible values include: 'Admin', 'Ingestor', 'Monitor', 'User',
|
||||
|
@ -306,81 +285,25 @@ export interface DatabasePrincipal {
|
|||
}
|
||||
|
||||
/**
|
||||
* The resource model definition for a ARM proxy resource. It will have everything other than
|
||||
* required location and tags
|
||||
* Class representing an data connection.
|
||||
*/
|
||||
export interface ProxyResource extends Resource {
|
||||
}
|
||||
|
||||
/**
|
||||
* Class representing an update to event hub connection.
|
||||
*/
|
||||
export interface EventHubConnectionUpdate extends ProxyResource {
|
||||
export interface DataConnection extends ProxyResource {
|
||||
/**
|
||||
* Resource location.
|
||||
*/
|
||||
location?: string;
|
||||
/**
|
||||
* The resource ID of the event hub to be used to create a data connection.
|
||||
* Polymorphic Discriminator
|
||||
*/
|
||||
eventHubResourceId: string;
|
||||
/**
|
||||
* The event hub consumer group.
|
||||
*/
|
||||
consumerGroup: string;
|
||||
/**
|
||||
* The table where the data should be ingested. Optionally the table information can be added to
|
||||
* each message.
|
||||
*/
|
||||
tableName?: string;
|
||||
/**
|
||||
* The mapping rule to be used to ingest the data. Optionally the mapping information can be
|
||||
* added to each message.
|
||||
*/
|
||||
mappingRuleName?: string;
|
||||
/**
|
||||
* The data format of the message. Optionally the data format can be added to each message.
|
||||
* Possible values include: 'MULTIJSON', 'JSON', 'CSV'
|
||||
*/
|
||||
dataFormat?: string;
|
||||
kind: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Class representing an event hub connection.
|
||||
* The result returned from a data connection validation request.
|
||||
*/
|
||||
export interface EventHubConnection extends ProxyResource {
|
||||
export interface DataConnectionValidationResult {
|
||||
/**
|
||||
* Resource location.
|
||||
*/
|
||||
location?: string;
|
||||
/**
|
||||
* The resource ID of the event hub to be used to create a data connection.
|
||||
*/
|
||||
eventHubResourceId: string;
|
||||
/**
|
||||
* The event hub consumer group.
|
||||
*/
|
||||
consumerGroup: string;
|
||||
/**
|
||||
* The table where the data should be ingested. Optionally the table information can be added to
|
||||
* each message.
|
||||
*/
|
||||
tableName?: string;
|
||||
/**
|
||||
* The mapping rule to be used to ingest the data. Optionally the mapping information can be
|
||||
* added to each message.
|
||||
*/
|
||||
mappingRuleName?: string;
|
||||
/**
|
||||
* The data format of the message. Optionally the data format can be added to each message.
|
||||
* Possible values include: 'MULTIJSON', 'JSON', 'CSV'
|
||||
*/
|
||||
dataFormat?: string;
|
||||
}
|
||||
|
||||
export interface EventHubConnectionValidationResult {
|
||||
/**
|
||||
* A message which indicates a problem in event hub connection validation.
|
||||
* A message which indicates a problem in data connection validation.
|
||||
*/
|
||||
errorMessage?: string;
|
||||
}
|
||||
|
@ -396,15 +319,96 @@ export interface DatabasePrincipalListRequest {
|
|||
}
|
||||
|
||||
/**
|
||||
* The list Kusto event hub connection validation result.
|
||||
* Class representing an data connection validation.
|
||||
*/
|
||||
export interface EventHubConnectionValidationListResult {
|
||||
export interface DataConnectionValidation {
|
||||
/**
|
||||
* The list of Kusto event hub connection validation errors.
|
||||
* The name of the data connection.
|
||||
*/
|
||||
value?: EventHubConnectionValidationResult[];
|
||||
dataConnectionName?: string;
|
||||
/**
|
||||
* The data connection properties to validate.
|
||||
*/
|
||||
properties?: DataConnection;
|
||||
}
|
||||
|
||||
/**
|
||||
* Class representing an event hub data connection.
|
||||
*/
|
||||
export interface EventHubDataConnection extends DataConnection {
|
||||
/**
|
||||
* The resource ID of the event hub to be used to create a data connection.
|
||||
*/
|
||||
eventHubResourceId: string;
|
||||
/**
|
||||
* The event hub consumer group.
|
||||
*/
|
||||
consumerGroup: string;
|
||||
/**
|
||||
* The table where the data should be ingested. Optionally the table information can be added to
|
||||
* each message.
|
||||
*/
|
||||
tableName?: string;
|
||||
/**
|
||||
* The mapping rule to be used to ingest the data. Optionally the mapping information can be
|
||||
* added to each message.
|
||||
*/
|
||||
mappingRuleName?: string;
|
||||
/**
|
||||
* The data format of the message. Optionally the data format can be added to each message.
|
||||
* Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT',
|
||||
* 'RAW', 'SINGLEJSON', 'AVRO'
|
||||
*/
|
||||
dataFormat?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Class representing an Event Grid data connection.
|
||||
*/
|
||||
export interface EventGridDataConnection extends DataConnection {
|
||||
/**
|
||||
* The resource ID of the storage account where the data resides.
|
||||
*/
|
||||
storageAccountResourceId: string;
|
||||
/**
|
||||
* The resource ID where the event grid is configured to send events.
|
||||
*/
|
||||
eventHubResourceId: string;
|
||||
/**
|
||||
* The event hub consumer group.
|
||||
*/
|
||||
consumerGroup: string;
|
||||
/**
|
||||
* The table where the data should be ingested. Optionally the table information can be added to
|
||||
* each message.
|
||||
*/
|
||||
tableName: string;
|
||||
/**
|
||||
* The mapping rule to be used to ingest the data. Optionally the mapping information can be
|
||||
* added to each message.
|
||||
*/
|
||||
mappingRuleName?: string;
|
||||
/**
|
||||
* The data format of the message. Optionally the data format can be added to each message.
|
||||
* Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT',
|
||||
* 'RAW', 'SINGLEJSON', 'AVRO'
|
||||
*/
|
||||
dataFormat: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* The list Kusto data connection validation result.
|
||||
*/
|
||||
export interface DataConnectionValidationListResult {
|
||||
/**
|
||||
* The list of Kusto data connection validation errors.
|
||||
*/
|
||||
value?: DataConnectionValidationResult[];
|
||||
}
|
||||
|
||||
/**
|
||||
* The result returned from a cluster check name availability request.
|
||||
*/
|
||||
export interface ClusterCheckNameRequest {
|
||||
/**
|
||||
* Cluster name.
|
||||
|
@ -412,6 +416,9 @@ export interface ClusterCheckNameRequest {
|
|||
name: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* The result returned from a database check name availability request.
|
||||
*/
|
||||
export interface DatabaseCheckNameRequest {
|
||||
/**
|
||||
* Database name.
|
||||
|
@ -419,6 +426,9 @@ export interface DatabaseCheckNameRequest {
|
|||
name: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* The result returned from a check name availability request.
|
||||
*/
|
||||
export interface CheckNameResult {
|
||||
/**
|
||||
* Specifies a Boolean value that indicates if the name is available.
|
||||
|
@ -522,9 +532,9 @@ export interface DatabasePrincipalListResult extends Array<DatabasePrincipal> {
|
|||
}
|
||||
|
||||
/**
|
||||
* The list Kusto event hub connections operation response.
|
||||
* The list Kusto data connections operation response.
|
||||
*/
|
||||
export interface EventHubConnectionListResult extends Array<EventHubConnection> {
|
||||
export interface DataConnectionListResult extends Array<DataConnection> {
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -23,20 +23,21 @@ exports.AzureSku = require('./azureSku');
|
|||
exports.AzureCapacity = require('./azureCapacity');
|
||||
exports.AzureResourceSku = require('./azureResourceSku');
|
||||
exports.DatabaseStatistics = require('./databaseStatistics');
|
||||
exports.EventHubConnectionValidation = require('./eventHubConnectionValidation');
|
||||
exports.Resource = require('./resource');
|
||||
exports.TrackedResource = require('./trackedResource');
|
||||
exports.Cluster = require('./cluster');
|
||||
exports.ClusterUpdate = require('./clusterUpdate');
|
||||
exports.ProxyResource = require('./proxyResource');
|
||||
exports.Database = require('./database');
|
||||
exports.DatabaseUpdate = require('./databaseUpdate');
|
||||
exports.DatabasePrincipal = require('./databasePrincipal');
|
||||
exports.ProxyResource = require('./proxyResource');
|
||||
exports.EventHubConnectionUpdate = require('./eventHubConnectionUpdate');
|
||||
exports.EventHubConnection = require('./eventHubConnection');
|
||||
exports.EventHubConnectionValidationResult = require('./eventHubConnectionValidationResult');
|
||||
exports.DataConnection = require('./dataConnection');
|
||||
exports.DataConnectionValidationResult = require('./dataConnectionValidationResult');
|
||||
exports.DatabasePrincipalListRequest = require('./databasePrincipalListRequest');
|
||||
exports.EventHubConnectionValidationListResult = require('./eventHubConnectionValidationListResult');
|
||||
exports.DataConnectionValidation = require('./dataConnectionValidation');
|
||||
exports.EventHubDataConnection = require('./eventHubDataConnection');
|
||||
exports.EventGridDataConnection = require('./eventGridDataConnection');
|
||||
exports.DataConnectionValidationListResult = require('./dataConnectionValidationListResult');
|
||||
exports.ClusterCheckNameRequest = require('./clusterCheckNameRequest');
|
||||
exports.DatabaseCheckNameRequest = require('./databaseCheckNameRequest');
|
||||
exports.CheckNameResult = require('./checkNameResult');
|
||||
|
@ -48,5 +49,10 @@ exports.ListSkusResult = require('./listSkusResult');
|
|||
exports.ListResourceSkusResult = require('./listResourceSkusResult');
|
||||
exports.DatabaseListResult = require('./databaseListResult');
|
||||
exports.DatabasePrincipalListResult = require('./databasePrincipalListResult');
|
||||
exports.EventHubConnectionListResult = require('./eventHubConnectionListResult');
|
||||
exports.DataConnectionListResult = require('./dataConnectionListResult');
|
||||
exports.OperationListResult = require('./operationListResult');
|
||||
exports.discriminators = {
|
||||
'BaseResource.DataConnection' : exports.DataConnection,
|
||||
'BaseResource.EventHub' : exports.EventHubDataConnection,
|
||||
'BaseResource.EventGrid' : exports.EventGridDataConnection
|
||||
};
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
'use strict';
|
||||
|
||||
/**
|
||||
* Class representing a TrustedExternalTenant.
|
||||
* Represents a tenant ID that is trusted by the cluster.
|
||||
*
|
||||
*/
|
||||
class TrustedExternalTenant {
|
||||
/**
|
||||
|
|
|
@ -175,7 +175,7 @@ function _get(resourceGroupName, clusterName, options, callback) {
|
|||
* @param {object} parameters.sku The SKU of the cluster.
|
||||
*
|
||||
* @param {string} parameters.sku.name SKU name. Possible values include:
|
||||
* 'KC8', 'KC16', 'KS8', 'KS16', 'D13_v2', 'D14_v2', 'L8', 'L16'
|
||||
* 'D13_v2', 'D14_v2', 'L8', 'L16', 'D11_v2', 'D12_v2', 'L4'
|
||||
*
|
||||
* @param {number} [parameters.sku.capacity] SKU capacity.
|
||||
*
|
||||
|
@ -276,7 +276,7 @@ function _createOrUpdate(resourceGroupName, clusterName, parameters, options, ca
|
|||
* @param {object} [parameters.sku] The SKU of the cluster.
|
||||
*
|
||||
* @param {string} parameters.sku.name SKU name. Possible values include:
|
||||
* 'KC8', 'KC16', 'KS8', 'KS16', 'D13_v2', 'D14_v2', 'L8', 'L16'
|
||||
* 'D13_v2', 'D14_v2', 'L8', 'L16', 'D11_v2', 'D12_v2', 'L4'
|
||||
*
|
||||
* @param {number} [parameters.sku.capacity] SKU capacity.
|
||||
*
|
||||
|
@ -1276,7 +1276,7 @@ function _listSkusByResource(resourceGroupName, clusterName, options, callback)
|
|||
* @param {object} parameters.sku The SKU of the cluster.
|
||||
*
|
||||
* @param {string} parameters.sku.name SKU name. Possible values include:
|
||||
* 'KC8', 'KC16', 'KS8', 'KS16', 'D13_v2', 'D14_v2', 'L8', 'L16'
|
||||
* 'D13_v2', 'D14_v2', 'L8', 'L16', 'D11_v2', 'D12_v2', 'L4'
|
||||
*
|
||||
* @param {number} [parameters.sku.capacity] SKU capacity.
|
||||
*
|
||||
|
@ -1482,7 +1482,7 @@ function _beginCreateOrUpdate(resourceGroupName, clusterName, parameters, option
|
|||
* @param {object} [parameters.sku] The SKU of the cluster.
|
||||
*
|
||||
* @param {string} parameters.sku.name SKU name. Possible values include:
|
||||
* 'KC8', 'KC16', 'KS8', 'KS16', 'D13_v2', 'D14_v2', 'L8', 'L16'
|
||||
* 'D13_v2', 'D14_v2', 'L8', 'L16', 'D11_v2', 'D12_v2', 'L4'
|
||||
*
|
||||
* @param {number} [parameters.sku.capacity] SKU capacity.
|
||||
*
|
||||
|
@ -2177,7 +2177,7 @@ class Clusters {
|
|||
* @param {object} parameters.sku The SKU of the cluster.
|
||||
*
|
||||
* @param {string} parameters.sku.name SKU name. Possible values include:
|
||||
* 'KC8', 'KC16', 'KS8', 'KS16', 'D13_v2', 'D14_v2', 'L8', 'L16'
|
||||
* 'D13_v2', 'D14_v2', 'L8', 'L16', 'D11_v2', 'D12_v2', 'L4'
|
||||
*
|
||||
* @param {number} [parameters.sku.capacity] SKU capacity.
|
||||
*
|
||||
|
@ -2228,7 +2228,7 @@ class Clusters {
|
|||
* @param {object} parameters.sku The SKU of the cluster.
|
||||
*
|
||||
* @param {string} parameters.sku.name SKU name. Possible values include:
|
||||
* 'KC8', 'KC16', 'KS8', 'KS16', 'D13_v2', 'D14_v2', 'L8', 'L16'
|
||||
* 'D13_v2', 'D14_v2', 'L8', 'L16', 'D11_v2', 'D12_v2', 'L4'
|
||||
*
|
||||
* @param {number} [parameters.sku.capacity] SKU capacity.
|
||||
*
|
||||
|
@ -2305,7 +2305,7 @@ class Clusters {
|
|||
* @param {object} [parameters.sku] The SKU of the cluster.
|
||||
*
|
||||
* @param {string} parameters.sku.name SKU name. Possible values include:
|
||||
* 'KC8', 'KC16', 'KS8', 'KS16', 'D13_v2', 'D14_v2', 'L8', 'L16'
|
||||
* 'D13_v2', 'D14_v2', 'L8', 'L16', 'D11_v2', 'D12_v2', 'L4'
|
||||
*
|
||||
* @param {number} [parameters.sku.capacity] SKU capacity.
|
||||
*
|
||||
|
@ -2355,7 +2355,7 @@ class Clusters {
|
|||
* @param {object} [parameters.sku] The SKU of the cluster.
|
||||
*
|
||||
* @param {string} parameters.sku.name SKU name. Possible values include:
|
||||
* 'KC8', 'KC16', 'KS8', 'KS16', 'D13_v2', 'D14_v2', 'L8', 'L16'
|
||||
* 'D13_v2', 'D14_v2', 'L8', 'L16', 'D11_v2', 'D12_v2', 'L4'
|
||||
*
|
||||
* @param {number} [parameters.sku.capacity] SKU capacity.
|
||||
*
|
||||
|
@ -3103,7 +3103,7 @@ class Clusters {
|
|||
* @param {object} parameters.sku The SKU of the cluster.
|
||||
*
|
||||
* @param {string} parameters.sku.name SKU name. Possible values include:
|
||||
* 'KC8', 'KC16', 'KS8', 'KS16', 'D13_v2', 'D14_v2', 'L8', 'L16'
|
||||
* 'D13_v2', 'D14_v2', 'L8', 'L16', 'D11_v2', 'D12_v2', 'L4'
|
||||
*
|
||||
* @param {number} [parameters.sku.capacity] SKU capacity.
|
||||
*
|
||||
|
@ -3154,7 +3154,7 @@ class Clusters {
|
|||
* @param {object} parameters.sku The SKU of the cluster.
|
||||
*
|
||||
* @param {string} parameters.sku.name SKU name. Possible values include:
|
||||
* 'KC8', 'KC16', 'KS8', 'KS16', 'D13_v2', 'D14_v2', 'L8', 'L16'
|
||||
* 'D13_v2', 'D14_v2', 'L8', 'L16', 'D11_v2', 'D12_v2', 'L4'
|
||||
*
|
||||
* @param {number} [parameters.sku.capacity] SKU capacity.
|
||||
*
|
||||
|
@ -3231,7 +3231,7 @@ class Clusters {
|
|||
* @param {object} [parameters.sku] The SKU of the cluster.
|
||||
*
|
||||
* @param {string} parameters.sku.name SKU name. Possible values include:
|
||||
* 'KC8', 'KC16', 'KS8', 'KS16', 'D13_v2', 'D14_v2', 'L8', 'L16'
|
||||
* 'D13_v2', 'D14_v2', 'L8', 'L16', 'D11_v2', 'D12_v2', 'L4'
|
||||
*
|
||||
* @param {number} [parameters.sku.capacity] SKU capacity.
|
||||
*
|
||||
|
@ -3281,7 +3281,7 @@ class Clusters {
|
|||
* @param {object} [parameters.sku] The SKU of the cluster.
|
||||
*
|
||||
* @param {string} parameters.sku.name SKU name. Possible values include:
|
||||
* 'KC8', 'KC16', 'KS8', 'KS16', 'D13_v2', 'D14_v2', 'L8', 'L16'
|
||||
* 'D13_v2', 'D14_v2', 'L8', 'L16', 'D11_v2', 'D12_v2', 'L4'
|
||||
*
|
||||
* @param {number} [parameters.sku.capacity] SKU capacity.
|
||||
*
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -13,6 +13,7 @@
|
|||
const msRest = require('ms-rest');
|
||||
const msRestAzure = require('ms-rest-azure');
|
||||
const WebResource = msRest.WebResource;
|
||||
const moment = require('moment');
|
||||
|
||||
/**
|
||||
* Checks that the database name is valid and is not already in use.
|
||||
|
@ -497,22 +498,19 @@ function _get(resourceGroupName, clusterName, databaseName, options, callback) {
|
|||
* @param {object} parameters The database parameters supplied to the
|
||||
* CreateOrUpdate operation.
|
||||
*
|
||||
* @param {number} parameters.softDeletePeriodInDays The number of days data
|
||||
* should be kept before it stops being accessible to queries.
|
||||
* @param {string} [parameters.location] Resource location.
|
||||
*
|
||||
* @param {number} [parameters.hotCachePeriodInDays] The number of days of data
|
||||
* that should be kept in cache for fast queries.
|
||||
* @param {moment.duration} [parameters.softDeletePeriod] The time the data
|
||||
* should be kept before it stops being accessible to queries in TimeSpan.
|
||||
*
|
||||
* @param {moment.duration} [parameters.hotCachePeriod] The time the data that
|
||||
* should be kept in cache for fast queries in TimeSpan.
|
||||
*
|
||||
* @param {object} [parameters.statistics] The statistics of the database.
|
||||
*
|
||||
* @param {number} [parameters.statistics.size] The database size - the total
|
||||
* size of compressed data and index in bytes.
|
||||
*
|
||||
* @param {object} [parameters.tags] Resource tags.
|
||||
*
|
||||
* @param {string} parameters.location The geo-location where the resource
|
||||
* lives
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
* @param {object} [options.customHeaders] Headers that will be added to the
|
||||
|
@ -599,11 +597,11 @@ function _createOrUpdate(resourceGroupName, clusterName, databaseName, parameter
|
|||
*
|
||||
* @param {string} [parameters.location] Resource location.
|
||||
*
|
||||
* @param {number} parameters.softDeletePeriodInDays The number of days data
|
||||
* should be kept before it stops being accessible to queries.
|
||||
* @param {moment.duration} [parameters.softDeletePeriod] The time the data
|
||||
* should be kept before it stops being accessible to queries in TimeSpan.
|
||||
*
|
||||
* @param {number} [parameters.hotCachePeriodInDays] The number of days of data
|
||||
* that should be kept in cache for fast queries.
|
||||
* @param {moment.duration} [parameters.hotCachePeriod] The time the data that
|
||||
* should be kept in cache for fast queries in TimeSpan.
|
||||
*
|
||||
* @param {object} [parameters.statistics] The statistics of the database.
|
||||
*
|
||||
|
@ -1264,22 +1262,19 @@ function _removePrincipals(resourceGroupName, clusterName, databaseName, databas
|
|||
* @param {object} parameters The database parameters supplied to the
|
||||
* CreateOrUpdate operation.
|
||||
*
|
||||
* @param {number} parameters.softDeletePeriodInDays The number of days data
|
||||
* should be kept before it stops being accessible to queries.
|
||||
* @param {string} [parameters.location] Resource location.
|
||||
*
|
||||
* @param {number} [parameters.hotCachePeriodInDays] The number of days of data
|
||||
* that should be kept in cache for fast queries.
|
||||
* @param {moment.duration} [parameters.softDeletePeriod] The time the data
|
||||
* should be kept before it stops being accessible to queries in TimeSpan.
|
||||
*
|
||||
* @param {moment.duration} [parameters.hotCachePeriod] The time the data that
|
||||
* should be kept in cache for fast queries in TimeSpan.
|
||||
*
|
||||
* @param {object} [parameters.statistics] The statistics of the database.
|
||||
*
|
||||
* @param {number} [parameters.statistics.size] The database size - the total
|
||||
* size of compressed data and index in bytes.
|
||||
*
|
||||
* @param {object} [parameters.tags] Resource tags.
|
||||
*
|
||||
* @param {string} parameters.location The geo-location where the resource
|
||||
* lives
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
* @param {object} [options.customHeaders] Headers that will be added to the
|
||||
|
@ -1471,11 +1466,11 @@ function _beginCreateOrUpdate(resourceGroupName, clusterName, databaseName, para
|
|||
*
|
||||
* @param {string} [parameters.location] Resource location.
|
||||
*
|
||||
* @param {number} parameters.softDeletePeriodInDays The number of days data
|
||||
* should be kept before it stops being accessible to queries.
|
||||
* @param {moment.duration} [parameters.softDeletePeriod] The time the data
|
||||
* should be kept before it stops being accessible to queries in TimeSpan.
|
||||
*
|
||||
* @param {number} [parameters.hotCachePeriodInDays] The number of days of data
|
||||
* that should be kept in cache for fast queries.
|
||||
* @param {moment.duration} [parameters.hotCachePeriod] The time the data that
|
||||
* should be kept in cache for fast queries in TimeSpan.
|
||||
*
|
||||
* @param {object} [parameters.statistics] The statistics of the database.
|
||||
*
|
||||
|
@ -2103,22 +2098,19 @@ class Databases {
|
|||
* @param {object} parameters The database parameters supplied to the
|
||||
* CreateOrUpdate operation.
|
||||
*
|
||||
* @param {number} parameters.softDeletePeriodInDays The number of days data
|
||||
* should be kept before it stops being accessible to queries.
|
||||
* @param {string} [parameters.location] Resource location.
|
||||
*
|
||||
* @param {number} [parameters.hotCachePeriodInDays] The number of days of data
|
||||
* that should be kept in cache for fast queries.
|
||||
* @param {moment.duration} [parameters.softDeletePeriod] The time the data
|
||||
* should be kept before it stops being accessible to queries in TimeSpan.
|
||||
*
|
||||
* @param {moment.duration} [parameters.hotCachePeriod] The time the data that
|
||||
* should be kept in cache for fast queries in TimeSpan.
|
||||
*
|
||||
* @param {object} [parameters.statistics] The statistics of the database.
|
||||
*
|
||||
* @param {number} [parameters.statistics.size] The database size - the total
|
||||
* size of compressed data and index in bytes.
|
||||
*
|
||||
* @param {object} [parameters.tags] Resource tags.
|
||||
*
|
||||
* @param {string} parameters.location The geo-location where the resource
|
||||
* lives
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
* @param {object} [options.customHeaders] Headers that will be added to the
|
||||
|
@ -2157,22 +2149,19 @@ class Databases {
|
|||
* @param {object} parameters The database parameters supplied to the
|
||||
* CreateOrUpdate operation.
|
||||
*
|
||||
* @param {number} parameters.softDeletePeriodInDays The number of days data
|
||||
* should be kept before it stops being accessible to queries.
|
||||
* @param {string} [parameters.location] Resource location.
|
||||
*
|
||||
* @param {number} [parameters.hotCachePeriodInDays] The number of days of data
|
||||
* that should be kept in cache for fast queries.
|
||||
* @param {moment.duration} [parameters.softDeletePeriod] The time the data
|
||||
* should be kept before it stops being accessible to queries in TimeSpan.
|
||||
*
|
||||
* @param {moment.duration} [parameters.hotCachePeriod] The time the data that
|
||||
* should be kept in cache for fast queries in TimeSpan.
|
||||
*
|
||||
* @param {object} [parameters.statistics] The statistics of the database.
|
||||
*
|
||||
* @param {number} [parameters.statistics.size] The database size - the total
|
||||
* size of compressed data and index in bytes.
|
||||
*
|
||||
* @param {object} [parameters.tags] Resource tags.
|
||||
*
|
||||
* @param {string} parameters.location The geo-location where the resource
|
||||
* lives
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
* @param {object} [options.customHeaders] Headers that will be added to the
|
||||
|
@ -2235,11 +2224,11 @@ class Databases {
|
|||
*
|
||||
* @param {string} [parameters.location] Resource location.
|
||||
*
|
||||
* @param {number} parameters.softDeletePeriodInDays The number of days data
|
||||
* should be kept before it stops being accessible to queries.
|
||||
* @param {moment.duration} [parameters.softDeletePeriod] The time the data
|
||||
* should be kept before it stops being accessible to queries in TimeSpan.
|
||||
*
|
||||
* @param {number} [parameters.hotCachePeriodInDays] The number of days of data
|
||||
* that should be kept in cache for fast queries.
|
||||
* @param {moment.duration} [parameters.hotCachePeriod] The time the data that
|
||||
* should be kept in cache for fast queries in TimeSpan.
|
||||
*
|
||||
* @param {object} [parameters.statistics] The statistics of the database.
|
||||
*
|
||||
|
@ -2286,11 +2275,11 @@ class Databases {
|
|||
*
|
||||
* @param {string} [parameters.location] Resource location.
|
||||
*
|
||||
* @param {number} parameters.softDeletePeriodInDays The number of days data
|
||||
* should be kept before it stops being accessible to queries.
|
||||
* @param {moment.duration} [parameters.softDeletePeriod] The time the data
|
||||
* should be kept before it stops being accessible to queries in TimeSpan.
|
||||
*
|
||||
* @param {number} [parameters.hotCachePeriodInDays] The number of days of data
|
||||
* that should be kept in cache for fast queries.
|
||||
* @param {moment.duration} [parameters.hotCachePeriod] The time the data that
|
||||
* should be kept in cache for fast queries in TimeSpan.
|
||||
*
|
||||
* @param {object} [parameters.statistics] The statistics of the database.
|
||||
*
|
||||
|
@ -2751,22 +2740,19 @@ class Databases {
|
|||
* @param {object} parameters The database parameters supplied to the
|
||||
* CreateOrUpdate operation.
|
||||
*
|
||||
* @param {number} parameters.softDeletePeriodInDays The number of days data
|
||||
* should be kept before it stops being accessible to queries.
|
||||
* @param {string} [parameters.location] Resource location.
|
||||
*
|
||||
* @param {number} [parameters.hotCachePeriodInDays] The number of days of data
|
||||
* that should be kept in cache for fast queries.
|
||||
* @param {moment.duration} [parameters.softDeletePeriod] The time the data
|
||||
* should be kept before it stops being accessible to queries in TimeSpan.
|
||||
*
|
||||
* @param {moment.duration} [parameters.hotCachePeriod] The time the data that
|
||||
* should be kept in cache for fast queries in TimeSpan.
|
||||
*
|
||||
* @param {object} [parameters.statistics] The statistics of the database.
|
||||
*
|
||||
* @param {number} [parameters.statistics.size] The database size - the total
|
||||
* size of compressed data and index in bytes.
|
||||
*
|
||||
* @param {object} [parameters.tags] Resource tags.
|
||||
*
|
||||
* @param {string} parameters.location The geo-location where the resource
|
||||
* lives
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
* @param {object} [options.customHeaders] Headers that will be added to the
|
||||
|
@ -2805,22 +2791,19 @@ class Databases {
|
|||
* @param {object} parameters The database parameters supplied to the
|
||||
* CreateOrUpdate operation.
|
||||
*
|
||||
* @param {number} parameters.softDeletePeriodInDays The number of days data
|
||||
* should be kept before it stops being accessible to queries.
|
||||
* @param {string} [parameters.location] Resource location.
|
||||
*
|
||||
* @param {number} [parameters.hotCachePeriodInDays] The number of days of data
|
||||
* that should be kept in cache for fast queries.
|
||||
* @param {moment.duration} [parameters.softDeletePeriod] The time the data
|
||||
* should be kept before it stops being accessible to queries in TimeSpan.
|
||||
*
|
||||
* @param {moment.duration} [parameters.hotCachePeriod] The time the data that
|
||||
* should be kept in cache for fast queries in TimeSpan.
|
||||
*
|
||||
* @param {object} [parameters.statistics] The statistics of the database.
|
||||
*
|
||||
* @param {number} [parameters.statistics.size] The database size - the total
|
||||
* size of compressed data and index in bytes.
|
||||
*
|
||||
* @param {object} [parameters.tags] Resource tags.
|
||||
*
|
||||
* @param {string} parameters.location The geo-location where the resource
|
||||
* lives
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
* @param {object} [options.customHeaders] Headers that will be added to the
|
||||
|
@ -2883,11 +2866,11 @@ class Databases {
|
|||
*
|
||||
* @param {string} [parameters.location] Resource location.
|
||||
*
|
||||
* @param {number} parameters.softDeletePeriodInDays The number of days data
|
||||
* should be kept before it stops being accessible to queries.
|
||||
* @param {moment.duration} [parameters.softDeletePeriod] The time the data
|
||||
* should be kept before it stops being accessible to queries in TimeSpan.
|
||||
*
|
||||
* @param {number} [parameters.hotCachePeriodInDays] The number of days of data
|
||||
* that should be kept in cache for fast queries.
|
||||
* @param {moment.duration} [parameters.hotCachePeriod] The time the data that
|
||||
* should be kept in cache for fast queries in TimeSpan.
|
||||
*
|
||||
* @param {object} [parameters.statistics] The statistics of the database.
|
||||
*
|
||||
|
@ -2934,11 +2917,11 @@ class Databases {
|
|||
*
|
||||
* @param {string} [parameters.location] Resource location.
|
||||
*
|
||||
* @param {number} parameters.softDeletePeriodInDays The number of days data
|
||||
* should be kept before it stops being accessible to queries.
|
||||
* @param {moment.duration} [parameters.softDeletePeriod] The time the data
|
||||
* should be kept before it stops being accessible to queries in TimeSpan.
|
||||
*
|
||||
* @param {number} [parameters.hotCachePeriodInDays] The number of days of data
|
||||
* that should be kept in cache for fast queries.
|
||||
* @param {moment.duration} [parameters.hotCachePeriod] The time the data that
|
||||
* should be kept in cache for fast queries in TimeSpan.
|
||||
*
|
||||
* @param {object} [parameters.statistics] The statistics of the database.
|
||||
*
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -16,5 +16,5 @@
|
|||
|
||||
exports.Clusters = require('./clusters');
|
||||
exports.Databases = require('./databases');
|
||||
exports.EventHubConnections = require('./eventHubConnections');
|
||||
exports.DataConnections = require('./dataConnections');
|
||||
exports.Operations = require('./operations');
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
"name": "azure-arm-kusto",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "KustoManagementClient Library with typescript type definitions for node",
|
||||
"version": "1.0.0-preview",
|
||||
"version": "2.0.0",
|
||||
"dependencies": {
|
||||
"ms-rest": "^2.3.3",
|
||||
"ms-rest": "^2.4.1",
|
||||
"ms-rest-azure": "^2.5.5"
|
||||
},
|
||||
"keywords": [
|
||||
|
@ -21,5 +21,8 @@
|
|||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/azure/azure-sdk-for-node/issues"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "npm explore ms-rest -- npm run print-deprecation-message"
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче