From 22a3c9ab466affa058b7c2dd192c55f081286f81 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 9 Jul 2018 18:20:14 +0000 Subject: [PATCH] Generated from 985356566cca2619f49ab0da4eb68c7a124d369f Renaming ConnectionBandwidthInMbps to ConnectionBandwidth --- lib/services/networkManagement2/lib/models/index.d.ts | 4 ++-- lib/services/networkManagement2/lib/models/vpnConnection.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/services/networkManagement2/lib/models/index.d.ts b/lib/services/networkManagement2/lib/models/index.d.ts index dc2fde51e5..bc6428ee72 100644 --- a/lib/services/networkManagement2/lib/models/index.d.ts +++ b/lib/services/networkManagement2/lib/models/index.d.ts @@ -6823,7 +6823,7 @@ export interface VirtualHub extends Resource { * include: 'Unknown', 'Connecting', 'Connected', 'NotConnected' * @member {number} [ingressBytesTransferred] Ingress bytes transferred. * @member {number} [egressBytesTransferred] Egress bytes transferred. - * @member {number} [connectionBandwidthInMbps] Expected bandwidth in MBPS. + * @member {number} [connectionBandwidth] Expected bandwidth in MBPS. * @member {string} [sharedKey] SharedKey for the vpn connection. * @member {boolean} [enableBgp] EnableBgp flag * @member {array} [ipsecPolicies] The IPSec Policies to be considered by this @@ -6839,7 +6839,7 @@ export interface VpnConnection extends Resource { connectionStatus?: string; readonly ingressBytesTransferred?: number; readonly egressBytesTransferred?: number; - readonly connectionBandwidthInMbps?: number; + readonly connectionBandwidth?: number; sharedKey?: string; enableBgp?: boolean; ipsecPolicies?: IpsecPolicy[]; diff --git a/lib/services/networkManagement2/lib/models/vpnConnection.js b/lib/services/networkManagement2/lib/models/vpnConnection.js index 7b6eac00b2..95f9c48b6b 100644 --- a/lib/services/networkManagement2/lib/models/vpnConnection.js +++ b/lib/services/networkManagement2/lib/models/vpnConnection.js @@ -27,7 +27,7 @@ class VpnConnection extends models['Resource'] { * include: 'Unknown', 'Connecting', 'Connected', 'NotConnected' * @member {number} [ingressBytesTransferred] Ingress bytes transferred. * @member {number} [egressBytesTransferred] Egress bytes transferred. - * @member {number} [connectionBandwidthInMbps] Expected bandwidth in MBPS. + * @member {number} [connectionBandwidth] Expected bandwidth in MBPS. * @member {string} [sharedKey] SharedKey for the vpn connection. * @member {boolean} [enableBgp] EnableBgp flag * @member {array} [ipsecPolicies] The IPSec Policies to be considered by @@ -138,10 +138,10 @@ class VpnConnection extends models['Resource'] { name: 'Number' } }, - connectionBandwidthInMbps: { + connectionBandwidth: { required: false, readOnly: true, - serializedName: 'properties.connectionBandwidthInMbps', + serializedName: 'properties.connectionBandwidth', type: { name: 'Number' }