forked from Azure/azure-sdk-for-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
184fc0a
commit 6f0d398
Showing
38 changed files
with
5,767 additions
and
197 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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
lib/services/appinsights/README.md → lib/services/applicationinsights/README.md
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
84 changes: 84 additions & 0 deletions
84
lib/services/applicationinsights/lib/models/aPIKeyRequest.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,84 @@ | ||
/* | ||
* 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'; | ||
|
||
/** | ||
* An Application Insights component API Key createion request definition. | ||
* | ||
*/ | ||
class APIKeyRequest { | ||
/** | ||
* Create a APIKeyRequest. | ||
* @member {string} [name] The name of the API Key. | ||
* @member {array} [linkedReadProperties] The read access rights of this API | ||
* Key. | ||
* @member {array} [linkedWriteProperties] The write access rights of this | ||
* API Key. | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of APIKeyRequest | ||
* | ||
* @returns {object} metadata of APIKeyRequest | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'APIKeyRequest', | ||
type: { | ||
name: 'Composite', | ||
className: 'APIKeyRequest', | ||
modelProperties: { | ||
name: { | ||
required: false, | ||
serializedName: 'name', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
linkedReadProperties: { | ||
required: false, | ||
serializedName: 'linkedReadProperties', | ||
type: { | ||
name: 'Sequence', | ||
element: { | ||
required: false, | ||
serializedName: 'StringElementType', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
}, | ||
linkedWriteProperties: { | ||
required: false, | ||
serializedName: 'linkedWriteProperties', | ||
type: { | ||
name: 'Sequence', | ||
element: { | ||
required: false, | ||
serializedName: 'StringElementType', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = APIKeyRequest; |
File renamed without changes.
112 changes: 112 additions & 0 deletions
112
lib/services/applicationinsights/lib/models/applicationInsightsComponentAPIKey.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,112 @@ | ||
/* | ||
* 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'; | ||
|
||
/** | ||
* Properties that define an API key of an Application Insights Component. | ||
* | ||
*/ | ||
class ApplicationInsightsComponentAPIKey { | ||
/** | ||
* Create a ApplicationInsightsComponentAPIKey. | ||
* @member {string} [id] The unique ID of the API key inside an Applciation | ||
* 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. | ||
* @member {string} [createdDate] The create date of this API key. | ||
* @member {string} [name] The name of the API key. | ||
* @member {array} [linkedReadProperties] The read access rights of this API | ||
* Key. | ||
* @member {array} [linkedWriteProperties] The write access rights of this | ||
* API Key. | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of ApplicationInsightsComponentAPIKey | ||
* | ||
* @returns {object} metadata of ApplicationInsightsComponentAPIKey | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'ApplicationInsightsComponentAPIKey', | ||
type: { | ||
name: 'Composite', | ||
className: 'ApplicationInsightsComponentAPIKey', | ||
modelProperties: { | ||
id: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'id', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
apiKey: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'apiKey', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
createdDate: { | ||
required: false, | ||
serializedName: 'createdDate', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
name: { | ||
required: false, | ||
serializedName: 'name', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
linkedReadProperties: { | ||
required: false, | ||
serializedName: 'linkedReadProperties', | ||
type: { | ||
name: 'Sequence', | ||
element: { | ||
required: false, | ||
serializedName: 'StringElementType', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
}, | ||
linkedWriteProperties: { | ||
required: false, | ||
serializedName: 'linkedWriteProperties', | ||
type: { | ||
name: 'Sequence', | ||
element: { | ||
required: false, | ||
serializedName: 'StringElementType', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = ApplicationInsightsComponentAPIKey; |
59 changes: 59 additions & 0 deletions
59
lib/services/applicationinsights/lib/models/applicationInsightsComponentAPIKeyListResult.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,59 @@ | ||
/* | ||
* 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'; | ||
|
||
/** | ||
* Describes the list of API Keys of an Application Insights Component. | ||
*/ | ||
class ApplicationInsightsComponentAPIKeyListResult extends Array { | ||
/** | ||
* Create a ApplicationInsightsComponentAPIKeyListResult. | ||
*/ | ||
constructor() { | ||
super(); | ||
} | ||
|
||
/** | ||
* Defines the metadata of ApplicationInsightsComponentAPIKeyListResult | ||
* | ||
* @returns {object} metadata of ApplicationInsightsComponentAPIKeyListResult | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'ApplicationInsightsComponentAPIKeyListResult', | ||
type: { | ||
name: 'Composite', | ||
className: 'ApplicationInsightsComponentAPIKeyListResult', | ||
modelProperties: { | ||
value: { | ||
required: true, | ||
serializedName: '', | ||
type: { | ||
name: 'Sequence', | ||
element: { | ||
required: false, | ||
serializedName: 'ApplicationInsightsComponentAPIKeyElementType', | ||
type: { | ||
name: 'Composite', | ||
className: 'ApplicationInsightsComponentAPIKey' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = ApplicationInsightsComponentAPIKeyListResult; |
Oops, something went wrong.