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' }