This repository was archived by the owner on May 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 559
Automatic PR from RestAPI-PR897 #2044
Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
72 changes: 72 additions & 0 deletions
72
...services/dataLake.Analytics/lib/account/models/dataLakeAnalyticsFirewallRuleListResult.js
This file contains hidden or 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,72 @@ | ||
| /* | ||
| * 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'; | ||
|
|
||
| var util = require('util'); | ||
|
|
||
| /** | ||
| * @class | ||
| * Initializes a new instance of the DataLakeAnalyticsFirewallRuleListResult class. | ||
| * @constructor | ||
| * Data Lake Analytics firewall rule list information. | ||
| * | ||
| * @member {string} [nextLink] the link (url) to the next page of results. | ||
| * | ||
| */ | ||
| function DataLakeAnalyticsFirewallRuleListResult() { | ||
| } | ||
|
|
||
| util.inherits(DataLakeAnalyticsFirewallRuleListResult, Array); | ||
|
|
||
| /** | ||
| * Defines the metadata of DataLakeAnalyticsFirewallRuleListResult | ||
| * | ||
| * @returns {object} metadata of DataLakeAnalyticsFirewallRuleListResult | ||
| * | ||
| */ | ||
| DataLakeAnalyticsFirewallRuleListResult.prototype.mapper = function () { | ||
| return { | ||
| required: false, | ||
| serializedName: 'DataLakeAnalyticsFirewallRuleListResult', | ||
| type: { | ||
| name: 'Composite', | ||
| className: 'DataLakeAnalyticsFirewallRuleListResult', | ||
| modelProperties: { | ||
| value: { | ||
| required: false, | ||
| readOnly: true, | ||
| serializedName: '', | ||
| type: { | ||
| name: 'Sequence', | ||
| element: { | ||
| required: false, | ||
| serializedName: 'FirewallRuleElementType', | ||
| type: { | ||
| name: 'Composite', | ||
| className: 'FirewallRule' | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| nextLink: { | ||
| required: false, | ||
| readOnly: true, | ||
| serializedName: 'nextLink', | ||
| type: { | ||
| name: 'String' | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }; | ||
| }; | ||
|
|
||
| module.exports = DataLakeAnalyticsFirewallRuleListResult; |
93 changes: 93 additions & 0 deletions
93
lib/services/dataLake.Analytics/lib/account/models/firewallRule.js
This file contains hidden or 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,93 @@ | ||
| /* | ||
| * 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'; | ||
|
|
||
| var models = require('./index'); | ||
|
|
||
| var util = require('util'); | ||
|
|
||
| /** | ||
| * @class | ||
| * Initializes a new instance of the FirewallRule class. | ||
| * @constructor | ||
| * Data Lake Analytics firewall rule information | ||
| * | ||
| * @member {string} startIpAddress the start IP address for the firewall rule. | ||
| * This can be either ipv4 or ipv6. Start and End should be in the same | ||
| * protocol. | ||
| * | ||
| * @member {string} endIpAddress the end IP address for the firewall rule. This | ||
| * can be either ipv4 or ipv6. Start and End should be in the same protocol. | ||
| * | ||
| */ | ||
| function FirewallRule() { | ||
| FirewallRule['super_'].call(this); | ||
| } | ||
|
|
||
| util.inherits(FirewallRule, models['OptionalSubResource']); | ||
|
|
||
| /** | ||
| * Defines the metadata of FirewallRule | ||
| * | ||
| * @returns {object} metadata of FirewallRule | ||
| * | ||
| */ | ||
| FirewallRule.prototype.mapper = function () { | ||
| return { | ||
| required: false, | ||
| serializedName: 'FirewallRule', | ||
| type: { | ||
| name: 'Composite', | ||
| className: 'FirewallRule', | ||
| modelProperties: { | ||
| id: { | ||
| required: false, | ||
| readOnly: true, | ||
| serializedName: 'id', | ||
| type: { | ||
| name: 'String' | ||
| } | ||
| }, | ||
| name: { | ||
| required: false, | ||
| serializedName: 'name', | ||
| type: { | ||
| name: 'String' | ||
| } | ||
| }, | ||
| type: { | ||
| required: false, | ||
| readOnly: true, | ||
| serializedName: 'type', | ||
| type: { | ||
| name: 'String' | ||
| } | ||
| }, | ||
| startIpAddress: { | ||
| required: true, | ||
| serializedName: 'properties.startIpAddress', | ||
| type: { | ||
| name: 'String' | ||
| } | ||
| }, | ||
| endIpAddress: { | ||
| required: true, | ||
| serializedName: 'properties.endIpAddress', | ||
| type: { | ||
| name: 'String' | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }; | ||
| }; | ||
|
|
||
| module.exports = FirewallRule; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amarzavery this is still an issue it looks like in the AutoRest code gen. Can you take a look?