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 563
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from a21a314734c7a332a74e4ef479915ead4c4cfeaf (#4513)
Fix errors in old Network API version
- Loading branch information
1 parent
191ca02
commit 92be5b0
Showing
84 changed files
with
7,561 additions
and
8,320 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
60 changes: 60 additions & 0 deletions
60
...services/networkManagement2/lib/models/applicationGatewayAvailableRequestHeadersResult.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,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'; | ||
|
||
/** | ||
* Response for ApplicationGatewayAvailableRequestHeaders API service call. | ||
* | ||
*/ | ||
class ApplicationGatewayAvailableRequestHeadersResult { | ||
/** | ||
* Create a ApplicationGatewayAvailableRequestHeadersResult. | ||
* @property {array} [value] The list of supported request headers in | ||
* application gateway. | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of ApplicationGatewayAvailableRequestHeadersResult | ||
* | ||
* @returns {object} metadata of ApplicationGatewayAvailableRequestHeadersResult | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'ApplicationGatewayAvailableRequestHeadersResult', | ||
type: { | ||
name: 'Composite', | ||
className: 'ApplicationGatewayAvailableRequestHeadersResult', | ||
modelProperties: { | ||
value: { | ||
required: false, | ||
serializedName: 'value', | ||
type: { | ||
name: 'Sequence', | ||
element: { | ||
required: false, | ||
serializedName: 'StringElementType', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = ApplicationGatewayAvailableRequestHeadersResult; |
60 changes: 60 additions & 0 deletions
60
...ervices/networkManagement2/lib/models/applicationGatewayAvailableResponseHeadersResult.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,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'; | ||
|
||
/** | ||
* Response for ApplicationGatewayAvailableResponeHeaders API service call. | ||
* | ||
*/ | ||
class ApplicationGatewayAvailableResponseHeadersResult { | ||
/** | ||
* Create a ApplicationGatewayAvailableResponseHeadersResult. | ||
* @property {array} [value] The list of supported response header in | ||
* application gateway. | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of ApplicationGatewayAvailableResponseHeadersResult | ||
* | ||
* @returns {object} metadata of ApplicationGatewayAvailableResponseHeadersResult | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'ApplicationGatewayAvailableResponseHeadersResult', | ||
type: { | ||
name: 'Composite', | ||
className: 'ApplicationGatewayAvailableResponseHeadersResult', | ||
modelProperties: { | ||
value: { | ||
required: false, | ||
serializedName: 'value', | ||
type: { | ||
name: 'Sequence', | ||
element: { | ||
required: false, | ||
serializedName: 'StringElementType', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = ApplicationGatewayAvailableResponseHeadersResult; |
60 changes: 60 additions & 0 deletions
60
...ervices/networkManagement2/lib/models/applicationGatewayAvailableServerVariablesResult.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,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'; | ||
|
||
/** | ||
* Response for ApplicationGatewayAvailableServerVariables API service call. | ||
* | ||
*/ | ||
class ApplicationGatewayAvailableServerVariablesResult { | ||
/** | ||
* Create a ApplicationGatewayAvailableServerVariablesResult. | ||
* @property {array} [value] The list of supported server variables in | ||
* application gateway. | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of ApplicationGatewayAvailableServerVariablesResult | ||
* | ||
* @returns {object} metadata of ApplicationGatewayAvailableServerVariablesResult | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'ApplicationGatewayAvailableServerVariablesResult', | ||
type: { | ||
name: 'Composite', | ||
className: 'ApplicationGatewayAvailableServerVariablesResult', | ||
modelProperties: { | ||
value: { | ||
required: false, | ||
serializedName: 'value', | ||
type: { | ||
name: 'Sequence', | ||
element: { | ||
required: false, | ||
serializedName: 'StringElementType', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = ApplicationGatewayAvailableServerVariablesResult; |
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
65 changes: 65 additions & 0 deletions
65
lib/services/networkManagement2/lib/models/ddosSettings.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,65 @@ | ||
/* | ||
* 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'; | ||
|
||
/** | ||
* Contains the DDoS protection settings of the public IP. | ||
* | ||
*/ | ||
class DdosSettings { | ||
/** | ||
* Create a DdosSettings. | ||
* @property {object} [ddosCustomPolicy] The DDoS custom policy associated | ||
* with the public IP. | ||
* @property {string} [ddosCustomPolicy.id] Resource ID. | ||
* @property {string} [protectionCoverage] The DDoS protection policy | ||
* customizability of the public IP. Only standard coverage will have the | ||
* ability to be customized. Possible values include: 'Basic', 'Standard' | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of DdosSettings | ||
* | ||
* @returns {object} metadata of DdosSettings | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'DdosSettings', | ||
type: { | ||
name: 'Composite', | ||
className: 'DdosSettings', | ||
modelProperties: { | ||
ddosCustomPolicy: { | ||
required: false, | ||
serializedName: 'ddosCustomPolicy', | ||
type: { | ||
name: 'Composite', | ||
className: 'SubResource' | ||
} | ||
}, | ||
protectionCoverage: { | ||
required: false, | ||
serializedName: 'protectionCoverage', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = DdosSettings; |
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
Oops, something went wrong.