Skip to content
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
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