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

[AutoPR network/resource-manager] Renaming ConnectionBandwidthInMbps to ConnectionBandwidth #3141

Merged
Merged
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
4 changes: 2 additions & 2 deletions lib/services/networkManagement2/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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[];
Expand Down
6 changes: 3 additions & 3 deletions lib/services/networkManagement2/lib/models/vpnConnection.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'
}
Expand Down