Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Closed
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ export default class ApplicationInsightsManagementClient extends AzureServiceCli
*
* @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy
*
* @param {string} [options.acceptLanguage] - Gets or sets the preferred language for the response.
* @param {string} [options.acceptLanguage] - The preferred language for the response.
*
* @param {number} [options.longRunningOperationRetryTimeout] - Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
* @param {number} [options.longRunningOperationRetryTimeout] - The retry timeout in seconds for Long Running Operations. Default value is 30.
*
* @param {boolean} [options.generateClientRequestId] - When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
* @param {boolean} [options.generateClientRequestId] - Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*
*/
constructor(credentials: ServiceClientCredentials, subscriptionId: string, baseUri?: string, options?: AzureServiceClientOptions);
Expand Down Expand Up @@ -68,12 +68,10 @@ export default class ApplicationInsightsManagementClient extends AzureServiceCli
components: operations.Components;
workItemConfigurations: operations.WorkItemConfigurations;
favorites: operations.Favorites;
favorite: operations.Favorite;
webTestLocations: operations.WebTestLocations;
webTests: operations.WebTests;
analyticsItem: operations.AnalyticsItem;
workbooksOperations: operations.WorkbooksOperations;
workbookOperations: operations.WorkbookOperations;
analyticsItems: operations.AnalyticsItems;
workbooks: operations.Workbooks;
}

