diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/__init__.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/__init__.py index 1541a46c1179..cf49e40b4478 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/__init__.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/__init__.py @@ -1116,7 +1116,6 @@ SecurityProviderName, SecurityPartnerProviderConnectionStatus, VirtualNetworkPeeringState, - VirtualNetworkPeeringLevel, VirtualNetworkGatewayType, VpnType, VpnGatewayGeneration, @@ -1812,7 +1811,6 @@ 'SecurityProviderName', 'SecurityPartnerProviderConnectionStatus', 'VirtualNetworkPeeringState', - 'VirtualNetworkPeeringLevel', 'VirtualNetworkGatewayType', 'VpnType', 'VpnGatewayGeneration', diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models.py index f6247215a080..91b2f5b6e89a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models.py @@ -18125,14 +18125,10 @@ class VirtualNetworkPeering(SubResource): (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2020_07_01.models.SubResource - :param remote_address_space: The reference to the address space peered - with the remote virtual network. + :param remote_address_space: The reference to the remote virtual network + address space. :type remote_address_space: ~azure.mgmt.network.v2020_07_01.models.AddressSpace - :param remote_virtual_network_address_space: The reference to the current - address space of the remote virtual network. - :type remote_virtual_network_address_space: - ~azure.mgmt.network.v2020_07_01.models.AddressSpace :param remote_bgp_communities: The reference to the remote virtual network's Bgp Communities. :type remote_bgp_communities: @@ -18141,15 +18137,6 @@ class VirtualNetworkPeering(SubResource): values include: 'Initiated', 'Connected', 'Disconnected' :type peering_state: str or ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeeringState - :param peering_sync_level: The peering sync status of the virtual network - peering. Possible values include: 'FullySynced', 'RemoteUnsynced', - 'LocalUnsynced', 'LocalAndRemoteUnsynced' - :type peering_sync_level: str or - ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeeringLevel - :param sync_remote_address_space: Provided when user wants to sync the - peering with address space on the remote virtual network after the address - space is updated. Default value: False . - :type sync_remote_address_space: bool :ivar provisioning_state: The provisioning state of the virtual network peering resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' @@ -18176,11 +18163,8 @@ class VirtualNetworkPeering(SubResource): 'use_remote_gateways': {'key': 'properties.useRemoteGateways', 'type': 'bool'}, 'remote_virtual_network': {'key': 'properties.remoteVirtualNetwork', 'type': 'SubResource'}, 'remote_address_space': {'key': 'properties.remoteAddressSpace', 'type': 'AddressSpace'}, - 'remote_virtual_network_address_space': {'key': 'properties.remoteVirtualNetworkAddressSpace', 'type': 'AddressSpace'}, 'remote_bgp_communities': {'key': 'properties.remoteBgpCommunities', 'type': 'VirtualNetworkBgpCommunities'}, 'peering_state': {'key': 'properties.peeringState', 'type': 'str'}, - 'peering_sync_level': {'key': 'properties.peeringSyncLevel', 'type': 'str'}, - 'sync_remote_address_space': {'key': 'properties.syncRemoteAddressSpace', 'type': 'bool'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, @@ -18194,11 +18178,8 @@ def __init__(self, **kwargs): self.use_remote_gateways = kwargs.get('use_remote_gateways', None) self.remote_virtual_network = kwargs.get('remote_virtual_network', None) self.remote_address_space = kwargs.get('remote_address_space', None) - self.remote_virtual_network_address_space = kwargs.get('remote_virtual_network_address_space', None) self.remote_bgp_communities = kwargs.get('remote_bgp_communities', None) self.peering_state = kwargs.get('peering_state', None) - self.peering_sync_level = kwargs.get('peering_sync_level', None) - self.sync_remote_address_space = kwargs.get('sync_remote_address_space', False) self.provisioning_state = None self.name = kwargs.get('name', None) self.etag = None diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models_py3.py index 0c588ddba7f4..c63f6774e603 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models_py3.py @@ -18125,14 +18125,10 @@ class VirtualNetworkPeering(SubResource): (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2020_07_01.models.SubResource - :param remote_address_space: The reference to the address space peered - with the remote virtual network. + :param remote_address_space: The reference to the remote virtual network + address space. :type remote_address_space: ~azure.mgmt.network.v2020_07_01.models.AddressSpace - :param remote_virtual_network_address_space: The reference to the current - address space of the remote virtual network. - :type remote_virtual_network_address_space: - ~azure.mgmt.network.v2020_07_01.models.AddressSpace :param remote_bgp_communities: The reference to the remote virtual network's Bgp Communities. :type remote_bgp_communities: @@ -18141,15 +18137,6 @@ class VirtualNetworkPeering(SubResource): values include: 'Initiated', 'Connected', 'Disconnected' :type peering_state: str or ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeeringState - :param peering_sync_level: The peering sync status of the virtual network - peering. Possible values include: 'FullySynced', 'RemoteUnsynced', - 'LocalUnsynced', 'LocalAndRemoteUnsynced' - :type peering_sync_level: str or - ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeeringLevel - :param sync_remote_address_space: Provided when user wants to sync the - peering with address space on the remote virtual network after the address - space is updated. Default value: False . - :type sync_remote_address_space: bool :ivar provisioning_state: The provisioning state of the virtual network peering resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' @@ -18176,17 +18163,14 @@ class VirtualNetworkPeering(SubResource): 'use_remote_gateways': {'key': 'properties.useRemoteGateways', 'type': 'bool'}, 'remote_virtual_network': {'key': 'properties.remoteVirtualNetwork', 'type': 'SubResource'}, 'remote_address_space': {'key': 'properties.remoteAddressSpace', 'type': 'AddressSpace'}, - 'remote_virtual_network_address_space': {'key': 'properties.remoteVirtualNetworkAddressSpace', 'type': 'AddressSpace'}, 'remote_bgp_communities': {'key': 'properties.remoteBgpCommunities', 'type': 'VirtualNetworkBgpCommunities'}, 'peering_state': {'key': 'properties.peeringState', 'type': 'str'}, - 'peering_sync_level': {'key': 'properties.peeringSyncLevel', 'type': 'str'}, - 'sync_remote_address_space': {'key': 'properties.syncRemoteAddressSpace', 'type': 'bool'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, } - 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: + 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: super(VirtualNetworkPeering, self).__init__(id=id, **kwargs) self.allow_virtual_network_access = allow_virtual_network_access self.allow_forwarded_traffic = allow_forwarded_traffic @@ -18194,11 +18178,8 @@ def __init__(self, *, id: str=None, allow_virtual_network_access: bool=None, all self.use_remote_gateways = use_remote_gateways self.remote_virtual_network = remote_virtual_network self.remote_address_space = remote_address_space - self.remote_virtual_network_address_space = remote_virtual_network_address_space self.remote_bgp_communities = remote_bgp_communities self.peering_state = peering_state - self.peering_sync_level = peering_sync_level - self.sync_remote_address_space = sync_remote_address_space self.provisioning_state = None self.name = name self.etag = None diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_network_management_client_enums.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_network_management_client_enums.py index d6348f849cbc..f42120066702 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_network_management_client_enums.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_network_management_client_enums.py @@ -779,14 +779,6 @@ class VirtualNetworkPeeringState(str, Enum): disconnected = "Disconnected" -class VirtualNetworkPeeringLevel(str, Enum): - - fully_synced = "FullySynced" - remote_unsynced = "RemoteUnsynced" - local_unsynced = "LocalUnsynced" - local_and_remote_unsynced = "LocalAndRemoteUnsynced" - - class VirtualNetworkGatewayType(str, Enum): vpn = "Vpn"