This repository has been archived by the owner on May 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 564
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2487 from Azure/restapi_auto_applicationinsights/…
…resource-manager [AutoPR] applicationinsights/resource-manager
- Loading branch information
Showing
44 changed files
with
11,061 additions
and
1,020 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
/* | ||
* 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'; | ||
|
||
/** | ||
* Annotation associated with an application insights resource. | ||
* | ||
*/ | ||
class Annotation { | ||
/** | ||
* Create a Annotation. | ||
* @member {string} [annotationName] Name of annotation | ||
* @member {string} [category] Category of annotation, free form | ||
* @member {date} [eventTime] Time when event occurred | ||
* @member {string} [id] Unique Id for annotation | ||
* @member {string} [properties] Serialized JSON object for detailed | ||
* properties | ||
* @member {string} [relatedAnnotation] Related parent annotation if any. | ||
* Default value: 'null' . | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of Annotation | ||
* | ||
* @returns {object} metadata of Annotation | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'Annotation', | ||
type: { | ||
name: 'Composite', | ||
className: 'Annotation', | ||
modelProperties: { | ||
annotationName: { | ||
required: false, | ||
serializedName: 'AnnotationName', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
category: { | ||
required: false, | ||
serializedName: 'Category', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
eventTime: { | ||
required: false, | ||
serializedName: 'EventTime', | ||
type: { | ||
name: 'DateTime' | ||
} | ||
}, | ||
id: { | ||
required: false, | ||
serializedName: 'Id', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
properties: { | ||
required: false, | ||
serializedName: 'Properties', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
relatedAnnotation: { | ||
required: false, | ||
serializedName: 'RelatedAnnotation', | ||
defaultValue: 'null', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = Annotation; |
74 changes: 74 additions & 0 deletions
74
lib/services/applicationinsights/lib/models/annotationError.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
/* | ||
* 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'); | ||
|
||
/** | ||
* Error associated with trying to create annotation with Id that already exist | ||
* | ||
*/ | ||
class AnnotationError { | ||
/** | ||
* Create a AnnotationError. | ||
* @member {string} [code] Error detail code and explanation | ||
* @member {string} [message] Error message | ||
* @member {object} [innererror] | ||
* @member {string} [innererror.diagnosticcontext] Provides correlation for | ||
* request | ||
* @member {date} [innererror.time] Request time | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of AnnotationError | ||
* | ||
* @returns {object} metadata of AnnotationError | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'AnnotationError', | ||
type: { | ||
name: 'Composite', | ||
className: 'AnnotationError', | ||
modelProperties: { | ||
code: { | ||
required: false, | ||
serializedName: 'code', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
message: { | ||
required: false, | ||
serializedName: 'message', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
innererror: { | ||
required: false, | ||
serializedName: 'innererror', | ||
type: { | ||
name: 'Composite', | ||
className: 'InnerError' | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = AnnotationError; |
63 changes: 63 additions & 0 deletions
63
lib/services/applicationinsights/lib/models/applicationInsightsComponentAvailableFeatures.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
/* | ||
* 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'); | ||
|
||
/** | ||
* An Application Insights component available features. | ||
* | ||
*/ | ||
class ApplicationInsightsComponentAvailableFeatures { | ||
/** | ||
* Create a ApplicationInsightsComponentAvailableFeatures. | ||
* @member {array} [result] A list of Application Insigths component feature. | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of ApplicationInsightsComponentAvailableFeatures | ||
* | ||
* @returns {object} metadata of ApplicationInsightsComponentAvailableFeatures | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'ApplicationInsightsComponentAvailableFeatures', | ||
type: { | ||
name: 'Composite', | ||
className: 'ApplicationInsightsComponentAvailableFeatures', | ||
modelProperties: { | ||
result: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'Result', | ||
type: { | ||
name: 'Sequence', | ||
element: { | ||
required: false, | ||
serializedName: 'ApplicationInsightsComponentFeatureElementType', | ||
type: { | ||
name: 'Composite', | ||
className: 'ApplicationInsightsComponentFeature' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = ApplicationInsightsComponentAvailableFeatures; |
Oops, something went wrong.