export { ApplicationInsightsManagementClient, models as ApplicationInsightsManagementModels };
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ class ApplicationInsightsManagementClient extends ServiceClient {
* @param {object} [options.requestOptions] - Options for the underlying request object
* {@link https://github.com/request/request#requestoptions-callback Options doc}
* @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy
* @param {string} [options.acceptLanguage] - Gets or sets the preferred language for the response.
* @param {number} [options.longRunningOperationRetryTimeout] - Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
* @param {boolean} [options.generateClientRequestId] - When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
* @param {string} [options.acceptLanguage] - The preferred language for the response.
* @param {number} [options.longRunningOperationRetryTimeout] - The retry timeout in seconds for Long Running Operations. Default value is 30.
* @param {boolean} [options.generateClientRequestId] - Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*/
constructor(credentials, subscriptionId, baseUri, options) {
if (credentials === null || credentials === undefined) {
Expand Down Expand Up @@ -84,12 +84,10 @@ class ApplicationInsightsManagementClient extends ServiceClient {
this.components = new operations.Components(this);
this.workItemConfigurations = new operations.WorkItemConfigurations(this);
this.favorites = new operations.Favorites(this);
this.favorite = new operations.Favorite(this);
this.webTestLocations = new operations.WebTestLocations(this);
this.webTests = new operations.WebTests(this);
this.analyticsItem = new operations.AnalyticsItem(this);
this.workbooksOperations = new operations.WorkbooksOperations(this);
this.workbookOperations = new operations.WorkbookOperations(this);
this.analyticsItems = new operations.AnalyticsItems(this);
this.workbooks = new operations.Workbooks(this);
this.models = models;
msRest.addSerializationMixin(this);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Error associated with trying to create annotation with Id that already exist
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/*
* 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';

/**
* Annotations list result.
*/
class AnnotationsListResult extends Array {
/**
* Create a AnnotationsListResult.
*/
constructor() {
super();
}

/**
* Defines the metadata of AnnotationsListResult
*
* @returns {object} metadata of AnnotationsListResult
*
*/
mapper() {
return {
required: false,
serializedName: 'AnnotationsListResult',
type: {
name: 'Composite',
className: 'AnnotationsListResult',
modelProperties: {
value: {
required: false,
readOnly: true,
serializedName: '',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'AnnotationElementType',
type: {
name: 'Composite',
className: 'Annotation'
}
}
}
}
}
}
};
}
}

module.exports = AnnotationsListResult;
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Properties that define an Analytics item that is associated to an
* Application Insights component.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* An Application Insights component available features.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* An Application Insights component billing features
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* An Application Insights component daily data volume cap status
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Describes the body of a purge request for an App Insights component
*
Expand Down
42 changes: 30 additions & 12 deletions lib/services/applicationinsights/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1015,18 +1015,6 @@ export interface Workbook extends WorkbookResource {
sourceResourceId?: string;
}

/**
* @class
* Initializes a new instance of the Workbooks class.
* @constructor
* Workbook list result.
*
* @member {array} [value] An array of workbooks.
*/
export interface Workbooks {
value?: Workbook[];
}

/**
* @class
* Initializes a new instance of the LinkProperties class.
Expand Down Expand Up @@ -1093,6 +1081,16 @@ export interface OperationListResult extends Array<Operation> {
nextLink?: string;
}

/**
* @class
* Initializes a new instance of the AnnotationsListResult class.
* @constructor
* Annotations list result.
*
*/
export interface AnnotationsListResult extends Array<Annotation> {
}

/**
* @class
* Initializes a new instance of the ApplicationInsightsComponentAPIKeyListResult class.
Expand All @@ -1117,6 +1115,16 @@ export interface ApplicationInsightsComponentListResult extends Array<Applicatio
nextLink?: string;
}

/**
* @class
* Initializes a new instance of the WorkItemConfigurationsListResult class.
* @constructor
* Work item configuration list result.
*
*/
export interface WorkItemConfigurationsListResult extends Array<WorkItemConfiguration> {
}

/**
* @class
* Initializes a new instance of the ApplicationInsightsWebTestLocationsListResult class.
Expand All @@ -1141,3 +1149,13 @@ export interface ApplicationInsightsWebTestLocationsListResult extends Array<App
export interface WebTestListResult extends Array<WebTest> {
nextLink?: string;
}

/**
* @class
* Initializes a new instance of the WorkbooksListResult class.
* @constructor
* Workbook list result.
*
*/
export interface WorkbooksListResult extends Array<Workbook> {
}
4 changes: 3 additions & 1 deletion lib/services/applicationinsights/lib/models/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,14 @@ exports.ApplicationInsightsComponentAnalyticsItemProperties = require('./applica
exports.ApplicationInsightsComponentAnalyticsItem = require('./applicationInsightsComponentAnalyticsItem');
exports.WorkbookResource = require('./workbookResource');
exports.Workbook = require('./workbook');
exports.Workbooks = require('./workbooks');
exports.LinkProperties = require('./linkProperties');
exports.ErrorFieldContract = require('./errorFieldContract');
exports.WorkbookError = require('./workbookError');
exports.OperationListResult = require('./operationListResult');
exports.AnnotationsListResult = require('./annotationsListResult');
exports.ApplicationInsightsComponentAPIKeyListResult = require('./applicationInsightsComponentAPIKeyListResult');
exports.ApplicationInsightsComponentListResult = require('./applicationInsightsComponentListResult');
exports.WorkItemConfigurationsListResult = require('./workItemConfigurationsListResult');
exports.ApplicationInsightsWebTestLocationsListResult = require('./applicationInsightsWebTestLocationsListResult');
exports.WebTestListResult = require('./webTestListResult');
exports.WorkbooksListResult = require('./workbooksListResult');
2 changes: 0 additions & 2 deletions lib/services/applicationinsights/lib/models/operation.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* CDN REST API operation
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Error associated with trying to get work item configuration or
* configurations
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/*
* 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';

/**
* Work item configuration list result.
*/
class WorkItemConfigurationsListResult extends Array {
/**
* Create a WorkItemConfigurationsListResult.
*/
constructor() {
super();
}

/**
* Defines the metadata of WorkItemConfigurationsListResult
*
* @returns {object} metadata of WorkItemConfigurationsListResult
*
*/
mapper() {
return {
required: false,
serializedName: 'WorkItemConfigurationsListResult',
type: {
name: 'Composite',
className: 'WorkItemConfigurationsListResult',
modelProperties: {
value: {
required: false,
readOnly: true,
serializedName: '',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'WorkItemConfigurationElementType',
type: {
name: 'Composite',
className: 'WorkItemConfiguration'
}
}
}
}
}
}
};
}
}

module.exports = WorkItemConfigurationsListResult;
2 changes: 0 additions & 2 deletions lib/services/applicationinsights/lib/models/workbookError.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Error message body that will indicate why the operation failed.
*
Expand Down
Loading