@@ -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
0 commit comments