diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/vpn_connections_operations.py b/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/vpn_connections_operations.py index a433e9d9b9e5..6f302381f087 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/vpn_connections_operations.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/vpn_connections_operations.py @@ -294,11 +294,9 @@ def get_long_running_output(response): delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}'} def list_by_vpn_gateway( - self, resource_group_name, gateway_name, custom_headers=None, raw=False, **operation_config): + self, gateway_name, custom_headers=None, raw=False, **operation_config): """Retrieves all vpn connections for a particular virtual wan vpn gateway. - :param resource_group_name: The resource group name of the VpnGateway. - :type resource_group_name: str :param gateway_name: The name of the gateway. :type gateway_name: str :param dict custom_headers: headers that will be added to the request @@ -319,7 +317,6 @@ def internal_paging(next_link=None, raw=False): url = self.list_by_vpn_gateway.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str') } url = self._client.format_url(url, **path_format_arguments) @@ -361,4 +358,4 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized - list_by_vpn_gateway.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections'} + list_by_vpn_gateway.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections'}