Skip to content

Commit

Permalink
Generated from 3bf0b5d15a23cca3406962b599d705ab188a290c (#2895)
Browse files Browse the repository at this point in the history
Renaming ConnectionBandwidthInMbps to ConnectionBandwidth
  • Loading branch information
AutorestCI authored Jul 9, 2018
1 parent d9ba761 commit 00431a7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ class VpnConnection(Resource):
:vartype ingress_bytes_transferred: long
:ivar egress_bytes_transferred: Egress bytes transferred.
:vartype egress_bytes_transferred: long
:ivar connection_bandwidth_in_mbps: Expected bandwidth in MBPS.
:vartype connection_bandwidth_in_mbps: int
:ivar connection_bandwidth: Expected bandwidth in MBPS.
:vartype connection_bandwidth: int
:param shared_key: SharedKey for the vpn connection.
:type shared_key: str
:param enable_bgp: EnableBgp flag
Expand All @@ -64,7 +64,7 @@ class VpnConnection(Resource):
'type': {'readonly': True},
'ingress_bytes_transferred': {'readonly': True},
'egress_bytes_transferred': {'readonly': True},
'connection_bandwidth_in_mbps': {'readonly': True},
'connection_bandwidth': {'readonly': True},
'etag': {'readonly': True},
}

Expand All @@ -79,7 +79,7 @@ class VpnConnection(Resource):
'connection_status': {'key': 'properties.connectionStatus', 'type': 'str'},
'ingress_bytes_transferred': {'key': 'properties.ingressBytesTransferred', 'type': 'long'},
'egress_bytes_transferred': {'key': 'properties.egressBytesTransferred', 'type': 'long'},
'connection_bandwidth_in_mbps': {'key': 'properties.connectionBandwidthInMbps', 'type': 'int'},
'connection_bandwidth': {'key': 'properties.connectionBandwidth', 'type': 'int'},
'shared_key': {'key': 'properties.sharedKey', 'type': 'str'},
'enable_bgp': {'key': 'properties.enableBgp', 'type': 'bool'},
'ipsec_policies': {'key': 'properties.ipsecPolicies', 'type': '[IpsecPolicy]'},
Expand All @@ -94,7 +94,7 @@ def __init__(self, **kwargs):
self.connection_status = kwargs.get('connection_status', None)
self.ingress_bytes_transferred = None
self.egress_bytes_transferred = None
self.connection_bandwidth_in_mbps = None
self.connection_bandwidth = None
self.shared_key = kwargs.get('shared_key', None)
self.enable_bgp = kwargs.get('enable_bgp', None)
self.ipsec_policies = kwargs.get('ipsec_policies', None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ class VpnConnection(Resource):
:vartype ingress_bytes_transferred: long
:ivar egress_bytes_transferred: Egress bytes transferred.
:vartype egress_bytes_transferred: long
:ivar connection_bandwidth_in_mbps: Expected bandwidth in MBPS.
:vartype connection_bandwidth_in_mbps: int
:ivar connection_bandwidth: Expected bandwidth in MBPS.
:vartype connection_bandwidth: int
:param shared_key: SharedKey for the vpn connection.
:type shared_key: str
:param enable_bgp: EnableBgp flag
Expand All @@ -64,7 +64,7 @@ class VpnConnection(Resource):
'type': {'readonly': True},
'ingress_bytes_transferred': {'readonly': True},
'egress_bytes_transferred': {'readonly': True},
'connection_bandwidth_in_mbps': {'readonly': True},
'connection_bandwidth': {'readonly': True},
'etag': {'readonly': True},
}

Expand All @@ -79,7 +79,7 @@ class VpnConnection(Resource):
'connection_status': {'key': 'properties.connectionStatus', 'type': 'str'},
'ingress_bytes_transferred': {'key': 'properties.ingressBytesTransferred', 'type': 'long'},
'egress_bytes_transferred': {'key': 'properties.egressBytesTransferred', 'type': 'long'},
'connection_bandwidth_in_mbps': {'key': 'properties.connectionBandwidthInMbps', 'type': 'int'},
'connection_bandwidth': {'key': 'properties.connectionBandwidth', 'type': 'int'},
'shared_key': {'key': 'properties.sharedKey', 'type': 'str'},
'enable_bgp': {'key': 'properties.enableBgp', 'type': 'bool'},
'ipsec_policies': {'key': 'properties.ipsecPolicies', 'type': '[IpsecPolicy]'},
Expand All @@ -94,7 +94,7 @@ def __init__(self, *, id: str=None, location: str=None, tags=None, remote_vpn_si
self.connection_status = connection_status
self.ingress_bytes_transferred = None
self.egress_bytes_transferred = None
self.connection_bandwidth_in_mbps = None
self.connection_bandwidth = None
self.shared_key = shared_key
self.enable_bgp = enable_bgp
self.ipsec_policies = ipsec_policies
Expand Down

0 comments on commit 00431a7

Please sign in to comment.