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 567
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 #4516 from Azure/restapi_auto_network/resource-man…
…ager [AutoPR] network/resource-manager
- Loading branch information
Showing
90 changed files
with
4,918 additions
and
345 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
160 changes: 160 additions & 0 deletions
160
lib/services/networkManagement2/lib/models/ddosCustomPolicy.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,160 @@ | ||
/* | ||
* 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'); | ||
|
||
/** | ||
* A DDoS custom policy in a resource group. | ||
* | ||
* @extends models['Resource'] | ||
*/ | ||
class DdosCustomPolicy extends models['Resource'] { | ||
/** | ||
* Create a DdosCustomPolicy. | ||
* @property {string} [resourceGuid] The resource GUID property of the DDoS | ||
* custom policy resource. It uniquely identifies the resource, even if the | ||
* user changes its name or migrate the resource across subscriptions or | ||
* resource groups. | ||
* @property {string} [provisioningState] The provisioning state of the DDoS | ||
* custom policy resource. Possible values are: 'Succeeded', 'Updating', | ||
* 'Deleting', and 'Failed'. | ||
* @property {array} [publicIPAddresses] The list of public IPs associated | ||
* with the DDoS custom policy resource. This list is read-only. | ||
* @property {array} [protocolCustomSettings] The protocol-specific DDoS | ||
* policy customization parameters. | ||
* @property {string} [etag] A unique read-only string that changes whenever | ||
* the resource is updated. | ||
*/ | ||
constructor() { | ||
super(); | ||
} | ||
|
||
/** | ||
* Defines the metadata of DdosCustomPolicy | ||
* | ||
* @returns {object} metadata of DdosCustomPolicy | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'DdosCustomPolicy', | ||
type: { | ||
name: 'Composite', | ||
className: 'DdosCustomPolicy', | ||
modelProperties: { | ||
id: { | ||
required: false, | ||
serializedName: 'id', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
name: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'name', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
type: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'type', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
location: { | ||
required: false, | ||
serializedName: 'location', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
tags: { | ||
required: false, | ||
serializedName: 'tags', | ||
type: { | ||
name: 'Dictionary', | ||
value: { | ||
required: false, | ||
serializedName: 'StringElementType', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
}, | ||
resourceGuid: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'properties.resourceGuid', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
provisioningState: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'properties.provisioningState', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
publicIPAddresses: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'properties.publicIPAddresses', | ||
type: { | ||
name: 'Sequence', | ||
element: { | ||
required: false, | ||
serializedName: 'SubResourceElementType', | ||
type: { | ||
name: 'Composite', | ||
className: 'SubResource' | ||
} | ||
} | ||
} | ||
}, | ||
protocolCustomSettings: { | ||
required: false, | ||
serializedName: 'properties.protocolCustomSettings', | ||
type: { | ||
name: 'Sequence', | ||
element: { | ||
required: false, | ||
serializedName: 'ProtocolCustomSettingsFormatElementType', | ||
type: { | ||
name: 'Composite', | ||
className: 'ProtocolCustomSettingsFormat' | ||
} | ||
} | ||
} | ||
}, | ||
etag: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'etag', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = DdosCustomPolicy; |
Oops, something went wrong.