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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'use strict';

/**
* An Application Insights component API Key createion request definition.
* An Application Insights component API Key creation request definition.
*
*/
class APIKeyRequest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class ApplicationInsightsComponentAPIKey {
/**
* Create a ApplicationInsightsComponentAPIKey.
* @member {string} [id] The unique ID of the API key inside an Applciation
* @member {string} [id] The unique ID of the API key inside an Application
* Insights component. It is auto generated when the API key is created.
* @member {string} [apiKey] The API key value. It will be only return once
* when the API Key was created.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class ApplicationInsightsComponentAvailableFeatures {
/**
* Create a ApplicationInsightsComponentAvailableFeatures.
* @member {array} [result] A list of Application Insigths component feature.
* @member {array} [result] A list of Application Insights component feature.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ApplicationInsightsComponentBillingFeatures {
/**
* Create a ApplicationInsightsComponentBillingFeatures.
* @member {object} [dataVolumeCap] An Application Insights component daily
* data volumne cap
* data volume cap
* @member {number} [dataVolumeCap.cap] Daily data volume cap in GB.
* @member {number} [dataVolumeCap.resetTime] Daily data volume cap UTC reset
* hour.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'use strict';

/**
* An Application Insights component daily data volumne cap
* An Application Insights component daily data volume cap
*
*/
class ApplicationInsightsComponentDataVolumeCap {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ApplicationInsightsComponentExportConfiguration {
/**
* Create a ApplicationInsightsComponentExportConfiguration.
* @member {string} [exportId] The unique ID of the export configuration
* inside an Applciation Insights component. It is auto generated when the
* inside an Application Insights component. It is auto generated when the
* Continuous Export configuration is created.
* @member {string} [instrumentationKey] The instrumentation key of the
* Application Insights component.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ class ApplicationInsightsComponentFeature {
* Create a ApplicationInsightsComponentFeature.
* @member {string} [featureName] The pricing feature name.
* @member {string} [meterId] The meter id used for the feature.
* @member {string} [meterRateFrequency] The meter meter rate for the
* feature's meter.
* @member {string} [meterRateFrequency] The meter rate for the feature's
* meter.
* @member {string} [resouceId] Reserved, not used now.
* @member {boolean} [isHidden] Reserved, not used now.
* @member {array} [capabilities] A list of Application Insigths component
* @member {array} [capabilities] A list of Application Insights component
* feature capability.
* @member {string} [title] Desplay name of the feature.
* @member {string} [title] Display name of the feature.
* @member {boolean} [isMainFeature] Whether can apply addon feature on to
* it.
* @member {string} [supportedAddonFeatures] The add on features on main
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ApplicationInsightsComponentFeatureCapabilities {
* @member {boolean} [multipleStepWebTest] Whether allow to use multiple
* steps web test feature.
* @member {string} [apiAccessLevel] Reserved, not used now.
* @member {string} [trackingType] The applciation insights component used
* @member {string} [trackingType] The application insights component used
* tracking type.
* @member {number} [dailyCap] Daily data volume cap in GB.
* @member {number} [dailyCapResetTime] Daily data volume cap UTC reset hour.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ApplicationInsightsComponentFeatureCapability {
* Create a ApplicationInsightsComponentFeatureCapability.
* @member {string} [name] The name of the capability.
* @member {string} [description] The description of the capability.
* @member {string} [value] The vaule of the capability.
* @member {string} [value] The value of the capability.
* @member {string} [unit] The unit of the capability.
* @member {string} [meterId] The meter used for the capability.
* @member {string} [meterRateFrequency] The meter rate of the meter.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ class ApplicationInsightsComponentListResult extends Array {
/**
* Create a ApplicationInsightsComponentListResult.
* @member {string} [nextLink] The URI to get the next set of Application
* Insights component defintions if too many components where returned in the
* result set.
* Insights component definitions if too many components where returned in
* the result set.
*/
constructor() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class ApplicationInsightsComponentProactiveDetectionConfiguration extends models
* @member {string} [ruleDefinitions.displayName] The rule name as it is
* displayed in UI
* @member {string} [ruleDefinitions.description] The rule description
* @member {string} [ruleDefinitions.helpUrl] URL which displays aditional
* @member {string} [ruleDefinitions.helpUrl] URL which displays additional
* info about the proactive detection rule
* @member {boolean} [ruleDefinitions.isHidden] A flag indicating whether the
* rule is hidden (from the UI)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions
* @member {string} [name] The rule name
* @member {string} [displayName] The rule name as it is displayed in UI
* @member {string} [description] The rule description
* @member {string} [helpUrl] URL which displays aditional info about the
* @member {string} [helpUrl] URL which displays additional info about the
* proactive detection rule
* @member {boolean} [isHidden] A flag indicating whether the rule is hidden
* (from the UI)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class ComponentPurgeBodyFilters {
* @member {object} [value] the value for the operator to function over. This
* can be a number (e.g., > 100), a string (timestamp >= '2017-09-01') or
* array of values.
* @member {string} [key] When filtering over custom dimensions, this key
* will be used as the name of the custom dimension.
*/
constructor() {
}
Expand Down Expand Up @@ -62,6 +64,13 @@ class ComponentPurgeBodyFilters {
type: {
name: 'Object'
}
},
key: {
required: false,
serializedName: 'key',
type: {
name: 'String'
}
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions lib/services/applicationinsights/lib/models/errorResponse.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
'use strict';

/**
* Error reponse indicates Insights service is not able to process the incoming
* request. The reason is provided in the error message.
* Error response indicates Insights service is not able to process the
* incoming request. The reason is provided in the error message.
*
*/
class ErrorResponse {
Expand Down
39 changes: 21 additions & 18 deletions lib/services/applicationinsights/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export { CloudError } from 'ms-rest-azure';
* @class
* Initializes a new instance of the ErrorResponse class.
* @constructor
* Error reponse indicates Insights service is not able to process the incoming
* request. The reason is provided in the error message.
* Error response indicates Insights service is not able to process the
* incoming request. The reason is provided in the error message.
*
* @member {string} [code] Error code.
* @member {string} [message] Error message indicating why the operation
Expand Down Expand Up @@ -128,7 +128,7 @@ export interface AnnotationError {
* @class
* Initializes a new instance of the APIKeyRequest class.
* @constructor
* An Application Insights component API Key createion request definition.
* An Application Insights component API Key creation request definition.
*
* @member {string} [name] The name of the API Key.
* @member {array} [linkedReadProperties] The read access rights of this API
Expand All @@ -148,7 +148,7 @@ export interface APIKeyRequest {
* @constructor
* Properties that define an API key of an Application Insights Component.
*
* @member {string} [id] The unique ID of the API key inside an Applciation
* @member {string} [id] The unique ID of the API key inside an Application
* Insights component. It is auto generated when the API key is created.
* @member {string} [apiKey] The API key value. It will be only return once
* when the API Key was created.
Expand Down Expand Up @@ -213,7 +213,7 @@ export interface ApplicationInsightsComponentExportRequest {
* Properties that define a Continuous Export configuration.
*
* @member {string} [exportId] The unique ID of the export configuration inside
* an Applciation Insights component. It is auto generated when the Continuous
* an Application Insights component. It is auto generated when the Continuous
* Export configuration is created.
* @member {string} [instrumentationKey] The instrumentation key of the
* Application Insights component.
Expand Down Expand Up @@ -279,7 +279,7 @@ export interface ApplicationInsightsComponentExportConfiguration {
* @class
* Initializes a new instance of the ApplicationInsightsComponentDataVolumeCap class.
* @constructor
* An Application Insights component daily data volumne cap
* An Application Insights component daily data volume cap
*
* @member {number} [cap] Daily data volume cap in GB.
* @member {number} [resetTime] Daily data volume cap UTC reset hour.
Expand Down Expand Up @@ -307,7 +307,7 @@ export interface ApplicationInsightsComponentDataVolumeCap {
* An Application Insights component billing features
*
* @member {object} [dataVolumeCap] An Application Insights component daily
* data volumne cap
* data volume cap
* @member {number} [dataVolumeCap.cap] Daily data volume cap in GB.
* @member {number} [dataVolumeCap.resetTime] Daily data volume cap UTC reset
* hour.
Expand Down Expand Up @@ -368,7 +368,7 @@ export interface ApplicationInsightsComponentQuotaStatus {
* @member {boolean} [multipleStepWebTest] Whether allow to use multiple steps
* web test feature.
* @member {string} [apiAccessLevel] Reserved, not used now.
* @member {string} [trackingType] The applciation insights component used
* @member {string} [trackingType] The application insights component used
* tracking type.
* @member {number} [dailyCap] Daily data volume cap in GB.
* @member {number} [dailyCapResetTime] Daily data volume cap UTC reset hour.
Expand Down Expand Up @@ -401,7 +401,7 @@ export interface ApplicationInsightsComponentFeatureCapabilities {
*
* @member {string} [name] The name of the capability.
* @member {string} [description] The description of the capability.
* @member {string} [value] The vaule of the capability.
* @member {string} [value] The value of the capability.
* @member {string} [unit] The unit of the capability.
* @member {string} [meterId] The meter used for the capability.
* @member {string} [meterRateFrequency] The meter rate of the meter.
Expand All @@ -423,13 +423,13 @@ export interface ApplicationInsightsComponentFeatureCapability {
*
* @member {string} [featureName] The pricing feature name.
* @member {string} [meterId] The meter id used for the feature.
* @member {string} [meterRateFrequency] The meter meter rate for the feature's
* @member {string} [meterRateFrequency] The meter rate for the feature's
* meter.
* @member {string} [resouceId] Reserved, not used now.
* @member {boolean} [isHidden] Reserved, not used now.
* @member {array} [capabilities] A list of Application Insigths component
* @member {array} [capabilities] A list of Application Insights component
* feature capability.
* @member {string} [title] Desplay name of the feature.
* @member {string} [title] Display name of the feature.
* @member {boolean} [isMainFeature] Whether can apply addon feature on to it.
* @member {string} [supportedAddonFeatures] The add on features on main
* feature.
Expand All @@ -452,7 +452,7 @@ export interface ApplicationInsightsComponentFeature {
* @constructor
* An Application Insights component available features.
*
* @member {array} [result] A list of Application Insigths component feature.
* @member {array} [result] A list of Application Insights component feature.
*/
export interface ApplicationInsightsComponentAvailableFeatures {
readonly result?: ApplicationInsightsComponentFeature[];
Expand All @@ -468,7 +468,7 @@ export interface ApplicationInsightsComponentAvailableFeatures {
* @member {string} [name] The rule name
* @member {string} [displayName] The rule name as it is displayed in UI
* @member {string} [description] The rule description
* @member {string} [helpUrl] URL which displays aditional info about the
* @member {string} [helpUrl] URL which displays additional info about the
* proactive detection rule
* @member {boolean} [isHidden] A flag indicating whether the rule is hidden
* (from the UI)
Expand Down Expand Up @@ -510,8 +510,8 @@ export interface ApplicationInsightsComponentProactiveDetectionConfigurationRule
* @member {string} [ruleDefinitions.displayName] The rule name as it is
* displayed in UI
* @member {string} [ruleDefinitions.description] The rule description
* @member {string} [ruleDefinitions.helpUrl] URL which displays aditional info
* about the proactive detection rule
* @member {string} [ruleDefinitions.helpUrl] URL which displays additional
* info about the proactive detection rule
* @member {boolean} [ruleDefinitions.isHidden] A flag indicating whether the
* rule is hidden (from the UI)
* @member {boolean} [ruleDefinitions.isEnabledByDefault] A flag indicating
Expand Down Expand Up @@ -634,11 +634,14 @@ export interface ApplicationInsightsComponent extends ComponentsResource {
* @member {object} [value] the value for the operator to function over. This
* can be a number (e.g., > 100), a string (timestamp >= '2017-09-01') or array
* of values.
* @member {string} [key] When filtering over custom dimensions, this key will
* be used as the name of the custom dimension.
*/
export interface ComponentPurgeBodyFilters {
column?: string;
operator?: string;
value?: any;
key?: string;
}

/**
Expand Down Expand Up @@ -713,7 +716,7 @@ export interface WorkItemConfiguration {
*
* @member {string} [connectorId] Unique connector id
* @member {string} [connectorDataConfiguration] Serialized JSON object for
* detaile d properties
* detailed properties
* @member {boolean} [validateOnly] Boolean indicating validate only
* @member {string} [workItemProperties] Custom work item properties
*/
Expand Down Expand Up @@ -1108,7 +1111,7 @@ export interface ApplicationInsightsComponentAPIKeyListResult extends Array<Appl
* Describes the list of Application Insights Resources.
*
* @member {string} [nextLink] The URI to get the next set of Application
* Insights component defintions if too many components where returned in the
* Insights component definitions if too many components where returned in the
* result set.
*/
export interface ApplicationInsightsComponentListResult extends Array<ApplicationInsightsComponent> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class WorkItemCreateConfiguration {
* Create a WorkItemCreateConfiguration.
* @member {string} [connectorId] Unique connector id
* @member {string} [connectorDataConfiguration] Serialized JSON object for
* detaile d properties
* detailed properties
* @member {boolean} [validateOnly] Boolean indicating validate only
* @member {string} [workItemProperties] Custom work item properties
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function _get(resourceGroupName, resourceName, options, callback) {
* specified to update billing features for an Application Insights component.
*
* @param {object} [billingFeaturesProperties.dataVolumeCap] An Application
* Insights component daily data volumne cap
* Insights component daily data volume cap
*
* @param {number} [billingFeaturesProperties.dataVolumeCap.cap] Daily data
* volume cap in GB.
Expand Down Expand Up @@ -462,7 +462,7 @@ class ComponentCurrentBillingFeatures {
* specified to update billing features for an Application Insights component.
*
* @param {object} [billingFeaturesProperties.dataVolumeCap] An Application
* Insights component daily data volumne cap
* Insights component daily data volume cap
*
* @param {number} [billingFeaturesProperties.dataVolumeCap.cap] Daily data
* volume cap in GB.
Expand Down Expand Up @@ -519,7 +519,7 @@ class ComponentCurrentBillingFeatures {
* specified to update billing features for an Application Insights component.
*
* @param {object} [billingFeaturesProperties.dataVolumeCap] An Application
* Insights component daily data volumne cap
* Insights component daily data volume cap
*
* @param {number} [billingFeaturesProperties.dataVolumeCap.cap] Daily data
* volume cap in GB.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const msRestAzure = require('ms-rest-azure');
const WebResource = msRest.WebResource;

/**
* Returns feature capabilites of the application insights component.
* Returns feature capabilities of the application insights component.
*
* @param {string} resourceGroupName The name of the resource group.
*
Expand Down Expand Up @@ -174,7 +174,7 @@ class ComponentFeatureCapabilities {
}

/**
* Returns feature capabilites of the application insights component.
* Returns feature capabilities of the application insights component.
*
* @param {string} resourceGroupName The name of the resource group.
*
Expand Down Expand Up @@ -207,7 +207,7 @@ class ComponentFeatureCapabilities {
}

/**
* Returns feature capabilites of the application insights component.
* Returns feature capabilities of the application insights component.
*
* @param {string} resourceGroupName The name of the resource group.
*
Expand Down
Loading