Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

[AutoPR network/resource-manager] Update network management Node.js package version to 6.0.0 #3242

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions lib/services/networkManagement2/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
The MIT License (MIT)

Copyright (c) 2018 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The MIT License (MIT)
Copyright (c) 2018 Microsoft
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
43 changes: 41 additions & 2 deletions lib/services/networkManagement2/lib/models/applicationGateway.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ class ApplicationGateway extends models['Resource'] {
* @member {object} [sku] SKU of the application gateway resource.
* @member {string} [sku.name] Name of an application gateway SKU. Possible
* values include: 'Standard_Small', 'Standard_Medium', 'Standard_Large',
* 'WAF_Medium', 'WAF_Large'
* 'WAF_Medium', 'WAF_Large', 'Standard_v2', 'WAF_v2'
* @member {string} [sku.tier] Tier of an application gateway. Possible
* values include: 'Standard', 'WAF'
* values include: 'Standard', 'WAF', 'Standard_v2', 'WAF_v2'
* @member {number} [sku.capacity] Capacity (instance count) of an
* application gateway.
* @member {object} [sslPolicy] SSL policy of the application gateway
Expand Down Expand Up @@ -88,13 +88,23 @@ class ApplicationGateway extends models['Resource'] {
* Maxium request body size for WAF.
* @member {boolean} [enableHttp2] Whether HTTP2 is enabled on the
* application gateway resource.
* @member {boolean} [enableFips] Whether FIPS is enabled on the application
* gateway resource.
* @member {object} [autoscaleConfiguration] Autoscale Configuration.
* @member {object} [autoscaleConfiguration.bounds] Autoscale bounds
* @member {number} [autoscaleConfiguration.bounds.min] Lower bound on number
* of Application Gateway instances.
* @member {number} [autoscaleConfiguration.bounds.max] Upper bound on number
* of Application Gateway instances.
* @member {string} [resourceGuid] Resource GUID property of the application
* gateway resource.
* @member {string} [provisioningState] Provisioning state of the application
* gateway resource. Possible values are: 'Updating', 'Deleting', and
* 'Failed'.
* @member {string} [etag] A unique read-only string that changes whenever
* the resource is updated.
* @member {array} [zones] A list of availability zones denoting where the
* resource needs to come from.
*/
constructor() {
super();
Expand Down Expand Up @@ -377,6 +387,21 @@ class ApplicationGateway extends models['Resource'] {
name: 'Boolean'
}
},
enableFips: {
required: false,
serializedName: 'properties.enableFips',
type: {
name: 'Boolean'
}
},
autoscaleConfiguration: {
required: false,
serializedName: 'properties.autoscaleConfiguration',
type: {
name: 'Composite',
className: 'ApplicationGatewayAutoscaleConfiguration'
}
},
resourceGuid: {
required: false,
serializedName: 'properties.resourceGuid',
Expand All @@ -397,6 +422,20 @@ class ApplicationGateway extends models['Resource'] {
type: {
name: 'String'
}
},
zones: {
required: false,
serializedName: 'zones',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ class ApplicationGatewayAuthenticationCertificate extends models['SubResource']
* @member {string} [provisioningState] Provisioning state of the
* authentication certificate resource. Possible values are: 'Updating',
* 'Deleting', and 'Failed'.
* @member {string} [name] Name of the resource that is unique within a
* resource group. This name can be used to access the resource.
* @member {string} [name] Name of the authentication certificate that is
* unique within an Application Gateway.
* @member {string} [etag] A unique read-only string that changes whenever
* the resource is updated.
* @member {string} [type] Type of the resource.
Expand Down
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';

/**
* Application Gateway autoscale bounds on number of Application Gateway
* instance.
*
*/
class ApplicationGatewayAutoscaleBounds {
/**
* Create a ApplicationGatewayAutoscaleBounds.
* @member {number} min Lower bound on number of Application Gateway
* instances.
* @member {number} max Upper bound on number of Application Gateway
* instances.
*/
constructor() {
}

/**
* Defines the metadata of ApplicationGatewayAutoscaleBounds
*
* @returns {object} metadata of ApplicationGatewayAutoscaleBounds
*
*/
mapper() {
return {
required: false,
serializedName: 'ApplicationGatewayAutoscaleBounds',
type: {
name: 'Composite',
className: 'ApplicationGatewayAutoscaleBounds',
modelProperties: {
min: {
required: true,
serializedName: 'min',
type: {
name: 'Number'
}
},
max: {
required: true,
serializedName: 'max',
type: {
name: 'Number'
}
}
}
}
};
}
}

module.exports = ApplicationGatewayAutoscaleBounds;
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';

const models = require('./index');

/**
* Application Gateway autoscale configuration.
*
*/
class ApplicationGatewayAutoscaleConfiguration {
/**
* Create a ApplicationGatewayAutoscaleConfiguration.
* @member {object} bounds Autoscale bounds
* @member {number} [bounds.min] Lower bound on number of Application Gateway
* instances.
* @member {number} [bounds.max] Upper bound on number of Application Gateway
* instances.
*/
constructor() {
}

/**
* Defines the metadata of ApplicationGatewayAutoscaleConfiguration
*
* @returns {object} metadata of ApplicationGatewayAutoscaleConfiguration
*
*/
mapper() {
return {
required: false,
serializedName: 'ApplicationGatewayAutoscaleConfiguration',
type: {
name: 'Composite',
className: 'ApplicationGatewayAutoscaleConfiguration',
modelProperties: {
bounds: {
required: true,
serializedName: 'bounds',
type: {
name: 'Composite',
className: 'ApplicationGatewayAutoscaleBounds'
}
}
}
}
};
}
}

module.exports = ApplicationGatewayAutoscaleConfiguration;
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ class ApplicationGatewayBackendAddressPool extends models['SubResource'] {
* @member {string} [provisioningState] Provisioning state of the backend
* address pool resource. Possible values are: 'Updating', 'Deleting', and
* 'Failed'.
* @member {string} [name] Resource that is unique within a resource group.
* This name can be used to access the resource.
* @member {string} [name] Name of the backend address pool that is unique
* within an Application Gateway.
* @member {string} [etag] A unique read-only string that changes whenever
* the resource is updated.
* @member {string} [type] Type of the resource.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ class ApplicationGatewayBackendHealthHttpSettings {
* Create a ApplicationGatewayBackendHealthHttpSettings.
* @member {object} [backendHttpSettings] Reference of an
* ApplicationGatewayBackendHttpSettings resource.
* @member {number} [backendHttpSettings.port] Port
* @member {string} [backendHttpSettings.protocol] Protocol. Possible values
* include: 'Http', 'Https'
* @member {number} [backendHttpSettings.port] The destination port on the
* backend.
* @member {string} [backendHttpSettings.protocol] The protocol used to
* communicate with the backend. Possible values are 'Http' and 'Https'.
* Possible values include: 'Http', 'Https'
* @member {string} [backendHttpSettings.cookieBasedAffinity] Cookie based
* affinity. Possible values include: 'Enabled', 'Disabled'
* @member {number} [backendHttpSettings.requestTimeout] Request timeout in
Expand Down Expand Up @@ -58,9 +60,8 @@ class ApplicationGatewayBackendHealthHttpSettings {
* @member {string} [backendHttpSettings.provisioningState] Provisioning
* state of the backend http settings resource. Possible values are:
* 'Updating', 'Deleting', and 'Failed'.
* @member {string} [backendHttpSettings.name] Name of the resource that is
* unique within a resource group. This name can be used to access the
* resource.
* @member {string} [backendHttpSettings.name] Name of the backend http
* settings that is unique within an Application Gateway.
* @member {string} [backendHttpSettings.etag] A unique read-only string that
* changes whenever the resource is updated.
* @member {string} [backendHttpSettings.type] Type of the resource.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ class ApplicationGatewayBackendHealthPool {
* @member {string} [backendAddressPool.provisioningState] Provisioning state
* of the backend address pool resource. Possible values are: 'Updating',
* 'Deleting', and 'Failed'.
* @member {string} [backendAddressPool.name] Resource that is unique within
* a resource group. This name can be used to access the resource.
* @member {string} [backendAddressPool.name] Name of the backend address
* pool that is unique within an Application Gateway.
* @member {string} [backendAddressPool.etag] A unique read-only string that
* changes whenever the resource is updated.
* @member {string} [backendAddressPool.type] Type of the resource.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ const models = require('./index');
class ApplicationGatewayBackendHttpSettings extends models['SubResource'] {
/**
* Create a ApplicationGatewayBackendHttpSettings.
* @member {number} [port] Port
* @member {string} [protocol] Protocol. Possible values include: 'Http',
* 'Https'
* @member {number} [port] The destination port on the backend.
* @member {string} [protocol] The protocol used to communicate with the
* backend. Possible values are 'Http' and 'Https'. Possible values include:
* 'Http', 'Https'
* @member {string} [cookieBasedAffinity] Cookie based affinity. Possible
* values include: 'Enabled', 'Disabled'
* @member {number} [requestTimeout] Request timeout in seconds. Application
Expand Down Expand Up @@ -52,8 +53,8 @@ class ApplicationGatewayBackendHttpSettings extends models['SubResource'] {
* @member {string} [provisioningState] Provisioning state of the backend
* http settings resource. Possible values are: 'Updating', 'Deleting', and
* 'Failed'.
* @member {string} [name] Name of the resource that is unique within a
* resource group. This name can be used to access the resource.
* @member {string} [name] Name of the backend http settings that is unique
* within an Application Gateway.
* @member {string} [etag] A unique read-only string that changes whenever
* the resource is updated.
* @member {string} [type] Type of the resource.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ class ApplicationGatewayFrontendIPConfiguration extends models['SubResource'] {
* @member {string} [publicIPAddress.id] Resource ID.
* @member {string} [provisioningState] Provisioning state of the public IP
* resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
* @member {string} [name] Name of the resource that is unique within a
* resource group. This name can be used to access the resource.
* @member {string} [name] Name of the frontend IP configuration that is
* unique within an Application Gateway.
* @member {string} [etag] A unique read-only string that changes whenever
* the resource is updated.
* @member {string} [type] Type of the resource.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class ApplicationGatewayFrontendPort extends models['SubResource'] {
* @member {number} [port] Frontend port
* @member {string} [provisioningState] Provisioning state of the frontend
* port resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
* @member {string} [name] Name of the resource that is unique within a
* resource group. This name can be used to access the resource.
* @member {string} [name] Name of the frontend port that is unique within an
* Application Gateway
* @member {string} [etag] A unique read-only string that changes whenever
* the resource is updated.
* @member {string} [type] Type of the resource.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ class ApplicationGatewayHttpListener extends models['SubResource'] {
* @member {object} [frontendPort] Frontend port resource of an application
* gateway.
* @member {string} [frontendPort.id] Resource ID.
* @member {string} [protocol] Protocol. Possible values include: 'Http',
* 'Https'
* @member {string} [protocol] Protocol of the HTTP listener. Possible values
* are 'Http' and 'Https'. Possible values include: 'Http', 'Https'
* @member {string} [hostName] Host name of HTTP listener.
* @member {object} [sslCertificate] SSL certificate resource of an
* application gateway.
Expand All @@ -37,8 +37,8 @@ class ApplicationGatewayHttpListener extends models['SubResource'] {
* @member {string} [provisioningState] Provisioning state of the HTTP
* listener resource. Possible values are: 'Updating', 'Deleting', and
* 'Failed'.
* @member {string} [name] Name of the resource that is unique within a
* resource group. This name can be used to access the resource.
* @member {string} [name] Name of the HTTP listener that is unique within an
* Application Gateway.
* @member {string} [etag] A unique read-only string that changes whenever
* the resource is updated.
* @member {string} [type] Type of the resource.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ class ApplicationGatewayIPConfiguration extends models['SubResource'] {
* @member {string} [provisioningState] Provisioning state of the application
* gateway subnet resource. Possible values are: 'Updating', 'Deleting', and
* 'Failed'.
* @member {string} [name] Name of the resource that is unique within a
* resource group. This name can be used to access the resource.
* @member {string} [name] Name of the IP configuration that is unique within
* an Application Gateway.
* @member {string} [etag] A unique read-only string that changes whenever
* the resource is updated.
* @member {string} [type] Type of the resource.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ class ApplicationGatewayPathRule extends models['SubResource'] {
* @member {string} [redirectConfiguration.id] Resource ID.
* @member {string} [provisioningState] Path rule of URL path map resource.
* Possible values are: 'Updating', 'Deleting', and 'Failed'.
* @member {string} [name] Name of the resource that is unique within a
* resource group. This name can be used to access the resource.
* @member {string} [name] Name of the path rule that is unique within an
* Application Gateway.
* @member {string} [etag] A unique read-only string that changes whenever
* the resource is updated.
* @member {string} [type] Type of the resource.
Expand Down
Loading