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

Commit

Permalink
Generated from 111fbba71951ce2efc8185acc65a05fc1f603fc3
Browse files Browse the repository at this point in the history
Merge pull request #5 from ritwikbasu/ProtocolTypeChange

Protocol type change
  • Loading branch information
AutorestCI committed Sep 7, 2018
1 parent a9e37c7 commit 2c4bdcc
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 27 deletions.
6 changes: 3 additions & 3 deletions lib/services/networkManagement2/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9410,8 +9410,8 @@ export interface VirtualHub extends Resource {
* @member {number} [routingWeight] routing weight for vpn connection.
* @member {string} [connectionStatus] The connection status. Possible values
* include: 'Unknown', 'Connecting', 'Connected', 'NotConnected'
* @member {string} [connectionProtocol] Connection protocol used for this
* connection. Possible values include: 'IKEv2', 'IKEv1'
* @member {string} [vpnConnectionProtocolType] Connection protocol used for
* this connection. Possible values include: 'IKEv2', 'IKEv1'
* @member {number} [ingressBytesTransferred] Ingress bytes transferred.
* @member {number} [egressBytesTransferred] Egress bytes transferred.
* @member {number} [connectionBandwidth] Expected bandwidth in MBPS.
Expand All @@ -9432,7 +9432,7 @@ export interface VpnConnection extends SubResource {
remoteVpnSite?: SubResource;
routingWeight?: number;
connectionStatus?: string;
connectionProtocol?: string;
vpnConnectionProtocolType?: string;
readonly ingressBytesTransferred?: number;
readonly egressBytesTransferred?: number;
connectionBandwidth?: number;
Expand Down
8 changes: 4 additions & 4 deletions lib/services/networkManagement2/lib/models/vpnConnection.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ class VpnConnection extends models['SubResource'] {
* @member {number} [routingWeight] routing weight for vpn connection.
* @member {string} [connectionStatus] The connection status. Possible values
* include: 'Unknown', 'Connecting', 'Connected', 'NotConnected'
* @member {string} [connectionProtocol] Connection protocol used for this
* connection. Possible values include: 'IKEv2', 'IKEv1'
* @member {string} [vpnConnectionProtocolType] Connection protocol used for
* this connection. Possible values include: 'IKEv2', 'IKEv1'
* @member {number} [ingressBytesTransferred] Ingress bytes transferred.
* @member {number} [egressBytesTransferred] Egress bytes transferred.
* @member {number} [connectionBandwidth] Expected bandwidth in MBPS.
Expand Down Expand Up @@ -91,9 +91,9 @@ class VpnConnection extends models['SubResource'] {
name: 'String'
}
},
connectionProtocol: {
vpnConnectionProtocolType: {
required: false,
serializedName: 'properties.connectionProtocol',
serializedName: 'properties.vpnConnectionProtocolType',
type: {
name: 'String'
}
Expand Down
20 changes: 12 additions & 8 deletions lib/services/networkManagement2/lib/operations/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44463,8 +44463,9 @@ export interface VpnConnections {
* status. Possible values include: 'Unknown', 'Connecting', 'Connected',
* 'NotConnected'
*
* @param {string} [vpnConnectionParameters.connectionProtocol] Connection
* protocol used for this connection. Possible values include: 'IKEv2', 'IKEv1'
* @param {string} [vpnConnectionParameters.vpnConnectionProtocolType]
* Connection protocol used for this connection. Possible values include:
* 'IKEv2', 'IKEv1'
*
* @param {number} [vpnConnectionParameters.connectionBandwidth] Expected
* bandwidth in MBPS.
Expand Down Expand Up @@ -44530,8 +44531,9 @@ export interface VpnConnections {
* status. Possible values include: 'Unknown', 'Connecting', 'Connected',
* 'NotConnected'
*
* @param {string} [vpnConnectionParameters.connectionProtocol] Connection
* protocol used for this connection. Possible values include: 'IKEv2', 'IKEv1'
* @param {string} [vpnConnectionParameters.vpnConnectionProtocolType]
* Connection protocol used for this connection. Possible values include:
* 'IKEv2', 'IKEv1'
*
* @param {number} [vpnConnectionParameters.connectionBandwidth] Expected
* bandwidth in MBPS.
Expand Down Expand Up @@ -44738,8 +44740,9 @@ export interface VpnConnections {
* status. Possible values include: 'Unknown', 'Connecting', 'Connected',
* 'NotConnected'
*
* @param {string} [vpnConnectionParameters.connectionProtocol] Connection
* protocol used for this connection. Possible values include: 'IKEv2', 'IKEv1'
* @param {string} [vpnConnectionParameters.vpnConnectionProtocolType]
* Connection protocol used for this connection. Possible values include:
* 'IKEv2', 'IKEv1'
*
* @param {number} [vpnConnectionParameters.connectionBandwidth] Expected
* bandwidth in MBPS.
Expand Down Expand Up @@ -44805,8 +44808,9 @@ export interface VpnConnections {
* status. Possible values include: 'Unknown', 'Connecting', 'Connected',
* 'NotConnected'
*
* @param {string} [vpnConnectionParameters.connectionProtocol] Connection
* protocol used for this connection. Possible values include: 'IKEv2', 'IKEv1'
* @param {string} [vpnConnectionParameters.vpnConnectionProtocolType]
* Connection protocol used for this connection. Possible values include:
* 'IKEv2', 'IKEv1'
*
* @param {number} [vpnConnectionParameters.connectionBandwidth] Expected
* bandwidth in MBPS.
Expand Down
30 changes: 18 additions & 12 deletions lib/services/networkManagement2/lib/operations/vpnConnections.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,9 @@ function _get(resourceGroupName, gatewayName, connectionName, options, callback)
* status. Possible values include: 'Unknown', 'Connecting', 'Connected',
* 'NotConnected'
*
* @param {string} [vpnConnectionParameters.connectionProtocol] Connection
* protocol used for this connection. Possible values include: 'IKEv2', 'IKEv1'
* @param {string} [vpnConnectionParameters.vpnConnectionProtocolType]
* Connection protocol used for this connection. Possible values include:
* 'IKEv2', 'IKEv1'
*
* @param {number} [vpnConnectionParameters.connectionBandwidth] Expected
* bandwidth in MBPS.
Expand Down Expand Up @@ -524,8 +525,9 @@ function _listByVpnGateway(resourceGroupName, gatewayName, options, callback) {
* status. Possible values include: 'Unknown', 'Connecting', 'Connected',
* 'NotConnected'
*
* @param {string} [vpnConnectionParameters.connectionProtocol] Connection
* protocol used for this connection. Possible values include: 'IKEv2', 'IKEv1'
* @param {string} [vpnConnectionParameters.vpnConnectionProtocolType]
* Connection protocol used for this connection. Possible values include:
* 'IKEv2', 'IKEv1'
*
* @param {number} [vpnConnectionParameters.connectionBandwidth] Expected
* bandwidth in MBPS.
Expand Down Expand Up @@ -1121,8 +1123,9 @@ class VpnConnections {
* status. Possible values include: 'Unknown', 'Connecting', 'Connected',
* 'NotConnected'
*
* @param {string} [vpnConnectionParameters.connectionProtocol] Connection
* protocol used for this connection. Possible values include: 'IKEv2', 'IKEv1'
* @param {string} [vpnConnectionParameters.vpnConnectionProtocolType]
* Connection protocol used for this connection. Possible values include:
* 'IKEv2', 'IKEv1'
*
* @param {number} [vpnConnectionParameters.connectionBandwidth] Expected
* bandwidth in MBPS.
Expand Down Expand Up @@ -1200,8 +1203,9 @@ class VpnConnections {
* status. Possible values include: 'Unknown', 'Connecting', 'Connected',
* 'NotConnected'
*
* @param {string} [vpnConnectionParameters.connectionProtocol] Connection
* protocol used for this connection. Possible values include: 'IKEv2', 'IKEv1'
* @param {string} [vpnConnectionParameters.vpnConnectionProtocolType]
* Connection protocol used for this connection. Possible values include:
* 'IKEv2', 'IKEv1'
*
* @param {number} [vpnConnectionParameters.connectionBandwidth] Expected
* bandwidth in MBPS.
Expand Down Expand Up @@ -1477,8 +1481,9 @@ class VpnConnections {
* status. Possible values include: 'Unknown', 'Connecting', 'Connected',
* 'NotConnected'
*
* @param {string} [vpnConnectionParameters.connectionProtocol] Connection
* protocol used for this connection. Possible values include: 'IKEv2', 'IKEv1'
* @param {string} [vpnConnectionParameters.vpnConnectionProtocolType]
* Connection protocol used for this connection. Possible values include:
* 'IKEv2', 'IKEv1'
*
* @param {number} [vpnConnectionParameters.connectionBandwidth] Expected
* bandwidth in MBPS.
Expand Down Expand Up @@ -1556,8 +1561,9 @@ class VpnConnections {
* status. Possible values include: 'Unknown', 'Connecting', 'Connected',
* 'NotConnected'
*
* @param {string} [vpnConnectionParameters.connectionProtocol] Connection
* protocol used for this connection. Possible values include: 'IKEv2', 'IKEv1'
* @param {string} [vpnConnectionParameters.vpnConnectionProtocolType]
* Connection protocol used for this connection. Possible values include:
* 'IKEv2', 'IKEv1'
*
* @param {number} [vpnConnectionParameters.connectionBandwidth] Expected
* bandwidth in MBPS.
Expand Down

0 comments on commit 2c4bdcc

Please sign in to comment.