Skip to content

Commit 2681ed9

Browse files
author
SDKAuto
committed
CodeGen from PR 11933 in Azure/azure-rest-api-specs
Merge 6ff989eadb9ddb00b46b3f089b8e7a264ad39524 into df62eff7a3af69ae8b214444fa0b913fca006ef9
1 parent e1f2009 commit 2681ed9

File tree

4 files changed

+5
-53
lines changed

4 files changed

+5
-53
lines changed

sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,6 @@
11161116
SecurityProviderName,
11171117
SecurityPartnerProviderConnectionStatus,
11181118
VirtualNetworkPeeringState,
1119-
VirtualNetworkPeeringLevel,
11201119
VirtualNetworkGatewayType,
11211120
VpnType,
11221121
VpnGatewayGeneration,
@@ -1812,7 +1811,6 @@
18121811
'SecurityProviderName',
18131812
'SecurityPartnerProviderConnectionStatus',
18141813
'VirtualNetworkPeeringState',
1815-
'VirtualNetworkPeeringLevel',
18161814
'VirtualNetworkGatewayType',
18171815
'VpnType',
18181816
'VpnGatewayGeneration',

sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models.py

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -18125,14 +18125,10 @@ class VirtualNetworkPeering(SubResource):
1812518125
(https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
1812618126
:type remote_virtual_network:
1812718127
~azure.mgmt.network.v2020_07_01.models.SubResource
18128-
:param remote_address_space: The reference to the address space peered
18129-
with the remote virtual network.
18128+
:param remote_address_space: The reference to the remote virtual network
18129+
address space.
1813018130
:type remote_address_space:
1813118131
~azure.mgmt.network.v2020_07_01.models.AddressSpace
18132-
:param remote_virtual_network_address_space: The reference to the current
18133-
address space of the remote virtual network.
18134-
:type remote_virtual_network_address_space:
18135-
~azure.mgmt.network.v2020_07_01.models.AddressSpace
1813618132
:param remote_bgp_communities: The reference to the remote virtual
1813718133
network's Bgp Communities.
1813818134
:type remote_bgp_communities:
@@ -18141,15 +18137,6 @@ class VirtualNetworkPeering(SubResource):
1814118137
values include: 'Initiated', 'Connected', 'Disconnected'
1814218138
:type peering_state: str or
1814318139
~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeeringState
18144-
:param peering_sync_level: The peering sync status of the virtual network
18145-
peering. Possible values include: 'FullySynced', 'RemoteUnsynced',
18146-
'LocalUnsynced', 'LocalAndRemoteUnsynced'
18147-
:type peering_sync_level: str or
18148-
~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeeringLevel
18149-
:param sync_remote_address_space: Provided when user wants to sync the
18150-
peering with address space on the remote virtual network after the address
18151-
space is updated. Default value: False .
18152-
:type sync_remote_address_space: bool
1815318140
:ivar provisioning_state: The provisioning state of the virtual network
1815418141
peering resource. Possible values include: 'Succeeded', 'Updating',
1815518142
'Deleting', 'Failed'
@@ -18176,11 +18163,8 @@ class VirtualNetworkPeering(SubResource):
1817618163
'use_remote_gateways': {'key': 'properties.useRemoteGateways', 'type': 'bool'},
1817718164
'remote_virtual_network': {'key': 'properties.remoteVirtualNetwork', 'type': 'SubResource'},
1817818165
'remote_address_space': {'key': 'properties.remoteAddressSpace', 'type': 'AddressSpace'},
18179-
'remote_virtual_network_address_space': {'key': 'properties.remoteVirtualNetworkAddressSpace', 'type': 'AddressSpace'},
1818018166
'remote_bgp_communities': {'key': 'properties.remoteBgpCommunities', 'type': 'VirtualNetworkBgpCommunities'},
1818118167
'peering_state': {'key': 'properties.peeringState', 'type': 'str'},
18182-
'peering_sync_level': {'key': 'properties.peeringSyncLevel', 'type': 'str'},
18183-
'sync_remote_address_space': {'key': 'properties.syncRemoteAddressSpace', 'type': 'bool'},
1818418168
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
1818518169
'name': {'key': 'name', 'type': 'str'},
1818618170
'etag': {'key': 'etag', 'type': 'str'},
@@ -18194,11 +18178,8 @@ def __init__(self, **kwargs):
1819418178
self.use_remote_gateways = kwargs.get('use_remote_gateways', None)
1819518179
self.remote_virtual_network = kwargs.get('remote_virtual_network', None)
1819618180
self.remote_address_space = kwargs.get('remote_address_space', None)
18197-
self.remote_virtual_network_address_space = kwargs.get('remote_virtual_network_address_space', None)
1819818181
self.remote_bgp_communities = kwargs.get('remote_bgp_communities', None)
1819918182
self.peering_state = kwargs.get('peering_state', None)
18200-
self.peering_sync_level = kwargs.get('peering_sync_level', None)
18201-
self.sync_remote_address_space = kwargs.get('sync_remote_address_space', False)
1820218183
self.provisioning_state = None
1820318184
self.name = kwargs.get('name', None)
1820418185
self.etag = None

sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models_py3.py

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -18125,14 +18125,10 @@ class VirtualNetworkPeering(SubResource):
1812518125
(https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
1812618126
:type remote_virtual_network:
1812718127
~azure.mgmt.network.v2020_07_01.models.SubResource
18128-
:param remote_address_space: The reference to the address space peered
18129-
with the remote virtual network.
18128+
:param remote_address_space: The reference to the remote virtual network
18129+
address space.
1813018130
:type remote_address_space:
1813118131
~azure.mgmt.network.v2020_07_01.models.AddressSpace
18132-
:param remote_virtual_network_address_space: The reference to the current
18133-
address space of the remote virtual network.
18134-
:type remote_virtual_network_address_space:
18135-
~azure.mgmt.network.v2020_07_01.models.AddressSpace
1813618132
:param remote_bgp_communities: The reference to the remote virtual
1813718133
network's Bgp Communities.
1813818134
:type remote_bgp_communities:
@@ -18141,15 +18137,6 @@ class VirtualNetworkPeering(SubResource):
1814118137
values include: 'Initiated', 'Connected', 'Disconnected'
1814218138
:type peering_state: str or
1814318139
~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeeringState
18144-
:param peering_sync_level: The peering sync status of the virtual network
18145-
peering. Possible values include: 'FullySynced', 'RemoteUnsynced',
18146-
'LocalUnsynced', 'LocalAndRemoteUnsynced'
18147-
:type peering_sync_level: str or
18148-
~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeeringLevel
18149-
:param sync_remote_address_space: Provided when user wants to sync the
18150-
peering with address space on the remote virtual network after the address
18151-
space is updated. Default value: False .
18152-
:type sync_remote_address_space: bool
1815318140
:ivar provisioning_state: The provisioning state of the virtual network
1815418141
peering resource. Possible values include: 'Succeeded', 'Updating',
1815518142
'Deleting', 'Failed'
@@ -18176,29 +18163,23 @@ class VirtualNetworkPeering(SubResource):
1817618163
'use_remote_gateways': {'key': 'properties.useRemoteGateways', 'type': 'bool'},
1817718164
'remote_virtual_network': {'key': 'properties.remoteVirtualNetwork', 'type': 'SubResource'},
1817818165
'remote_address_space': {'key': 'properties.remoteAddressSpace', 'type': 'AddressSpace'},
18179-
'remote_virtual_network_address_space': {'key': 'properties.remoteVirtualNetworkAddressSpace', 'type': 'AddressSpace'},
1818018166
'remote_bgp_communities': {'key': 'properties.remoteBgpCommunities', 'type': 'VirtualNetworkBgpCommunities'},
1818118167
'peering_state': {'key': 'properties.peeringState', 'type': 'str'},
18182-
'peering_sync_level': {'key': 'properties.peeringSyncLevel', 'type': 'str'},
18183-
'sync_remote_address_space': {'key': 'properties.syncRemoteAddressSpace', 'type': 'bool'},
1818418168
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
1818518169
'name': {'key': 'name', 'type': 'str'},
1818618170
'etag': {'key': 'etag', 'type': 'str'},
1818718171
}
1818818172

18189-
def __init__(self, *, id: str=None, allow_virtual_network_access: bool=None, allow_forwarded_traffic: bool=None, allow_gateway_transit: bool=None, use_remote_gateways: bool=None, remote_virtual_network=None, remote_address_space=None, remote_virtual_network_address_space=None, remote_bgp_communities=None, peering_state=None, peering_sync_level=None, sync_remote_address_space: bool=False, name: str=None, **kwargs) -> None:
18173+
def __init__(self, *, id: str=None, allow_virtual_network_access: bool=None, allow_forwarded_traffic: bool=None, allow_gateway_transit: bool=None, use_remote_gateways: bool=None, remote_virtual_network=None, remote_address_space=None, remote_bgp_communities=None, peering_state=None, name: str=None, **kwargs) -> None:
1819018174
super(VirtualNetworkPeering, self).__init__(id=id, **kwargs)
1819118175
self.allow_virtual_network_access = allow_virtual_network_access
1819218176
self.allow_forwarded_traffic = allow_forwarded_traffic
1819318177
self.allow_gateway_transit = allow_gateway_transit
1819418178
self.use_remote_gateways = use_remote_gateways
1819518179
self.remote_virtual_network = remote_virtual_network
1819618180
self.remote_address_space = remote_address_space
18197-
self.remote_virtual_network_address_space = remote_virtual_network_address_space
1819818181
self.remote_bgp_communities = remote_bgp_communities
1819918182
self.peering_state = peering_state
18200-
self.peering_sync_level = peering_sync_level
18201-
self.sync_remote_address_space = sync_remote_address_space
1820218183
self.provisioning_state = None
1820318184
self.name = name
1820418185
self.etag = None

sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_network_management_client_enums.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -779,14 +779,6 @@ class VirtualNetworkPeeringState(str, Enum):
779779
disconnected = "Disconnected"
780780

781781

782-
class VirtualNetworkPeeringLevel(str, Enum):
783-
784-
fully_synced = "FullySynced"
785-
remote_unsynced = "RemoteUnsynced"
786-
local_unsynced = "LocalUnsynced"
787-
local_and_remote_unsynced = "LocalAndRemoteUnsynced"
788-
789-
790782
class VirtualNetworkGatewayType(str, Enum):
791783

792784
vpn = "Vpn"

0 commit comments

Comments
 (0)